]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/mac/stc_wrap.cpp
Don't build the animate contrib
[wxWidgets.git] / wxPython / contrib / stc / mac / stc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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_wxEvtHandler swig_types[31]
2498 #define SWIGTYPE_p_wxFSFile swig_types[32]
2499 #define SWIGTYPE_p_wxFileHistory swig_types[33]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[34]
2501 #define SWIGTYPE_p_wxFlexGridSizer swig_types[35]
2502 #define SWIGTYPE_p_wxFocusEvent swig_types[36]
2503 #define SWIGTYPE_p_wxFont swig_types[37]
2504 #define SWIGTYPE_p_wxGBSizerItem swig_types[38]
2505 #define SWIGTYPE_p_wxGIFHandler swig_types[39]
2506 #define SWIGTYPE_p_wxGridBagSizer swig_types[40]
2507 #define SWIGTYPE_p_wxGridSizer swig_types[41]
2508 #define SWIGTYPE_p_wxICOHandler swig_types[42]
2509 #define SWIGTYPE_p_wxIconizeEvent swig_types[43]
2510 #define SWIGTYPE_p_wxIdleEvent swig_types[44]
2511 #define SWIGTYPE_p_wxImage swig_types[45]
2512 #define SWIGTYPE_p_wxImageHandler swig_types[46]
2513 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[47]
2514 #define SWIGTYPE_p_wxInitDialogEvent swig_types[48]
2515 #define SWIGTYPE_p_wxJPEGHandler swig_types[49]
2516 #define SWIGTYPE_p_wxJoystickEvent swig_types[50]
2517 #define SWIGTYPE_p_wxKeyEvent swig_types[51]
2518 #define SWIGTYPE_p_wxLayoutConstraints swig_types[52]
2519 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
2520 #define SWIGTYPE_p_wxMemoryBuffer swig_types[54]
2521 #define SWIGTYPE_p_wxMenu swig_types[55]
2522 #define SWIGTYPE_p_wxMenuBar swig_types[56]
2523 #define SWIGTYPE_p_wxMenuEvent swig_types[57]
2524 #define SWIGTYPE_p_wxMenuItem swig_types[58]
2525 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[59]
2526 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[60]
2527 #define SWIGTYPE_p_wxMouseEvent swig_types[61]
2528 #define SWIGTYPE_p_wxMoveEvent swig_types[62]
2529 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxNcPaintEvent swig_types[64]
2531 #define SWIGTYPE_p_wxNotifyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxObject swig_types[66]
2533 #define SWIGTYPE_p_wxPCXHandler swig_types[67]
2534 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
2535 #define SWIGTYPE_p_wxPNMHandler swig_types[69]
2536 #define SWIGTYPE_p_wxPaintEvent swig_types[70]
2537 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[71]
2538 #define SWIGTYPE_p_wxPaperSize swig_types[72]
2539 #define SWIGTYPE_p_wxPoint swig_types[73]
2540 #define SWIGTYPE_p_wxPowerEvent swig_types[74]
2541 #define SWIGTYPE_p_wxProcessEvent swig_types[75]
2542 #define SWIGTYPE_p_wxPyApp swig_types[76]
2543 #define SWIGTYPE_p_wxPyCommandEvent swig_types[77]
2544 #define SWIGTYPE_p_wxPyEvent swig_types[78]
2545 #define SWIGTYPE_p_wxPyImageHandler swig_types[79]
2546 #define SWIGTYPE_p_wxPyProcess swig_types[80]
2547 #define SWIGTYPE_p_wxPySizer swig_types[81]
2548 #define SWIGTYPE_p_wxPyTimer swig_types[82]
2549 #define SWIGTYPE_p_wxPyValidator swig_types[83]
2550 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[84]
2551 #define SWIGTYPE_p_wxRect swig_types[85]
2552 #define SWIGTYPE_p_wxScrollBar swig_types[86]
2553 #define SWIGTYPE_p_wxScrollEvent swig_types[87]
2554 #define SWIGTYPE_p_wxScrollWinEvent swig_types[88]
2555 #define SWIGTYPE_p_wxSetCursorEvent swig_types[89]
2556 #define SWIGTYPE_p_wxShowEvent swig_types[90]
2557 #define SWIGTYPE_p_wxSizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxSizer swig_types[92]
2559 #define SWIGTYPE_p_wxSizerItem swig_types[93]
2560 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[94]
2561 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[95]
2562 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[96]
2563 #define SWIGTYPE_p_wxStyledTextEvent swig_types[97]
2564 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[98]
2565 #define SWIGTYPE_p_wxSystemOptions swig_types[99]
2566 #define SWIGTYPE_p_wxTIFFHandler swig_types[100]
2567 #define SWIGTYPE_p_wxTimerEvent swig_types[101]
2568 #define SWIGTYPE_p_wxToolTip swig_types[102]
2569 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[103]
2570 #define SWIGTYPE_p_wxValidator swig_types[104]
2571 #define SWIGTYPE_p_wxWindow swig_types[105]
2572 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[106]
2573 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxXPMHandler swig_types[108]
2575 static swig_type_info *swig_types[110];
2576 static swig_module_info swig_module = {swig_types, 109, 0, 0, 0, 0};
2577 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2578 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2579
2580 /* -------- TYPES TABLE (END) -------- */
2581
2582 #if (PY_VERSION_HEX <= 0x02000000)
2583 # if !defined(SWIG_PYTHON_CLASSIC)
2584 # error "This python version requires to use swig with the '-classic' option"
2585 # endif
2586 #endif
2587 #if (PY_VERSION_HEX <= 0x02020000)
2588 # error "This python version requires to use swig with the '-nomodern' option"
2589 #endif
2590 #if (PY_VERSION_HEX <= 0x02020000)
2591 # error "This python version requires to use swig with the '-nomodernargs' option"
2592 #endif
2593 #ifndef METH_O
2594 # error "This python version requires to use swig with the '-nofastunpack' option"
2595 #endif
2596
2597 /*-----------------------------------------------
2598 @(target):= _stc.so
2599 ------------------------------------------------*/
2600 #define SWIG_init init_stc
2601
2602 #define SWIG_name "_stc"
2603
2604 #define SWIGVERSION 0x010329
2605
2606
2607 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2608 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2609
2610
2611 #include <stdexcept>
2612
2613
2614 namespace swig {
2615 class PyObject_ptr {
2616 protected:
2617 PyObject *_obj;
2618
2619 public:
2620 PyObject_ptr() :_obj(0)
2621 {
2622 }
2623
2624 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2625 {
2626 Py_XINCREF(_obj);
2627 }
2628
2629 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2630 {
2631 if (initial_ref) Py_XINCREF(_obj);
2632 }
2633
2634 PyObject_ptr & operator=(const PyObject_ptr& item)
2635 {
2636 Py_XINCREF(item._obj);
2637 Py_XDECREF(_obj);
2638 _obj = item._obj;
2639 return *this;
2640 }
2641
2642 ~PyObject_ptr()
2643 {
2644 Py_XDECREF(_obj);
2645 }
2646
2647 operator PyObject *() const
2648 {
2649 return _obj;
2650 }
2651
2652 PyObject *operator->() const
2653 {
2654 return _obj;
2655 }
2656 };
2657 }
2658
2659
2660 namespace swig {
2661 struct PyObject_var : PyObject_ptr {
2662 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2663
2664 PyObject_var & operator = (PyObject* obj)
2665 {
2666 Py_XDECREF(_obj);
2667 _obj = obj;
2668 return *this;
2669 }
2670 };
2671 }
2672
2673
2674 #include "wx/wxPython/wxPython.h"
2675 #include "wx/wxPython/pyclasses.h"
2676 #include <wx/stc/stc.h>
2677
2678
2679 static const wxString wxPySTCNameStr(wxSTCNameStr);
2680
2681 #define SWIG_From_long PyInt_FromLong
2682
2683
2684 SWIGINTERNINLINE PyObject *
2685 SWIG_From_int (int value)
2686 {
2687 return SWIG_From_long (value);
2688 }
2689
2690
2691 #include <limits.h>
2692 #ifndef LLONG_MIN
2693 # define LLONG_MIN LONG_LONG_MIN
2694 #endif
2695 #ifndef LLONG_MAX
2696 # define LLONG_MAX LONG_LONG_MAX
2697 #endif
2698 #ifndef ULLONG_MAX
2699 # define ULLONG_MAX ULONG_LONG_MAX
2700 #endif
2701
2702
2703 SWIGINTERN int
2704 SWIG_AsVal_long (PyObject* obj, long* val)
2705 {
2706 if (PyNumber_Check(obj)) {
2707 if (val) *val = PyInt_AsLong(obj);
2708 return SWIG_OK;
2709 }
2710 return SWIG_TypeError;
2711 }
2712
2713
2714 SWIGINTERN int
2715 SWIG_AsVal_int (PyObject * obj, int *val)
2716 {
2717 long v;
2718 int res = SWIG_AsVal_long (obj, &v);
2719 if (SWIG_IsOK(res)) {
2720 if ((v < INT_MIN || v > INT_MAX)) {
2721 return SWIG_OverflowError;
2722 } else {
2723 if (val) *val = static_cast< int >(v);
2724 }
2725 }
2726 return res;
2727 }
2728
2729
2730 SWIGINTERN int
2731 SWIG_AsVal_bool (PyObject *obj, bool *val)
2732 {
2733 if (obj == Py_True) {
2734 if (val) *val = true;
2735 return SWIG_OK;
2736 } else if (obj == Py_False) {
2737 if (val) *val = false;
2738 return SWIG_OK;
2739 } else {
2740 long v = 0;
2741 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2742 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2743 return res;
2744 }
2745 }
2746
2747
2748 SWIGINTERN swig_type_info*
2749 SWIG_pchar_descriptor()
2750 {
2751 static int init = 0;
2752 static swig_type_info* info = 0;
2753 if (!init) {
2754 info = SWIG_TypeQuery("_p_char");
2755 init = 1;
2756 }
2757 return info;
2758 }
2759
2760
2761 SWIGINTERN int
2762 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
2763 {
2764 if (PyString_Check(obj)) {
2765 char *cstr; Py_ssize_t len;
2766 PyString_AsStringAndSize(obj, &cstr, &len);
2767 if (cptr) {
2768 if (alloc) {
2769 /*
2770 In python the user should not be able to modify the inner
2771 string representation. To warranty that, if you define
2772 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2773 buffer is always returned.
2774
2775 The default behavior is just to return the pointer value,
2776 so, be careful.
2777 */
2778 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2779 if (*alloc != SWIG_OLDOBJ)
2780 #else
2781 if (*alloc == SWIG_NEWOBJ)
2782 #endif
2783 {
2784 *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
2785 *alloc = SWIG_NEWOBJ;
2786 }
2787 else {
2788 *cptr = cstr;
2789 *alloc = SWIG_OLDOBJ;
2790 }
2791 } else {
2792 *cptr = PyString_AsString(obj);
2793 }
2794 }
2795 if (psize) *psize = len + 1;
2796 return SWIG_OK;
2797 } else {
2798 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2799 if (pchar_descriptor) {
2800 void* vptr = 0;
2801 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
2802 if (cptr) *cptr = (char *) vptr;
2803 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
2804 if (alloc) *alloc = SWIG_OLDOBJ;
2805 return SWIG_OK;
2806 }
2807 }
2808 }
2809 return SWIG_TypeError;
2810 }
2811
2812
2813
2814
2815 #ifdef __cplusplus
2816 extern "C" {
2817 #endif
2818 SWIGINTERN int STCNameStr_set(PyObject *) {
2819 SWIG_Error(SWIG_AttributeError,"Variable STCNameStr is read-only.");
2820 return 1;
2821 }
2822
2823
2824 SWIGINTERN PyObject *STCNameStr_get(void) {
2825 PyObject *pyobj = 0;
2826
2827 {
2828 #if wxUSE_UNICODE
2829 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
2830 #else
2831 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
2832 #endif
2833 }
2834 return pyobj;
2835 }
2836
2837
2838 SWIGINTERN PyObject *_wrap_new_StyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2839 PyObject *resultobj = 0;
2840 wxWindow *arg1 = (wxWindow *) 0 ;
2841 int arg2 = (int) wxID_ANY ;
2842 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2843 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2844 wxSize const &arg4_defvalue = wxDefaultSize ;
2845 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2846 long arg5 = (long) 0 ;
2847 wxString const &arg6_defvalue = wxPySTCNameStr ;
2848 wxString *arg6 = (wxString *) &arg6_defvalue ;
2849 wxStyledTextCtrl *result = 0 ;
2850 void *argp1 = 0 ;
2851 int res1 = 0 ;
2852 int val2 ;
2853 int ecode2 = 0 ;
2854 wxPoint temp3 ;
2855 wxSize temp4 ;
2856 long val5 ;
2857 int ecode5 = 0 ;
2858 bool temp6 = false ;
2859 PyObject * obj0 = 0 ;
2860 PyObject * obj1 = 0 ;
2861 PyObject * obj2 = 0 ;
2862 PyObject * obj3 = 0 ;
2863 PyObject * obj4 = 0 ;
2864 PyObject * obj5 = 0 ;
2865 char * kwnames[] = {
2866 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2867 };
2868
2869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
2870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
2871 if (!SWIG_IsOK(res1)) {
2872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StyledTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
2873 }
2874 arg1 = reinterpret_cast< wxWindow * >(argp1);
2875 if (obj1) {
2876 ecode2 = SWIG_AsVal_int(obj1, &val2);
2877 if (!SWIG_IsOK(ecode2)) {
2878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextCtrl" "', expected argument " "2"" of type '" "int""'");
2879 }
2880 arg2 = static_cast< int >(val2);
2881 }
2882 if (obj2) {
2883 {
2884 arg3 = &temp3;
2885 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2886 }
2887 }
2888 if (obj3) {
2889 {
2890 arg4 = &temp4;
2891 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2892 }
2893 }
2894 if (obj4) {
2895 ecode5 = SWIG_AsVal_long(obj4, &val5);
2896 if (!SWIG_IsOK(ecode5)) {
2897 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StyledTextCtrl" "', expected argument " "5"" of type '" "long""'");
2898 }
2899 arg5 = static_cast< long >(val5);
2900 }
2901 if (obj5) {
2902 {
2903 arg6 = wxString_in_helper(obj5);
2904 if (arg6 == NULL) SWIG_fail;
2905 temp6 = true;
2906 }
2907 }
2908 {
2909 if (!wxPyCheckForApp()) SWIG_fail;
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2912 wxPyEndAllowThreads(__tstate);
2913 if (PyErr_Occurred()) SWIG_fail;
2914 }
2915 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_NEW | 0 );
2916 {
2917 if (temp6)
2918 delete arg6;
2919 }
2920 return resultobj;
2921 fail:
2922 {
2923 if (temp6)
2924 delete arg6;
2925 }
2926 return NULL;
2927 }
2928
2929
2930 SWIGINTERN PyObject *_wrap_new_PreStyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2931 PyObject *resultobj = 0;
2932 wxStyledTextCtrl *result = 0 ;
2933
2934 if (!SWIG_Python_UnpackTuple(args,"new_PreStyledTextCtrl",0,0,0)) SWIG_fail;
2935 {
2936 if (!wxPyCheckForApp()) SWIG_fail;
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
2939 wxPyEndAllowThreads(__tstate);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
2942 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_OWN | 0 );
2943 return resultobj;
2944 fail:
2945 return NULL;
2946 }
2947
2948
2949 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj = 0;
2951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2952 wxWindow *arg2 = (wxWindow *) 0 ;
2953 int arg3 = (int) wxID_ANY ;
2954 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2955 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2956 wxSize const &arg5_defvalue = wxDefaultSize ;
2957 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2958 long arg6 = (long) 0 ;
2959 wxString const &arg7_defvalue = wxSTCNameStr ;
2960 wxString *arg7 = (wxString *) &arg7_defvalue ;
2961 bool result;
2962 void *argp1 = 0 ;
2963 int res1 = 0 ;
2964 void *argp2 = 0 ;
2965 int res2 = 0 ;
2966 int val3 ;
2967 int ecode3 = 0 ;
2968 wxPoint temp4 ;
2969 wxSize temp5 ;
2970 long val6 ;
2971 int ecode6 = 0 ;
2972 bool temp7 = false ;
2973 PyObject * obj0 = 0 ;
2974 PyObject * obj1 = 0 ;
2975 PyObject * obj2 = 0 ;
2976 PyObject * obj3 = 0 ;
2977 PyObject * obj4 = 0 ;
2978 PyObject * obj5 = 0 ;
2979 PyObject * obj6 = 0 ;
2980 char * kwnames[] = {
2981 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2982 };
2983
2984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
2985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
2986 if (!SWIG_IsOK(res1)) {
2987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Create" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
2988 }
2989 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
2990 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
2991 if (!SWIG_IsOK(res2)) {
2992 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
2993 }
2994 arg2 = reinterpret_cast< wxWindow * >(argp2);
2995 if (obj2) {
2996 ecode3 = SWIG_AsVal_int(obj2, &val3);
2997 if (!SWIG_IsOK(ecode3)) {
2998 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
2999 }
3000 arg3 = static_cast< int >(val3);
3001 }
3002 if (obj3) {
3003 {
3004 arg4 = &temp4;
3005 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3006 }
3007 }
3008 if (obj4) {
3009 {
3010 arg5 = &temp5;
3011 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3012 }
3013 }
3014 if (obj5) {
3015 ecode6 = SWIG_AsVal_long(obj5, &val6);
3016 if (!SWIG_IsOK(ecode6)) {
3017 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_Create" "', expected argument " "6"" of type '" "long""'");
3018 }
3019 arg6 = static_cast< long >(val6);
3020 }
3021 if (obj6) {
3022 {
3023 arg7 = wxString_in_helper(obj6);
3024 if (arg7 == NULL) SWIG_fail;
3025 temp7 = true;
3026 }
3027 }
3028 {
3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
3030 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) SWIG_fail;
3033 }
3034 {
3035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3036 }
3037 {
3038 if (temp7)
3039 delete arg7;
3040 }
3041 return resultobj;
3042 fail:
3043 {
3044 if (temp7)
3045 delete arg7;
3046 }
3047 return NULL;
3048 }
3049
3050
3051 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3052 PyObject *resultobj = 0;
3053 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3054 wxString *arg2 = 0 ;
3055 void *argp1 = 0 ;
3056 int res1 = 0 ;
3057 bool temp2 = false ;
3058 PyObject * obj0 = 0 ;
3059 PyObject * obj1 = 0 ;
3060 char * kwnames[] = {
3061 (char *) "self",(char *) "text", NULL
3062 };
3063
3064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) SWIG_fail;
3065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3066 if (!SWIG_IsOK(res1)) {
3067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3068 }
3069 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3070 {
3071 arg2 = wxString_in_helper(obj1);
3072 if (arg2 == NULL) SWIG_fail;
3073 temp2 = true;
3074 }
3075 {
3076 PyThreadState* __tstate = wxPyBeginAllowThreads();
3077 (arg1)->AddText((wxString const &)*arg2);
3078 wxPyEndAllowThreads(__tstate);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 }
3081 resultobj = SWIG_Py_Void();
3082 {
3083 if (temp2)
3084 delete arg2;
3085 }
3086 return resultobj;
3087 fail:
3088 {
3089 if (temp2)
3090 delete arg2;
3091 }
3092 return NULL;
3093 }
3094
3095
3096 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3097 PyObject *resultobj = 0;
3098 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3099 wxMemoryBuffer *arg2 = 0 ;
3100 void *argp1 = 0 ;
3101 int res1 = 0 ;
3102 bool temp2 = false ;
3103 PyObject * obj0 = 0 ;
3104 PyObject * obj1 = 0 ;
3105 char * kwnames[] = {
3106 (char *) "self",(char *) "data", NULL
3107 };
3108
3109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) SWIG_fail;
3110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3111 if (!SWIG_IsOK(res1)) {
3112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3113 }
3114 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3115 {
3116 if (!PyString_Check(obj1)) {
3117 PyErr_SetString(PyExc_TypeError, "String buffer expected");
3118 SWIG_fail;
3119 }
3120 char* str = PyString_AS_STRING(obj1);
3121 int len = PyString_GET_SIZE(obj1);
3122 arg2 = new wxMemoryBuffer(len);
3123 temp2 = true;
3124 memcpy(arg2->GetData(), str, len);
3125 arg2->SetDataLen(len);
3126 }
3127 {
3128 PyThreadState* __tstate = wxPyBeginAllowThreads();
3129 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
3130 wxPyEndAllowThreads(__tstate);
3131 if (PyErr_Occurred()) SWIG_fail;
3132 }
3133 resultobj = SWIG_Py_Void();
3134 {
3135 if (temp2) delete arg2;
3136 }
3137 return resultobj;
3138 fail:
3139 {
3140 if (temp2) delete arg2;
3141 }
3142 return NULL;
3143 }
3144
3145
3146 SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj = 0;
3148 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3149 int arg2 ;
3150 wxString *arg3 = 0 ;
3151 void *argp1 = 0 ;
3152 int res1 = 0 ;
3153 int val2 ;
3154 int ecode2 = 0 ;
3155 bool temp3 = false ;
3156 PyObject * obj0 = 0 ;
3157 PyObject * obj1 = 0 ;
3158 PyObject * obj2 = 0 ;
3159 char * kwnames[] = {
3160 (char *) "self",(char *) "pos",(char *) "text", NULL
3161 };
3162
3163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3165 if (!SWIG_IsOK(res1)) {
3166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3167 }
3168 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3169 ecode2 = SWIG_AsVal_int(obj1, &val2);
3170 if (!SWIG_IsOK(ecode2)) {
3171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "2"" of type '" "int""'");
3172 }
3173 arg2 = static_cast< int >(val2);
3174 {
3175 arg3 = wxString_in_helper(obj2);
3176 if (arg3 == NULL) SWIG_fail;
3177 temp3 = true;
3178 }
3179 {
3180 PyThreadState* __tstate = wxPyBeginAllowThreads();
3181 (arg1)->InsertText(arg2,(wxString const &)*arg3);
3182 wxPyEndAllowThreads(__tstate);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 resultobj = SWIG_Py_Void();
3186 {
3187 if (temp3)
3188 delete arg3;
3189 }
3190 return resultobj;
3191 fail:
3192 {
3193 if (temp3)
3194 delete arg3;
3195 }
3196 return NULL;
3197 }
3198
3199
3200 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3201 PyObject *resultobj = 0;
3202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3203 void *argp1 = 0 ;
3204 int res1 = 0 ;
3205 PyObject *swig_obj[1] ;
3206
3207 if (!args) SWIG_fail;
3208 swig_obj[0] = args;
3209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3210 if (!SWIG_IsOK(res1)) {
3211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3212 }
3213 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3214 {
3215 PyThreadState* __tstate = wxPyBeginAllowThreads();
3216 (arg1)->ClearAll();
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 resultobj = SWIG_Py_Void();
3221 return resultobj;
3222 fail:
3223 return NULL;
3224 }
3225
3226
3227 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3228 PyObject *resultobj = 0;
3229 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3230 void *argp1 = 0 ;
3231 int res1 = 0 ;
3232 PyObject *swig_obj[1] ;
3233
3234 if (!args) SWIG_fail;
3235 swig_obj[0] = args;
3236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3237 if (!SWIG_IsOK(res1)) {
3238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearDocumentStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3239 }
3240 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3241 {
3242 PyThreadState* __tstate = wxPyBeginAllowThreads();
3243 (arg1)->ClearDocumentStyle();
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 resultobj = SWIG_Py_Void();
3248 return resultobj;
3249 fail:
3250 return NULL;
3251 }
3252
3253
3254 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3255 PyObject *resultobj = 0;
3256 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3257 int result;
3258 void *argp1 = 0 ;
3259 int res1 = 0 ;
3260 PyObject *swig_obj[1] ;
3261
3262 if (!args) SWIG_fail;
3263 swig_obj[0] = args;
3264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3265 if (!SWIG_IsOK(res1)) {
3266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3267 }
3268 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3269 {
3270 PyThreadState* __tstate = wxPyBeginAllowThreads();
3271 result = (int)(arg1)->GetLength();
3272 wxPyEndAllowThreads(__tstate);
3273 if (PyErr_Occurred()) SWIG_fail;
3274 }
3275 resultobj = SWIG_From_int(static_cast< int >(result));
3276 return resultobj;
3277 fail:
3278 return NULL;
3279 }
3280
3281
3282 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3283 PyObject *resultobj = 0;
3284 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3285 int arg2 ;
3286 int result;
3287 void *argp1 = 0 ;
3288 int res1 = 0 ;
3289 int val2 ;
3290 int ecode2 = 0 ;
3291 PyObject * obj0 = 0 ;
3292 PyObject * obj1 = 0 ;
3293 char * kwnames[] = {
3294 (char *) "self",(char *) "pos", NULL
3295 };
3296
3297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) SWIG_fail;
3298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3299 if (!SWIG_IsOK(res1)) {
3300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3301 }
3302 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3303 ecode2 = SWIG_AsVal_int(obj1, &val2);
3304 if (!SWIG_IsOK(ecode2)) {
3305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "2"" of type '" "int""'");
3306 }
3307 arg2 = static_cast< int >(val2);
3308 {
3309 PyThreadState* __tstate = wxPyBeginAllowThreads();
3310 result = (int)(arg1)->GetCharAt(arg2);
3311 wxPyEndAllowThreads(__tstate);
3312 if (PyErr_Occurred()) SWIG_fail;
3313 }
3314 resultobj = SWIG_From_int(static_cast< int >(result));
3315 return resultobj;
3316 fail:
3317 return NULL;
3318 }
3319
3320
3321 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3322 PyObject *resultobj = 0;
3323 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3324 int result;
3325 void *argp1 = 0 ;
3326 int res1 = 0 ;
3327 PyObject *swig_obj[1] ;
3328
3329 if (!args) SWIG_fail;
3330 swig_obj[0] = args;
3331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3332 if (!SWIG_IsOK(res1)) {
3333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3334 }
3335 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 result = (int)(arg1)->GetCurrentPos();
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 resultobj = SWIG_From_int(static_cast< int >(result));
3343 return resultobj;
3344 fail:
3345 return NULL;
3346 }
3347
3348
3349 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3350 PyObject *resultobj = 0;
3351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3352 int result;
3353 void *argp1 = 0 ;
3354 int res1 = 0 ;
3355 PyObject *swig_obj[1] ;
3356
3357 if (!args) SWIG_fail;
3358 swig_obj[0] = args;
3359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3360 if (!SWIG_IsOK(res1)) {
3361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3362 }
3363 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3364 {
3365 PyThreadState* __tstate = wxPyBeginAllowThreads();
3366 result = (int)(arg1)->GetAnchor();
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 resultobj = SWIG_From_int(static_cast< int >(result));
3371 return resultobj;
3372 fail:
3373 return NULL;
3374 }
3375
3376
3377 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3378 PyObject *resultobj = 0;
3379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3380 int arg2 ;
3381 int result;
3382 void *argp1 = 0 ;
3383 int res1 = 0 ;
3384 int val2 ;
3385 int ecode2 = 0 ;
3386 PyObject * obj0 = 0 ;
3387 PyObject * obj1 = 0 ;
3388 char * kwnames[] = {
3389 (char *) "self",(char *) "pos", NULL
3390 };
3391
3392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) SWIG_fail;
3393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3394 if (!SWIG_IsOK(res1)) {
3395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3396 }
3397 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3398 ecode2 = SWIG_AsVal_int(obj1, &val2);
3399 if (!SWIG_IsOK(ecode2)) {
3400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "2"" of type '" "int""'");
3401 }
3402 arg2 = static_cast< int >(val2);
3403 {
3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
3405 result = (int)(arg1)->GetStyleAt(arg2);
3406 wxPyEndAllowThreads(__tstate);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 resultobj = SWIG_From_int(static_cast< int >(result));
3410 return resultobj;
3411 fail:
3412 return NULL;
3413 }
3414
3415
3416 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3417 PyObject *resultobj = 0;
3418 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3419 void *argp1 = 0 ;
3420 int res1 = 0 ;
3421 PyObject *swig_obj[1] ;
3422
3423 if (!args) SWIG_fail;
3424 swig_obj[0] = args;
3425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3426 if (!SWIG_IsOK(res1)) {
3427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Redo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3428 }
3429 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3430 {
3431 PyThreadState* __tstate = wxPyBeginAllowThreads();
3432 (arg1)->Redo();
3433 wxPyEndAllowThreads(__tstate);
3434 if (PyErr_Occurred()) SWIG_fail;
3435 }
3436 resultobj = SWIG_Py_Void();
3437 return resultobj;
3438 fail:
3439 return NULL;
3440 }
3441
3442
3443 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3444 PyObject *resultobj = 0;
3445 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3446 bool arg2 ;
3447 void *argp1 = 0 ;
3448 int res1 = 0 ;
3449 bool val2 ;
3450 int ecode2 = 0 ;
3451 PyObject * obj0 = 0 ;
3452 PyObject * obj1 = 0 ;
3453 char * kwnames[] = {
3454 (char *) "self",(char *) "collectUndo", NULL
3455 };
3456
3457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) SWIG_fail;
3458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3459 if (!SWIG_IsOK(res1)) {
3460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3461 }
3462 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3463 ecode2 = SWIG_AsVal_bool(obj1, &val2);
3464 if (!SWIG_IsOK(ecode2)) {
3465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "2"" of type '" "bool""'");
3466 }
3467 arg2 = static_cast< bool >(val2);
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 (arg1)->SetUndoCollection(arg2);
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 resultobj = SWIG_Py_Void();
3475 return resultobj;
3476 fail:
3477 return NULL;
3478 }
3479
3480
3481 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3482 PyObject *resultobj = 0;
3483 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3484 void *argp1 = 0 ;
3485 int res1 = 0 ;
3486 PyObject *swig_obj[1] ;
3487
3488 if (!args) SWIG_fail;
3489 swig_obj[0] = args;
3490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3491 if (!SWIG_IsOK(res1)) {
3492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3493 }
3494 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3495 {
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 (arg1)->SelectAll();
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 }
3501 resultobj = SWIG_Py_Void();
3502 return resultobj;
3503 fail:
3504 return NULL;
3505 }
3506
3507
3508 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3509 PyObject *resultobj = 0;
3510 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3511 void *argp1 = 0 ;
3512 int res1 = 0 ;
3513 PyObject *swig_obj[1] ;
3514
3515 if (!args) SWIG_fail;
3516 swig_obj[0] = args;
3517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3518 if (!SWIG_IsOK(res1)) {
3519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSavePoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3520 }
3521 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3522 {
3523 PyThreadState* __tstate = wxPyBeginAllowThreads();
3524 (arg1)->SetSavePoint();
3525 wxPyEndAllowThreads(__tstate);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 resultobj = SWIG_Py_Void();
3529 return resultobj;
3530 fail:
3531 return NULL;
3532 }
3533
3534
3535 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3536 PyObject *resultobj = 0;
3537 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3538 int arg2 ;
3539 int arg3 ;
3540 wxMemoryBuffer result;
3541 void *argp1 = 0 ;
3542 int res1 = 0 ;
3543 int val2 ;
3544 int ecode2 = 0 ;
3545 int val3 ;
3546 int ecode3 = 0 ;
3547 PyObject * obj0 = 0 ;
3548 PyObject * obj1 = 0 ;
3549 PyObject * obj2 = 0 ;
3550 char * kwnames[] = {
3551 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
3552 };
3553
3554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3556 if (!SWIG_IsOK(res1)) {
3557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3558 }
3559 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3560 ecode2 = SWIG_AsVal_int(obj1, &val2);
3561 if (!SWIG_IsOK(ecode2)) {
3562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "2"" of type '" "int""'");
3563 }
3564 arg2 = static_cast< int >(val2);
3565 ecode3 = SWIG_AsVal_int(obj2, &val3);
3566 if (!SWIG_IsOK(ecode3)) {
3567 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "3"" of type '" "int""'");
3568 }
3569 arg3 = static_cast< int >(val3);
3570 {
3571 PyThreadState* __tstate = wxPyBeginAllowThreads();
3572 result = (arg1)->GetStyledText(arg2,arg3);
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 {
3577 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
3578 }
3579 return resultobj;
3580 fail:
3581 return NULL;
3582 }
3583
3584
3585 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3586 PyObject *resultobj = 0;
3587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3588 bool result;
3589 void *argp1 = 0 ;
3590 int res1 = 0 ;
3591 PyObject *swig_obj[1] ;
3592
3593 if (!args) SWIG_fail;
3594 swig_obj[0] = args;
3595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3596 if (!SWIG_IsOK(res1)) {
3597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3598 }
3599 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 result = (bool)(arg1)->CanRedo();
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
3606 {
3607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3608 }
3609 return resultobj;
3610 fail:
3611 return NULL;
3612 }
3613
3614
3615 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3616 PyObject *resultobj = 0;
3617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3618 int arg2 ;
3619 int result;
3620 void *argp1 = 0 ;
3621 int res1 = 0 ;
3622 int val2 ;
3623 int ecode2 = 0 ;
3624 PyObject * obj0 = 0 ;
3625 PyObject * obj1 = 0 ;
3626 char * kwnames[] = {
3627 (char *) "self",(char *) "handle", NULL
3628 };
3629
3630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) SWIG_fail;
3631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3632 if (!SWIG_IsOK(res1)) {
3633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3634 }
3635 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3636 ecode2 = SWIG_AsVal_int(obj1, &val2);
3637 if (!SWIG_IsOK(ecode2)) {
3638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "2"" of type '" "int""'");
3639 }
3640 arg2 = static_cast< int >(val2);
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 result = (int)(arg1)->MarkerLineFromHandle(arg2);
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 resultobj = SWIG_From_int(static_cast< int >(result));
3648 return resultobj;
3649 fail:
3650 return NULL;
3651 }
3652
3653
3654 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3655 PyObject *resultobj = 0;
3656 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3657 int arg2 ;
3658 void *argp1 = 0 ;
3659 int res1 = 0 ;
3660 int val2 ;
3661 int ecode2 = 0 ;
3662 PyObject * obj0 = 0 ;
3663 PyObject * obj1 = 0 ;
3664 char * kwnames[] = {
3665 (char *) "self",(char *) "handle", NULL
3666 };
3667
3668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) SWIG_fail;
3669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3670 if (!SWIG_IsOK(res1)) {
3671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3672 }
3673 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3674 ecode2 = SWIG_AsVal_int(obj1, &val2);
3675 if (!SWIG_IsOK(ecode2)) {
3676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "2"" of type '" "int""'");
3677 }
3678 arg2 = static_cast< int >(val2);
3679 {
3680 PyThreadState* __tstate = wxPyBeginAllowThreads();
3681 (arg1)->MarkerDeleteHandle(arg2);
3682 wxPyEndAllowThreads(__tstate);
3683 if (PyErr_Occurred()) SWIG_fail;
3684 }
3685 resultobj = SWIG_Py_Void();
3686 return resultobj;
3687 fail:
3688 return NULL;
3689 }
3690
3691
3692 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3693 PyObject *resultobj = 0;
3694 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3695 bool result;
3696 void *argp1 = 0 ;
3697 int res1 = 0 ;
3698 PyObject *swig_obj[1] ;
3699
3700 if (!args) SWIG_fail;
3701 swig_obj[0] = args;
3702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3703 if (!SWIG_IsOK(res1)) {
3704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3705 }
3706 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3707 {
3708 PyThreadState* __tstate = wxPyBeginAllowThreads();
3709 result = (bool)(arg1)->GetUndoCollection();
3710 wxPyEndAllowThreads(__tstate);
3711 if (PyErr_Occurred()) SWIG_fail;
3712 }
3713 {
3714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3715 }
3716 return resultobj;
3717 fail:
3718 return NULL;
3719 }
3720
3721
3722 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3723 PyObject *resultobj = 0;
3724 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3725 int result;
3726 void *argp1 = 0 ;
3727 int res1 = 0 ;
3728 PyObject *swig_obj[1] ;
3729
3730 if (!args) SWIG_fail;
3731 swig_obj[0] = args;
3732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3733 if (!SWIG_IsOK(res1)) {
3734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3735 }
3736 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3737 {
3738 PyThreadState* __tstate = wxPyBeginAllowThreads();
3739 result = (int)(arg1)->GetViewWhiteSpace();
3740 wxPyEndAllowThreads(__tstate);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 }
3743 resultobj = SWIG_From_int(static_cast< int >(result));
3744 return resultobj;
3745 fail:
3746 return NULL;
3747 }
3748
3749
3750 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj = 0;
3752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3753 int arg2 ;
3754 void *argp1 = 0 ;
3755 int res1 = 0 ;
3756 int val2 ;
3757 int ecode2 = 0 ;
3758 PyObject * obj0 = 0 ;
3759 PyObject * obj1 = 0 ;
3760 char * kwnames[] = {
3761 (char *) "self",(char *) "viewWS", NULL
3762 };
3763
3764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) SWIG_fail;
3765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3766 if (!SWIG_IsOK(res1)) {
3767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3768 }
3769 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3770 ecode2 = SWIG_AsVal_int(obj1, &val2);
3771 if (!SWIG_IsOK(ecode2)) {
3772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "2"" of type '" "int""'");
3773 }
3774 arg2 = static_cast< int >(val2);
3775 {
3776 PyThreadState* __tstate = wxPyBeginAllowThreads();
3777 (arg1)->SetViewWhiteSpace(arg2);
3778 wxPyEndAllowThreads(__tstate);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 resultobj = SWIG_Py_Void();
3782 return resultobj;
3783 fail:
3784 return NULL;
3785 }
3786
3787
3788 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3789 PyObject *resultobj = 0;
3790 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3791 wxPoint arg2 ;
3792 int result;
3793 void *argp1 = 0 ;
3794 int res1 = 0 ;
3795 void *argp2 ;
3796 int res2 = 0 ;
3797 PyObject * obj0 = 0 ;
3798 PyObject * obj1 = 0 ;
3799 char * kwnames[] = {
3800 (char *) "self",(char *) "pt", NULL
3801 };
3802
3803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) SWIG_fail;
3804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3805 if (!SWIG_IsOK(res1)) {
3806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3807 }
3808 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3809 {
3810 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPoint, 0 | 0);
3811 if (!SWIG_IsOK(res2)) {
3812 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3813 }
3814 if (!argp2) {
3815 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3816 } else {
3817 wxPoint * temp = reinterpret_cast< wxPoint * >(argp2);
3818 arg2 = *temp;
3819 if (SWIG_IsNewObj(res2)) delete temp;
3820 }
3821 }
3822 {
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 result = (int)(arg1)->PositionFromPoint(arg2);
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 resultobj = SWIG_From_int(static_cast< int >(result));
3829 return resultobj;
3830 fail:
3831 return NULL;
3832 }
3833
3834
3835 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3836 PyObject *resultobj = 0;
3837 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3838 int arg2 ;
3839 int arg3 ;
3840 int result;
3841 void *argp1 = 0 ;
3842 int res1 = 0 ;
3843 int val2 ;
3844 int ecode2 = 0 ;
3845 int val3 ;
3846 int ecode3 = 0 ;
3847 PyObject * obj0 = 0 ;
3848 PyObject * obj1 = 0 ;
3849 PyObject * obj2 = 0 ;
3850 char * kwnames[] = {
3851 (char *) "self",(char *) "x",(char *) "y", NULL
3852 };
3853
3854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3856 if (!SWIG_IsOK(res1)) {
3857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3858 }
3859 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3860 ecode2 = SWIG_AsVal_int(obj1, &val2);
3861 if (!SWIG_IsOK(ecode2)) {
3862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "2"" of type '" "int""'");
3863 }
3864 arg2 = static_cast< int >(val2);
3865 ecode3 = SWIG_AsVal_int(obj2, &val3);
3866 if (!SWIG_IsOK(ecode3)) {
3867 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "3"" of type '" "int""'");
3868 }
3869 arg3 = static_cast< int >(val3);
3870 {
3871 PyThreadState* __tstate = wxPyBeginAllowThreads();
3872 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 resultobj = SWIG_From_int(static_cast< int >(result));
3877 return resultobj;
3878 fail:
3879 return NULL;
3880 }
3881
3882
3883 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj = 0;
3885 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3886 int arg2 ;
3887 void *argp1 = 0 ;
3888 int res1 = 0 ;
3889 int val2 ;
3890 int ecode2 = 0 ;
3891 PyObject * obj0 = 0 ;
3892 PyObject * obj1 = 0 ;
3893 char * kwnames[] = {
3894 (char *) "self",(char *) "line", NULL
3895 };
3896
3897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) SWIG_fail;
3898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3899 if (!SWIG_IsOK(res1)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3901 }
3902 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3903 ecode2 = SWIG_AsVal_int(obj1, &val2);
3904 if (!SWIG_IsOK(ecode2)) {
3905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "2"" of type '" "int""'");
3906 }
3907 arg2 = static_cast< int >(val2);
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 (arg1)->GotoLine(arg2);
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 resultobj = SWIG_Py_Void();
3915 return resultobj;
3916 fail:
3917 return NULL;
3918 }
3919
3920
3921 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3922 PyObject *resultobj = 0;
3923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3924 int arg2 ;
3925 void *argp1 = 0 ;
3926 int res1 = 0 ;
3927 int val2 ;
3928 int ecode2 = 0 ;
3929 PyObject * obj0 = 0 ;
3930 PyObject * obj1 = 0 ;
3931 char * kwnames[] = {
3932 (char *) "self",(char *) "pos", NULL
3933 };
3934
3935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) SWIG_fail;
3936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3937 if (!SWIG_IsOK(res1)) {
3938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3939 }
3940 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3941 ecode2 = SWIG_AsVal_int(obj1, &val2);
3942 if (!SWIG_IsOK(ecode2)) {
3943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "2"" of type '" "int""'");
3944 }
3945 arg2 = static_cast< int >(val2);
3946 {
3947 PyThreadState* __tstate = wxPyBeginAllowThreads();
3948 (arg1)->GotoPos(arg2);
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 resultobj = SWIG_Py_Void();
3953 return resultobj;
3954 fail:
3955 return NULL;
3956 }
3957
3958
3959 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3960 PyObject *resultobj = 0;
3961 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3962 int arg2 ;
3963 void *argp1 = 0 ;
3964 int res1 = 0 ;
3965 int val2 ;
3966 int ecode2 = 0 ;
3967 PyObject * obj0 = 0 ;
3968 PyObject * obj1 = 0 ;
3969 char * kwnames[] = {
3970 (char *) "self",(char *) "posAnchor", NULL
3971 };
3972
3973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
3974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3975 if (!SWIG_IsOK(res1)) {
3976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3977 }
3978 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3979 ecode2 = SWIG_AsVal_int(obj1, &val2);
3980 if (!SWIG_IsOK(ecode2)) {
3981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "2"" of type '" "int""'");
3982 }
3983 arg2 = static_cast< int >(val2);
3984 {
3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
3986 (arg1)->SetAnchor(arg2);
3987 wxPyEndAllowThreads(__tstate);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
3990 resultobj = SWIG_Py_Void();
3991 return resultobj;
3992 fail:
3993 return NULL;
3994 }
3995
3996
3997 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3998 PyObject *resultobj = 0;
3999 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4000 int *arg2 = (int *) 0 ;
4001 wxString result;
4002 void *argp1 = 0 ;
4003 int res1 = 0 ;
4004 int temp2 ;
4005 int res2 = SWIG_TMPOBJ ;
4006 PyObject *swig_obj[1] ;
4007
4008 arg2 = &temp2;
4009 if (!args) SWIG_fail;
4010 swig_obj[0] = args;
4011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4012 if (!SWIG_IsOK(res1)) {
4013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4014 }
4015 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4016 {
4017 PyThreadState* __tstate = wxPyBeginAllowThreads();
4018 result = (arg1)->GetCurLine(arg2);
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 {
4023 #if wxUSE_UNICODE
4024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4025 #else
4026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4027 #endif
4028 }
4029 if (SWIG_IsTmpObj(res2)) {
4030 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4031 } else {
4032 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4033 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4034 }
4035 return resultobj;
4036 fail:
4037 return NULL;
4038 }
4039
4040
4041 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4042 PyObject *resultobj = 0;
4043 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4044 int result;
4045 void *argp1 = 0 ;
4046 int res1 = 0 ;
4047 PyObject *swig_obj[1] ;
4048
4049 if (!args) SWIG_fail;
4050 swig_obj[0] = args;
4051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4052 if (!SWIG_IsOK(res1)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndStyled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4054 }
4055 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (int)(arg1)->GetEndStyled();
4059 wxPyEndAllowThreads(__tstate);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 resultobj = SWIG_From_int(static_cast< int >(result));
4063 return resultobj;
4064 fail:
4065 return NULL;
4066 }
4067
4068
4069 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4070 PyObject *resultobj = 0;
4071 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4072 int arg2 ;
4073 void *argp1 = 0 ;
4074 int res1 = 0 ;
4075 int val2 ;
4076 int ecode2 = 0 ;
4077 PyObject * obj0 = 0 ;
4078 PyObject * obj1 = 0 ;
4079 char * kwnames[] = {
4080 (char *) "self",(char *) "eolMode", NULL
4081 };
4082
4083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) SWIG_fail;
4084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4085 if (!SWIG_IsOK(res1)) {
4086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4087 }
4088 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4089 ecode2 = SWIG_AsVal_int(obj1, &val2);
4090 if (!SWIG_IsOK(ecode2)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "2"" of type '" "int""'");
4092 }
4093 arg2 = static_cast< int >(val2);
4094 {
4095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4096 (arg1)->ConvertEOLs(arg2);
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 resultobj = SWIG_Py_Void();
4101 return resultobj;
4102 fail:
4103 return NULL;
4104 }
4105
4106
4107 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4108 PyObject *resultobj = 0;
4109 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4110 int result;
4111 void *argp1 = 0 ;
4112 int res1 = 0 ;
4113 PyObject *swig_obj[1] ;
4114
4115 if (!args) SWIG_fail;
4116 swig_obj[0] = args;
4117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4118 if (!SWIG_IsOK(res1)) {
4119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4120 }
4121 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (int)(arg1)->GetEOLMode();
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 resultobj = SWIG_From_int(static_cast< int >(result));
4129 return resultobj;
4130 fail:
4131 return NULL;
4132 }
4133
4134
4135 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj = 0;
4137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4138 int arg2 ;
4139 void *argp1 = 0 ;
4140 int res1 = 0 ;
4141 int val2 ;
4142 int ecode2 = 0 ;
4143 PyObject * obj0 = 0 ;
4144 PyObject * obj1 = 0 ;
4145 char * kwnames[] = {
4146 (char *) "self",(char *) "eolMode", NULL
4147 };
4148
4149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) SWIG_fail;
4150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4151 if (!SWIG_IsOK(res1)) {
4152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4153 }
4154 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4155 ecode2 = SWIG_AsVal_int(obj1, &val2);
4156 if (!SWIG_IsOK(ecode2)) {
4157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "2"" of type '" "int""'");
4158 }
4159 arg2 = static_cast< int >(val2);
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 (arg1)->SetEOLMode(arg2);
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4166 resultobj = SWIG_Py_Void();
4167 return resultobj;
4168 fail:
4169 return NULL;
4170 }
4171
4172
4173 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4174 PyObject *resultobj = 0;
4175 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4176 int arg2 ;
4177 int arg3 ;
4178 void *argp1 = 0 ;
4179 int res1 = 0 ;
4180 int val2 ;
4181 int ecode2 = 0 ;
4182 int val3 ;
4183 int ecode3 = 0 ;
4184 PyObject * obj0 = 0 ;
4185 PyObject * obj1 = 0 ;
4186 PyObject * obj2 = 0 ;
4187 char * kwnames[] = {
4188 (char *) "self",(char *) "pos",(char *) "mask", NULL
4189 };
4190
4191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4193 if (!SWIG_IsOK(res1)) {
4194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4195 }
4196 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4197 ecode2 = SWIG_AsVal_int(obj1, &val2);
4198 if (!SWIG_IsOK(ecode2)) {
4199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "2"" of type '" "int""'");
4200 }
4201 arg2 = static_cast< int >(val2);
4202 ecode3 = SWIG_AsVal_int(obj2, &val3);
4203 if (!SWIG_IsOK(ecode3)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "3"" of type '" "int""'");
4205 }
4206 arg3 = static_cast< int >(val3);
4207 {
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 (arg1)->StartStyling(arg2,arg3);
4210 wxPyEndAllowThreads(__tstate);
4211 if (PyErr_Occurred()) SWIG_fail;
4212 }
4213 resultobj = SWIG_Py_Void();
4214 return resultobj;
4215 fail:
4216 return NULL;
4217 }
4218
4219
4220 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4221 PyObject *resultobj = 0;
4222 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4223 int arg2 ;
4224 int arg3 ;
4225 void *argp1 = 0 ;
4226 int res1 = 0 ;
4227 int val2 ;
4228 int ecode2 = 0 ;
4229 int val3 ;
4230 int ecode3 = 0 ;
4231 PyObject * obj0 = 0 ;
4232 PyObject * obj1 = 0 ;
4233 PyObject * obj2 = 0 ;
4234 char * kwnames[] = {
4235 (char *) "self",(char *) "length",(char *) "style", NULL
4236 };
4237
4238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4240 if (!SWIG_IsOK(res1)) {
4241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4242 }
4243 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4244 ecode2 = SWIG_AsVal_int(obj1, &val2);
4245 if (!SWIG_IsOK(ecode2)) {
4246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "2"" of type '" "int""'");
4247 }
4248 arg2 = static_cast< int >(val2);
4249 ecode3 = SWIG_AsVal_int(obj2, &val3);
4250 if (!SWIG_IsOK(ecode3)) {
4251 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "3"" of type '" "int""'");
4252 }
4253 arg3 = static_cast< int >(val3);
4254 {
4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
4256 (arg1)->SetStyling(arg2,arg3);
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 resultobj = SWIG_Py_Void();
4261 return resultobj;
4262 fail:
4263 return NULL;
4264 }
4265
4266
4267 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4268 PyObject *resultobj = 0;
4269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4270 bool result;
4271 void *argp1 = 0 ;
4272 int res1 = 0 ;
4273 PyObject *swig_obj[1] ;
4274
4275 if (!args) SWIG_fail;
4276 swig_obj[0] = args;
4277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4278 if (!SWIG_IsOK(res1)) {
4279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4280 }
4281 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4282 {
4283 PyThreadState* __tstate = wxPyBeginAllowThreads();
4284 result = (bool)(arg1)->GetBufferedDraw();
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 {
4289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4290 }
4291 return resultobj;
4292 fail:
4293 return NULL;
4294 }
4295
4296
4297 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj = 0;
4299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4300 bool arg2 ;
4301 void *argp1 = 0 ;
4302 int res1 = 0 ;
4303 bool val2 ;
4304 int ecode2 = 0 ;
4305 PyObject * obj0 = 0 ;
4306 PyObject * obj1 = 0 ;
4307 char * kwnames[] = {
4308 (char *) "self",(char *) "buffered", NULL
4309 };
4310
4311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) SWIG_fail;
4312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4313 if (!SWIG_IsOK(res1)) {
4314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4315 }
4316 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4317 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4318 if (!SWIG_IsOK(ecode2)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "2"" of type '" "bool""'");
4320 }
4321 arg2 = static_cast< bool >(val2);
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 (arg1)->SetBufferedDraw(arg2);
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 resultobj = SWIG_Py_Void();
4329 return resultobj;
4330 fail:
4331 return NULL;
4332 }
4333
4334
4335 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj = 0;
4337 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4338 int arg2 ;
4339 void *argp1 = 0 ;
4340 int res1 = 0 ;
4341 int val2 ;
4342 int ecode2 = 0 ;
4343 PyObject * obj0 = 0 ;
4344 PyObject * obj1 = 0 ;
4345 char * kwnames[] = {
4346 (char *) "self",(char *) "tabWidth", NULL
4347 };
4348
4349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) SWIG_fail;
4350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4351 if (!SWIG_IsOK(res1)) {
4352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4353 }
4354 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4355 ecode2 = SWIG_AsVal_int(obj1, &val2);
4356 if (!SWIG_IsOK(ecode2)) {
4357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "2"" of type '" "int""'");
4358 }
4359 arg2 = static_cast< int >(val2);
4360 {
4361 PyThreadState* __tstate = wxPyBeginAllowThreads();
4362 (arg1)->SetTabWidth(arg2);
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
4366 resultobj = SWIG_Py_Void();
4367 return resultobj;
4368 fail:
4369 return NULL;
4370 }
4371
4372
4373 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4374 PyObject *resultobj = 0;
4375 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4376 int result;
4377 void *argp1 = 0 ;
4378 int res1 = 0 ;
4379 PyObject *swig_obj[1] ;
4380
4381 if (!args) SWIG_fail;
4382 swig_obj[0] = args;
4383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4384 if (!SWIG_IsOK(res1)) {
4385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4386 }
4387 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 result = (int)(arg1)->GetTabWidth();
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 resultobj = SWIG_From_int(static_cast< int >(result));
4395 return resultobj;
4396 fail:
4397 return NULL;
4398 }
4399
4400
4401 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj = 0;
4403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4404 int arg2 ;
4405 void *argp1 = 0 ;
4406 int res1 = 0 ;
4407 int val2 ;
4408 int ecode2 = 0 ;
4409 PyObject * obj0 = 0 ;
4410 PyObject * obj1 = 0 ;
4411 char * kwnames[] = {
4412 (char *) "self",(char *) "codePage", NULL
4413 };
4414
4415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) SWIG_fail;
4416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4417 if (!SWIG_IsOK(res1)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4419 }
4420 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4421 ecode2 = SWIG_AsVal_int(obj1, &val2);
4422 if (!SWIG_IsOK(ecode2)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "2"" of type '" "int""'");
4424 }
4425 arg2 = static_cast< int >(val2);
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 (arg1)->SetCodePage(arg2);
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 resultobj = SWIG_Py_Void();
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj = 0;
4441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4442 int arg2 ;
4443 int arg3 ;
4444 wxColour const &arg4_defvalue = wxNullColour ;
4445 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
4446 wxColour const &arg5_defvalue = wxNullColour ;
4447 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
4448 void *argp1 = 0 ;
4449 int res1 = 0 ;
4450 int val2 ;
4451 int ecode2 = 0 ;
4452 int val3 ;
4453 int ecode3 = 0 ;
4454 wxColour temp4 ;
4455 wxColour temp5 ;
4456 PyObject * obj0 = 0 ;
4457 PyObject * obj1 = 0 ;
4458 PyObject * obj2 = 0 ;
4459 PyObject * obj3 = 0 ;
4460 PyObject * obj4 = 0 ;
4461 char * kwnames[] = {
4462 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
4463 };
4464
4465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4467 if (!SWIG_IsOK(res1)) {
4468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4469 }
4470 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4471 ecode2 = SWIG_AsVal_int(obj1, &val2);
4472 if (!SWIG_IsOK(ecode2)) {
4473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "2"" of type '" "int""'");
4474 }
4475 arg2 = static_cast< int >(val2);
4476 ecode3 = SWIG_AsVal_int(obj2, &val3);
4477 if (!SWIG_IsOK(ecode3)) {
4478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "3"" of type '" "int""'");
4479 }
4480 arg3 = static_cast< int >(val3);
4481 if (obj3) {
4482 {
4483 arg4 = &temp4;
4484 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
4485 }
4486 }
4487 if (obj4) {
4488 {
4489 arg5 = &temp5;
4490 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
4491 }
4492 }
4493 {
4494 PyThreadState* __tstate = wxPyBeginAllowThreads();
4495 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
4496 wxPyEndAllowThreads(__tstate);
4497 if (PyErr_Occurred()) SWIG_fail;
4498 }
4499 resultobj = SWIG_Py_Void();
4500 return resultobj;
4501 fail:
4502 return NULL;
4503 }
4504
4505
4506 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4507 PyObject *resultobj = 0;
4508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4509 int arg2 ;
4510 wxColour *arg3 = 0 ;
4511 void *argp1 = 0 ;
4512 int res1 = 0 ;
4513 int val2 ;
4514 int ecode2 = 0 ;
4515 wxColour temp3 ;
4516 PyObject * obj0 = 0 ;
4517 PyObject * obj1 = 0 ;
4518 PyObject * obj2 = 0 ;
4519 char * kwnames[] = {
4520 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
4521 };
4522
4523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4525 if (!SWIG_IsOK(res1)) {
4526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4527 }
4528 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4529 ecode2 = SWIG_AsVal_int(obj1, &val2);
4530 if (!SWIG_IsOK(ecode2)) {
4531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "2"" of type '" "int""'");
4532 }
4533 arg2 = static_cast< int >(val2);
4534 {
4535 arg3 = &temp3;
4536 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4537 }
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 resultobj = SWIG_Py_Void();
4545 return resultobj;
4546 fail:
4547 return NULL;
4548 }
4549
4550
4551 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4552 PyObject *resultobj = 0;
4553 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4554 int arg2 ;
4555 wxColour *arg3 = 0 ;
4556 void *argp1 = 0 ;
4557 int res1 = 0 ;
4558 int val2 ;
4559 int ecode2 = 0 ;
4560 wxColour temp3 ;
4561 PyObject * obj0 = 0 ;
4562 PyObject * obj1 = 0 ;
4563 PyObject * obj2 = 0 ;
4564 char * kwnames[] = {
4565 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
4566 };
4567
4568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4570 if (!SWIG_IsOK(res1)) {
4571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4572 }
4573 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4574 ecode2 = SWIG_AsVal_int(obj1, &val2);
4575 if (!SWIG_IsOK(ecode2)) {
4576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "2"" of type '" "int""'");
4577 }
4578 arg2 = static_cast< int >(val2);
4579 {
4580 arg3 = &temp3;
4581 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4582 }
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
4586 wxPyEndAllowThreads(__tstate);
4587 if (PyErr_Occurred()) SWIG_fail;
4588 }
4589 resultobj = SWIG_Py_Void();
4590 return resultobj;
4591 fail:
4592 return NULL;
4593 }
4594
4595
4596 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4597 PyObject *resultobj = 0;
4598 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4599 int arg2 ;
4600 int arg3 ;
4601 int result;
4602 void *argp1 = 0 ;
4603 int res1 = 0 ;
4604 int val2 ;
4605 int ecode2 = 0 ;
4606 int val3 ;
4607 int ecode3 = 0 ;
4608 PyObject * obj0 = 0 ;
4609 PyObject * obj1 = 0 ;
4610 PyObject * obj2 = 0 ;
4611 char * kwnames[] = {
4612 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4613 };
4614
4615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4617 if (!SWIG_IsOK(res1)) {
4618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4619 }
4620 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4621 ecode2 = SWIG_AsVal_int(obj1, &val2);
4622 if (!SWIG_IsOK(ecode2)) {
4623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "2"" of type '" "int""'");
4624 }
4625 arg2 = static_cast< int >(val2);
4626 ecode3 = SWIG_AsVal_int(obj2, &val3);
4627 if (!SWIG_IsOK(ecode3)) {
4628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "3"" of type '" "int""'");
4629 }
4630 arg3 = static_cast< int >(val3);
4631 {
4632 PyThreadState* __tstate = wxPyBeginAllowThreads();
4633 result = (int)(arg1)->MarkerAdd(arg2,arg3);
4634 wxPyEndAllowThreads(__tstate);
4635 if (PyErr_Occurred()) SWIG_fail;
4636 }
4637 resultobj = SWIG_From_int(static_cast< int >(result));
4638 return resultobj;
4639 fail:
4640 return NULL;
4641 }
4642
4643
4644 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4645 PyObject *resultobj = 0;
4646 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4647 int arg2 ;
4648 int arg3 ;
4649 void *argp1 = 0 ;
4650 int res1 = 0 ;
4651 int val2 ;
4652 int ecode2 = 0 ;
4653 int val3 ;
4654 int ecode3 = 0 ;
4655 PyObject * obj0 = 0 ;
4656 PyObject * obj1 = 0 ;
4657 PyObject * obj2 = 0 ;
4658 char * kwnames[] = {
4659 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4660 };
4661
4662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4664 if (!SWIG_IsOK(res1)) {
4665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4666 }
4667 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4668 ecode2 = SWIG_AsVal_int(obj1, &val2);
4669 if (!SWIG_IsOK(ecode2)) {
4670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "2"" of type '" "int""'");
4671 }
4672 arg2 = static_cast< int >(val2);
4673 ecode3 = SWIG_AsVal_int(obj2, &val3);
4674 if (!SWIG_IsOK(ecode3)) {
4675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "3"" of type '" "int""'");
4676 }
4677 arg3 = static_cast< int >(val3);
4678 {
4679 PyThreadState* __tstate = wxPyBeginAllowThreads();
4680 (arg1)->MarkerDelete(arg2,arg3);
4681 wxPyEndAllowThreads(__tstate);
4682 if (PyErr_Occurred()) SWIG_fail;
4683 }
4684 resultobj = SWIG_Py_Void();
4685 return resultobj;
4686 fail:
4687 return NULL;
4688 }
4689
4690
4691 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4692 PyObject *resultobj = 0;
4693 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4694 int arg2 ;
4695 void *argp1 = 0 ;
4696 int res1 = 0 ;
4697 int val2 ;
4698 int ecode2 = 0 ;
4699 PyObject * obj0 = 0 ;
4700 PyObject * obj1 = 0 ;
4701 char * kwnames[] = {
4702 (char *) "self",(char *) "markerNumber", NULL
4703 };
4704
4705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) SWIG_fail;
4706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4707 if (!SWIG_IsOK(res1)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4709 }
4710 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4711 ecode2 = SWIG_AsVal_int(obj1, &val2);
4712 if (!SWIG_IsOK(ecode2)) {
4713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "2"" of type '" "int""'");
4714 }
4715 arg2 = static_cast< int >(val2);
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 (arg1)->MarkerDeleteAll(arg2);
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 resultobj = SWIG_Py_Void();
4723 return resultobj;
4724 fail:
4725 return NULL;
4726 }
4727
4728
4729 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4730 PyObject *resultobj = 0;
4731 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4732 int arg2 ;
4733 int result;
4734 void *argp1 = 0 ;
4735 int res1 = 0 ;
4736 int val2 ;
4737 int ecode2 = 0 ;
4738 PyObject * obj0 = 0 ;
4739 PyObject * obj1 = 0 ;
4740 char * kwnames[] = {
4741 (char *) "self",(char *) "line", NULL
4742 };
4743
4744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) SWIG_fail;
4745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4746 if (!SWIG_IsOK(res1)) {
4747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4748 }
4749 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4750 ecode2 = SWIG_AsVal_int(obj1, &val2);
4751 if (!SWIG_IsOK(ecode2)) {
4752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "2"" of type '" "int""'");
4753 }
4754 arg2 = static_cast< int >(val2);
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 result = (int)(arg1)->MarkerGet(arg2);
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
4761 resultobj = SWIG_From_int(static_cast< int >(result));
4762 return resultobj;
4763 fail:
4764 return NULL;
4765 }
4766
4767
4768 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4769 PyObject *resultobj = 0;
4770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4771 int arg2 ;
4772 int arg3 ;
4773 int result;
4774 void *argp1 = 0 ;
4775 int res1 = 0 ;
4776 int val2 ;
4777 int ecode2 = 0 ;
4778 int val3 ;
4779 int ecode3 = 0 ;
4780 PyObject * obj0 = 0 ;
4781 PyObject * obj1 = 0 ;
4782 PyObject * obj2 = 0 ;
4783 char * kwnames[] = {
4784 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4785 };
4786
4787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4789 if (!SWIG_IsOK(res1)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4791 }
4792 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4793 ecode2 = SWIG_AsVal_int(obj1, &val2);
4794 if (!SWIG_IsOK(ecode2)) {
4795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "2"" of type '" "int""'");
4796 }
4797 arg2 = static_cast< int >(val2);
4798 ecode3 = SWIG_AsVal_int(obj2, &val3);
4799 if (!SWIG_IsOK(ecode3)) {
4800 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "3"" of type '" "int""'");
4801 }
4802 arg3 = static_cast< int >(val3);
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 result = (int)(arg1)->MarkerNext(arg2,arg3);
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 resultobj = SWIG_From_int(static_cast< int >(result));
4810 return resultobj;
4811 fail:
4812 return NULL;
4813 }
4814
4815
4816 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4817 PyObject *resultobj = 0;
4818 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4819 int arg2 ;
4820 int arg3 ;
4821 int result;
4822 void *argp1 = 0 ;
4823 int res1 = 0 ;
4824 int val2 ;
4825 int ecode2 = 0 ;
4826 int val3 ;
4827 int ecode3 = 0 ;
4828 PyObject * obj0 = 0 ;
4829 PyObject * obj1 = 0 ;
4830 PyObject * obj2 = 0 ;
4831 char * kwnames[] = {
4832 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4833 };
4834
4835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4837 if (!SWIG_IsOK(res1)) {
4838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4839 }
4840 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4841 ecode2 = SWIG_AsVal_int(obj1, &val2);
4842 if (!SWIG_IsOK(ecode2)) {
4843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "2"" of type '" "int""'");
4844 }
4845 arg2 = static_cast< int >(val2);
4846 ecode3 = SWIG_AsVal_int(obj2, &val3);
4847 if (!SWIG_IsOK(ecode3)) {
4848 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "3"" of type '" "int""'");
4849 }
4850 arg3 = static_cast< int >(val3);
4851 {
4852 PyThreadState* __tstate = wxPyBeginAllowThreads();
4853 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
4854 wxPyEndAllowThreads(__tstate);
4855 if (PyErr_Occurred()) SWIG_fail;
4856 }
4857 resultobj = SWIG_From_int(static_cast< int >(result));
4858 return resultobj;
4859 fail:
4860 return NULL;
4861 }
4862
4863
4864 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4865 PyObject *resultobj = 0;
4866 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4867 int arg2 ;
4868 wxBitmap *arg3 = 0 ;
4869 void *argp1 = 0 ;
4870 int res1 = 0 ;
4871 int val2 ;
4872 int ecode2 = 0 ;
4873 void *argp3 = 0 ;
4874 int res3 = 0 ;
4875 PyObject * obj0 = 0 ;
4876 PyObject * obj1 = 0 ;
4877 PyObject * obj2 = 0 ;
4878 char * kwnames[] = {
4879 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
4880 };
4881
4882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4884 if (!SWIG_IsOK(res1)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4886 }
4887 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4888 ecode2 = SWIG_AsVal_int(obj1, &val2);
4889 if (!SWIG_IsOK(ecode2)) {
4890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "2"" of type '" "int""'");
4891 }
4892 arg2 = static_cast< int >(val2);
4893 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
4894 if (!SWIG_IsOK(res3)) {
4895 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4896 }
4897 if (!argp3) {
4898 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4899 }
4900 arg3 = reinterpret_cast< wxBitmap * >(argp3);
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 resultobj = SWIG_Py_Void();
4908 return resultobj;
4909 fail:
4910 return NULL;
4911 }
4912
4913
4914 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAddSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4915 PyObject *resultobj = 0;
4916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4917 int arg2 ;
4918 int arg3 ;
4919 void *argp1 = 0 ;
4920 int res1 = 0 ;
4921 int val2 ;
4922 int ecode2 = 0 ;
4923 int val3 ;
4924 int ecode3 = 0 ;
4925 PyObject * obj0 = 0 ;
4926 PyObject * obj1 = 0 ;
4927 PyObject * obj2 = 0 ;
4928 char * kwnames[] = {
4929 (char *) "self",(char *) "line",(char *) "set", NULL
4930 };
4931
4932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAddSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4934 if (!SWIG_IsOK(res1)) {
4935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4936 }
4937 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4938 ecode2 = SWIG_AsVal_int(obj1, &val2);
4939 if (!SWIG_IsOK(ecode2)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "2"" of type '" "int""'");
4941 }
4942 arg2 = static_cast< int >(val2);
4943 ecode3 = SWIG_AsVal_int(obj2, &val3);
4944 if (!SWIG_IsOK(ecode3)) {
4945 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "3"" of type '" "int""'");
4946 }
4947 arg3 = static_cast< int >(val3);
4948 {
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 (arg1)->MarkerAddSet(arg2,arg3);
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 resultobj = SWIG_Py_Void();
4955 return resultobj;
4956 fail:
4957 return NULL;
4958 }
4959
4960
4961 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4962 PyObject *resultobj = 0;
4963 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4964 int arg2 ;
4965 int arg3 ;
4966 void *argp1 = 0 ;
4967 int res1 = 0 ;
4968 int val2 ;
4969 int ecode2 = 0 ;
4970 int val3 ;
4971 int ecode3 = 0 ;
4972 PyObject * obj0 = 0 ;
4973 PyObject * obj1 = 0 ;
4974 PyObject * obj2 = 0 ;
4975 char * kwnames[] = {
4976 (char *) "self",(char *) "markerNumber",(char *) "alpha", NULL
4977 };
4978
4979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetAlpha",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4981 if (!SWIG_IsOK(res1)) {
4982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4983 }
4984 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4985 ecode2 = SWIG_AsVal_int(obj1, &val2);
4986 if (!SWIG_IsOK(ecode2)) {
4987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "2"" of type '" "int""'");
4988 }
4989 arg2 = static_cast< int >(val2);
4990 ecode3 = SWIG_AsVal_int(obj2, &val3);
4991 if (!SWIG_IsOK(ecode3)) {
4992 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "3"" of type '" "int""'");
4993 }
4994 arg3 = static_cast< int >(val3);
4995 {
4996 PyThreadState* __tstate = wxPyBeginAllowThreads();
4997 (arg1)->MarkerSetAlpha(arg2,arg3);
4998 wxPyEndAllowThreads(__tstate);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 resultobj = SWIG_Py_Void();
5002 return resultobj;
5003 fail:
5004 return NULL;
5005 }
5006
5007
5008 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5009 PyObject *resultobj = 0;
5010 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5011 int arg2 ;
5012 int arg3 ;
5013 void *argp1 = 0 ;
5014 int res1 = 0 ;
5015 int val2 ;
5016 int ecode2 = 0 ;
5017 int val3 ;
5018 int ecode3 = 0 ;
5019 PyObject * obj0 = 0 ;
5020 PyObject * obj1 = 0 ;
5021 PyObject * obj2 = 0 ;
5022 char * kwnames[] = {
5023 (char *) "self",(char *) "margin",(char *) "marginType", NULL
5024 };
5025
5026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5028 if (!SWIG_IsOK(res1)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5030 }
5031 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5032 ecode2 = SWIG_AsVal_int(obj1, &val2);
5033 if (!SWIG_IsOK(ecode2)) {
5034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "2"" of type '" "int""'");
5035 }
5036 arg2 = static_cast< int >(val2);
5037 ecode3 = SWIG_AsVal_int(obj2, &val3);
5038 if (!SWIG_IsOK(ecode3)) {
5039 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "3"" of type '" "int""'");
5040 }
5041 arg3 = static_cast< int >(val3);
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 (arg1)->SetMarginType(arg2,arg3);
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 resultobj = SWIG_Py_Void();
5049 return resultobj;
5050 fail:
5051 return NULL;
5052 }
5053
5054
5055 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5056 PyObject *resultobj = 0;
5057 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5058 int arg2 ;
5059 int result;
5060 void *argp1 = 0 ;
5061 int res1 = 0 ;
5062 int val2 ;
5063 int ecode2 = 0 ;
5064 PyObject * obj0 = 0 ;
5065 PyObject * obj1 = 0 ;
5066 char * kwnames[] = {
5067 (char *) "self",(char *) "margin", NULL
5068 };
5069
5070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) SWIG_fail;
5071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5072 if (!SWIG_IsOK(res1)) {
5073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5074 }
5075 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5076 ecode2 = SWIG_AsVal_int(obj1, &val2);
5077 if (!SWIG_IsOK(ecode2)) {
5078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "2"" of type '" "int""'");
5079 }
5080 arg2 = static_cast< int >(val2);
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 result = (int)(arg1)->GetMarginType(arg2);
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 resultobj = SWIG_From_int(static_cast< int >(result));
5088 return resultobj;
5089 fail:
5090 return NULL;
5091 }
5092
5093
5094 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5095 PyObject *resultobj = 0;
5096 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5097 int arg2 ;
5098 int arg3 ;
5099 void *argp1 = 0 ;
5100 int res1 = 0 ;
5101 int val2 ;
5102 int ecode2 = 0 ;
5103 int val3 ;
5104 int ecode3 = 0 ;
5105 PyObject * obj0 = 0 ;
5106 PyObject * obj1 = 0 ;
5107 PyObject * obj2 = 0 ;
5108 char * kwnames[] = {
5109 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
5110 };
5111
5112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5114 if (!SWIG_IsOK(res1)) {
5115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5116 }
5117 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5118 ecode2 = SWIG_AsVal_int(obj1, &val2);
5119 if (!SWIG_IsOK(ecode2)) {
5120 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5121 }
5122 arg2 = static_cast< int >(val2);
5123 ecode3 = SWIG_AsVal_int(obj2, &val3);
5124 if (!SWIG_IsOK(ecode3)) {
5125 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "3"" of type '" "int""'");
5126 }
5127 arg3 = static_cast< int >(val3);
5128 {
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
5130 (arg1)->SetMarginWidth(arg2,arg3);
5131 wxPyEndAllowThreads(__tstate);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 }
5134 resultobj = SWIG_Py_Void();
5135 return resultobj;
5136 fail:
5137 return NULL;
5138 }
5139
5140
5141 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5142 PyObject *resultobj = 0;
5143 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5144 int arg2 ;
5145 int result;
5146 void *argp1 = 0 ;
5147 int res1 = 0 ;
5148 int val2 ;
5149 int ecode2 = 0 ;
5150 PyObject * obj0 = 0 ;
5151 PyObject * obj1 = 0 ;
5152 char * kwnames[] = {
5153 (char *) "self",(char *) "margin", NULL
5154 };
5155
5156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5158 if (!SWIG_IsOK(res1)) {
5159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5160 }
5161 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5162 ecode2 = SWIG_AsVal_int(obj1, &val2);
5163 if (!SWIG_IsOK(ecode2)) {
5164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5165 }
5166 arg2 = static_cast< int >(val2);
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 result = (int)(arg1)->GetMarginWidth(arg2);
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 resultobj = SWIG_From_int(static_cast< int >(result));
5174 return resultobj;
5175 fail:
5176 return NULL;
5177 }
5178
5179
5180 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5181 PyObject *resultobj = 0;
5182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5183 int arg2 ;
5184 int arg3 ;
5185 void *argp1 = 0 ;
5186 int res1 = 0 ;
5187 int val2 ;
5188 int ecode2 = 0 ;
5189 int val3 ;
5190 int ecode3 = 0 ;
5191 PyObject * obj0 = 0 ;
5192 PyObject * obj1 = 0 ;
5193 PyObject * obj2 = 0 ;
5194 char * kwnames[] = {
5195 (char *) "self",(char *) "margin",(char *) "mask", NULL
5196 };
5197
5198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5200 if (!SWIG_IsOK(res1)) {
5201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5202 }
5203 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5204 ecode2 = SWIG_AsVal_int(obj1, &val2);
5205 if (!SWIG_IsOK(ecode2)) {
5206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "2"" of type '" "int""'");
5207 }
5208 arg2 = static_cast< int >(val2);
5209 ecode3 = SWIG_AsVal_int(obj2, &val3);
5210 if (!SWIG_IsOK(ecode3)) {
5211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "3"" of type '" "int""'");
5212 }
5213 arg3 = static_cast< int >(val3);
5214 {
5215 PyThreadState* __tstate = wxPyBeginAllowThreads();
5216 (arg1)->SetMarginMask(arg2,arg3);
5217 wxPyEndAllowThreads(__tstate);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 resultobj = SWIG_Py_Void();
5221 return resultobj;
5222 fail:
5223 return NULL;
5224 }
5225
5226
5227 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5228 PyObject *resultobj = 0;
5229 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5230 int arg2 ;
5231 int result;
5232 void *argp1 = 0 ;
5233 int res1 = 0 ;
5234 int val2 ;
5235 int ecode2 = 0 ;
5236 PyObject * obj0 = 0 ;
5237 PyObject * obj1 = 0 ;
5238 char * kwnames[] = {
5239 (char *) "self",(char *) "margin", NULL
5240 };
5241
5242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) SWIG_fail;
5243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5244 if (!SWIG_IsOK(res1)) {
5245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5246 }
5247 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5248 ecode2 = SWIG_AsVal_int(obj1, &val2);
5249 if (!SWIG_IsOK(ecode2)) {
5250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "2"" of type '" "int""'");
5251 }
5252 arg2 = static_cast< int >(val2);
5253 {
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 result = (int)(arg1)->GetMarginMask(arg2);
5256 wxPyEndAllowThreads(__tstate);
5257 if (PyErr_Occurred()) SWIG_fail;
5258 }
5259 resultobj = SWIG_From_int(static_cast< int >(result));
5260 return resultobj;
5261 fail:
5262 return NULL;
5263 }
5264
5265
5266 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5267 PyObject *resultobj = 0;
5268 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5269 int arg2 ;
5270 bool arg3 ;
5271 void *argp1 = 0 ;
5272 int res1 = 0 ;
5273 int val2 ;
5274 int ecode2 = 0 ;
5275 bool val3 ;
5276 int ecode3 = 0 ;
5277 PyObject * obj0 = 0 ;
5278 PyObject * obj1 = 0 ;
5279 PyObject * obj2 = 0 ;
5280 char * kwnames[] = {
5281 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
5282 };
5283
5284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5286 if (!SWIG_IsOK(res1)) {
5287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5288 }
5289 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5290 ecode2 = SWIG_AsVal_int(obj1, &val2);
5291 if (!SWIG_IsOK(ecode2)) {
5292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5293 }
5294 arg2 = static_cast< int >(val2);
5295 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5296 if (!SWIG_IsOK(ecode3)) {
5297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "3"" of type '" "bool""'");
5298 }
5299 arg3 = static_cast< bool >(val3);
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 (arg1)->SetMarginSensitive(arg2,arg3);
5303 wxPyEndAllowThreads(__tstate);
5304 if (PyErr_Occurred()) SWIG_fail;
5305 }
5306 resultobj = SWIG_Py_Void();
5307 return resultobj;
5308 fail:
5309 return NULL;
5310 }
5311
5312
5313 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5314 PyObject *resultobj = 0;
5315 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5316 int arg2 ;
5317 bool result;
5318 void *argp1 = 0 ;
5319 int res1 = 0 ;
5320 int val2 ;
5321 int ecode2 = 0 ;
5322 PyObject * obj0 = 0 ;
5323 PyObject * obj1 = 0 ;
5324 char * kwnames[] = {
5325 (char *) "self",(char *) "margin", NULL
5326 };
5327
5328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) SWIG_fail;
5329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5330 if (!SWIG_IsOK(res1)) {
5331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5332 }
5333 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5334 ecode2 = SWIG_AsVal_int(obj1, &val2);
5335 if (!SWIG_IsOK(ecode2)) {
5336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5337 }
5338 arg2 = static_cast< int >(val2);
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 result = (bool)(arg1)->GetMarginSensitive(arg2);
5342 wxPyEndAllowThreads(__tstate);
5343 if (PyErr_Occurred()) SWIG_fail;
5344 }
5345 {
5346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5347 }
5348 return resultobj;
5349 fail:
5350 return NULL;
5351 }
5352
5353
5354 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5355 PyObject *resultobj = 0;
5356 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5357 void *argp1 = 0 ;
5358 int res1 = 0 ;
5359 PyObject *swig_obj[1] ;
5360
5361 if (!args) SWIG_fail;
5362 swig_obj[0] = args;
5363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5364 if (!SWIG_IsOK(res1)) {
5365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5366 }
5367 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5368 {
5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
5370 (arg1)->StyleClearAll();
5371 wxPyEndAllowThreads(__tstate);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 }
5374 resultobj = SWIG_Py_Void();
5375 return resultobj;
5376 fail:
5377 return NULL;
5378 }
5379
5380
5381 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5382 PyObject *resultobj = 0;
5383 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5384 int arg2 ;
5385 wxColour *arg3 = 0 ;
5386 void *argp1 = 0 ;
5387 int res1 = 0 ;
5388 int val2 ;
5389 int ecode2 = 0 ;
5390 wxColour temp3 ;
5391 PyObject * obj0 = 0 ;
5392 PyObject * obj1 = 0 ;
5393 PyObject * obj2 = 0 ;
5394 char * kwnames[] = {
5395 (char *) "self",(char *) "style",(char *) "fore", NULL
5396 };
5397
5398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5400 if (!SWIG_IsOK(res1)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5402 }
5403 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5404 ecode2 = SWIG_AsVal_int(obj1, &val2);
5405 if (!SWIG_IsOK(ecode2)) {
5406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "2"" of type '" "int""'");
5407 }
5408 arg2 = static_cast< int >(val2);
5409 {
5410 arg3 = &temp3;
5411 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5412 }
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 resultobj = SWIG_Py_Void();
5420 return resultobj;
5421 fail:
5422 return NULL;
5423 }
5424
5425
5426 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj = 0;
5428 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5429 int arg2 ;
5430 wxColour *arg3 = 0 ;
5431 void *argp1 = 0 ;
5432 int res1 = 0 ;
5433 int val2 ;
5434 int ecode2 = 0 ;
5435 wxColour temp3 ;
5436 PyObject * obj0 = 0 ;
5437 PyObject * obj1 = 0 ;
5438 PyObject * obj2 = 0 ;
5439 char * kwnames[] = {
5440 (char *) "self",(char *) "style",(char *) "back", NULL
5441 };
5442
5443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5445 if (!SWIG_IsOK(res1)) {
5446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5447 }
5448 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5449 ecode2 = SWIG_AsVal_int(obj1, &val2);
5450 if (!SWIG_IsOK(ecode2)) {
5451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "2"" of type '" "int""'");
5452 }
5453 arg2 = static_cast< int >(val2);
5454 {
5455 arg3 = &temp3;
5456 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5457 }
5458 {
5459 PyThreadState* __tstate = wxPyBeginAllowThreads();
5460 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
5461 wxPyEndAllowThreads(__tstate);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 resultobj = SWIG_Py_Void();
5465 return resultobj;
5466 fail:
5467 return NULL;
5468 }
5469
5470
5471 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5472 PyObject *resultobj = 0;
5473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5474 int arg2 ;
5475 bool arg3 ;
5476 void *argp1 = 0 ;
5477 int res1 = 0 ;
5478 int val2 ;
5479 int ecode2 = 0 ;
5480 bool val3 ;
5481 int ecode3 = 0 ;
5482 PyObject * obj0 = 0 ;
5483 PyObject * obj1 = 0 ;
5484 PyObject * obj2 = 0 ;
5485 char * kwnames[] = {
5486 (char *) "self",(char *) "style",(char *) "bold", NULL
5487 };
5488
5489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5491 if (!SWIG_IsOK(res1)) {
5492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5493 }
5494 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5495 ecode2 = SWIG_AsVal_int(obj1, &val2);
5496 if (!SWIG_IsOK(ecode2)) {
5497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "2"" of type '" "int""'");
5498 }
5499 arg2 = static_cast< int >(val2);
5500 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5501 if (!SWIG_IsOK(ecode3)) {
5502 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "3"" of type '" "bool""'");
5503 }
5504 arg3 = static_cast< bool >(val3);
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 (arg1)->StyleSetBold(arg2,arg3);
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 resultobj = SWIG_Py_Void();
5512 return resultobj;
5513 fail:
5514 return NULL;
5515 }
5516
5517
5518 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj = 0;
5520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5521 int arg2 ;
5522 bool arg3 ;
5523 void *argp1 = 0 ;
5524 int res1 = 0 ;
5525 int val2 ;
5526 int ecode2 = 0 ;
5527 bool val3 ;
5528 int ecode3 = 0 ;
5529 PyObject * obj0 = 0 ;
5530 PyObject * obj1 = 0 ;
5531 PyObject * obj2 = 0 ;
5532 char * kwnames[] = {
5533 (char *) "self",(char *) "style",(char *) "italic", NULL
5534 };
5535
5536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5538 if (!SWIG_IsOK(res1)) {
5539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5540 }
5541 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5542 ecode2 = SWIG_AsVal_int(obj1, &val2);
5543 if (!SWIG_IsOK(ecode2)) {
5544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "2"" of type '" "int""'");
5545 }
5546 arg2 = static_cast< int >(val2);
5547 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5548 if (!SWIG_IsOK(ecode3)) {
5549 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "3"" of type '" "bool""'");
5550 }
5551 arg3 = static_cast< bool >(val3);
5552 {
5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
5554 (arg1)->StyleSetItalic(arg2,arg3);
5555 wxPyEndAllowThreads(__tstate);
5556 if (PyErr_Occurred()) SWIG_fail;
5557 }
5558 resultobj = SWIG_Py_Void();
5559 return resultobj;
5560 fail:
5561 return NULL;
5562 }
5563
5564
5565 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5566 PyObject *resultobj = 0;
5567 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5568 int arg2 ;
5569 int arg3 ;
5570 void *argp1 = 0 ;
5571 int res1 = 0 ;
5572 int val2 ;
5573 int ecode2 = 0 ;
5574 int val3 ;
5575 int ecode3 = 0 ;
5576 PyObject * obj0 = 0 ;
5577 PyObject * obj1 = 0 ;
5578 PyObject * obj2 = 0 ;
5579 char * kwnames[] = {
5580 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
5581 };
5582
5583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5585 if (!SWIG_IsOK(res1)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5587 }
5588 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5589 ecode2 = SWIG_AsVal_int(obj1, &val2);
5590 if (!SWIG_IsOK(ecode2)) {
5591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "2"" of type '" "int""'");
5592 }
5593 arg2 = static_cast< int >(val2);
5594 ecode3 = SWIG_AsVal_int(obj2, &val3);
5595 if (!SWIG_IsOK(ecode3)) {
5596 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "3"" of type '" "int""'");
5597 }
5598 arg3 = static_cast< int >(val3);
5599 {
5600 PyThreadState* __tstate = wxPyBeginAllowThreads();
5601 (arg1)->StyleSetSize(arg2,arg3);
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 resultobj = SWIG_Py_Void();
5606 return resultobj;
5607 fail:
5608 return NULL;
5609 }
5610
5611
5612 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5613 PyObject *resultobj = 0;
5614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5615 int arg2 ;
5616 wxString *arg3 = 0 ;
5617 void *argp1 = 0 ;
5618 int res1 = 0 ;
5619 int val2 ;
5620 int ecode2 = 0 ;
5621 bool temp3 = false ;
5622 PyObject * obj0 = 0 ;
5623 PyObject * obj1 = 0 ;
5624 PyObject * obj2 = 0 ;
5625 char * kwnames[] = {
5626 (char *) "self",(char *) "style",(char *) "fontName", NULL
5627 };
5628
5629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5631 if (!SWIG_IsOK(res1)) {
5632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5633 }
5634 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5635 ecode2 = SWIG_AsVal_int(obj1, &val2);
5636 if (!SWIG_IsOK(ecode2)) {
5637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "2"" of type '" "int""'");
5638 }
5639 arg2 = static_cast< int >(val2);
5640 {
5641 arg3 = wxString_in_helper(obj2);
5642 if (arg3 == NULL) SWIG_fail;
5643 temp3 = true;
5644 }
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 resultobj = SWIG_Py_Void();
5652 {
5653 if (temp3)
5654 delete arg3;
5655 }
5656 return resultobj;
5657 fail:
5658 {
5659 if (temp3)
5660 delete arg3;
5661 }
5662 return NULL;
5663 }
5664
5665
5666 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj = 0;
5668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5669 int arg2 ;
5670 bool arg3 ;
5671 void *argp1 = 0 ;
5672 int res1 = 0 ;
5673 int val2 ;
5674 int ecode2 = 0 ;
5675 bool val3 ;
5676 int ecode3 = 0 ;
5677 PyObject * obj0 = 0 ;
5678 PyObject * obj1 = 0 ;
5679 PyObject * obj2 = 0 ;
5680 char * kwnames[] = {
5681 (char *) "self",(char *) "style",(char *) "filled", NULL
5682 };
5683
5684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5686 if (!SWIG_IsOK(res1)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5688 }
5689 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5690 ecode2 = SWIG_AsVal_int(obj1, &val2);
5691 if (!SWIG_IsOK(ecode2)) {
5692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "2"" of type '" "int""'");
5693 }
5694 arg2 = static_cast< int >(val2);
5695 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5696 if (!SWIG_IsOK(ecode3)) {
5697 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "3"" of type '" "bool""'");
5698 }
5699 arg3 = static_cast< bool >(val3);
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 (arg1)->StyleSetEOLFilled(arg2,arg3);
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
5706 resultobj = SWIG_Py_Void();
5707 return resultobj;
5708 fail:
5709 return NULL;
5710 }
5711
5712
5713 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5714 PyObject *resultobj = 0;
5715 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5716 void *argp1 = 0 ;
5717 int res1 = 0 ;
5718 PyObject *swig_obj[1] ;
5719
5720 if (!args) SWIG_fail;
5721 swig_obj[0] = args;
5722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5723 if (!SWIG_IsOK(res1)) {
5724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleResetDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5725 }
5726 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5727 {
5728 PyThreadState* __tstate = wxPyBeginAllowThreads();
5729 (arg1)->StyleResetDefault();
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 resultobj = SWIG_Py_Void();
5734 return resultobj;
5735 fail:
5736 return NULL;
5737 }
5738
5739
5740 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5741 PyObject *resultobj = 0;
5742 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5743 int arg2 ;
5744 bool arg3 ;
5745 void *argp1 = 0 ;
5746 int res1 = 0 ;
5747 int val2 ;
5748 int ecode2 = 0 ;
5749 bool val3 ;
5750 int ecode3 = 0 ;
5751 PyObject * obj0 = 0 ;
5752 PyObject * obj1 = 0 ;
5753 PyObject * obj2 = 0 ;
5754 char * kwnames[] = {
5755 (char *) "self",(char *) "style",(char *) "underline", NULL
5756 };
5757
5758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5760 if (!SWIG_IsOK(res1)) {
5761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5762 }
5763 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5764 ecode2 = SWIG_AsVal_int(obj1, &val2);
5765 if (!SWIG_IsOK(ecode2)) {
5766 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "2"" of type '" "int""'");
5767 }
5768 arg2 = static_cast< int >(val2);
5769 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5770 if (!SWIG_IsOK(ecode3)) {
5771 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "3"" of type '" "bool""'");
5772 }
5773 arg3 = static_cast< bool >(val3);
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 (arg1)->StyleSetUnderline(arg2,arg3);
5777 wxPyEndAllowThreads(__tstate);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
5780 resultobj = SWIG_Py_Void();
5781 return resultobj;
5782 fail:
5783 return NULL;
5784 }
5785
5786
5787 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5788 PyObject *resultobj = 0;
5789 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5790 int arg2 ;
5791 int arg3 ;
5792 void *argp1 = 0 ;
5793 int res1 = 0 ;
5794 int val2 ;
5795 int ecode2 = 0 ;
5796 int val3 ;
5797 int ecode3 = 0 ;
5798 PyObject * obj0 = 0 ;
5799 PyObject * obj1 = 0 ;
5800 PyObject * obj2 = 0 ;
5801 char * kwnames[] = {
5802 (char *) "self",(char *) "style",(char *) "caseForce", NULL
5803 };
5804
5805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5807 if (!SWIG_IsOK(res1)) {
5808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5809 }
5810 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5811 ecode2 = SWIG_AsVal_int(obj1, &val2);
5812 if (!SWIG_IsOK(ecode2)) {
5813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "2"" of type '" "int""'");
5814 }
5815 arg2 = static_cast< int >(val2);
5816 ecode3 = SWIG_AsVal_int(obj2, &val3);
5817 if (!SWIG_IsOK(ecode3)) {
5818 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "3"" of type '" "int""'");
5819 }
5820 arg3 = static_cast< int >(val3);
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 (arg1)->StyleSetCase(arg2,arg3);
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 resultobj = SWIG_Py_Void();
5828 return resultobj;
5829 fail:
5830 return NULL;
5831 }
5832
5833
5834 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj = 0;
5836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5837 int arg2 ;
5838 bool arg3 ;
5839 void *argp1 = 0 ;
5840 int res1 = 0 ;
5841 int val2 ;
5842 int ecode2 = 0 ;
5843 bool val3 ;
5844 int ecode3 = 0 ;
5845 PyObject * obj0 = 0 ;
5846 PyObject * obj1 = 0 ;
5847 PyObject * obj2 = 0 ;
5848 char * kwnames[] = {
5849 (char *) "self",(char *) "style",(char *) "hotspot", NULL
5850 };
5851
5852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5854 if (!SWIG_IsOK(res1)) {
5855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5856 }
5857 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5858 ecode2 = SWIG_AsVal_int(obj1, &val2);
5859 if (!SWIG_IsOK(ecode2)) {
5860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "2"" of type '" "int""'");
5861 }
5862 arg2 = static_cast< int >(val2);
5863 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5864 if (!SWIG_IsOK(ecode3)) {
5865 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "3"" of type '" "bool""'");
5866 }
5867 arg3 = static_cast< bool >(val3);
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 (arg1)->StyleSetHotSpot(arg2,arg3);
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
5874 resultobj = SWIG_Py_Void();
5875 return resultobj;
5876 fail:
5877 return NULL;
5878 }
5879
5880
5881 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5882 PyObject *resultobj = 0;
5883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5884 bool arg2 ;
5885 wxColour *arg3 = 0 ;
5886 void *argp1 = 0 ;
5887 int res1 = 0 ;
5888 bool val2 ;
5889 int ecode2 = 0 ;
5890 wxColour temp3 ;
5891 PyObject * obj0 = 0 ;
5892 PyObject * obj1 = 0 ;
5893 PyObject * obj2 = 0 ;
5894 char * kwnames[] = {
5895 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
5896 };
5897
5898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5900 if (!SWIG_IsOK(res1)) {
5901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5902 }
5903 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5904 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5905 if (!SWIG_IsOK(ecode2)) {
5906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "2"" of type '" "bool""'");
5907 }
5908 arg2 = static_cast< bool >(val2);
5909 {
5910 arg3 = &temp3;
5911 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5912 }
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
5916 wxPyEndAllowThreads(__tstate);
5917 if (PyErr_Occurred()) SWIG_fail;
5918 }
5919 resultobj = SWIG_Py_Void();
5920 return resultobj;
5921 fail:
5922 return NULL;
5923 }
5924
5925
5926 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5927 PyObject *resultobj = 0;
5928 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5929 bool arg2 ;
5930 wxColour *arg3 = 0 ;
5931 void *argp1 = 0 ;
5932 int res1 = 0 ;
5933 bool val2 ;
5934 int ecode2 = 0 ;
5935 wxColour temp3 ;
5936 PyObject * obj0 = 0 ;
5937 PyObject * obj1 = 0 ;
5938 PyObject * obj2 = 0 ;
5939 char * kwnames[] = {
5940 (char *) "self",(char *) "useSetting",(char *) "back", NULL
5941 };
5942
5943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5945 if (!SWIG_IsOK(res1)) {
5946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5947 }
5948 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5949 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5950 if (!SWIG_IsOK(ecode2)) {
5951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "2"" of type '" "bool""'");
5952 }
5953 arg2 = static_cast< bool >(val2);
5954 {
5955 arg3 = &temp3;
5956 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5957 }
5958 {
5959 PyThreadState* __tstate = wxPyBeginAllowThreads();
5960 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
5961 wxPyEndAllowThreads(__tstate);
5962 if (PyErr_Occurred()) SWIG_fail;
5963 }
5964 resultobj = SWIG_Py_Void();
5965 return resultobj;
5966 fail:
5967 return NULL;
5968 }
5969
5970
5971 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5972 PyObject *resultobj = 0;
5973 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5974 int result;
5975 void *argp1 = 0 ;
5976 int res1 = 0 ;
5977 PyObject *swig_obj[1] ;
5978
5979 if (!args) SWIG_fail;
5980 swig_obj[0] = args;
5981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5982 if (!SWIG_IsOK(res1)) {
5983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5984 }
5985 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5986 {
5987 PyThreadState* __tstate = wxPyBeginAllowThreads();
5988 result = (int)(arg1)->GetSelAlpha();
5989 wxPyEndAllowThreads(__tstate);
5990 if (PyErr_Occurred()) SWIG_fail;
5991 }
5992 resultobj = SWIG_From_int(static_cast< int >(result));
5993 return resultobj;
5994 fail:
5995 return NULL;
5996 }
5997
5998
5999 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6000 PyObject *resultobj = 0;
6001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6002 int arg2 ;
6003 void *argp1 = 0 ;
6004 int res1 = 0 ;
6005 int val2 ;
6006 int ecode2 = 0 ;
6007 PyObject * obj0 = 0 ;
6008 PyObject * obj1 = 0 ;
6009 char * kwnames[] = {
6010 (char *) "self",(char *) "alpha", NULL
6011 };
6012
6013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelAlpha",kwnames,&obj0,&obj1)) SWIG_fail;
6014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6015 if (!SWIG_IsOK(res1)) {
6016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6017 }
6018 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6019 ecode2 = SWIG_AsVal_int(obj1, &val2);
6020 if (!SWIG_IsOK(ecode2)) {
6021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelAlpha" "', expected argument " "2"" of type '" "int""'");
6022 }
6023 arg2 = static_cast< int >(val2);
6024 {
6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
6026 (arg1)->SetSelAlpha(arg2);
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 resultobj = SWIG_Py_Void();
6031 return resultobj;
6032 fail:
6033 return NULL;
6034 }
6035
6036
6037 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6038 PyObject *resultobj = 0;
6039 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6040 wxColour *arg2 = 0 ;
6041 void *argp1 = 0 ;
6042 int res1 = 0 ;
6043 wxColour temp2 ;
6044 PyObject * obj0 = 0 ;
6045 PyObject * obj1 = 0 ;
6046 char * kwnames[] = {
6047 (char *) "self",(char *) "fore", NULL
6048 };
6049
6050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) SWIG_fail;
6051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6052 if (!SWIG_IsOK(res1)) {
6053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6054 }
6055 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6056 {
6057 arg2 = &temp2;
6058 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6059 }
6060 {
6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
6062 (arg1)->SetCaretForeground((wxColour const &)*arg2);
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 resultobj = SWIG_Py_Void();
6067 return resultobj;
6068 fail:
6069 return NULL;
6070 }
6071
6072
6073 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6074 PyObject *resultobj = 0;
6075 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6076 int arg2 ;
6077 int arg3 ;
6078 int arg4 ;
6079 void *argp1 = 0 ;
6080 int res1 = 0 ;
6081 int val2 ;
6082 int ecode2 = 0 ;
6083 int val3 ;
6084 int ecode3 = 0 ;
6085 int val4 ;
6086 int ecode4 = 0 ;
6087 PyObject * obj0 = 0 ;
6088 PyObject * obj1 = 0 ;
6089 PyObject * obj2 = 0 ;
6090 PyObject * obj3 = 0 ;
6091 char * kwnames[] = {
6092 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
6093 };
6094
6095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6097 if (!SWIG_IsOK(res1)) {
6098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6099 }
6100 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6101 ecode2 = SWIG_AsVal_int(obj1, &val2);
6102 if (!SWIG_IsOK(ecode2)) {
6103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "2"" of type '" "int""'");
6104 }
6105 arg2 = static_cast< int >(val2);
6106 ecode3 = SWIG_AsVal_int(obj2, &val3);
6107 if (!SWIG_IsOK(ecode3)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "3"" of type '" "int""'");
6109 }
6110 arg3 = static_cast< int >(val3);
6111 ecode4 = SWIG_AsVal_int(obj3, &val4);
6112 if (!SWIG_IsOK(ecode4)) {
6113 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "4"" of type '" "int""'");
6114 }
6115 arg4 = static_cast< int >(val4);
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
6122 resultobj = SWIG_Py_Void();
6123 return resultobj;
6124 fail:
6125 return NULL;
6126 }
6127
6128
6129 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj = 0;
6131 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6132 int arg2 ;
6133 int arg3 ;
6134 void *argp1 = 0 ;
6135 int res1 = 0 ;
6136 int val2 ;
6137 int ecode2 = 0 ;
6138 int val3 ;
6139 int ecode3 = 0 ;
6140 PyObject * obj0 = 0 ;
6141 PyObject * obj1 = 0 ;
6142 PyObject * obj2 = 0 ;
6143 char * kwnames[] = {
6144 (char *) "self",(char *) "key",(char *) "modifiers", NULL
6145 };
6146
6147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6149 if (!SWIG_IsOK(res1)) {
6150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6151 }
6152 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6153 ecode2 = SWIG_AsVal_int(obj1, &val2);
6154 if (!SWIG_IsOK(ecode2)) {
6155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "2"" of type '" "int""'");
6156 }
6157 arg2 = static_cast< int >(val2);
6158 ecode3 = SWIG_AsVal_int(obj2, &val3);
6159 if (!SWIG_IsOK(ecode3)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "3"" of type '" "int""'");
6161 }
6162 arg3 = static_cast< int >(val3);
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 (arg1)->CmdKeyClear(arg2,arg3);
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 resultobj = SWIG_Py_Void();
6170 return resultobj;
6171 fail:
6172 return NULL;
6173 }
6174
6175
6176 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6177 PyObject *resultobj = 0;
6178 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6179 void *argp1 = 0 ;
6180 int res1 = 0 ;
6181 PyObject *swig_obj[1] ;
6182
6183 if (!args) SWIG_fail;
6184 swig_obj[0] = args;
6185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6186 if (!SWIG_IsOK(res1)) {
6187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6188 }
6189 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 (arg1)->CmdKeyClearAll();
6193 wxPyEndAllowThreads(__tstate);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 resultobj = SWIG_Py_Void();
6197 return resultobj;
6198 fail:
6199 return NULL;
6200 }
6201
6202
6203 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6204 PyObject *resultobj = 0;
6205 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6206 int arg2 ;
6207 char *arg3 = (char *) 0 ;
6208 void *argp1 = 0 ;
6209 int res1 = 0 ;
6210 int val2 ;
6211 int ecode2 = 0 ;
6212 int res3 ;
6213 char *buf3 = 0 ;
6214 int alloc3 = 0 ;
6215 PyObject * obj0 = 0 ;
6216 PyObject * obj1 = 0 ;
6217 PyObject * obj2 = 0 ;
6218 char * kwnames[] = {
6219 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
6220 };
6221
6222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6224 if (!SWIG_IsOK(res1)) {
6225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6226 }
6227 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6228 ecode2 = SWIG_AsVal_int(obj1, &val2);
6229 if (!SWIG_IsOK(ecode2)) {
6230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "2"" of type '" "int""'");
6231 }
6232 arg2 = static_cast< int >(val2);
6233 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
6234 if (!SWIG_IsOK(res3)) {
6235 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "3"" of type '" "char *""'");
6236 }
6237 arg3 = buf3;
6238 {
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 (arg1)->SetStyleBytes(arg2,arg3);
6241 wxPyEndAllowThreads(__tstate);
6242 if (PyErr_Occurred()) SWIG_fail;
6243 }
6244 resultobj = SWIG_Py_Void();
6245 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
6246 return resultobj;
6247 fail:
6248 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
6249 return NULL;
6250 }
6251
6252
6253 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6254 PyObject *resultobj = 0;
6255 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6256 int arg2 ;
6257 bool arg3 ;
6258 void *argp1 = 0 ;
6259 int res1 = 0 ;
6260 int val2 ;
6261 int ecode2 = 0 ;
6262 bool val3 ;
6263 int ecode3 = 0 ;
6264 PyObject * obj0 = 0 ;
6265 PyObject * obj1 = 0 ;
6266 PyObject * obj2 = 0 ;
6267 char * kwnames[] = {
6268 (char *) "self",(char *) "style",(char *) "visible", NULL
6269 };
6270
6271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6273 if (!SWIG_IsOK(res1)) {
6274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6275 }
6276 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6277 ecode2 = SWIG_AsVal_int(obj1, &val2);
6278 if (!SWIG_IsOK(ecode2)) {
6279 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "2"" of type '" "int""'");
6280 }
6281 arg2 = static_cast< int >(val2);
6282 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6283 if (!SWIG_IsOK(ecode3)) {
6284 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "3"" of type '" "bool""'");
6285 }
6286 arg3 = static_cast< bool >(val3);
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 (arg1)->StyleSetVisible(arg2,arg3);
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 resultobj = SWIG_Py_Void();
6294 return resultobj;
6295 fail:
6296 return NULL;
6297 }
6298
6299
6300 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6301 PyObject *resultobj = 0;
6302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6303 int result;
6304 void *argp1 = 0 ;
6305 int res1 = 0 ;
6306 PyObject *swig_obj[1] ;
6307
6308 if (!args) SWIG_fail;
6309 swig_obj[0] = args;
6310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6311 if (!SWIG_IsOK(res1)) {
6312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6313 }
6314 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6315 {
6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6317 result = (int)(arg1)->GetCaretPeriod();
6318 wxPyEndAllowThreads(__tstate);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 }
6321 resultobj = SWIG_From_int(static_cast< int >(result));
6322 return resultobj;
6323 fail:
6324 return NULL;
6325 }
6326
6327
6328 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6329 PyObject *resultobj = 0;
6330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6331 int arg2 ;
6332 void *argp1 = 0 ;
6333 int res1 = 0 ;
6334 int val2 ;
6335 int ecode2 = 0 ;
6336 PyObject * obj0 = 0 ;
6337 PyObject * obj1 = 0 ;
6338 char * kwnames[] = {
6339 (char *) "self",(char *) "periodMilliseconds", NULL
6340 };
6341
6342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) SWIG_fail;
6343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6344 if (!SWIG_IsOK(res1)) {
6345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6346 }
6347 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6348 ecode2 = SWIG_AsVal_int(obj1, &val2);
6349 if (!SWIG_IsOK(ecode2)) {
6350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "2"" of type '" "int""'");
6351 }
6352 arg2 = static_cast< int >(val2);
6353 {
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 (arg1)->SetCaretPeriod(arg2);
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 resultobj = SWIG_Py_Void();
6360 return resultobj;
6361 fail:
6362 return NULL;
6363 }
6364
6365
6366 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6367 PyObject *resultobj = 0;
6368 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6369 wxString *arg2 = 0 ;
6370 void *argp1 = 0 ;
6371 int res1 = 0 ;
6372 bool temp2 = false ;
6373 PyObject * obj0 = 0 ;
6374 PyObject * obj1 = 0 ;
6375 char * kwnames[] = {
6376 (char *) "self",(char *) "characters", NULL
6377 };
6378
6379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) SWIG_fail;
6380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6381 if (!SWIG_IsOK(res1)) {
6382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWordChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6383 }
6384 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6385 {
6386 arg2 = wxString_in_helper(obj1);
6387 if (arg2 == NULL) SWIG_fail;
6388 temp2 = true;
6389 }
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 (arg1)->SetWordChars((wxString const &)*arg2);
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 resultobj = SWIG_Py_Void();
6397 {
6398 if (temp2)
6399 delete arg2;
6400 }
6401 return resultobj;
6402 fail:
6403 {
6404 if (temp2)
6405 delete arg2;
6406 }
6407 return NULL;
6408 }
6409
6410
6411 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6412 PyObject *resultobj = 0;
6413 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6414 void *argp1 = 0 ;
6415 int res1 = 0 ;
6416 PyObject *swig_obj[1] ;
6417
6418 if (!args) SWIG_fail;
6419 swig_obj[0] = args;
6420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6421 if (!SWIG_IsOK(res1)) {
6422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BeginUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6423 }
6424 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 (arg1)->BeginUndoAction();
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 resultobj = SWIG_Py_Void();
6432 return resultobj;
6433 fail:
6434 return NULL;
6435 }
6436
6437
6438 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6439 PyObject *resultobj = 0;
6440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6441 void *argp1 = 0 ;
6442 int res1 = 0 ;
6443 PyObject *swig_obj[1] ;
6444
6445 if (!args) SWIG_fail;
6446 swig_obj[0] = args;
6447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6448 if (!SWIG_IsOK(res1)) {
6449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EndUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6450 }
6451 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6452 {
6453 PyThreadState* __tstate = wxPyBeginAllowThreads();
6454 (arg1)->EndUndoAction();
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 resultobj = SWIG_Py_Void();
6459 return resultobj;
6460 fail:
6461 return NULL;
6462 }
6463
6464
6465 SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6466 PyObject *resultobj = 0;
6467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6468 int arg2 ;
6469 int arg3 ;
6470 void *argp1 = 0 ;
6471 int res1 = 0 ;
6472 int val2 ;
6473 int ecode2 = 0 ;
6474 int val3 ;
6475 int ecode3 = 0 ;
6476 PyObject * obj0 = 0 ;
6477 PyObject * obj1 = 0 ;
6478 PyObject * obj2 = 0 ;
6479 char * kwnames[] = {
6480 (char *) "self",(char *) "indic",(char *) "style", NULL
6481 };
6482
6483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6485 if (!SWIG_IsOK(res1)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6487 }
6488 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6489 ecode2 = SWIG_AsVal_int(obj1, &val2);
6490 if (!SWIG_IsOK(ecode2)) {
6491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "2"" of type '" "int""'");
6492 }
6493 arg2 = static_cast< int >(val2);
6494 ecode3 = SWIG_AsVal_int(obj2, &val3);
6495 if (!SWIG_IsOK(ecode3)) {
6496 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "3"" of type '" "int""'");
6497 }
6498 arg3 = static_cast< int >(val3);
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 (arg1)->IndicatorSetStyle(arg2,arg3);
6502 wxPyEndAllowThreads(__tstate);
6503 if (PyErr_Occurred()) SWIG_fail;
6504 }
6505 resultobj = SWIG_Py_Void();
6506 return resultobj;
6507 fail:
6508 return NULL;
6509 }
6510
6511
6512 SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6513 PyObject *resultobj = 0;
6514 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6515 int arg2 ;
6516 int result;
6517 void *argp1 = 0 ;
6518 int res1 = 0 ;
6519 int val2 ;
6520 int ecode2 = 0 ;
6521 PyObject * obj0 = 0 ;
6522 PyObject * obj1 = 0 ;
6523 char * kwnames[] = {
6524 (char *) "self",(char *) "indic", NULL
6525 };
6526
6527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6529 if (!SWIG_IsOK(res1)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6531 }
6532 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6533 ecode2 = SWIG_AsVal_int(obj1, &val2);
6534 if (!SWIG_IsOK(ecode2)) {
6535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "2"" of type '" "int""'");
6536 }
6537 arg2 = static_cast< int >(val2);
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 result = (int)(arg1)->IndicatorGetStyle(arg2);
6541 wxPyEndAllowThreads(__tstate);
6542 if (PyErr_Occurred()) SWIG_fail;
6543 }
6544 resultobj = SWIG_From_int(static_cast< int >(result));
6545 return resultobj;
6546 fail:
6547 return NULL;
6548 }
6549
6550
6551 SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj = 0;
6553 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6554 int arg2 ;
6555 wxColour *arg3 = 0 ;
6556 void *argp1 = 0 ;
6557 int res1 = 0 ;
6558 int val2 ;
6559 int ecode2 = 0 ;
6560 wxColour temp3 ;
6561 PyObject * obj0 = 0 ;
6562 PyObject * obj1 = 0 ;
6563 PyObject * obj2 = 0 ;
6564 char * kwnames[] = {
6565 (char *) "self",(char *) "indic",(char *) "fore", NULL
6566 };
6567
6568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6570 if (!SWIG_IsOK(res1)) {
6571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6572 }
6573 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6574 ecode2 = SWIG_AsVal_int(obj1, &val2);
6575 if (!SWIG_IsOK(ecode2)) {
6576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "2"" of type '" "int""'");
6577 }
6578 arg2 = static_cast< int >(val2);
6579 {
6580 arg3 = &temp3;
6581 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6582 }
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 resultobj = SWIG_Py_Void();
6590 return resultobj;
6591 fail:
6592 return NULL;
6593 }
6594
6595
6596 SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6597 PyObject *resultobj = 0;
6598 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6599 int arg2 ;
6600 wxColour result;
6601 void *argp1 = 0 ;
6602 int res1 = 0 ;
6603 int val2 ;
6604 int ecode2 = 0 ;
6605 PyObject * obj0 = 0 ;
6606 PyObject * obj1 = 0 ;
6607 char * kwnames[] = {
6608 (char *) "self",(char *) "indic", NULL
6609 };
6610
6611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
6612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6613 if (!SWIG_IsOK(res1)) {
6614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6615 }
6616 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6617 ecode2 = SWIG_AsVal_int(obj1, &val2);
6618 if (!SWIG_IsOK(ecode2)) {
6619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "2"" of type '" "int""'");
6620 }
6621 arg2 = static_cast< int >(val2);
6622 {
6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
6624 result = (arg1)->IndicatorGetForeground(arg2);
6625 wxPyEndAllowThreads(__tstate);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6629 return resultobj;
6630 fail:
6631 return NULL;
6632 }
6633
6634
6635 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6636 PyObject *resultobj = 0;
6637 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6638 bool arg2 ;
6639 wxColour *arg3 = 0 ;
6640 void *argp1 = 0 ;
6641 int res1 = 0 ;
6642 bool val2 ;
6643 int ecode2 = 0 ;
6644 wxColour temp3 ;
6645 PyObject * obj0 = 0 ;
6646 PyObject * obj1 = 0 ;
6647 PyObject * obj2 = 0 ;
6648 char * kwnames[] = {
6649 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
6650 };
6651
6652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6654 if (!SWIG_IsOK(res1)) {
6655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6656 }
6657 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6658 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6659 if (!SWIG_IsOK(ecode2)) {
6660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "2"" of type '" "bool""'");
6661 }
6662 arg2 = static_cast< bool >(val2);
6663 {
6664 arg3 = &temp3;
6665 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6666 }
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
6670 wxPyEndAllowThreads(__tstate);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 resultobj = SWIG_Py_Void();
6674 return resultobj;
6675 fail:
6676 return NULL;
6677 }
6678
6679
6680 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj = 0;
6682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6683 bool arg2 ;
6684 wxColour *arg3 = 0 ;
6685 void *argp1 = 0 ;
6686 int res1 = 0 ;
6687 bool val2 ;
6688 int ecode2 = 0 ;
6689 wxColour temp3 ;
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 PyObject * obj2 = 0 ;
6693 char * kwnames[] = {
6694 (char *) "self",(char *) "useSetting",(char *) "back", NULL
6695 };
6696
6697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6699 if (!SWIG_IsOK(res1)) {
6700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6701 }
6702 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6703 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6704 if (!SWIG_IsOK(ecode2)) {
6705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "2"" of type '" "bool""'");
6706 }
6707 arg2 = static_cast< bool >(val2);
6708 {
6709 arg3 = &temp3;
6710 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6711 }
6712 {
6713 PyThreadState* __tstate = wxPyBeginAllowThreads();
6714 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 resultobj = SWIG_Py_Void();
6719 return resultobj;
6720 fail:
6721 return NULL;
6722 }
6723
6724
6725 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj = 0;
6727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6728 int arg2 ;
6729 void *argp1 = 0 ;
6730 int res1 = 0 ;
6731 int val2 ;
6732 int ecode2 = 0 ;
6733 PyObject * obj0 = 0 ;
6734 PyObject * obj1 = 0 ;
6735 char * kwnames[] = {
6736 (char *) "self",(char *) "bits", NULL
6737 };
6738
6739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) SWIG_fail;
6740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6741 if (!SWIG_IsOK(res1)) {
6742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6743 }
6744 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6745 ecode2 = SWIG_AsVal_int(obj1, &val2);
6746 if (!SWIG_IsOK(ecode2)) {
6747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "2"" of type '" "int""'");
6748 }
6749 arg2 = static_cast< int >(val2);
6750 {
6751 PyThreadState* __tstate = wxPyBeginAllowThreads();
6752 (arg1)->SetStyleBits(arg2);
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 resultobj = SWIG_Py_Void();
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6764 PyObject *resultobj = 0;
6765 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6766 int result;
6767 void *argp1 = 0 ;
6768 int res1 = 0 ;
6769 PyObject *swig_obj[1] ;
6770
6771 if (!args) SWIG_fail;
6772 swig_obj[0] = args;
6773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6774 if (!SWIG_IsOK(res1)) {
6775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6776 }
6777 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 result = (int)(arg1)->GetStyleBits();
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 resultobj = SWIG_From_int(static_cast< int >(result));
6785 return resultobj;
6786 fail:
6787 return NULL;
6788 }
6789
6790
6791 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6792 PyObject *resultobj = 0;
6793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6794 int arg2 ;
6795 int arg3 ;
6796 void *argp1 = 0 ;
6797 int res1 = 0 ;
6798 int val2 ;
6799 int ecode2 = 0 ;
6800 int val3 ;
6801 int ecode3 = 0 ;
6802 PyObject * obj0 = 0 ;
6803 PyObject * obj1 = 0 ;
6804 PyObject * obj2 = 0 ;
6805 char * kwnames[] = {
6806 (char *) "self",(char *) "line",(char *) "state", NULL
6807 };
6808
6809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6811 if (!SWIG_IsOK(res1)) {
6812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6813 }
6814 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6815 ecode2 = SWIG_AsVal_int(obj1, &val2);
6816 if (!SWIG_IsOK(ecode2)) {
6817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "2"" of type '" "int""'");
6818 }
6819 arg2 = static_cast< int >(val2);
6820 ecode3 = SWIG_AsVal_int(obj2, &val3);
6821 if (!SWIG_IsOK(ecode3)) {
6822 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "3"" of type '" "int""'");
6823 }
6824 arg3 = static_cast< int >(val3);
6825 {
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 (arg1)->SetLineState(arg2,arg3);
6828 wxPyEndAllowThreads(__tstate);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
6831 resultobj = SWIG_Py_Void();
6832 return resultobj;
6833 fail:
6834 return NULL;
6835 }
6836
6837
6838 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6839 PyObject *resultobj = 0;
6840 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6841 int arg2 ;
6842 int result;
6843 void *argp1 = 0 ;
6844 int res1 = 0 ;
6845 int val2 ;
6846 int ecode2 = 0 ;
6847 PyObject * obj0 = 0 ;
6848 PyObject * obj1 = 0 ;
6849 char * kwnames[] = {
6850 (char *) "self",(char *) "line", NULL
6851 };
6852
6853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) SWIG_fail;
6854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6855 if (!SWIG_IsOK(res1)) {
6856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6857 }
6858 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6859 ecode2 = SWIG_AsVal_int(obj1, &val2);
6860 if (!SWIG_IsOK(ecode2)) {
6861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "2"" of type '" "int""'");
6862 }
6863 arg2 = static_cast< int >(val2);
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 result = (int)(arg1)->GetLineState(arg2);
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 resultobj = SWIG_From_int(static_cast< int >(result));
6871 return resultobj;
6872 fail:
6873 return NULL;
6874 }
6875
6876
6877 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6878 PyObject *resultobj = 0;
6879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6880 int result;
6881 void *argp1 = 0 ;
6882 int res1 = 0 ;
6883 PyObject *swig_obj[1] ;
6884
6885 if (!args) SWIG_fail;
6886 swig_obj[0] = args;
6887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6888 if (!SWIG_IsOK(res1)) {
6889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMaxLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6890 }
6891 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 result = (int)(arg1)->GetMaxLineState();
6895 wxPyEndAllowThreads(__tstate);
6896 if (PyErr_Occurred()) SWIG_fail;
6897 }
6898 resultobj = SWIG_From_int(static_cast< int >(result));
6899 return resultobj;
6900 fail:
6901 return NULL;
6902 }
6903
6904
6905 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6906 PyObject *resultobj = 0;
6907 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6908 bool result;
6909 void *argp1 = 0 ;
6910 int res1 = 0 ;
6911 PyObject *swig_obj[1] ;
6912
6913 if (!args) SWIG_fail;
6914 swig_obj[0] = args;
6915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6916 if (!SWIG_IsOK(res1)) {
6917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6918 }
6919 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6920 {
6921 PyThreadState* __tstate = wxPyBeginAllowThreads();
6922 result = (bool)(arg1)->GetCaretLineVisible();
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 {
6927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6928 }
6929 return resultobj;
6930 fail:
6931 return NULL;
6932 }
6933
6934
6935 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj = 0;
6937 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6938 bool arg2 ;
6939 void *argp1 = 0 ;
6940 int res1 = 0 ;
6941 bool val2 ;
6942 int ecode2 = 0 ;
6943 PyObject * obj0 = 0 ;
6944 PyObject * obj1 = 0 ;
6945 char * kwnames[] = {
6946 (char *) "self",(char *) "show", NULL
6947 };
6948
6949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
6950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6951 if (!SWIG_IsOK(res1)) {
6952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6953 }
6954 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6955 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6956 if (!SWIG_IsOK(ecode2)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "2"" of type '" "bool""'");
6958 }
6959 arg2 = static_cast< bool >(val2);
6960 {
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 (arg1)->SetCaretLineVisible(arg2);
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 resultobj = SWIG_Py_Void();
6967 return resultobj;
6968 fail:
6969 return NULL;
6970 }
6971
6972
6973 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6974 PyObject *resultobj = 0;
6975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6976 wxColour result;
6977 void *argp1 = 0 ;
6978 int res1 = 0 ;
6979 PyObject *swig_obj[1] ;
6980
6981 if (!args) SWIG_fail;
6982 swig_obj[0] = args;
6983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6984 if (!SWIG_IsOK(res1)) {
6985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6986 }
6987 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6988 {
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 result = (arg1)->GetCaretLineBackground();
6991 wxPyEndAllowThreads(__tstate);
6992 if (PyErr_Occurred()) SWIG_fail;
6993 }
6994 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6995 return resultobj;
6996 fail:
6997 return NULL;
6998 }
6999
7000
7001 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7002 PyObject *resultobj = 0;
7003 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7004 wxColour *arg2 = 0 ;
7005 void *argp1 = 0 ;
7006 int res1 = 0 ;
7007 wxColour temp2 ;
7008 PyObject * obj0 = 0 ;
7009 PyObject * obj1 = 0 ;
7010 char * kwnames[] = {
7011 (char *) "self",(char *) "back", NULL
7012 };
7013
7014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBackground",kwnames,&obj0,&obj1)) SWIG_fail;
7015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7016 if (!SWIG_IsOK(res1)) {
7017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7018 }
7019 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7020 {
7021 arg2 = &temp2;
7022 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7023 }
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7026 (arg1)->SetCaretLineBackground((wxColour const &)*arg2);
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 resultobj = SWIG_Py_Void();
7031 return resultobj;
7032 fail:
7033 return NULL;
7034 }
7035
7036
7037 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj = 0;
7039 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7040 int arg2 ;
7041 bool arg3 ;
7042 void *argp1 = 0 ;
7043 int res1 = 0 ;
7044 int val2 ;
7045 int ecode2 = 0 ;
7046 bool val3 ;
7047 int ecode3 = 0 ;
7048 PyObject * obj0 = 0 ;
7049 PyObject * obj1 = 0 ;
7050 PyObject * obj2 = 0 ;
7051 char * kwnames[] = {
7052 (char *) "self",(char *) "style",(char *) "changeable", NULL
7053 };
7054
7055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7057 if (!SWIG_IsOK(res1)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7059 }
7060 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7061 ecode2 = SWIG_AsVal_int(obj1, &val2);
7062 if (!SWIG_IsOK(ecode2)) {
7063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "2"" of type '" "int""'");
7064 }
7065 arg2 = static_cast< int >(val2);
7066 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7067 if (!SWIG_IsOK(ecode3)) {
7068 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "3"" of type '" "bool""'");
7069 }
7070 arg3 = static_cast< bool >(val3);
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 (arg1)->StyleSetChangeable(arg2,arg3);
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 resultobj = SWIG_Py_Void();
7078 return resultobj;
7079 fail:
7080 return NULL;
7081 }
7082
7083
7084 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj = 0;
7086 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7087 int arg2 ;
7088 wxString *arg3 = 0 ;
7089 void *argp1 = 0 ;
7090 int res1 = 0 ;
7091 int val2 ;
7092 int ecode2 = 0 ;
7093 bool temp3 = false ;
7094 PyObject * obj0 = 0 ;
7095 PyObject * obj1 = 0 ;
7096 PyObject * obj2 = 0 ;
7097 char * kwnames[] = {
7098 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
7099 };
7100
7101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7103 if (!SWIG_IsOK(res1)) {
7104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7105 }
7106 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7107 ecode2 = SWIG_AsVal_int(obj1, &val2);
7108 if (!SWIG_IsOK(ecode2)) {
7109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "2"" of type '" "int""'");
7110 }
7111 arg2 = static_cast< int >(val2);
7112 {
7113 arg3 = wxString_in_helper(obj2);
7114 if (arg3 == NULL) SWIG_fail;
7115 temp3 = true;
7116 }
7117 {
7118 PyThreadState* __tstate = wxPyBeginAllowThreads();
7119 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 }
7123 resultobj = SWIG_Py_Void();
7124 {
7125 if (temp3)
7126 delete arg3;
7127 }
7128 return resultobj;
7129 fail:
7130 {
7131 if (temp3)
7132 delete arg3;
7133 }
7134 return NULL;
7135 }
7136
7137
7138 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7139 PyObject *resultobj = 0;
7140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7141 void *argp1 = 0 ;
7142 int res1 = 0 ;
7143 PyObject *swig_obj[1] ;
7144
7145 if (!args) SWIG_fail;
7146 swig_obj[0] = args;
7147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7148 if (!SWIG_IsOK(res1)) {
7149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7150 }
7151 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 (arg1)->AutoCompCancel();
7155 wxPyEndAllowThreads(__tstate);
7156 if (PyErr_Occurred()) SWIG_fail;
7157 }
7158 resultobj = SWIG_Py_Void();
7159 return resultobj;
7160 fail:
7161 return NULL;
7162 }
7163
7164
7165 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7166 PyObject *resultobj = 0;
7167 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7168 bool result;
7169 void *argp1 = 0 ;
7170 int res1 = 0 ;
7171 PyObject *swig_obj[1] ;
7172
7173 if (!args) SWIG_fail;
7174 swig_obj[0] = args;
7175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7176 if (!SWIG_IsOK(res1)) {
7177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7178 }
7179 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7180 {
7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
7182 result = (bool)(arg1)->AutoCompActive();
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 {
7187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7188 }
7189 return resultobj;
7190 fail:
7191 return NULL;
7192 }
7193
7194
7195 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7196 PyObject *resultobj = 0;
7197 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7198 int result;
7199 void *argp1 = 0 ;
7200 int res1 = 0 ;
7201 PyObject *swig_obj[1] ;
7202
7203 if (!args) SWIG_fail;
7204 swig_obj[0] = args;
7205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7206 if (!SWIG_IsOK(res1)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompPosStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7208 }
7209 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 result = (int)(arg1)->AutoCompPosStart();
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = SWIG_From_int(static_cast< int >(result));
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7224 PyObject *resultobj = 0;
7225 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7226 void *argp1 = 0 ;
7227 int res1 = 0 ;
7228 PyObject *swig_obj[1] ;
7229
7230 if (!args) SWIG_fail;
7231 swig_obj[0] = args;
7232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7233 if (!SWIG_IsOK(res1)) {
7234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompComplete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7235 }
7236 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 (arg1)->AutoCompComplete();
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 resultobj = SWIG_Py_Void();
7244 return resultobj;
7245 fail:
7246 return NULL;
7247 }
7248
7249
7250 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7251 PyObject *resultobj = 0;
7252 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7253 wxString *arg2 = 0 ;
7254 void *argp1 = 0 ;
7255 int res1 = 0 ;
7256 bool temp2 = false ;
7257 PyObject * obj0 = 0 ;
7258 PyObject * obj1 = 0 ;
7259 char * kwnames[] = {
7260 (char *) "self",(char *) "characterSet", NULL
7261 };
7262
7263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) SWIG_fail;
7264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7265 if (!SWIG_IsOK(res1)) {
7266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompStops" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7267 }
7268 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7269 {
7270 arg2 = wxString_in_helper(obj1);
7271 if (arg2 == NULL) SWIG_fail;
7272 temp2 = true;
7273 }
7274 {
7275 PyThreadState* __tstate = wxPyBeginAllowThreads();
7276 (arg1)->AutoCompStops((wxString const &)*arg2);
7277 wxPyEndAllowThreads(__tstate);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 }
7280 resultobj = SWIG_Py_Void();
7281 {
7282 if (temp2)
7283 delete arg2;
7284 }
7285 return resultobj;
7286 fail:
7287 {
7288 if (temp2)
7289 delete arg2;
7290 }
7291 return NULL;
7292 }
7293
7294
7295 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7296 PyObject *resultobj = 0;
7297 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7298 int arg2 ;
7299 void *argp1 = 0 ;
7300 int res1 = 0 ;
7301 int val2 ;
7302 int ecode2 = 0 ;
7303 PyObject * obj0 = 0 ;
7304 PyObject * obj1 = 0 ;
7305 char * kwnames[] = {
7306 (char *) "self",(char *) "separatorCharacter", NULL
7307 };
7308
7309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
7310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7311 if (!SWIG_IsOK(res1)) {
7312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7313 }
7314 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7315 ecode2 = SWIG_AsVal_int(obj1, &val2);
7316 if (!SWIG_IsOK(ecode2)) {
7317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "2"" of type '" "int""'");
7318 }
7319 arg2 = static_cast< int >(val2);
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 (arg1)->AutoCompSetSeparator(arg2);
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 resultobj = SWIG_Py_Void();
7327 return resultobj;
7328 fail:
7329 return NULL;
7330 }
7331
7332
7333 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7334 PyObject *resultobj = 0;
7335 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7336 int result;
7337 void *argp1 = 0 ;
7338 int res1 = 0 ;
7339 PyObject *swig_obj[1] ;
7340
7341 if (!args) SWIG_fail;
7342 swig_obj[0] = args;
7343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7344 if (!SWIG_IsOK(res1)) {
7345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7346 }
7347 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (int)(arg1)->AutoCompGetSeparator();
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 resultobj = SWIG_From_int(static_cast< int >(result));
7355 return resultobj;
7356 fail:
7357 return NULL;
7358 }
7359
7360
7361 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7362 PyObject *resultobj = 0;
7363 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7364 wxString *arg2 = 0 ;
7365 void *argp1 = 0 ;
7366 int res1 = 0 ;
7367 bool temp2 = false ;
7368 PyObject * obj0 = 0 ;
7369 PyObject * obj1 = 0 ;
7370 char * kwnames[] = {
7371 (char *) "self",(char *) "text", NULL
7372 };
7373
7374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) SWIG_fail;
7375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7376 if (!SWIG_IsOK(res1)) {
7377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSelect" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7378 }
7379 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7380 {
7381 arg2 = wxString_in_helper(obj1);
7382 if (arg2 == NULL) SWIG_fail;
7383 temp2 = true;
7384 }
7385 {
7386 PyThreadState* __tstate = wxPyBeginAllowThreads();
7387 (arg1)->AutoCompSelect((wxString const &)*arg2);
7388 wxPyEndAllowThreads(__tstate);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 resultobj = SWIG_Py_Void();
7392 {
7393 if (temp2)
7394 delete arg2;
7395 }
7396 return resultobj;
7397 fail:
7398 {
7399 if (temp2)
7400 delete arg2;
7401 }
7402 return NULL;
7403 }
7404
7405
7406 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7407 PyObject *resultobj = 0;
7408 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7409 bool arg2 ;
7410 void *argp1 = 0 ;
7411 int res1 = 0 ;
7412 bool val2 ;
7413 int ecode2 = 0 ;
7414 PyObject * obj0 = 0 ;
7415 PyObject * obj1 = 0 ;
7416 char * kwnames[] = {
7417 (char *) "self",(char *) "cancel", NULL
7418 };
7419
7420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) SWIG_fail;
7421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7422 if (!SWIG_IsOK(res1)) {
7423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7424 }
7425 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7426 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7427 if (!SWIG_IsOK(ecode2)) {
7428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "2"" of type '" "bool""'");
7429 }
7430 arg2 = static_cast< bool >(val2);
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 (arg1)->AutoCompSetCancelAtStart(arg2);
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 resultobj = SWIG_Py_Void();
7438 return resultobj;
7439 fail:
7440 return NULL;
7441 }
7442
7443
7444 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7445 PyObject *resultobj = 0;
7446 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7447 bool result;
7448 void *argp1 = 0 ;
7449 int res1 = 0 ;
7450 PyObject *swig_obj[1] ;
7451
7452 if (!args) SWIG_fail;
7453 swig_obj[0] = args;
7454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7455 if (!SWIG_IsOK(res1)) {
7456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7457 }
7458 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7459 {
7460 PyThreadState* __tstate = wxPyBeginAllowThreads();
7461 result = (bool)(arg1)->AutoCompGetCancelAtStart();
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 {
7466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7467 }
7468 return resultobj;
7469 fail:
7470 return NULL;
7471 }
7472
7473
7474 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7475 PyObject *resultobj = 0;
7476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7477 wxString *arg2 = 0 ;
7478 void *argp1 = 0 ;
7479 int res1 = 0 ;
7480 bool temp2 = false ;
7481 PyObject * obj0 = 0 ;
7482 PyObject * obj1 = 0 ;
7483 char * kwnames[] = {
7484 (char *) "self",(char *) "characterSet", NULL
7485 };
7486
7487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) SWIG_fail;
7488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7489 if (!SWIG_IsOK(res1)) {
7490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetFillUps" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7491 }
7492 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7493 {
7494 arg2 = wxString_in_helper(obj1);
7495 if (arg2 == NULL) SWIG_fail;
7496 temp2 = true;
7497 }
7498 {
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
7501 wxPyEndAllowThreads(__tstate);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
7504 resultobj = SWIG_Py_Void();
7505 {
7506 if (temp2)
7507 delete arg2;
7508 }
7509 return resultobj;
7510 fail:
7511 {
7512 if (temp2)
7513 delete arg2;
7514 }
7515 return NULL;
7516 }
7517
7518
7519 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj = 0;
7521 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7522 bool arg2 ;
7523 void *argp1 = 0 ;
7524 int res1 = 0 ;
7525 bool val2 ;
7526 int ecode2 = 0 ;
7527 PyObject * obj0 = 0 ;
7528 PyObject * obj1 = 0 ;
7529 char * kwnames[] = {
7530 (char *) "self",(char *) "chooseSingle", NULL
7531 };
7532
7533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) SWIG_fail;
7534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7535 if (!SWIG_IsOK(res1)) {
7536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7537 }
7538 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7539 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7540 if (!SWIG_IsOK(ecode2)) {
7541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "2"" of type '" "bool""'");
7542 }
7543 arg2 = static_cast< bool >(val2);
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 (arg1)->AutoCompSetChooseSingle(arg2);
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 resultobj = SWIG_Py_Void();
7551 return resultobj;
7552 fail:
7553 return NULL;
7554 }
7555
7556
7557 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7558 PyObject *resultobj = 0;
7559 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7560 bool result;
7561 void *argp1 = 0 ;
7562 int res1 = 0 ;
7563 PyObject *swig_obj[1] ;
7564
7565 if (!args) SWIG_fail;
7566 swig_obj[0] = args;
7567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7568 if (!SWIG_IsOK(res1)) {
7569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7570 }
7571 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 result = (bool)(arg1)->AutoCompGetChooseSingle();
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 {
7579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7580 }
7581 return resultobj;
7582 fail:
7583 return NULL;
7584 }
7585
7586
7587 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj = 0;
7589 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7590 bool arg2 ;
7591 void *argp1 = 0 ;
7592 int res1 = 0 ;
7593 bool val2 ;
7594 int ecode2 = 0 ;
7595 PyObject * obj0 = 0 ;
7596 PyObject * obj1 = 0 ;
7597 char * kwnames[] = {
7598 (char *) "self",(char *) "ignoreCase", NULL
7599 };
7600
7601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) SWIG_fail;
7602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7603 if (!SWIG_IsOK(res1)) {
7604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7605 }
7606 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7607 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7608 if (!SWIG_IsOK(ecode2)) {
7609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "2"" of type '" "bool""'");
7610 }
7611 arg2 = static_cast< bool >(val2);
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 (arg1)->AutoCompSetIgnoreCase(arg2);
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) SWIG_fail;
7617 }
7618 resultobj = SWIG_Py_Void();
7619 return resultobj;
7620 fail:
7621 return NULL;
7622 }
7623
7624
7625 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7626 PyObject *resultobj = 0;
7627 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7628 bool result;
7629 void *argp1 = 0 ;
7630 int res1 = 0 ;
7631 PyObject *swig_obj[1] ;
7632
7633 if (!args) SWIG_fail;
7634 swig_obj[0] = args;
7635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7636 if (!SWIG_IsOK(res1)) {
7637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7638 }
7639 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 result = (bool)(arg1)->AutoCompGetIgnoreCase();
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 {
7647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7648 }
7649 return resultobj;
7650 fail:
7651 return NULL;
7652 }
7653
7654
7655 SWIGINTERN PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7656 PyObject *resultobj = 0;
7657 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7658 int arg2 ;
7659 wxString *arg3 = 0 ;
7660 void *argp1 = 0 ;
7661 int res1 = 0 ;
7662 int val2 ;
7663 int ecode2 = 0 ;
7664 bool temp3 = false ;
7665 PyObject * obj0 = 0 ;
7666 PyObject * obj1 = 0 ;
7667 PyObject * obj2 = 0 ;
7668 char * kwnames[] = {
7669 (char *) "self",(char *) "listType",(char *) "itemList", NULL
7670 };
7671
7672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7674 if (!SWIG_IsOK(res1)) {
7675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7676 }
7677 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7678 ecode2 = SWIG_AsVal_int(obj1, &val2);
7679 if (!SWIG_IsOK(ecode2)) {
7680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "2"" of type '" "int""'");
7681 }
7682 arg2 = static_cast< int >(val2);
7683 {
7684 arg3 = wxString_in_helper(obj2);
7685 if (arg3 == NULL) SWIG_fail;
7686 temp3 = true;
7687 }
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 resultobj = SWIG_Py_Void();
7695 {
7696 if (temp3)
7697 delete arg3;
7698 }
7699 return resultobj;
7700 fail:
7701 {
7702 if (temp3)
7703 delete arg3;
7704 }
7705 return NULL;
7706 }
7707
7708
7709 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj = 0;
7711 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7712 bool arg2 ;
7713 void *argp1 = 0 ;
7714 int res1 = 0 ;
7715 bool val2 ;
7716 int ecode2 = 0 ;
7717 PyObject * obj0 = 0 ;
7718 PyObject * obj1 = 0 ;
7719 char * kwnames[] = {
7720 (char *) "self",(char *) "autoHide", NULL
7721 };
7722
7723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) SWIG_fail;
7724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7725 if (!SWIG_IsOK(res1)) {
7726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7727 }
7728 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7729 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7730 if (!SWIG_IsOK(ecode2)) {
7731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "2"" of type '" "bool""'");
7732 }
7733 arg2 = static_cast< bool >(val2);
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 (arg1)->AutoCompSetAutoHide(arg2);
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 resultobj = SWIG_Py_Void();
7741 return resultobj;
7742 fail:
7743 return NULL;
7744 }
7745
7746
7747 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7748 PyObject *resultobj = 0;
7749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7750 bool result;
7751 void *argp1 = 0 ;
7752 int res1 = 0 ;
7753 PyObject *swig_obj[1] ;
7754
7755 if (!args) SWIG_fail;
7756 swig_obj[0] = args;
7757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7758 if (!SWIG_IsOK(res1)) {
7759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7760 }
7761 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7762 {
7763 PyThreadState* __tstate = wxPyBeginAllowThreads();
7764 result = (bool)(arg1)->AutoCompGetAutoHide();
7765 wxPyEndAllowThreads(__tstate);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 }
7768 {
7769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7770 }
7771 return resultobj;
7772 fail:
7773 return NULL;
7774 }
7775
7776
7777 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7778 PyObject *resultobj = 0;
7779 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7780 bool arg2 ;
7781 void *argp1 = 0 ;
7782 int res1 = 0 ;
7783 bool val2 ;
7784 int ecode2 = 0 ;
7785 PyObject * obj0 = 0 ;
7786 PyObject * obj1 = 0 ;
7787 char * kwnames[] = {
7788 (char *) "self",(char *) "dropRestOfWord", NULL
7789 };
7790
7791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) SWIG_fail;
7792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7793 if (!SWIG_IsOK(res1)) {
7794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7795 }
7796 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7797 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7798 if (!SWIG_IsOK(ecode2)) {
7799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "2"" of type '" "bool""'");
7800 }
7801 arg2 = static_cast< bool >(val2);
7802 {
7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
7804 (arg1)->AutoCompSetDropRestOfWord(arg2);
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 resultobj = SWIG_Py_Void();
7809 return resultobj;
7810 fail:
7811 return NULL;
7812 }
7813
7814
7815 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7816 PyObject *resultobj = 0;
7817 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7818 bool result;
7819 void *argp1 = 0 ;
7820 int res1 = 0 ;
7821 PyObject *swig_obj[1] ;
7822
7823 if (!args) SWIG_fail;
7824 swig_obj[0] = args;
7825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7826 if (!SWIG_IsOK(res1)) {
7827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7828 }
7829 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7830 {
7831 PyThreadState* __tstate = wxPyBeginAllowThreads();
7832 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
7833 wxPyEndAllowThreads(__tstate);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 }
7836 {
7837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7838 }
7839 return resultobj;
7840 fail:
7841 return NULL;
7842 }
7843
7844
7845 SWIGINTERN PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj = 0;
7847 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7848 int arg2 ;
7849 wxBitmap *arg3 = 0 ;
7850 void *argp1 = 0 ;
7851 int res1 = 0 ;
7852 int val2 ;
7853 int ecode2 = 0 ;
7854 void *argp3 = 0 ;
7855 int res3 = 0 ;
7856 PyObject * obj0 = 0 ;
7857 PyObject * obj1 = 0 ;
7858 PyObject * obj2 = 0 ;
7859 char * kwnames[] = {
7860 (char *) "self",(char *) "type",(char *) "bmp", NULL
7861 };
7862
7863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7865 if (!SWIG_IsOK(res1)) {
7866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7867 }
7868 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7869 ecode2 = SWIG_AsVal_int(obj1, &val2);
7870 if (!SWIG_IsOK(ecode2)) {
7871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "2"" of type '" "int""'");
7872 }
7873 arg2 = static_cast< int >(val2);
7874 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
7875 if (!SWIG_IsOK(res3)) {
7876 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7877 }
7878 if (!argp3) {
7879 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7880 }
7881 arg3 = reinterpret_cast< wxBitmap * >(argp3);
7882 {
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 resultobj = SWIG_Py_Void();
7889 return resultobj;
7890 fail:
7891 return NULL;
7892 }
7893
7894
7895 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7896 PyObject *resultobj = 0;
7897 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7898 void *argp1 = 0 ;
7899 int res1 = 0 ;
7900 PyObject *swig_obj[1] ;
7901
7902 if (!args) SWIG_fail;
7903 swig_obj[0] = args;
7904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7905 if (!SWIG_IsOK(res1)) {
7906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearRegisteredImages" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7907 }
7908 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 (arg1)->ClearRegisteredImages();
7912 wxPyEndAllowThreads(__tstate);
7913 if (PyErr_Occurred()) SWIG_fail;
7914 }
7915 resultobj = SWIG_Py_Void();
7916 return resultobj;
7917 fail:
7918 return NULL;
7919 }
7920
7921
7922 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7923 PyObject *resultobj = 0;
7924 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7925 int result;
7926 void *argp1 = 0 ;
7927 int res1 = 0 ;
7928 PyObject *swig_obj[1] ;
7929
7930 if (!args) SWIG_fail;
7931 swig_obj[0] = args;
7932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7933 if (!SWIG_IsOK(res1)) {
7934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7935 }
7936 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (int)(arg1)->AutoCompGetTypeSeparator();
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 resultobj = SWIG_From_int(static_cast< int >(result));
7944 return resultobj;
7945 fail:
7946 return NULL;
7947 }
7948
7949
7950 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7951 PyObject *resultobj = 0;
7952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7953 int arg2 ;
7954 void *argp1 = 0 ;
7955 int res1 = 0 ;
7956 int val2 ;
7957 int ecode2 = 0 ;
7958 PyObject * obj0 = 0 ;
7959 PyObject * obj1 = 0 ;
7960 char * kwnames[] = {
7961 (char *) "self",(char *) "separatorCharacter", NULL
7962 };
7963
7964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
7965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7966 if (!SWIG_IsOK(res1)) {
7967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7968 }
7969 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7970 ecode2 = SWIG_AsVal_int(obj1, &val2);
7971 if (!SWIG_IsOK(ecode2)) {
7972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "2"" of type '" "int""'");
7973 }
7974 arg2 = static_cast< int >(val2);
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 (arg1)->AutoCompSetTypeSeparator(arg2);
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 resultobj = SWIG_Py_Void();
7982 return resultobj;
7983 fail:
7984 return NULL;
7985 }
7986
7987
7988 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7989 PyObject *resultobj = 0;
7990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7991 int arg2 ;
7992 void *argp1 = 0 ;
7993 int res1 = 0 ;
7994 int val2 ;
7995 int ecode2 = 0 ;
7996 PyObject * obj0 = 0 ;
7997 PyObject * obj1 = 0 ;
7998 char * kwnames[] = {
7999 (char *) "self",(char *) "characterCount", NULL
8000 };
8001
8002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxWidth",kwnames,&obj0,&obj1)) SWIG_fail;
8003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8004 if (!SWIG_IsOK(res1)) {
8005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8006 }
8007 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8008 ecode2 = SWIG_AsVal_int(obj1, &val2);
8009 if (!SWIG_IsOK(ecode2)) {
8010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "2"" of type '" "int""'");
8011 }
8012 arg2 = static_cast< int >(val2);
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 (arg1)->AutoCompSetMaxWidth(arg2);
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 resultobj = SWIG_Py_Void();
8020 return resultobj;
8021 fail:
8022 return NULL;
8023 }
8024
8025
8026 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8027 PyObject *resultobj = 0;
8028 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8029 int result;
8030 void *argp1 = 0 ;
8031 int res1 = 0 ;
8032 PyObject *swig_obj[1] ;
8033
8034 if (!args) SWIG_fail;
8035 swig_obj[0] = args;
8036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8037 if (!SWIG_IsOK(res1)) {
8038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8039 }
8040 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 result = (int)(arg1)->AutoCompGetMaxWidth();
8044 wxPyEndAllowThreads(__tstate);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 }
8047 resultobj = SWIG_From_int(static_cast< int >(result));
8048 return resultobj;
8049 fail:
8050 return NULL;
8051 }
8052
8053
8054 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8055 PyObject *resultobj = 0;
8056 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8057 int arg2 ;
8058 void *argp1 = 0 ;
8059 int res1 = 0 ;
8060 int val2 ;
8061 int ecode2 = 0 ;
8062 PyObject * obj0 = 0 ;
8063 PyObject * obj1 = 0 ;
8064 char * kwnames[] = {
8065 (char *) "self",(char *) "rowCount", NULL
8066 };
8067
8068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxHeight",kwnames,&obj0,&obj1)) SWIG_fail;
8069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8070 if (!SWIG_IsOK(res1)) {
8071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8072 }
8073 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8074 ecode2 = SWIG_AsVal_int(obj1, &val2);
8075 if (!SWIG_IsOK(ecode2)) {
8076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "2"" of type '" "int""'");
8077 }
8078 arg2 = static_cast< int >(val2);
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 (arg1)->AutoCompSetMaxHeight(arg2);
8082 wxPyEndAllowThreads(__tstate);
8083 if (PyErr_Occurred()) SWIG_fail;
8084 }
8085 resultobj = SWIG_Py_Void();
8086 return resultobj;
8087 fail:
8088 return NULL;
8089 }
8090
8091
8092 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8093 PyObject *resultobj = 0;
8094 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8095 int result;
8096 void *argp1 = 0 ;
8097 int res1 = 0 ;
8098 PyObject *swig_obj[1] ;
8099
8100 if (!args) SWIG_fail;
8101 swig_obj[0] = args;
8102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8103 if (!SWIG_IsOK(res1)) {
8104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8105 }
8106 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 result = (int)(arg1)->AutoCompGetMaxHeight();
8110 wxPyEndAllowThreads(__tstate);
8111 if (PyErr_Occurred()) SWIG_fail;
8112 }
8113 resultobj = SWIG_From_int(static_cast< int >(result));
8114 return resultobj;
8115 fail:
8116 return NULL;
8117 }
8118
8119
8120 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8121 PyObject *resultobj = 0;
8122 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8123 int arg2 ;
8124 void *argp1 = 0 ;
8125 int res1 = 0 ;
8126 int val2 ;
8127 int ecode2 = 0 ;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 char * kwnames[] = {
8131 (char *) "self",(char *) "indentSize", NULL
8132 };
8133
8134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8136 if (!SWIG_IsOK(res1)) {
8137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8138 }
8139 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8140 ecode2 = SWIG_AsVal_int(obj1, &val2);
8141 if (!SWIG_IsOK(ecode2)) {
8142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "2"" of type '" "int""'");
8143 }
8144 arg2 = static_cast< int >(val2);
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 (arg1)->SetIndent(arg2);
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 resultobj = SWIG_Py_Void();
8152 return resultobj;
8153 fail:
8154 return NULL;
8155 }
8156
8157
8158 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8159 PyObject *resultobj = 0;
8160 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8161 int result;
8162 void *argp1 = 0 ;
8163 int res1 = 0 ;
8164 PyObject *swig_obj[1] ;
8165
8166 if (!args) SWIG_fail;
8167 swig_obj[0] = args;
8168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8169 if (!SWIG_IsOK(res1)) {
8170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8171 }
8172 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8173 {
8174 PyThreadState* __tstate = wxPyBeginAllowThreads();
8175 result = (int)(arg1)->GetIndent();
8176 wxPyEndAllowThreads(__tstate);
8177 if (PyErr_Occurred()) SWIG_fail;
8178 }
8179 resultobj = SWIG_From_int(static_cast< int >(result));
8180 return resultobj;
8181 fail:
8182 return NULL;
8183 }
8184
8185
8186 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8187 PyObject *resultobj = 0;
8188 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8189 bool arg2 ;
8190 void *argp1 = 0 ;
8191 int res1 = 0 ;
8192 bool val2 ;
8193 int ecode2 = 0 ;
8194 PyObject * obj0 = 0 ;
8195 PyObject * obj1 = 0 ;
8196 char * kwnames[] = {
8197 (char *) "self",(char *) "useTabs", NULL
8198 };
8199
8200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) SWIG_fail;
8201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8202 if (!SWIG_IsOK(res1)) {
8203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8204 }
8205 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8206 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8207 if (!SWIG_IsOK(ecode2)) {
8208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "2"" of type '" "bool""'");
8209 }
8210 arg2 = static_cast< bool >(val2);
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 (arg1)->SetUseTabs(arg2);
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
8217 resultobj = SWIG_Py_Void();
8218 return resultobj;
8219 fail:
8220 return NULL;
8221 }
8222
8223
8224 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8225 PyObject *resultobj = 0;
8226 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8227 bool result;
8228 void *argp1 = 0 ;
8229 int res1 = 0 ;
8230 PyObject *swig_obj[1] ;
8231
8232 if (!args) SWIG_fail;
8233 swig_obj[0] = args;
8234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8235 if (!SWIG_IsOK(res1)) {
8236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8237 }
8238 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 result = (bool)(arg1)->GetUseTabs();
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 {
8246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8247 }
8248 return resultobj;
8249 fail:
8250 return NULL;
8251 }
8252
8253
8254 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj = 0;
8256 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8257 int arg2 ;
8258 int arg3 ;
8259 void *argp1 = 0 ;
8260 int res1 = 0 ;
8261 int val2 ;
8262 int ecode2 = 0 ;
8263 int val3 ;
8264 int ecode3 = 0 ;
8265 PyObject * obj0 = 0 ;
8266 PyObject * obj1 = 0 ;
8267 PyObject * obj2 = 0 ;
8268 char * kwnames[] = {
8269 (char *) "self",(char *) "line",(char *) "indentSize", NULL
8270 };
8271
8272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8274 if (!SWIG_IsOK(res1)) {
8275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8276 }
8277 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8278 ecode2 = SWIG_AsVal_int(obj1, &val2);
8279 if (!SWIG_IsOK(ecode2)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8281 }
8282 arg2 = static_cast< int >(val2);
8283 ecode3 = SWIG_AsVal_int(obj2, &val3);
8284 if (!SWIG_IsOK(ecode3)) {
8285 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "3"" of type '" "int""'");
8286 }
8287 arg3 = static_cast< int >(val3);
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 (arg1)->SetLineIndentation(arg2,arg3);
8291 wxPyEndAllowThreads(__tstate);
8292 if (PyErr_Occurred()) SWIG_fail;
8293 }
8294 resultobj = SWIG_Py_Void();
8295 return resultobj;
8296 fail:
8297 return NULL;
8298 }
8299
8300
8301 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8302 PyObject *resultobj = 0;
8303 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8304 int arg2 ;
8305 int result;
8306 void *argp1 = 0 ;
8307 int res1 = 0 ;
8308 int val2 ;
8309 int ecode2 = 0 ;
8310 PyObject * obj0 = 0 ;
8311 PyObject * obj1 = 0 ;
8312 char * kwnames[] = {
8313 (char *) "self",(char *) "line", NULL
8314 };
8315
8316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) SWIG_fail;
8317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8318 if (!SWIG_IsOK(res1)) {
8319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8320 }
8321 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8322 ecode2 = SWIG_AsVal_int(obj1, &val2);
8323 if (!SWIG_IsOK(ecode2)) {
8324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8325 }
8326 arg2 = static_cast< int >(val2);
8327 {
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 result = (int)(arg1)->GetLineIndentation(arg2);
8330 wxPyEndAllowThreads(__tstate);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 resultobj = SWIG_From_int(static_cast< int >(result));
8334 return resultobj;
8335 fail:
8336 return NULL;
8337 }
8338
8339
8340 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8341 PyObject *resultobj = 0;
8342 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8343 int arg2 ;
8344 int result;
8345 void *argp1 = 0 ;
8346 int res1 = 0 ;
8347 int val2 ;
8348 int ecode2 = 0 ;
8349 PyObject * obj0 = 0 ;
8350 PyObject * obj1 = 0 ;
8351 char * kwnames[] = {
8352 (char *) "self",(char *) "line", NULL
8353 };
8354
8355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) SWIG_fail;
8356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8357 if (!SWIG_IsOK(res1)) {
8358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8359 }
8360 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8361 ecode2 = SWIG_AsVal_int(obj1, &val2);
8362 if (!SWIG_IsOK(ecode2)) {
8363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "2"" of type '" "int""'");
8364 }
8365 arg2 = static_cast< int >(val2);
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 result = (int)(arg1)->GetLineIndentPosition(arg2);
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 resultobj = SWIG_From_int(static_cast< int >(result));
8373 return resultobj;
8374 fail:
8375 return NULL;
8376 }
8377
8378
8379 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8380 PyObject *resultobj = 0;
8381 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8382 int arg2 ;
8383 int result;
8384 void *argp1 = 0 ;
8385 int res1 = 0 ;
8386 int val2 ;
8387 int ecode2 = 0 ;
8388 PyObject * obj0 = 0 ;
8389 PyObject * obj1 = 0 ;
8390 char * kwnames[] = {
8391 (char *) "self",(char *) "pos", NULL
8392 };
8393
8394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
8395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8396 if (!SWIG_IsOK(res1)) {
8397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8398 }
8399 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8400 ecode2 = SWIG_AsVal_int(obj1, &val2);
8401 if (!SWIG_IsOK(ecode2)) {
8402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
8403 }
8404 arg2 = static_cast< int >(val2);
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 result = (int)(arg1)->GetColumn(arg2);
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 resultobj = SWIG_From_int(static_cast< int >(result));
8412 return resultobj;
8413 fail:
8414 return NULL;
8415 }
8416
8417
8418 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8419 PyObject *resultobj = 0;
8420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8421 bool arg2 ;
8422 void *argp1 = 0 ;
8423 int res1 = 0 ;
8424 bool val2 ;
8425 int ecode2 = 0 ;
8426 PyObject * obj0 = 0 ;
8427 PyObject * obj1 = 0 ;
8428 char * kwnames[] = {
8429 (char *) "self",(char *) "show", NULL
8430 };
8431
8432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
8433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8434 if (!SWIG_IsOK(res1)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8436 }
8437 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8438 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8439 if (!SWIG_IsOK(ecode2)) {
8440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "2"" of type '" "bool""'");
8441 }
8442 arg2 = static_cast< bool >(val2);
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 (arg1)->SetUseHorizontalScrollBar(arg2);
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 resultobj = SWIG_Py_Void();
8450 return resultobj;
8451 fail:
8452 return NULL;
8453 }
8454
8455
8456 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8457 PyObject *resultobj = 0;
8458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8459 bool result;
8460 void *argp1 = 0 ;
8461 int res1 = 0 ;
8462 PyObject *swig_obj[1] ;
8463
8464 if (!args) SWIG_fail;
8465 swig_obj[0] = args;
8466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8467 if (!SWIG_IsOK(res1)) {
8468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8469 }
8470 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8471 {
8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
8473 result = (bool)(arg1)->GetUseHorizontalScrollBar();
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 {
8478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8479 }
8480 return resultobj;
8481 fail:
8482 return NULL;
8483 }
8484
8485
8486 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj = 0;
8488 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8489 bool arg2 ;
8490 void *argp1 = 0 ;
8491 int res1 = 0 ;
8492 bool val2 ;
8493 int ecode2 = 0 ;
8494 PyObject * obj0 = 0 ;
8495 PyObject * obj1 = 0 ;
8496 char * kwnames[] = {
8497 (char *) "self",(char *) "show", NULL
8498 };
8499
8500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) SWIG_fail;
8501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8502 if (!SWIG_IsOK(res1)) {
8503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8504 }
8505 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8506 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8507 if (!SWIG_IsOK(ecode2)) {
8508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "2"" of type '" "bool""'");
8509 }
8510 arg2 = static_cast< bool >(val2);
8511 {
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 (arg1)->SetIndentationGuides(arg2);
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 resultobj = SWIG_Py_Void();
8518 return resultobj;
8519 fail:
8520 return NULL;
8521 }
8522
8523
8524 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8525 PyObject *resultobj = 0;
8526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8527 bool result;
8528 void *argp1 = 0 ;
8529 int res1 = 0 ;
8530 PyObject *swig_obj[1] ;
8531
8532 if (!args) SWIG_fail;
8533 swig_obj[0] = args;
8534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8535 if (!SWIG_IsOK(res1)) {
8536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8537 }
8538 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8539 {
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 result = (bool)(arg1)->GetIndentationGuides();
8542 wxPyEndAllowThreads(__tstate);
8543 if (PyErr_Occurred()) SWIG_fail;
8544 }
8545 {
8546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8547 }
8548 return resultobj;
8549 fail:
8550 return NULL;
8551 }
8552
8553
8554 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8555 PyObject *resultobj = 0;
8556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8557 int arg2 ;
8558 void *argp1 = 0 ;
8559 int res1 = 0 ;
8560 int val2 ;
8561 int ecode2 = 0 ;
8562 PyObject * obj0 = 0 ;
8563 PyObject * obj1 = 0 ;
8564 char * kwnames[] = {
8565 (char *) "self",(char *) "column", NULL
8566 };
8567
8568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) SWIG_fail;
8569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8570 if (!SWIG_IsOK(res1)) {
8571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8572 }
8573 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8574 ecode2 = SWIG_AsVal_int(obj1, &val2);
8575 if (!SWIG_IsOK(ecode2)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "2"" of type '" "int""'");
8577 }
8578 arg2 = static_cast< int >(val2);
8579 {
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 (arg1)->SetHighlightGuide(arg2);
8582 wxPyEndAllowThreads(__tstate);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
8585 resultobj = SWIG_Py_Void();
8586 return resultobj;
8587 fail:
8588 return NULL;
8589 }
8590
8591
8592 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8593 PyObject *resultobj = 0;
8594 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8595 int result;
8596 void *argp1 = 0 ;
8597 int res1 = 0 ;
8598 PyObject *swig_obj[1] ;
8599
8600 if (!args) SWIG_fail;
8601 swig_obj[0] = args;
8602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8603 if (!SWIG_IsOK(res1)) {
8604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8605 }
8606 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8607 {
8608 PyThreadState* __tstate = wxPyBeginAllowThreads();
8609 result = (int)(arg1)->GetHighlightGuide();
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 resultobj = SWIG_From_int(static_cast< int >(result));
8614 return resultobj;
8615 fail:
8616 return NULL;
8617 }
8618
8619
8620 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8621 PyObject *resultobj = 0;
8622 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8623 int arg2 ;
8624 int result;
8625 void *argp1 = 0 ;
8626 int res1 = 0 ;
8627 int val2 ;
8628 int ecode2 = 0 ;
8629 PyObject * obj0 = 0 ;
8630 PyObject * obj1 = 0 ;
8631 char * kwnames[] = {
8632 (char *) "self",(char *) "line", NULL
8633 };
8634
8635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
8636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8637 if (!SWIG_IsOK(res1)) {
8638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8639 }
8640 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8641 ecode2 = SWIG_AsVal_int(obj1, &val2);
8642 if (!SWIG_IsOK(ecode2)) {
8643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "2"" of type '" "int""'");
8644 }
8645 arg2 = static_cast< int >(val2);
8646 {
8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
8648 result = (int)(arg1)->GetLineEndPosition(arg2);
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 resultobj = SWIG_From_int(static_cast< int >(result));
8653 return resultobj;
8654 fail:
8655 return NULL;
8656 }
8657
8658
8659 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8660 PyObject *resultobj = 0;
8661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8662 int result;
8663 void *argp1 = 0 ;
8664 int res1 = 0 ;
8665 PyObject *swig_obj[1] ;
8666
8667 if (!args) SWIG_fail;
8668 swig_obj[0] = args;
8669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8670 if (!SWIG_IsOK(res1)) {
8671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8672 }
8673 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8674 {
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 result = (int)(arg1)->GetCodePage();
8677 wxPyEndAllowThreads(__tstate);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 }
8680 resultobj = SWIG_From_int(static_cast< int >(result));
8681 return resultobj;
8682 fail:
8683 return NULL;
8684 }
8685
8686
8687 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8688 PyObject *resultobj = 0;
8689 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8690 wxColour result;
8691 void *argp1 = 0 ;
8692 int res1 = 0 ;
8693 PyObject *swig_obj[1] ;
8694
8695 if (!args) SWIG_fail;
8696 swig_obj[0] = args;
8697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8698 if (!SWIG_IsOK(res1)) {
8699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8700 }
8701 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8702 {
8703 PyThreadState* __tstate = wxPyBeginAllowThreads();
8704 result = (arg1)->GetCaretForeground();
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8709 return resultobj;
8710 fail:
8711 return NULL;
8712 }
8713
8714
8715 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8716 PyObject *resultobj = 0;
8717 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8718 bool result;
8719 void *argp1 = 0 ;
8720 int res1 = 0 ;
8721 PyObject *swig_obj[1] ;
8722
8723 if (!args) SWIG_fail;
8724 swig_obj[0] = args;
8725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8726 if (!SWIG_IsOK(res1)) {
8727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8728 }
8729 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8730 {
8731 PyThreadState* __tstate = wxPyBeginAllowThreads();
8732 result = (bool)(arg1)->GetReadOnly();
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 {
8737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8738 }
8739 return resultobj;
8740 fail:
8741 return NULL;
8742 }
8743
8744
8745 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8746 PyObject *resultobj = 0;
8747 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8748 int arg2 ;
8749 void *argp1 = 0 ;
8750 int res1 = 0 ;
8751 int val2 ;
8752 int ecode2 = 0 ;
8753 PyObject * obj0 = 0 ;
8754 PyObject * obj1 = 0 ;
8755 char * kwnames[] = {
8756 (char *) "self",(char *) "pos", NULL
8757 };
8758
8759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) SWIG_fail;
8760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8761 if (!SWIG_IsOK(res1)) {
8762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8763 }
8764 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8765 ecode2 = SWIG_AsVal_int(obj1, &val2);
8766 if (!SWIG_IsOK(ecode2)) {
8767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "2"" of type '" "int""'");
8768 }
8769 arg2 = static_cast< int >(val2);
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 (arg1)->SetCurrentPos(arg2);
8773 wxPyEndAllowThreads(__tstate);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 }
8776 resultobj = SWIG_Py_Void();
8777 return resultobj;
8778 fail:
8779 return NULL;
8780 }
8781
8782
8783 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8784 PyObject *resultobj = 0;
8785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8786 int arg2 ;
8787 void *argp1 = 0 ;
8788 int res1 = 0 ;
8789 int val2 ;
8790 int ecode2 = 0 ;
8791 PyObject * obj0 = 0 ;
8792 PyObject * obj1 = 0 ;
8793 char * kwnames[] = {
8794 (char *) "self",(char *) "pos", NULL
8795 };
8796
8797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) SWIG_fail;
8798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8799 if (!SWIG_IsOK(res1)) {
8800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8801 }
8802 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8803 ecode2 = SWIG_AsVal_int(obj1, &val2);
8804 if (!SWIG_IsOK(ecode2)) {
8805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "2"" of type '" "int""'");
8806 }
8807 arg2 = static_cast< int >(val2);
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 (arg1)->SetSelectionStart(arg2);
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 resultobj = SWIG_Py_Void();
8815 return resultobj;
8816 fail:
8817 return NULL;
8818 }
8819
8820
8821 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8822 PyObject *resultobj = 0;
8823 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8824 int result;
8825 void *argp1 = 0 ;
8826 int res1 = 0 ;
8827 PyObject *swig_obj[1] ;
8828
8829 if (!args) SWIG_fail;
8830 swig_obj[0] = args;
8831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8832 if (!SWIG_IsOK(res1)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8834 }
8835 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8836 {
8837 PyThreadState* __tstate = wxPyBeginAllowThreads();
8838 result = (int)(arg1)->GetSelectionStart();
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 resultobj = SWIG_From_int(static_cast< int >(result));
8843 return resultobj;
8844 fail:
8845 return NULL;
8846 }
8847
8848
8849 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8850 PyObject *resultobj = 0;
8851 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8852 int arg2 ;
8853 void *argp1 = 0 ;
8854 int res1 = 0 ;
8855 int val2 ;
8856 int ecode2 = 0 ;
8857 PyObject * obj0 = 0 ;
8858 PyObject * obj1 = 0 ;
8859 char * kwnames[] = {
8860 (char *) "self",(char *) "pos", NULL
8861 };
8862
8863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) SWIG_fail;
8864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8865 if (!SWIG_IsOK(res1)) {
8866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8867 }
8868 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8869 ecode2 = SWIG_AsVal_int(obj1, &val2);
8870 if (!SWIG_IsOK(ecode2)) {
8871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "2"" of type '" "int""'");
8872 }
8873 arg2 = static_cast< int >(val2);
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 (arg1)->SetSelectionEnd(arg2);
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 resultobj = SWIG_Py_Void();
8881 return resultobj;
8882 fail:
8883 return NULL;
8884 }
8885
8886
8887 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8888 PyObject *resultobj = 0;
8889 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8890 int result;
8891 void *argp1 = 0 ;
8892 int res1 = 0 ;
8893 PyObject *swig_obj[1] ;
8894
8895 if (!args) SWIG_fail;
8896 swig_obj[0] = args;
8897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8898 if (!SWIG_IsOK(res1)) {
8899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8900 }
8901 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 result = (int)(arg1)->GetSelectionEnd();
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 resultobj = SWIG_From_int(static_cast< int >(result));
8909 return resultobj;
8910 fail:
8911 return NULL;
8912 }
8913
8914
8915 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj = 0;
8917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8918 int arg2 ;
8919 void *argp1 = 0 ;
8920 int res1 = 0 ;
8921 int val2 ;
8922 int ecode2 = 0 ;
8923 PyObject * obj0 = 0 ;
8924 PyObject * obj1 = 0 ;
8925 char * kwnames[] = {
8926 (char *) "self",(char *) "magnification", NULL
8927 };
8928
8929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) SWIG_fail;
8930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8931 if (!SWIG_IsOK(res1)) {
8932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8933 }
8934 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8935 ecode2 = SWIG_AsVal_int(obj1, &val2);
8936 if (!SWIG_IsOK(ecode2)) {
8937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "2"" of type '" "int""'");
8938 }
8939 arg2 = static_cast< int >(val2);
8940 {
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 (arg1)->SetPrintMagnification(arg2);
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 resultobj = SWIG_Py_Void();
8947 return resultobj;
8948 fail:
8949 return NULL;
8950 }
8951
8952
8953 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8954 PyObject *resultobj = 0;
8955 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8956 int result;
8957 void *argp1 = 0 ;
8958 int res1 = 0 ;
8959 PyObject *swig_obj[1] ;
8960
8961 if (!args) SWIG_fail;
8962 swig_obj[0] = args;
8963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8964 if (!SWIG_IsOK(res1)) {
8965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8966 }
8967 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
8970 result = (int)(arg1)->GetPrintMagnification();
8971 wxPyEndAllowThreads(__tstate);
8972 if (PyErr_Occurred()) SWIG_fail;
8973 }
8974 resultobj = SWIG_From_int(static_cast< int >(result));
8975 return resultobj;
8976 fail:
8977 return NULL;
8978 }
8979
8980
8981 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8982 PyObject *resultobj = 0;
8983 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8984 int arg2 ;
8985 void *argp1 = 0 ;
8986 int res1 = 0 ;
8987 int val2 ;
8988 int ecode2 = 0 ;
8989 PyObject * obj0 = 0 ;
8990 PyObject * obj1 = 0 ;
8991 char * kwnames[] = {
8992 (char *) "self",(char *) "mode", NULL
8993 };
8994
8995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) SWIG_fail;
8996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8997 if (!SWIG_IsOK(res1)) {
8998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8999 }
9000 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9001 ecode2 = SWIG_AsVal_int(obj1, &val2);
9002 if (!SWIG_IsOK(ecode2)) {
9003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "2"" of type '" "int""'");
9004 }
9005 arg2 = static_cast< int >(val2);
9006 {
9007 PyThreadState* __tstate = wxPyBeginAllowThreads();
9008 (arg1)->SetPrintColourMode(arg2);
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 resultobj = SWIG_Py_Void();
9013 return resultobj;
9014 fail:
9015 return NULL;
9016 }
9017
9018
9019 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9020 PyObject *resultobj = 0;
9021 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9022 int result;
9023 void *argp1 = 0 ;
9024 int res1 = 0 ;
9025 PyObject *swig_obj[1] ;
9026
9027 if (!args) SWIG_fail;
9028 swig_obj[0] = args;
9029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9030 if (!SWIG_IsOK(res1)) {
9031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9032 }
9033 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9034 {
9035 PyThreadState* __tstate = wxPyBeginAllowThreads();
9036 result = (int)(arg1)->GetPrintColourMode();
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 resultobj = SWIG_From_int(static_cast< int >(result));
9041 return resultobj;
9042 fail:
9043 return NULL;
9044 }
9045
9046
9047 SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj = 0;
9049 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9050 int arg2 ;
9051 int arg3 ;
9052 wxString *arg4 = 0 ;
9053 int arg5 = (int) 0 ;
9054 int result;
9055 void *argp1 = 0 ;
9056 int res1 = 0 ;
9057 int val2 ;
9058 int ecode2 = 0 ;
9059 int val3 ;
9060 int ecode3 = 0 ;
9061 bool temp4 = false ;
9062 int val5 ;
9063 int ecode5 = 0 ;
9064 PyObject * obj0 = 0 ;
9065 PyObject * obj1 = 0 ;
9066 PyObject * obj2 = 0 ;
9067 PyObject * obj3 = 0 ;
9068 PyObject * obj4 = 0 ;
9069 char * kwnames[] = {
9070 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
9071 };
9072
9073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9075 if (!SWIG_IsOK(res1)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9077 }
9078 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9079 ecode2 = SWIG_AsVal_int(obj1, &val2);
9080 if (!SWIG_IsOK(ecode2)) {
9081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindText" "', expected argument " "2"" of type '" "int""'");
9082 }
9083 arg2 = static_cast< int >(val2);
9084 ecode3 = SWIG_AsVal_int(obj2, &val3);
9085 if (!SWIG_IsOK(ecode3)) {
9086 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindText" "', expected argument " "3"" of type '" "int""'");
9087 }
9088 arg3 = static_cast< int >(val3);
9089 {
9090 arg4 = wxString_in_helper(obj3);
9091 if (arg4 == NULL) SWIG_fail;
9092 temp4 = true;
9093 }
9094 if (obj4) {
9095 ecode5 = SWIG_AsVal_int(obj4, &val5);
9096 if (!SWIG_IsOK(ecode5)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_FindText" "', expected argument " "5"" of type '" "int""'");
9098 }
9099 arg5 = static_cast< int >(val5);
9100 }
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 resultobj = SWIG_From_int(static_cast< int >(result));
9108 {
9109 if (temp4)
9110 delete arg4;
9111 }
9112 return resultobj;
9113 fail:
9114 {
9115 if (temp4)
9116 delete arg4;
9117 }
9118 return NULL;
9119 }
9120
9121
9122 SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj = 0;
9124 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9125 bool arg2 ;
9126 int arg3 ;
9127 int arg4 ;
9128 wxDC *arg5 = (wxDC *) 0 ;
9129 wxDC *arg6 = (wxDC *) 0 ;
9130 wxRect arg7 ;
9131 wxRect arg8 ;
9132 int result;
9133 void *argp1 = 0 ;
9134 int res1 = 0 ;
9135 bool val2 ;
9136 int ecode2 = 0 ;
9137 int val3 ;
9138 int ecode3 = 0 ;
9139 int val4 ;
9140 int ecode4 = 0 ;
9141 void *argp5 = 0 ;
9142 int res5 = 0 ;
9143 void *argp6 = 0 ;
9144 int res6 = 0 ;
9145 void *argp7 ;
9146 int res7 = 0 ;
9147 void *argp8 ;
9148 int res8 = 0 ;
9149 PyObject * obj0 = 0 ;
9150 PyObject * obj1 = 0 ;
9151 PyObject * obj2 = 0 ;
9152 PyObject * obj3 = 0 ;
9153 PyObject * obj4 = 0 ;
9154 PyObject * obj5 = 0 ;
9155 PyObject * obj6 = 0 ;
9156 PyObject * obj7 = 0 ;
9157 char * kwnames[] = {
9158 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
9159 };
9160
9161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
9162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9163 if (!SWIG_IsOK(res1)) {
9164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9165 }
9166 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9167 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9168 if (!SWIG_IsOK(ecode2)) {
9169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "2"" of type '" "bool""'");
9170 }
9171 arg2 = static_cast< bool >(val2);
9172 ecode3 = SWIG_AsVal_int(obj2, &val3);
9173 if (!SWIG_IsOK(ecode3)) {
9174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "3"" of type '" "int""'");
9175 }
9176 arg3 = static_cast< int >(val3);
9177 ecode4 = SWIG_AsVal_int(obj3, &val4);
9178 if (!SWIG_IsOK(ecode4)) {
9179 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "4"" of type '" "int""'");
9180 }
9181 arg4 = static_cast< int >(val4);
9182 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxDC, 0 | 0 );
9183 if (!SWIG_IsOK(res5)) {
9184 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "5"" of type '" "wxDC *""'");
9185 }
9186 arg5 = reinterpret_cast< wxDC * >(argp5);
9187 res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxDC, 0 | 0 );
9188 if (!SWIG_IsOK(res6)) {
9189 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "6"" of type '" "wxDC *""'");
9190 }
9191 arg6 = reinterpret_cast< wxDC * >(argp6);
9192 {
9193 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxRect, 0 | 0);
9194 if (!SWIG_IsOK(res7)) {
9195 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9196 }
9197 if (!argp7) {
9198 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9199 } else {
9200 wxRect * temp = reinterpret_cast< wxRect * >(argp7);
9201 arg7 = *temp;
9202 if (SWIG_IsNewObj(res7)) delete temp;
9203 }
9204 }
9205 {
9206 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxRect, 0 | 0);
9207 if (!SWIG_IsOK(res8)) {
9208 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9209 }
9210 if (!argp8) {
9211 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9212 } else {
9213 wxRect * temp = reinterpret_cast< wxRect * >(argp8);
9214 arg8 = *temp;
9215 if (SWIG_IsNewObj(res8)) delete temp;
9216 }
9217 }
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 resultobj = SWIG_From_int(static_cast< int >(result));
9225 return resultobj;
9226 fail:
9227 return NULL;
9228 }
9229
9230
9231 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9232 PyObject *resultobj = 0;
9233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9234 int result;
9235 void *argp1 = 0 ;
9236 int res1 = 0 ;
9237 PyObject *swig_obj[1] ;
9238
9239 if (!args) SWIG_fail;
9240 swig_obj[0] = args;
9241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9242 if (!SWIG_IsOK(res1)) {
9243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9244 }
9245 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 result = (int)(arg1)->GetFirstVisibleLine();
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 resultobj = SWIG_From_int(static_cast< int >(result));
9253 return resultobj;
9254 fail:
9255 return NULL;
9256 }
9257
9258
9259 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9260 PyObject *resultobj = 0;
9261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9262 int arg2 ;
9263 wxString result;
9264 void *argp1 = 0 ;
9265 int res1 = 0 ;
9266 int val2 ;
9267 int ecode2 = 0 ;
9268 PyObject * obj0 = 0 ;
9269 PyObject * obj1 = 0 ;
9270 char * kwnames[] = {
9271 (char *) "self",(char *) "line", NULL
9272 };
9273
9274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) SWIG_fail;
9275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9276 if (!SWIG_IsOK(res1)) {
9277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9278 }
9279 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9280 ecode2 = SWIG_AsVal_int(obj1, &val2);
9281 if (!SWIG_IsOK(ecode2)) {
9282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "2"" of type '" "int""'");
9283 }
9284 arg2 = static_cast< int >(val2);
9285 {
9286 PyThreadState* __tstate = wxPyBeginAllowThreads();
9287 result = (arg1)->GetLine(arg2);
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 {
9292 #if wxUSE_UNICODE
9293 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9294 #else
9295 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9296 #endif
9297 }
9298 return resultobj;
9299 fail:
9300 return NULL;
9301 }
9302
9303
9304 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9305 PyObject *resultobj = 0;
9306 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9307 int result;
9308 void *argp1 = 0 ;
9309 int res1 = 0 ;
9310 PyObject *swig_obj[1] ;
9311
9312 if (!args) SWIG_fail;
9313 swig_obj[0] = args;
9314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9315 if (!SWIG_IsOK(res1)) {
9316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9317 }
9318 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 result = (int)(arg1)->GetLineCount();
9322 wxPyEndAllowThreads(__tstate);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 }
9325 resultobj = SWIG_From_int(static_cast< int >(result));
9326 return resultobj;
9327 fail:
9328 return NULL;
9329 }
9330
9331
9332 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9333 PyObject *resultobj = 0;
9334 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9335 int arg2 ;
9336 void *argp1 = 0 ;
9337 int res1 = 0 ;
9338 int val2 ;
9339 int ecode2 = 0 ;
9340 PyObject * obj0 = 0 ;
9341 PyObject * obj1 = 0 ;
9342 char * kwnames[] = {
9343 (char *) "self",(char *) "pixelWidth", NULL
9344 };
9345
9346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) SWIG_fail;
9347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9348 if (!SWIG_IsOK(res1)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9350 }
9351 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9352 ecode2 = SWIG_AsVal_int(obj1, &val2);
9353 if (!SWIG_IsOK(ecode2)) {
9354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "2"" of type '" "int""'");
9355 }
9356 arg2 = static_cast< int >(val2);
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 (arg1)->SetMarginLeft(arg2);
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 resultobj = SWIG_Py_Void();
9364 return resultobj;
9365 fail:
9366 return NULL;
9367 }
9368
9369
9370 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9371 PyObject *resultobj = 0;
9372 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9373 int result;
9374 void *argp1 = 0 ;
9375 int res1 = 0 ;
9376 PyObject *swig_obj[1] ;
9377
9378 if (!args) SWIG_fail;
9379 swig_obj[0] = args;
9380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9381 if (!SWIG_IsOK(res1)) {
9382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9383 }
9384 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9385 {
9386 PyThreadState* __tstate = wxPyBeginAllowThreads();
9387 result = (int)(arg1)->GetMarginLeft();
9388 wxPyEndAllowThreads(__tstate);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 }
9391 resultobj = SWIG_From_int(static_cast< int >(result));
9392 return resultobj;
9393 fail:
9394 return NULL;
9395 }
9396
9397
9398 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9399 PyObject *resultobj = 0;
9400 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9401 int arg2 ;
9402 void *argp1 = 0 ;
9403 int res1 = 0 ;
9404 int val2 ;
9405 int ecode2 = 0 ;
9406 PyObject * obj0 = 0 ;
9407 PyObject * obj1 = 0 ;
9408 char * kwnames[] = {
9409 (char *) "self",(char *) "pixelWidth", NULL
9410 };
9411
9412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) SWIG_fail;
9413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9414 if (!SWIG_IsOK(res1)) {
9415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9416 }
9417 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9418 ecode2 = SWIG_AsVal_int(obj1, &val2);
9419 if (!SWIG_IsOK(ecode2)) {
9420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "2"" of type '" "int""'");
9421 }
9422 arg2 = static_cast< int >(val2);
9423 {
9424 PyThreadState* __tstate = wxPyBeginAllowThreads();
9425 (arg1)->SetMarginRight(arg2);
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 resultobj = SWIG_Py_Void();
9430 return resultobj;
9431 fail:
9432 return NULL;
9433 }
9434
9435
9436 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9437 PyObject *resultobj = 0;
9438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9439 int result;
9440 void *argp1 = 0 ;
9441 int res1 = 0 ;
9442 PyObject *swig_obj[1] ;
9443
9444 if (!args) SWIG_fail;
9445 swig_obj[0] = args;
9446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9447 if (!SWIG_IsOK(res1)) {
9448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9449 }
9450 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 result = (int)(arg1)->GetMarginRight();
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 resultobj = SWIG_From_int(static_cast< int >(result));
9458 return resultobj;
9459 fail:
9460 return NULL;
9461 }
9462
9463
9464 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9465 PyObject *resultobj = 0;
9466 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9467 bool result;
9468 void *argp1 = 0 ;
9469 int res1 = 0 ;
9470 PyObject *swig_obj[1] ;
9471
9472 if (!args) SWIG_fail;
9473 swig_obj[0] = args;
9474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9475 if (!SWIG_IsOK(res1)) {
9476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModify" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9477 }
9478 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (bool)(arg1)->GetModify();
9482 wxPyEndAllowThreads(__tstate);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 }
9485 {
9486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9487 }
9488 return resultobj;
9489 fail:
9490 return NULL;
9491 }
9492
9493
9494 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9495 PyObject *resultobj = 0;
9496 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9497 int arg2 ;
9498 int arg3 ;
9499 void *argp1 = 0 ;
9500 int res1 = 0 ;
9501 int val2 ;
9502 int ecode2 = 0 ;
9503 int val3 ;
9504 int ecode3 = 0 ;
9505 PyObject * obj0 = 0 ;
9506 PyObject * obj1 = 0 ;
9507 PyObject * obj2 = 0 ;
9508 char * kwnames[] = {
9509 (char *) "self",(char *) "start",(char *) "end", NULL
9510 };
9511
9512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9514 if (!SWIG_IsOK(res1)) {
9515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9516 }
9517 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9518 ecode2 = SWIG_AsVal_int(obj1, &val2);
9519 if (!SWIG_IsOK(ecode2)) {
9520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "2"" of type '" "int""'");
9521 }
9522 arg2 = static_cast< int >(val2);
9523 ecode3 = SWIG_AsVal_int(obj2, &val3);
9524 if (!SWIG_IsOK(ecode3)) {
9525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "3"" of type '" "int""'");
9526 }
9527 arg3 = static_cast< int >(val3);
9528 {
9529 PyThreadState* __tstate = wxPyBeginAllowThreads();
9530 (arg1)->SetSelection(arg2,arg3);
9531 wxPyEndAllowThreads(__tstate);
9532 if (PyErr_Occurred()) SWIG_fail;
9533 }
9534 resultobj = SWIG_Py_Void();
9535 return resultobj;
9536 fail:
9537 return NULL;
9538 }
9539
9540
9541 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9542 PyObject *resultobj = 0;
9543 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9544 wxString result;
9545 void *argp1 = 0 ;
9546 int res1 = 0 ;
9547 PyObject *swig_obj[1] ;
9548
9549 if (!args) SWIG_fail;
9550 swig_obj[0] = args;
9551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9552 if (!SWIG_IsOK(res1)) {
9553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9554 }
9555 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9556 {
9557 PyThreadState* __tstate = wxPyBeginAllowThreads();
9558 result = (arg1)->GetSelectedText();
9559 wxPyEndAllowThreads(__tstate);
9560 if (PyErr_Occurred()) SWIG_fail;
9561 }
9562 {
9563 #if wxUSE_UNICODE
9564 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9565 #else
9566 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9567 #endif
9568 }
9569 return resultobj;
9570 fail:
9571 return NULL;
9572 }
9573
9574
9575 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9576 PyObject *resultobj = 0;
9577 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9578 int arg2 ;
9579 int arg3 ;
9580 wxString result;
9581 void *argp1 = 0 ;
9582 int res1 = 0 ;
9583 int val2 ;
9584 int ecode2 = 0 ;
9585 int val3 ;
9586 int ecode3 = 0 ;
9587 PyObject * obj0 = 0 ;
9588 PyObject * obj1 = 0 ;
9589 PyObject * obj2 = 0 ;
9590 char * kwnames[] = {
9591 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
9592 };
9593
9594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9596 if (!SWIG_IsOK(res1)) {
9597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9598 }
9599 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9600 ecode2 = SWIG_AsVal_int(obj1, &val2);
9601 if (!SWIG_IsOK(ecode2)) {
9602 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "2"" of type '" "int""'");
9603 }
9604 arg2 = static_cast< int >(val2);
9605 ecode3 = SWIG_AsVal_int(obj2, &val3);
9606 if (!SWIG_IsOK(ecode3)) {
9607 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "3"" of type '" "int""'");
9608 }
9609 arg3 = static_cast< int >(val3);
9610 {
9611 PyThreadState* __tstate = wxPyBeginAllowThreads();
9612 result = (arg1)->GetTextRange(arg2,arg3);
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 {
9617 #if wxUSE_UNICODE
9618 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9619 #else
9620 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9621 #endif
9622 }
9623 return resultobj;
9624 fail:
9625 return NULL;
9626 }
9627
9628
9629 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9630 PyObject *resultobj = 0;
9631 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9632 bool arg2 ;
9633 void *argp1 = 0 ;
9634 int res1 = 0 ;
9635 bool val2 ;
9636 int ecode2 = 0 ;
9637 PyObject * obj0 = 0 ;
9638 PyObject * obj1 = 0 ;
9639 char * kwnames[] = {
9640 (char *) "self",(char *) "normal", NULL
9641 };
9642
9643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) SWIG_fail;
9644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9645 if (!SWIG_IsOK(res1)) {
9646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9647 }
9648 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9649 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9650 if (!SWIG_IsOK(ecode2)) {
9651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "2"" of type '" "bool""'");
9652 }
9653 arg2 = static_cast< bool >(val2);
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 (arg1)->HideSelection(arg2);
9657 wxPyEndAllowThreads(__tstate);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 resultobj = SWIG_Py_Void();
9661 return resultobj;
9662 fail:
9663 return NULL;
9664 }
9665
9666
9667 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9668 PyObject *resultobj = 0;
9669 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9670 int arg2 ;
9671 int result;
9672 void *argp1 = 0 ;
9673 int res1 = 0 ;
9674 int val2 ;
9675 int ecode2 = 0 ;
9676 PyObject * obj0 = 0 ;
9677 PyObject * obj1 = 0 ;
9678 char * kwnames[] = {
9679 (char *) "self",(char *) "pos", NULL
9680 };
9681
9682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
9683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9684 if (!SWIG_IsOK(res1)) {
9685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9686 }
9687 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9688 ecode2 = SWIG_AsVal_int(obj1, &val2);
9689 if (!SWIG_IsOK(ecode2)) {
9690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "2"" of type '" "int""'");
9691 }
9692 arg2 = static_cast< int >(val2);
9693 {
9694 PyThreadState* __tstate = wxPyBeginAllowThreads();
9695 result = (int)(arg1)->LineFromPosition(arg2);
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 resultobj = SWIG_From_int(static_cast< int >(result));
9700 return resultobj;
9701 fail:
9702 return NULL;
9703 }
9704
9705
9706 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9707 PyObject *resultobj = 0;
9708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9709 int arg2 ;
9710 int result;
9711 void *argp1 = 0 ;
9712 int res1 = 0 ;
9713 int val2 ;
9714 int ecode2 = 0 ;
9715 PyObject * obj0 = 0 ;
9716 PyObject * obj1 = 0 ;
9717 char * kwnames[] = {
9718 (char *) "self",(char *) "line", NULL
9719 };
9720
9721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) SWIG_fail;
9722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9723 if (!SWIG_IsOK(res1)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9725 }
9726 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9727 ecode2 = SWIG_AsVal_int(obj1, &val2);
9728 if (!SWIG_IsOK(ecode2)) {
9729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "2"" of type '" "int""'");
9730 }
9731 arg2 = static_cast< int >(val2);
9732 {
9733 PyThreadState* __tstate = wxPyBeginAllowThreads();
9734 result = (int)(arg1)->PositionFromLine(arg2);
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 resultobj = SWIG_From_int(static_cast< int >(result));
9739 return resultobj;
9740 fail:
9741 return NULL;
9742 }
9743
9744
9745 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9746 PyObject *resultobj = 0;
9747 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9748 int arg2 ;
9749 int arg3 ;
9750 void *argp1 = 0 ;
9751 int res1 = 0 ;
9752 int val2 ;
9753 int ecode2 = 0 ;
9754 int val3 ;
9755 int ecode3 = 0 ;
9756 PyObject * obj0 = 0 ;
9757 PyObject * obj1 = 0 ;
9758 PyObject * obj2 = 0 ;
9759 char * kwnames[] = {
9760 (char *) "self",(char *) "columns",(char *) "lines", NULL
9761 };
9762
9763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9765 if (!SWIG_IsOK(res1)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9767 }
9768 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9769 ecode2 = SWIG_AsVal_int(obj1, &val2);
9770 if (!SWIG_IsOK(ecode2)) {
9771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "2"" of type '" "int""'");
9772 }
9773 arg2 = static_cast< int >(val2);
9774 ecode3 = SWIG_AsVal_int(obj2, &val3);
9775 if (!SWIG_IsOK(ecode3)) {
9776 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "3"" of type '" "int""'");
9777 }
9778 arg3 = static_cast< int >(val3);
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
9781 (arg1)->LineScroll(arg2,arg3);
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 resultobj = SWIG_Py_Void();
9786 return resultobj;
9787 fail:
9788 return NULL;
9789 }
9790
9791
9792 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9793 PyObject *resultobj = 0;
9794 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9795 void *argp1 = 0 ;
9796 int res1 = 0 ;
9797 PyObject *swig_obj[1] ;
9798
9799 if (!args) SWIG_fail;
9800 swig_obj[0] = args;
9801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9802 if (!SWIG_IsOK(res1)) {
9803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureCaretVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9804 }
9805 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9806 {
9807 PyThreadState* __tstate = wxPyBeginAllowThreads();
9808 (arg1)->EnsureCaretVisible();
9809 wxPyEndAllowThreads(__tstate);
9810 if (PyErr_Occurred()) SWIG_fail;
9811 }
9812 resultobj = SWIG_Py_Void();
9813 return resultobj;
9814 fail:
9815 return NULL;
9816 }
9817
9818
9819 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9820 PyObject *resultobj = 0;
9821 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9822 wxString *arg2 = 0 ;
9823 void *argp1 = 0 ;
9824 int res1 = 0 ;
9825 bool temp2 = false ;
9826 PyObject * obj0 = 0 ;
9827 PyObject * obj1 = 0 ;
9828 char * kwnames[] = {
9829 (char *) "self",(char *) "text", NULL
9830 };
9831
9832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
9833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9834 if (!SWIG_IsOK(res1)) {
9835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9836 }
9837 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9838 {
9839 arg2 = wxString_in_helper(obj1);
9840 if (arg2 == NULL) SWIG_fail;
9841 temp2 = true;
9842 }
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 (arg1)->ReplaceSelection((wxString const &)*arg2);
9846 wxPyEndAllowThreads(__tstate);
9847 if (PyErr_Occurred()) SWIG_fail;
9848 }
9849 resultobj = SWIG_Py_Void();
9850 {
9851 if (temp2)
9852 delete arg2;
9853 }
9854 return resultobj;
9855 fail:
9856 {
9857 if (temp2)
9858 delete arg2;
9859 }
9860 return NULL;
9861 }
9862
9863
9864 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj = 0;
9866 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9867 bool arg2 ;
9868 void *argp1 = 0 ;
9869 int res1 = 0 ;
9870 bool val2 ;
9871 int ecode2 = 0 ;
9872 PyObject * obj0 = 0 ;
9873 PyObject * obj1 = 0 ;
9874 char * kwnames[] = {
9875 (char *) "self",(char *) "readOnly", NULL
9876 };
9877
9878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) SWIG_fail;
9879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9880 if (!SWIG_IsOK(res1)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9882 }
9883 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9884 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9885 if (!SWIG_IsOK(ecode2)) {
9886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
9887 }
9888 arg2 = static_cast< bool >(val2);
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 (arg1)->SetReadOnly(arg2);
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 resultobj = SWIG_Py_Void();
9896 return resultobj;
9897 fail:
9898 return NULL;
9899 }
9900
9901
9902 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9903 PyObject *resultobj = 0;
9904 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9905 bool result;
9906 void *argp1 = 0 ;
9907 int res1 = 0 ;
9908 PyObject *swig_obj[1] ;
9909
9910 if (!args) SWIG_fail;
9911 swig_obj[0] = args;
9912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9913 if (!SWIG_IsOK(res1)) {
9914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9915 }
9916 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 result = (bool)(arg1)->CanPaste();
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
9923 {
9924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9925 }
9926 return resultobj;
9927 fail:
9928 return NULL;
9929 }
9930
9931
9932 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9933 PyObject *resultobj = 0;
9934 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9935 bool result;
9936 void *argp1 = 0 ;
9937 int res1 = 0 ;
9938 PyObject *swig_obj[1] ;
9939
9940 if (!args) SWIG_fail;
9941 swig_obj[0] = args;
9942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9943 if (!SWIG_IsOK(res1)) {
9944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9945 }
9946 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 result = (bool)(arg1)->CanUndo();
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
9953 {
9954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9955 }
9956 return resultobj;
9957 fail:
9958 return NULL;
9959 }
9960
9961
9962 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9963 PyObject *resultobj = 0;
9964 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9965 void *argp1 = 0 ;
9966 int res1 = 0 ;
9967 PyObject *swig_obj[1] ;
9968
9969 if (!args) SWIG_fail;
9970 swig_obj[0] = args;
9971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9972 if (!SWIG_IsOK(res1)) {
9973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EmptyUndoBuffer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9974 }
9975 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 (arg1)->EmptyUndoBuffer();
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 resultobj = SWIG_Py_Void();
9983 return resultobj;
9984 fail:
9985 return NULL;
9986 }
9987
9988
9989 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9990 PyObject *resultobj = 0;
9991 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9992 void *argp1 = 0 ;
9993 int res1 = 0 ;
9994 PyObject *swig_obj[1] ;
9995
9996 if (!args) SWIG_fail;
9997 swig_obj[0] = args;
9998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9999 if (!SWIG_IsOK(res1)) {
10000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Undo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10001 }
10002 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 (arg1)->Undo();
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
10009 resultobj = SWIG_Py_Void();
10010 return resultobj;
10011 fail:
10012 return NULL;
10013 }
10014
10015
10016 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10017 PyObject *resultobj = 0;
10018 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10019 void *argp1 = 0 ;
10020 int res1 = 0 ;
10021 PyObject *swig_obj[1] ;
10022
10023 if (!args) SWIG_fail;
10024 swig_obj[0] = args;
10025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10026 if (!SWIG_IsOK(res1)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10028 }
10029 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 (arg1)->Cut();
10033 wxPyEndAllowThreads(__tstate);
10034 if (PyErr_Occurred()) SWIG_fail;
10035 }
10036 resultobj = SWIG_Py_Void();
10037 return resultobj;
10038 fail:
10039 return NULL;
10040 }
10041
10042
10043 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10044 PyObject *resultobj = 0;
10045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10046 void *argp1 = 0 ;
10047 int res1 = 0 ;
10048 PyObject *swig_obj[1] ;
10049
10050 if (!args) SWIG_fail;
10051 swig_obj[0] = args;
10052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10053 if (!SWIG_IsOK(res1)) {
10054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Copy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10055 }
10056 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 (arg1)->Copy();
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 resultobj = SWIG_Py_Void();
10064 return resultobj;
10065 fail:
10066 return NULL;
10067 }
10068
10069
10070 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10071 PyObject *resultobj = 0;
10072 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10073 void *argp1 = 0 ;
10074 int res1 = 0 ;
10075 PyObject *swig_obj[1] ;
10076
10077 if (!args) SWIG_fail;
10078 swig_obj[0] = args;
10079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10080 if (!SWIG_IsOK(res1)) {
10081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Paste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10082 }
10083 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 (arg1)->Paste();
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 resultobj = SWIG_Py_Void();
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10098 PyObject *resultobj = 0;
10099 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10100 void *argp1 = 0 ;
10101 int res1 = 0 ;
10102 PyObject *swig_obj[1] ;
10103
10104 if (!args) SWIG_fail;
10105 swig_obj[0] = args;
10106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10107 if (!SWIG_IsOK(res1)) {
10108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Clear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10109 }
10110 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10111 {
10112 PyThreadState* __tstate = wxPyBeginAllowThreads();
10113 (arg1)->Clear();
10114 wxPyEndAllowThreads(__tstate);
10115 if (PyErr_Occurred()) SWIG_fail;
10116 }
10117 resultobj = SWIG_Py_Void();
10118 return resultobj;
10119 fail:
10120 return NULL;
10121 }
10122
10123
10124 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10125 PyObject *resultobj = 0;
10126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10127 wxString *arg2 = 0 ;
10128 void *argp1 = 0 ;
10129 int res1 = 0 ;
10130 bool temp2 = false ;
10131 PyObject * obj0 = 0 ;
10132 PyObject * obj1 = 0 ;
10133 char * kwnames[] = {
10134 (char *) "self",(char *) "text", NULL
10135 };
10136
10137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
10138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10139 if (!SWIG_IsOK(res1)) {
10140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10141 }
10142 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10143 {
10144 arg2 = wxString_in_helper(obj1);
10145 if (arg2 == NULL) SWIG_fail;
10146 temp2 = true;
10147 }
10148 {
10149 PyThreadState* __tstate = wxPyBeginAllowThreads();
10150 (arg1)->SetText((wxString const &)*arg2);
10151 wxPyEndAllowThreads(__tstate);
10152 if (PyErr_Occurred()) SWIG_fail;
10153 }
10154 resultobj = SWIG_Py_Void();
10155 {
10156 if (temp2)
10157 delete arg2;
10158 }
10159 return resultobj;
10160 fail:
10161 {
10162 if (temp2)
10163 delete arg2;
10164 }
10165 return NULL;
10166 }
10167
10168
10169 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10170 PyObject *resultobj = 0;
10171 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10172 wxString result;
10173 void *argp1 = 0 ;
10174 int res1 = 0 ;
10175 PyObject *swig_obj[1] ;
10176
10177 if (!args) SWIG_fail;
10178 swig_obj[0] = args;
10179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10180 if (!SWIG_IsOK(res1)) {
10181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10182 }
10183 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 result = (arg1)->GetText();
10187 wxPyEndAllowThreads(__tstate);
10188 if (PyErr_Occurred()) SWIG_fail;
10189 }
10190 {
10191 #if wxUSE_UNICODE
10192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10193 #else
10194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10195 #endif
10196 }
10197 return resultobj;
10198 fail:
10199 return NULL;
10200 }
10201
10202
10203 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10204 PyObject *resultobj = 0;
10205 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10206 int result;
10207 void *argp1 = 0 ;
10208 int res1 = 0 ;
10209 PyObject *swig_obj[1] ;
10210
10211 if (!args) SWIG_fail;
10212 swig_obj[0] = args;
10213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10214 if (!SWIG_IsOK(res1)) {
10215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10216 }
10217 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10218 {
10219 PyThreadState* __tstate = wxPyBeginAllowThreads();
10220 result = (int)(arg1)->GetTextLength();
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 resultobj = SWIG_From_int(static_cast< int >(result));
10225 return resultobj;
10226 fail:
10227 return NULL;
10228 }
10229
10230
10231 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10232 PyObject *resultobj = 0;
10233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10234 bool arg2 ;
10235 void *argp1 = 0 ;
10236 int res1 = 0 ;
10237 bool val2 ;
10238 int ecode2 = 0 ;
10239 PyObject * obj0 = 0 ;
10240 PyObject * obj1 = 0 ;
10241 char * kwnames[] = {
10242 (char *) "self",(char *) "overtype", NULL
10243 };
10244
10245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) SWIG_fail;
10246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10247 if (!SWIG_IsOK(res1)) {
10248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10249 }
10250 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10251 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10252 if (!SWIG_IsOK(ecode2)) {
10253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "2"" of type '" "bool""'");
10254 }
10255 arg2 = static_cast< bool >(val2);
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 (arg1)->SetOvertype(arg2);
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 resultobj = SWIG_Py_Void();
10263 return resultobj;
10264 fail:
10265 return NULL;
10266 }
10267
10268
10269 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10270 PyObject *resultobj = 0;
10271 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10272 bool result;
10273 void *argp1 = 0 ;
10274 int res1 = 0 ;
10275 PyObject *swig_obj[1] ;
10276
10277 if (!args) SWIG_fail;
10278 swig_obj[0] = args;
10279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10280 if (!SWIG_IsOK(res1)) {
10281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10282 }
10283 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10284 {
10285 PyThreadState* __tstate = wxPyBeginAllowThreads();
10286 result = (bool)(arg1)->GetOvertype();
10287 wxPyEndAllowThreads(__tstate);
10288 if (PyErr_Occurred()) SWIG_fail;
10289 }
10290 {
10291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10292 }
10293 return resultobj;
10294 fail:
10295 return NULL;
10296 }
10297
10298
10299 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10300 PyObject *resultobj = 0;
10301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10302 int arg2 ;
10303 void *argp1 = 0 ;
10304 int res1 = 0 ;
10305 int val2 ;
10306 int ecode2 = 0 ;
10307 PyObject * obj0 = 0 ;
10308 PyObject * obj1 = 0 ;
10309 char * kwnames[] = {
10310 (char *) "self",(char *) "pixelWidth", NULL
10311 };
10312
10313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) SWIG_fail;
10314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10315 if (!SWIG_IsOK(res1)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10317 }
10318 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10319 ecode2 = SWIG_AsVal_int(obj1, &val2);
10320 if (!SWIG_IsOK(ecode2)) {
10321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "2"" of type '" "int""'");
10322 }
10323 arg2 = static_cast< int >(val2);
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 (arg1)->SetCaretWidth(arg2);
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
10330 resultobj = SWIG_Py_Void();
10331 return resultobj;
10332 fail:
10333 return NULL;
10334 }
10335
10336
10337 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10338 PyObject *resultobj = 0;
10339 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10340 int result;
10341 void *argp1 = 0 ;
10342 int res1 = 0 ;
10343 PyObject *swig_obj[1] ;
10344
10345 if (!args) SWIG_fail;
10346 swig_obj[0] = args;
10347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10348 if (!SWIG_IsOK(res1)) {
10349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10350 }
10351 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10352 {
10353 PyThreadState* __tstate = wxPyBeginAllowThreads();
10354 result = (int)(arg1)->GetCaretWidth();
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
10358 resultobj = SWIG_From_int(static_cast< int >(result));
10359 return resultobj;
10360 fail:
10361 return NULL;
10362 }
10363
10364
10365 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10366 PyObject *resultobj = 0;
10367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10368 int arg2 ;
10369 void *argp1 = 0 ;
10370 int res1 = 0 ;
10371 int val2 ;
10372 int ecode2 = 0 ;
10373 PyObject * obj0 = 0 ;
10374 PyObject * obj1 = 0 ;
10375 char * kwnames[] = {
10376 (char *) "self",(char *) "pos", NULL
10377 };
10378
10379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) SWIG_fail;
10380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10381 if (!SWIG_IsOK(res1)) {
10382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10383 }
10384 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10385 ecode2 = SWIG_AsVal_int(obj1, &val2);
10386 if (!SWIG_IsOK(ecode2)) {
10387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "2"" of type '" "int""'");
10388 }
10389 arg2 = static_cast< int >(val2);
10390 {
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 (arg1)->SetTargetStart(arg2);
10393 wxPyEndAllowThreads(__tstate);
10394 if (PyErr_Occurred()) SWIG_fail;
10395 }
10396 resultobj = SWIG_Py_Void();
10397 return resultobj;
10398 fail:
10399 return NULL;
10400 }
10401
10402
10403 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10404 PyObject *resultobj = 0;
10405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10406 int result;
10407 void *argp1 = 0 ;
10408 int res1 = 0 ;
10409 PyObject *swig_obj[1] ;
10410
10411 if (!args) SWIG_fail;
10412 swig_obj[0] = args;
10413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10414 if (!SWIG_IsOK(res1)) {
10415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10416 }
10417 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 result = (int)(arg1)->GetTargetStart();
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
10424 resultobj = SWIG_From_int(static_cast< int >(result));
10425 return resultobj;
10426 fail:
10427 return NULL;
10428 }
10429
10430
10431 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10432 PyObject *resultobj = 0;
10433 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10434 int arg2 ;
10435 void *argp1 = 0 ;
10436 int res1 = 0 ;
10437 int val2 ;
10438 int ecode2 = 0 ;
10439 PyObject * obj0 = 0 ;
10440 PyObject * obj1 = 0 ;
10441 char * kwnames[] = {
10442 (char *) "self",(char *) "pos", NULL
10443 };
10444
10445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10447 if (!SWIG_IsOK(res1)) {
10448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10449 }
10450 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10451 ecode2 = SWIG_AsVal_int(obj1, &val2);
10452 if (!SWIG_IsOK(ecode2)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "2"" of type '" "int""'");
10454 }
10455 arg2 = static_cast< int >(val2);
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 (arg1)->SetTargetEnd(arg2);
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 resultobj = SWIG_Py_Void();
10463 return resultobj;
10464 fail:
10465 return NULL;
10466 }
10467
10468
10469 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10470 PyObject *resultobj = 0;
10471 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10472 int result;
10473 void *argp1 = 0 ;
10474 int res1 = 0 ;
10475 PyObject *swig_obj[1] ;
10476
10477 if (!args) SWIG_fail;
10478 swig_obj[0] = args;
10479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10480 if (!SWIG_IsOK(res1)) {
10481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10482 }
10483 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10484 {
10485 PyThreadState* __tstate = wxPyBeginAllowThreads();
10486 result = (int)(arg1)->GetTargetEnd();
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 resultobj = SWIG_From_int(static_cast< int >(result));
10491 return resultobj;
10492 fail:
10493 return NULL;
10494 }
10495
10496
10497 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10498 PyObject *resultobj = 0;
10499 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10500 wxString *arg2 = 0 ;
10501 int result;
10502 void *argp1 = 0 ;
10503 int res1 = 0 ;
10504 bool temp2 = false ;
10505 PyObject * obj0 = 0 ;
10506 PyObject * obj1 = 0 ;
10507 char * kwnames[] = {
10508 (char *) "self",(char *) "text", NULL
10509 };
10510
10511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) SWIG_fail;
10512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10513 if (!SWIG_IsOK(res1)) {
10514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10515 }
10516 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10517 {
10518 arg2 = wxString_in_helper(obj1);
10519 if (arg2 == NULL) SWIG_fail;
10520 temp2 = true;
10521 }
10522 {
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
10524 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 resultobj = SWIG_From_int(static_cast< int >(result));
10529 {
10530 if (temp2)
10531 delete arg2;
10532 }
10533 return resultobj;
10534 fail:
10535 {
10536 if (temp2)
10537 delete arg2;
10538 }
10539 return NULL;
10540 }
10541
10542
10543 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10544 PyObject *resultobj = 0;
10545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10546 wxString *arg2 = 0 ;
10547 int result;
10548 void *argp1 = 0 ;
10549 int res1 = 0 ;
10550 bool temp2 = false ;
10551 PyObject * obj0 = 0 ;
10552 PyObject * obj1 = 0 ;
10553 char * kwnames[] = {
10554 (char *) "self",(char *) "text", NULL
10555 };
10556
10557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) SWIG_fail;
10558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10559 if (!SWIG_IsOK(res1)) {
10560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTargetRE" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10561 }
10562 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10563 {
10564 arg2 = wxString_in_helper(obj1);
10565 if (arg2 == NULL) SWIG_fail;
10566 temp2 = true;
10567 }
10568 {
10569 PyThreadState* __tstate = wxPyBeginAllowThreads();
10570 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
10571 wxPyEndAllowThreads(__tstate);
10572 if (PyErr_Occurred()) SWIG_fail;
10573 }
10574 resultobj = SWIG_From_int(static_cast< int >(result));
10575 {
10576 if (temp2)
10577 delete arg2;
10578 }
10579 return resultobj;
10580 fail:
10581 {
10582 if (temp2)
10583 delete arg2;
10584 }
10585 return NULL;
10586 }
10587
10588
10589 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10590 PyObject *resultobj = 0;
10591 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10592 wxString *arg2 = 0 ;
10593 int result;
10594 void *argp1 = 0 ;
10595 int res1 = 0 ;
10596 bool temp2 = false ;
10597 PyObject * obj0 = 0 ;
10598 PyObject * obj1 = 0 ;
10599 char * kwnames[] = {
10600 (char *) "self",(char *) "text", NULL
10601 };
10602
10603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) SWIG_fail;
10604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10605 if (!SWIG_IsOK(res1)) {
10606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchInTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10607 }
10608 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10609 {
10610 arg2 = wxString_in_helper(obj1);
10611 if (arg2 == NULL) SWIG_fail;
10612 temp2 = true;
10613 }
10614 {
10615 PyThreadState* __tstate = wxPyBeginAllowThreads();
10616 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 resultobj = SWIG_From_int(static_cast< int >(result));
10621 {
10622 if (temp2)
10623 delete arg2;
10624 }
10625 return resultobj;
10626 fail:
10627 {
10628 if (temp2)
10629 delete arg2;
10630 }
10631 return NULL;
10632 }
10633
10634
10635 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10636 PyObject *resultobj = 0;
10637 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10638 int arg2 ;
10639 void *argp1 = 0 ;
10640 int res1 = 0 ;
10641 int val2 ;
10642 int ecode2 = 0 ;
10643 PyObject * obj0 = 0 ;
10644 PyObject * obj1 = 0 ;
10645 char * kwnames[] = {
10646 (char *) "self",(char *) "flags", NULL
10647 };
10648
10649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10651 if (!SWIG_IsOK(res1)) {
10652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10653 }
10654 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10655 ecode2 = SWIG_AsVal_int(obj1, &val2);
10656 if (!SWIG_IsOK(ecode2)) {
10657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "2"" of type '" "int""'");
10658 }
10659 arg2 = static_cast< int >(val2);
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 (arg1)->SetSearchFlags(arg2);
10663 wxPyEndAllowThreads(__tstate);
10664 if (PyErr_Occurred()) SWIG_fail;
10665 }
10666 resultobj = SWIG_Py_Void();
10667 return resultobj;
10668 fail:
10669 return NULL;
10670 }
10671
10672
10673 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10674 PyObject *resultobj = 0;
10675 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10676 int result;
10677 void *argp1 = 0 ;
10678 int res1 = 0 ;
10679 PyObject *swig_obj[1] ;
10680
10681 if (!args) SWIG_fail;
10682 swig_obj[0] = args;
10683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10684 if (!SWIG_IsOK(res1)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10686 }
10687 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10688 {
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
10690 result = (int)(arg1)->GetSearchFlags();
10691 wxPyEndAllowThreads(__tstate);
10692 if (PyErr_Occurred()) SWIG_fail;
10693 }
10694 resultobj = SWIG_From_int(static_cast< int >(result));
10695 return resultobj;
10696 fail:
10697 return NULL;
10698 }
10699
10700
10701 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10702 PyObject *resultobj = 0;
10703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10704 int arg2 ;
10705 wxString *arg3 = 0 ;
10706 void *argp1 = 0 ;
10707 int res1 = 0 ;
10708 int val2 ;
10709 int ecode2 = 0 ;
10710 bool temp3 = false ;
10711 PyObject * obj0 = 0 ;
10712 PyObject * obj1 = 0 ;
10713 PyObject * obj2 = 0 ;
10714 char * kwnames[] = {
10715 (char *) "self",(char *) "pos",(char *) "definition", NULL
10716 };
10717
10718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10720 if (!SWIG_IsOK(res1)) {
10721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10722 }
10723 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10724 ecode2 = SWIG_AsVal_int(obj1, &val2);
10725 if (!SWIG_IsOK(ecode2)) {
10726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "2"" of type '" "int""'");
10727 }
10728 arg2 = static_cast< int >(val2);
10729 {
10730 arg3 = wxString_in_helper(obj2);
10731 if (arg3 == NULL) SWIG_fail;
10732 temp3 = true;
10733 }
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 resultobj = SWIG_Py_Void();
10741 {
10742 if (temp3)
10743 delete arg3;
10744 }
10745 return resultobj;
10746 fail:
10747 {
10748 if (temp3)
10749 delete arg3;
10750 }
10751 return NULL;
10752 }
10753
10754
10755 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10756 PyObject *resultobj = 0;
10757 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10758 void *argp1 = 0 ;
10759 int res1 = 0 ;
10760 PyObject *swig_obj[1] ;
10761
10762 if (!args) SWIG_fail;
10763 swig_obj[0] = args;
10764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10765 if (!SWIG_IsOK(res1)) {
10766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10767 }
10768 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 (arg1)->CallTipCancel();
10772 wxPyEndAllowThreads(__tstate);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 }
10775 resultobj = SWIG_Py_Void();
10776 return resultobj;
10777 fail:
10778 return NULL;
10779 }
10780
10781
10782 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10783 PyObject *resultobj = 0;
10784 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10785 bool result;
10786 void *argp1 = 0 ;
10787 int res1 = 0 ;
10788 PyObject *swig_obj[1] ;
10789
10790 if (!args) SWIG_fail;
10791 swig_obj[0] = args;
10792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10793 if (!SWIG_IsOK(res1)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10795 }
10796 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10797 {
10798 PyThreadState* __tstate = wxPyBeginAllowThreads();
10799 result = (bool)(arg1)->CallTipActive();
10800 wxPyEndAllowThreads(__tstate);
10801 if (PyErr_Occurred()) SWIG_fail;
10802 }
10803 {
10804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10805 }
10806 return resultobj;
10807 fail:
10808 return NULL;
10809 }
10810
10811
10812 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10813 PyObject *resultobj = 0;
10814 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10815 int result;
10816 void *argp1 = 0 ;
10817 int res1 = 0 ;
10818 PyObject *swig_obj[1] ;
10819
10820 if (!args) SWIG_fail;
10821 swig_obj[0] = args;
10822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10823 if (!SWIG_IsOK(res1)) {
10824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipPosAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10825 }
10826 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 result = (int)(arg1)->CallTipPosAtStart();
10830 wxPyEndAllowThreads(__tstate);
10831 if (PyErr_Occurred()) SWIG_fail;
10832 }
10833 resultobj = SWIG_From_int(static_cast< int >(result));
10834 return resultobj;
10835 fail:
10836 return NULL;
10837 }
10838
10839
10840 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10841 PyObject *resultobj = 0;
10842 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10843 int arg2 ;
10844 int arg3 ;
10845 void *argp1 = 0 ;
10846 int res1 = 0 ;
10847 int val2 ;
10848 int ecode2 = 0 ;
10849 int val3 ;
10850 int ecode3 = 0 ;
10851 PyObject * obj0 = 0 ;
10852 PyObject * obj1 = 0 ;
10853 PyObject * obj2 = 0 ;
10854 char * kwnames[] = {
10855 (char *) "self",(char *) "start",(char *) "end", NULL
10856 };
10857
10858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10860 if (!SWIG_IsOK(res1)) {
10861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10862 }
10863 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10864 ecode2 = SWIG_AsVal_int(obj1, &val2);
10865 if (!SWIG_IsOK(ecode2)) {
10866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "2"" of type '" "int""'");
10867 }
10868 arg2 = static_cast< int >(val2);
10869 ecode3 = SWIG_AsVal_int(obj2, &val3);
10870 if (!SWIG_IsOK(ecode3)) {
10871 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "3"" of type '" "int""'");
10872 }
10873 arg3 = static_cast< int >(val3);
10874 {
10875 PyThreadState* __tstate = wxPyBeginAllowThreads();
10876 (arg1)->CallTipSetHighlight(arg2,arg3);
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 resultobj = SWIG_Py_Void();
10881 return resultobj;
10882 fail:
10883 return NULL;
10884 }
10885
10886
10887 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10888 PyObject *resultobj = 0;
10889 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10890 wxColour *arg2 = 0 ;
10891 void *argp1 = 0 ;
10892 int res1 = 0 ;
10893 wxColour temp2 ;
10894 PyObject * obj0 = 0 ;
10895 PyObject * obj1 = 0 ;
10896 char * kwnames[] = {
10897 (char *) "self",(char *) "back", NULL
10898 };
10899
10900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) SWIG_fail;
10901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10902 if (!SWIG_IsOK(res1)) {
10903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10904 }
10905 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10906 {
10907 arg2 = &temp2;
10908 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10909 }
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
10913 wxPyEndAllowThreads(__tstate);
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 resultobj = SWIG_Py_Void();
10917 return resultobj;
10918 fail:
10919 return NULL;
10920 }
10921
10922
10923 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10924 PyObject *resultobj = 0;
10925 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10926 wxColour *arg2 = 0 ;
10927 void *argp1 = 0 ;
10928 int res1 = 0 ;
10929 wxColour temp2 ;
10930 PyObject * obj0 = 0 ;
10931 PyObject * obj1 = 0 ;
10932 char * kwnames[] = {
10933 (char *) "self",(char *) "fore", NULL
10934 };
10935
10936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
10937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10938 if (!SWIG_IsOK(res1)) {
10939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10940 }
10941 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10942 {
10943 arg2 = &temp2;
10944 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10945 }
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 resultobj = SWIG_Py_Void();
10953 return resultobj;
10954 fail:
10955 return NULL;
10956 }
10957
10958
10959 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10960 PyObject *resultobj = 0;
10961 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10962 wxColour *arg2 = 0 ;
10963 void *argp1 = 0 ;
10964 int res1 = 0 ;
10965 wxColour temp2 ;
10966 PyObject * obj0 = 0 ;
10967 PyObject * obj1 = 0 ;
10968 char * kwnames[] = {
10969 (char *) "self",(char *) "fore", NULL
10970 };
10971
10972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) SWIG_fail;
10973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10974 if (!SWIG_IsOK(res1)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForegroundHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10976 }
10977 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10978 {
10979 arg2 = &temp2;
10980 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10981 }
10982 {
10983 PyThreadState* __tstate = wxPyBeginAllowThreads();
10984 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
10985 wxPyEndAllowThreads(__tstate);
10986 if (PyErr_Occurred()) SWIG_fail;
10987 }
10988 resultobj = SWIG_Py_Void();
10989 return resultobj;
10990 fail:
10991 return NULL;
10992 }
10993
10994
10995 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipUseStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10996 PyObject *resultobj = 0;
10997 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10998 int arg2 ;
10999 void *argp1 = 0 ;
11000 int res1 = 0 ;
11001 int val2 ;
11002 int ecode2 = 0 ;
11003 PyObject * obj0 = 0 ;
11004 PyObject * obj1 = 0 ;
11005 char * kwnames[] = {
11006 (char *) "self",(char *) "tabSize", NULL
11007 };
11008
11009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipUseStyle",kwnames,&obj0,&obj1)) SWIG_fail;
11010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11011 if (!SWIG_IsOK(res1)) {
11012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipUseStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11013 }
11014 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11015 ecode2 = SWIG_AsVal_int(obj1, &val2);
11016 if (!SWIG_IsOK(ecode2)) {
11017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipUseStyle" "', expected argument " "2"" of type '" "int""'");
11018 }
11019 arg2 = static_cast< int >(val2);
11020 {
11021 PyThreadState* __tstate = wxPyBeginAllowThreads();
11022 (arg1)->CallTipUseStyle(arg2);
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
11026 resultobj = SWIG_Py_Void();
11027 return resultobj;
11028 fail:
11029 return NULL;
11030 }
11031
11032
11033 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11034 PyObject *resultobj = 0;
11035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11036 int arg2 ;
11037 int result;
11038 void *argp1 = 0 ;
11039 int res1 = 0 ;
11040 int val2 ;
11041 int ecode2 = 0 ;
11042 PyObject * obj0 = 0 ;
11043 PyObject * obj1 = 0 ;
11044 char * kwnames[] = {
11045 (char *) "self",(char *) "line", NULL
11046 };
11047
11048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) SWIG_fail;
11049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11050 if (!SWIG_IsOK(res1)) {
11051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11052 }
11053 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11054 ecode2 = SWIG_AsVal_int(obj1, &val2);
11055 if (!SWIG_IsOK(ecode2)) {
11056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "2"" of type '" "int""'");
11057 }
11058 arg2 = static_cast< int >(val2);
11059 {
11060 PyThreadState* __tstate = wxPyBeginAllowThreads();
11061 result = (int)(arg1)->VisibleFromDocLine(arg2);
11062 wxPyEndAllowThreads(__tstate);
11063 if (PyErr_Occurred()) SWIG_fail;
11064 }
11065 resultobj = SWIG_From_int(static_cast< int >(result));
11066 return resultobj;
11067 fail:
11068 return NULL;
11069 }
11070
11071
11072 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11073 PyObject *resultobj = 0;
11074 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11075 int arg2 ;
11076 int result;
11077 void *argp1 = 0 ;
11078 int res1 = 0 ;
11079 int val2 ;
11080 int ecode2 = 0 ;
11081 PyObject * obj0 = 0 ;
11082 PyObject * obj1 = 0 ;
11083 char * kwnames[] = {
11084 (char *) "self",(char *) "lineDisplay", NULL
11085 };
11086
11087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11089 if (!SWIG_IsOK(res1)) {
11090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11091 }
11092 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11093 ecode2 = SWIG_AsVal_int(obj1, &val2);
11094 if (!SWIG_IsOK(ecode2)) {
11095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "2"" of type '" "int""'");
11096 }
11097 arg2 = static_cast< int >(val2);
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 result = (int)(arg1)->DocLineFromVisible(arg2);
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 resultobj = SWIG_From_int(static_cast< int >(result));
11105 return resultobj;
11106 fail:
11107 return NULL;
11108 }
11109
11110
11111 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WrapCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11112 PyObject *resultobj = 0;
11113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11114 int arg2 ;
11115 int result;
11116 void *argp1 = 0 ;
11117 int res1 = 0 ;
11118 int val2 ;
11119 int ecode2 = 0 ;
11120 PyObject * obj0 = 0 ;
11121 PyObject * obj1 = 0 ;
11122 char * kwnames[] = {
11123 (char *) "self",(char *) "line", NULL
11124 };
11125
11126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_WrapCount",kwnames,&obj0,&obj1)) SWIG_fail;
11127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11128 if (!SWIG_IsOK(res1)) {
11129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11130 }
11131 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11132 ecode2 = SWIG_AsVal_int(obj1, &val2);
11133 if (!SWIG_IsOK(ecode2)) {
11134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "2"" of type '" "int""'");
11135 }
11136 arg2 = static_cast< int >(val2);
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (int)(arg1)->WrapCount(arg2);
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 resultobj = SWIG_From_int(static_cast< int >(result));
11144 return resultobj;
11145 fail:
11146 return NULL;
11147 }
11148
11149
11150 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11151 PyObject *resultobj = 0;
11152 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11153 int arg2 ;
11154 int arg3 ;
11155 void *argp1 = 0 ;
11156 int res1 = 0 ;
11157 int val2 ;
11158 int ecode2 = 0 ;
11159 int val3 ;
11160 int ecode3 = 0 ;
11161 PyObject * obj0 = 0 ;
11162 PyObject * obj1 = 0 ;
11163 PyObject * obj2 = 0 ;
11164 char * kwnames[] = {
11165 (char *) "self",(char *) "line",(char *) "level", NULL
11166 };
11167
11168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11170 if (!SWIG_IsOK(res1)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11172 }
11173 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11174 ecode2 = SWIG_AsVal_int(obj1, &val2);
11175 if (!SWIG_IsOK(ecode2)) {
11176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11177 }
11178 arg2 = static_cast< int >(val2);
11179 ecode3 = SWIG_AsVal_int(obj2, &val3);
11180 if (!SWIG_IsOK(ecode3)) {
11181 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "3"" of type '" "int""'");
11182 }
11183 arg3 = static_cast< int >(val3);
11184 {
11185 PyThreadState* __tstate = wxPyBeginAllowThreads();
11186 (arg1)->SetFoldLevel(arg2,arg3);
11187 wxPyEndAllowThreads(__tstate);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
11190 resultobj = SWIG_Py_Void();
11191 return resultobj;
11192 fail:
11193 return NULL;
11194 }
11195
11196
11197 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11198 PyObject *resultobj = 0;
11199 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11200 int arg2 ;
11201 int result;
11202 void *argp1 = 0 ;
11203 int res1 = 0 ;
11204 int val2 ;
11205 int ecode2 = 0 ;
11206 PyObject * obj0 = 0 ;
11207 PyObject * obj1 = 0 ;
11208 char * kwnames[] = {
11209 (char *) "self",(char *) "line", NULL
11210 };
11211
11212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) SWIG_fail;
11213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11214 if (!SWIG_IsOK(res1)) {
11215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11216 }
11217 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11218 ecode2 = SWIG_AsVal_int(obj1, &val2);
11219 if (!SWIG_IsOK(ecode2)) {
11220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11221 }
11222 arg2 = static_cast< int >(val2);
11223 {
11224 PyThreadState* __tstate = wxPyBeginAllowThreads();
11225 result = (int)(arg1)->GetFoldLevel(arg2);
11226 wxPyEndAllowThreads(__tstate);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 resultobj = SWIG_From_int(static_cast< int >(result));
11230 return resultobj;
11231 fail:
11232 return NULL;
11233 }
11234
11235
11236 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11237 PyObject *resultobj = 0;
11238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11239 int arg2 ;
11240 int arg3 ;
11241 int result;
11242 void *argp1 = 0 ;
11243 int res1 = 0 ;
11244 int val2 ;
11245 int ecode2 = 0 ;
11246 int val3 ;
11247 int ecode3 = 0 ;
11248 PyObject * obj0 = 0 ;
11249 PyObject * obj1 = 0 ;
11250 PyObject * obj2 = 0 ;
11251 char * kwnames[] = {
11252 (char *) "self",(char *) "line",(char *) "level", NULL
11253 };
11254
11255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11257 if (!SWIG_IsOK(res1)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11259 }
11260 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11261 ecode2 = SWIG_AsVal_int(obj1, &val2);
11262 if (!SWIG_IsOK(ecode2)) {
11263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "2"" of type '" "int""'");
11264 }
11265 arg2 = static_cast< int >(val2);
11266 ecode3 = SWIG_AsVal_int(obj2, &val3);
11267 if (!SWIG_IsOK(ecode3)) {
11268 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "3"" of type '" "int""'");
11269 }
11270 arg3 = static_cast< int >(val3);
11271 {
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 result = (int)(arg1)->GetLastChild(arg2,arg3);
11274 wxPyEndAllowThreads(__tstate);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
11277 resultobj = SWIG_From_int(static_cast< int >(result));
11278 return resultobj;
11279 fail:
11280 return NULL;
11281 }
11282
11283
11284 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11285 PyObject *resultobj = 0;
11286 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11287 int arg2 ;
11288 int result;
11289 void *argp1 = 0 ;
11290 int res1 = 0 ;
11291 int val2 ;
11292 int ecode2 = 0 ;
11293 PyObject * obj0 = 0 ;
11294 PyObject * obj1 = 0 ;
11295 char * kwnames[] = {
11296 (char *) "self",(char *) "line", NULL
11297 };
11298
11299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) SWIG_fail;
11300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11301 if (!SWIG_IsOK(res1)) {
11302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11303 }
11304 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11305 ecode2 = SWIG_AsVal_int(obj1, &val2);
11306 if (!SWIG_IsOK(ecode2)) {
11307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "2"" of type '" "int""'");
11308 }
11309 arg2 = static_cast< int >(val2);
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
11312 result = (int)(arg1)->GetFoldParent(arg2);
11313 wxPyEndAllowThreads(__tstate);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
11316 resultobj = SWIG_From_int(static_cast< int >(result));
11317 return resultobj;
11318 fail:
11319 return NULL;
11320 }
11321
11322
11323 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11324 PyObject *resultobj = 0;
11325 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11326 int arg2 ;
11327 int arg3 ;
11328 void *argp1 = 0 ;
11329 int res1 = 0 ;
11330 int val2 ;
11331 int ecode2 = 0 ;
11332 int val3 ;
11333 int ecode3 = 0 ;
11334 PyObject * obj0 = 0 ;
11335 PyObject * obj1 = 0 ;
11336 PyObject * obj2 = 0 ;
11337 char * kwnames[] = {
11338 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11339 };
11340
11341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11343 if (!SWIG_IsOK(res1)) {
11344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11345 }
11346 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11347 ecode2 = SWIG_AsVal_int(obj1, &val2);
11348 if (!SWIG_IsOK(ecode2)) {
11349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "2"" of type '" "int""'");
11350 }
11351 arg2 = static_cast< int >(val2);
11352 ecode3 = SWIG_AsVal_int(obj2, &val3);
11353 if (!SWIG_IsOK(ecode3)) {
11354 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "3"" of type '" "int""'");
11355 }
11356 arg3 = static_cast< int >(val3);
11357 {
11358 PyThreadState* __tstate = wxPyBeginAllowThreads();
11359 (arg1)->ShowLines(arg2,arg3);
11360 wxPyEndAllowThreads(__tstate);
11361 if (PyErr_Occurred()) SWIG_fail;
11362 }
11363 resultobj = SWIG_Py_Void();
11364 return resultobj;
11365 fail:
11366 return NULL;
11367 }
11368
11369
11370 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11371 PyObject *resultobj = 0;
11372 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11373 int arg2 ;
11374 int arg3 ;
11375 void *argp1 = 0 ;
11376 int res1 = 0 ;
11377 int val2 ;
11378 int ecode2 = 0 ;
11379 int val3 ;
11380 int ecode3 = 0 ;
11381 PyObject * obj0 = 0 ;
11382 PyObject * obj1 = 0 ;
11383 PyObject * obj2 = 0 ;
11384 char * kwnames[] = {
11385 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11386 };
11387
11388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11390 if (!SWIG_IsOK(res1)) {
11391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11392 }
11393 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11394 ecode2 = SWIG_AsVal_int(obj1, &val2);
11395 if (!SWIG_IsOK(ecode2)) {
11396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "2"" of type '" "int""'");
11397 }
11398 arg2 = static_cast< int >(val2);
11399 ecode3 = SWIG_AsVal_int(obj2, &val3);
11400 if (!SWIG_IsOK(ecode3)) {
11401 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "3"" of type '" "int""'");
11402 }
11403 arg3 = static_cast< int >(val3);
11404 {
11405 PyThreadState* __tstate = wxPyBeginAllowThreads();
11406 (arg1)->HideLines(arg2,arg3);
11407 wxPyEndAllowThreads(__tstate);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
11410 resultobj = SWIG_Py_Void();
11411 return resultobj;
11412 fail:
11413 return NULL;
11414 }
11415
11416
11417 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11418 PyObject *resultobj = 0;
11419 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11420 int arg2 ;
11421 bool result;
11422 void *argp1 = 0 ;
11423 int res1 = 0 ;
11424 int val2 ;
11425 int ecode2 = 0 ;
11426 PyObject * obj0 = 0 ;
11427 PyObject * obj1 = 0 ;
11428 char * kwnames[] = {
11429 (char *) "self",(char *) "line", NULL
11430 };
11431
11432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11434 if (!SWIG_IsOK(res1)) {
11435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11436 }
11437 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11438 ecode2 = SWIG_AsVal_int(obj1, &val2);
11439 if (!SWIG_IsOK(ecode2)) {
11440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "2"" of type '" "int""'");
11441 }
11442 arg2 = static_cast< int >(val2);
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 result = (bool)(arg1)->GetLineVisible(arg2);
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 {
11450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11451 }
11452 return resultobj;
11453 fail:
11454 return NULL;
11455 }
11456
11457
11458 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11459 PyObject *resultobj = 0;
11460 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11461 int arg2 ;
11462 bool arg3 ;
11463 void *argp1 = 0 ;
11464 int res1 = 0 ;
11465 int val2 ;
11466 int ecode2 = 0 ;
11467 bool val3 ;
11468 int ecode3 = 0 ;
11469 PyObject * obj0 = 0 ;
11470 PyObject * obj1 = 0 ;
11471 PyObject * obj2 = 0 ;
11472 char * kwnames[] = {
11473 (char *) "self",(char *) "line",(char *) "expanded", NULL
11474 };
11475
11476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11478 if (!SWIG_IsOK(res1)) {
11479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11480 }
11481 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11482 ecode2 = SWIG_AsVal_int(obj1, &val2);
11483 if (!SWIG_IsOK(ecode2)) {
11484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11485 }
11486 arg2 = static_cast< int >(val2);
11487 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11488 if (!SWIG_IsOK(ecode3)) {
11489 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "3"" of type '" "bool""'");
11490 }
11491 arg3 = static_cast< bool >(val3);
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 (arg1)->SetFoldExpanded(arg2,arg3);
11495 wxPyEndAllowThreads(__tstate);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
11498 resultobj = SWIG_Py_Void();
11499 return resultobj;
11500 fail:
11501 return NULL;
11502 }
11503
11504
11505 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11506 PyObject *resultobj = 0;
11507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11508 int arg2 ;
11509 bool result;
11510 void *argp1 = 0 ;
11511 int res1 = 0 ;
11512 int val2 ;
11513 int ecode2 = 0 ;
11514 PyObject * obj0 = 0 ;
11515 PyObject * obj1 = 0 ;
11516 char * kwnames[] = {
11517 (char *) "self",(char *) "line", NULL
11518 };
11519
11520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
11521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11522 if (!SWIG_IsOK(res1)) {
11523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11524 }
11525 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11526 ecode2 = SWIG_AsVal_int(obj1, &val2);
11527 if (!SWIG_IsOK(ecode2)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11529 }
11530 arg2 = static_cast< int >(val2);
11531 {
11532 PyThreadState* __tstate = wxPyBeginAllowThreads();
11533 result = (bool)(arg1)->GetFoldExpanded(arg2);
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 {
11538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11539 }
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj = 0;
11548 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11549 int arg2 ;
11550 void *argp1 = 0 ;
11551 int res1 = 0 ;
11552 int val2 ;
11553 int ecode2 = 0 ;
11554 PyObject * obj0 = 0 ;
11555 PyObject * obj1 = 0 ;
11556 char * kwnames[] = {
11557 (char *) "self",(char *) "line", NULL
11558 };
11559
11560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) SWIG_fail;
11561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11562 if (!SWIG_IsOK(res1)) {
11563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11564 }
11565 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11566 ecode2 = SWIG_AsVal_int(obj1, &val2);
11567 if (!SWIG_IsOK(ecode2)) {
11568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "2"" of type '" "int""'");
11569 }
11570 arg2 = static_cast< int >(val2);
11571 {
11572 PyThreadState* __tstate = wxPyBeginAllowThreads();
11573 (arg1)->ToggleFold(arg2);
11574 wxPyEndAllowThreads(__tstate);
11575 if (PyErr_Occurred()) SWIG_fail;
11576 }
11577 resultobj = SWIG_Py_Void();
11578 return resultobj;
11579 fail:
11580 return NULL;
11581 }
11582
11583
11584 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11585 PyObject *resultobj = 0;
11586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11587 int arg2 ;
11588 void *argp1 = 0 ;
11589 int res1 = 0 ;
11590 int val2 ;
11591 int ecode2 = 0 ;
11592 PyObject * obj0 = 0 ;
11593 PyObject * obj1 = 0 ;
11594 char * kwnames[] = {
11595 (char *) "self",(char *) "line", NULL
11596 };
11597
11598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11600 if (!SWIG_IsOK(res1)) {
11601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11602 }
11603 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11604 ecode2 = SWIG_AsVal_int(obj1, &val2);
11605 if (!SWIG_IsOK(ecode2)) {
11606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
11607 }
11608 arg2 = static_cast< int >(val2);
11609 {
11610 PyThreadState* __tstate = wxPyBeginAllowThreads();
11611 (arg1)->EnsureVisible(arg2);
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 resultobj = SWIG_Py_Void();
11616 return resultobj;
11617 fail:
11618 return NULL;
11619 }
11620
11621
11622 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj = 0;
11624 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11625 int arg2 ;
11626 void *argp1 = 0 ;
11627 int res1 = 0 ;
11628 int val2 ;
11629 int ecode2 = 0 ;
11630 PyObject * obj0 = 0 ;
11631 PyObject * obj1 = 0 ;
11632 char * kwnames[] = {
11633 (char *) "self",(char *) "flags", NULL
11634 };
11635
11636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11638 if (!SWIG_IsOK(res1)) {
11639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11640 }
11641 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11642 ecode2 = SWIG_AsVal_int(obj1, &val2);
11643 if (!SWIG_IsOK(ecode2)) {
11644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "2"" of type '" "int""'");
11645 }
11646 arg2 = static_cast< int >(val2);
11647 {
11648 PyThreadState* __tstate = wxPyBeginAllowThreads();
11649 (arg1)->SetFoldFlags(arg2);
11650 wxPyEndAllowThreads(__tstate);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
11653 resultobj = SWIG_Py_Void();
11654 return resultobj;
11655 fail:
11656 return NULL;
11657 }
11658
11659
11660 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11661 PyObject *resultobj = 0;
11662 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11663 int arg2 ;
11664 void *argp1 = 0 ;
11665 int res1 = 0 ;
11666 int val2 ;
11667 int ecode2 = 0 ;
11668 PyObject * obj0 = 0 ;
11669 PyObject * obj1 = 0 ;
11670 char * kwnames[] = {
11671 (char *) "self",(char *) "line", NULL
11672 };
11673
11674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) SWIG_fail;
11675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11676 if (!SWIG_IsOK(res1)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11678 }
11679 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11680 ecode2 = SWIG_AsVal_int(obj1, &val2);
11681 if (!SWIG_IsOK(ecode2)) {
11682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "2"" of type '" "int""'");
11683 }
11684 arg2 = static_cast< int >(val2);
11685 {
11686 PyThreadState* __tstate = wxPyBeginAllowThreads();
11687 (arg1)->EnsureVisibleEnforcePolicy(arg2);
11688 wxPyEndAllowThreads(__tstate);
11689 if (PyErr_Occurred()) SWIG_fail;
11690 }
11691 resultobj = SWIG_Py_Void();
11692 return resultobj;
11693 fail:
11694 return NULL;
11695 }
11696
11697
11698 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11699 PyObject *resultobj = 0;
11700 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11701 bool arg2 ;
11702 void *argp1 = 0 ;
11703 int res1 = 0 ;
11704 bool val2 ;
11705 int ecode2 = 0 ;
11706 PyObject * obj0 = 0 ;
11707 PyObject * obj1 = 0 ;
11708 char * kwnames[] = {
11709 (char *) "self",(char *) "tabIndents", NULL
11710 };
11711
11712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) SWIG_fail;
11713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11714 if (!SWIG_IsOK(res1)) {
11715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11716 }
11717 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11718 ecode2 = SWIG_AsVal_bool(obj1, &val2);
11719 if (!SWIG_IsOK(ecode2)) {
11720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "2"" of type '" "bool""'");
11721 }
11722 arg2 = static_cast< bool >(val2);
11723 {
11724 PyThreadState* __tstate = wxPyBeginAllowThreads();
11725 (arg1)->SetTabIndents(arg2);
11726 wxPyEndAllowThreads(__tstate);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 }
11729 resultobj = SWIG_Py_Void();
11730 return resultobj;
11731 fail:
11732 return NULL;
11733 }
11734
11735
11736 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11737 PyObject *resultobj = 0;
11738 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11739 bool result;
11740 void *argp1 = 0 ;
11741 int res1 = 0 ;
11742 PyObject *swig_obj[1] ;
11743
11744 if (!args) SWIG_fail;
11745 swig_obj[0] = args;
11746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11747 if (!SWIG_IsOK(res1)) {
11748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11749 }
11750 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11751 {
11752 PyThreadState* __tstate = wxPyBeginAllowThreads();
11753 result = (bool)(arg1)->GetTabIndents();
11754 wxPyEndAllowThreads(__tstate);
11755 if (PyErr_Occurred()) SWIG_fail;
11756 }
11757 {
11758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11759 }
11760 return resultobj;
11761 fail:
11762 return NULL;
11763 }
11764
11765
11766 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11767 PyObject *resultobj = 0;
11768 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11769 bool arg2 ;
11770 void *argp1 = 0 ;
11771 int res1 = 0 ;
11772 bool val2 ;
11773 int ecode2 = 0 ;
11774 PyObject * obj0 = 0 ;
11775 PyObject * obj1 = 0 ;
11776 char * kwnames[] = {
11777 (char *) "self",(char *) "bsUnIndents", NULL
11778 };
11779
11780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) SWIG_fail;
11781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11782 if (!SWIG_IsOK(res1)) {
11783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11784 }
11785 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11786 ecode2 = SWIG_AsVal_bool(obj1, &val2);
11787 if (!SWIG_IsOK(ecode2)) {
11788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "2"" of type '" "bool""'");
11789 }
11790 arg2 = static_cast< bool >(val2);
11791 {
11792 PyThreadState* __tstate = wxPyBeginAllowThreads();
11793 (arg1)->SetBackSpaceUnIndents(arg2);
11794 wxPyEndAllowThreads(__tstate);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 }
11797 resultobj = SWIG_Py_Void();
11798 return resultobj;
11799 fail:
11800 return NULL;
11801 }
11802
11803
11804 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11805 PyObject *resultobj = 0;
11806 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11807 bool result;
11808 void *argp1 = 0 ;
11809 int res1 = 0 ;
11810 PyObject *swig_obj[1] ;
11811
11812 if (!args) SWIG_fail;
11813 swig_obj[0] = args;
11814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11815 if (!SWIG_IsOK(res1)) {
11816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11817 }
11818 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 result = (bool)(arg1)->GetBackSpaceUnIndents();
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 {
11826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11827 }
11828 return resultobj;
11829 fail:
11830 return NULL;
11831 }
11832
11833
11834 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11835 PyObject *resultobj = 0;
11836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11837 int arg2 ;
11838 void *argp1 = 0 ;
11839 int res1 = 0 ;
11840 int val2 ;
11841 int ecode2 = 0 ;
11842 PyObject * obj0 = 0 ;
11843 PyObject * obj1 = 0 ;
11844 char * kwnames[] = {
11845 (char *) "self",(char *) "periodMilliseconds", NULL
11846 };
11847
11848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) SWIG_fail;
11849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11850 if (!SWIG_IsOK(res1)) {
11851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11852 }
11853 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11854 ecode2 = SWIG_AsVal_int(obj1, &val2);
11855 if (!SWIG_IsOK(ecode2)) {
11856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "2"" of type '" "int""'");
11857 }
11858 arg2 = static_cast< int >(val2);
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 (arg1)->SetMouseDwellTime(arg2);
11862 wxPyEndAllowThreads(__tstate);
11863 if (PyErr_Occurred()) SWIG_fail;
11864 }
11865 resultobj = SWIG_Py_Void();
11866 return resultobj;
11867 fail:
11868 return NULL;
11869 }
11870
11871
11872 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11873 PyObject *resultobj = 0;
11874 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11875 int result;
11876 void *argp1 = 0 ;
11877 int res1 = 0 ;
11878 PyObject *swig_obj[1] ;
11879
11880 if (!args) SWIG_fail;
11881 swig_obj[0] = args;
11882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11883 if (!SWIG_IsOK(res1)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11885 }
11886 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11887 {
11888 PyThreadState* __tstate = wxPyBeginAllowThreads();
11889 result = (int)(arg1)->GetMouseDwellTime();
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
11893 resultobj = SWIG_From_int(static_cast< int >(result));
11894 return resultobj;
11895 fail:
11896 return NULL;
11897 }
11898
11899
11900 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj = 0;
11902 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11903 int arg2 ;
11904 bool arg3 ;
11905 int result;
11906 void *argp1 = 0 ;
11907 int res1 = 0 ;
11908 int val2 ;
11909 int ecode2 = 0 ;
11910 bool val3 ;
11911 int ecode3 = 0 ;
11912 PyObject * obj0 = 0 ;
11913 PyObject * obj1 = 0 ;
11914 PyObject * obj2 = 0 ;
11915 char * kwnames[] = {
11916 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11917 };
11918
11919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11921 if (!SWIG_IsOK(res1)) {
11922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11923 }
11924 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11925 ecode2 = SWIG_AsVal_int(obj1, &val2);
11926 if (!SWIG_IsOK(ecode2)) {
11927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "2"" of type '" "int""'");
11928 }
11929 arg2 = static_cast< int >(val2);
11930 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11931 if (!SWIG_IsOK(ecode3)) {
11932 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "3"" of type '" "bool""'");
11933 }
11934 arg3 = static_cast< bool >(val3);
11935 {
11936 PyThreadState* __tstate = wxPyBeginAllowThreads();
11937 result = (int)(arg1)->WordStartPosition(arg2,arg3);
11938 wxPyEndAllowThreads(__tstate);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
11941 resultobj = SWIG_From_int(static_cast< int >(result));
11942 return resultobj;
11943 fail:
11944 return NULL;
11945 }
11946
11947
11948 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11949 PyObject *resultobj = 0;
11950 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11951 int arg2 ;
11952 bool arg3 ;
11953 int result;
11954 void *argp1 = 0 ;
11955 int res1 = 0 ;
11956 int val2 ;
11957 int ecode2 = 0 ;
11958 bool val3 ;
11959 int ecode3 = 0 ;
11960 PyObject * obj0 = 0 ;
11961 PyObject * obj1 = 0 ;
11962 PyObject * obj2 = 0 ;
11963 char * kwnames[] = {
11964 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11965 };
11966
11967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11969 if (!SWIG_IsOK(res1)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11971 }
11972 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11973 ecode2 = SWIG_AsVal_int(obj1, &val2);
11974 if (!SWIG_IsOK(ecode2)) {
11975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "2"" of type '" "int""'");
11976 }
11977 arg2 = static_cast< int >(val2);
11978 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11979 if (!SWIG_IsOK(ecode3)) {
11980 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "3"" of type '" "bool""'");
11981 }
11982 arg3 = static_cast< bool >(val3);
11983 {
11984 PyThreadState* __tstate = wxPyBeginAllowThreads();
11985 result = (int)(arg1)->WordEndPosition(arg2,arg3);
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 resultobj = SWIG_From_int(static_cast< int >(result));
11990 return resultobj;
11991 fail:
11992 return NULL;
11993 }
11994
11995
11996 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11997 PyObject *resultobj = 0;
11998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11999 int arg2 ;
12000 void *argp1 = 0 ;
12001 int res1 = 0 ;
12002 int val2 ;
12003 int ecode2 = 0 ;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 char * kwnames[] = {
12007 (char *) "self",(char *) "mode", NULL
12008 };
12009
12010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
12011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12012 if (!SWIG_IsOK(res1)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12014 }
12015 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12016 ecode2 = SWIG_AsVal_int(obj1, &val2);
12017 if (!SWIG_IsOK(ecode2)) {
12018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "2"" of type '" "int""'");
12019 }
12020 arg2 = static_cast< int >(val2);
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 (arg1)->SetWrapMode(arg2);
12024 wxPyEndAllowThreads(__tstate);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
12027 resultobj = SWIG_Py_Void();
12028 return resultobj;
12029 fail:
12030 return NULL;
12031 }
12032
12033
12034 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12035 PyObject *resultobj = 0;
12036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12037 int result;
12038 void *argp1 = 0 ;
12039 int res1 = 0 ;
12040 PyObject *swig_obj[1] ;
12041
12042 if (!args) SWIG_fail;
12043 swig_obj[0] = args;
12044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12045 if (!SWIG_IsOK(res1)) {
12046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12047 }
12048 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (int)(arg1)->GetWrapMode();
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 resultobj = SWIG_From_int(static_cast< int >(result));
12056 return resultobj;
12057 fail:
12058 return NULL;
12059 }
12060
12061
12062 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj = 0;
12064 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12065 int arg2 ;
12066 void *argp1 = 0 ;
12067 int res1 = 0 ;
12068 int val2 ;
12069 int ecode2 = 0 ;
12070 PyObject * obj0 = 0 ;
12071 PyObject * obj1 = 0 ;
12072 char * kwnames[] = {
12073 (char *) "self",(char *) "wrapVisualFlags", NULL
12074 };
12075
12076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12078 if (!SWIG_IsOK(res1)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12080 }
12081 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12082 ecode2 = SWIG_AsVal_int(obj1, &val2);
12083 if (!SWIG_IsOK(ecode2)) {
12084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "2"" of type '" "int""'");
12085 }
12086 arg2 = static_cast< int >(val2);
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 (arg1)->SetWrapVisualFlags(arg2);
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 resultobj = SWIG_Py_Void();
12094 return resultobj;
12095 fail:
12096 return NULL;
12097 }
12098
12099
12100 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12101 PyObject *resultobj = 0;
12102 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12103 int result;
12104 void *argp1 = 0 ;
12105 int res1 = 0 ;
12106 PyObject *swig_obj[1] ;
12107
12108 if (!args) SWIG_fail;
12109 swig_obj[0] = args;
12110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12111 if (!SWIG_IsOK(res1)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12113 }
12114 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (int)(arg1)->GetWrapVisualFlags();
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 resultobj = SWIG_From_int(static_cast< int >(result));
12122 return resultobj;
12123 fail:
12124 return NULL;
12125 }
12126
12127
12128 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12129 PyObject *resultobj = 0;
12130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12131 int arg2 ;
12132 void *argp1 = 0 ;
12133 int res1 = 0 ;
12134 int val2 ;
12135 int ecode2 = 0 ;
12136 PyObject * obj0 = 0 ;
12137 PyObject * obj1 = 0 ;
12138 char * kwnames[] = {
12139 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
12140 };
12141
12142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) SWIG_fail;
12143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12144 if (!SWIG_IsOK(res1)) {
12145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12146 }
12147 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12148 ecode2 = SWIG_AsVal_int(obj1, &val2);
12149 if (!SWIG_IsOK(ecode2)) {
12150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "2"" of type '" "int""'");
12151 }
12152 arg2 = static_cast< int >(val2);
12153 {
12154 PyThreadState* __tstate = wxPyBeginAllowThreads();
12155 (arg1)->SetWrapVisualFlagsLocation(arg2);
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 resultobj = SWIG_Py_Void();
12160 return resultobj;
12161 fail:
12162 return NULL;
12163 }
12164
12165
12166 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12167 PyObject *resultobj = 0;
12168 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12169 int result;
12170 void *argp1 = 0 ;
12171 int res1 = 0 ;
12172 PyObject *swig_obj[1] ;
12173
12174 if (!args) SWIG_fail;
12175 swig_obj[0] = args;
12176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12177 if (!SWIG_IsOK(res1)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12179 }
12180 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12181 {
12182 PyThreadState* __tstate = wxPyBeginAllowThreads();
12183 result = (int)(arg1)->GetWrapVisualFlagsLocation();
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
12187 resultobj = SWIG_From_int(static_cast< int >(result));
12188 return resultobj;
12189 fail:
12190 return NULL;
12191 }
12192
12193
12194 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj = 0;
12196 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12197 int arg2 ;
12198 void *argp1 = 0 ;
12199 int res1 = 0 ;
12200 int val2 ;
12201 int ecode2 = 0 ;
12202 PyObject * obj0 = 0 ;
12203 PyObject * obj1 = 0 ;
12204 char * kwnames[] = {
12205 (char *) "self",(char *) "indent", NULL
12206 };
12207
12208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) SWIG_fail;
12209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12210 if (!SWIG_IsOK(res1)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12212 }
12213 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12214 ecode2 = SWIG_AsVal_int(obj1, &val2);
12215 if (!SWIG_IsOK(ecode2)) {
12216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "2"" of type '" "int""'");
12217 }
12218 arg2 = static_cast< int >(val2);
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 (arg1)->SetWrapStartIndent(arg2);
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 resultobj = SWIG_Py_Void();
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12233 PyObject *resultobj = 0;
12234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12235 int result;
12236 void *argp1 = 0 ;
12237 int res1 = 0 ;
12238 PyObject *swig_obj[1] ;
12239
12240 if (!args) SWIG_fail;
12241 swig_obj[0] = args;
12242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12243 if (!SWIG_IsOK(res1)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12245 }
12246 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 result = (int)(arg1)->GetWrapStartIndent();
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 resultobj = SWIG_From_int(static_cast< int >(result));
12254 return resultobj;
12255 fail:
12256 return NULL;
12257 }
12258
12259
12260 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj = 0;
12262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12263 int arg2 ;
12264 void *argp1 = 0 ;
12265 int res1 = 0 ;
12266 int val2 ;
12267 int ecode2 = 0 ;
12268 PyObject * obj0 = 0 ;
12269 PyObject * obj1 = 0 ;
12270 char * kwnames[] = {
12271 (char *) "self",(char *) "mode", NULL
12272 };
12273
12274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) SWIG_fail;
12275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12276 if (!SWIG_IsOK(res1)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12278 }
12279 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12280 ecode2 = SWIG_AsVal_int(obj1, &val2);
12281 if (!SWIG_IsOK(ecode2)) {
12282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "2"" of type '" "int""'");
12283 }
12284 arg2 = static_cast< int >(val2);
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 (arg1)->SetLayoutCache(arg2);
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 resultobj = SWIG_Py_Void();
12292 return resultobj;
12293 fail:
12294 return NULL;
12295 }
12296
12297
12298 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12299 PyObject *resultobj = 0;
12300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12301 int result;
12302 void *argp1 = 0 ;
12303 int res1 = 0 ;
12304 PyObject *swig_obj[1] ;
12305
12306 if (!args) SWIG_fail;
12307 swig_obj[0] = args;
12308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12309 if (!SWIG_IsOK(res1)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12311 }
12312 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 result = (int)(arg1)->GetLayoutCache();
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 resultobj = SWIG_From_int(static_cast< int >(result));
12320 return resultobj;
12321 fail:
12322 return NULL;
12323 }
12324
12325
12326 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj = 0;
12328 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12329 int arg2 ;
12330 void *argp1 = 0 ;
12331 int res1 = 0 ;
12332 int val2 ;
12333 int ecode2 = 0 ;
12334 PyObject * obj0 = 0 ;
12335 PyObject * obj1 = 0 ;
12336 char * kwnames[] = {
12337 (char *) "self",(char *) "pixelWidth", NULL
12338 };
12339
12340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) SWIG_fail;
12341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12342 if (!SWIG_IsOK(res1)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12344 }
12345 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12346 ecode2 = SWIG_AsVal_int(obj1, &val2);
12347 if (!SWIG_IsOK(ecode2)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "2"" of type '" "int""'");
12349 }
12350 arg2 = static_cast< int >(val2);
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 (arg1)->SetScrollWidth(arg2);
12354 wxPyEndAllowThreads(__tstate);
12355 if (PyErr_Occurred()) SWIG_fail;
12356 }
12357 resultobj = SWIG_Py_Void();
12358 return resultobj;
12359 fail:
12360 return NULL;
12361 }
12362
12363
12364 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12365 PyObject *resultobj = 0;
12366 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12367 int result;
12368 void *argp1 = 0 ;
12369 int res1 = 0 ;
12370 PyObject *swig_obj[1] ;
12371
12372 if (!args) SWIG_fail;
12373 swig_obj[0] = args;
12374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12375 if (!SWIG_IsOK(res1)) {
12376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12377 }
12378 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12379 {
12380 PyThreadState* __tstate = wxPyBeginAllowThreads();
12381 result = (int)(arg1)->GetScrollWidth();
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 resultobj = SWIG_From_int(static_cast< int >(result));
12386 return resultobj;
12387 fail:
12388 return NULL;
12389 }
12390
12391
12392 SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12393 PyObject *resultobj = 0;
12394 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12395 int arg2 ;
12396 wxString *arg3 = 0 ;
12397 int result;
12398 void *argp1 = 0 ;
12399 int res1 = 0 ;
12400 int val2 ;
12401 int ecode2 = 0 ;
12402 bool temp3 = false ;
12403 PyObject * obj0 = 0 ;
12404 PyObject * obj1 = 0 ;
12405 PyObject * obj2 = 0 ;
12406 char * kwnames[] = {
12407 (char *) "self",(char *) "style",(char *) "text", NULL
12408 };
12409
12410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12412 if (!SWIG_IsOK(res1)) {
12413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12414 }
12415 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12416 ecode2 = SWIG_AsVal_int(obj1, &val2);
12417 if (!SWIG_IsOK(ecode2)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "2"" of type '" "int""'");
12419 }
12420 arg2 = static_cast< int >(val2);
12421 {
12422 arg3 = wxString_in_helper(obj2);
12423 if (arg3 == NULL) SWIG_fail;
12424 temp3 = true;
12425 }
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
12432 resultobj = SWIG_From_int(static_cast< int >(result));
12433 {
12434 if (temp3)
12435 delete arg3;
12436 }
12437 return resultobj;
12438 fail:
12439 {
12440 if (temp3)
12441 delete arg3;
12442 }
12443 return NULL;
12444 }
12445
12446
12447 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12448 PyObject *resultobj = 0;
12449 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12450 bool arg2 ;
12451 void *argp1 = 0 ;
12452 int res1 = 0 ;
12453 bool val2 ;
12454 int ecode2 = 0 ;
12455 PyObject * obj0 = 0 ;
12456 PyObject * obj1 = 0 ;
12457 char * kwnames[] = {
12458 (char *) "self",(char *) "endAtLastLine", NULL
12459 };
12460
12461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) SWIG_fail;
12462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12463 if (!SWIG_IsOK(res1)) {
12464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12465 }
12466 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12467 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12468 if (!SWIG_IsOK(ecode2)) {
12469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "2"" of type '" "bool""'");
12470 }
12471 arg2 = static_cast< bool >(val2);
12472 {
12473 PyThreadState* __tstate = wxPyBeginAllowThreads();
12474 (arg1)->SetEndAtLastLine(arg2);
12475 wxPyEndAllowThreads(__tstate);
12476 if (PyErr_Occurred()) SWIG_fail;
12477 }
12478 resultobj = SWIG_Py_Void();
12479 return resultobj;
12480 fail:
12481 return NULL;
12482 }
12483
12484
12485 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12486 PyObject *resultobj = 0;
12487 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12488 bool result;
12489 void *argp1 = 0 ;
12490 int res1 = 0 ;
12491 PyObject *swig_obj[1] ;
12492
12493 if (!args) SWIG_fail;
12494 swig_obj[0] = args;
12495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12496 if (!SWIG_IsOK(res1)) {
12497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12498 }
12499 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12500 {
12501 PyThreadState* __tstate = wxPyBeginAllowThreads();
12502 result = (bool)(arg1)->GetEndAtLastLine();
12503 wxPyEndAllowThreads(__tstate);
12504 if (PyErr_Occurred()) SWIG_fail;
12505 }
12506 {
12507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12508 }
12509 return resultobj;
12510 fail:
12511 return NULL;
12512 }
12513
12514
12515 SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12516 PyObject *resultobj = 0;
12517 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12518 int arg2 ;
12519 int result;
12520 void *argp1 = 0 ;
12521 int res1 = 0 ;
12522 int val2 ;
12523 int ecode2 = 0 ;
12524 PyObject * obj0 = 0 ;
12525 PyObject * obj1 = 0 ;
12526 char * kwnames[] = {
12527 (char *) "self",(char *) "line", NULL
12528 };
12529
12530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) SWIG_fail;
12531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12532 if (!SWIG_IsOK(res1)) {
12533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12534 }
12535 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12536 ecode2 = SWIG_AsVal_int(obj1, &val2);
12537 if (!SWIG_IsOK(ecode2)) {
12538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "2"" of type '" "int""'");
12539 }
12540 arg2 = static_cast< int >(val2);
12541 {
12542 PyThreadState* __tstate = wxPyBeginAllowThreads();
12543 result = (int)(arg1)->TextHeight(arg2);
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 }
12547 resultobj = SWIG_From_int(static_cast< int >(result));
12548 return resultobj;
12549 fail:
12550 return NULL;
12551 }
12552
12553
12554 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12555 PyObject *resultobj = 0;
12556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12557 bool arg2 ;
12558 void *argp1 = 0 ;
12559 int res1 = 0 ;
12560 bool val2 ;
12561 int ecode2 = 0 ;
12562 PyObject * obj0 = 0 ;
12563 PyObject * obj1 = 0 ;
12564 char * kwnames[] = {
12565 (char *) "self",(char *) "show", NULL
12566 };
12567
12568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
12569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12570 if (!SWIG_IsOK(res1)) {
12571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12572 }
12573 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12574 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12575 if (!SWIG_IsOK(ecode2)) {
12576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "2"" of type '" "bool""'");
12577 }
12578 arg2 = static_cast< bool >(val2);
12579 {
12580 PyThreadState* __tstate = wxPyBeginAllowThreads();
12581 (arg1)->SetUseVerticalScrollBar(arg2);
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
12585 resultobj = SWIG_Py_Void();
12586 return resultobj;
12587 fail:
12588 return NULL;
12589 }
12590
12591
12592 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12593 PyObject *resultobj = 0;
12594 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12595 bool result;
12596 void *argp1 = 0 ;
12597 int res1 = 0 ;
12598 PyObject *swig_obj[1] ;
12599
12600 if (!args) SWIG_fail;
12601 swig_obj[0] = args;
12602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12603 if (!SWIG_IsOK(res1)) {
12604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12605 }
12606 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12607 {
12608 PyThreadState* __tstate = wxPyBeginAllowThreads();
12609 result = (bool)(arg1)->GetUseVerticalScrollBar();
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 {
12614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12615 }
12616 return resultobj;
12617 fail:
12618 return NULL;
12619 }
12620
12621
12622 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj = 0;
12624 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12625 wxString *arg2 = 0 ;
12626 void *argp1 = 0 ;
12627 int res1 = 0 ;
12628 bool temp2 = false ;
12629 PyObject * obj0 = 0 ;
12630 PyObject * obj1 = 0 ;
12631 char * kwnames[] = {
12632 (char *) "self",(char *) "text", NULL
12633 };
12634
12635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12637 if (!SWIG_IsOK(res1)) {
12638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12639 }
12640 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12641 {
12642 arg2 = wxString_in_helper(obj1);
12643 if (arg2 == NULL) SWIG_fail;
12644 temp2 = true;
12645 }
12646 {
12647 PyThreadState* __tstate = wxPyBeginAllowThreads();
12648 (arg1)->AppendText((wxString const &)*arg2);
12649 wxPyEndAllowThreads(__tstate);
12650 if (PyErr_Occurred()) SWIG_fail;
12651 }
12652 resultobj = SWIG_Py_Void();
12653 {
12654 if (temp2)
12655 delete arg2;
12656 }
12657 return resultobj;
12658 fail:
12659 {
12660 if (temp2)
12661 delete arg2;
12662 }
12663 return NULL;
12664 }
12665
12666
12667 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12668 PyObject *resultobj = 0;
12669 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12670 bool result;
12671 void *argp1 = 0 ;
12672 int res1 = 0 ;
12673 PyObject *swig_obj[1] ;
12674
12675 if (!args) SWIG_fail;
12676 swig_obj[0] = args;
12677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12678 if (!SWIG_IsOK(res1)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12680 }
12681 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12682 {
12683 PyThreadState* __tstate = wxPyBeginAllowThreads();
12684 result = (bool)(arg1)->GetTwoPhaseDraw();
12685 wxPyEndAllowThreads(__tstate);
12686 if (PyErr_Occurred()) SWIG_fail;
12687 }
12688 {
12689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12690 }
12691 return resultobj;
12692 fail:
12693 return NULL;
12694 }
12695
12696
12697 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12698 PyObject *resultobj = 0;
12699 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12700 bool arg2 ;
12701 void *argp1 = 0 ;
12702 int res1 = 0 ;
12703 bool val2 ;
12704 int ecode2 = 0 ;
12705 PyObject * obj0 = 0 ;
12706 PyObject * obj1 = 0 ;
12707 char * kwnames[] = {
12708 (char *) "self",(char *) "twoPhase", NULL
12709 };
12710
12711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) SWIG_fail;
12712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12713 if (!SWIG_IsOK(res1)) {
12714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12715 }
12716 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12717 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12718 if (!SWIG_IsOK(ecode2)) {
12719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "2"" of type '" "bool""'");
12720 }
12721 arg2 = static_cast< bool >(val2);
12722 {
12723 PyThreadState* __tstate = wxPyBeginAllowThreads();
12724 (arg1)->SetTwoPhaseDraw(arg2);
12725 wxPyEndAllowThreads(__tstate);
12726 if (PyErr_Occurred()) SWIG_fail;
12727 }
12728 resultobj = SWIG_Py_Void();
12729 return resultobj;
12730 fail:
12731 return NULL;
12732 }
12733
12734
12735 SWIGINTERN PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12736 PyObject *resultobj = 0;
12737 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12738 void *argp1 = 0 ;
12739 int res1 = 0 ;
12740 PyObject *swig_obj[1] ;
12741
12742 if (!args) SWIG_fail;
12743 swig_obj[0] = args;
12744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12745 if (!SWIG_IsOK(res1)) {
12746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TargetFromSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12747 }
12748 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12749 {
12750 PyThreadState* __tstate = wxPyBeginAllowThreads();
12751 (arg1)->TargetFromSelection();
12752 wxPyEndAllowThreads(__tstate);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 resultobj = SWIG_Py_Void();
12756 return resultobj;
12757 fail:
12758 return NULL;
12759 }
12760
12761
12762 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12763 PyObject *resultobj = 0;
12764 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12765 void *argp1 = 0 ;
12766 int res1 = 0 ;
12767 PyObject *swig_obj[1] ;
12768
12769 if (!args) SWIG_fail;
12770 swig_obj[0] = args;
12771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12772 if (!SWIG_IsOK(res1)) {
12773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesJoin" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12774 }
12775 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 (arg1)->LinesJoin();
12779 wxPyEndAllowThreads(__tstate);
12780 if (PyErr_Occurred()) SWIG_fail;
12781 }
12782 resultobj = SWIG_Py_Void();
12783 return resultobj;
12784 fail:
12785 return NULL;
12786 }
12787
12788
12789 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12790 PyObject *resultobj = 0;
12791 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12792 int arg2 ;
12793 void *argp1 = 0 ;
12794 int res1 = 0 ;
12795 int val2 ;
12796 int ecode2 = 0 ;
12797 PyObject * obj0 = 0 ;
12798 PyObject * obj1 = 0 ;
12799 char * kwnames[] = {
12800 (char *) "self",(char *) "pixelWidth", NULL
12801 };
12802
12803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) SWIG_fail;
12804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12805 if (!SWIG_IsOK(res1)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12807 }
12808 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12809 ecode2 = SWIG_AsVal_int(obj1, &val2);
12810 if (!SWIG_IsOK(ecode2)) {
12811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "2"" of type '" "int""'");
12812 }
12813 arg2 = static_cast< int >(val2);
12814 {
12815 PyThreadState* __tstate = wxPyBeginAllowThreads();
12816 (arg1)->LinesSplit(arg2);
12817 wxPyEndAllowThreads(__tstate);
12818 if (PyErr_Occurred()) SWIG_fail;
12819 }
12820 resultobj = SWIG_Py_Void();
12821 return resultobj;
12822 fail:
12823 return NULL;
12824 }
12825
12826
12827 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12828 PyObject *resultobj = 0;
12829 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12830 bool arg2 ;
12831 wxColour *arg3 = 0 ;
12832 void *argp1 = 0 ;
12833 int res1 = 0 ;
12834 bool val2 ;
12835 int ecode2 = 0 ;
12836 wxColour temp3 ;
12837 PyObject * obj0 = 0 ;
12838 PyObject * obj1 = 0 ;
12839 PyObject * obj2 = 0 ;
12840 char * kwnames[] = {
12841 (char *) "self",(char *) "useSetting",(char *) "back", NULL
12842 };
12843
12844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12846 if (!SWIG_IsOK(res1)) {
12847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12848 }
12849 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12850 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12851 if (!SWIG_IsOK(ecode2)) {
12852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "2"" of type '" "bool""'");
12853 }
12854 arg2 = static_cast< bool >(val2);
12855 {
12856 arg3 = &temp3;
12857 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12858 }
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 resultobj = SWIG_Py_Void();
12866 return resultobj;
12867 fail:
12868 return NULL;
12869 }
12870
12871
12872 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj = 0;
12874 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12875 bool arg2 ;
12876 wxColour *arg3 = 0 ;
12877 void *argp1 = 0 ;
12878 int res1 = 0 ;
12879 bool val2 ;
12880 int ecode2 = 0 ;
12881 wxColour temp3 ;
12882 PyObject * obj0 = 0 ;
12883 PyObject * obj1 = 0 ;
12884 PyObject * obj2 = 0 ;
12885 char * kwnames[] = {
12886 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
12887 };
12888
12889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12891 if (!SWIG_IsOK(res1)) {
12892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12893 }
12894 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12895 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12896 if (!SWIG_IsOK(ecode2)) {
12897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "2"" of type '" "bool""'");
12898 }
12899 arg2 = static_cast< bool >(val2);
12900 {
12901 arg3 = &temp3;
12902 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12903 }
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
12907 wxPyEndAllowThreads(__tstate);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
12910 resultobj = SWIG_Py_Void();
12911 return resultobj;
12912 fail:
12913 return NULL;
12914 }
12915
12916
12917 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12918 PyObject *resultobj = 0;
12919 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12920 void *argp1 = 0 ;
12921 int res1 = 0 ;
12922 PyObject *swig_obj[1] ;
12923
12924 if (!args) SWIG_fail;
12925 swig_obj[0] = args;
12926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12927 if (!SWIG_IsOK(res1)) {
12928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12929 }
12930 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12931 {
12932 PyThreadState* __tstate = wxPyBeginAllowThreads();
12933 (arg1)->LineDown();
12934 wxPyEndAllowThreads(__tstate);
12935 if (PyErr_Occurred()) SWIG_fail;
12936 }
12937 resultobj = SWIG_Py_Void();
12938 return resultobj;
12939 fail:
12940 return NULL;
12941 }
12942
12943
12944 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12945 PyObject *resultobj = 0;
12946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12947 void *argp1 = 0 ;
12948 int res1 = 0 ;
12949 PyObject *swig_obj[1] ;
12950
12951 if (!args) SWIG_fail;
12952 swig_obj[0] = args;
12953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12954 if (!SWIG_IsOK(res1)) {
12955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12956 }
12957 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 (arg1)->LineDownExtend();
12961 wxPyEndAllowThreads(__tstate);
12962 if (PyErr_Occurred()) SWIG_fail;
12963 }
12964 resultobj = SWIG_Py_Void();
12965 return resultobj;
12966 fail:
12967 return NULL;
12968 }
12969
12970
12971 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12972 PyObject *resultobj = 0;
12973 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12974 void *argp1 = 0 ;
12975 int res1 = 0 ;
12976 PyObject *swig_obj[1] ;
12977
12978 if (!args) SWIG_fail;
12979 swig_obj[0] = args;
12980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12981 if (!SWIG_IsOK(res1)) {
12982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12983 }
12984 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 (arg1)->LineUp();
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 resultobj = SWIG_Py_Void();
12992 return resultobj;
12993 fail:
12994 return NULL;
12995 }
12996
12997
12998 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12999 PyObject *resultobj = 0;
13000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13001 void *argp1 = 0 ;
13002 int res1 = 0 ;
13003 PyObject *swig_obj[1] ;
13004
13005 if (!args) SWIG_fail;
13006 swig_obj[0] = args;
13007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13008 if (!SWIG_IsOK(res1)) {
13009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13010 }
13011 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13012 {
13013 PyThreadState* __tstate = wxPyBeginAllowThreads();
13014 (arg1)->LineUpExtend();
13015 wxPyEndAllowThreads(__tstate);
13016 if (PyErr_Occurred()) SWIG_fail;
13017 }
13018 resultobj = SWIG_Py_Void();
13019 return resultobj;
13020 fail:
13021 return NULL;
13022 }
13023
13024
13025 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13026 PyObject *resultobj = 0;
13027 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13028 void *argp1 = 0 ;
13029 int res1 = 0 ;
13030 PyObject *swig_obj[1] ;
13031
13032 if (!args) SWIG_fail;
13033 swig_obj[0] = args;
13034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13035 if (!SWIG_IsOK(res1)) {
13036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13037 }
13038 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 (arg1)->CharLeft();
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 resultobj = SWIG_Py_Void();
13046 return resultobj;
13047 fail:
13048 return NULL;
13049 }
13050
13051
13052 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13053 PyObject *resultobj = 0;
13054 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13055 void *argp1 = 0 ;
13056 int res1 = 0 ;
13057 PyObject *swig_obj[1] ;
13058
13059 if (!args) SWIG_fail;
13060 swig_obj[0] = args;
13061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13062 if (!SWIG_IsOK(res1)) {
13063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13064 }
13065 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 (arg1)->CharLeftExtend();
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 resultobj = SWIG_Py_Void();
13073 return resultobj;
13074 fail:
13075 return NULL;
13076 }
13077
13078
13079 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13080 PyObject *resultobj = 0;
13081 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13082 void *argp1 = 0 ;
13083 int res1 = 0 ;
13084 PyObject *swig_obj[1] ;
13085
13086 if (!args) SWIG_fail;
13087 swig_obj[0] = args;
13088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13089 if (!SWIG_IsOK(res1)) {
13090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13091 }
13092 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13093 {
13094 PyThreadState* __tstate = wxPyBeginAllowThreads();
13095 (arg1)->CharRight();
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 resultobj = SWIG_Py_Void();
13100 return resultobj;
13101 fail:
13102 return NULL;
13103 }
13104
13105
13106 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13107 PyObject *resultobj = 0;
13108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13109 void *argp1 = 0 ;
13110 int res1 = 0 ;
13111 PyObject *swig_obj[1] ;
13112
13113 if (!args) SWIG_fail;
13114 swig_obj[0] = args;
13115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13116 if (!SWIG_IsOK(res1)) {
13117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13118 }
13119 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13120 {
13121 PyThreadState* __tstate = wxPyBeginAllowThreads();
13122 (arg1)->CharRightExtend();
13123 wxPyEndAllowThreads(__tstate);
13124 if (PyErr_Occurred()) SWIG_fail;
13125 }
13126 resultobj = SWIG_Py_Void();
13127 return resultobj;
13128 fail:
13129 return NULL;
13130 }
13131
13132
13133 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13134 PyObject *resultobj = 0;
13135 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13136 void *argp1 = 0 ;
13137 int res1 = 0 ;
13138 PyObject *swig_obj[1] ;
13139
13140 if (!args) SWIG_fail;
13141 swig_obj[0] = args;
13142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13143 if (!SWIG_IsOK(res1)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13145 }
13146 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13147 {
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 (arg1)->WordLeft();
13150 wxPyEndAllowThreads(__tstate);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 }
13153 resultobj = SWIG_Py_Void();
13154 return resultobj;
13155 fail:
13156 return NULL;
13157 }
13158
13159
13160 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13161 PyObject *resultobj = 0;
13162 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13163 void *argp1 = 0 ;
13164 int res1 = 0 ;
13165 PyObject *swig_obj[1] ;
13166
13167 if (!args) SWIG_fail;
13168 swig_obj[0] = args;
13169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13170 if (!SWIG_IsOK(res1)) {
13171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13172 }
13173 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13174 {
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 (arg1)->WordLeftExtend();
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 resultobj = SWIG_Py_Void();
13181 return resultobj;
13182 fail:
13183 return NULL;
13184 }
13185
13186
13187 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13188 PyObject *resultobj = 0;
13189 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13190 void *argp1 = 0 ;
13191 int res1 = 0 ;
13192 PyObject *swig_obj[1] ;
13193
13194 if (!args) SWIG_fail;
13195 swig_obj[0] = args;
13196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13197 if (!SWIG_IsOK(res1)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13199 }
13200 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13201 {
13202 PyThreadState* __tstate = wxPyBeginAllowThreads();
13203 (arg1)->WordRight();
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 resultobj = SWIG_Py_Void();
13208 return resultobj;
13209 fail:
13210 return NULL;
13211 }
13212
13213
13214 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13215 PyObject *resultobj = 0;
13216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13217 void *argp1 = 0 ;
13218 int res1 = 0 ;
13219 PyObject *swig_obj[1] ;
13220
13221 if (!args) SWIG_fail;
13222 swig_obj[0] = args;
13223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13224 if (!SWIG_IsOK(res1)) {
13225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13226 }
13227 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13228 {
13229 PyThreadState* __tstate = wxPyBeginAllowThreads();
13230 (arg1)->WordRightExtend();
13231 wxPyEndAllowThreads(__tstate);
13232 if (PyErr_Occurred()) SWIG_fail;
13233 }
13234 resultobj = SWIG_Py_Void();
13235 return resultobj;
13236 fail:
13237 return NULL;
13238 }
13239
13240
13241 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Home(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13242 PyObject *resultobj = 0;
13243 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13244 void *argp1 = 0 ;
13245 int res1 = 0 ;
13246 PyObject *swig_obj[1] ;
13247
13248 if (!args) SWIG_fail;
13249 swig_obj[0] = args;
13250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13251 if (!SWIG_IsOK(res1)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Home" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13253 }
13254 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13255 {
13256 PyThreadState* __tstate = wxPyBeginAllowThreads();
13257 (arg1)->Home();
13258 wxPyEndAllowThreads(__tstate);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 resultobj = SWIG_Py_Void();
13262 return resultobj;
13263 fail:
13264 return NULL;
13265 }
13266
13267
13268 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13269 PyObject *resultobj = 0;
13270 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13271 void *argp1 = 0 ;
13272 int res1 = 0 ;
13273 PyObject *swig_obj[1] ;
13274
13275 if (!args) SWIG_fail;
13276 swig_obj[0] = args;
13277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13278 if (!SWIG_IsOK(res1)) {
13279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13280 }
13281 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13282 {
13283 PyThreadState* __tstate = wxPyBeginAllowThreads();
13284 (arg1)->HomeExtend();
13285 wxPyEndAllowThreads(__tstate);
13286 if (PyErr_Occurred()) SWIG_fail;
13287 }
13288 resultobj = SWIG_Py_Void();
13289 return resultobj;
13290 fail:
13291 return NULL;
13292 }
13293
13294
13295 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13296 PyObject *resultobj = 0;
13297 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13298 void *argp1 = 0 ;
13299 int res1 = 0 ;
13300 PyObject *swig_obj[1] ;
13301
13302 if (!args) SWIG_fail;
13303 swig_obj[0] = args;
13304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13305 if (!SWIG_IsOK(res1)) {
13306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13307 }
13308 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13309 {
13310 PyThreadState* __tstate = wxPyBeginAllowThreads();
13311 (arg1)->LineEnd();
13312 wxPyEndAllowThreads(__tstate);
13313 if (PyErr_Occurred()) SWIG_fail;
13314 }
13315 resultobj = SWIG_Py_Void();
13316 return resultobj;
13317 fail:
13318 return NULL;
13319 }
13320
13321
13322 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13323 PyObject *resultobj = 0;
13324 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13325 void *argp1 = 0 ;
13326 int res1 = 0 ;
13327 PyObject *swig_obj[1] ;
13328
13329 if (!args) SWIG_fail;
13330 swig_obj[0] = args;
13331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13332 if (!SWIG_IsOK(res1)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13334 }
13335 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13336 {
13337 PyThreadState* __tstate = wxPyBeginAllowThreads();
13338 (arg1)->LineEndExtend();
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
13342 resultobj = SWIG_Py_Void();
13343 return resultobj;
13344 fail:
13345 return NULL;
13346 }
13347
13348
13349 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13350 PyObject *resultobj = 0;
13351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13352 void *argp1 = 0 ;
13353 int res1 = 0 ;
13354 PyObject *swig_obj[1] ;
13355
13356 if (!args) SWIG_fail;
13357 swig_obj[0] = args;
13358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13359 if (!SWIG_IsOK(res1)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13361 }
13362 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13363 {
13364 PyThreadState* __tstate = wxPyBeginAllowThreads();
13365 (arg1)->DocumentStart();
13366 wxPyEndAllowThreads(__tstate);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 }
13369 resultobj = SWIG_Py_Void();
13370 return resultobj;
13371 fail:
13372 return NULL;
13373 }
13374
13375
13376 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13377 PyObject *resultobj = 0;
13378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13379 void *argp1 = 0 ;
13380 int res1 = 0 ;
13381 PyObject *swig_obj[1] ;
13382
13383 if (!args) SWIG_fail;
13384 swig_obj[0] = args;
13385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13386 if (!SWIG_IsOK(res1)) {
13387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStartExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13388 }
13389 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13390 {
13391 PyThreadState* __tstate = wxPyBeginAllowThreads();
13392 (arg1)->DocumentStartExtend();
13393 wxPyEndAllowThreads(__tstate);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
13396 resultobj = SWIG_Py_Void();
13397 return resultobj;
13398 fail:
13399 return NULL;
13400 }
13401
13402
13403 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13404 PyObject *resultobj = 0;
13405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13406 void *argp1 = 0 ;
13407 int res1 = 0 ;
13408 PyObject *swig_obj[1] ;
13409
13410 if (!args) SWIG_fail;
13411 swig_obj[0] = args;
13412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13413 if (!SWIG_IsOK(res1)) {
13414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13415 }
13416 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13417 {
13418 PyThreadState* __tstate = wxPyBeginAllowThreads();
13419 (arg1)->DocumentEnd();
13420 wxPyEndAllowThreads(__tstate);
13421 if (PyErr_Occurred()) SWIG_fail;
13422 }
13423 resultobj = SWIG_Py_Void();
13424 return resultobj;
13425 fail:
13426 return NULL;
13427 }
13428
13429
13430 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13431 PyObject *resultobj = 0;
13432 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13433 void *argp1 = 0 ;
13434 int res1 = 0 ;
13435 PyObject *swig_obj[1] ;
13436
13437 if (!args) SWIG_fail;
13438 swig_obj[0] = args;
13439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13440 if (!SWIG_IsOK(res1)) {
13441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13442 }
13443 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
13446 (arg1)->DocumentEndExtend();
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 resultobj = SWIG_Py_Void();
13451 return resultobj;
13452 fail:
13453 return NULL;
13454 }
13455
13456
13457 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13458 PyObject *resultobj = 0;
13459 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13460 void *argp1 = 0 ;
13461 int res1 = 0 ;
13462 PyObject *swig_obj[1] ;
13463
13464 if (!args) SWIG_fail;
13465 swig_obj[0] = args;
13466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13467 if (!SWIG_IsOK(res1)) {
13468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13469 }
13470 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 (arg1)->PageUp();
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 resultobj = SWIG_Py_Void();
13478 return resultobj;
13479 fail:
13480 return NULL;
13481 }
13482
13483
13484 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13485 PyObject *resultobj = 0;
13486 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13487 void *argp1 = 0 ;
13488 int res1 = 0 ;
13489 PyObject *swig_obj[1] ;
13490
13491 if (!args) SWIG_fail;
13492 swig_obj[0] = args;
13493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13494 if (!SWIG_IsOK(res1)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13496 }
13497 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13498 {
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
13500 (arg1)->PageUpExtend();
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 resultobj = SWIG_Py_Void();
13505 return resultobj;
13506 fail:
13507 return NULL;
13508 }
13509
13510
13511 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13512 PyObject *resultobj = 0;
13513 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13514 void *argp1 = 0 ;
13515 int res1 = 0 ;
13516 PyObject *swig_obj[1] ;
13517
13518 if (!args) SWIG_fail;
13519 swig_obj[0] = args;
13520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13521 if (!SWIG_IsOK(res1)) {
13522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13523 }
13524 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 (arg1)->PageDown();
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 resultobj = SWIG_Py_Void();
13532 return resultobj;
13533 fail:
13534 return NULL;
13535 }
13536
13537
13538 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13539 PyObject *resultobj = 0;
13540 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13541 void *argp1 = 0 ;
13542 int res1 = 0 ;
13543 PyObject *swig_obj[1] ;
13544
13545 if (!args) SWIG_fail;
13546 swig_obj[0] = args;
13547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13548 if (!SWIG_IsOK(res1)) {
13549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13550 }
13551 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13552 {
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 (arg1)->PageDownExtend();
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 resultobj = SWIG_Py_Void();
13559 return resultobj;
13560 fail:
13561 return NULL;
13562 }
13563
13564
13565 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13566 PyObject *resultobj = 0;
13567 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13568 void *argp1 = 0 ;
13569 int res1 = 0 ;
13570 PyObject *swig_obj[1] ;
13571
13572 if (!args) SWIG_fail;
13573 swig_obj[0] = args;
13574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13575 if (!SWIG_IsOK(res1)) {
13576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EditToggleOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13577 }
13578 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 (arg1)->EditToggleOvertype();
13582 wxPyEndAllowThreads(__tstate);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 }
13585 resultobj = SWIG_Py_Void();
13586 return resultobj;
13587 fail:
13588 return NULL;
13589 }
13590
13591
13592 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13593 PyObject *resultobj = 0;
13594 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13595 void *argp1 = 0 ;
13596 int res1 = 0 ;
13597 PyObject *swig_obj[1] ;
13598
13599 if (!args) SWIG_fail;
13600 swig_obj[0] = args;
13601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13602 if (!SWIG_IsOK(res1)) {
13603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13604 }
13605 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13606 {
13607 PyThreadState* __tstate = wxPyBeginAllowThreads();
13608 (arg1)->Cancel();
13609 wxPyEndAllowThreads(__tstate);
13610 if (PyErr_Occurred()) SWIG_fail;
13611 }
13612 resultobj = SWIG_Py_Void();
13613 return resultobj;
13614 fail:
13615 return NULL;
13616 }
13617
13618
13619 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13620 PyObject *resultobj = 0;
13621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13622 void *argp1 = 0 ;
13623 int res1 = 0 ;
13624 PyObject *swig_obj[1] ;
13625
13626 if (!args) SWIG_fail;
13627 swig_obj[0] = args;
13628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13629 if (!SWIG_IsOK(res1)) {
13630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13631 }
13632 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13633 {
13634 PyThreadState* __tstate = wxPyBeginAllowThreads();
13635 (arg1)->DeleteBack();
13636 wxPyEndAllowThreads(__tstate);
13637 if (PyErr_Occurred()) SWIG_fail;
13638 }
13639 resultobj = SWIG_Py_Void();
13640 return resultobj;
13641 fail:
13642 return NULL;
13643 }
13644
13645
13646 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Tab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13647 PyObject *resultobj = 0;
13648 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13649 void *argp1 = 0 ;
13650 int res1 = 0 ;
13651 PyObject *swig_obj[1] ;
13652
13653 if (!args) SWIG_fail;
13654 swig_obj[0] = args;
13655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13656 if (!SWIG_IsOK(res1)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Tab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13658 }
13659 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13660 {
13661 PyThreadState* __tstate = wxPyBeginAllowThreads();
13662 (arg1)->Tab();
13663 wxPyEndAllowThreads(__tstate);
13664 if (PyErr_Occurred()) SWIG_fail;
13665 }
13666 resultobj = SWIG_Py_Void();
13667 return resultobj;
13668 fail:
13669 return NULL;
13670 }
13671
13672
13673 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13674 PyObject *resultobj = 0;
13675 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13676 void *argp1 = 0 ;
13677 int res1 = 0 ;
13678 PyObject *swig_obj[1] ;
13679
13680 if (!args) SWIG_fail;
13681 swig_obj[0] = args;
13682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13683 if (!SWIG_IsOK(res1)) {
13684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BackTab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13685 }
13686 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13687 {
13688 PyThreadState* __tstate = wxPyBeginAllowThreads();
13689 (arg1)->BackTab();
13690 wxPyEndAllowThreads(__tstate);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 }
13693 resultobj = SWIG_Py_Void();
13694 return resultobj;
13695 fail:
13696 return NULL;
13697 }
13698
13699
13700 SWIGINTERN PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13701 PyObject *resultobj = 0;
13702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13703 void *argp1 = 0 ;
13704 int res1 = 0 ;
13705 PyObject *swig_obj[1] ;
13706
13707 if (!args) SWIG_fail;
13708 swig_obj[0] = args;
13709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13710 if (!SWIG_IsOK(res1)) {
13711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_NewLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13712 }
13713 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13714 {
13715 PyThreadState* __tstate = wxPyBeginAllowThreads();
13716 (arg1)->NewLine();
13717 wxPyEndAllowThreads(__tstate);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
13720 resultobj = SWIG_Py_Void();
13721 return resultobj;
13722 fail:
13723 return NULL;
13724 }
13725
13726
13727 SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13728 PyObject *resultobj = 0;
13729 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13730 void *argp1 = 0 ;
13731 int res1 = 0 ;
13732 PyObject *swig_obj[1] ;
13733
13734 if (!args) SWIG_fail;
13735 swig_obj[0] = args;
13736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13737 if (!SWIG_IsOK(res1)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormFeed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13739 }
13740 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13741 {
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 (arg1)->FormFeed();
13744 wxPyEndAllowThreads(__tstate);
13745 if (PyErr_Occurred()) SWIG_fail;
13746 }
13747 resultobj = SWIG_Py_Void();
13748 return resultobj;
13749 fail:
13750 return NULL;
13751 }
13752
13753
13754 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13755 PyObject *resultobj = 0;
13756 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13757 void *argp1 = 0 ;
13758 int res1 = 0 ;
13759 PyObject *swig_obj[1] ;
13760
13761 if (!args) SWIG_fail;
13762 swig_obj[0] = args;
13763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13764 if (!SWIG_IsOK(res1)) {
13765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHome" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13766 }
13767 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13768 {
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 (arg1)->VCHome();
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 resultobj = SWIG_Py_Void();
13775 return resultobj;
13776 fail:
13777 return NULL;
13778 }
13779
13780
13781 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13782 PyObject *resultobj = 0;
13783 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13784 void *argp1 = 0 ;
13785 int res1 = 0 ;
13786 PyObject *swig_obj[1] ;
13787
13788 if (!args) SWIG_fail;
13789 swig_obj[0] = args;
13790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13791 if (!SWIG_IsOK(res1)) {
13792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13793 }
13794 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 (arg1)->VCHomeExtend();
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 resultobj = SWIG_Py_Void();
13802 return resultobj;
13803 fail:
13804 return NULL;
13805 }
13806
13807
13808 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13809 PyObject *resultobj = 0;
13810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13811 void *argp1 = 0 ;
13812 int res1 = 0 ;
13813 PyObject *swig_obj[1] ;
13814
13815 if (!args) SWIG_fail;
13816 swig_obj[0] = args;
13817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13818 if (!SWIG_IsOK(res1)) {
13819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomIn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13820 }
13821 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13822 {
13823 PyThreadState* __tstate = wxPyBeginAllowThreads();
13824 (arg1)->ZoomIn();
13825 wxPyEndAllowThreads(__tstate);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
13828 resultobj = SWIG_Py_Void();
13829 return resultobj;
13830 fail:
13831 return NULL;
13832 }
13833
13834
13835 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13836 PyObject *resultobj = 0;
13837 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13838 void *argp1 = 0 ;
13839 int res1 = 0 ;
13840 PyObject *swig_obj[1] ;
13841
13842 if (!args) SWIG_fail;
13843 swig_obj[0] = args;
13844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13845 if (!SWIG_IsOK(res1)) {
13846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomOut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13847 }
13848 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13849 {
13850 PyThreadState* __tstate = wxPyBeginAllowThreads();
13851 (arg1)->ZoomOut();
13852 wxPyEndAllowThreads(__tstate);
13853 if (PyErr_Occurred()) SWIG_fail;
13854 }
13855 resultobj = SWIG_Py_Void();
13856 return resultobj;
13857 fail:
13858 return NULL;
13859 }
13860
13861
13862 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13863 PyObject *resultobj = 0;
13864 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13865 void *argp1 = 0 ;
13866 int res1 = 0 ;
13867 PyObject *swig_obj[1] ;
13868
13869 if (!args) SWIG_fail;
13870 swig_obj[0] = args;
13871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13872 if (!SWIG_IsOK(res1)) {
13873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13874 }
13875 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13876 {
13877 PyThreadState* __tstate = wxPyBeginAllowThreads();
13878 (arg1)->DelWordLeft();
13879 wxPyEndAllowThreads(__tstate);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 resultobj = SWIG_Py_Void();
13883 return resultobj;
13884 fail:
13885 return NULL;
13886 }
13887
13888
13889 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13890 PyObject *resultobj = 0;
13891 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13892 void *argp1 = 0 ;
13893 int res1 = 0 ;
13894 PyObject *swig_obj[1] ;
13895
13896 if (!args) SWIG_fail;
13897 swig_obj[0] = args;
13898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13899 if (!SWIG_IsOK(res1)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13901 }
13902 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13903 {
13904 PyThreadState* __tstate = wxPyBeginAllowThreads();
13905 (arg1)->DelWordRight();
13906 wxPyEndAllowThreads(__tstate);
13907 if (PyErr_Occurred()) SWIG_fail;
13908 }
13909 resultobj = SWIG_Py_Void();
13910 return resultobj;
13911 fail:
13912 return NULL;
13913 }
13914
13915
13916 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13917 PyObject *resultobj = 0;
13918 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13919 void *argp1 = 0 ;
13920 int res1 = 0 ;
13921 PyObject *swig_obj[1] ;
13922
13923 if (!args) SWIG_fail;
13924 swig_obj[0] = args;
13925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13926 if (!SWIG_IsOK(res1)) {
13927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13928 }
13929 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 (arg1)->LineCut();
13933 wxPyEndAllowThreads(__tstate);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 }
13936 resultobj = SWIG_Py_Void();
13937 return resultobj;
13938 fail:
13939 return NULL;
13940 }
13941
13942
13943 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13944 PyObject *resultobj = 0;
13945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13946 void *argp1 = 0 ;
13947 int res1 = 0 ;
13948 PyObject *swig_obj[1] ;
13949
13950 if (!args) SWIG_fail;
13951 swig_obj[0] = args;
13952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13953 if (!SWIG_IsOK(res1)) {
13954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13955 }
13956 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13957 {
13958 PyThreadState* __tstate = wxPyBeginAllowThreads();
13959 (arg1)->LineDelete();
13960 wxPyEndAllowThreads(__tstate);
13961 if (PyErr_Occurred()) SWIG_fail;
13962 }
13963 resultobj = SWIG_Py_Void();
13964 return resultobj;
13965 fail:
13966 return NULL;
13967 }
13968
13969
13970 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13971 PyObject *resultobj = 0;
13972 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13973 void *argp1 = 0 ;
13974 int res1 = 0 ;
13975 PyObject *swig_obj[1] ;
13976
13977 if (!args) SWIG_fail;
13978 swig_obj[0] = args;
13979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13980 if (!SWIG_IsOK(res1)) {
13981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineTranspose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13982 }
13983 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13984 {
13985 PyThreadState* __tstate = wxPyBeginAllowThreads();
13986 (arg1)->LineTranspose();
13987 wxPyEndAllowThreads(__tstate);
13988 if (PyErr_Occurred()) SWIG_fail;
13989 }
13990 resultobj = SWIG_Py_Void();
13991 return resultobj;
13992 fail:
13993 return NULL;
13994 }
13995
13996
13997 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13998 PyObject *resultobj = 0;
13999 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14000 void *argp1 = 0 ;
14001 int res1 = 0 ;
14002 PyObject *swig_obj[1] ;
14003
14004 if (!args) SWIG_fail;
14005 swig_obj[0] = args;
14006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14007 if (!SWIG_IsOK(res1)) {
14008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14009 }
14010 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14011 {
14012 PyThreadState* __tstate = wxPyBeginAllowThreads();
14013 (arg1)->LineDuplicate();
14014 wxPyEndAllowThreads(__tstate);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
14017 resultobj = SWIG_Py_Void();
14018 return resultobj;
14019 fail:
14020 return NULL;
14021 }
14022
14023
14024 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14025 PyObject *resultobj = 0;
14026 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14027 void *argp1 = 0 ;
14028 int res1 = 0 ;
14029 PyObject *swig_obj[1] ;
14030
14031 if (!args) SWIG_fail;
14032 swig_obj[0] = args;
14033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14034 if (!SWIG_IsOK(res1)) {
14035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LowerCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14036 }
14037 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14038 {
14039 PyThreadState* __tstate = wxPyBeginAllowThreads();
14040 (arg1)->LowerCase();
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
14044 resultobj = SWIG_Py_Void();
14045 return resultobj;
14046 fail:
14047 return NULL;
14048 }
14049
14050
14051 SWIGINTERN PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14052 PyObject *resultobj = 0;
14053 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14054 void *argp1 = 0 ;
14055 int res1 = 0 ;
14056 PyObject *swig_obj[1] ;
14057
14058 if (!args) SWIG_fail;
14059 swig_obj[0] = args;
14060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14061 if (!SWIG_IsOK(res1)) {
14062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UpperCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14063 }
14064 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14065 {
14066 PyThreadState* __tstate = wxPyBeginAllowThreads();
14067 (arg1)->UpperCase();
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 resultobj = SWIG_Py_Void();
14072 return resultobj;
14073 fail:
14074 return NULL;
14075 }
14076
14077
14078 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14079 PyObject *resultobj = 0;
14080 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14081 void *argp1 = 0 ;
14082 int res1 = 0 ;
14083 PyObject *swig_obj[1] ;
14084
14085 if (!args) SWIG_fail;
14086 swig_obj[0] = args;
14087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14088 if (!SWIG_IsOK(res1)) {
14089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14090 }
14091 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 (arg1)->LineScrollDown();
14095 wxPyEndAllowThreads(__tstate);
14096 if (PyErr_Occurred()) SWIG_fail;
14097 }
14098 resultobj = SWIG_Py_Void();
14099 return resultobj;
14100 fail:
14101 return NULL;
14102 }
14103
14104
14105 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14106 PyObject *resultobj = 0;
14107 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14108 void *argp1 = 0 ;
14109 int res1 = 0 ;
14110 PyObject *swig_obj[1] ;
14111
14112 if (!args) SWIG_fail;
14113 swig_obj[0] = args;
14114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14115 if (!SWIG_IsOK(res1)) {
14116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14117 }
14118 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14119 {
14120 PyThreadState* __tstate = wxPyBeginAllowThreads();
14121 (arg1)->LineScrollUp();
14122 wxPyEndAllowThreads(__tstate);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 }
14125 resultobj = SWIG_Py_Void();
14126 return resultobj;
14127 fail:
14128 return NULL;
14129 }
14130
14131
14132 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14133 PyObject *resultobj = 0;
14134 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14135 void *argp1 = 0 ;
14136 int res1 = 0 ;
14137 PyObject *swig_obj[1] ;
14138
14139 if (!args) SWIG_fail;
14140 swig_obj[0] = args;
14141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14142 if (!SWIG_IsOK(res1)) {
14143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBackNotLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14144 }
14145 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14146 {
14147 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 (arg1)->DeleteBackNotLine();
14149 wxPyEndAllowThreads(__tstate);
14150 if (PyErr_Occurred()) SWIG_fail;
14151 }
14152 resultobj = SWIG_Py_Void();
14153 return resultobj;
14154 fail:
14155 return NULL;
14156 }
14157
14158
14159 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14160 PyObject *resultobj = 0;
14161 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14162 void *argp1 = 0 ;
14163 int res1 = 0 ;
14164 PyObject *swig_obj[1] ;
14165
14166 if (!args) SWIG_fail;
14167 swig_obj[0] = args;
14168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14169 if (!SWIG_IsOK(res1)) {
14170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14171 }
14172 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14173 {
14174 PyThreadState* __tstate = wxPyBeginAllowThreads();
14175 (arg1)->HomeDisplay();
14176 wxPyEndAllowThreads(__tstate);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
14179 resultobj = SWIG_Py_Void();
14180 return resultobj;
14181 fail:
14182 return NULL;
14183 }
14184
14185
14186 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14187 PyObject *resultobj = 0;
14188 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14189 void *argp1 = 0 ;
14190 int res1 = 0 ;
14191 PyObject *swig_obj[1] ;
14192
14193 if (!args) SWIG_fail;
14194 swig_obj[0] = args;
14195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14196 if (!SWIG_IsOK(res1)) {
14197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14198 }
14199 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 (arg1)->HomeDisplayExtend();
14203 wxPyEndAllowThreads(__tstate);
14204 if (PyErr_Occurred()) SWIG_fail;
14205 }
14206 resultobj = SWIG_Py_Void();
14207 return resultobj;
14208 fail:
14209 return NULL;
14210 }
14211
14212
14213 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14214 PyObject *resultobj = 0;
14215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14216 void *argp1 = 0 ;
14217 int res1 = 0 ;
14218 PyObject *swig_obj[1] ;
14219
14220 if (!args) SWIG_fail;
14221 swig_obj[0] = args;
14222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14223 if (!SWIG_IsOK(res1)) {
14224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14225 }
14226 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14227 {
14228 PyThreadState* __tstate = wxPyBeginAllowThreads();
14229 (arg1)->LineEndDisplay();
14230 wxPyEndAllowThreads(__tstate);
14231 if (PyErr_Occurred()) SWIG_fail;
14232 }
14233 resultobj = SWIG_Py_Void();
14234 return resultobj;
14235 fail:
14236 return NULL;
14237 }
14238
14239
14240 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14241 PyObject *resultobj = 0;
14242 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14243 void *argp1 = 0 ;
14244 int res1 = 0 ;
14245 PyObject *swig_obj[1] ;
14246
14247 if (!args) SWIG_fail;
14248 swig_obj[0] = args;
14249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14250 if (!SWIG_IsOK(res1)) {
14251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14252 }
14253 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14254 {
14255 PyThreadState* __tstate = wxPyBeginAllowThreads();
14256 (arg1)->LineEndDisplayExtend();
14257 wxPyEndAllowThreads(__tstate);
14258 if (PyErr_Occurred()) SWIG_fail;
14259 }
14260 resultobj = SWIG_Py_Void();
14261 return resultobj;
14262 fail:
14263 return NULL;
14264 }
14265
14266
14267 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14268 PyObject *resultobj = 0;
14269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14270 void *argp1 = 0 ;
14271 int res1 = 0 ;
14272 PyObject *swig_obj[1] ;
14273
14274 if (!args) SWIG_fail;
14275 swig_obj[0] = args;
14276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14277 if (!SWIG_IsOK(res1)) {
14278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14279 }
14280 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 (arg1)->HomeWrap();
14284 wxPyEndAllowThreads(__tstate);
14285 if (PyErr_Occurred()) SWIG_fail;
14286 }
14287 resultobj = SWIG_Py_Void();
14288 return resultobj;
14289 fail:
14290 return NULL;
14291 }
14292
14293
14294 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14295 PyObject *resultobj = 0;
14296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14297 void *argp1 = 0 ;
14298 int res1 = 0 ;
14299 PyObject *swig_obj[1] ;
14300
14301 if (!args) SWIG_fail;
14302 swig_obj[0] = args;
14303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14304 if (!SWIG_IsOK(res1)) {
14305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14306 }
14307 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14308 {
14309 PyThreadState* __tstate = wxPyBeginAllowThreads();
14310 (arg1)->HomeWrapExtend();
14311 wxPyEndAllowThreads(__tstate);
14312 if (PyErr_Occurred()) SWIG_fail;
14313 }
14314 resultobj = SWIG_Py_Void();
14315 return resultobj;
14316 fail:
14317 return NULL;
14318 }
14319
14320
14321 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14322 PyObject *resultobj = 0;
14323 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14324 void *argp1 = 0 ;
14325 int res1 = 0 ;
14326 PyObject *swig_obj[1] ;
14327
14328 if (!args) SWIG_fail;
14329 swig_obj[0] = args;
14330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14331 if (!SWIG_IsOK(res1)) {
14332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14333 }
14334 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14335 {
14336 PyThreadState* __tstate = wxPyBeginAllowThreads();
14337 (arg1)->LineEndWrap();
14338 wxPyEndAllowThreads(__tstate);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 }
14341 resultobj = SWIG_Py_Void();
14342 return resultobj;
14343 fail:
14344 return NULL;
14345 }
14346
14347
14348 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14349 PyObject *resultobj = 0;
14350 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14351 void *argp1 = 0 ;
14352 int res1 = 0 ;
14353 PyObject *swig_obj[1] ;
14354
14355 if (!args) SWIG_fail;
14356 swig_obj[0] = args;
14357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14358 if (!SWIG_IsOK(res1)) {
14359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14360 }
14361 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14362 {
14363 PyThreadState* __tstate = wxPyBeginAllowThreads();
14364 (arg1)->LineEndWrapExtend();
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
14368 resultobj = SWIG_Py_Void();
14369 return resultobj;
14370 fail:
14371 return NULL;
14372 }
14373
14374
14375 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14376 PyObject *resultobj = 0;
14377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14378 void *argp1 = 0 ;
14379 int res1 = 0 ;
14380 PyObject *swig_obj[1] ;
14381
14382 if (!args) SWIG_fail;
14383 swig_obj[0] = args;
14384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14385 if (!SWIG_IsOK(res1)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14387 }
14388 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 (arg1)->VCHomeWrap();
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 resultobj = SWIG_Py_Void();
14396 return resultobj;
14397 fail:
14398 return NULL;
14399 }
14400
14401
14402 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14403 PyObject *resultobj = 0;
14404 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14405 void *argp1 = 0 ;
14406 int res1 = 0 ;
14407 PyObject *swig_obj[1] ;
14408
14409 if (!args) SWIG_fail;
14410 swig_obj[0] = args;
14411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14412 if (!SWIG_IsOK(res1)) {
14413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14414 }
14415 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14416 {
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 (arg1)->VCHomeWrapExtend();
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 resultobj = SWIG_Py_Void();
14423 return resultobj;
14424 fail:
14425 return NULL;
14426 }
14427
14428
14429 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14430 PyObject *resultobj = 0;
14431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14432 void *argp1 = 0 ;
14433 int res1 = 0 ;
14434 PyObject *swig_obj[1] ;
14435
14436 if (!args) SWIG_fail;
14437 swig_obj[0] = args;
14438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14439 if (!SWIG_IsOK(res1)) {
14440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCopy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14441 }
14442 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14443 {
14444 PyThreadState* __tstate = wxPyBeginAllowThreads();
14445 (arg1)->LineCopy();
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 resultobj = SWIG_Py_Void();
14450 return resultobj;
14451 fail:
14452 return NULL;
14453 }
14454
14455
14456 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14457 PyObject *resultobj = 0;
14458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14459 void *argp1 = 0 ;
14460 int res1 = 0 ;
14461 PyObject *swig_obj[1] ;
14462
14463 if (!args) SWIG_fail;
14464 swig_obj[0] = args;
14465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14466 if (!SWIG_IsOK(res1)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MoveCaretInsideView" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14468 }
14469 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14470 {
14471 PyThreadState* __tstate = wxPyBeginAllowThreads();
14472 (arg1)->MoveCaretInsideView();
14473 wxPyEndAllowThreads(__tstate);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
14476 resultobj = SWIG_Py_Void();
14477 return resultobj;
14478 fail:
14479 return NULL;
14480 }
14481
14482
14483 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14484 PyObject *resultobj = 0;
14485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14486 int arg2 ;
14487 int result;
14488 void *argp1 = 0 ;
14489 int res1 = 0 ;
14490 int val2 ;
14491 int ecode2 = 0 ;
14492 PyObject * obj0 = 0 ;
14493 PyObject * obj1 = 0 ;
14494 char * kwnames[] = {
14495 (char *) "self",(char *) "line", NULL
14496 };
14497
14498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) SWIG_fail;
14499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14500 if (!SWIG_IsOK(res1)) {
14501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14502 }
14503 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14504 ecode2 = SWIG_AsVal_int(obj1, &val2);
14505 if (!SWIG_IsOK(ecode2)) {
14506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "2"" of type '" "int""'");
14507 }
14508 arg2 = static_cast< int >(val2);
14509 {
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
14511 result = (int)(arg1)->LineLength(arg2);
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 resultobj = SWIG_From_int(static_cast< int >(result));
14516 return resultobj;
14517 fail:
14518 return NULL;
14519 }
14520
14521
14522 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj = 0;
14524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14525 int arg2 ;
14526 int arg3 ;
14527 void *argp1 = 0 ;
14528 int res1 = 0 ;
14529 int val2 ;
14530 int ecode2 = 0 ;
14531 int val3 ;
14532 int ecode3 = 0 ;
14533 PyObject * obj0 = 0 ;
14534 PyObject * obj1 = 0 ;
14535 PyObject * obj2 = 0 ;
14536 char * kwnames[] = {
14537 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
14538 };
14539
14540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14542 if (!SWIG_IsOK(res1)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14544 }
14545 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14546 ecode2 = SWIG_AsVal_int(obj1, &val2);
14547 if (!SWIG_IsOK(ecode2)) {
14548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "2"" of type '" "int""'");
14549 }
14550 arg2 = static_cast< int >(val2);
14551 ecode3 = SWIG_AsVal_int(obj2, &val3);
14552 if (!SWIG_IsOK(ecode3)) {
14553 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "3"" of type '" "int""'");
14554 }
14555 arg3 = static_cast< int >(val3);
14556 {
14557 PyThreadState* __tstate = wxPyBeginAllowThreads();
14558 (arg1)->BraceHighlight(arg2,arg3);
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 resultobj = SWIG_Py_Void();
14563 return resultobj;
14564 fail:
14565 return NULL;
14566 }
14567
14568
14569 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj = 0;
14571 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14572 int arg2 ;
14573 void *argp1 = 0 ;
14574 int res1 = 0 ;
14575 int val2 ;
14576 int ecode2 = 0 ;
14577 PyObject * obj0 = 0 ;
14578 PyObject * obj1 = 0 ;
14579 char * kwnames[] = {
14580 (char *) "self",(char *) "pos", NULL
14581 };
14582
14583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) SWIG_fail;
14584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14585 if (!SWIG_IsOK(res1)) {
14586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14587 }
14588 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14589 ecode2 = SWIG_AsVal_int(obj1, &val2);
14590 if (!SWIG_IsOK(ecode2)) {
14591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "2"" of type '" "int""'");
14592 }
14593 arg2 = static_cast< int >(val2);
14594 {
14595 PyThreadState* __tstate = wxPyBeginAllowThreads();
14596 (arg1)->BraceBadLight(arg2);
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 resultobj = SWIG_Py_Void();
14601 return resultobj;
14602 fail:
14603 return NULL;
14604 }
14605
14606
14607 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14608 PyObject *resultobj = 0;
14609 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14610 int arg2 ;
14611 int result;
14612 void *argp1 = 0 ;
14613 int res1 = 0 ;
14614 int val2 ;
14615 int ecode2 = 0 ;
14616 PyObject * obj0 = 0 ;
14617 PyObject * obj1 = 0 ;
14618 char * kwnames[] = {
14619 (char *) "self",(char *) "pos", NULL
14620 };
14621
14622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) SWIG_fail;
14623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14624 if (!SWIG_IsOK(res1)) {
14625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14626 }
14627 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14628 ecode2 = SWIG_AsVal_int(obj1, &val2);
14629 if (!SWIG_IsOK(ecode2)) {
14630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "2"" of type '" "int""'");
14631 }
14632 arg2 = static_cast< int >(val2);
14633 {
14634 PyThreadState* __tstate = wxPyBeginAllowThreads();
14635 result = (int)(arg1)->BraceMatch(arg2);
14636 wxPyEndAllowThreads(__tstate);
14637 if (PyErr_Occurred()) SWIG_fail;
14638 }
14639 resultobj = SWIG_From_int(static_cast< int >(result));
14640 return resultobj;
14641 fail:
14642 return NULL;
14643 }
14644
14645
14646 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14647 PyObject *resultobj = 0;
14648 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14649 bool result;
14650 void *argp1 = 0 ;
14651 int res1 = 0 ;
14652 PyObject *swig_obj[1] ;
14653
14654 if (!args) SWIG_fail;
14655 swig_obj[0] = args;
14656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14657 if (!SWIG_IsOK(res1)) {
14658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14659 }
14660 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14661 {
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
14663 result = (bool)(arg1)->GetViewEOL();
14664 wxPyEndAllowThreads(__tstate);
14665 if (PyErr_Occurred()) SWIG_fail;
14666 }
14667 {
14668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14669 }
14670 return resultobj;
14671 fail:
14672 return NULL;
14673 }
14674
14675
14676 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14677 PyObject *resultobj = 0;
14678 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14679 bool arg2 ;
14680 void *argp1 = 0 ;
14681 int res1 = 0 ;
14682 bool val2 ;
14683 int ecode2 = 0 ;
14684 PyObject * obj0 = 0 ;
14685 PyObject * obj1 = 0 ;
14686 char * kwnames[] = {
14687 (char *) "self",(char *) "visible", NULL
14688 };
14689
14690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) SWIG_fail;
14691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14692 if (!SWIG_IsOK(res1)) {
14693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14694 }
14695 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14696 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14697 if (!SWIG_IsOK(ecode2)) {
14698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "2"" of type '" "bool""'");
14699 }
14700 arg2 = static_cast< bool >(val2);
14701 {
14702 PyThreadState* __tstate = wxPyBeginAllowThreads();
14703 (arg1)->SetViewEOL(arg2);
14704 wxPyEndAllowThreads(__tstate);
14705 if (PyErr_Occurred()) SWIG_fail;
14706 }
14707 resultobj = SWIG_Py_Void();
14708 return resultobj;
14709 fail:
14710 return NULL;
14711 }
14712
14713
14714 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14715 PyObject *resultobj = 0;
14716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14717 void *result = 0 ;
14718 void *argp1 = 0 ;
14719 int res1 = 0 ;
14720 PyObject *swig_obj[1] ;
14721
14722 if (!args) SWIG_fail;
14723 swig_obj[0] = args;
14724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14725 if (!SWIG_IsOK(res1)) {
14726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14727 }
14728 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 result = (void *)(arg1)->GetDocPointer();
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
14736 return resultobj;
14737 fail:
14738 return NULL;
14739 }
14740
14741
14742 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14743 PyObject *resultobj = 0;
14744 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14745 void *arg2 = (void *) 0 ;
14746 void *argp1 = 0 ;
14747 int res1 = 0 ;
14748 int res2 ;
14749 PyObject * obj0 = 0 ;
14750 PyObject * obj1 = 0 ;
14751 char * kwnames[] = {
14752 (char *) "self",(char *) "docPointer", NULL
14753 };
14754
14755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) SWIG_fail;
14756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14757 if (!SWIG_IsOK(res1)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14759 }
14760 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14761 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
14762 if (!SWIG_IsOK(res2)) {
14763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "2"" of type '" "void *""'");
14764 }
14765 {
14766 PyThreadState* __tstate = wxPyBeginAllowThreads();
14767 (arg1)->SetDocPointer(arg2);
14768 wxPyEndAllowThreads(__tstate);
14769 if (PyErr_Occurred()) SWIG_fail;
14770 }
14771 resultobj = SWIG_Py_Void();
14772 return resultobj;
14773 fail:
14774 return NULL;
14775 }
14776
14777
14778 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14779 PyObject *resultobj = 0;
14780 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14781 int arg2 ;
14782 void *argp1 = 0 ;
14783 int res1 = 0 ;
14784 int val2 ;
14785 int ecode2 = 0 ;
14786 PyObject * obj0 = 0 ;
14787 PyObject * obj1 = 0 ;
14788 char * kwnames[] = {
14789 (char *) "self",(char *) "mask", NULL
14790 };
14791
14792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) SWIG_fail;
14793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14794 if (!SWIG_IsOK(res1)) {
14795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14796 }
14797 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14798 ecode2 = SWIG_AsVal_int(obj1, &val2);
14799 if (!SWIG_IsOK(ecode2)) {
14800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "2"" of type '" "int""'");
14801 }
14802 arg2 = static_cast< int >(val2);
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 (arg1)->SetModEventMask(arg2);
14806 wxPyEndAllowThreads(__tstate);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 resultobj = SWIG_Py_Void();
14810 return resultobj;
14811 fail:
14812 return NULL;
14813 }
14814
14815
14816 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14817 PyObject *resultobj = 0;
14818 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14819 int result;
14820 void *argp1 = 0 ;
14821 int res1 = 0 ;
14822 PyObject *swig_obj[1] ;
14823
14824 if (!args) SWIG_fail;
14825 swig_obj[0] = args;
14826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14827 if (!SWIG_IsOK(res1)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14829 }
14830 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14831 {
14832 PyThreadState* __tstate = wxPyBeginAllowThreads();
14833 result = (int)(arg1)->GetEdgeColumn();
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 resultobj = SWIG_From_int(static_cast< int >(result));
14838 return resultobj;
14839 fail:
14840 return NULL;
14841 }
14842
14843
14844 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14845 PyObject *resultobj = 0;
14846 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14847 int arg2 ;
14848 void *argp1 = 0 ;
14849 int res1 = 0 ;
14850 int val2 ;
14851 int ecode2 = 0 ;
14852 PyObject * obj0 = 0 ;
14853 PyObject * obj1 = 0 ;
14854 char * kwnames[] = {
14855 (char *) "self",(char *) "column", NULL
14856 };
14857
14858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14860 if (!SWIG_IsOK(res1)) {
14861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14862 }
14863 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14864 ecode2 = SWIG_AsVal_int(obj1, &val2);
14865 if (!SWIG_IsOK(ecode2)) {
14866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "2"" of type '" "int""'");
14867 }
14868 arg2 = static_cast< int >(val2);
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 (arg1)->SetEdgeColumn(arg2);
14872 wxPyEndAllowThreads(__tstate);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
14875 resultobj = SWIG_Py_Void();
14876 return resultobj;
14877 fail:
14878 return NULL;
14879 }
14880
14881
14882 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14883 PyObject *resultobj = 0;
14884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14885 int result;
14886 void *argp1 = 0 ;
14887 int res1 = 0 ;
14888 PyObject *swig_obj[1] ;
14889
14890 if (!args) SWIG_fail;
14891 swig_obj[0] = args;
14892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14893 if (!SWIG_IsOK(res1)) {
14894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14895 }
14896 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14897 {
14898 PyThreadState* __tstate = wxPyBeginAllowThreads();
14899 result = (int)(arg1)->GetEdgeMode();
14900 wxPyEndAllowThreads(__tstate);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 }
14903 resultobj = SWIG_From_int(static_cast< int >(result));
14904 return resultobj;
14905 fail:
14906 return NULL;
14907 }
14908
14909
14910 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14911 PyObject *resultobj = 0;
14912 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14913 int arg2 ;
14914 void *argp1 = 0 ;
14915 int res1 = 0 ;
14916 int val2 ;
14917 int ecode2 = 0 ;
14918 PyObject * obj0 = 0 ;
14919 PyObject * obj1 = 0 ;
14920 char * kwnames[] = {
14921 (char *) "self",(char *) "mode", NULL
14922 };
14923
14924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) SWIG_fail;
14925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14926 if (!SWIG_IsOK(res1)) {
14927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14928 }
14929 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14930 ecode2 = SWIG_AsVal_int(obj1, &val2);
14931 if (!SWIG_IsOK(ecode2)) {
14932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "2"" of type '" "int""'");
14933 }
14934 arg2 = static_cast< int >(val2);
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 (arg1)->SetEdgeMode(arg2);
14938 wxPyEndAllowThreads(__tstate);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
14941 resultobj = SWIG_Py_Void();
14942 return resultobj;
14943 fail:
14944 return NULL;
14945 }
14946
14947
14948 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14949 PyObject *resultobj = 0;
14950 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14951 wxColour result;
14952 void *argp1 = 0 ;
14953 int res1 = 0 ;
14954 PyObject *swig_obj[1] ;
14955
14956 if (!args) SWIG_fail;
14957 swig_obj[0] = args;
14958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14959 if (!SWIG_IsOK(res1)) {
14960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14961 }
14962 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 result = (arg1)->GetEdgeColour();
14966 wxPyEndAllowThreads(__tstate);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
14970 return resultobj;
14971 fail:
14972 return NULL;
14973 }
14974
14975
14976 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14977 PyObject *resultobj = 0;
14978 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14979 wxColour *arg2 = 0 ;
14980 void *argp1 = 0 ;
14981 int res1 = 0 ;
14982 wxColour temp2 ;
14983 PyObject * obj0 = 0 ;
14984 PyObject * obj1 = 0 ;
14985 char * kwnames[] = {
14986 (char *) "self",(char *) "edgeColour", NULL
14987 };
14988
14989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) SWIG_fail;
14990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14991 if (!SWIG_IsOK(res1)) {
14992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14993 }
14994 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14995 {
14996 arg2 = &temp2;
14997 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14998 }
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 (arg1)->SetEdgeColour((wxColour const &)*arg2);
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 resultobj = SWIG_Py_Void();
15006 return resultobj;
15007 fail:
15008 return NULL;
15009 }
15010
15011
15012 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15013 PyObject *resultobj = 0;
15014 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15015 void *argp1 = 0 ;
15016 int res1 = 0 ;
15017 PyObject *swig_obj[1] ;
15018
15019 if (!args) SWIG_fail;
15020 swig_obj[0] = args;
15021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15022 if (!SWIG_IsOK(res1)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15024 }
15025 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15026 {
15027 PyThreadState* __tstate = wxPyBeginAllowThreads();
15028 (arg1)->SearchAnchor();
15029 wxPyEndAllowThreads(__tstate);
15030 if (PyErr_Occurred()) SWIG_fail;
15031 }
15032 resultobj = SWIG_Py_Void();
15033 return resultobj;
15034 fail:
15035 return NULL;
15036 }
15037
15038
15039 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15040 PyObject *resultobj = 0;
15041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15042 int arg2 ;
15043 wxString *arg3 = 0 ;
15044 int result;
15045 void *argp1 = 0 ;
15046 int res1 = 0 ;
15047 int val2 ;
15048 int ecode2 = 0 ;
15049 bool temp3 = false ;
15050 PyObject * obj0 = 0 ;
15051 PyObject * obj1 = 0 ;
15052 PyObject * obj2 = 0 ;
15053 char * kwnames[] = {
15054 (char *) "self",(char *) "flags",(char *) "text", NULL
15055 };
15056
15057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15059 if (!SWIG_IsOK(res1)) {
15060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15061 }
15062 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15063 ecode2 = SWIG_AsVal_int(obj1, &val2);
15064 if (!SWIG_IsOK(ecode2)) {
15065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "2"" of type '" "int""'");
15066 }
15067 arg2 = static_cast< int >(val2);
15068 {
15069 arg3 = wxString_in_helper(obj2);
15070 if (arg3 == NULL) SWIG_fail;
15071 temp3 = true;
15072 }
15073 {
15074 PyThreadState* __tstate = wxPyBeginAllowThreads();
15075 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 resultobj = SWIG_From_int(static_cast< int >(result));
15080 {
15081 if (temp3)
15082 delete arg3;
15083 }
15084 return resultobj;
15085 fail:
15086 {
15087 if (temp3)
15088 delete arg3;
15089 }
15090 return NULL;
15091 }
15092
15093
15094 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj = 0;
15096 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15097 int arg2 ;
15098 wxString *arg3 = 0 ;
15099 int result;
15100 void *argp1 = 0 ;
15101 int res1 = 0 ;
15102 int val2 ;
15103 int ecode2 = 0 ;
15104 bool temp3 = false ;
15105 PyObject * obj0 = 0 ;
15106 PyObject * obj1 = 0 ;
15107 PyObject * obj2 = 0 ;
15108 char * kwnames[] = {
15109 (char *) "self",(char *) "flags",(char *) "text", NULL
15110 };
15111
15112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15114 if (!SWIG_IsOK(res1)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15116 }
15117 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15118 ecode2 = SWIG_AsVal_int(obj1, &val2);
15119 if (!SWIG_IsOK(ecode2)) {
15120 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "2"" of type '" "int""'");
15121 }
15122 arg2 = static_cast< int >(val2);
15123 {
15124 arg3 = wxString_in_helper(obj2);
15125 if (arg3 == NULL) SWIG_fail;
15126 temp3 = true;
15127 }
15128 {
15129 PyThreadState* __tstate = wxPyBeginAllowThreads();
15130 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 resultobj = SWIG_From_int(static_cast< int >(result));
15135 {
15136 if (temp3)
15137 delete arg3;
15138 }
15139 return resultobj;
15140 fail:
15141 {
15142 if (temp3)
15143 delete arg3;
15144 }
15145 return NULL;
15146 }
15147
15148
15149 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15150 PyObject *resultobj = 0;
15151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15152 int result;
15153 void *argp1 = 0 ;
15154 int res1 = 0 ;
15155 PyObject *swig_obj[1] ;
15156
15157 if (!args) SWIG_fail;
15158 swig_obj[0] = args;
15159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15160 if (!SWIG_IsOK(res1)) {
15161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesOnScreen" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15162 }
15163 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 result = (int)(arg1)->LinesOnScreen();
15167 wxPyEndAllowThreads(__tstate);
15168 if (PyErr_Occurred()) SWIG_fail;
15169 }
15170 resultobj = SWIG_From_int(static_cast< int >(result));
15171 return resultobj;
15172 fail:
15173 return NULL;
15174 }
15175
15176
15177 SWIGINTERN PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15178 PyObject *resultobj = 0;
15179 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15180 bool arg2 ;
15181 void *argp1 = 0 ;
15182 int res1 = 0 ;
15183 bool val2 ;
15184 int ecode2 = 0 ;
15185 PyObject * obj0 = 0 ;
15186 PyObject * obj1 = 0 ;
15187 char * kwnames[] = {
15188 (char *) "self",(char *) "allowPopUp", NULL
15189 };
15190
15191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) SWIG_fail;
15192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15193 if (!SWIG_IsOK(res1)) {
15194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15195 }
15196 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15197 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15198 if (!SWIG_IsOK(ecode2)) {
15199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "2"" of type '" "bool""'");
15200 }
15201 arg2 = static_cast< bool >(val2);
15202 {
15203 PyThreadState* __tstate = wxPyBeginAllowThreads();
15204 (arg1)->UsePopUp(arg2);
15205 wxPyEndAllowThreads(__tstate);
15206 if (PyErr_Occurred()) SWIG_fail;
15207 }
15208 resultobj = SWIG_Py_Void();
15209 return resultobj;
15210 fail:
15211 return NULL;
15212 }
15213
15214
15215 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15216 PyObject *resultobj = 0;
15217 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15218 bool result;
15219 void *argp1 = 0 ;
15220 int res1 = 0 ;
15221 PyObject *swig_obj[1] ;
15222
15223 if (!args) SWIG_fail;
15224 swig_obj[0] = args;
15225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15226 if (!SWIG_IsOK(res1)) {
15227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionIsRectangle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15228 }
15229 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15230 {
15231 PyThreadState* __tstate = wxPyBeginAllowThreads();
15232 result = (bool)(arg1)->SelectionIsRectangle();
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 {
15237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15238 }
15239 return resultobj;
15240 fail:
15241 return NULL;
15242 }
15243
15244
15245 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15246 PyObject *resultobj = 0;
15247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15248 int arg2 ;
15249 void *argp1 = 0 ;
15250 int res1 = 0 ;
15251 int val2 ;
15252 int ecode2 = 0 ;
15253 PyObject * obj0 = 0 ;
15254 PyObject * obj1 = 0 ;
15255 char * kwnames[] = {
15256 (char *) "self",(char *) "zoom", NULL
15257 };
15258
15259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
15260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15261 if (!SWIG_IsOK(res1)) {
15262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15263 }
15264 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15265 ecode2 = SWIG_AsVal_int(obj1, &val2);
15266 if (!SWIG_IsOK(ecode2)) {
15267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "2"" of type '" "int""'");
15268 }
15269 arg2 = static_cast< int >(val2);
15270 {
15271 PyThreadState* __tstate = wxPyBeginAllowThreads();
15272 (arg1)->SetZoom(arg2);
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 resultobj = SWIG_Py_Void();
15277 return resultobj;
15278 fail:
15279 return NULL;
15280 }
15281
15282
15283 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15284 PyObject *resultobj = 0;
15285 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15286 int result;
15287 void *argp1 = 0 ;
15288 int res1 = 0 ;
15289 PyObject *swig_obj[1] ;
15290
15291 if (!args) SWIG_fail;
15292 swig_obj[0] = args;
15293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15294 if (!SWIG_IsOK(res1)) {
15295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15296 }
15297 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15298 {
15299 PyThreadState* __tstate = wxPyBeginAllowThreads();
15300 result = (int)(arg1)->GetZoom();
15301 wxPyEndAllowThreads(__tstate);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 }
15304 resultobj = SWIG_From_int(static_cast< int >(result));
15305 return resultobj;
15306 fail:
15307 return NULL;
15308 }
15309
15310
15311 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15312 PyObject *resultobj = 0;
15313 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15314 void *result = 0 ;
15315 void *argp1 = 0 ;
15316 int res1 = 0 ;
15317 PyObject *swig_obj[1] ;
15318
15319 if (!args) SWIG_fail;
15320 swig_obj[0] = args;
15321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15322 if (!SWIG_IsOK(res1)) {
15323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CreateDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15324 }
15325 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15326 {
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 result = (void *)(arg1)->CreateDocument();
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
15333 return resultobj;
15334 fail:
15335 return NULL;
15336 }
15337
15338
15339 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15340 PyObject *resultobj = 0;
15341 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15342 void *arg2 = (void *) 0 ;
15343 void *argp1 = 0 ;
15344 int res1 = 0 ;
15345 int res2 ;
15346 PyObject * obj0 = 0 ;
15347 PyObject * obj1 = 0 ;
15348 char * kwnames[] = {
15349 (char *) "self",(char *) "docPointer", NULL
15350 };
15351
15352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) SWIG_fail;
15353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15354 if (!SWIG_IsOK(res1)) {
15355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15356 }
15357 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15358 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
15359 if (!SWIG_IsOK(res2)) {
15360 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "2"" of type '" "void *""'");
15361 }
15362 {
15363 PyThreadState* __tstate = wxPyBeginAllowThreads();
15364 (arg1)->AddRefDocument(arg2);
15365 wxPyEndAllowThreads(__tstate);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 }
15368 resultobj = SWIG_Py_Void();
15369 return resultobj;
15370 fail:
15371 return NULL;
15372 }
15373
15374
15375 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15376 PyObject *resultobj = 0;
15377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15378 void *arg2 = (void *) 0 ;
15379 void *argp1 = 0 ;
15380 int res1 = 0 ;
15381 int res2 ;
15382 PyObject * obj0 = 0 ;
15383 PyObject * obj1 = 0 ;
15384 char * kwnames[] = {
15385 (char *) "self",(char *) "docPointer", NULL
15386 };
15387
15388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) SWIG_fail;
15389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15390 if (!SWIG_IsOK(res1)) {
15391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15392 }
15393 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15394 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
15395 if (!SWIG_IsOK(res2)) {
15396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "2"" of type '" "void *""'");
15397 }
15398 {
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 (arg1)->ReleaseDocument(arg2);
15401 wxPyEndAllowThreads(__tstate);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 }
15404 resultobj = SWIG_Py_Void();
15405 return resultobj;
15406 fail:
15407 return NULL;
15408 }
15409
15410
15411 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15412 PyObject *resultobj = 0;
15413 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15414 int result;
15415 void *argp1 = 0 ;
15416 int res1 = 0 ;
15417 PyObject *swig_obj[1] ;
15418
15419 if (!args) SWIG_fail;
15420 swig_obj[0] = args;
15421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15422 if (!SWIG_IsOK(res1)) {
15423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15424 }
15425 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15426 {
15427 PyThreadState* __tstate = wxPyBeginAllowThreads();
15428 result = (int)(arg1)->GetModEventMask();
15429 wxPyEndAllowThreads(__tstate);
15430 if (PyErr_Occurred()) SWIG_fail;
15431 }
15432 resultobj = SWIG_From_int(static_cast< int >(result));
15433 return resultobj;
15434 fail:
15435 return NULL;
15436 }
15437
15438
15439 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15440 PyObject *resultobj = 0;
15441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15442 bool arg2 ;
15443 void *argp1 = 0 ;
15444 int res1 = 0 ;
15445 bool val2 ;
15446 int ecode2 = 0 ;
15447 PyObject * obj0 = 0 ;
15448 PyObject * obj1 = 0 ;
15449 char * kwnames[] = {
15450 (char *) "self",(char *) "focus", NULL
15451 };
15452
15453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) SWIG_fail;
15454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15455 if (!SWIG_IsOK(res1)) {
15456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15457 }
15458 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15459 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15460 if (!SWIG_IsOK(ecode2)) {
15461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "2"" of type '" "bool""'");
15462 }
15463 arg2 = static_cast< bool >(val2);
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 (arg1)->SetSTCFocus(arg2);
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 resultobj = SWIG_Py_Void();
15471 return resultobj;
15472 fail:
15473 return NULL;
15474 }
15475
15476
15477 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15478 PyObject *resultobj = 0;
15479 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15480 bool result;
15481 void *argp1 = 0 ;
15482 int res1 = 0 ;
15483 PyObject *swig_obj[1] ;
15484
15485 if (!args) SWIG_fail;
15486 swig_obj[0] = args;
15487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15488 if (!SWIG_IsOK(res1)) {
15489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15490 }
15491 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15492 {
15493 PyThreadState* __tstate = wxPyBeginAllowThreads();
15494 result = (bool)(arg1)->GetSTCFocus();
15495 wxPyEndAllowThreads(__tstate);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
15498 {
15499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15500 }
15501 return resultobj;
15502 fail:
15503 return NULL;
15504 }
15505
15506
15507 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15508 PyObject *resultobj = 0;
15509 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15510 int arg2 ;
15511 void *argp1 = 0 ;
15512 int res1 = 0 ;
15513 int val2 ;
15514 int ecode2 = 0 ;
15515 PyObject * obj0 = 0 ;
15516 PyObject * obj1 = 0 ;
15517 char * kwnames[] = {
15518 (char *) "self",(char *) "statusCode", NULL
15519 };
15520
15521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) SWIG_fail;
15522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15523 if (!SWIG_IsOK(res1)) {
15524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15525 }
15526 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15527 ecode2 = SWIG_AsVal_int(obj1, &val2);
15528 if (!SWIG_IsOK(ecode2)) {
15529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "2"" of type '" "int""'");
15530 }
15531 arg2 = static_cast< int >(val2);
15532 {
15533 PyThreadState* __tstate = wxPyBeginAllowThreads();
15534 (arg1)->SetStatus(arg2);
15535 wxPyEndAllowThreads(__tstate);
15536 if (PyErr_Occurred()) SWIG_fail;
15537 }
15538 resultobj = SWIG_Py_Void();
15539 return resultobj;
15540 fail:
15541 return NULL;
15542 }
15543
15544
15545 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15546 PyObject *resultobj = 0;
15547 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15548 int result;
15549 void *argp1 = 0 ;
15550 int res1 = 0 ;
15551 PyObject *swig_obj[1] ;
15552
15553 if (!args) SWIG_fail;
15554 swig_obj[0] = args;
15555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15556 if (!SWIG_IsOK(res1)) {
15557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15558 }
15559 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15560 {
15561 PyThreadState* __tstate = wxPyBeginAllowThreads();
15562 result = (int)(arg1)->GetStatus();
15563 wxPyEndAllowThreads(__tstate);
15564 if (PyErr_Occurred()) SWIG_fail;
15565 }
15566 resultobj = SWIG_From_int(static_cast< int >(result));
15567 return resultobj;
15568 fail:
15569 return NULL;
15570 }
15571
15572
15573 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15574 PyObject *resultobj = 0;
15575 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15576 bool arg2 ;
15577 void *argp1 = 0 ;
15578 int res1 = 0 ;
15579 bool val2 ;
15580 int ecode2 = 0 ;
15581 PyObject * obj0 = 0 ;
15582 PyObject * obj1 = 0 ;
15583 char * kwnames[] = {
15584 (char *) "self",(char *) "captures", NULL
15585 };
15586
15587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) SWIG_fail;
15588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15589 if (!SWIG_IsOK(res1)) {
15590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15591 }
15592 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15593 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15594 if (!SWIG_IsOK(ecode2)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "2"" of type '" "bool""'");
15596 }
15597 arg2 = static_cast< bool >(val2);
15598 {
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 (arg1)->SetMouseDownCaptures(arg2);
15601 wxPyEndAllowThreads(__tstate);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 }
15604 resultobj = SWIG_Py_Void();
15605 return resultobj;
15606 fail:
15607 return NULL;
15608 }
15609
15610
15611 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15612 PyObject *resultobj = 0;
15613 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15614 bool result;
15615 void *argp1 = 0 ;
15616 int res1 = 0 ;
15617 PyObject *swig_obj[1] ;
15618
15619 if (!args) SWIG_fail;
15620 swig_obj[0] = args;
15621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15622 if (!SWIG_IsOK(res1)) {
15623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15624 }
15625 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 result = (bool)(arg1)->GetMouseDownCaptures();
15629 wxPyEndAllowThreads(__tstate);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
15632 {
15633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15634 }
15635 return resultobj;
15636 fail:
15637 return NULL;
15638 }
15639
15640
15641 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15642 PyObject *resultobj = 0;
15643 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15644 int arg2 ;
15645 void *argp1 = 0 ;
15646 int res1 = 0 ;
15647 int val2 ;
15648 int ecode2 = 0 ;
15649 PyObject * obj0 = 0 ;
15650 PyObject * obj1 = 0 ;
15651 char * kwnames[] = {
15652 (char *) "self",(char *) "cursorType", NULL
15653 };
15654
15655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) SWIG_fail;
15656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15657 if (!SWIG_IsOK(res1)) {
15658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15659 }
15660 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15661 ecode2 = SWIG_AsVal_int(obj1, &val2);
15662 if (!SWIG_IsOK(ecode2)) {
15663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "2"" of type '" "int""'");
15664 }
15665 arg2 = static_cast< int >(val2);
15666 {
15667 PyThreadState* __tstate = wxPyBeginAllowThreads();
15668 (arg1)->SetSTCCursor(arg2);
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 resultobj = SWIG_Py_Void();
15673 return resultobj;
15674 fail:
15675 return NULL;
15676 }
15677
15678
15679 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15680 PyObject *resultobj = 0;
15681 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15682 int result;
15683 void *argp1 = 0 ;
15684 int res1 = 0 ;
15685 PyObject *swig_obj[1] ;
15686
15687 if (!args) SWIG_fail;
15688 swig_obj[0] = args;
15689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15690 if (!SWIG_IsOK(res1)) {
15691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15692 }
15693 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15694 {
15695 PyThreadState* __tstate = wxPyBeginAllowThreads();
15696 result = (int)(arg1)->GetSTCCursor();
15697 wxPyEndAllowThreads(__tstate);
15698 if (PyErr_Occurred()) SWIG_fail;
15699 }
15700 resultobj = SWIG_From_int(static_cast< int >(result));
15701 return resultobj;
15702 fail:
15703 return NULL;
15704 }
15705
15706
15707 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15708 PyObject *resultobj = 0;
15709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15710 int arg2 ;
15711 void *argp1 = 0 ;
15712 int res1 = 0 ;
15713 int val2 ;
15714 int ecode2 = 0 ;
15715 PyObject * obj0 = 0 ;
15716 PyObject * obj1 = 0 ;
15717 char * kwnames[] = {
15718 (char *) "self",(char *) "symbol", NULL
15719 };
15720
15721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) SWIG_fail;
15722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15723 if (!SWIG_IsOK(res1)) {
15724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15725 }
15726 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15727 ecode2 = SWIG_AsVal_int(obj1, &val2);
15728 if (!SWIG_IsOK(ecode2)) {
15729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "2"" of type '" "int""'");
15730 }
15731 arg2 = static_cast< int >(val2);
15732 {
15733 PyThreadState* __tstate = wxPyBeginAllowThreads();
15734 (arg1)->SetControlCharSymbol(arg2);
15735 wxPyEndAllowThreads(__tstate);
15736 if (PyErr_Occurred()) SWIG_fail;
15737 }
15738 resultobj = SWIG_Py_Void();
15739 return resultobj;
15740 fail:
15741 return NULL;
15742 }
15743
15744
15745 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15746 PyObject *resultobj = 0;
15747 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15748 int result;
15749 void *argp1 = 0 ;
15750 int res1 = 0 ;
15751 PyObject *swig_obj[1] ;
15752
15753 if (!args) SWIG_fail;
15754 swig_obj[0] = args;
15755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15756 if (!SWIG_IsOK(res1)) {
15757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15758 }
15759 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15760 {
15761 PyThreadState* __tstate = wxPyBeginAllowThreads();
15762 result = (int)(arg1)->GetControlCharSymbol();
15763 wxPyEndAllowThreads(__tstate);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 }
15766 resultobj = SWIG_From_int(static_cast< int >(result));
15767 return resultobj;
15768 fail:
15769 return NULL;
15770 }
15771
15772
15773 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15774 PyObject *resultobj = 0;
15775 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15776 void *argp1 = 0 ;
15777 int res1 = 0 ;
15778 PyObject *swig_obj[1] ;
15779
15780 if (!args) SWIG_fail;
15781 swig_obj[0] = args;
15782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15783 if (!SWIG_IsOK(res1)) {
15784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15785 }
15786 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15787 {
15788 PyThreadState* __tstate = wxPyBeginAllowThreads();
15789 (arg1)->WordPartLeft();
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 resultobj = SWIG_Py_Void();
15794 return resultobj;
15795 fail:
15796 return NULL;
15797 }
15798
15799
15800 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15801 PyObject *resultobj = 0;
15802 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15803 void *argp1 = 0 ;
15804 int res1 = 0 ;
15805 PyObject *swig_obj[1] ;
15806
15807 if (!args) SWIG_fail;
15808 swig_obj[0] = args;
15809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15810 if (!SWIG_IsOK(res1)) {
15811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15812 }
15813 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15814 {
15815 PyThreadState* __tstate = wxPyBeginAllowThreads();
15816 (arg1)->WordPartLeftExtend();
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 resultobj = SWIG_Py_Void();
15821 return resultobj;
15822 fail:
15823 return NULL;
15824 }
15825
15826
15827 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15828 PyObject *resultobj = 0;
15829 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15830 void *argp1 = 0 ;
15831 int res1 = 0 ;
15832 PyObject *swig_obj[1] ;
15833
15834 if (!args) SWIG_fail;
15835 swig_obj[0] = args;
15836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15837 if (!SWIG_IsOK(res1)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15839 }
15840 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15841 {
15842 PyThreadState* __tstate = wxPyBeginAllowThreads();
15843 (arg1)->WordPartRight();
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 resultobj = SWIG_Py_Void();
15848 return resultobj;
15849 fail:
15850 return NULL;
15851 }
15852
15853
15854 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15855 PyObject *resultobj = 0;
15856 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15857 void *argp1 = 0 ;
15858 int res1 = 0 ;
15859 PyObject *swig_obj[1] ;
15860
15861 if (!args) SWIG_fail;
15862 swig_obj[0] = args;
15863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15864 if (!SWIG_IsOK(res1)) {
15865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15866 }
15867 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15868 {
15869 PyThreadState* __tstate = wxPyBeginAllowThreads();
15870 (arg1)->WordPartRightExtend();
15871 wxPyEndAllowThreads(__tstate);
15872 if (PyErr_Occurred()) SWIG_fail;
15873 }
15874 resultobj = SWIG_Py_Void();
15875 return resultobj;
15876 fail:
15877 return NULL;
15878 }
15879
15880
15881 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15882 PyObject *resultobj = 0;
15883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15884 int arg2 ;
15885 int arg3 ;
15886 void *argp1 = 0 ;
15887 int res1 = 0 ;
15888 int val2 ;
15889 int ecode2 = 0 ;
15890 int val3 ;
15891 int ecode3 = 0 ;
15892 PyObject * obj0 = 0 ;
15893 PyObject * obj1 = 0 ;
15894 PyObject * obj2 = 0 ;
15895 char * kwnames[] = {
15896 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
15897 };
15898
15899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15901 if (!SWIG_IsOK(res1)) {
15902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15903 }
15904 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15905 ecode2 = SWIG_AsVal_int(obj1, &val2);
15906 if (!SWIG_IsOK(ecode2)) {
15907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "2"" of type '" "int""'");
15908 }
15909 arg2 = static_cast< int >(val2);
15910 ecode3 = SWIG_AsVal_int(obj2, &val3);
15911 if (!SWIG_IsOK(ecode3)) {
15912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "3"" of type '" "int""'");
15913 }
15914 arg3 = static_cast< int >(val3);
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 (arg1)->SetVisiblePolicy(arg2,arg3);
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 resultobj = SWIG_Py_Void();
15922 return resultobj;
15923 fail:
15924 return NULL;
15925 }
15926
15927
15928 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15929 PyObject *resultobj = 0;
15930 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15931 void *argp1 = 0 ;
15932 int res1 = 0 ;
15933 PyObject *swig_obj[1] ;
15934
15935 if (!args) SWIG_fail;
15936 swig_obj[0] = args;
15937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15938 if (!SWIG_IsOK(res1)) {
15939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15940 }
15941 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15942 {
15943 PyThreadState* __tstate = wxPyBeginAllowThreads();
15944 (arg1)->DelLineLeft();
15945 wxPyEndAllowThreads(__tstate);
15946 if (PyErr_Occurred()) SWIG_fail;
15947 }
15948 resultobj = SWIG_Py_Void();
15949 return resultobj;
15950 fail:
15951 return NULL;
15952 }
15953
15954
15955 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15956 PyObject *resultobj = 0;
15957 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15958 void *argp1 = 0 ;
15959 int res1 = 0 ;
15960 PyObject *swig_obj[1] ;
15961
15962 if (!args) SWIG_fail;
15963 swig_obj[0] = args;
15964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15965 if (!SWIG_IsOK(res1)) {
15966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15967 }
15968 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15969 {
15970 PyThreadState* __tstate = wxPyBeginAllowThreads();
15971 (arg1)->DelLineRight();
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
15975 resultobj = SWIG_Py_Void();
15976 return resultobj;
15977 fail:
15978 return NULL;
15979 }
15980
15981
15982 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15983 PyObject *resultobj = 0;
15984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15985 int arg2 ;
15986 void *argp1 = 0 ;
15987 int res1 = 0 ;
15988 int val2 ;
15989 int ecode2 = 0 ;
15990 PyObject * obj0 = 0 ;
15991 PyObject * obj1 = 0 ;
15992 char * kwnames[] = {
15993 (char *) "self",(char *) "newOffset", NULL
15994 };
15995
15996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) SWIG_fail;
15997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15998 if (!SWIG_IsOK(res1)) {
15999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16000 }
16001 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16002 ecode2 = SWIG_AsVal_int(obj1, &val2);
16003 if (!SWIG_IsOK(ecode2)) {
16004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "2"" of type '" "int""'");
16005 }
16006 arg2 = static_cast< int >(val2);
16007 {
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 (arg1)->SetXOffset(arg2);
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 resultobj = SWIG_Py_Void();
16014 return resultobj;
16015 fail:
16016 return NULL;
16017 }
16018
16019
16020 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16021 PyObject *resultobj = 0;
16022 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16023 int result;
16024 void *argp1 = 0 ;
16025 int res1 = 0 ;
16026 PyObject *swig_obj[1] ;
16027
16028 if (!args) SWIG_fail;
16029 swig_obj[0] = args;
16030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16031 if (!SWIG_IsOK(res1)) {
16032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16033 }
16034 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16035 {
16036 PyThreadState* __tstate = wxPyBeginAllowThreads();
16037 result = (int)(arg1)->GetXOffset();
16038 wxPyEndAllowThreads(__tstate);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 resultobj = SWIG_From_int(static_cast< int >(result));
16042 return resultobj;
16043 fail:
16044 return NULL;
16045 }
16046
16047
16048 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16049 PyObject *resultobj = 0;
16050 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16051 void *argp1 = 0 ;
16052 int res1 = 0 ;
16053 PyObject *swig_obj[1] ;
16054
16055 if (!args) SWIG_fail;
16056 swig_obj[0] = args;
16057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16058 if (!SWIG_IsOK(res1)) {
16059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ChooseCaretX" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16060 }
16061 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16062 {
16063 PyThreadState* __tstate = wxPyBeginAllowThreads();
16064 (arg1)->ChooseCaretX();
16065 wxPyEndAllowThreads(__tstate);
16066 if (PyErr_Occurred()) SWIG_fail;
16067 }
16068 resultobj = SWIG_Py_Void();
16069 return resultobj;
16070 fail:
16071 return NULL;
16072 }
16073
16074
16075 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj = 0;
16077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16078 int arg2 ;
16079 int arg3 ;
16080 void *argp1 = 0 ;
16081 int res1 = 0 ;
16082 int val2 ;
16083 int ecode2 = 0 ;
16084 int val3 ;
16085 int ecode3 = 0 ;
16086 PyObject * obj0 = 0 ;
16087 PyObject * obj1 = 0 ;
16088 PyObject * obj2 = 0 ;
16089 char * kwnames[] = {
16090 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
16091 };
16092
16093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16095 if (!SWIG_IsOK(res1)) {
16096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16097 }
16098 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16099 ecode2 = SWIG_AsVal_int(obj1, &val2);
16100 if (!SWIG_IsOK(ecode2)) {
16101 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "2"" of type '" "int""'");
16102 }
16103 arg2 = static_cast< int >(val2);
16104 ecode3 = SWIG_AsVal_int(obj2, &val3);
16105 if (!SWIG_IsOK(ecode3)) {
16106 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "3"" of type '" "int""'");
16107 }
16108 arg3 = static_cast< int >(val3);
16109 {
16110 PyThreadState* __tstate = wxPyBeginAllowThreads();
16111 (arg1)->SetXCaretPolicy(arg2,arg3);
16112 wxPyEndAllowThreads(__tstate);
16113 if (PyErr_Occurred()) SWIG_fail;
16114 }
16115 resultobj = SWIG_Py_Void();
16116 return resultobj;
16117 fail:
16118 return NULL;
16119 }
16120
16121
16122 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16123 PyObject *resultobj = 0;
16124 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16125 int arg2 ;
16126 int arg3 ;
16127 void *argp1 = 0 ;
16128 int res1 = 0 ;
16129 int val2 ;
16130 int ecode2 = 0 ;
16131 int val3 ;
16132 int ecode3 = 0 ;
16133 PyObject * obj0 = 0 ;
16134 PyObject * obj1 = 0 ;
16135 PyObject * obj2 = 0 ;
16136 char * kwnames[] = {
16137 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
16138 };
16139
16140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16142 if (!SWIG_IsOK(res1)) {
16143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16144 }
16145 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16146 ecode2 = SWIG_AsVal_int(obj1, &val2);
16147 if (!SWIG_IsOK(ecode2)) {
16148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "2"" of type '" "int""'");
16149 }
16150 arg2 = static_cast< int >(val2);
16151 ecode3 = SWIG_AsVal_int(obj2, &val3);
16152 if (!SWIG_IsOK(ecode3)) {
16153 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "3"" of type '" "int""'");
16154 }
16155 arg3 = static_cast< int >(val3);
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 (arg1)->SetYCaretPolicy(arg2,arg3);
16159 wxPyEndAllowThreads(__tstate);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 resultobj = SWIG_Py_Void();
16163 return resultobj;
16164 fail:
16165 return NULL;
16166 }
16167
16168
16169 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj = 0;
16171 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16172 int arg2 ;
16173 void *argp1 = 0 ;
16174 int res1 = 0 ;
16175 int val2 ;
16176 int ecode2 = 0 ;
16177 PyObject * obj0 = 0 ;
16178 PyObject * obj1 = 0 ;
16179 char * kwnames[] = {
16180 (char *) "self",(char *) "mode", NULL
16181 };
16182
16183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
16184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16185 if (!SWIG_IsOK(res1)) {
16186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16187 }
16188 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16189 ecode2 = SWIG_AsVal_int(obj1, &val2);
16190 if (!SWIG_IsOK(ecode2)) {
16191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "2"" of type '" "int""'");
16192 }
16193 arg2 = static_cast< int >(val2);
16194 {
16195 PyThreadState* __tstate = wxPyBeginAllowThreads();
16196 (arg1)->SetPrintWrapMode(arg2);
16197 wxPyEndAllowThreads(__tstate);
16198 if (PyErr_Occurred()) SWIG_fail;
16199 }
16200 resultobj = SWIG_Py_Void();
16201 return resultobj;
16202 fail:
16203 return NULL;
16204 }
16205
16206
16207 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16208 PyObject *resultobj = 0;
16209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16210 int result;
16211 void *argp1 = 0 ;
16212 int res1 = 0 ;
16213 PyObject *swig_obj[1] ;
16214
16215 if (!args) SWIG_fail;
16216 swig_obj[0] = args;
16217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16218 if (!SWIG_IsOK(res1)) {
16219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16220 }
16221 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 result = (int)(arg1)->GetPrintWrapMode();
16225 wxPyEndAllowThreads(__tstate);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 }
16228 resultobj = SWIG_From_int(static_cast< int >(result));
16229 return resultobj;
16230 fail:
16231 return NULL;
16232 }
16233
16234
16235 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16236 PyObject *resultobj = 0;
16237 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16238 bool arg2 ;
16239 wxColour *arg3 = 0 ;
16240 void *argp1 = 0 ;
16241 int res1 = 0 ;
16242 bool val2 ;
16243 int ecode2 = 0 ;
16244 wxColour temp3 ;
16245 PyObject * obj0 = 0 ;
16246 PyObject * obj1 = 0 ;
16247 PyObject * obj2 = 0 ;
16248 char * kwnames[] = {
16249 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
16250 };
16251
16252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16254 if (!SWIG_IsOK(res1)) {
16255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16256 }
16257 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16258 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16259 if (!SWIG_IsOK(ecode2)) {
16260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "2"" of type '" "bool""'");
16261 }
16262 arg2 = static_cast< bool >(val2);
16263 {
16264 arg3 = &temp3;
16265 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16266 }
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
16270 wxPyEndAllowThreads(__tstate);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 }
16273 resultobj = SWIG_Py_Void();
16274 return resultobj;
16275 fail:
16276 return NULL;
16277 }
16278
16279
16280 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16281 PyObject *resultobj = 0;
16282 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16283 bool arg2 ;
16284 wxColour *arg3 = 0 ;
16285 void *argp1 = 0 ;
16286 int res1 = 0 ;
16287 bool val2 ;
16288 int ecode2 = 0 ;
16289 wxColour temp3 ;
16290 PyObject * obj0 = 0 ;
16291 PyObject * obj1 = 0 ;
16292 PyObject * obj2 = 0 ;
16293 char * kwnames[] = {
16294 (char *) "self",(char *) "useSetting",(char *) "back", NULL
16295 };
16296
16297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16299 if (!SWIG_IsOK(res1)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16301 }
16302 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16303 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16304 if (!SWIG_IsOK(ecode2)) {
16305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "2"" of type '" "bool""'");
16306 }
16307 arg2 = static_cast< bool >(val2);
16308 {
16309 arg3 = &temp3;
16310 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16311 }
16312 {
16313 PyThreadState* __tstate = wxPyBeginAllowThreads();
16314 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
16315 wxPyEndAllowThreads(__tstate);
16316 if (PyErr_Occurred()) SWIG_fail;
16317 }
16318 resultobj = SWIG_Py_Void();
16319 return resultobj;
16320 fail:
16321 return NULL;
16322 }
16323
16324
16325 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16326 PyObject *resultobj = 0;
16327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16328 bool arg2 ;
16329 void *argp1 = 0 ;
16330 int res1 = 0 ;
16331 bool val2 ;
16332 int ecode2 = 0 ;
16333 PyObject * obj0 = 0 ;
16334 PyObject * obj1 = 0 ;
16335 char * kwnames[] = {
16336 (char *) "self",(char *) "underline", NULL
16337 };
16338
16339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) SWIG_fail;
16340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16341 if (!SWIG_IsOK(res1)) {
16342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16343 }
16344 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16345 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16346 if (!SWIG_IsOK(ecode2)) {
16347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "2"" of type '" "bool""'");
16348 }
16349 arg2 = static_cast< bool >(val2);
16350 {
16351 PyThreadState* __tstate = wxPyBeginAllowThreads();
16352 (arg1)->SetHotspotActiveUnderline(arg2);
16353 wxPyEndAllowThreads(__tstate);
16354 if (PyErr_Occurred()) SWIG_fail;
16355 }
16356 resultobj = SWIG_Py_Void();
16357 return resultobj;
16358 fail:
16359 return NULL;
16360 }
16361
16362
16363 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16364 PyObject *resultobj = 0;
16365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16366 bool arg2 ;
16367 void *argp1 = 0 ;
16368 int res1 = 0 ;
16369 bool val2 ;
16370 int ecode2 = 0 ;
16371 PyObject * obj0 = 0 ;
16372 PyObject * obj1 = 0 ;
16373 char * kwnames[] = {
16374 (char *) "self",(char *) "singleLine", NULL
16375 };
16376
16377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) SWIG_fail;
16378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16379 if (!SWIG_IsOK(res1)) {
16380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16381 }
16382 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16383 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16384 if (!SWIG_IsOK(ecode2)) {
16385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "2"" of type '" "bool""'");
16386 }
16387 arg2 = static_cast< bool >(val2);
16388 {
16389 PyThreadState* __tstate = wxPyBeginAllowThreads();
16390 (arg1)->SetHotspotSingleLine(arg2);
16391 wxPyEndAllowThreads(__tstate);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
16394 resultobj = SWIG_Py_Void();
16395 return resultobj;
16396 fail:
16397 return NULL;
16398 }
16399
16400
16401 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16402 PyObject *resultobj = 0;
16403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16404 void *argp1 = 0 ;
16405 int res1 = 0 ;
16406 PyObject *swig_obj[1] ;
16407
16408 if (!args) SWIG_fail;
16409 swig_obj[0] = args;
16410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16411 if (!SWIG_IsOK(res1)) {
16412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16413 }
16414 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16415 {
16416 PyThreadState* __tstate = wxPyBeginAllowThreads();
16417 (arg1)->ParaDown();
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 resultobj = SWIG_Py_Void();
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16429 PyObject *resultobj = 0;
16430 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16431 void *argp1 = 0 ;
16432 int res1 = 0 ;
16433 PyObject *swig_obj[1] ;
16434
16435 if (!args) SWIG_fail;
16436 swig_obj[0] = args;
16437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16438 if (!SWIG_IsOK(res1)) {
16439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16440 }
16441 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16442 {
16443 PyThreadState* __tstate = wxPyBeginAllowThreads();
16444 (arg1)->ParaDownExtend();
16445 wxPyEndAllowThreads(__tstate);
16446 if (PyErr_Occurred()) SWIG_fail;
16447 }
16448 resultobj = SWIG_Py_Void();
16449 return resultobj;
16450 fail:
16451 return NULL;
16452 }
16453
16454
16455 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16456 PyObject *resultobj = 0;
16457 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16458 void *argp1 = 0 ;
16459 int res1 = 0 ;
16460 PyObject *swig_obj[1] ;
16461
16462 if (!args) SWIG_fail;
16463 swig_obj[0] = args;
16464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16465 if (!SWIG_IsOK(res1)) {
16466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16467 }
16468 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16469 {
16470 PyThreadState* __tstate = wxPyBeginAllowThreads();
16471 (arg1)->ParaUp();
16472 wxPyEndAllowThreads(__tstate);
16473 if (PyErr_Occurred()) SWIG_fail;
16474 }
16475 resultobj = SWIG_Py_Void();
16476 return resultobj;
16477 fail:
16478 return NULL;
16479 }
16480
16481
16482 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16483 PyObject *resultobj = 0;
16484 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16485 void *argp1 = 0 ;
16486 int res1 = 0 ;
16487 PyObject *swig_obj[1] ;
16488
16489 if (!args) SWIG_fail;
16490 swig_obj[0] = args;
16491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16492 if (!SWIG_IsOK(res1)) {
16493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16494 }
16495 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16496 {
16497 PyThreadState* __tstate = wxPyBeginAllowThreads();
16498 (arg1)->ParaUpExtend();
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
16502 resultobj = SWIG_Py_Void();
16503 return resultobj;
16504 fail:
16505 return NULL;
16506 }
16507
16508
16509 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16510 PyObject *resultobj = 0;
16511 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16512 int arg2 ;
16513 int result;
16514 void *argp1 = 0 ;
16515 int res1 = 0 ;
16516 int val2 ;
16517 int ecode2 = 0 ;
16518 PyObject * obj0 = 0 ;
16519 PyObject * obj1 = 0 ;
16520 char * kwnames[] = {
16521 (char *) "self",(char *) "pos", NULL
16522 };
16523
16524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) SWIG_fail;
16525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16526 if (!SWIG_IsOK(res1)) {
16527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16528 }
16529 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16530 ecode2 = SWIG_AsVal_int(obj1, &val2);
16531 if (!SWIG_IsOK(ecode2)) {
16532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "2"" of type '" "int""'");
16533 }
16534 arg2 = static_cast< int >(val2);
16535 {
16536 PyThreadState* __tstate = wxPyBeginAllowThreads();
16537 result = (int)(arg1)->PositionBefore(arg2);
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 resultobj = SWIG_From_int(static_cast< int >(result));
16542 return resultobj;
16543 fail:
16544 return NULL;
16545 }
16546
16547
16548 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16549 PyObject *resultobj = 0;
16550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16551 int arg2 ;
16552 int result;
16553 void *argp1 = 0 ;
16554 int res1 = 0 ;
16555 int val2 ;
16556 int ecode2 = 0 ;
16557 PyObject * obj0 = 0 ;
16558 PyObject * obj1 = 0 ;
16559 char * kwnames[] = {
16560 (char *) "self",(char *) "pos", NULL
16561 };
16562
16563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) SWIG_fail;
16564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16565 if (!SWIG_IsOK(res1)) {
16566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16567 }
16568 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16569 ecode2 = SWIG_AsVal_int(obj1, &val2);
16570 if (!SWIG_IsOK(ecode2)) {
16571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "2"" of type '" "int""'");
16572 }
16573 arg2 = static_cast< int >(val2);
16574 {
16575 PyThreadState* __tstate = wxPyBeginAllowThreads();
16576 result = (int)(arg1)->PositionAfter(arg2);
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 resultobj = SWIG_From_int(static_cast< int >(result));
16581 return resultobj;
16582 fail:
16583 return NULL;
16584 }
16585
16586
16587 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16588 PyObject *resultobj = 0;
16589 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16590 int arg2 ;
16591 int arg3 ;
16592 void *argp1 = 0 ;
16593 int res1 = 0 ;
16594 int val2 ;
16595 int ecode2 = 0 ;
16596 int val3 ;
16597 int ecode3 = 0 ;
16598 PyObject * obj0 = 0 ;
16599 PyObject * obj1 = 0 ;
16600 PyObject * obj2 = 0 ;
16601 char * kwnames[] = {
16602 (char *) "self",(char *) "start",(char *) "end", NULL
16603 };
16604
16605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16607 if (!SWIG_IsOK(res1)) {
16608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16609 }
16610 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16611 ecode2 = SWIG_AsVal_int(obj1, &val2);
16612 if (!SWIG_IsOK(ecode2)) {
16613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "2"" of type '" "int""'");
16614 }
16615 arg2 = static_cast< int >(val2);
16616 ecode3 = SWIG_AsVal_int(obj2, &val3);
16617 if (!SWIG_IsOK(ecode3)) {
16618 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "3"" of type '" "int""'");
16619 }
16620 arg3 = static_cast< int >(val3);
16621 {
16622 PyThreadState* __tstate = wxPyBeginAllowThreads();
16623 (arg1)->CopyRange(arg2,arg3);
16624 wxPyEndAllowThreads(__tstate);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 }
16627 resultobj = SWIG_Py_Void();
16628 return resultobj;
16629 fail:
16630 return NULL;
16631 }
16632
16633
16634 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16635 PyObject *resultobj = 0;
16636 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16637 int arg2 ;
16638 wxString *arg3 = 0 ;
16639 void *argp1 = 0 ;
16640 int res1 = 0 ;
16641 int val2 ;
16642 int ecode2 = 0 ;
16643 bool temp3 = false ;
16644 PyObject * obj0 = 0 ;
16645 PyObject * obj1 = 0 ;
16646 PyObject * obj2 = 0 ;
16647 char * kwnames[] = {
16648 (char *) "self",(char *) "length",(char *) "text", NULL
16649 };
16650
16651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16653 if (!SWIG_IsOK(res1)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16655 }
16656 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16657 ecode2 = SWIG_AsVal_int(obj1, &val2);
16658 if (!SWIG_IsOK(ecode2)) {
16659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "2"" of type '" "int""'");
16660 }
16661 arg2 = static_cast< int >(val2);
16662 {
16663 arg3 = wxString_in_helper(obj2);
16664 if (arg3 == NULL) SWIG_fail;
16665 temp3 = true;
16666 }
16667 {
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 (arg1)->CopyText(arg2,(wxString const &)*arg3);
16670 wxPyEndAllowThreads(__tstate);
16671 if (PyErr_Occurred()) SWIG_fail;
16672 }
16673 resultobj = SWIG_Py_Void();
16674 {
16675 if (temp3)
16676 delete arg3;
16677 }
16678 return resultobj;
16679 fail:
16680 {
16681 if (temp3)
16682 delete arg3;
16683 }
16684 return NULL;
16685 }
16686
16687
16688 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj = 0;
16690 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16691 int arg2 ;
16692 void *argp1 = 0 ;
16693 int res1 = 0 ;
16694 int val2 ;
16695 int ecode2 = 0 ;
16696 PyObject * obj0 = 0 ;
16697 PyObject * obj1 = 0 ;
16698 char * kwnames[] = {
16699 (char *) "self",(char *) "mode", NULL
16700 };
16701
16702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) SWIG_fail;
16703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16704 if (!SWIG_IsOK(res1)) {
16705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16706 }
16707 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16708 ecode2 = SWIG_AsVal_int(obj1, &val2);
16709 if (!SWIG_IsOK(ecode2)) {
16710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "2"" of type '" "int""'");
16711 }
16712 arg2 = static_cast< int >(val2);
16713 {
16714 PyThreadState* __tstate = wxPyBeginAllowThreads();
16715 (arg1)->SetSelectionMode(arg2);
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 resultobj = SWIG_Py_Void();
16720 return resultobj;
16721 fail:
16722 return NULL;
16723 }
16724
16725
16726 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16727 PyObject *resultobj = 0;
16728 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16729 int result;
16730 void *argp1 = 0 ;
16731 int res1 = 0 ;
16732 PyObject *swig_obj[1] ;
16733
16734 if (!args) SWIG_fail;
16735 swig_obj[0] = args;
16736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16737 if (!SWIG_IsOK(res1)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16739 }
16740 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16741 {
16742 PyThreadState* __tstate = wxPyBeginAllowThreads();
16743 result = (int)(arg1)->GetSelectionMode();
16744 wxPyEndAllowThreads(__tstate);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 }
16747 resultobj = SWIG_From_int(static_cast< int >(result));
16748 return resultobj;
16749 fail:
16750 return NULL;
16751 }
16752
16753
16754 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16755 PyObject *resultobj = 0;
16756 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16757 int arg2 ;
16758 int result;
16759 void *argp1 = 0 ;
16760 int res1 = 0 ;
16761 int val2 ;
16762 int ecode2 = 0 ;
16763 PyObject * obj0 = 0 ;
16764 PyObject * obj1 = 0 ;
16765 char * kwnames[] = {
16766 (char *) "self",(char *) "line", NULL
16767 };
16768
16769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16771 if (!SWIG_IsOK(res1)) {
16772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16773 }
16774 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16775 ecode2 = SWIG_AsVal_int(obj1, &val2);
16776 if (!SWIG_IsOK(ecode2)) {
16777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "2"" of type '" "int""'");
16778 }
16779 arg2 = static_cast< int >(val2);
16780 {
16781 PyThreadState* __tstate = wxPyBeginAllowThreads();
16782 result = (int)(arg1)->GetLineSelStartPosition(arg2);
16783 wxPyEndAllowThreads(__tstate);
16784 if (PyErr_Occurred()) SWIG_fail;
16785 }
16786 resultobj = SWIG_From_int(static_cast< int >(result));
16787 return resultobj;
16788 fail:
16789 return NULL;
16790 }
16791
16792
16793 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16794 PyObject *resultobj = 0;
16795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16796 int arg2 ;
16797 int result;
16798 void *argp1 = 0 ;
16799 int res1 = 0 ;
16800 int val2 ;
16801 int ecode2 = 0 ;
16802 PyObject * obj0 = 0 ;
16803 PyObject * obj1 = 0 ;
16804 char * kwnames[] = {
16805 (char *) "self",(char *) "line", NULL
16806 };
16807
16808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16810 if (!SWIG_IsOK(res1)) {
16811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16812 }
16813 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16814 ecode2 = SWIG_AsVal_int(obj1, &val2);
16815 if (!SWIG_IsOK(ecode2)) {
16816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "2"" of type '" "int""'");
16817 }
16818 arg2 = static_cast< int >(val2);
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 result = (int)(arg1)->GetLineSelEndPosition(arg2);
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 resultobj = SWIG_From_int(static_cast< int >(result));
16826 return resultobj;
16827 fail:
16828 return NULL;
16829 }
16830
16831
16832 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16833 PyObject *resultobj = 0;
16834 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16835 void *argp1 = 0 ;
16836 int res1 = 0 ;
16837 PyObject *swig_obj[1] ;
16838
16839 if (!args) SWIG_fail;
16840 swig_obj[0] = args;
16841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16842 if (!SWIG_IsOK(res1)) {
16843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16844 }
16845 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16846 {
16847 PyThreadState* __tstate = wxPyBeginAllowThreads();
16848 (arg1)->LineDownRectExtend();
16849 wxPyEndAllowThreads(__tstate);
16850 if (PyErr_Occurred()) SWIG_fail;
16851 }
16852 resultobj = SWIG_Py_Void();
16853 return resultobj;
16854 fail:
16855 return NULL;
16856 }
16857
16858
16859 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16860 PyObject *resultobj = 0;
16861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16862 void *argp1 = 0 ;
16863 int res1 = 0 ;
16864 PyObject *swig_obj[1] ;
16865
16866 if (!args) SWIG_fail;
16867 swig_obj[0] = args;
16868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16869 if (!SWIG_IsOK(res1)) {
16870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16871 }
16872 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16873 {
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 (arg1)->LineUpRectExtend();
16876 wxPyEndAllowThreads(__tstate);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 resultobj = SWIG_Py_Void();
16880 return resultobj;
16881 fail:
16882 return NULL;
16883 }
16884
16885
16886 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16887 PyObject *resultobj = 0;
16888 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16889 void *argp1 = 0 ;
16890 int res1 = 0 ;
16891 PyObject *swig_obj[1] ;
16892
16893 if (!args) SWIG_fail;
16894 swig_obj[0] = args;
16895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16896 if (!SWIG_IsOK(res1)) {
16897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16898 }
16899 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16900 {
16901 PyThreadState* __tstate = wxPyBeginAllowThreads();
16902 (arg1)->CharLeftRectExtend();
16903 wxPyEndAllowThreads(__tstate);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
16906 resultobj = SWIG_Py_Void();
16907 return resultobj;
16908 fail:
16909 return NULL;
16910 }
16911
16912
16913 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16914 PyObject *resultobj = 0;
16915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16916 void *argp1 = 0 ;
16917 int res1 = 0 ;
16918 PyObject *swig_obj[1] ;
16919
16920 if (!args) SWIG_fail;
16921 swig_obj[0] = args;
16922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16923 if (!SWIG_IsOK(res1)) {
16924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16925 }
16926 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16927 {
16928 PyThreadState* __tstate = wxPyBeginAllowThreads();
16929 (arg1)->CharRightRectExtend();
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 resultobj = SWIG_Py_Void();
16934 return resultobj;
16935 fail:
16936 return NULL;
16937 }
16938
16939
16940 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16941 PyObject *resultobj = 0;
16942 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16943 void *argp1 = 0 ;
16944 int res1 = 0 ;
16945 PyObject *swig_obj[1] ;
16946
16947 if (!args) SWIG_fail;
16948 swig_obj[0] = args;
16949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16950 if (!SWIG_IsOK(res1)) {
16951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16952 }
16953 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 (arg1)->HomeRectExtend();
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 resultobj = SWIG_Py_Void();
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16968 PyObject *resultobj = 0;
16969 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16970 void *argp1 = 0 ;
16971 int res1 = 0 ;
16972 PyObject *swig_obj[1] ;
16973
16974 if (!args) SWIG_fail;
16975 swig_obj[0] = args;
16976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16977 if (!SWIG_IsOK(res1)) {
16978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16979 }
16980 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 (arg1)->VCHomeRectExtend();
16984 wxPyEndAllowThreads(__tstate);
16985 if (PyErr_Occurred()) SWIG_fail;
16986 }
16987 resultobj = SWIG_Py_Void();
16988 return resultobj;
16989 fail:
16990 return NULL;
16991 }
16992
16993
16994 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16995 PyObject *resultobj = 0;
16996 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16997 void *argp1 = 0 ;
16998 int res1 = 0 ;
16999 PyObject *swig_obj[1] ;
17000
17001 if (!args) SWIG_fail;
17002 swig_obj[0] = args;
17003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17004 if (!SWIG_IsOK(res1)) {
17005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17006 }
17007 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 (arg1)->LineEndRectExtend();
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 resultobj = SWIG_Py_Void();
17015 return resultobj;
17016 fail:
17017 return NULL;
17018 }
17019
17020
17021 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17022 PyObject *resultobj = 0;
17023 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17024 void *argp1 = 0 ;
17025 int res1 = 0 ;
17026 PyObject *swig_obj[1] ;
17027
17028 if (!args) SWIG_fail;
17029 swig_obj[0] = args;
17030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17031 if (!SWIG_IsOK(res1)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17033 }
17034 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 (arg1)->PageUpRectExtend();
17038 wxPyEndAllowThreads(__tstate);
17039 if (PyErr_Occurred()) SWIG_fail;
17040 }
17041 resultobj = SWIG_Py_Void();
17042 return resultobj;
17043 fail:
17044 return NULL;
17045 }
17046
17047
17048 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17049 PyObject *resultobj = 0;
17050 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17051 void *argp1 = 0 ;
17052 int res1 = 0 ;
17053 PyObject *swig_obj[1] ;
17054
17055 if (!args) SWIG_fail;
17056 swig_obj[0] = args;
17057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17058 if (!SWIG_IsOK(res1)) {
17059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17060 }
17061 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17062 {
17063 PyThreadState* __tstate = wxPyBeginAllowThreads();
17064 (arg1)->PageDownRectExtend();
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 resultobj = SWIG_Py_Void();
17069 return resultobj;
17070 fail:
17071 return NULL;
17072 }
17073
17074
17075 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17076 PyObject *resultobj = 0;
17077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17078 void *argp1 = 0 ;
17079 int res1 = 0 ;
17080 PyObject *swig_obj[1] ;
17081
17082 if (!args) SWIG_fail;
17083 swig_obj[0] = args;
17084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17085 if (!SWIG_IsOK(res1)) {
17086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17087 }
17088 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17089 {
17090 PyThreadState* __tstate = wxPyBeginAllowThreads();
17091 (arg1)->StutteredPageUp();
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 resultobj = SWIG_Py_Void();
17096 return resultobj;
17097 fail:
17098 return NULL;
17099 }
17100
17101
17102 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17103 PyObject *resultobj = 0;
17104 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17105 void *argp1 = 0 ;
17106 int res1 = 0 ;
17107 PyObject *swig_obj[1] ;
17108
17109 if (!args) SWIG_fail;
17110 swig_obj[0] = args;
17111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17112 if (!SWIG_IsOK(res1)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17114 }
17115 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17116 {
17117 PyThreadState* __tstate = wxPyBeginAllowThreads();
17118 (arg1)->StutteredPageUpExtend();
17119 wxPyEndAllowThreads(__tstate);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 }
17122 resultobj = SWIG_Py_Void();
17123 return resultobj;
17124 fail:
17125 return NULL;
17126 }
17127
17128
17129 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17130 PyObject *resultobj = 0;
17131 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17132 void *argp1 = 0 ;
17133 int res1 = 0 ;
17134 PyObject *swig_obj[1] ;
17135
17136 if (!args) SWIG_fail;
17137 swig_obj[0] = args;
17138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17139 if (!SWIG_IsOK(res1)) {
17140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17141 }
17142 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17143 {
17144 PyThreadState* __tstate = wxPyBeginAllowThreads();
17145 (arg1)->StutteredPageDown();
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 resultobj = SWIG_Py_Void();
17150 return resultobj;
17151 fail:
17152 return NULL;
17153 }
17154
17155
17156 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17157 PyObject *resultobj = 0;
17158 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17159 void *argp1 = 0 ;
17160 int res1 = 0 ;
17161 PyObject *swig_obj[1] ;
17162
17163 if (!args) SWIG_fail;
17164 swig_obj[0] = args;
17165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17166 if (!SWIG_IsOK(res1)) {
17167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17168 }
17169 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17170 {
17171 PyThreadState* __tstate = wxPyBeginAllowThreads();
17172 (arg1)->StutteredPageDownExtend();
17173 wxPyEndAllowThreads(__tstate);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 }
17176 resultobj = SWIG_Py_Void();
17177 return resultobj;
17178 fail:
17179 return NULL;
17180 }
17181
17182
17183 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17184 PyObject *resultobj = 0;
17185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17186 void *argp1 = 0 ;
17187 int res1 = 0 ;
17188 PyObject *swig_obj[1] ;
17189
17190 if (!args) SWIG_fail;
17191 swig_obj[0] = args;
17192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17193 if (!SWIG_IsOK(res1)) {
17194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17195 }
17196 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17197 {
17198 PyThreadState* __tstate = wxPyBeginAllowThreads();
17199 (arg1)->WordLeftEnd();
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 resultobj = SWIG_Py_Void();
17204 return resultobj;
17205 fail:
17206 return NULL;
17207 }
17208
17209
17210 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17211 PyObject *resultobj = 0;
17212 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17213 void *argp1 = 0 ;
17214 int res1 = 0 ;
17215 PyObject *swig_obj[1] ;
17216
17217 if (!args) SWIG_fail;
17218 swig_obj[0] = args;
17219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17220 if (!SWIG_IsOK(res1)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17222 }
17223 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 (arg1)->WordLeftEndExtend();
17227 wxPyEndAllowThreads(__tstate);
17228 if (PyErr_Occurred()) SWIG_fail;
17229 }
17230 resultobj = SWIG_Py_Void();
17231 return resultobj;
17232 fail:
17233 return NULL;
17234 }
17235
17236
17237 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17238 PyObject *resultobj = 0;
17239 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17240 void *argp1 = 0 ;
17241 int res1 = 0 ;
17242 PyObject *swig_obj[1] ;
17243
17244 if (!args) SWIG_fail;
17245 swig_obj[0] = args;
17246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17247 if (!SWIG_IsOK(res1)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17249 }
17250 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17251 {
17252 PyThreadState* __tstate = wxPyBeginAllowThreads();
17253 (arg1)->WordRightEnd();
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 resultobj = SWIG_Py_Void();
17258 return resultobj;
17259 fail:
17260 return NULL;
17261 }
17262
17263
17264 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17265 PyObject *resultobj = 0;
17266 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17267 void *argp1 = 0 ;
17268 int res1 = 0 ;
17269 PyObject *swig_obj[1] ;
17270
17271 if (!args) SWIG_fail;
17272 swig_obj[0] = args;
17273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17274 if (!SWIG_IsOK(res1)) {
17275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17276 }
17277 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17278 {
17279 PyThreadState* __tstate = wxPyBeginAllowThreads();
17280 (arg1)->WordRightEndExtend();
17281 wxPyEndAllowThreads(__tstate);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 }
17284 resultobj = SWIG_Py_Void();
17285 return resultobj;
17286 fail:
17287 return NULL;
17288 }
17289
17290
17291 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17292 PyObject *resultobj = 0;
17293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17294 wxString *arg2 = 0 ;
17295 void *argp1 = 0 ;
17296 int res1 = 0 ;
17297 bool temp2 = false ;
17298 PyObject * obj0 = 0 ;
17299 PyObject * obj1 = 0 ;
17300 char * kwnames[] = {
17301 (char *) "self",(char *) "characters", NULL
17302 };
17303
17304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) SWIG_fail;
17305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17306 if (!SWIG_IsOK(res1)) {
17307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17308 }
17309 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17310 {
17311 arg2 = wxString_in_helper(obj1);
17312 if (arg2 == NULL) SWIG_fail;
17313 temp2 = true;
17314 }
17315 {
17316 PyThreadState* __tstate = wxPyBeginAllowThreads();
17317 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
17318 wxPyEndAllowThreads(__tstate);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
17321 resultobj = SWIG_Py_Void();
17322 {
17323 if (temp2)
17324 delete arg2;
17325 }
17326 return resultobj;
17327 fail:
17328 {
17329 if (temp2)
17330 delete arg2;
17331 }
17332 return NULL;
17333 }
17334
17335
17336 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17337 PyObject *resultobj = 0;
17338 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17339 void *argp1 = 0 ;
17340 int res1 = 0 ;
17341 PyObject *swig_obj[1] ;
17342
17343 if (!args) SWIG_fail;
17344 swig_obj[0] = args;
17345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17346 if (!SWIG_IsOK(res1)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCharsDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17348 }
17349 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17350 {
17351 PyThreadState* __tstate = wxPyBeginAllowThreads();
17352 (arg1)->SetCharsDefault();
17353 wxPyEndAllowThreads(__tstate);
17354 if (PyErr_Occurred()) SWIG_fail;
17355 }
17356 resultobj = SWIG_Py_Void();
17357 return resultobj;
17358 fail:
17359 return NULL;
17360 }
17361
17362
17363 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17364 PyObject *resultobj = 0;
17365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17366 int result;
17367 void *argp1 = 0 ;
17368 int res1 = 0 ;
17369 PyObject *swig_obj[1] ;
17370
17371 if (!args) SWIG_fail;
17372 swig_obj[0] = args;
17373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17374 if (!SWIG_IsOK(res1)) {
17375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCurrent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17376 }
17377 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17378 {
17379 PyThreadState* __tstate = wxPyBeginAllowThreads();
17380 result = (int)(arg1)->AutoCompGetCurrent();
17381 wxPyEndAllowThreads(__tstate);
17382 if (PyErr_Occurred()) SWIG_fail;
17383 }
17384 resultobj = SWIG_From_int(static_cast< int >(result));
17385 return resultobj;
17386 fail:
17387 return NULL;
17388 }
17389
17390
17391 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17392 PyObject *resultobj = 0;
17393 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17394 int arg2 ;
17395 void *argp1 = 0 ;
17396 int res1 = 0 ;
17397 int val2 ;
17398 int ecode2 = 0 ;
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 char * kwnames[] = {
17402 (char *) "self",(char *) "bytes", NULL
17403 };
17404
17405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) SWIG_fail;
17406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17407 if (!SWIG_IsOK(res1)) {
17408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17409 }
17410 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17411 ecode2 = SWIG_AsVal_int(obj1, &val2);
17412 if (!SWIG_IsOK(ecode2)) {
17413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "2"" of type '" "int""'");
17414 }
17415 arg2 = static_cast< int >(val2);
17416 {
17417 PyThreadState* __tstate = wxPyBeginAllowThreads();
17418 (arg1)->Allocate(arg2);
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 resultobj = SWIG_Py_Void();
17423 return resultobj;
17424 fail:
17425 return NULL;
17426 }
17427
17428
17429 SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17430 PyObject *resultobj = 0;
17431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17432 int arg2 ;
17433 int arg3 ;
17434 int result;
17435 void *argp1 = 0 ;
17436 int res1 = 0 ;
17437 int val2 ;
17438 int ecode2 = 0 ;
17439 int val3 ;
17440 int ecode3 = 0 ;
17441 PyObject * obj0 = 0 ;
17442 PyObject * obj1 = 0 ;
17443 PyObject * obj2 = 0 ;
17444 char * kwnames[] = {
17445 (char *) "self",(char *) "line",(char *) "column", NULL
17446 };
17447
17448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17450 if (!SWIG_IsOK(res1)) {
17451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17452 }
17453 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17454 ecode2 = SWIG_AsVal_int(obj1, &val2);
17455 if (!SWIG_IsOK(ecode2)) {
17456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "2"" of type '" "int""'");
17457 }
17458 arg2 = static_cast< int >(val2);
17459 ecode3 = SWIG_AsVal_int(obj2, &val3);
17460 if (!SWIG_IsOK(ecode3)) {
17461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "3"" of type '" "int""'");
17462 }
17463 arg3 = static_cast< int >(val3);
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 result = (int)(arg1)->FindColumn(arg2,arg3);
17467 wxPyEndAllowThreads(__tstate);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 }
17470 resultobj = SWIG_From_int(static_cast< int >(result));
17471 return resultobj;
17472 fail:
17473 return NULL;
17474 }
17475
17476
17477 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17478 PyObject *resultobj = 0;
17479 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17480 bool result;
17481 void *argp1 = 0 ;
17482 int res1 = 0 ;
17483 PyObject *swig_obj[1] ;
17484
17485 if (!args) SWIG_fail;
17486 swig_obj[0] = args;
17487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17488 if (!SWIG_IsOK(res1)) {
17489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17490 }
17491 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17492 {
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 result = (bool)(arg1)->GetCaretSticky();
17495 wxPyEndAllowThreads(__tstate);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 }
17498 {
17499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17500 }
17501 return resultobj;
17502 fail:
17503 return NULL;
17504 }
17505
17506
17507 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17508 PyObject *resultobj = 0;
17509 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17510 bool arg2 ;
17511 void *argp1 = 0 ;
17512 int res1 = 0 ;
17513 bool val2 ;
17514 int ecode2 = 0 ;
17515 PyObject * obj0 = 0 ;
17516 PyObject * obj1 = 0 ;
17517 char * kwnames[] = {
17518 (char *) "self",(char *) "useCaretStickyBehaviour", NULL
17519 };
17520
17521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretSticky",kwnames,&obj0,&obj1)) SWIG_fail;
17522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17523 if (!SWIG_IsOK(res1)) {
17524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17525 }
17526 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17527 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17528 if (!SWIG_IsOK(ecode2)) {
17529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "2"" of type '" "bool""'");
17530 }
17531 arg2 = static_cast< bool >(val2);
17532 {
17533 PyThreadState* __tstate = wxPyBeginAllowThreads();
17534 (arg1)->SetCaretSticky(arg2);
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 resultobj = SWIG_Py_Void();
17539 return resultobj;
17540 fail:
17541 return NULL;
17542 }
17543
17544
17545 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17546 PyObject *resultobj = 0;
17547 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17548 void *argp1 = 0 ;
17549 int res1 = 0 ;
17550 PyObject *swig_obj[1] ;
17551
17552 if (!args) SWIG_fail;
17553 swig_obj[0] = args;
17554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17555 if (!SWIG_IsOK(res1)) {
17556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17557 }
17558 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17559 {
17560 PyThreadState* __tstate = wxPyBeginAllowThreads();
17561 (arg1)->ToggleCaretSticky();
17562 wxPyEndAllowThreads(__tstate);
17563 if (PyErr_Occurred()) SWIG_fail;
17564 }
17565 resultobj = SWIG_Py_Void();
17566 return resultobj;
17567 fail:
17568 return NULL;
17569 }
17570
17571
17572 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17573 PyObject *resultobj = 0;
17574 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17575 bool arg2 ;
17576 void *argp1 = 0 ;
17577 int res1 = 0 ;
17578 bool val2 ;
17579 int ecode2 = 0 ;
17580 PyObject * obj0 = 0 ;
17581 PyObject * obj1 = 0 ;
17582 char * kwnames[] = {
17583 (char *) "self",(char *) "convert", NULL
17584 };
17585
17586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPasteConvertEndings",kwnames,&obj0,&obj1)) SWIG_fail;
17587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17588 if (!SWIG_IsOK(res1)) {
17589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17590 }
17591 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17592 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17593 if (!SWIG_IsOK(ecode2)) {
17594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "2"" of type '" "bool""'");
17595 }
17596 arg2 = static_cast< bool >(val2);
17597 {
17598 PyThreadState* __tstate = wxPyBeginAllowThreads();
17599 (arg1)->SetPasteConvertEndings(arg2);
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 resultobj = SWIG_Py_Void();
17604 return resultobj;
17605 fail:
17606 return NULL;
17607 }
17608
17609
17610 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17611 PyObject *resultobj = 0;
17612 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17613 bool result;
17614 void *argp1 = 0 ;
17615 int res1 = 0 ;
17616 PyObject *swig_obj[1] ;
17617
17618 if (!args) SWIG_fail;
17619 swig_obj[0] = args;
17620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17621 if (!SWIG_IsOK(res1)) {
17622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17623 }
17624 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17625 {
17626 PyThreadState* __tstate = wxPyBeginAllowThreads();
17627 result = (bool)(arg1)->GetPasteConvertEndings();
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
17631 {
17632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17633 }
17634 return resultobj;
17635 fail:
17636 return NULL;
17637 }
17638
17639
17640 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17641 PyObject *resultobj = 0;
17642 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17643 void *argp1 = 0 ;
17644 int res1 = 0 ;
17645 PyObject *swig_obj[1] ;
17646
17647 if (!args) SWIG_fail;
17648 swig_obj[0] = args;
17649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17650 if (!SWIG_IsOK(res1)) {
17651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17652 }
17653 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17654 {
17655 PyThreadState* __tstate = wxPyBeginAllowThreads();
17656 (arg1)->SelectionDuplicate();
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 resultobj = SWIG_Py_Void();
17661 return resultobj;
17662 fail:
17663 return NULL;
17664 }
17665
17666
17667 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineBackAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17668 PyObject *resultobj = 0;
17669 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17670 int arg2 ;
17671 void *argp1 = 0 ;
17672 int res1 = 0 ;
17673 int val2 ;
17674 int ecode2 = 0 ;
17675 PyObject * obj0 = 0 ;
17676 PyObject * obj1 = 0 ;
17677 char * kwnames[] = {
17678 (char *) "self",(char *) "alpha", NULL
17679 };
17680
17681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBackAlpha",kwnames,&obj0,&obj1)) SWIG_fail;
17682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17683 if (!SWIG_IsOK(res1)) {
17684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineBackAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17685 }
17686 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17687 ecode2 = SWIG_AsVal_int(obj1, &val2);
17688 if (!SWIG_IsOK(ecode2)) {
17689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretLineBackAlpha" "', expected argument " "2"" of type '" "int""'");
17690 }
17691 arg2 = static_cast< int >(val2);
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 (arg1)->SetCaretLineBackAlpha(arg2);
17695 wxPyEndAllowThreads(__tstate);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 }
17698 resultobj = SWIG_Py_Void();
17699 return resultobj;
17700 fail:
17701 return NULL;
17702 }
17703
17704
17705 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineBackAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17706 PyObject *resultobj = 0;
17707 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17708 int result;
17709 void *argp1 = 0 ;
17710 int res1 = 0 ;
17711 PyObject *swig_obj[1] ;
17712
17713 if (!args) SWIG_fail;
17714 swig_obj[0] = args;
17715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17716 if (!SWIG_IsOK(res1)) {
17717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineBackAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17718 }
17719 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17720 {
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 result = (int)(arg1)->GetCaretLineBackAlpha();
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 resultobj = SWIG_From_int(static_cast< int >(result));
17727 return resultobj;
17728 fail:
17729 return NULL;
17730 }
17731
17732
17733 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17734 PyObject *resultobj = 0;
17735 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17736 void *argp1 = 0 ;
17737 int res1 = 0 ;
17738 PyObject *swig_obj[1] ;
17739
17740 if (!args) SWIG_fail;
17741 swig_obj[0] = args;
17742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17743 if (!SWIG_IsOK(res1)) {
17744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17745 }
17746 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17747 {
17748 PyThreadState* __tstate = wxPyBeginAllowThreads();
17749 (arg1)->StartRecord();
17750 wxPyEndAllowThreads(__tstate);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 resultobj = SWIG_Py_Void();
17754 return resultobj;
17755 fail:
17756 return NULL;
17757 }
17758
17759
17760 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17761 PyObject *resultobj = 0;
17762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17763 void *argp1 = 0 ;
17764 int res1 = 0 ;
17765 PyObject *swig_obj[1] ;
17766
17767 if (!args) SWIG_fail;
17768 swig_obj[0] = args;
17769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17770 if (!SWIG_IsOK(res1)) {
17771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StopRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17772 }
17773 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17774 {
17775 PyThreadState* __tstate = wxPyBeginAllowThreads();
17776 (arg1)->StopRecord();
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 resultobj = SWIG_Py_Void();
17781 return resultobj;
17782 fail:
17783 return NULL;
17784 }
17785
17786
17787 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17788 PyObject *resultobj = 0;
17789 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17790 int arg2 ;
17791 void *argp1 = 0 ;
17792 int res1 = 0 ;
17793 int val2 ;
17794 int ecode2 = 0 ;
17795 PyObject * obj0 = 0 ;
17796 PyObject * obj1 = 0 ;
17797 char * kwnames[] = {
17798 (char *) "self",(char *) "lexer", NULL
17799 };
17800
17801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) SWIG_fail;
17802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17803 if (!SWIG_IsOK(res1)) {
17804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17805 }
17806 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17807 ecode2 = SWIG_AsVal_int(obj1, &val2);
17808 if (!SWIG_IsOK(ecode2)) {
17809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "2"" of type '" "int""'");
17810 }
17811 arg2 = static_cast< int >(val2);
17812 {
17813 PyThreadState* __tstate = wxPyBeginAllowThreads();
17814 (arg1)->SetLexer(arg2);
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 resultobj = SWIG_Py_Void();
17819 return resultobj;
17820 fail:
17821 return NULL;
17822 }
17823
17824
17825 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17826 PyObject *resultobj = 0;
17827 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17828 int result;
17829 void *argp1 = 0 ;
17830 int res1 = 0 ;
17831 PyObject *swig_obj[1] ;
17832
17833 if (!args) SWIG_fail;
17834 swig_obj[0] = args;
17835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17836 if (!SWIG_IsOK(res1)) {
17837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17838 }
17839 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17840 {
17841 PyThreadState* __tstate = wxPyBeginAllowThreads();
17842 result = (int)(arg1)->GetLexer();
17843 wxPyEndAllowThreads(__tstate);
17844 if (PyErr_Occurred()) SWIG_fail;
17845 }
17846 resultobj = SWIG_From_int(static_cast< int >(result));
17847 return resultobj;
17848 fail:
17849 return NULL;
17850 }
17851
17852
17853 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17854 PyObject *resultobj = 0;
17855 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17856 int arg2 ;
17857 int arg3 ;
17858 void *argp1 = 0 ;
17859 int res1 = 0 ;
17860 int val2 ;
17861 int ecode2 = 0 ;
17862 int val3 ;
17863 int ecode3 = 0 ;
17864 PyObject * obj0 = 0 ;
17865 PyObject * obj1 = 0 ;
17866 PyObject * obj2 = 0 ;
17867 char * kwnames[] = {
17868 (char *) "self",(char *) "start",(char *) "end", NULL
17869 };
17870
17871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17873 if (!SWIG_IsOK(res1)) {
17874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17875 }
17876 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17877 ecode2 = SWIG_AsVal_int(obj1, &val2);
17878 if (!SWIG_IsOK(ecode2)) {
17879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "2"" of type '" "int""'");
17880 }
17881 arg2 = static_cast< int >(val2);
17882 ecode3 = SWIG_AsVal_int(obj2, &val3);
17883 if (!SWIG_IsOK(ecode3)) {
17884 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "3"" of type '" "int""'");
17885 }
17886 arg3 = static_cast< int >(val3);
17887 {
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 (arg1)->Colourise(arg2,arg3);
17890 wxPyEndAllowThreads(__tstate);
17891 if (PyErr_Occurred()) SWIG_fail;
17892 }
17893 resultobj = SWIG_Py_Void();
17894 return resultobj;
17895 fail:
17896 return NULL;
17897 }
17898
17899
17900 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17901 PyObject *resultobj = 0;
17902 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17903 wxString *arg2 = 0 ;
17904 wxString *arg3 = 0 ;
17905 void *argp1 = 0 ;
17906 int res1 = 0 ;
17907 bool temp2 = false ;
17908 bool temp3 = false ;
17909 PyObject * obj0 = 0 ;
17910 PyObject * obj1 = 0 ;
17911 PyObject * obj2 = 0 ;
17912 char * kwnames[] = {
17913 (char *) "self",(char *) "key",(char *) "value", NULL
17914 };
17915
17916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17918 if (!SWIG_IsOK(res1)) {
17919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17920 }
17921 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17922 {
17923 arg2 = wxString_in_helper(obj1);
17924 if (arg2 == NULL) SWIG_fail;
17925 temp2 = true;
17926 }
17927 {
17928 arg3 = wxString_in_helper(obj2);
17929 if (arg3 == NULL) SWIG_fail;
17930 temp3 = true;
17931 }
17932 {
17933 PyThreadState* __tstate = wxPyBeginAllowThreads();
17934 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
17935 wxPyEndAllowThreads(__tstate);
17936 if (PyErr_Occurred()) SWIG_fail;
17937 }
17938 resultobj = SWIG_Py_Void();
17939 {
17940 if (temp2)
17941 delete arg2;
17942 }
17943 {
17944 if (temp3)
17945 delete arg3;
17946 }
17947 return resultobj;
17948 fail:
17949 {
17950 if (temp2)
17951 delete arg2;
17952 }
17953 {
17954 if (temp3)
17955 delete arg3;
17956 }
17957 return NULL;
17958 }
17959
17960
17961 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17962 PyObject *resultobj = 0;
17963 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17964 int arg2 ;
17965 wxString *arg3 = 0 ;
17966 void *argp1 = 0 ;
17967 int res1 = 0 ;
17968 int val2 ;
17969 int ecode2 = 0 ;
17970 bool temp3 = false ;
17971 PyObject * obj0 = 0 ;
17972 PyObject * obj1 = 0 ;
17973 PyObject * obj2 = 0 ;
17974 char * kwnames[] = {
17975 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
17976 };
17977
17978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17980 if (!SWIG_IsOK(res1)) {
17981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17982 }
17983 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17984 ecode2 = SWIG_AsVal_int(obj1, &val2);
17985 if (!SWIG_IsOK(ecode2)) {
17986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "2"" of type '" "int""'");
17987 }
17988 arg2 = static_cast< int >(val2);
17989 {
17990 arg3 = wxString_in_helper(obj2);
17991 if (arg3 == NULL) SWIG_fail;
17992 temp3 = true;
17993 }
17994 {
17995 PyThreadState* __tstate = wxPyBeginAllowThreads();
17996 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
17997 wxPyEndAllowThreads(__tstate);
17998 if (PyErr_Occurred()) SWIG_fail;
17999 }
18000 resultobj = SWIG_Py_Void();
18001 {
18002 if (temp3)
18003 delete arg3;
18004 }
18005 return resultobj;
18006 fail:
18007 {
18008 if (temp3)
18009 delete arg3;
18010 }
18011 return NULL;
18012 }
18013
18014
18015 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18016 PyObject *resultobj = 0;
18017 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18018 wxString *arg2 = 0 ;
18019 void *argp1 = 0 ;
18020 int res1 = 0 ;
18021 bool temp2 = false ;
18022 PyObject * obj0 = 0 ;
18023 PyObject * obj1 = 0 ;
18024 char * kwnames[] = {
18025 (char *) "self",(char *) "language", NULL
18026 };
18027
18028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) SWIG_fail;
18029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18030 if (!SWIG_IsOK(res1)) {
18031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexerLanguage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18032 }
18033 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18034 {
18035 arg2 = wxString_in_helper(obj1);
18036 if (arg2 == NULL) SWIG_fail;
18037 temp2 = true;
18038 }
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 (arg1)->SetLexerLanguage((wxString const &)*arg2);
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 resultobj = SWIG_Py_Void();
18046 {
18047 if (temp2)
18048 delete arg2;
18049 }
18050 return resultobj;
18051 fail:
18052 {
18053 if (temp2)
18054 delete arg2;
18055 }
18056 return NULL;
18057 }
18058
18059
18060 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18061 PyObject *resultobj = 0;
18062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18063 wxString *arg2 = 0 ;
18064 wxString result;
18065 void *argp1 = 0 ;
18066 int res1 = 0 ;
18067 bool temp2 = false ;
18068 PyObject * obj0 = 0 ;
18069 PyObject * obj1 = 0 ;
18070 char * kwnames[] = {
18071 (char *) "self",(char *) "key", NULL
18072 };
18073
18074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetProperty",kwnames,&obj0,&obj1)) SWIG_fail;
18075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18076 if (!SWIG_IsOK(res1)) {
18077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18078 }
18079 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18080 {
18081 arg2 = wxString_in_helper(obj1);
18082 if (arg2 == NULL) SWIG_fail;
18083 temp2 = true;
18084 }
18085 {
18086 PyThreadState* __tstate = wxPyBeginAllowThreads();
18087 result = (arg1)->GetProperty((wxString const &)*arg2);
18088 wxPyEndAllowThreads(__tstate);
18089 if (PyErr_Occurred()) SWIG_fail;
18090 }
18091 {
18092 #if wxUSE_UNICODE
18093 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18094 #else
18095 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18096 #endif
18097 }
18098 {
18099 if (temp2)
18100 delete arg2;
18101 }
18102 return resultobj;
18103 fail:
18104 {
18105 if (temp2)
18106 delete arg2;
18107 }
18108 return NULL;
18109 }
18110
18111
18112 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj = 0;
18114 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18115 wxString *arg2 = 0 ;
18116 wxString result;
18117 void *argp1 = 0 ;
18118 int res1 = 0 ;
18119 bool temp2 = false ;
18120 PyObject * obj0 = 0 ;
18121 PyObject * obj1 = 0 ;
18122 char * kwnames[] = {
18123 (char *) "self",(char *) "key", NULL
18124 };
18125
18126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
18127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18128 if (!SWIG_IsOK(res1)) {
18129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18130 }
18131 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18132 {
18133 arg2 = wxString_in_helper(obj1);
18134 if (arg2 == NULL) SWIG_fail;
18135 temp2 = true;
18136 }
18137 {
18138 PyThreadState* __tstate = wxPyBeginAllowThreads();
18139 result = (arg1)->GetPropertyExpanded((wxString const &)*arg2);
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 {
18144 #if wxUSE_UNICODE
18145 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18146 #else
18147 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18148 #endif
18149 }
18150 {
18151 if (temp2)
18152 delete arg2;
18153 }
18154 return resultobj;
18155 fail:
18156 {
18157 if (temp2)
18158 delete arg2;
18159 }
18160 return NULL;
18161 }
18162
18163
18164 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18165 PyObject *resultobj = 0;
18166 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18167 wxString *arg2 = 0 ;
18168 int result;
18169 void *argp1 = 0 ;
18170 int res1 = 0 ;
18171 bool temp2 = false ;
18172 PyObject * obj0 = 0 ;
18173 PyObject * obj1 = 0 ;
18174 char * kwnames[] = {
18175 (char *) "self",(char *) "key", NULL
18176 };
18177
18178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyInt",kwnames,&obj0,&obj1)) SWIG_fail;
18179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18180 if (!SWIG_IsOK(res1)) {
18181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyInt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18182 }
18183 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18184 {
18185 arg2 = wxString_in_helper(obj1);
18186 if (arg2 == NULL) SWIG_fail;
18187 temp2 = true;
18188 }
18189 {
18190 PyThreadState* __tstate = wxPyBeginAllowThreads();
18191 result = (int)(arg1)->GetPropertyInt((wxString const &)*arg2);
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 resultobj = SWIG_From_int(static_cast< int >(result));
18196 {
18197 if (temp2)
18198 delete arg2;
18199 }
18200 return resultobj;
18201 fail:
18202 {
18203 if (temp2)
18204 delete arg2;
18205 }
18206 return NULL;
18207 }
18208
18209
18210 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBitsNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18211 PyObject *resultobj = 0;
18212 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18213 int result;
18214 void *argp1 = 0 ;
18215 int res1 = 0 ;
18216 PyObject *swig_obj[1] ;
18217
18218 if (!args) SWIG_fail;
18219 swig_obj[0] = args;
18220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18221 if (!SWIG_IsOK(res1)) {
18222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBitsNeeded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18223 }
18224 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 result = (int)(arg1)->GetStyleBitsNeeded();
18228 wxPyEndAllowThreads(__tstate);
18229 if (PyErr_Occurred()) SWIG_fail;
18230 }
18231 resultobj = SWIG_From_int(static_cast< int >(result));
18232 return resultobj;
18233 fail:
18234 return NULL;
18235 }
18236
18237
18238 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18239 PyObject *resultobj = 0;
18240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18241 int result;
18242 void *argp1 = 0 ;
18243 int res1 = 0 ;
18244 PyObject *swig_obj[1] ;
18245
18246 if (!args) SWIG_fail;
18247 swig_obj[0] = args;
18248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18249 if (!SWIG_IsOK(res1)) {
18250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18251 }
18252 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18253 {
18254 PyThreadState* __tstate = wxPyBeginAllowThreads();
18255 result = (int)(arg1)->GetCurrentLine();
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 resultobj = SWIG_From_int(static_cast< int >(result));
18260 return resultobj;
18261 fail:
18262 return NULL;
18263 }
18264
18265
18266 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18267 PyObject *resultobj = 0;
18268 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18269 int arg2 ;
18270 wxString *arg3 = 0 ;
18271 void *argp1 = 0 ;
18272 int res1 = 0 ;
18273 int val2 ;
18274 int ecode2 = 0 ;
18275 bool temp3 = false ;
18276 PyObject * obj0 = 0 ;
18277 PyObject * obj1 = 0 ;
18278 PyObject * obj2 = 0 ;
18279 char * kwnames[] = {
18280 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
18281 };
18282
18283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18285 if (!SWIG_IsOK(res1)) {
18286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18287 }
18288 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18289 ecode2 = SWIG_AsVal_int(obj1, &val2);
18290 if (!SWIG_IsOK(ecode2)) {
18291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "2"" of type '" "int""'");
18292 }
18293 arg2 = static_cast< int >(val2);
18294 {
18295 arg3 = wxString_in_helper(obj2);
18296 if (arg3 == NULL) SWIG_fail;
18297 temp3 = true;
18298 }
18299 {
18300 PyThreadState* __tstate = wxPyBeginAllowThreads();
18301 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
18302 wxPyEndAllowThreads(__tstate);
18303 if (PyErr_Occurred()) SWIG_fail;
18304 }
18305 resultobj = SWIG_Py_Void();
18306 {
18307 if (temp3)
18308 delete arg3;
18309 }
18310 return resultobj;
18311 fail:
18312 {
18313 if (temp3)
18314 delete arg3;
18315 }
18316 return NULL;
18317 }
18318
18319
18320 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18321 PyObject *resultobj = 0;
18322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18323 int arg2 ;
18324 wxFont *arg3 = 0 ;
18325 void *argp1 = 0 ;
18326 int res1 = 0 ;
18327 int val2 ;
18328 int ecode2 = 0 ;
18329 void *argp3 = 0 ;
18330 int res3 = 0 ;
18331 PyObject * obj0 = 0 ;
18332 PyObject * obj1 = 0 ;
18333 PyObject * obj2 = 0 ;
18334 char * kwnames[] = {
18335 (char *) "self",(char *) "styleNum",(char *) "font", NULL
18336 };
18337
18338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18340 if (!SWIG_IsOK(res1)) {
18341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18342 }
18343 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18344 ecode2 = SWIG_AsVal_int(obj1, &val2);
18345 if (!SWIG_IsOK(ecode2)) {
18346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "2"" of type '" "int""'");
18347 }
18348 arg2 = static_cast< int >(val2);
18349 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 );
18350 if (!SWIG_IsOK(res3)) {
18351 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18352 }
18353 if (!argp3) {
18354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18355 }
18356 arg3 = reinterpret_cast< wxFont * >(argp3);
18357 {
18358 PyThreadState* __tstate = wxPyBeginAllowThreads();
18359 (arg1)->StyleSetFont(arg2,*arg3);
18360 wxPyEndAllowThreads(__tstate);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 }
18363 resultobj = SWIG_Py_Void();
18364 return resultobj;
18365 fail:
18366 return NULL;
18367 }
18368
18369
18370 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18371 PyObject *resultobj = 0;
18372 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18373 int arg2 ;
18374 int arg3 ;
18375 wxString *arg4 = 0 ;
18376 bool arg5 ;
18377 bool arg6 ;
18378 bool arg7 ;
18379 wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
18380 void *argp1 = 0 ;
18381 int res1 = 0 ;
18382 int val2 ;
18383 int ecode2 = 0 ;
18384 int val3 ;
18385 int ecode3 = 0 ;
18386 bool temp4 = false ;
18387 bool val5 ;
18388 int ecode5 = 0 ;
18389 bool val6 ;
18390 int ecode6 = 0 ;
18391 bool val7 ;
18392 int ecode7 = 0 ;
18393 int val8 ;
18394 int ecode8 = 0 ;
18395 PyObject * obj0 = 0 ;
18396 PyObject * obj1 = 0 ;
18397 PyObject * obj2 = 0 ;
18398 PyObject * obj3 = 0 ;
18399 PyObject * obj4 = 0 ;
18400 PyObject * obj5 = 0 ;
18401 PyObject * obj6 = 0 ;
18402 PyObject * obj7 = 0 ;
18403 char * kwnames[] = {
18404 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL
18405 };
18406
18407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18409 if (!SWIG_IsOK(res1)) {
18410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18411 }
18412 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18413 ecode2 = SWIG_AsVal_int(obj1, &val2);
18414 if (!SWIG_IsOK(ecode2)) {
18415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "2"" of type '" "int""'");
18416 }
18417 arg2 = static_cast< int >(val2);
18418 ecode3 = SWIG_AsVal_int(obj2, &val3);
18419 if (!SWIG_IsOK(ecode3)) {
18420 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "3"" of type '" "int""'");
18421 }
18422 arg3 = static_cast< int >(val3);
18423 {
18424 arg4 = wxString_in_helper(obj3);
18425 if (arg4 == NULL) SWIG_fail;
18426 temp4 = true;
18427 }
18428 ecode5 = SWIG_AsVal_bool(obj4, &val5);
18429 if (!SWIG_IsOK(ecode5)) {
18430 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "5"" of type '" "bool""'");
18431 }
18432 arg5 = static_cast< bool >(val5);
18433 ecode6 = SWIG_AsVal_bool(obj5, &val6);
18434 if (!SWIG_IsOK(ecode6)) {
18435 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "6"" of type '" "bool""'");
18436 }
18437 arg6 = static_cast< bool >(val6);
18438 ecode7 = SWIG_AsVal_bool(obj6, &val7);
18439 if (!SWIG_IsOK(ecode7)) {
18440 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "7"" of type '" "bool""'");
18441 }
18442 arg7 = static_cast< bool >(val7);
18443 if (obj7) {
18444 ecode8 = SWIG_AsVal_int(obj7, &val8);
18445 if (!SWIG_IsOK(ecode8)) {
18446 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "8"" of type '" "wxFontEncoding""'");
18447 }
18448 arg8 = static_cast< wxFontEncoding >(val8);
18449 }
18450 {
18451 PyThreadState* __tstate = wxPyBeginAllowThreads();
18452 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8);
18453 wxPyEndAllowThreads(__tstate);
18454 if (PyErr_Occurred()) SWIG_fail;
18455 }
18456 resultobj = SWIG_Py_Void();
18457 {
18458 if (temp4)
18459 delete arg4;
18460 }
18461 return resultobj;
18462 fail:
18463 {
18464 if (temp4)
18465 delete arg4;
18466 }
18467 return NULL;
18468 }
18469
18470
18471 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18472 PyObject *resultobj = 0;
18473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18474 int arg2 ;
18475 int arg3 ;
18476 void *argp1 = 0 ;
18477 int res1 = 0 ;
18478 int val2 ;
18479 int ecode2 = 0 ;
18480 int val3 ;
18481 int ecode3 = 0 ;
18482 PyObject * obj0 = 0 ;
18483 PyObject * obj1 = 0 ;
18484 PyObject * obj2 = 0 ;
18485 char * kwnames[] = {
18486 (char *) "self",(char *) "style",(char *) "characterSet", NULL
18487 };
18488
18489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18491 if (!SWIG_IsOK(res1)) {
18492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18493 }
18494 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18495 ecode2 = SWIG_AsVal_int(obj1, &val2);
18496 if (!SWIG_IsOK(ecode2)) {
18497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "2"" of type '" "int""'");
18498 }
18499 arg2 = static_cast< int >(val2);
18500 ecode3 = SWIG_AsVal_int(obj2, &val3);
18501 if (!SWIG_IsOK(ecode3)) {
18502 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "3"" of type '" "int""'");
18503 }
18504 arg3 = static_cast< int >(val3);
18505 {
18506 PyThreadState* __tstate = wxPyBeginAllowThreads();
18507 (arg1)->StyleSetCharacterSet(arg2,arg3);
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 resultobj = SWIG_Py_Void();
18512 return resultobj;
18513 fail:
18514 return NULL;
18515 }
18516
18517
18518 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj = 0;
18520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18521 int arg2 ;
18522 wxFontEncoding arg3 ;
18523 void *argp1 = 0 ;
18524 int res1 = 0 ;
18525 int val2 ;
18526 int ecode2 = 0 ;
18527 int val3 ;
18528 int ecode3 = 0 ;
18529 PyObject * obj0 = 0 ;
18530 PyObject * obj1 = 0 ;
18531 PyObject * obj2 = 0 ;
18532 char * kwnames[] = {
18533 (char *) "self",(char *) "style",(char *) "encoding", NULL
18534 };
18535
18536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18538 if (!SWIG_IsOK(res1)) {
18539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18540 }
18541 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18542 ecode2 = SWIG_AsVal_int(obj1, &val2);
18543 if (!SWIG_IsOK(ecode2)) {
18544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "2"" of type '" "int""'");
18545 }
18546 arg2 = static_cast< int >(val2);
18547 ecode3 = SWIG_AsVal_int(obj2, &val3);
18548 if (!SWIG_IsOK(ecode3)) {
18549 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18550 }
18551 arg3 = static_cast< wxFontEncoding >(val3);
18552 {
18553 PyThreadState* __tstate = wxPyBeginAllowThreads();
18554 (arg1)->StyleSetFontEncoding(arg2,arg3);
18555 wxPyEndAllowThreads(__tstate);
18556 if (PyErr_Occurred()) SWIG_fail;
18557 }
18558 resultobj = SWIG_Py_Void();
18559 return resultobj;
18560 fail:
18561 return NULL;
18562 }
18563
18564
18565 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18566 PyObject *resultobj = 0;
18567 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18568 int arg2 ;
18569 void *argp1 = 0 ;
18570 int res1 = 0 ;
18571 int val2 ;
18572 int ecode2 = 0 ;
18573 PyObject * obj0 = 0 ;
18574 PyObject * obj1 = 0 ;
18575 char * kwnames[] = {
18576 (char *) "self",(char *) "cmd", NULL
18577 };
18578
18579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) SWIG_fail;
18580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18581 if (!SWIG_IsOK(res1)) {
18582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18583 }
18584 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18585 ecode2 = SWIG_AsVal_int(obj1, &val2);
18586 if (!SWIG_IsOK(ecode2)) {
18587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "2"" of type '" "int""'");
18588 }
18589 arg2 = static_cast< int >(val2);
18590 {
18591 PyThreadState* __tstate = wxPyBeginAllowThreads();
18592 (arg1)->CmdKeyExecute(arg2);
18593 wxPyEndAllowThreads(__tstate);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 }
18596 resultobj = SWIG_Py_Void();
18597 return resultobj;
18598 fail:
18599 return NULL;
18600 }
18601
18602
18603 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18604 PyObject *resultobj = 0;
18605 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18606 int arg2 ;
18607 int arg3 ;
18608 void *argp1 = 0 ;
18609 int res1 = 0 ;
18610 int val2 ;
18611 int ecode2 = 0 ;
18612 int val3 ;
18613 int ecode3 = 0 ;
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
18616 PyObject * obj2 = 0 ;
18617 char * kwnames[] = {
18618 (char *) "self",(char *) "left",(char *) "right", NULL
18619 };
18620
18621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18623 if (!SWIG_IsOK(res1)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18625 }
18626 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18627 ecode2 = SWIG_AsVal_int(obj1, &val2);
18628 if (!SWIG_IsOK(ecode2)) {
18629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "2"" of type '" "int""'");
18630 }
18631 arg2 = static_cast< int >(val2);
18632 ecode3 = SWIG_AsVal_int(obj2, &val3);
18633 if (!SWIG_IsOK(ecode3)) {
18634 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "3"" of type '" "int""'");
18635 }
18636 arg3 = static_cast< int >(val3);
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 (arg1)->SetMargins(arg2,arg3);
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 resultobj = SWIG_Py_Void();
18644 return resultobj;
18645 fail:
18646 return NULL;
18647 }
18648
18649
18650 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18651 PyObject *resultobj = 0;
18652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18653 int *arg2 = (int *) 0 ;
18654 int *arg3 = (int *) 0 ;
18655 void *argp1 = 0 ;
18656 int res1 = 0 ;
18657 int temp2 ;
18658 int res2 = SWIG_TMPOBJ ;
18659 int temp3 ;
18660 int res3 = SWIG_TMPOBJ ;
18661 PyObject *swig_obj[1] ;
18662
18663 arg2 = &temp2;
18664 arg3 = &temp3;
18665 if (!args) SWIG_fail;
18666 swig_obj[0] = args;
18667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18668 if (!SWIG_IsOK(res1)) {
18669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18670 }
18671 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 (arg1)->GetSelection(arg2,arg3);
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
18678 resultobj = SWIG_Py_Void();
18679 if (SWIG_IsTmpObj(res2)) {
18680 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
18681 } else {
18682 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18683 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
18684 }
18685 if (SWIG_IsTmpObj(res3)) {
18686 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
18687 } else {
18688 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18689 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
18690 }
18691 return resultobj;
18692 fail:
18693 return NULL;
18694 }
18695
18696
18697 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18698 PyObject *resultobj = 0;
18699 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18700 int arg2 ;
18701 wxPoint result;
18702 void *argp1 = 0 ;
18703 int res1 = 0 ;
18704 int val2 ;
18705 int ecode2 = 0 ;
18706 PyObject * obj0 = 0 ;
18707 PyObject * obj1 = 0 ;
18708 char * kwnames[] = {
18709 (char *) "self",(char *) "pos", NULL
18710 };
18711
18712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
18713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18714 if (!SWIG_IsOK(res1)) {
18715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18716 }
18717 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18718 ecode2 = SWIG_AsVal_int(obj1, &val2);
18719 if (!SWIG_IsOK(ecode2)) {
18720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "2"" of type '" "int""'");
18721 }
18722 arg2 = static_cast< int >(val2);
18723 {
18724 PyThreadState* __tstate = wxPyBeginAllowThreads();
18725 result = (arg1)->PointFromPosition(arg2);
18726 wxPyEndAllowThreads(__tstate);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
18729 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
18730 return resultobj;
18731 fail:
18732 return NULL;
18733 }
18734
18735
18736 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18737 PyObject *resultobj = 0;
18738 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18739 int arg2 ;
18740 void *argp1 = 0 ;
18741 int res1 = 0 ;
18742 int val2 ;
18743 int ecode2 = 0 ;
18744 PyObject * obj0 = 0 ;
18745 PyObject * obj1 = 0 ;
18746 char * kwnames[] = {
18747 (char *) "self",(char *) "line", NULL
18748 };
18749
18750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
18751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18752 if (!SWIG_IsOK(res1)) {
18753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18754 }
18755 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18756 ecode2 = SWIG_AsVal_int(obj1, &val2);
18757 if (!SWIG_IsOK(ecode2)) {
18758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
18759 }
18760 arg2 = static_cast< int >(val2);
18761 {
18762 PyThreadState* __tstate = wxPyBeginAllowThreads();
18763 (arg1)->ScrollToLine(arg2);
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 resultobj = SWIG_Py_Void();
18768 return resultobj;
18769 fail:
18770 return NULL;
18771 }
18772
18773
18774 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj = 0;
18776 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18777 int arg2 ;
18778 void *argp1 = 0 ;
18779 int res1 = 0 ;
18780 int val2 ;
18781 int ecode2 = 0 ;
18782 PyObject * obj0 = 0 ;
18783 PyObject * obj1 = 0 ;
18784 char * kwnames[] = {
18785 (char *) "self",(char *) "column", NULL
18786 };
18787
18788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
18789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18790 if (!SWIG_IsOK(res1)) {
18791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18792 }
18793 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18794 ecode2 = SWIG_AsVal_int(obj1, &val2);
18795 if (!SWIG_IsOK(ecode2)) {
18796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "2"" of type '" "int""'");
18797 }
18798 arg2 = static_cast< int >(val2);
18799 {
18800 PyThreadState* __tstate = wxPyBeginAllowThreads();
18801 (arg1)->ScrollToColumn(arg2);
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 resultobj = SWIG_Py_Void();
18806 return resultobj;
18807 fail:
18808 return NULL;
18809 }
18810
18811
18812 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18813 PyObject *resultobj = 0;
18814 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18815 int arg2 ;
18816 long arg3 = (long) 0 ;
18817 long arg4 = (long) 0 ;
18818 long result;
18819 void *argp1 = 0 ;
18820 int res1 = 0 ;
18821 int val2 ;
18822 int ecode2 = 0 ;
18823 long val3 ;
18824 int ecode3 = 0 ;
18825 long val4 ;
18826 int ecode4 = 0 ;
18827 PyObject * obj0 = 0 ;
18828 PyObject * obj1 = 0 ;
18829 PyObject * obj2 = 0 ;
18830 PyObject * obj3 = 0 ;
18831 char * kwnames[] = {
18832 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
18833 };
18834
18835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18837 if (!SWIG_IsOK(res1)) {
18838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18839 }
18840 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18841 ecode2 = SWIG_AsVal_int(obj1, &val2);
18842 if (!SWIG_IsOK(ecode2)) {
18843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "2"" of type '" "int""'");
18844 }
18845 arg2 = static_cast< int >(val2);
18846 if (obj2) {
18847 ecode3 = SWIG_AsVal_long(obj2, &val3);
18848 if (!SWIG_IsOK(ecode3)) {
18849 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "3"" of type '" "long""'");
18850 }
18851 arg3 = static_cast< long >(val3);
18852 }
18853 if (obj3) {
18854 ecode4 = SWIG_AsVal_long(obj3, &val4);
18855 if (!SWIG_IsOK(ecode4)) {
18856 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "4"" of type '" "long""'");
18857 }
18858 arg4 = static_cast< long >(val4);
18859 }
18860 {
18861 PyThreadState* __tstate = wxPyBeginAllowThreads();
18862 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 resultobj = SWIG_From_long(static_cast< long >(result));
18867 return resultobj;
18868 fail:
18869 return NULL;
18870 }
18871
18872
18873 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18874 PyObject *resultobj = 0;
18875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18876 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
18877 void *argp1 = 0 ;
18878 int res1 = 0 ;
18879 void *argp2 = 0 ;
18880 int res2 = 0 ;
18881 PyObject * obj0 = 0 ;
18882 PyObject * obj1 = 0 ;
18883 char * kwnames[] = {
18884 (char *) "self",(char *) "bar", NULL
18885 };
18886
18887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
18888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18889 if (!SWIG_IsOK(res1)) {
18890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18891 }
18892 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18893 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 | 0 );
18894 if (!SWIG_IsOK(res2)) {
18895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18896 }
18897 arg2 = reinterpret_cast< wxScrollBar * >(argp2);
18898 {
18899 PyThreadState* __tstate = wxPyBeginAllowThreads();
18900 (arg1)->SetVScrollBar(arg2);
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 resultobj = SWIG_Py_Void();
18905 return resultobj;
18906 fail:
18907 return NULL;
18908 }
18909
18910
18911 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18912 PyObject *resultobj = 0;
18913 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18914 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
18915 void *argp1 = 0 ;
18916 int res1 = 0 ;
18917 void *argp2 = 0 ;
18918 int res2 = 0 ;
18919 PyObject * obj0 = 0 ;
18920 PyObject * obj1 = 0 ;
18921 char * kwnames[] = {
18922 (char *) "self",(char *) "bar", NULL
18923 };
18924
18925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
18926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18927 if (!SWIG_IsOK(res1)) {
18928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18929 }
18930 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18931 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 | 0 );
18932 if (!SWIG_IsOK(res2)) {
18933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18934 }
18935 arg2 = reinterpret_cast< wxScrollBar * >(argp2);
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 (arg1)->SetHScrollBar(arg2);
18939 wxPyEndAllowThreads(__tstate);
18940 if (PyErr_Occurred()) SWIG_fail;
18941 }
18942 resultobj = SWIG_Py_Void();
18943 return resultobj;
18944 fail:
18945 return NULL;
18946 }
18947
18948
18949 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18950 PyObject *resultobj = 0;
18951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18952 bool result;
18953 void *argp1 = 0 ;
18954 int res1 = 0 ;
18955 PyObject *swig_obj[1] ;
18956
18957 if (!args) SWIG_fail;
18958 swig_obj[0] = args;
18959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18960 if (!SWIG_IsOK(res1)) {
18961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18962 }
18963 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 result = (bool)(arg1)->GetLastKeydownProcessed();
18967 wxPyEndAllowThreads(__tstate);
18968 if (PyErr_Occurred()) SWIG_fail;
18969 }
18970 {
18971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18972 }
18973 return resultobj;
18974 fail:
18975 return NULL;
18976 }
18977
18978
18979 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj = 0;
18981 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18982 bool arg2 ;
18983 void *argp1 = 0 ;
18984 int res1 = 0 ;
18985 bool val2 ;
18986 int ecode2 = 0 ;
18987 PyObject * obj0 = 0 ;
18988 PyObject * obj1 = 0 ;
18989 char * kwnames[] = {
18990 (char *) "self",(char *) "val", NULL
18991 };
18992
18993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) SWIG_fail;
18994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18995 if (!SWIG_IsOK(res1)) {
18996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18997 }
18998 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18999 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19000 if (!SWIG_IsOK(ecode2)) {
19001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "2"" of type '" "bool""'");
19002 }
19003 arg2 = static_cast< bool >(val2);
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 (arg1)->SetLastKeydownProcessed(arg2);
19007 wxPyEndAllowThreads(__tstate);
19008 if (PyErr_Occurred()) SWIG_fail;
19009 }
19010 resultobj = SWIG_Py_Void();
19011 return resultobj;
19012 fail:
19013 return NULL;
19014 }
19015
19016
19017 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19018 PyObject *resultobj = 0;
19019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19020 wxString *arg2 = 0 ;
19021 bool result;
19022 void *argp1 = 0 ;
19023 int res1 = 0 ;
19024 bool temp2 = false ;
19025 PyObject * obj0 = 0 ;
19026 PyObject * obj1 = 0 ;
19027 char * kwnames[] = {
19028 (char *) "self",(char *) "filename", NULL
19029 };
19030
19031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) SWIG_fail;
19032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19033 if (!SWIG_IsOK(res1)) {
19034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19035 }
19036 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19037 {
19038 arg2 = wxString_in_helper(obj1);
19039 if (arg2 == NULL) SWIG_fail;
19040 temp2 = true;
19041 }
19042 {
19043 PyThreadState* __tstate = wxPyBeginAllowThreads();
19044 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
19045 wxPyEndAllowThreads(__tstate);
19046 if (PyErr_Occurred()) SWIG_fail;
19047 }
19048 {
19049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19050 }
19051 {
19052 if (temp2)
19053 delete arg2;
19054 }
19055 return resultobj;
19056 fail:
19057 {
19058 if (temp2)
19059 delete arg2;
19060 }
19061 return NULL;
19062 }
19063
19064
19065 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19066 PyObject *resultobj = 0;
19067 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19068 wxString *arg2 = 0 ;
19069 bool result;
19070 void *argp1 = 0 ;
19071 int res1 = 0 ;
19072 bool temp2 = false ;
19073 PyObject * obj0 = 0 ;
19074 PyObject * obj1 = 0 ;
19075 char * kwnames[] = {
19076 (char *) "self",(char *) "filename", NULL
19077 };
19078
19079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
19080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19081 if (!SWIG_IsOK(res1)) {
19082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19083 }
19084 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19085 {
19086 arg2 = wxString_in_helper(obj1);
19087 if (arg2 == NULL) SWIG_fail;
19088 temp2 = true;
19089 }
19090 {
19091 PyThreadState* __tstate = wxPyBeginAllowThreads();
19092 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 {
19097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19098 }
19099 {
19100 if (temp2)
19101 delete arg2;
19102 }
19103 return resultobj;
19104 fail:
19105 {
19106 if (temp2)
19107 delete arg2;
19108 }
19109 return NULL;
19110 }
19111
19112
19113 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19114 PyObject *resultobj = 0;
19115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19116 int arg2 ;
19117 int arg3 ;
19118 wxDragResult arg4 ;
19119 wxDragResult result;
19120 void *argp1 = 0 ;
19121 int res1 = 0 ;
19122 int val2 ;
19123 int ecode2 = 0 ;
19124 int val3 ;
19125 int ecode3 = 0 ;
19126 int val4 ;
19127 int ecode4 = 0 ;
19128 PyObject * obj0 = 0 ;
19129 PyObject * obj1 = 0 ;
19130 PyObject * obj2 = 0 ;
19131 PyObject * obj3 = 0 ;
19132 char * kwnames[] = {
19133 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
19134 };
19135
19136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19138 if (!SWIG_IsOK(res1)) {
19139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19140 }
19141 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19142 ecode2 = SWIG_AsVal_int(obj1, &val2);
19143 if (!SWIG_IsOK(ecode2)) {
19144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "2"" of type '" "int""'");
19145 }
19146 arg2 = static_cast< int >(val2);
19147 ecode3 = SWIG_AsVal_int(obj2, &val3);
19148 if (!SWIG_IsOK(ecode3)) {
19149 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "3"" of type '" "int""'");
19150 }
19151 arg3 = static_cast< int >(val3);
19152 ecode4 = SWIG_AsVal_int(obj3, &val4);
19153 if (!SWIG_IsOK(ecode4)) {
19154 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
19155 }
19156 arg4 = static_cast< wxDragResult >(val4);
19157 {
19158 PyThreadState* __tstate = wxPyBeginAllowThreads();
19159 result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4);
19160 wxPyEndAllowThreads(__tstate);
19161 if (PyErr_Occurred()) SWIG_fail;
19162 }
19163 resultobj = SWIG_From_int(static_cast< int >(result));
19164 return resultobj;
19165 fail:
19166 return NULL;
19167 }
19168
19169
19170 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19171 PyObject *resultobj = 0;
19172 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19173 long arg2 ;
19174 long arg3 ;
19175 wxString *arg4 = 0 ;
19176 bool result;
19177 void *argp1 = 0 ;
19178 int res1 = 0 ;
19179 long val2 ;
19180 int ecode2 = 0 ;
19181 long val3 ;
19182 int ecode3 = 0 ;
19183 bool temp4 = false ;
19184 PyObject * obj0 = 0 ;
19185 PyObject * obj1 = 0 ;
19186 PyObject * obj2 = 0 ;
19187 PyObject * obj3 = 0 ;
19188 char * kwnames[] = {
19189 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
19190 };
19191
19192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19194 if (!SWIG_IsOK(res1)) {
19195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19196 }
19197 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19198 ecode2 = SWIG_AsVal_long(obj1, &val2);
19199 if (!SWIG_IsOK(ecode2)) {
19200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "2"" of type '" "long""'");
19201 }
19202 arg2 = static_cast< long >(val2);
19203 ecode3 = SWIG_AsVal_long(obj2, &val3);
19204 if (!SWIG_IsOK(ecode3)) {
19205 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "3"" of type '" "long""'");
19206 }
19207 arg3 = static_cast< long >(val3);
19208 {
19209 arg4 = wxString_in_helper(obj3);
19210 if (arg4 == NULL) SWIG_fail;
19211 temp4 = true;
19212 }
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
19216 wxPyEndAllowThreads(__tstate);
19217 if (PyErr_Occurred()) SWIG_fail;
19218 }
19219 {
19220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19221 }
19222 {
19223 if (temp4)
19224 delete arg4;
19225 }
19226 return resultobj;
19227 fail:
19228 {
19229 if (temp4)
19230 delete arg4;
19231 }
19232 return NULL;
19233 }
19234
19235
19236 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19237 PyObject *resultobj = 0;
19238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19239 bool arg2 ;
19240 void *argp1 = 0 ;
19241 int res1 = 0 ;
19242 bool val2 ;
19243 int ecode2 = 0 ;
19244 PyObject * obj0 = 0 ;
19245 PyObject * obj1 = 0 ;
19246 char * kwnames[] = {
19247 (char *) "self",(char *) "useAA", NULL
19248 };
19249
19250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) SWIG_fail;
19251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19252 if (!SWIG_IsOK(res1)) {
19253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19254 }
19255 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19256 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19257 if (!SWIG_IsOK(ecode2)) {
19258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
19259 }
19260 arg2 = static_cast< bool >(val2);
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 (arg1)->SetUseAntiAliasing(arg2);
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
19267 resultobj = SWIG_Py_Void();
19268 return resultobj;
19269 fail:
19270 return NULL;
19271 }
19272
19273
19274 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19275 PyObject *resultobj = 0;
19276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19277 bool result;
19278 void *argp1 = 0 ;
19279 int res1 = 0 ;
19280 PyObject *swig_obj[1] ;
19281
19282 if (!args) SWIG_fail;
19283 swig_obj[0] = args;
19284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19285 if (!SWIG_IsOK(res1)) {
19286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19287 }
19288 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19289 {
19290 PyThreadState* __tstate = wxPyBeginAllowThreads();
19291 result = (bool)(arg1)->GetUseAntiAliasing();
19292 wxPyEndAllowThreads(__tstate);
19293 if (PyErr_Occurred()) SWIG_fail;
19294 }
19295 {
19296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19297 }
19298 return resultobj;
19299 fail:
19300 return NULL;
19301 }
19302
19303
19304 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19305 PyObject *resultobj = 0;
19306 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19307 char *arg2 = (char *) 0 ;
19308 void *argp1 = 0 ;
19309 int res1 = 0 ;
19310 int res2 ;
19311 char *buf2 = 0 ;
19312 int alloc2 = 0 ;
19313 PyObject * obj0 = 0 ;
19314 PyObject * obj1 = 0 ;
19315 char * kwnames[] = {
19316 (char *) "self",(char *) "text", NULL
19317 };
19318
19319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19321 if (!SWIG_IsOK(res1)) {
19322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19323 }
19324 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19325 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19326 if (!SWIG_IsOK(res2)) {
19327 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19328 }
19329 arg2 = buf2;
19330 {
19331 PyThreadState* __tstate = wxPyBeginAllowThreads();
19332 (arg1)->AddTextRaw((char const *)arg2);
19333 wxPyEndAllowThreads(__tstate);
19334 if (PyErr_Occurred()) SWIG_fail;
19335 }
19336 resultobj = SWIG_Py_Void();
19337 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19338 return resultobj;
19339 fail:
19340 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19341 return NULL;
19342 }
19343
19344
19345 SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19346 PyObject *resultobj = 0;
19347 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19348 int arg2 ;
19349 char *arg3 = (char *) 0 ;
19350 void *argp1 = 0 ;
19351 int res1 = 0 ;
19352 int val2 ;
19353 int ecode2 = 0 ;
19354 int res3 ;
19355 char *buf3 = 0 ;
19356 int alloc3 = 0 ;
19357 PyObject * obj0 = 0 ;
19358 PyObject * obj1 = 0 ;
19359 PyObject * obj2 = 0 ;
19360 char * kwnames[] = {
19361 (char *) "self",(char *) "pos",(char *) "text", NULL
19362 };
19363
19364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19366 if (!SWIG_IsOK(res1)) {
19367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19368 }
19369 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19370 ecode2 = SWIG_AsVal_int(obj1, &val2);
19371 if (!SWIG_IsOK(ecode2)) {
19372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "2"" of type '" "int""'");
19373 }
19374 arg2 = static_cast< int >(val2);
19375 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
19376 if (!SWIG_IsOK(res3)) {
19377 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "3"" of type '" "char const *""'");
19378 }
19379 arg3 = buf3;
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 (arg1)->InsertTextRaw(arg2,(char const *)arg3);
19383 wxPyEndAllowThreads(__tstate);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 }
19386 resultobj = SWIG_Py_Void();
19387 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
19388 return resultobj;
19389 fail:
19390 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
19391 return NULL;
19392 }
19393
19394
19395 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19396 PyObject *resultobj = 0;
19397 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19398 int *arg2 = (int *) 0 ;
19399 wxCharBuffer result;
19400 void *argp1 = 0 ;
19401 int res1 = 0 ;
19402 int temp2 ;
19403 int res2 = SWIG_TMPOBJ ;
19404 PyObject *swig_obj[1] ;
19405
19406 arg2 = &temp2;
19407 if (!args) SWIG_fail;
19408 swig_obj[0] = args;
19409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19410 if (!SWIG_IsOK(res1)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19412 }
19413 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19414 {
19415 PyThreadState* __tstate = wxPyBeginAllowThreads();
19416 result = (arg1)->GetCurLineRaw(arg2);
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
19420 {
19421 resultobj = PyString_FromString((char*)(&result)->data());
19422 }
19423 if (SWIG_IsTmpObj(res2)) {
19424 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
19425 } else {
19426 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19427 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19428 }
19429 return resultobj;
19430 fail:
19431 return NULL;
19432 }
19433
19434
19435 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj = 0;
19437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19438 int arg2 ;
19439 wxCharBuffer result;
19440 void *argp1 = 0 ;
19441 int res1 = 0 ;
19442 int val2 ;
19443 int ecode2 = 0 ;
19444 PyObject * obj0 = 0 ;
19445 PyObject * obj1 = 0 ;
19446 char * kwnames[] = {
19447 (char *) "self",(char *) "line", NULL
19448 };
19449
19450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19452 if (!SWIG_IsOK(res1)) {
19453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19454 }
19455 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19456 ecode2 = SWIG_AsVal_int(obj1, &val2);
19457 if (!SWIG_IsOK(ecode2)) {
19458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "2"" of type '" "int""'");
19459 }
19460 arg2 = static_cast< int >(val2);
19461 {
19462 PyThreadState* __tstate = wxPyBeginAllowThreads();
19463 result = (arg1)->GetLineRaw(arg2);
19464 wxPyEndAllowThreads(__tstate);
19465 if (PyErr_Occurred()) SWIG_fail;
19466 }
19467 {
19468 resultobj = PyString_FromString((char*)(&result)->data());
19469 }
19470 return resultobj;
19471 fail:
19472 return NULL;
19473 }
19474
19475
19476 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19477 PyObject *resultobj = 0;
19478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19479 wxCharBuffer result;
19480 void *argp1 = 0 ;
19481 int res1 = 0 ;
19482 PyObject *swig_obj[1] ;
19483
19484 if (!args) SWIG_fail;
19485 swig_obj[0] = args;
19486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19487 if (!SWIG_IsOK(res1)) {
19488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19489 }
19490 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19491 {
19492 PyThreadState* __tstate = wxPyBeginAllowThreads();
19493 result = (arg1)->GetSelectedTextRaw();
19494 wxPyEndAllowThreads(__tstate);
19495 if (PyErr_Occurred()) SWIG_fail;
19496 }
19497 {
19498 resultobj = PyString_FromString((char*)(&result)->data());
19499 }
19500 return resultobj;
19501 fail:
19502 return NULL;
19503 }
19504
19505
19506 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19507 PyObject *resultobj = 0;
19508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19509 int arg2 ;
19510 int arg3 ;
19511 wxCharBuffer result;
19512 void *argp1 = 0 ;
19513 int res1 = 0 ;
19514 int val2 ;
19515 int ecode2 = 0 ;
19516 int val3 ;
19517 int ecode3 = 0 ;
19518 PyObject * obj0 = 0 ;
19519 PyObject * obj1 = 0 ;
19520 PyObject * obj2 = 0 ;
19521 char * kwnames[] = {
19522 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
19523 };
19524
19525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19527 if (!SWIG_IsOK(res1)) {
19528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19529 }
19530 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19531 ecode2 = SWIG_AsVal_int(obj1, &val2);
19532 if (!SWIG_IsOK(ecode2)) {
19533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "2"" of type '" "int""'");
19534 }
19535 arg2 = static_cast< int >(val2);
19536 ecode3 = SWIG_AsVal_int(obj2, &val3);
19537 if (!SWIG_IsOK(ecode3)) {
19538 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "3"" of type '" "int""'");
19539 }
19540 arg3 = static_cast< int >(val3);
19541 {
19542 PyThreadState* __tstate = wxPyBeginAllowThreads();
19543 result = (arg1)->GetTextRangeRaw(arg2,arg3);
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
19547 {
19548 resultobj = PyString_FromString((char*)(&result)->data());
19549 }
19550 return resultobj;
19551 fail:
19552 return NULL;
19553 }
19554
19555
19556 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19557 PyObject *resultobj = 0;
19558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19559 char *arg2 = (char *) 0 ;
19560 void *argp1 = 0 ;
19561 int res1 = 0 ;
19562 int res2 ;
19563 char *buf2 = 0 ;
19564 int alloc2 = 0 ;
19565 PyObject * obj0 = 0 ;
19566 PyObject * obj1 = 0 ;
19567 char * kwnames[] = {
19568 (char *) "self",(char *) "text", NULL
19569 };
19570
19571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19573 if (!SWIG_IsOK(res1)) {
19574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19575 }
19576 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19577 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19578 if (!SWIG_IsOK(res2)) {
19579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19580 }
19581 arg2 = buf2;
19582 {
19583 PyThreadState* __tstate = wxPyBeginAllowThreads();
19584 (arg1)->SetTextRaw((char const *)arg2);
19585 wxPyEndAllowThreads(__tstate);
19586 if (PyErr_Occurred()) SWIG_fail;
19587 }
19588 resultobj = SWIG_Py_Void();
19589 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19590 return resultobj;
19591 fail:
19592 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19593 return NULL;
19594 }
19595
19596
19597 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19598 PyObject *resultobj = 0;
19599 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19600 wxCharBuffer result;
19601 void *argp1 = 0 ;
19602 int res1 = 0 ;
19603 PyObject *swig_obj[1] ;
19604
19605 if (!args) SWIG_fail;
19606 swig_obj[0] = args;
19607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19608 if (!SWIG_IsOK(res1)) {
19609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19610 }
19611 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 result = (arg1)->GetTextRaw();
19615 wxPyEndAllowThreads(__tstate);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 }
19618 {
19619 resultobj = PyString_FromString((char*)(&result)->data());
19620 }
19621 return resultobj;
19622 fail:
19623 return NULL;
19624 }
19625
19626
19627 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19628 PyObject *resultobj = 0;
19629 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19630 char *arg2 = (char *) 0 ;
19631 void *argp1 = 0 ;
19632 int res1 = 0 ;
19633 int res2 ;
19634 char *buf2 = 0 ;
19635 int alloc2 = 0 ;
19636 PyObject * obj0 = 0 ;
19637 PyObject * obj1 = 0 ;
19638 char * kwnames[] = {
19639 (char *) "self",(char *) "text", NULL
19640 };
19641
19642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19644 if (!SWIG_IsOK(res1)) {
19645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19646 }
19647 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19648 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19649 if (!SWIG_IsOK(res2)) {
19650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19651 }
19652 arg2 = buf2;
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 (arg1)->AppendTextRaw((char const *)arg2);
19656 wxPyEndAllowThreads(__tstate);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 }
19659 resultobj = SWIG_Py_Void();
19660 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19661 return resultobj;
19662 fail:
19663 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19664 return NULL;
19665 }
19666
19667
19668 SWIGINTERN PyObject *StyledTextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19669 PyObject *obj;
19670 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19671 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextCtrl, SWIG_NewClientData(obj));
19672 return SWIG_Py_Void();
19673 }
19674
19675 SWIGINTERN PyObject *StyledTextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19676 return SWIG_Python_InitShadowInstance(args);
19677 }
19678
19679 SWIGINTERN PyObject *_wrap_new_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19680 PyObject *resultobj = 0;
19681 wxEventType arg1 = (wxEventType) 0 ;
19682 int arg2 = (int) 0 ;
19683 wxStyledTextEvent *result = 0 ;
19684 int val1 ;
19685 int ecode1 = 0 ;
19686 int val2 ;
19687 int ecode2 = 0 ;
19688 PyObject * obj0 = 0 ;
19689 PyObject * obj1 = 0 ;
19690 char * kwnames[] = {
19691 (char *) "commandType",(char *) "id", NULL
19692 };
19693
19694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19695 if (obj0) {
19696 ecode1 = SWIG_AsVal_int(obj0, &val1);
19697 if (!SWIG_IsOK(ecode1)) {
19698 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_StyledTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19699 }
19700 arg1 = static_cast< wxEventType >(val1);
19701 }
19702 if (obj1) {
19703 ecode2 = SWIG_AsVal_int(obj1, &val2);
19704 if (!SWIG_IsOK(ecode2)) {
19705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextEvent" "', expected argument " "2"" of type '" "int""'");
19706 }
19707 arg2 = static_cast< int >(val2);
19708 }
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_NEW | 0 );
19716 return resultobj;
19717 fail:
19718 return NULL;
19719 }
19720
19721
19722 SWIGINTERN PyObject *_wrap_delete_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19723 PyObject *resultobj = 0;
19724 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19725 void *argp1 = 0 ;
19726 int res1 = 0 ;
19727 PyObject *swig_obj[1] ;
19728
19729 if (!args) SWIG_fail;
19730 swig_obj[0] = args;
19731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_DISOWN | 0 );
19732 if (!SWIG_IsOK(res1)) {
19733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_StyledTextEvent" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19734 }
19735 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19736 {
19737 PyThreadState* __tstate = wxPyBeginAllowThreads();
19738 delete arg1;
19739
19740 wxPyEndAllowThreads(__tstate);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
19743 resultobj = SWIG_Py_Void();
19744 return resultobj;
19745 fail:
19746 return NULL;
19747 }
19748
19749
19750 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj = 0;
19752 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19753 int arg2 ;
19754 void *argp1 = 0 ;
19755 int res1 = 0 ;
19756 int val2 ;
19757 int ecode2 = 0 ;
19758 PyObject * obj0 = 0 ;
19759 PyObject * obj1 = 0 ;
19760 char * kwnames[] = {
19761 (char *) "self",(char *) "pos", NULL
19762 };
19763
19764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
19765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19766 if (!SWIG_IsOK(res1)) {
19767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19768 }
19769 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19770 ecode2 = SWIG_AsVal_int(obj1, &val2);
19771 if (!SWIG_IsOK(ecode2)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19773 }
19774 arg2 = static_cast< int >(val2);
19775 {
19776 PyThreadState* __tstate = wxPyBeginAllowThreads();
19777 (arg1)->SetPosition(arg2);
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
19781 resultobj = SWIG_Py_Void();
19782 return resultobj;
19783 fail:
19784 return NULL;
19785 }
19786
19787
19788 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj = 0;
19790 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19791 int arg2 ;
19792 void *argp1 = 0 ;
19793 int res1 = 0 ;
19794 int val2 ;
19795 int ecode2 = 0 ;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 char * kwnames[] = {
19799 (char *) "self",(char *) "k", NULL
19800 };
19801
19802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) SWIG_fail;
19803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19804 if (!SWIG_IsOK(res1)) {
19805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19806 }
19807 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19808 ecode2 = SWIG_AsVal_int(obj1, &val2);
19809 if (!SWIG_IsOK(ecode2)) {
19810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetKey" "', expected argument " "2"" of type '" "int""'");
19811 }
19812 arg2 = static_cast< int >(val2);
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 (arg1)->SetKey(arg2);
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 resultobj = SWIG_Py_Void();
19820 return resultobj;
19821 fail:
19822 return NULL;
19823 }
19824
19825
19826 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19827 PyObject *resultobj = 0;
19828 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19829 int arg2 ;
19830 void *argp1 = 0 ;
19831 int res1 = 0 ;
19832 int val2 ;
19833 int ecode2 = 0 ;
19834 PyObject * obj0 = 0 ;
19835 PyObject * obj1 = 0 ;
19836 char * kwnames[] = {
19837 (char *) "self",(char *) "m", NULL
19838 };
19839
19840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) SWIG_fail;
19841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19842 if (!SWIG_IsOK(res1)) {
19843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19844 }
19845 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19846 ecode2 = SWIG_AsVal_int(obj1, &val2);
19847 if (!SWIG_IsOK(ecode2)) {
19848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "2"" of type '" "int""'");
19849 }
19850 arg2 = static_cast< int >(val2);
19851 {
19852 PyThreadState* __tstate = wxPyBeginAllowThreads();
19853 (arg1)->SetModifiers(arg2);
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 resultobj = SWIG_Py_Void();
19858 return resultobj;
19859 fail:
19860 return NULL;
19861 }
19862
19863
19864 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj = 0;
19866 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19867 int arg2 ;
19868 void *argp1 = 0 ;
19869 int res1 = 0 ;
19870 int val2 ;
19871 int ecode2 = 0 ;
19872 PyObject * obj0 = 0 ;
19873 PyObject * obj1 = 0 ;
19874 char * kwnames[] = {
19875 (char *) "self",(char *) "t", NULL
19876 };
19877
19878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) SWIG_fail;
19879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19880 if (!SWIG_IsOK(res1)) {
19881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19882 }
19883 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19884 ecode2 = SWIG_AsVal_int(obj1, &val2);
19885 if (!SWIG_IsOK(ecode2)) {
19886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "2"" of type '" "int""'");
19887 }
19888 arg2 = static_cast< int >(val2);
19889 {
19890 PyThreadState* __tstate = wxPyBeginAllowThreads();
19891 (arg1)->SetModificationType(arg2);
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 resultobj = SWIG_Py_Void();
19896 return resultobj;
19897 fail:
19898 return NULL;
19899 }
19900
19901
19902 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19903 PyObject *resultobj = 0;
19904 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19905 wxString *arg2 = 0 ;
19906 void *argp1 = 0 ;
19907 int res1 = 0 ;
19908 bool temp2 = false ;
19909 PyObject * obj0 = 0 ;
19910 PyObject * obj1 = 0 ;
19911 char * kwnames[] = {
19912 (char *) "self",(char *) "t", NULL
19913 };
19914
19915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
19916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19917 if (!SWIG_IsOK(res1)) {
19918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19919 }
19920 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19921 {
19922 arg2 = wxString_in_helper(obj1);
19923 if (arg2 == NULL) SWIG_fail;
19924 temp2 = true;
19925 }
19926 {
19927 PyThreadState* __tstate = wxPyBeginAllowThreads();
19928 (arg1)->SetText((wxString const &)*arg2);
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 resultobj = SWIG_Py_Void();
19933 {
19934 if (temp2)
19935 delete arg2;
19936 }
19937 return resultobj;
19938 fail:
19939 {
19940 if (temp2)
19941 delete arg2;
19942 }
19943 return NULL;
19944 }
19945
19946
19947 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19948 PyObject *resultobj = 0;
19949 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19950 int arg2 ;
19951 void *argp1 = 0 ;
19952 int res1 = 0 ;
19953 int val2 ;
19954 int ecode2 = 0 ;
19955 PyObject * obj0 = 0 ;
19956 PyObject * obj1 = 0 ;
19957 char * kwnames[] = {
19958 (char *) "self",(char *) "len", NULL
19959 };
19960
19961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) SWIG_fail;
19962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19963 if (!SWIG_IsOK(res1)) {
19964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19965 }
19966 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19967 ecode2 = SWIG_AsVal_int(obj1, &val2);
19968 if (!SWIG_IsOK(ecode2)) {
19969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLength" "', expected argument " "2"" of type '" "int""'");
19970 }
19971 arg2 = static_cast< int >(val2);
19972 {
19973 PyThreadState* __tstate = wxPyBeginAllowThreads();
19974 (arg1)->SetLength(arg2);
19975 wxPyEndAllowThreads(__tstate);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
19978 resultobj = SWIG_Py_Void();
19979 return resultobj;
19980 fail:
19981 return NULL;
19982 }
19983
19984
19985 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19986 PyObject *resultobj = 0;
19987 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19988 int arg2 ;
19989 void *argp1 = 0 ;
19990 int res1 = 0 ;
19991 int val2 ;
19992 int ecode2 = 0 ;
19993 PyObject * obj0 = 0 ;
19994 PyObject * obj1 = 0 ;
19995 char * kwnames[] = {
19996 (char *) "self",(char *) "num", NULL
19997 };
19998
19999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) SWIG_fail;
20000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20001 if (!SWIG_IsOK(res1)) {
20002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20003 }
20004 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20005 ecode2 = SWIG_AsVal_int(obj1, &val2);
20006 if (!SWIG_IsOK(ecode2)) {
20007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "2"" of type '" "int""'");
20008 }
20009 arg2 = static_cast< int >(val2);
20010 {
20011 PyThreadState* __tstate = wxPyBeginAllowThreads();
20012 (arg1)->SetLinesAdded(arg2);
20013 wxPyEndAllowThreads(__tstate);
20014 if (PyErr_Occurred()) SWIG_fail;
20015 }
20016 resultobj = SWIG_Py_Void();
20017 return resultobj;
20018 fail:
20019 return NULL;
20020 }
20021
20022
20023 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20024 PyObject *resultobj = 0;
20025 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20026 int arg2 ;
20027 void *argp1 = 0 ;
20028 int res1 = 0 ;
20029 int val2 ;
20030 int ecode2 = 0 ;
20031 PyObject * obj0 = 0 ;
20032 PyObject * obj1 = 0 ;
20033 char * kwnames[] = {
20034 (char *) "self",(char *) "val", NULL
20035 };
20036
20037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) SWIG_fail;
20038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20039 if (!SWIG_IsOK(res1)) {
20040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20041 }
20042 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20043 ecode2 = SWIG_AsVal_int(obj1, &val2);
20044 if (!SWIG_IsOK(ecode2)) {
20045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLine" "', expected argument " "2"" of type '" "int""'");
20046 }
20047 arg2 = static_cast< int >(val2);
20048 {
20049 PyThreadState* __tstate = wxPyBeginAllowThreads();
20050 (arg1)->SetLine(arg2);
20051 wxPyEndAllowThreads(__tstate);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
20054 resultobj = SWIG_Py_Void();
20055 return resultobj;
20056 fail:
20057 return NULL;
20058 }
20059
20060
20061 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20062 PyObject *resultobj = 0;
20063 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20064 int arg2 ;
20065 void *argp1 = 0 ;
20066 int res1 = 0 ;
20067 int val2 ;
20068 int ecode2 = 0 ;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 char * kwnames[] = {
20072 (char *) "self",(char *) "val", NULL
20073 };
20074
20075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) SWIG_fail;
20076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20077 if (!SWIG_IsOK(res1)) {
20078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20079 }
20080 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20081 ecode2 = SWIG_AsVal_int(obj1, &val2);
20082 if (!SWIG_IsOK(ecode2)) {
20083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "2"" of type '" "int""'");
20084 }
20085 arg2 = static_cast< int >(val2);
20086 {
20087 PyThreadState* __tstate = wxPyBeginAllowThreads();
20088 (arg1)->SetFoldLevelNow(arg2);
20089 wxPyEndAllowThreads(__tstate);
20090 if (PyErr_Occurred()) SWIG_fail;
20091 }
20092 resultobj = SWIG_Py_Void();
20093 return resultobj;
20094 fail:
20095 return NULL;
20096 }
20097
20098
20099 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20100 PyObject *resultobj = 0;
20101 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20102 int arg2 ;
20103 void *argp1 = 0 ;
20104 int res1 = 0 ;
20105 int val2 ;
20106 int ecode2 = 0 ;
20107 PyObject * obj0 = 0 ;
20108 PyObject * obj1 = 0 ;
20109 char * kwnames[] = {
20110 (char *) "self",(char *) "val", NULL
20111 };
20112
20113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) SWIG_fail;
20114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20115 if (!SWIG_IsOK(res1)) {
20116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20117 }
20118 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20119 ecode2 = SWIG_AsVal_int(obj1, &val2);
20120 if (!SWIG_IsOK(ecode2)) {
20121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "2"" of type '" "int""'");
20122 }
20123 arg2 = static_cast< int >(val2);
20124 {
20125 PyThreadState* __tstate = wxPyBeginAllowThreads();
20126 (arg1)->SetFoldLevelPrev(arg2);
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
20130 resultobj = SWIG_Py_Void();
20131 return resultobj;
20132 fail:
20133 return NULL;
20134 }
20135
20136
20137 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20138 PyObject *resultobj = 0;
20139 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20140 int arg2 ;
20141 void *argp1 = 0 ;
20142 int res1 = 0 ;
20143 int val2 ;
20144 int ecode2 = 0 ;
20145 PyObject * obj0 = 0 ;
20146 PyObject * obj1 = 0 ;
20147 char * kwnames[] = {
20148 (char *) "self",(char *) "val", NULL
20149 };
20150
20151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) SWIG_fail;
20152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20153 if (!SWIG_IsOK(res1)) {
20154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20155 }
20156 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20157 ecode2 = SWIG_AsVal_int(obj1, &val2);
20158 if (!SWIG_IsOK(ecode2)) {
20159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "2"" of type '" "int""'");
20160 }
20161 arg2 = static_cast< int >(val2);
20162 {
20163 PyThreadState* __tstate = wxPyBeginAllowThreads();
20164 (arg1)->SetMargin(arg2);
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
20168 resultobj = SWIG_Py_Void();
20169 return resultobj;
20170 fail:
20171 return NULL;
20172 }
20173
20174
20175 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20176 PyObject *resultobj = 0;
20177 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20178 int arg2 ;
20179 void *argp1 = 0 ;
20180 int res1 = 0 ;
20181 int val2 ;
20182 int ecode2 = 0 ;
20183 PyObject * obj0 = 0 ;
20184 PyObject * obj1 = 0 ;
20185 char * kwnames[] = {
20186 (char *) "self",(char *) "val", NULL
20187 };
20188
20189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
20190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20191 if (!SWIG_IsOK(res1)) {
20192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20193 }
20194 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20195 ecode2 = SWIG_AsVal_int(obj1, &val2);
20196 if (!SWIG_IsOK(ecode2)) {
20197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "2"" of type '" "int""'");
20198 }
20199 arg2 = static_cast< int >(val2);
20200 {
20201 PyThreadState* __tstate = wxPyBeginAllowThreads();
20202 (arg1)->SetMessage(arg2);
20203 wxPyEndAllowThreads(__tstate);
20204 if (PyErr_Occurred()) SWIG_fail;
20205 }
20206 resultobj = SWIG_Py_Void();
20207 return resultobj;
20208 fail:
20209 return NULL;
20210 }
20211
20212
20213 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20214 PyObject *resultobj = 0;
20215 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20216 int arg2 ;
20217 void *argp1 = 0 ;
20218 int res1 = 0 ;
20219 int val2 ;
20220 int ecode2 = 0 ;
20221 PyObject * obj0 = 0 ;
20222 PyObject * obj1 = 0 ;
20223 char * kwnames[] = {
20224 (char *) "self",(char *) "val", NULL
20225 };
20226
20227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) SWIG_fail;
20228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20229 if (!SWIG_IsOK(res1)) {
20230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20231 }
20232 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20233 ecode2 = SWIG_AsVal_int(obj1, &val2);
20234 if (!SWIG_IsOK(ecode2)) {
20235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "2"" of type '" "int""'");
20236 }
20237 arg2 = static_cast< int >(val2);
20238 {
20239 PyThreadState* __tstate = wxPyBeginAllowThreads();
20240 (arg1)->SetWParam(arg2);
20241 wxPyEndAllowThreads(__tstate);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 }
20244 resultobj = SWIG_Py_Void();
20245 return resultobj;
20246 fail:
20247 return NULL;
20248 }
20249
20250
20251 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20252 PyObject *resultobj = 0;
20253 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20254 int arg2 ;
20255 void *argp1 = 0 ;
20256 int res1 = 0 ;
20257 int val2 ;
20258 int ecode2 = 0 ;
20259 PyObject * obj0 = 0 ;
20260 PyObject * obj1 = 0 ;
20261 char * kwnames[] = {
20262 (char *) "self",(char *) "val", NULL
20263 };
20264
20265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) SWIG_fail;
20266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20267 if (!SWIG_IsOK(res1)) {
20268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20269 }
20270 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20271 ecode2 = SWIG_AsVal_int(obj1, &val2);
20272 if (!SWIG_IsOK(ecode2)) {
20273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "2"" of type '" "int""'");
20274 }
20275 arg2 = static_cast< int >(val2);
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 (arg1)->SetLParam(arg2);
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
20282 resultobj = SWIG_Py_Void();
20283 return resultobj;
20284 fail:
20285 return NULL;
20286 }
20287
20288
20289 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20290 PyObject *resultobj = 0;
20291 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20292 int arg2 ;
20293 void *argp1 = 0 ;
20294 int res1 = 0 ;
20295 int val2 ;
20296 int ecode2 = 0 ;
20297 PyObject * obj0 = 0 ;
20298 PyObject * obj1 = 0 ;
20299 char * kwnames[] = {
20300 (char *) "self",(char *) "val", NULL
20301 };
20302
20303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) SWIG_fail;
20304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20305 if (!SWIG_IsOK(res1)) {
20306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20307 }
20308 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20309 ecode2 = SWIG_AsVal_int(obj1, &val2);
20310 if (!SWIG_IsOK(ecode2)) {
20311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetListType" "', expected argument " "2"" of type '" "int""'");
20312 }
20313 arg2 = static_cast< int >(val2);
20314 {
20315 PyThreadState* __tstate = wxPyBeginAllowThreads();
20316 (arg1)->SetListType(arg2);
20317 wxPyEndAllowThreads(__tstate);
20318 if (PyErr_Occurred()) SWIG_fail;
20319 }
20320 resultobj = SWIG_Py_Void();
20321 return resultobj;
20322 fail:
20323 return NULL;
20324 }
20325
20326
20327 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20328 PyObject *resultobj = 0;
20329 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20330 int arg2 ;
20331 void *argp1 = 0 ;
20332 int res1 = 0 ;
20333 int val2 ;
20334 int ecode2 = 0 ;
20335 PyObject * obj0 = 0 ;
20336 PyObject * obj1 = 0 ;
20337 char * kwnames[] = {
20338 (char *) "self",(char *) "val", NULL
20339 };
20340
20341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) SWIG_fail;
20342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20343 if (!SWIG_IsOK(res1)) {
20344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetX" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20345 }
20346 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20347 ecode2 = SWIG_AsVal_int(obj1, &val2);
20348 if (!SWIG_IsOK(ecode2)) {
20349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetX" "', expected argument " "2"" of type '" "int""'");
20350 }
20351 arg2 = static_cast< int >(val2);
20352 {
20353 PyThreadState* __tstate = wxPyBeginAllowThreads();
20354 (arg1)->SetX(arg2);
20355 wxPyEndAllowThreads(__tstate);
20356 if (PyErr_Occurred()) SWIG_fail;
20357 }
20358 resultobj = SWIG_Py_Void();
20359 return resultobj;
20360 fail:
20361 return NULL;
20362 }
20363
20364
20365 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20366 PyObject *resultobj = 0;
20367 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20368 int arg2 ;
20369 void *argp1 = 0 ;
20370 int res1 = 0 ;
20371 int val2 ;
20372 int ecode2 = 0 ;
20373 PyObject * obj0 = 0 ;
20374 PyObject * obj1 = 0 ;
20375 char * kwnames[] = {
20376 (char *) "self",(char *) "val", NULL
20377 };
20378
20379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) SWIG_fail;
20380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20381 if (!SWIG_IsOK(res1)) {
20382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetY" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20383 }
20384 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20385 ecode2 = SWIG_AsVal_int(obj1, &val2);
20386 if (!SWIG_IsOK(ecode2)) {
20387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetY" "', expected argument " "2"" of type '" "int""'");
20388 }
20389 arg2 = static_cast< int >(val2);
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 (arg1)->SetY(arg2);
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 resultobj = SWIG_Py_Void();
20397 return resultobj;
20398 fail:
20399 return NULL;
20400 }
20401
20402
20403 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20404 PyObject *resultobj = 0;
20405 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20406 wxString *arg2 = 0 ;
20407 void *argp1 = 0 ;
20408 int res1 = 0 ;
20409 bool temp2 = false ;
20410 PyObject * obj0 = 0 ;
20411 PyObject * obj1 = 0 ;
20412 char * kwnames[] = {
20413 (char *) "self",(char *) "val", NULL
20414 };
20415
20416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) SWIG_fail;
20417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20418 if (!SWIG_IsOK(res1)) {
20419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20420 }
20421 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20422 {
20423 arg2 = wxString_in_helper(obj1);
20424 if (arg2 == NULL) SWIG_fail;
20425 temp2 = true;
20426 }
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 (arg1)->SetDragText((wxString const &)*arg2);
20430 wxPyEndAllowThreads(__tstate);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 resultobj = SWIG_Py_Void();
20434 {
20435 if (temp2)
20436 delete arg2;
20437 }
20438 return resultobj;
20439 fail:
20440 {
20441 if (temp2)
20442 delete arg2;
20443 }
20444 return NULL;
20445 }
20446
20447
20448 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20449 PyObject *resultobj = 0;
20450 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20451 bool arg2 ;
20452 void *argp1 = 0 ;
20453 int res1 = 0 ;
20454 bool val2 ;
20455 int ecode2 = 0 ;
20456 PyObject * obj0 = 0 ;
20457 PyObject * obj1 = 0 ;
20458 char * kwnames[] = {
20459 (char *) "self",(char *) "val", NULL
20460 };
20461
20462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) SWIG_fail;
20463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20464 if (!SWIG_IsOK(res1)) {
20465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20466 }
20467 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20468 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20469 if (!SWIG_IsOK(ecode2)) {
20470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "2"" of type '" "bool""'");
20471 }
20472 arg2 = static_cast< bool >(val2);
20473 {
20474 PyThreadState* __tstate = wxPyBeginAllowThreads();
20475 (arg1)->SetDragAllowMove(arg2);
20476 wxPyEndAllowThreads(__tstate);
20477 if (PyErr_Occurred()) SWIG_fail;
20478 }
20479 resultobj = SWIG_Py_Void();
20480 return resultobj;
20481 fail:
20482 return NULL;
20483 }
20484
20485
20486 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20487 PyObject *resultobj = 0;
20488 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20489 wxDragResult arg2 ;
20490 void *argp1 = 0 ;
20491 int res1 = 0 ;
20492 int val2 ;
20493 int ecode2 = 0 ;
20494 PyObject * obj0 = 0 ;
20495 PyObject * obj1 = 0 ;
20496 char * kwnames[] = {
20497 (char *) "self",(char *) "val", NULL
20498 };
20499
20500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) SWIG_fail;
20501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20502 if (!SWIG_IsOK(res1)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20504 }
20505 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20506 ecode2 = SWIG_AsVal_int(obj1, &val2);
20507 if (!SWIG_IsOK(ecode2)) {
20508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "2"" of type '" "wxDragResult""'");
20509 }
20510 arg2 = static_cast< wxDragResult >(val2);
20511 {
20512 PyThreadState* __tstate = wxPyBeginAllowThreads();
20513 (arg1)->SetDragResult(arg2);
20514 wxPyEndAllowThreads(__tstate);
20515 if (PyErr_Occurred()) SWIG_fail;
20516 }
20517 resultobj = SWIG_Py_Void();
20518 return resultobj;
20519 fail:
20520 return NULL;
20521 }
20522
20523
20524 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20525 PyObject *resultobj = 0;
20526 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20527 int result;
20528 void *argp1 = 0 ;
20529 int res1 = 0 ;
20530 PyObject *swig_obj[1] ;
20531
20532 if (!args) SWIG_fail;
20533 swig_obj[0] = args;
20534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20535 if (!SWIG_IsOK(res1)) {
20536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20537 }
20538 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20539 {
20540 PyThreadState* __tstate = wxPyBeginAllowThreads();
20541 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 resultobj = SWIG_From_int(static_cast< int >(result));
20546 return resultobj;
20547 fail:
20548 return NULL;
20549 }
20550
20551
20552 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20553 PyObject *resultobj = 0;
20554 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20555 int result;
20556 void *argp1 = 0 ;
20557 int res1 = 0 ;
20558 PyObject *swig_obj[1] ;
20559
20560 if (!args) SWIG_fail;
20561 swig_obj[0] = args;
20562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20563 if (!SWIG_IsOK(res1)) {
20564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20565 }
20566 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20567 {
20568 PyThreadState* __tstate = wxPyBeginAllowThreads();
20569 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
20570 wxPyEndAllowThreads(__tstate);
20571 if (PyErr_Occurred()) SWIG_fail;
20572 }
20573 resultobj = SWIG_From_int(static_cast< int >(result));
20574 return resultobj;
20575 fail:
20576 return NULL;
20577 }
20578
20579
20580 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20581 PyObject *resultobj = 0;
20582 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20583 int result;
20584 void *argp1 = 0 ;
20585 int res1 = 0 ;
20586 PyObject *swig_obj[1] ;
20587
20588 if (!args) SWIG_fail;
20589 swig_obj[0] = args;
20590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20591 if (!SWIG_IsOK(res1)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20593 }
20594 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 resultobj = SWIG_From_int(static_cast< int >(result));
20602 return resultobj;
20603 fail:
20604 return NULL;
20605 }
20606
20607
20608 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20609 PyObject *resultobj = 0;
20610 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20611 int result;
20612 void *argp1 = 0 ;
20613 int res1 = 0 ;
20614 PyObject *swig_obj[1] ;
20615
20616 if (!args) SWIG_fail;
20617 swig_obj[0] = args;
20618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20619 if (!SWIG_IsOK(res1)) {
20620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20621 }
20622 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
20626 wxPyEndAllowThreads(__tstate);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 }
20629 resultobj = SWIG_From_int(static_cast< int >(result));
20630 return resultobj;
20631 fail:
20632 return NULL;
20633 }
20634
20635
20636 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20637 PyObject *resultobj = 0;
20638 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20639 wxString result;
20640 void *argp1 = 0 ;
20641 int res1 = 0 ;
20642 PyObject *swig_obj[1] ;
20643
20644 if (!args) SWIG_fail;
20645 swig_obj[0] = args;
20646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20647 if (!SWIG_IsOK(res1)) {
20648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetText" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20649 }
20650 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20651 {
20652 PyThreadState* __tstate = wxPyBeginAllowThreads();
20653 result = ((wxStyledTextEvent const *)arg1)->GetText();
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
20657 {
20658 #if wxUSE_UNICODE
20659 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20660 #else
20661 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20662 #endif
20663 }
20664 return resultobj;
20665 fail:
20666 return NULL;
20667 }
20668
20669
20670 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20671 PyObject *resultobj = 0;
20672 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20673 int result;
20674 void *argp1 = 0 ;
20675 int res1 = 0 ;
20676 PyObject *swig_obj[1] ;
20677
20678 if (!args) SWIG_fail;
20679 swig_obj[0] = args;
20680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20681 if (!SWIG_IsOK(res1)) {
20682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20683 }
20684 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 resultobj = SWIG_From_int(static_cast< int >(result));
20692 return resultobj;
20693 fail:
20694 return NULL;
20695 }
20696
20697
20698 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20699 PyObject *resultobj = 0;
20700 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20701 int result;
20702 void *argp1 = 0 ;
20703 int res1 = 0 ;
20704 PyObject *swig_obj[1] ;
20705
20706 if (!args) SWIG_fail;
20707 swig_obj[0] = args;
20708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20709 if (!SWIG_IsOK(res1)) {
20710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20711 }
20712 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20713 {
20714 PyThreadState* __tstate = wxPyBeginAllowThreads();
20715 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
20716 wxPyEndAllowThreads(__tstate);
20717 if (PyErr_Occurred()) SWIG_fail;
20718 }
20719 resultobj = SWIG_From_int(static_cast< int >(result));
20720 return resultobj;
20721 fail:
20722 return NULL;
20723 }
20724
20725
20726 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20727 PyObject *resultobj = 0;
20728 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20729 int result;
20730 void *argp1 = 0 ;
20731 int res1 = 0 ;
20732 PyObject *swig_obj[1] ;
20733
20734 if (!args) SWIG_fail;
20735 swig_obj[0] = args;
20736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20737 if (!SWIG_IsOK(res1)) {
20738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20739 }
20740 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20741 {
20742 PyThreadState* __tstate = wxPyBeginAllowThreads();
20743 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 resultobj = SWIG_From_int(static_cast< int >(result));
20748 return resultobj;
20749 fail:
20750 return NULL;
20751 }
20752
20753
20754 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20755 PyObject *resultobj = 0;
20756 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20757 int result;
20758 void *argp1 = 0 ;
20759 int res1 = 0 ;
20760 PyObject *swig_obj[1] ;
20761
20762 if (!args) SWIG_fail;
20763 swig_obj[0] = args;
20764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20765 if (!SWIG_IsOK(res1)) {
20766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20767 }
20768 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20769 {
20770 PyThreadState* __tstate = wxPyBeginAllowThreads();
20771 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
20772 wxPyEndAllowThreads(__tstate);
20773 if (PyErr_Occurred()) SWIG_fail;
20774 }
20775 resultobj = SWIG_From_int(static_cast< int >(result));
20776 return resultobj;
20777 fail:
20778 return NULL;
20779 }
20780
20781
20782 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20783 PyObject *resultobj = 0;
20784 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20785 int result;
20786 void *argp1 = 0 ;
20787 int res1 = 0 ;
20788 PyObject *swig_obj[1] ;
20789
20790 if (!args) SWIG_fail;
20791 swig_obj[0] = args;
20792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20793 if (!SWIG_IsOK(res1)) {
20794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20795 }
20796 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
20800 wxPyEndAllowThreads(__tstate);
20801 if (PyErr_Occurred()) SWIG_fail;
20802 }
20803 resultobj = SWIG_From_int(static_cast< int >(result));
20804 return resultobj;
20805 fail:
20806 return NULL;
20807 }
20808
20809
20810 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20811 PyObject *resultobj = 0;
20812 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20813 int result;
20814 void *argp1 = 0 ;
20815 int res1 = 0 ;
20816 PyObject *swig_obj[1] ;
20817
20818 if (!args) SWIG_fail;
20819 swig_obj[0] = args;
20820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20821 if (!SWIG_IsOK(res1)) {
20822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20823 }
20824 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20825 {
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
20827 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
20831 resultobj = SWIG_From_int(static_cast< int >(result));
20832 return resultobj;
20833 fail:
20834 return NULL;
20835 }
20836
20837
20838 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20839 PyObject *resultobj = 0;
20840 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20841 int result;
20842 void *argp1 = 0 ;
20843 int res1 = 0 ;
20844 PyObject *swig_obj[1] ;
20845
20846 if (!args) SWIG_fail;
20847 swig_obj[0] = args;
20848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20849 if (!SWIG_IsOK(res1)) {
20850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20851 }
20852 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20853 {
20854 PyThreadState* __tstate = wxPyBeginAllowThreads();
20855 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 resultobj = SWIG_From_int(static_cast< int >(result));
20860 return resultobj;
20861 fail:
20862 return NULL;
20863 }
20864
20865
20866 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20867 PyObject *resultobj = 0;
20868 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20869 int result;
20870 void *argp1 = 0 ;
20871 int res1 = 0 ;
20872 PyObject *swig_obj[1] ;
20873
20874 if (!args) SWIG_fail;
20875 swig_obj[0] = args;
20876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20877 if (!SWIG_IsOK(res1)) {
20878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20879 }
20880 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20881 {
20882 PyThreadState* __tstate = wxPyBeginAllowThreads();
20883 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
20884 wxPyEndAllowThreads(__tstate);
20885 if (PyErr_Occurred()) SWIG_fail;
20886 }
20887 resultobj = SWIG_From_int(static_cast< int >(result));
20888 return resultobj;
20889 fail:
20890 return NULL;
20891 }
20892
20893
20894 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20895 PyObject *resultobj = 0;
20896 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20897 int result;
20898 void *argp1 = 0 ;
20899 int res1 = 0 ;
20900 PyObject *swig_obj[1] ;
20901
20902 if (!args) SWIG_fail;
20903 swig_obj[0] = args;
20904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20905 if (!SWIG_IsOK(res1)) {
20906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20907 }
20908 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20909 {
20910 PyThreadState* __tstate = wxPyBeginAllowThreads();
20911 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
20912 wxPyEndAllowThreads(__tstate);
20913 if (PyErr_Occurred()) SWIG_fail;
20914 }
20915 resultobj = SWIG_From_int(static_cast< int >(result));
20916 return resultobj;
20917 fail:
20918 return NULL;
20919 }
20920
20921
20922 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20923 PyObject *resultobj = 0;
20924 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20925 int result;
20926 void *argp1 = 0 ;
20927 int res1 = 0 ;
20928 PyObject *swig_obj[1] ;
20929
20930 if (!args) SWIG_fail;
20931 swig_obj[0] = args;
20932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20933 if (!SWIG_IsOK(res1)) {
20934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20935 }
20936 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20937 {
20938 PyThreadState* __tstate = wxPyBeginAllowThreads();
20939 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
20940 wxPyEndAllowThreads(__tstate);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 }
20943 resultobj = SWIG_From_int(static_cast< int >(result));
20944 return resultobj;
20945 fail:
20946 return NULL;
20947 }
20948
20949
20950 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20951 PyObject *resultobj = 0;
20952 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20953 int result;
20954 void *argp1 = 0 ;
20955 int res1 = 0 ;
20956 PyObject *swig_obj[1] ;
20957
20958 if (!args) SWIG_fail;
20959 swig_obj[0] = args;
20960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20961 if (!SWIG_IsOK(res1)) {
20962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetX" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20963 }
20964 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
20968 wxPyEndAllowThreads(__tstate);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 resultobj = SWIG_From_int(static_cast< int >(result));
20972 return resultobj;
20973 fail:
20974 return NULL;
20975 }
20976
20977
20978 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20979 PyObject *resultobj = 0;
20980 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20981 int result;
20982 void *argp1 = 0 ;
20983 int res1 = 0 ;
20984 PyObject *swig_obj[1] ;
20985
20986 if (!args) SWIG_fail;
20987 swig_obj[0] = args;
20988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20989 if (!SWIG_IsOK(res1)) {
20990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetY" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20991 }
20992 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20993 {
20994 PyThreadState* __tstate = wxPyBeginAllowThreads();
20995 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 resultobj = SWIG_From_int(static_cast< int >(result));
21000 return resultobj;
21001 fail:
21002 return NULL;
21003 }
21004
21005
21006 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21007 PyObject *resultobj = 0;
21008 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21009 wxString result;
21010 void *argp1 = 0 ;
21011 int res1 = 0 ;
21012 PyObject *swig_obj[1] ;
21013
21014 if (!args) SWIG_fail;
21015 swig_obj[0] = args;
21016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21017 if (!SWIG_IsOK(res1)) {
21018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21019 }
21020 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21021 {
21022 PyThreadState* __tstate = wxPyBeginAllowThreads();
21023 result = (arg1)->GetDragText();
21024 wxPyEndAllowThreads(__tstate);
21025 if (PyErr_Occurred()) SWIG_fail;
21026 }
21027 {
21028 #if wxUSE_UNICODE
21029 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21030 #else
21031 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21032 #endif
21033 }
21034 return resultobj;
21035 fail:
21036 return NULL;
21037 }
21038
21039
21040 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21041 PyObject *resultobj = 0;
21042 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21043 bool result;
21044 void *argp1 = 0 ;
21045 int res1 = 0 ;
21046 PyObject *swig_obj[1] ;
21047
21048 if (!args) SWIG_fail;
21049 swig_obj[0] = args;
21050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21051 if (!SWIG_IsOK(res1)) {
21052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21053 }
21054 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21055 {
21056 PyThreadState* __tstate = wxPyBeginAllowThreads();
21057 result = (bool)(arg1)->GetDragAllowMove();
21058 wxPyEndAllowThreads(__tstate);
21059 if (PyErr_Occurred()) SWIG_fail;
21060 }
21061 {
21062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21063 }
21064 return resultobj;
21065 fail:
21066 return NULL;
21067 }
21068
21069
21070 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21071 PyObject *resultobj = 0;
21072 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21073 wxDragResult result;
21074 void *argp1 = 0 ;
21075 int res1 = 0 ;
21076 PyObject *swig_obj[1] ;
21077
21078 if (!args) SWIG_fail;
21079 swig_obj[0] = args;
21080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21081 if (!SWIG_IsOK(res1)) {
21082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21083 }
21084 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21085 {
21086 PyThreadState* __tstate = wxPyBeginAllowThreads();
21087 result = (wxDragResult)(arg1)->GetDragResult();
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 resultobj = SWIG_From_int(static_cast< int >(result));
21092 return resultobj;
21093 fail:
21094 return NULL;
21095 }
21096
21097
21098 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetShift(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21099 PyObject *resultobj = 0;
21100 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21101 bool result;
21102 void *argp1 = 0 ;
21103 int res1 = 0 ;
21104 PyObject *swig_obj[1] ;
21105
21106 if (!args) SWIG_fail;
21107 swig_obj[0] = args;
21108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21109 if (!SWIG_IsOK(res1)) {
21110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetShift" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21111 }
21112 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21113 {
21114 PyThreadState* __tstate = wxPyBeginAllowThreads();
21115 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
21116 wxPyEndAllowThreads(__tstate);
21117 if (PyErr_Occurred()) SWIG_fail;
21118 }
21119 {
21120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21121 }
21122 return resultobj;
21123 fail:
21124 return NULL;
21125 }
21126
21127
21128 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21129 PyObject *resultobj = 0;
21130 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21131 bool result;
21132 void *argp1 = 0 ;
21133 int res1 = 0 ;
21134 PyObject *swig_obj[1] ;
21135
21136 if (!args) SWIG_fail;
21137 swig_obj[0] = args;
21138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21139 if (!SWIG_IsOK(res1)) {
21140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetControl" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21141 }
21142 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21143 {
21144 PyThreadState* __tstate = wxPyBeginAllowThreads();
21145 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
21146 wxPyEndAllowThreads(__tstate);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 {
21150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21151 }
21152 return resultobj;
21153 fail:
21154 return NULL;
21155 }
21156
21157
21158 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21159 PyObject *resultobj = 0;
21160 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21161 bool result;
21162 void *argp1 = 0 ;
21163 int res1 = 0 ;
21164 PyObject *swig_obj[1] ;
21165
21166 if (!args) SWIG_fail;
21167 swig_obj[0] = args;
21168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21169 if (!SWIG_IsOK(res1)) {
21170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetAlt" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21171 }
21172 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
21179 {
21180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21181 }
21182 return resultobj;
21183 fail:
21184 return NULL;
21185 }
21186
21187
21188 SWIGINTERN PyObject *StyledTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21189 PyObject *obj;
21190 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21191 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextEvent, SWIG_NewClientData(obj));
21192 return SWIG_Py_Void();
21193 }
21194
21195 SWIGINTERN PyObject *StyledTextEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21196 return SWIG_Python_InitShadowInstance(args);
21197 }
21198
21199 static PyMethodDef SwigMethods[] = {
21200 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
21201 { (char *)"new_PreStyledTextCtrl", (PyCFunction)_wrap_new_PreStyledTextCtrl, METH_NOARGS, NULL},
21202 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
21203 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
21204 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
21205 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
21206 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction)_wrap_StyledTextCtrl_ClearAll, METH_O, NULL},
21207 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction)_wrap_StyledTextCtrl_ClearDocumentStyle, METH_O, NULL},
21208 { (char *)"StyledTextCtrl_GetLength", (PyCFunction)_wrap_StyledTextCtrl_GetLength, METH_O, NULL},
21209 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
21210 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentPos, METH_O, NULL},
21211 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction)_wrap_StyledTextCtrl_GetAnchor, METH_O, NULL},
21212 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
21213 { (char *)"StyledTextCtrl_Redo", (PyCFunction)_wrap_StyledTextCtrl_Redo, METH_O, NULL},
21214 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
21215 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction)_wrap_StyledTextCtrl_SelectAll, METH_O, NULL},
21216 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction)_wrap_StyledTextCtrl_SetSavePoint, METH_O, NULL},
21217 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
21218 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction)_wrap_StyledTextCtrl_CanRedo, METH_O, NULL},
21219 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
21220 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
21221 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction)_wrap_StyledTextCtrl_GetUndoCollection, METH_O, NULL},
21222 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction)_wrap_StyledTextCtrl_GetViewWhiteSpace, METH_O, NULL},
21223 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
21224 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21225 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
21226 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
21227 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
21228 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
21229 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurLine, METH_O, NULL},
21230 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction)_wrap_StyledTextCtrl_GetEndStyled, METH_O, NULL},
21231 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
21232 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction)_wrap_StyledTextCtrl_GetEOLMode, METH_O, NULL},
21233 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
21234 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
21235 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
21236 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction)_wrap_StyledTextCtrl_GetBufferedDraw, METH_O, NULL},
21237 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
21238 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21239 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction)_wrap_StyledTextCtrl_GetTabWidth, METH_O, NULL},
21240 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
21241 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
21242 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21243 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21244 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
21245 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
21246 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
21247 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
21248 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
21249 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
21250 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21251 { (char *)"StyledTextCtrl_MarkerAddSet", (PyCFunction) _wrap_StyledTextCtrl_MarkerAddSet, METH_VARARGS | METH_KEYWORDS, NULL},
21252 { (char *)"StyledTextCtrl_MarkerSetAlpha", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
21253 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
21254 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
21255 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21256 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21257 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
21258 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
21259 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
21260 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
21261 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction)_wrap_StyledTextCtrl_StyleClearAll, METH_O, NULL},
21262 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21263 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21264 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
21265 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
21266 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
21267 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
21268 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
21269 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction)_wrap_StyledTextCtrl_StyleResetDefault, METH_O, NULL},
21270 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
21271 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
21272 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
21273 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21274 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21275 { (char *)"StyledTextCtrl_GetSelAlpha", (PyCFunction)_wrap_StyledTextCtrl_GetSelAlpha, METH_O, NULL},
21276 { (char *)"StyledTextCtrl_SetSelAlpha", (PyCFunction) _wrap_StyledTextCtrl_SetSelAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
21277 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21278 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
21279 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
21280 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction)_wrap_StyledTextCtrl_CmdKeyClearAll, METH_O, NULL},
21281 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
21282 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21283 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction)_wrap_StyledTextCtrl_GetCaretPeriod, METH_O, NULL},
21284 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
21285 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
21286 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction)_wrap_StyledTextCtrl_BeginUndoAction, METH_O, NULL},
21287 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction)_wrap_StyledTextCtrl_EndUndoAction, METH_O, NULL},
21288 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21289 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21290 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21291 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21292 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21293 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21294 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
21295 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBits, METH_O, NULL},
21296 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
21297 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
21298 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction)_wrap_StyledTextCtrl_GetMaxLineState, METH_O, NULL},
21299 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineVisible, METH_O, NULL},
21300 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21301 { (char *)"StyledTextCtrl_GetCaretLineBackground", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineBackground, METH_O, NULL},
21302 { (char *)"StyledTextCtrl_SetCaretLineBackground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21303 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
21304 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
21305 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction)_wrap_StyledTextCtrl_AutoCompCancel, METH_O, NULL},
21306 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction)_wrap_StyledTextCtrl_AutoCompActive, METH_O, NULL},
21307 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompPosStart, METH_O, NULL},
21308 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction)_wrap_StyledTextCtrl_AutoCompComplete, METH_O, NULL},
21309 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
21310 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
21311 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetSeparator, METH_O, NULL},
21312 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
21313 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
21314 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_O, NULL},
21315 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
21316 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
21317 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_O, NULL},
21318 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
21319 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_O, NULL},
21320 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
21321 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
21322 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_O, NULL},
21323 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
21324 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_O, NULL},
21325 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
21326 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction)_wrap_StyledTextCtrl_ClearRegisteredImages, METH_O, NULL},
21327 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_O, NULL},
21328 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
21329 { (char *)"StyledTextCtrl_AutoCompSetMaxWidth", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21330 { (char *)"StyledTextCtrl_AutoCompGetMaxWidth", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxWidth, METH_O, NULL},
21331 { (char *)"StyledTextCtrl_AutoCompSetMaxHeight", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21332 { (char *)"StyledTextCtrl_AutoCompGetMaxHeight", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxHeight, METH_O, NULL},
21333 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
21334 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction)_wrap_StyledTextCtrl_GetIndent, METH_O, NULL},
21335 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
21336 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction)_wrap_StyledTextCtrl_GetUseTabs, METH_O, NULL},
21337 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
21338 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
21339 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21340 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21341 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21342 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_O, NULL},
21343 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
21344 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction)_wrap_StyledTextCtrl_GetIndentationGuides, METH_O, NULL},
21345 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
21346 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction)_wrap_StyledTextCtrl_GetHighlightGuide, METH_O, NULL},
21347 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21348 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction)_wrap_StyledTextCtrl_GetCodePage, METH_O, NULL},
21349 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction)_wrap_StyledTextCtrl_GetCaretForeground, METH_O, NULL},
21350 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction)_wrap_StyledTextCtrl_GetReadOnly, METH_O, NULL},
21351 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
21352 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
21353 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionStart, METH_O, NULL},
21354 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
21355 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionEnd, METH_O, NULL},
21356 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
21357 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction)_wrap_StyledTextCtrl_GetPrintMagnification, METH_O, NULL},
21358 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
21359 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintColourMode, METH_O, NULL},
21360 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
21361 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
21362 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction)_wrap_StyledTextCtrl_GetFirstVisibleLine, METH_O, NULL},
21363 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
21364 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction)_wrap_StyledTextCtrl_GetLineCount, METH_O, NULL},
21365 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
21366 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction)_wrap_StyledTextCtrl_GetMarginLeft, METH_O, NULL},
21367 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
21368 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction)_wrap_StyledTextCtrl_GetMarginRight, METH_O, NULL},
21369 { (char *)"StyledTextCtrl_GetModify", (PyCFunction)_wrap_StyledTextCtrl_GetModify, METH_O, NULL},
21370 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21371 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedText, METH_O, NULL},
21372 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
21373 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21374 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21375 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
21376 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
21377 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction)_wrap_StyledTextCtrl_EnsureCaretVisible, METH_O, NULL},
21378 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21379 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
21380 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction)_wrap_StyledTextCtrl_CanPaste, METH_O, NULL},
21381 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction)_wrap_StyledTextCtrl_CanUndo, METH_O, NULL},
21382 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction)_wrap_StyledTextCtrl_EmptyUndoBuffer, METH_O, NULL},
21383 { (char *)"StyledTextCtrl_Undo", (PyCFunction)_wrap_StyledTextCtrl_Undo, METH_O, NULL},
21384 { (char *)"StyledTextCtrl_Cut", (PyCFunction)_wrap_StyledTextCtrl_Cut, METH_O, NULL},
21385 { (char *)"StyledTextCtrl_Copy", (PyCFunction)_wrap_StyledTextCtrl_Copy, METH_O, NULL},
21386 { (char *)"StyledTextCtrl_Paste", (PyCFunction)_wrap_StyledTextCtrl_Paste, METH_O, NULL},
21387 { (char *)"StyledTextCtrl_Clear", (PyCFunction)_wrap_StyledTextCtrl_Clear, METH_O, NULL},
21388 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
21389 { (char *)"StyledTextCtrl_GetText", (PyCFunction)_wrap_StyledTextCtrl_GetText, METH_O, NULL},
21390 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction)_wrap_StyledTextCtrl_GetTextLength, METH_O, NULL},
21391 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
21392 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction)_wrap_StyledTextCtrl_GetOvertype, METH_O, NULL},
21393 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21394 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction)_wrap_StyledTextCtrl_GetCaretWidth, METH_O, NULL},
21395 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
21396 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction)_wrap_StyledTextCtrl_GetTargetStart, METH_O, NULL},
21397 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
21398 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction)_wrap_StyledTextCtrl_GetTargetEnd, METH_O, NULL},
21399 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
21400 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
21401 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
21402 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21403 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction)_wrap_StyledTextCtrl_GetSearchFlags, METH_O, NULL},
21404 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
21405 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction)_wrap_StyledTextCtrl_CallTipCancel, METH_O, NULL},
21406 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction)_wrap_StyledTextCtrl_CallTipActive, METH_O, NULL},
21407 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction)_wrap_StyledTextCtrl_CallTipPosAtStart, METH_O, NULL},
21408 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21409 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21410 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21411 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21412 { (char *)"StyledTextCtrl_CallTipUseStyle", (PyCFunction) _wrap_StyledTextCtrl_CallTipUseStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21413 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
21414 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21415 { (char *)"StyledTextCtrl_WrapCount", (PyCFunction) _wrap_StyledTextCtrl_WrapCount, METH_VARARGS | METH_KEYWORDS, NULL},
21416 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
21417 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
21418 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
21419 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
21420 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
21421 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
21422 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21423 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21424 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21425 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
21426 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21427 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21428 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21429 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
21430 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction)_wrap_StyledTextCtrl_GetTabIndents, METH_O, NULL},
21431 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
21432 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction)_wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_O, NULL},
21433 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
21434 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDwellTime, METH_O, NULL},
21435 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21436 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21437 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
21438 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetWrapMode, METH_O, NULL},
21439 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21440 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlags, METH_O, NULL},
21441 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
21442 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_O, NULL},
21443 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
21444 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction)_wrap_StyledTextCtrl_GetWrapStartIndent, METH_O, NULL},
21445 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
21446 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction)_wrap_StyledTextCtrl_GetLayoutCache, METH_O, NULL},
21447 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21448 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction)_wrap_StyledTextCtrl_GetScrollWidth, METH_O, NULL},
21449 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21450 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
21451 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction)_wrap_StyledTextCtrl_GetEndAtLastLine, METH_O, NULL},
21452 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21453 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21454 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_O, NULL},
21455 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
21456 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction)_wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_O, NULL},
21457 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
21458 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction)_wrap_StyledTextCtrl_TargetFromSelection, METH_O, NULL},
21459 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction)_wrap_StyledTextCtrl_LinesJoin, METH_O, NULL},
21460 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
21461 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
21462 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
21463 { (char *)"StyledTextCtrl_LineDown", (PyCFunction)_wrap_StyledTextCtrl_LineDown, METH_O, NULL},
21464 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownExtend, METH_O, NULL},
21465 { (char *)"StyledTextCtrl_LineUp", (PyCFunction)_wrap_StyledTextCtrl_LineUp, METH_O, NULL},
21466 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpExtend, METH_O, NULL},
21467 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction)_wrap_StyledTextCtrl_CharLeft, METH_O, NULL},
21468 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftExtend, METH_O, NULL},
21469 { (char *)"StyledTextCtrl_CharRight", (PyCFunction)_wrap_StyledTextCtrl_CharRight, METH_O, NULL},
21470 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightExtend, METH_O, NULL},
21471 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction)_wrap_StyledTextCtrl_WordLeft, METH_O, NULL},
21472 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftExtend, METH_O, NULL},
21473 { (char *)"StyledTextCtrl_WordRight", (PyCFunction)_wrap_StyledTextCtrl_WordRight, METH_O, NULL},
21474 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightExtend, METH_O, NULL},
21475 { (char *)"StyledTextCtrl_Home", (PyCFunction)_wrap_StyledTextCtrl_Home, METH_O, NULL},
21476 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeExtend, METH_O, NULL},
21477 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction)_wrap_StyledTextCtrl_LineEnd, METH_O, NULL},
21478 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndExtend, METH_O, NULL},
21479 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction)_wrap_StyledTextCtrl_DocumentStart, METH_O, NULL},
21480 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentStartExtend, METH_O, NULL},
21481 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction)_wrap_StyledTextCtrl_DocumentEnd, METH_O, NULL},
21482 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentEndExtend, METH_O, NULL},
21483 { (char *)"StyledTextCtrl_PageUp", (PyCFunction)_wrap_StyledTextCtrl_PageUp, METH_O, NULL},
21484 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpExtend, METH_O, NULL},
21485 { (char *)"StyledTextCtrl_PageDown", (PyCFunction)_wrap_StyledTextCtrl_PageDown, METH_O, NULL},
21486 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownExtend, METH_O, NULL},
21487 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction)_wrap_StyledTextCtrl_EditToggleOvertype, METH_O, NULL},
21488 { (char *)"StyledTextCtrl_Cancel", (PyCFunction)_wrap_StyledTextCtrl_Cancel, METH_O, NULL},
21489 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction)_wrap_StyledTextCtrl_DeleteBack, METH_O, NULL},
21490 { (char *)"StyledTextCtrl_Tab", (PyCFunction)_wrap_StyledTextCtrl_Tab, METH_O, NULL},
21491 { (char *)"StyledTextCtrl_BackTab", (PyCFunction)_wrap_StyledTextCtrl_BackTab, METH_O, NULL},
21492 { (char *)"StyledTextCtrl_NewLine", (PyCFunction)_wrap_StyledTextCtrl_NewLine, METH_O, NULL},
21493 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction)_wrap_StyledTextCtrl_FormFeed, METH_O, NULL},
21494 { (char *)"StyledTextCtrl_VCHome", (PyCFunction)_wrap_StyledTextCtrl_VCHome, METH_O, NULL},
21495 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeExtend, METH_O, NULL},
21496 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction)_wrap_StyledTextCtrl_ZoomIn, METH_O, NULL},
21497 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction)_wrap_StyledTextCtrl_ZoomOut, METH_O, NULL},
21498 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction)_wrap_StyledTextCtrl_DelWordLeft, METH_O, NULL},
21499 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction)_wrap_StyledTextCtrl_DelWordRight, METH_O, NULL},
21500 { (char *)"StyledTextCtrl_LineCut", (PyCFunction)_wrap_StyledTextCtrl_LineCut, METH_O, NULL},
21501 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction)_wrap_StyledTextCtrl_LineDelete, METH_O, NULL},
21502 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction)_wrap_StyledTextCtrl_LineTranspose, METH_O, NULL},
21503 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction)_wrap_StyledTextCtrl_LineDuplicate, METH_O, NULL},
21504 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction)_wrap_StyledTextCtrl_LowerCase, METH_O, NULL},
21505 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction)_wrap_StyledTextCtrl_UpperCase, METH_O, NULL},
21506 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction)_wrap_StyledTextCtrl_LineScrollDown, METH_O, NULL},
21507 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction)_wrap_StyledTextCtrl_LineScrollUp, METH_O, NULL},
21508 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction)_wrap_StyledTextCtrl_DeleteBackNotLine, METH_O, NULL},
21509 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplay, METH_O, NULL},
21510 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplayExtend, METH_O, NULL},
21511 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplay, METH_O, NULL},
21512 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplayExtend, METH_O, NULL},
21513 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction)_wrap_StyledTextCtrl_HomeWrap, METH_O, NULL},
21514 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeWrapExtend, METH_O, NULL},
21515 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrap, METH_O, NULL},
21516 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrapExtend, METH_O, NULL},
21517 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrap, METH_O, NULL},
21518 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrapExtend, METH_O, NULL},
21519 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction)_wrap_StyledTextCtrl_LineCopy, METH_O, NULL},
21520 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction)_wrap_StyledTextCtrl_MoveCaretInsideView, METH_O, NULL},
21521 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
21522 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21523 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
21524 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
21525 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction)_wrap_StyledTextCtrl_GetViewEOL, METH_O, NULL},
21526 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
21527 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction)_wrap_StyledTextCtrl_GetDocPointer, METH_O, NULL},
21528 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
21529 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
21530 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColumn, METH_O, NULL},
21531 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21532 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeMode, METH_O, NULL},
21533 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
21534 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColour, METH_O, NULL},
21535 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
21536 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction)_wrap_StyledTextCtrl_SearchAnchor, METH_O, NULL},
21537 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
21538 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
21539 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction)_wrap_StyledTextCtrl_LinesOnScreen, METH_O, NULL},
21540 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
21541 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction)_wrap_StyledTextCtrl_SelectionIsRectangle, METH_O, NULL},
21542 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
21543 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction)_wrap_StyledTextCtrl_GetZoom, METH_O, NULL},
21544 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction)_wrap_StyledTextCtrl_CreateDocument, METH_O, NULL},
21545 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
21546 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
21547 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction)_wrap_StyledTextCtrl_GetModEventMask, METH_O, NULL},
21548 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
21549 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction)_wrap_StyledTextCtrl_GetSTCFocus, METH_O, NULL},
21550 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
21551 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction)_wrap_StyledTextCtrl_GetStatus, METH_O, NULL},
21552 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
21553 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDownCaptures, METH_O, NULL},
21554 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
21555 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction)_wrap_StyledTextCtrl_GetSTCCursor, METH_O, NULL},
21556 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
21557 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction)_wrap_StyledTextCtrl_GetControlCharSymbol, METH_O, NULL},
21558 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeft, METH_O, NULL},
21559 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeftExtend, METH_O, NULL},
21560 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction)_wrap_StyledTextCtrl_WordPartRight, METH_O, NULL},
21561 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartRightExtend, METH_O, NULL},
21562 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21563 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction)_wrap_StyledTextCtrl_DelLineLeft, METH_O, NULL},
21564 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction)_wrap_StyledTextCtrl_DelLineRight, METH_O, NULL},
21565 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
21566 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction)_wrap_StyledTextCtrl_GetXOffset, METH_O, NULL},
21567 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction)_wrap_StyledTextCtrl_ChooseCaretX, METH_O, NULL},
21568 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21569 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21570 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
21571 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintWrapMode, METH_O, NULL},
21572 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21573 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21574 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
21575 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
21576 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction)_wrap_StyledTextCtrl_ParaDown, METH_O, NULL},
21577 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaDownExtend, METH_O, NULL},
21578 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction)_wrap_StyledTextCtrl_ParaUp, METH_O, NULL},
21579 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaUpExtend, METH_O, NULL},
21580 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
21581 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
21582 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
21583 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
21584 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
21585 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionMode, METH_O, NULL},
21586 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21587 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21588 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownRectExtend, METH_O, NULL},
21589 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpRectExtend, METH_O, NULL},
21590 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftRectExtend, METH_O, NULL},
21591 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightRectExtend, METH_O, NULL},
21592 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeRectExtend, METH_O, NULL},
21593 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeRectExtend, METH_O, NULL},
21594 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndRectExtend, METH_O, NULL},
21595 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpRectExtend, METH_O, NULL},
21596 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownRectExtend, METH_O, NULL},
21597 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUp, METH_O, NULL},
21598 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUpExtend, METH_O, NULL},
21599 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDown, METH_O, NULL},
21600 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDownExtend, METH_O, NULL},
21601 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEnd, METH_O, NULL},
21602 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEndExtend, METH_O, NULL},
21603 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction)_wrap_StyledTextCtrl_WordRightEnd, METH_O, NULL},
21604 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightEndExtend, METH_O, NULL},
21605 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
21606 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction)_wrap_StyledTextCtrl_SetCharsDefault, METH_O, NULL},
21607 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCurrent, METH_O, NULL},
21608 { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
21609 { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21610 { (char *)"StyledTextCtrl_GetCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_GetCaretSticky, METH_O, NULL},
21611 { (char *)"StyledTextCtrl_SetCaretSticky", (PyCFunction) _wrap_StyledTextCtrl_SetCaretSticky, METH_VARARGS | METH_KEYWORDS, NULL},
21612 { (char *)"StyledTextCtrl_ToggleCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_ToggleCaretSticky, METH_O, NULL},
21613 { (char *)"StyledTextCtrl_SetPasteConvertEndings", (PyCFunction) _wrap_StyledTextCtrl_SetPasteConvertEndings, METH_VARARGS | METH_KEYWORDS, NULL},
21614 { (char *)"StyledTextCtrl_GetPasteConvertEndings", (PyCFunction)_wrap_StyledTextCtrl_GetPasteConvertEndings, METH_O, NULL},
21615 { (char *)"StyledTextCtrl_SelectionDuplicate", (PyCFunction)_wrap_StyledTextCtrl_SelectionDuplicate, METH_O, NULL},
21616 { (char *)"StyledTextCtrl_SetCaretLineBackAlpha", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBackAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
21617 { (char *)"StyledTextCtrl_GetCaretLineBackAlpha", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineBackAlpha, METH_O, NULL},
21618 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction)_wrap_StyledTextCtrl_StartRecord, METH_O, NULL},
21619 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction)_wrap_StyledTextCtrl_StopRecord, METH_O, NULL},
21620 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
21621 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction)_wrap_StyledTextCtrl_GetLexer, METH_O, NULL},
21622 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
21623 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
21624 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
21625 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
21626 { (char *)"StyledTextCtrl_GetProperty", (PyCFunction) _wrap_StyledTextCtrl_GetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
21627 { (char *)"StyledTextCtrl_GetPropertyExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21628 { (char *)"StyledTextCtrl_GetPropertyInt", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyInt, METH_VARARGS | METH_KEYWORDS, NULL},
21629 { (char *)"StyledTextCtrl_GetStyleBitsNeeded", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBitsNeeded, METH_O, NULL},
21630 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentLine, METH_O, NULL},
21631 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
21632 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
21633 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
21634 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
21635 { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21636 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
21637 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
21638 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction)_wrap_StyledTextCtrl_GetSelection, METH_O, NULL},
21639 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21640 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
21641 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21642 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
21643 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21644 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21645 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction)_wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_O, NULL},
21646 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
21647 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
21648 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
21649 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
21650 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
21651 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
21652 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction)_wrap_StyledTextCtrl_GetUseAntiAliasing, METH_O, NULL},
21653 { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21654 { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21655 { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction)_wrap_StyledTextCtrl_GetCurLineRaw, METH_O, NULL},
21656 { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21657 { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedTextRaw, METH_O, NULL},
21658 { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21659 { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21660 { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetTextRaw, METH_O, NULL},
21661 { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21662 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
21663 { (char *)"StyledTextCtrl_swiginit", StyledTextCtrl_swiginit, METH_VARARGS, NULL},
21664 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
21665 { (char *)"delete_StyledTextEvent", (PyCFunction)_wrap_delete_StyledTextEvent, METH_O, NULL},
21666 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21667 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
21668 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
21669 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
21670 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
21671 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
21672 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
21673 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
21674 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
21675 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
21676 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
21677 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
21678 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
21679 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
21680 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
21681 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
21682 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
21683 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
21684 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
21685 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
21686 { (char *)"StyledTextEvent_GetPosition", (PyCFunction)_wrap_StyledTextEvent_GetPosition, METH_O, NULL},
21687 { (char *)"StyledTextEvent_GetKey", (PyCFunction)_wrap_StyledTextEvent_GetKey, METH_O, NULL},
21688 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction)_wrap_StyledTextEvent_GetModifiers, METH_O, NULL},
21689 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction)_wrap_StyledTextEvent_GetModificationType, METH_O, NULL},
21690 { (char *)"StyledTextEvent_GetText", (PyCFunction)_wrap_StyledTextEvent_GetText, METH_O, NULL},
21691 { (char *)"StyledTextEvent_GetLength", (PyCFunction)_wrap_StyledTextEvent_GetLength, METH_O, NULL},
21692 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction)_wrap_StyledTextEvent_GetLinesAdded, METH_O, NULL},
21693 { (char *)"StyledTextEvent_GetLine", (PyCFunction)_wrap_StyledTextEvent_GetLine, METH_O, NULL},
21694 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelNow, METH_O, NULL},
21695 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelPrev, METH_O, NULL},
21696 { (char *)"StyledTextEvent_GetMargin", (PyCFunction)_wrap_StyledTextEvent_GetMargin, METH_O, NULL},
21697 { (char *)"StyledTextEvent_GetMessage", (PyCFunction)_wrap_StyledTextEvent_GetMessage, METH_O, NULL},
21698 { (char *)"StyledTextEvent_GetWParam", (PyCFunction)_wrap_StyledTextEvent_GetWParam, METH_O, NULL},
21699 { (char *)"StyledTextEvent_GetLParam", (PyCFunction)_wrap_StyledTextEvent_GetLParam, METH_O, NULL},
21700 { (char *)"StyledTextEvent_GetListType", (PyCFunction)_wrap_StyledTextEvent_GetListType, METH_O, NULL},
21701 { (char *)"StyledTextEvent_GetX", (PyCFunction)_wrap_StyledTextEvent_GetX, METH_O, NULL},
21702 { (char *)"StyledTextEvent_GetY", (PyCFunction)_wrap_StyledTextEvent_GetY, METH_O, NULL},
21703 { (char *)"StyledTextEvent_GetDragText", (PyCFunction)_wrap_StyledTextEvent_GetDragText, METH_O, NULL},
21704 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction)_wrap_StyledTextEvent_GetDragAllowMove, METH_O, NULL},
21705 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction)_wrap_StyledTextEvent_GetDragResult, METH_O, NULL},
21706 { (char *)"StyledTextEvent_GetShift", (PyCFunction)_wrap_StyledTextEvent_GetShift, METH_O, NULL},
21707 { (char *)"StyledTextEvent_GetControl", (PyCFunction)_wrap_StyledTextEvent_GetControl, METH_O, NULL},
21708 { (char *)"StyledTextEvent_GetAlt", (PyCFunction)_wrap_StyledTextEvent_GetAlt, METH_O, NULL},
21709 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
21710 { (char *)"StyledTextEvent_swiginit", StyledTextEvent_swiginit, METH_VARARGS, NULL},
21711 { NULL, NULL, 0, NULL }
21712 };
21713
21714
21715 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21716
21717 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21718 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21719 }
21720 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21721 return (void *)((wxObject *) ((wxSizerItem *) x));
21722 }
21723 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21724 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21725 }
21726 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21727 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21728 }
21729 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21730 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21731 }
21732 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21733 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21734 }
21735 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21736 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21737 }
21738 static void *_p_wxSizerTo_p_wxObject(void *x) {
21739 return (void *)((wxObject *) ((wxSizer *) x));
21740 }
21741 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21742 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21743 }
21744 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
21745 return (void *)((wxObject *) ((wxFileHistory *) x));
21746 }
21747 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21748 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21749 }
21750 static void *_p_wxEventTo_p_wxObject(void *x) {
21751 return (void *)((wxObject *) ((wxEvent *) x));
21752 }
21753 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21754 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21755 }
21756 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21757 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21758 }
21759 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21760 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21761 }
21762 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
21763 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
21764 }
21765 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21766 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21767 }
21768 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21769 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21770 }
21771 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
21772 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
21773 }
21774 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21775 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21776 }
21777 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21778 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21779 }
21780 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21781 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21782 }
21783 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21784 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21785 }
21786 static void *_p_wxControlTo_p_wxObject(void *x) {
21787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21788 }
21789 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21790 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21791 }
21792 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
21793 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
21794 }
21795 static void *_p_wxPowerEventTo_p_wxObject(void *x) {
21796 return (void *)((wxObject *) (wxEvent *) ((wxPowerEvent *) x));
21797 }
21798 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21799 return (void *)((wxObject *) ((wxFSFile *) x));
21800 }
21801 static void *_p_wxClipboardTo_p_wxObject(void *x) {
21802 return (void *)((wxObject *) ((wxClipboard *) x));
21803 }
21804 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21805 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21806 }
21807 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
21808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
21809 }
21810 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21811 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21812 }
21813 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21814 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21815 }
21816 static void *_p_wxShowEventTo_p_wxObject(void *x) {
21817 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21818 }
21819 static void *_p_wxToolTipTo_p_wxObject(void *x) {
21820 return (void *)((wxObject *) ((wxToolTip *) x));
21821 }
21822 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21823 return (void *)((wxObject *) ((wxMenuItem *) x));
21824 }
21825 static void *_p_wxDateEventTo_p_wxObject(void *x) {
21826 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
21827 }
21828 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21829 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21830 }
21831 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21832 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21833 }
21834 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21835 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21836 }
21837 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21838 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21839 }
21840 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21841 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21842 }
21843 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21844 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21845 }
21846 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21847 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21848 }
21849 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21850 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21851 }
21852 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21853 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21854 }
21855 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21856 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21857 }
21858 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21859 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21860 }
21861 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21862 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21863 }
21864 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21865 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21866 }
21867 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21868 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21869 }
21870 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21871 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21872 }
21873 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21874 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21875 }
21876 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21877 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21878 }
21879 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
21880 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
21881 }
21882 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21883 return (void *)((wxObject *) ((wxImageHandler *) x));
21884 }
21885 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21886 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21887 }
21888 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21889 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21890 }
21891 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21892 return (void *)((wxObject *) ((wxEvtHandler *) x));
21893 }
21894 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
21895 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
21896 }
21897 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
21898 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
21899 }
21900 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21901 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21902 }
21903 static void *_p_wxImageTo_p_wxObject(void *x) {
21904 return (void *)((wxObject *) ((wxImage *) x));
21905 }
21906 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21907 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21908 }
21909 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
21910 return (void *)((wxObject *) ((wxSystemOptions *) x));
21911 }
21912 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
21913 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
21914 }
21915 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21916 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21917 }
21918 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21919 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21920 }
21921 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21922 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21923 }
21924 static void *_p_wxWindowTo_p_wxObject(void *x) {
21925 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21926 }
21927 static void *_p_wxMenuTo_p_wxObject(void *x) {
21928 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21929 }
21930 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21932 }
21933 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
21934 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
21935 }
21936 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
21937 return (void *)((wxObject *) ((wxFileSystem *) x));
21938 }
21939 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
21940 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
21941 }
21942 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
21943 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
21944 }
21945 static void *_p_wxPyAppTo_p_wxObject(void *x) {
21946 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
21947 }
21948 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
21949 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
21950 }
21951 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
21952 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
21953 }
21954 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
21955 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
21956 }
21957 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
21958 return (void *)((wxObject *) ((wxBusyInfo *) x));
21959 }
21960 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
21961 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
21962 }
21963 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
21964 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
21965 }
21966 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
21967 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
21968 }
21969 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
21970 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
21971 }
21972 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
21973 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
21974 }
21975 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
21976 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
21977 }
21978 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
21979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21980 }
21981 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
21982 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
21983 }
21984 static void *_p_wxValidatorTo_p_wxObject(void *x) {
21985 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
21986 }
21987 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
21988 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
21989 }
21990 static void *_p_wxControlTo_p_wxWindow(void *x) {
21991 return (void *)((wxWindow *) ((wxControl *) x));
21992 }
21993 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
21994 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
21995 }
21996 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
21997 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
21998 }
21999 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22000 return (void *)((wxWindow *) ((wxMenuBar *) x));
22001 }
22002 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22003 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22004 }
22005 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22006 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22007 }
22008 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22009 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22010 }
22011 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
22012 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
22013 }
22014 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22015 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22016 }
22017 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
22018 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
22019 }
22020 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
22021 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
22022 }
22023 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22024 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22025 }
22026 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22027 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22028 }
22029 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22030 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22031 }
22032 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22033 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22034 }
22035 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
22036 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
22037 }
22038 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
22039 return (void *)((wxEvtHandler *) ((wxWindow *) x));
22040 }
22041 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
22042 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22043 }
22044 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
22045 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
22046 }
22047 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
22048 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
22049 }
22050 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
22051 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
22052 }
22053 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
22054 return (void *)((wxEvtHandler *) ((wxValidator *) x));
22055 }
22056 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
22057 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
22058 }
22059 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
22060 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
22061 }
22062 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
22063 return (void *)((wxEvtHandler *) ((wxMenu *) x));
22064 }
22065 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
22066 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
22067 }
22068 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
22069 return (void *)((wxControl *) ((wxControlWithItems *) x));
22070 }
22071 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
22072 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
22073 }
22074 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
22075 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
22076 }
22077 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
22078 return (void *)((wxEvent *) ((wxMenuEvent *) x));
22079 }
22080 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
22081 return (void *)((wxEvent *) ((wxCloseEvent *) x));
22082 }
22083 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
22084 return (void *)((wxEvent *) ((wxMouseEvent *) x));
22085 }
22086 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
22087 return (void *)((wxEvent *) ((wxEraseEvent *) x));
22088 }
22089 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
22090 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
22091 }
22092 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
22093 return (void *)((wxEvent *) ((wxTimerEvent *) x));
22094 }
22095 static void *_p_wxPowerEventTo_p_wxEvent(void *x) {
22096 return (void *)((wxEvent *) ((wxPowerEvent *) x));
22097 }
22098 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
22099 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
22100 }
22101 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
22102 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
22103 }
22104 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
22105 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
22106 }
22107 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
22108 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
22109 }
22110 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
22111 return (void *)((wxEvent *) ((wxPyEvent *) x));
22112 }
22113 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
22114 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
22115 }
22116 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
22117 return (void *)((wxEvent *) ((wxIdleEvent *) x));
22118 }
22119 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
22120 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
22121 }
22122 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
22123 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
22124 }
22125 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
22126 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
22127 }
22128 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
22129 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
22130 }
22131 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
22132 return (void *)((wxEvent *) ((wxActivateEvent *) x));
22133 }
22134 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
22135 return (void *)((wxEvent *) ((wxSizeEvent *) x));
22136 }
22137 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
22138 return (void *)((wxEvent *) ((wxMoveEvent *) x));
22139 }
22140 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
22141 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
22142 }
22143 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
22144 return (void *)((wxEvent *) ((wxPaintEvent *) x));
22145 }
22146 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
22147 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
22148 }
22149 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
22150 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
22151 }
22152 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
22153 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
22154 }
22155 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
22156 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
22157 }
22158 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
22159 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
22160 }
22161 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
22162 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
22163 }
22164 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
22165 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22166 }
22167 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
22168 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
22169 }
22170 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
22171 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
22172 }
22173 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
22174 return (void *)((wxEvent *) ((wxFocusEvent *) x));
22175 }
22176 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
22177 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
22178 }
22179 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
22180 return (void *)((wxEvent *) ((wxProcessEvent *) x));
22181 }
22182 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
22183 return (void *)((wxEvent *) ((wxShowEvent *) x));
22184 }
22185 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
22186 return (void *)((wxEvent *) ((wxCommandEvent *) x));
22187 }
22188 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
22189 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
22190 }
22191 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
22192 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22193 }
22194 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
22195 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
22196 }
22197 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
22198 return (void *)((wxEvent *) ((wxKeyEvent *) x));
22199 }
22200 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
22201 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
22202 }
22203 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
22204 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};
22205 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
22206 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
22207 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
22208 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
22209 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
22210 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
22211 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
22212 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
22213 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
22214 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
22215 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
22216 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
22217 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
22218 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
22219 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
22220 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
22221 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
22222 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
22223 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
22224 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
22225 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
22226 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
22227 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
22228 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
22229 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
22230 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
22231 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
22232 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
22233 static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", 0, 0, 0, 0, 0};
22234 static swig_type_info _swigt__p_wxPowerEvent = {"_p_wxPowerEvent", 0, 0, 0, 0, 0};
22235 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
22236 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
22237 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
22238 static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", 0, 0, 0, 0, 0};
22239 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
22240 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
22241 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
22242 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
22243 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
22244 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
22245 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
22246 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
22247 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
22248 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
22249 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
22250 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
22251 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
22252 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
22253 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
22254 static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", 0, 0, 0, 0, 0};
22255 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
22256 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
22257 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
22258 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
22259 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
22260 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
22261 static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0, 0};
22262 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
22263 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
22264 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
22265 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
22266 static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0, 0};
22267 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
22268 static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, (void*)0, 0};
22269 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
22270 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
22271 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
22272 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
22273 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
22274 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
22275 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
22276 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
22277 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
22278 static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", 0, 0, 0, 0, 0};
22279 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
22280 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
22281 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
22282 static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0, 0};
22283 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
22284 static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0, 0};
22285 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
22286 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
22287 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
22288 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
22289 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
22290 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
22291 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
22292 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
22293 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
22294 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
22295 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
22296 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
22297 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
22298 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
22299 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
22300 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
22301 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
22302 static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0, 0};
22303 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
22304 static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0, 0};
22305 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
22306 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
22307 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
22308 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
22309 static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, (void*)0, 0};
22310 static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, (void*)0, 0};
22311 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
22312
22313 static swig_type_info *swig_type_initial[] = {
22314 &_swigt__p_char,
22315 &_swigt__p_form_ops_t,
22316 &_swigt__p_int,
22317 &_swigt__p_unsigned_char,
22318 &_swigt__p_unsigned_int,
22319 &_swigt__p_unsigned_long,
22320 &_swigt__p_void,
22321 &_swigt__p_wxANIHandler,
22322 &_swigt__p_wxAcceleratorTable,
22323 &_swigt__p_wxActivateEvent,
22324 &_swigt__p_wxBMPHandler,
22325 &_swigt__p_wxBitmap,
22326 &_swigt__p_wxBoxSizer,
22327 &_swigt__p_wxBusyInfo,
22328 &_swigt__p_wxCURHandler,
22329 &_swigt__p_wxChildFocusEvent,
22330 &_swigt__p_wxClipboard,
22331 &_swigt__p_wxClipboardTextEvent,
22332 &_swigt__p_wxCloseEvent,
22333 &_swigt__p_wxColour,
22334 &_swigt__p_wxCommandEvent,
22335 &_swigt__p_wxContextMenuEvent,
22336 &_swigt__p_wxControl,
22337 &_swigt__p_wxControlWithItems,
22338 &_swigt__p_wxDC,
22339 &_swigt__p_wxDateEvent,
22340 &_swigt__p_wxDisplayChangedEvent,
22341 &_swigt__p_wxDropFilesEvent,
22342 &_swigt__p_wxDuplexMode,
22343 &_swigt__p_wxEraseEvent,
22344 &_swigt__p_wxEvent,
22345 &_swigt__p_wxEvtHandler,
22346 &_swigt__p_wxFSFile,
22347 &_swigt__p_wxFileHistory,
22348 &_swigt__p_wxFileSystem,
22349 &_swigt__p_wxFlexGridSizer,
22350 &_swigt__p_wxFocusEvent,
22351 &_swigt__p_wxFont,
22352 &_swigt__p_wxGBSizerItem,
22353 &_swigt__p_wxGIFHandler,
22354 &_swigt__p_wxGridBagSizer,
22355 &_swigt__p_wxGridSizer,
22356 &_swigt__p_wxICOHandler,
22357 &_swigt__p_wxIconizeEvent,
22358 &_swigt__p_wxIdleEvent,
22359 &_swigt__p_wxImage,
22360 &_swigt__p_wxImageHandler,
22361 &_swigt__p_wxIndividualLayoutConstraint,
22362 &_swigt__p_wxInitDialogEvent,
22363 &_swigt__p_wxJPEGHandler,
22364 &_swigt__p_wxJoystickEvent,
22365 &_swigt__p_wxKeyEvent,
22366 &_swigt__p_wxLayoutConstraints,
22367 &_swigt__p_wxMaximizeEvent,
22368 &_swigt__p_wxMemoryBuffer,
22369 &_swigt__p_wxMenu,
22370 &_swigt__p_wxMenuBar,
22371 &_swigt__p_wxMenuEvent,
22372 &_swigt__p_wxMenuItem,
22373 &_swigt__p_wxMouseCaptureChangedEvent,
22374 &_swigt__p_wxMouseCaptureLostEvent,
22375 &_swigt__p_wxMouseEvent,
22376 &_swigt__p_wxMoveEvent,
22377 &_swigt__p_wxNavigationKeyEvent,
22378 &_swigt__p_wxNcPaintEvent,
22379 &_swigt__p_wxNotifyEvent,
22380 &_swigt__p_wxObject,
22381 &_swigt__p_wxPCXHandler,
22382 &_swigt__p_wxPNGHandler,
22383 &_swigt__p_wxPNMHandler,
22384 &_swigt__p_wxPaintEvent,
22385 &_swigt__p_wxPaletteChangedEvent,
22386 &_swigt__p_wxPaperSize,
22387 &_swigt__p_wxPoint,
22388 &_swigt__p_wxPowerEvent,
22389 &_swigt__p_wxProcessEvent,
22390 &_swigt__p_wxPyApp,
22391 &_swigt__p_wxPyCommandEvent,
22392 &_swigt__p_wxPyEvent,
22393 &_swigt__p_wxPyImageHandler,
22394 &_swigt__p_wxPyProcess,
22395 &_swigt__p_wxPySizer,
22396 &_swigt__p_wxPyTimer,
22397 &_swigt__p_wxPyValidator,
22398 &_swigt__p_wxQueryNewPaletteEvent,
22399 &_swigt__p_wxRect,
22400 &_swigt__p_wxScrollBar,
22401 &_swigt__p_wxScrollEvent,
22402 &_swigt__p_wxScrollWinEvent,
22403 &_swigt__p_wxSetCursorEvent,
22404 &_swigt__p_wxShowEvent,
22405 &_swigt__p_wxSizeEvent,
22406 &_swigt__p_wxSizer,
22407 &_swigt__p_wxSizerItem,
22408 &_swigt__p_wxStaticBoxSizer,
22409 &_swigt__p_wxStdDialogButtonSizer,
22410 &_swigt__p_wxStyledTextCtrl,
22411 &_swigt__p_wxStyledTextEvent,
22412 &_swigt__p_wxSysColourChangedEvent,
22413 &_swigt__p_wxSystemOptions,
22414 &_swigt__p_wxTIFFHandler,
22415 &_swigt__p_wxTimerEvent,
22416 &_swigt__p_wxToolTip,
22417 &_swigt__p_wxUpdateUIEvent,
22418 &_swigt__p_wxValidator,
22419 &_swigt__p_wxWindow,
22420 &_swigt__p_wxWindowCreateEvent,
22421 &_swigt__p_wxWindowDestroyEvent,
22422 &_swigt__p_wxXPMHandler,
22423 };
22424
22425 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
22426 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
22427 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
22428 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
22429 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
22430 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
22431 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
22432 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
22433 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
22434 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22435 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
22436 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
22437 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
22438 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
22439 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
22440 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
22441 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22442 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
22443 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
22444 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}};
22445 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
22446 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}};
22447 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
22448 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
22449 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22450 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
22451 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
22452 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
22453 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
22454 static swig_cast_info _swigc__p_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
22455 static swig_cast_info _swigc__p_wxPowerEvent[] = {{&_swigt__p_wxPowerEvent, 0, 0, 0},{0, 0, 0, 0}};
22456 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
22457 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
22458 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
22459 static swig_cast_info _swigc__p_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
22460 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
22461 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
22462 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22463 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22464 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
22465 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22466 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
22467 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22468 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22469 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22470 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22471 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22472 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22473 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
22474 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22475 static swig_cast_info _swigc__p_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
22476 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
22477 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22478 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22479 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
22480 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}};
22481 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
22482 static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
22483 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
22484 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
22485 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
22486 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
22487 static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
22488 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
22489 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
22490 static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 0, 0, 0},{0, 0, 0, 0}};
22491 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
22492 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22493 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22494 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
22495 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22496 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22497 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
22498 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
22499 static swig_cast_info _swigc__p_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
22500 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22501 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22502 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
22503 static swig_cast_info _swigc__p_wxClipboard[] = {{&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
22504 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
22505 static swig_cast_info _swigc__p_wxToolTip[] = {{&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
22506 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
22507 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
22508 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
22509 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
22510 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
22511 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
22512 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
22513 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
22514 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
22515 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
22516 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
22517 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
22518 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
22519 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
22520 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
22521 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
22522 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
22523 static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
22524 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
22525 static swig_cast_info _swigc__p_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
22526 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_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_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_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}};
22527 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
22528 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
22529 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
22530 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
22531 static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
22532 static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}};
22533 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}};
22534
22535 static swig_cast_info *swig_cast_initial[] = {
22536 _swigc__p_char,
22537 _swigc__p_form_ops_t,
22538 _swigc__p_int,
22539 _swigc__p_unsigned_char,
22540 _swigc__p_unsigned_int,
22541 _swigc__p_unsigned_long,
22542 _swigc__p_void,
22543 _swigc__p_wxANIHandler,
22544 _swigc__p_wxAcceleratorTable,
22545 _swigc__p_wxActivateEvent,
22546 _swigc__p_wxBMPHandler,
22547 _swigc__p_wxBitmap,
22548 _swigc__p_wxBoxSizer,
22549 _swigc__p_wxBusyInfo,
22550 _swigc__p_wxCURHandler,
22551 _swigc__p_wxChildFocusEvent,
22552 _swigc__p_wxClipboard,
22553 _swigc__p_wxClipboardTextEvent,
22554 _swigc__p_wxCloseEvent,
22555 _swigc__p_wxColour,
22556 _swigc__p_wxCommandEvent,
22557 _swigc__p_wxContextMenuEvent,
22558 _swigc__p_wxControl,
22559 _swigc__p_wxControlWithItems,
22560 _swigc__p_wxDC,
22561 _swigc__p_wxDateEvent,
22562 _swigc__p_wxDisplayChangedEvent,
22563 _swigc__p_wxDropFilesEvent,
22564 _swigc__p_wxDuplexMode,
22565 _swigc__p_wxEraseEvent,
22566 _swigc__p_wxEvent,
22567 _swigc__p_wxEvtHandler,
22568 _swigc__p_wxFSFile,
22569 _swigc__p_wxFileHistory,
22570 _swigc__p_wxFileSystem,
22571 _swigc__p_wxFlexGridSizer,
22572 _swigc__p_wxFocusEvent,
22573 _swigc__p_wxFont,
22574 _swigc__p_wxGBSizerItem,
22575 _swigc__p_wxGIFHandler,
22576 _swigc__p_wxGridBagSizer,
22577 _swigc__p_wxGridSizer,
22578 _swigc__p_wxICOHandler,
22579 _swigc__p_wxIconizeEvent,
22580 _swigc__p_wxIdleEvent,
22581 _swigc__p_wxImage,
22582 _swigc__p_wxImageHandler,
22583 _swigc__p_wxIndividualLayoutConstraint,
22584 _swigc__p_wxInitDialogEvent,
22585 _swigc__p_wxJPEGHandler,
22586 _swigc__p_wxJoystickEvent,
22587 _swigc__p_wxKeyEvent,
22588 _swigc__p_wxLayoutConstraints,
22589 _swigc__p_wxMaximizeEvent,
22590 _swigc__p_wxMemoryBuffer,
22591 _swigc__p_wxMenu,
22592 _swigc__p_wxMenuBar,
22593 _swigc__p_wxMenuEvent,
22594 _swigc__p_wxMenuItem,
22595 _swigc__p_wxMouseCaptureChangedEvent,
22596 _swigc__p_wxMouseCaptureLostEvent,
22597 _swigc__p_wxMouseEvent,
22598 _swigc__p_wxMoveEvent,
22599 _swigc__p_wxNavigationKeyEvent,
22600 _swigc__p_wxNcPaintEvent,
22601 _swigc__p_wxNotifyEvent,
22602 _swigc__p_wxObject,
22603 _swigc__p_wxPCXHandler,
22604 _swigc__p_wxPNGHandler,
22605 _swigc__p_wxPNMHandler,
22606 _swigc__p_wxPaintEvent,
22607 _swigc__p_wxPaletteChangedEvent,
22608 _swigc__p_wxPaperSize,
22609 _swigc__p_wxPoint,
22610 _swigc__p_wxPowerEvent,
22611 _swigc__p_wxProcessEvent,
22612 _swigc__p_wxPyApp,
22613 _swigc__p_wxPyCommandEvent,
22614 _swigc__p_wxPyEvent,
22615 _swigc__p_wxPyImageHandler,
22616 _swigc__p_wxPyProcess,
22617 _swigc__p_wxPySizer,
22618 _swigc__p_wxPyTimer,
22619 _swigc__p_wxPyValidator,
22620 _swigc__p_wxQueryNewPaletteEvent,
22621 _swigc__p_wxRect,
22622 _swigc__p_wxScrollBar,
22623 _swigc__p_wxScrollEvent,
22624 _swigc__p_wxScrollWinEvent,
22625 _swigc__p_wxSetCursorEvent,
22626 _swigc__p_wxShowEvent,
22627 _swigc__p_wxSizeEvent,
22628 _swigc__p_wxSizer,
22629 _swigc__p_wxSizerItem,
22630 _swigc__p_wxStaticBoxSizer,
22631 _swigc__p_wxStdDialogButtonSizer,
22632 _swigc__p_wxStyledTextCtrl,
22633 _swigc__p_wxStyledTextEvent,
22634 _swigc__p_wxSysColourChangedEvent,
22635 _swigc__p_wxSystemOptions,
22636 _swigc__p_wxTIFFHandler,
22637 _swigc__p_wxTimerEvent,
22638 _swigc__p_wxToolTip,
22639 _swigc__p_wxUpdateUIEvent,
22640 _swigc__p_wxValidator,
22641 _swigc__p_wxWindow,
22642 _swigc__p_wxWindowCreateEvent,
22643 _swigc__p_wxWindowDestroyEvent,
22644 _swigc__p_wxXPMHandler,
22645 };
22646
22647
22648 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22649
22650 static swig_const_info swig_const_table[] = {
22651 {0, 0, 0, 0.0, 0, 0}};
22652
22653 #ifdef __cplusplus
22654 }
22655 #endif
22656 /* -----------------------------------------------------------------------------
22657 * Type initialization:
22658 * This problem is tough by the requirement that no dynamic
22659 * memory is used. Also, since swig_type_info structures store pointers to
22660 * swig_cast_info structures and swig_cast_info structures store pointers back
22661 * to swig_type_info structures, we need some lookup code at initialization.
22662 * The idea is that swig generates all the structures that are needed.
22663 * The runtime then collects these partially filled structures.
22664 * The SWIG_InitializeModule function takes these initial arrays out of
22665 * swig_module, and does all the lookup, filling in the swig_module.types
22666 * array with the correct data and linking the correct swig_cast_info
22667 * structures together.
22668 *
22669 * The generated swig_type_info structures are assigned staticly to an initial
22670 * array. We just loop though that array, and handle each type individually.
22671 * First we lookup if this type has been already loaded, and if so, use the
22672 * loaded structure instead of the generated one. Then we have to fill in the
22673 * cast linked list. The cast data is initially stored in something like a
22674 * two-dimensional array. Each row corresponds to a type (there are the same
22675 * number of rows as there are in the swig_type_initial array). Each entry in
22676 * a column is one of the swig_cast_info structures for that type.
22677 * The cast_initial array is actually an array of arrays, because each row has
22678 * a variable number of columns. So to actually build the cast linked list,
22679 * we find the array of casts associated with the type, and loop through it
22680 * adding the casts to the list. The one last trick we need to do is making
22681 * sure the type pointer in the swig_cast_info struct is correct.
22682 *
22683 * First off, we lookup the cast->type name to see if it is already loaded.
22684 * There are three cases to handle:
22685 * 1) If the cast->type has already been loaded AND the type we are adding
22686 * casting info to has not been loaded (it is in this module), THEN we
22687 * replace the cast->type pointer with the type pointer that has already
22688 * been loaded.
22689 * 2) If BOTH types (the one we are adding casting info to, and the
22690 * cast->type) are loaded, THEN the cast info has already been loaded by
22691 * the previous module so we just ignore it.
22692 * 3) Finally, if cast->type has not already been loaded, then we add that
22693 * swig_cast_info to the linked list (because the cast->type) pointer will
22694 * be correct.
22695 * ----------------------------------------------------------------------------- */
22696
22697 #ifdef __cplusplus
22698 extern "C" {
22699 #if 0
22700 } /* c-mode */
22701 #endif
22702 #endif
22703
22704 #if 0
22705 #define SWIGRUNTIME_DEBUG
22706 #endif
22707
22708 SWIGRUNTIME void
22709 SWIG_InitializeModule(void *clientdata) {
22710 size_t i;
22711 swig_module_info *module_head;
22712 static int init_run = 0;
22713
22714 clientdata = clientdata;
22715
22716 if (init_run) return;
22717 init_run = 1;
22718
22719 /* Initialize the swig_module */
22720 swig_module.type_initial = swig_type_initial;
22721 swig_module.cast_initial = swig_cast_initial;
22722
22723 /* Try and load any already created modules */
22724 module_head = SWIG_GetModule(clientdata);
22725 if (module_head) {
22726 swig_module.next = module_head->next;
22727 module_head->next = &swig_module;
22728 } else {
22729 /* This is the first module loaded */
22730 swig_module.next = &swig_module;
22731 SWIG_SetModule(clientdata, &swig_module);
22732 }
22733
22734 /* Now work on filling in swig_module.types */
22735 #ifdef SWIGRUNTIME_DEBUG
22736 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
22737 #endif
22738 for (i = 0; i < swig_module.size; ++i) {
22739 swig_type_info *type = 0;
22740 swig_type_info *ret;
22741 swig_cast_info *cast;
22742
22743 #ifdef SWIGRUNTIME_DEBUG
22744 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
22745 #endif
22746
22747 /* if there is another module already loaded */
22748 if (swig_module.next != &swig_module) {
22749 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
22750 }
22751 if (type) {
22752 /* Overwrite clientdata field */
22753 #ifdef SWIGRUNTIME_DEBUG
22754 printf("SWIG_InitializeModule: found type %s\n", type->name);
22755 #endif
22756 if (swig_module.type_initial[i]->clientdata) {
22757 type->clientdata = swig_module.type_initial[i]->clientdata;
22758 #ifdef SWIGRUNTIME_DEBUG
22759 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
22760 #endif
22761 }
22762 } else {
22763 type = swig_module.type_initial[i];
22764 }
22765
22766 /* Insert casting types */
22767 cast = swig_module.cast_initial[i];
22768 while (cast->type) {
22769 /* Don't need to add information already in the list */
22770 ret = 0;
22771 #ifdef SWIGRUNTIME_DEBUG
22772 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
22773 #endif
22774 if (swig_module.next != &swig_module) {
22775 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
22776 #ifdef SWIGRUNTIME_DEBUG
22777 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
22778 #endif
22779 }
22780 if (ret) {
22781 if (type == swig_module.type_initial[i]) {
22782 #ifdef SWIGRUNTIME_DEBUG
22783 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
22784 #endif
22785 cast->type = ret;
22786 ret = 0;
22787 } else {
22788 /* Check for casting already in the list */
22789 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
22790 #ifdef SWIGRUNTIME_DEBUG
22791 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
22792 #endif
22793 if (!ocast) ret = 0;
22794 }
22795 }
22796
22797 if (!ret) {
22798 #ifdef SWIGRUNTIME_DEBUG
22799 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
22800 #endif
22801 if (type->cast) {
22802 type->cast->prev = cast;
22803 cast->next = type->cast;
22804 }
22805 type->cast = cast;
22806 }
22807 cast++;
22808 }
22809 /* Set entry in modules->types array equal to the type */
22810 swig_module.types[i] = type;
22811 }
22812 swig_module.types[i] = 0;
22813
22814 #ifdef SWIGRUNTIME_DEBUG
22815 printf("**** SWIG_InitializeModule: Cast List ******\n");
22816 for (i = 0; i < swig_module.size; ++i) {
22817 int j = 0;
22818 swig_cast_info *cast = swig_module.cast_initial[i];
22819 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
22820 while (cast->type) {
22821 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
22822 cast++;
22823 ++j;
22824 }
22825 printf("---- Total casts: %d\n",j);
22826 }
22827 printf("**** SWIG_InitializeModule: Cast List ******\n");
22828 #endif
22829 }
22830
22831 /* This function will propagate the clientdata field of type to
22832 * any new swig_type_info structures that have been added into the list
22833 * of equivalent types. It is like calling
22834 * SWIG_TypeClientData(type, clientdata) a second time.
22835 */
22836 SWIGRUNTIME void
22837 SWIG_PropagateClientData(void) {
22838 size_t i;
22839 swig_cast_info *equiv;
22840 static int init_run = 0;
22841
22842 if (init_run) return;
22843 init_run = 1;
22844
22845 for (i = 0; i < swig_module.size; i++) {
22846 if (swig_module.types[i]->clientdata) {
22847 equiv = swig_module.types[i]->cast;
22848 while (equiv) {
22849 if (!equiv->converter) {
22850 if (equiv->type && !equiv->type->clientdata)
22851 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
22852 }
22853 equiv = equiv->next;
22854 }
22855 }
22856 }
22857 }
22858
22859 #ifdef __cplusplus
22860 #if 0
22861 {
22862 /* c-mode */
22863 #endif
22864 }
22865 #endif
22866
22867
22868
22869 #ifdef __cplusplus
22870 extern "C" {
22871 #endif
22872
22873 /* Python-specific SWIG API */
22874 #define SWIG_newvarlink() SWIG_Python_newvarlink()
22875 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22876 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22877
22878 /* -----------------------------------------------------------------------------
22879 * global variable support code.
22880 * ----------------------------------------------------------------------------- */
22881
22882 typedef struct swig_globalvar {
22883 char *name; /* Name of global variable */
22884 PyObject *(*get_attr)(void); /* Return the current value */
22885 int (*set_attr)(PyObject *); /* Set the value */
22886 struct swig_globalvar *next;
22887 } swig_globalvar;
22888
22889 typedef struct swig_varlinkobject {
22890 PyObject_HEAD
22891 swig_globalvar *vars;
22892 } swig_varlinkobject;
22893
22894 SWIGINTERN PyObject *
22895 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
22896 return PyString_FromString("<Swig global variables>");
22897 }
22898
22899 SWIGINTERN PyObject *
22900 swig_varlink_str(swig_varlinkobject *v) {
22901 PyObject *str = PyString_FromString("(");
22902 swig_globalvar *var;
22903 for (var = v->vars; var; var=var->next) {
22904 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
22905 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
22906 }
22907 PyString_ConcatAndDel(&str,PyString_FromString(")"));
22908 return str;
22909 }
22910
22911 SWIGINTERN int
22912 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
22913 PyObject *str = swig_varlink_str(v);
22914 fprintf(fp,"Swig global variables ");
22915 fprintf(fp,"%s\n", PyString_AsString(str));
22916 Py_DECREF(str);
22917 return 0;
22918 }
22919
22920 SWIGINTERN void
22921 swig_varlink_dealloc(swig_varlinkobject *v) {
22922 swig_globalvar *var = v->vars;
22923 while (var) {
22924 swig_globalvar *n = var->next;
22925 free(var->name);
22926 free(var);
22927 var = n;
22928 }
22929 }
22930
22931 SWIGINTERN PyObject *
22932 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
22933 PyObject *res = NULL;
22934 swig_globalvar *var = v->vars;
22935 while (var) {
22936 if (strcmp(var->name,n) == 0) {
22937 res = (*var->get_attr)();
22938 break;
22939 }
22940 var = var->next;
22941 }
22942 if (res == NULL && !PyErr_Occurred()) {
22943 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
22944 }
22945 return res;
22946 }
22947
22948 SWIGINTERN int
22949 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
22950 int res = 1;
22951 swig_globalvar *var = v->vars;
22952 while (var) {
22953 if (strcmp(var->name,n) == 0) {
22954 res = (*var->set_attr)(p);
22955 break;
22956 }
22957 var = var->next;
22958 }
22959 if (res == 1 && !PyErr_Occurred()) {
22960 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
22961 }
22962 return res;
22963 }
22964
22965 SWIGINTERN PyTypeObject*
22966 swig_varlink_type(void) {
22967 static char varlink__doc__[] = "Swig var link object";
22968 static PyTypeObject varlink_type;
22969 static int type_init = 0;
22970 if (!type_init) {
22971 const PyTypeObject tmp
22972 = {
22973 PyObject_HEAD_INIT(NULL)
22974 0, /* Number of items in variable part (ob_size) */
22975 (char *)"swigvarlink", /* Type name (tp_name) */
22976 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
22977 0, /* Itemsize (tp_itemsize) */
22978 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
22979 (printfunc) swig_varlink_print, /* Print (tp_print) */
22980 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
22981 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
22982 0, /* tp_compare */
22983 (reprfunc) swig_varlink_repr, /* tp_repr */
22984 0, /* tp_as_number */
22985 0, /* tp_as_sequence */
22986 0, /* tp_as_mapping */
22987 0, /* tp_hash */
22988 0, /* tp_call */
22989 (reprfunc)swig_varlink_str, /* tp_str */
22990 0, /* tp_getattro */
22991 0, /* tp_setattro */
22992 0, /* tp_as_buffer */
22993 0, /* tp_flags */
22994 varlink__doc__, /* tp_doc */
22995 0, /* tp_traverse */
22996 0, /* tp_clear */
22997 0, /* tp_richcompare */
22998 0, /* tp_weaklistoffset */
22999 #if PY_VERSION_HEX >= 0x02020000
23000 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
23001 #endif
23002 #if PY_VERSION_HEX >= 0x02030000
23003 0, /* tp_del */
23004 #endif
23005 #ifdef COUNT_ALLOCS
23006 0,0,0,0 /* tp_alloc -> tp_next */
23007 #endif
23008 };
23009 varlink_type = tmp;
23010 varlink_type.ob_type = &PyType_Type;
23011 type_init = 1;
23012 }
23013 return &varlink_type;
23014 }
23015
23016 /* Create a variable linking object for use later */
23017 SWIGINTERN PyObject *
23018 SWIG_Python_newvarlink(void) {
23019 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
23020 if (result) {
23021 result->vars = 0;
23022 }
23023 return ((PyObject*) result);
23024 }
23025
23026 SWIGINTERN void
23027 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
23028 swig_varlinkobject *v = (swig_varlinkobject *) p;
23029 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
23030 if (gv) {
23031 size_t size = strlen(name)+1;
23032 gv->name = (char *)malloc(size);
23033 if (gv->name) {
23034 strncpy(gv->name,name,size);
23035 gv->get_attr = get_attr;
23036 gv->set_attr = set_attr;
23037 gv->next = v->vars;
23038 }
23039 }
23040 v->vars = gv;
23041 }
23042
23043 SWIGINTERN PyObject *
23044 SWIG_globals() {
23045 static PyObject *_SWIG_globals = 0;
23046 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
23047 return _SWIG_globals;
23048 }
23049
23050 /* -----------------------------------------------------------------------------
23051 * constants/methods manipulation
23052 * ----------------------------------------------------------------------------- */
23053
23054 /* Install Constants */
23055 SWIGINTERN void
23056 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
23057 PyObject *obj = 0;
23058 size_t i;
23059 for (i = 0; constants[i].type; ++i) {
23060 switch(constants[i].type) {
23061 case SWIG_PY_POINTER:
23062 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
23063 break;
23064 case SWIG_PY_BINARY:
23065 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
23066 break;
23067 default:
23068 obj = 0;
23069 break;
23070 }
23071 if (obj) {
23072 PyDict_SetItemString(d, constants[i].name, obj);
23073 Py_DECREF(obj);
23074 }
23075 }
23076 }
23077
23078 /* -----------------------------------------------------------------------------*/
23079 /* Fix SwigMethods to carry the callback ptrs when needed */
23080 /* -----------------------------------------------------------------------------*/
23081
23082 SWIGINTERN void
23083 SWIG_Python_FixMethods(PyMethodDef *methods,
23084 swig_const_info *const_table,
23085 swig_type_info **types,
23086 swig_type_info **types_initial) {
23087 size_t i;
23088 for (i = 0; methods[i].ml_name; ++i) {
23089 const char *c = methods[i].ml_doc;
23090 if (c && (c = strstr(c, "swig_ptr: "))) {
23091 int j;
23092 swig_const_info *ci = 0;
23093 const char *name = c + 10;
23094 for (j = 0; const_table[j].type; ++j) {
23095 if (strncmp(const_table[j].name, name,
23096 strlen(const_table[j].name)) == 0) {
23097 ci = &(const_table[j]);
23098 break;
23099 }
23100 }
23101 if (ci) {
23102 size_t shift = (ci->ptype) - types;
23103 swig_type_info *ty = types_initial[shift];
23104 size_t ldoc = (c - methods[i].ml_doc);
23105 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
23106 char *ndoc = (char*)malloc(ldoc + lptr + 10);
23107 if (ndoc) {
23108 char *buff = ndoc;
23109 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
23110 if (ptr) {
23111 strncpy(buff, methods[i].ml_doc, ldoc);
23112 buff += ldoc;
23113 strncpy(buff, "swig_ptr: ", 10);
23114 buff += 10;
23115 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
23116 methods[i].ml_doc = ndoc;
23117 }
23118 }
23119 }
23120 }
23121 }
23122 }
23123
23124 #ifdef __cplusplus
23125 }
23126 #endif
23127
23128 /* -----------------------------------------------------------------------------*
23129 * Partial Init method
23130 * -----------------------------------------------------------------------------*/
23131
23132 #ifdef __cplusplus
23133 extern "C"
23134 #endif
23135 SWIGEXPORT void SWIG_init(void) {
23136 PyObject *m, *d;
23137
23138 /* Fix SwigMethods to carry the callback ptrs when needed */
23139 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
23140
23141 m = Py_InitModule((char *) SWIG_name, SwigMethods);
23142 d = PyModule_GetDict(m);
23143
23144 SWIG_InitializeModule(0);
23145 SWIG_InstallConstants(d,swig_const_table);
23146
23147
23148 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
23149 SWIG_addvarlink(SWIG_globals(),(char*)"STCNameStr",STCNameStr_get, STCNameStr_set);
23150 SWIG_Python_SetConstant(d, "STC_USE_DND",SWIG_From_int(static_cast< int >(1)));
23151 SWIG_Python_SetConstant(d, "STC_USE_POPUP",SWIG_From_int(static_cast< int >(1)));
23152 SWIG_Python_SetConstant(d, "STC_INVALID_POSITION",SWIG_From_int(static_cast< int >(-1)));
23153 SWIG_Python_SetConstant(d, "STC_START",SWIG_From_int(static_cast< int >(2000)));
23154 SWIG_Python_SetConstant(d, "STC_OPTIONAL_START",SWIG_From_int(static_cast< int >(3000)));
23155 SWIG_Python_SetConstant(d, "STC_LEXER_START",SWIG_From_int(static_cast< int >(4000)));
23156 SWIG_Python_SetConstant(d, "STC_WS_INVISIBLE",SWIG_From_int(static_cast< int >(0)));
23157 SWIG_Python_SetConstant(d, "STC_WS_VISIBLEALWAYS",SWIG_From_int(static_cast< int >(1)));
23158 SWIG_Python_SetConstant(d, "STC_WS_VISIBLEAFTERINDENT",SWIG_From_int(static_cast< int >(2)));
23159 SWIG_Python_SetConstant(d, "STC_EOL_CRLF",SWIG_From_int(static_cast< int >(0)));
23160 SWIG_Python_SetConstant(d, "STC_EOL_CR",SWIG_From_int(static_cast< int >(1)));
23161 SWIG_Python_SetConstant(d, "STC_EOL_LF",SWIG_From_int(static_cast< int >(2)));
23162 SWIG_Python_SetConstant(d, "STC_CP_UTF8",SWIG_From_int(static_cast< int >(65001)));
23163 SWIG_Python_SetConstant(d, "STC_CP_DBCS",SWIG_From_int(static_cast< int >(1)));
23164 SWIG_Python_SetConstant(d, "STC_MARKER_MAX",SWIG_From_int(static_cast< int >(31)));
23165 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLE",SWIG_From_int(static_cast< int >(0)));
23166 SWIG_Python_SetConstant(d, "STC_MARK_ROUNDRECT",SWIG_From_int(static_cast< int >(1)));
23167 SWIG_Python_SetConstant(d, "STC_MARK_ARROW",SWIG_From_int(static_cast< int >(2)));
23168 SWIG_Python_SetConstant(d, "STC_MARK_SMALLRECT",SWIG_From_int(static_cast< int >(3)));
23169 SWIG_Python_SetConstant(d, "STC_MARK_SHORTARROW",SWIG_From_int(static_cast< int >(4)));
23170 SWIG_Python_SetConstant(d, "STC_MARK_EMPTY",SWIG_From_int(static_cast< int >(5)));
23171 SWIG_Python_SetConstant(d, "STC_MARK_ARROWDOWN",SWIG_From_int(static_cast< int >(6)));
23172 SWIG_Python_SetConstant(d, "STC_MARK_MINUS",SWIG_From_int(static_cast< int >(7)));
23173 SWIG_Python_SetConstant(d, "STC_MARK_PLUS",SWIG_From_int(static_cast< int >(8)));
23174 SWIG_Python_SetConstant(d, "STC_MARK_VLINE",SWIG_From_int(static_cast< int >(9)));
23175 SWIG_Python_SetConstant(d, "STC_MARK_LCORNER",SWIG_From_int(static_cast< int >(10)));
23176 SWIG_Python_SetConstant(d, "STC_MARK_TCORNER",SWIG_From_int(static_cast< int >(11)));
23177 SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUS",SWIG_From_int(static_cast< int >(12)));
23178 SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUSCONNECTED",SWIG_From_int(static_cast< int >(13)));
23179 SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUS",SWIG_From_int(static_cast< int >(14)));
23180 SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUSCONNECTED",SWIG_From_int(static_cast< int >(15)));
23181 SWIG_Python_SetConstant(d, "STC_MARK_LCORNERCURVE",SWIG_From_int(static_cast< int >(16)));
23182 SWIG_Python_SetConstant(d, "STC_MARK_TCORNERCURVE",SWIG_From_int(static_cast< int >(17)));
23183 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUS",SWIG_From_int(static_cast< int >(18)));
23184 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUSCONNECTED",SWIG_From_int(static_cast< int >(19)));
23185 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUS",SWIG_From_int(static_cast< int >(20)));
23186 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUSCONNECTED",SWIG_From_int(static_cast< int >(21)));
23187 SWIG_Python_SetConstant(d, "STC_MARK_BACKGROUND",SWIG_From_int(static_cast< int >(22)));
23188 SWIG_Python_SetConstant(d, "STC_MARK_DOTDOTDOT",SWIG_From_int(static_cast< int >(23)));
23189 SWIG_Python_SetConstant(d, "STC_MARK_ARROWS",SWIG_From_int(static_cast< int >(24)));
23190 SWIG_Python_SetConstant(d, "STC_MARK_PIXMAP",SWIG_From_int(static_cast< int >(25)));
23191 SWIG_Python_SetConstant(d, "STC_MARK_FULLRECT",SWIG_From_int(static_cast< int >(26)));
23192 SWIG_Python_SetConstant(d, "STC_MARK_CHARACTER",SWIG_From_int(static_cast< int >(10000)));
23193 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEREND",SWIG_From_int(static_cast< int >(25)));
23194 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPENMID",SWIG_From_int(static_cast< int >(26)));
23195 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERMIDTAIL",SWIG_From_int(static_cast< int >(27)));
23196 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERTAIL",SWIG_From_int(static_cast< int >(28)));
23197 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERSUB",SWIG_From_int(static_cast< int >(29)));
23198 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDER",SWIG_From_int(static_cast< int >(30)));
23199 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPEN",SWIG_From_int(static_cast< int >(31)));
23200 SWIG_Python_SetConstant(d, "STC_MASK_FOLDERS",SWIG_From_int(static_cast< int >(0xFE000000)));
23201 SWIG_Python_SetConstant(d, "STC_MARGIN_SYMBOL",SWIG_From_int(static_cast< int >(0)));
23202 SWIG_Python_SetConstant(d, "STC_MARGIN_NUMBER",SWIG_From_int(static_cast< int >(1)));
23203 SWIG_Python_SetConstant(d, "STC_MARGIN_BACK",SWIG_From_int(static_cast< int >(2)));
23204 SWIG_Python_SetConstant(d, "STC_MARGIN_FORE",SWIG_From_int(static_cast< int >(3)));
23205 SWIG_Python_SetConstant(d, "STC_STYLE_DEFAULT",SWIG_From_int(static_cast< int >(32)));
23206 SWIG_Python_SetConstant(d, "STC_STYLE_LINENUMBER",SWIG_From_int(static_cast< int >(33)));
23207 SWIG_Python_SetConstant(d, "STC_STYLE_BRACELIGHT",SWIG_From_int(static_cast< int >(34)));
23208 SWIG_Python_SetConstant(d, "STC_STYLE_BRACEBAD",SWIG_From_int(static_cast< int >(35)));
23209 SWIG_Python_SetConstant(d, "STC_STYLE_CONTROLCHAR",SWIG_From_int(static_cast< int >(36)));
23210 SWIG_Python_SetConstant(d, "STC_STYLE_INDENTGUIDE",SWIG_From_int(static_cast< int >(37)));
23211 SWIG_Python_SetConstant(d, "STC_STYLE_CALLTIP",SWIG_From_int(static_cast< int >(38)));
23212 SWIG_Python_SetConstant(d, "STC_STYLE_LASTPREDEFINED",SWIG_From_int(static_cast< int >(39)));
23213 SWIG_Python_SetConstant(d, "STC_STYLE_MAX",SWIG_From_int(static_cast< int >(127)));
23214 SWIG_Python_SetConstant(d, "STC_CHARSET_ANSI",SWIG_From_int(static_cast< int >(0)));
23215 SWIG_Python_SetConstant(d, "STC_CHARSET_DEFAULT",SWIG_From_int(static_cast< int >(1)));
23216 SWIG_Python_SetConstant(d, "STC_CHARSET_BALTIC",SWIG_From_int(static_cast< int >(186)));
23217 SWIG_Python_SetConstant(d, "STC_CHARSET_CHINESEBIG5",SWIG_From_int(static_cast< int >(136)));
23218 SWIG_Python_SetConstant(d, "STC_CHARSET_EASTEUROPE",SWIG_From_int(static_cast< int >(238)));
23219 SWIG_Python_SetConstant(d, "STC_CHARSET_GB2312",SWIG_From_int(static_cast< int >(134)));
23220 SWIG_Python_SetConstant(d, "STC_CHARSET_GREEK",SWIG_From_int(static_cast< int >(161)));
23221 SWIG_Python_SetConstant(d, "STC_CHARSET_HANGUL",SWIG_From_int(static_cast< int >(129)));
23222 SWIG_Python_SetConstant(d, "STC_CHARSET_MAC",SWIG_From_int(static_cast< int >(77)));
23223 SWIG_Python_SetConstant(d, "STC_CHARSET_OEM",SWIG_From_int(static_cast< int >(255)));
23224 SWIG_Python_SetConstant(d, "STC_CHARSET_RUSSIAN",SWIG_From_int(static_cast< int >(204)));
23225 SWIG_Python_SetConstant(d, "STC_CHARSET_CYRILLIC",SWIG_From_int(static_cast< int >(1251)));
23226 SWIG_Python_SetConstant(d, "STC_CHARSET_SHIFTJIS",SWIG_From_int(static_cast< int >(128)));
23227 SWIG_Python_SetConstant(d, "STC_CHARSET_SYMBOL",SWIG_From_int(static_cast< int >(2)));
23228 SWIG_Python_SetConstant(d, "STC_CHARSET_TURKISH",SWIG_From_int(static_cast< int >(162)));
23229 SWIG_Python_SetConstant(d, "STC_CHARSET_JOHAB",SWIG_From_int(static_cast< int >(130)));
23230 SWIG_Python_SetConstant(d, "STC_CHARSET_HEBREW",SWIG_From_int(static_cast< int >(177)));
23231 SWIG_Python_SetConstant(d, "STC_CHARSET_ARABIC",SWIG_From_int(static_cast< int >(178)));
23232 SWIG_Python_SetConstant(d, "STC_CHARSET_VIETNAMESE",SWIG_From_int(static_cast< int >(163)));
23233 SWIG_Python_SetConstant(d, "STC_CHARSET_THAI",SWIG_From_int(static_cast< int >(222)));
23234 SWIG_Python_SetConstant(d, "STC_CHARSET_8859_15",SWIG_From_int(static_cast< int >(1000)));
23235 SWIG_Python_SetConstant(d, "STC_CASE_MIXED",SWIG_From_int(static_cast< int >(0)));
23236 SWIG_Python_SetConstant(d, "STC_CASE_UPPER",SWIG_From_int(static_cast< int >(1)));
23237 SWIG_Python_SetConstant(d, "STC_CASE_LOWER",SWIG_From_int(static_cast< int >(2)));
23238 SWIG_Python_SetConstant(d, "STC_INDIC_MAX",SWIG_From_int(static_cast< int >(7)));
23239 SWIG_Python_SetConstant(d, "STC_INDIC_PLAIN",SWIG_From_int(static_cast< int >(0)));
23240 SWIG_Python_SetConstant(d, "STC_INDIC_SQUIGGLE",SWIG_From_int(static_cast< int >(1)));
23241 SWIG_Python_SetConstant(d, "STC_INDIC_TT",SWIG_From_int(static_cast< int >(2)));
23242 SWIG_Python_SetConstant(d, "STC_INDIC_DIAGONAL",SWIG_From_int(static_cast< int >(3)));
23243 SWIG_Python_SetConstant(d, "STC_INDIC_STRIKE",SWIG_From_int(static_cast< int >(4)));
23244 SWIG_Python_SetConstant(d, "STC_INDIC_HIDDEN",SWIG_From_int(static_cast< int >(5)));
23245 SWIG_Python_SetConstant(d, "STC_INDIC_BOX",SWIG_From_int(static_cast< int >(6)));
23246 SWIG_Python_SetConstant(d, "STC_INDIC_ROUNDBOX",SWIG_From_int(static_cast< int >(7)));
23247 SWIG_Python_SetConstant(d, "STC_INDIC0_MASK",SWIG_From_int(static_cast< int >(0x20)));
23248 SWIG_Python_SetConstant(d, "STC_INDIC1_MASK",SWIG_From_int(static_cast< int >(0x40)));
23249 SWIG_Python_SetConstant(d, "STC_INDIC2_MASK",SWIG_From_int(static_cast< int >(0x80)));
23250 SWIG_Python_SetConstant(d, "STC_INDICS_MASK",SWIG_From_int(static_cast< int >(0xE0)));
23251 SWIG_Python_SetConstant(d, "STC_PRINT_NORMAL",SWIG_From_int(static_cast< int >(0)));
23252 SWIG_Python_SetConstant(d, "STC_PRINT_INVERTLIGHT",SWIG_From_int(static_cast< int >(1)));
23253 SWIG_Python_SetConstant(d, "STC_PRINT_BLACKONWHITE",SWIG_From_int(static_cast< int >(2)));
23254 SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITE",SWIG_From_int(static_cast< int >(3)));
23255 SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITEDEFAULTBG",SWIG_From_int(static_cast< int >(4)));
23256 SWIG_Python_SetConstant(d, "STC_FIND_WHOLEWORD",SWIG_From_int(static_cast< int >(2)));
23257 SWIG_Python_SetConstant(d, "STC_FIND_MATCHCASE",SWIG_From_int(static_cast< int >(4)));
23258 SWIG_Python_SetConstant(d, "STC_FIND_WORDSTART",SWIG_From_int(static_cast< int >(0x00100000)));
23259 SWIG_Python_SetConstant(d, "STC_FIND_REGEXP",SWIG_From_int(static_cast< int >(0x00200000)));
23260 SWIG_Python_SetConstant(d, "STC_FIND_POSIX",SWIG_From_int(static_cast< int >(0x00400000)));
23261 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBASE",SWIG_From_int(static_cast< int >(0x400)));
23262 SWIG_Python_SetConstant(d, "STC_FOLDLEVELWHITEFLAG",SWIG_From_int(static_cast< int >(0x1000)));
23263 SWIG_Python_SetConstant(d, "STC_FOLDLEVELHEADERFLAG",SWIG_From_int(static_cast< int >(0x2000)));
23264 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBOXHEADERFLAG",SWIG_From_int(static_cast< int >(0x4000)));
23265 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBOXFOOTERFLAG",SWIG_From_int(static_cast< int >(0x8000)));
23266 SWIG_Python_SetConstant(d, "STC_FOLDLEVELCONTRACTED",SWIG_From_int(static_cast< int >(0x10000)));
23267 SWIG_Python_SetConstant(d, "STC_FOLDLEVELUNINDENT",SWIG_From_int(static_cast< int >(0x20000)));
23268 SWIG_Python_SetConstant(d, "STC_FOLDLEVELNUMBERMASK",SWIG_From_int(static_cast< int >(0x0FFF)));
23269 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_EXPANDED",SWIG_From_int(static_cast< int >(0x0002)));
23270 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_CONTRACTED",SWIG_From_int(static_cast< int >(0x0004)));
23271 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_EXPANDED",SWIG_From_int(static_cast< int >(0x0008)));
23272 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_CONTRACTED",SWIG_From_int(static_cast< int >(0x0010)));
23273 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LEVELNUMBERS",SWIG_From_int(static_cast< int >(0x0040)));
23274 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_BOX",SWIG_From_int(static_cast< int >(0x0001)));
23275 SWIG_Python_SetConstant(d, "STC_TIME_FOREVER",SWIG_From_int(static_cast< int >(10000000)));
23276 SWIG_Python_SetConstant(d, "STC_WRAP_NONE",SWIG_From_int(static_cast< int >(0)));
23277 SWIG_Python_SetConstant(d, "STC_WRAP_WORD",SWIG_From_int(static_cast< int >(1)));
23278 SWIG_Python_SetConstant(d, "STC_WRAP_CHAR",SWIG_From_int(static_cast< int >(2)));
23279 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_NONE",SWIG_From_int(static_cast< int >(0x0000)));
23280 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_END",SWIG_From_int(static_cast< int >(0x0001)));
23281 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_START",SWIG_From_int(static_cast< int >(0x0002)));
23282 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_DEFAULT",SWIG_From_int(static_cast< int >(0x0000)));
23283 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_END_BY_TEXT",SWIG_From_int(static_cast< int >(0x0001)));
23284 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_START_BY_TEXT",SWIG_From_int(static_cast< int >(0x0002)));
23285 SWIG_Python_SetConstant(d, "STC_CACHE_NONE",SWIG_From_int(static_cast< int >(0)));
23286 SWIG_Python_SetConstant(d, "STC_CACHE_CARET",SWIG_From_int(static_cast< int >(1)));
23287 SWIG_Python_SetConstant(d, "STC_CACHE_PAGE",SWIG_From_int(static_cast< int >(2)));
23288 SWIG_Python_SetConstant(d, "STC_CACHE_DOCUMENT",SWIG_From_int(static_cast< int >(3)));
23289 SWIG_Python_SetConstant(d, "STC_EDGE_NONE",SWIG_From_int(static_cast< int >(0)));
23290 SWIG_Python_SetConstant(d, "STC_EDGE_LINE",SWIG_From_int(static_cast< int >(1)));
23291 SWIG_Python_SetConstant(d, "STC_EDGE_BACKGROUND",SWIG_From_int(static_cast< int >(2)));
23292 SWIG_Python_SetConstant(d, "STC_CURSORNORMAL",SWIG_From_int(static_cast< int >(-1)));
23293 SWIG_Python_SetConstant(d, "STC_CURSORWAIT",SWIG_From_int(static_cast< int >(4)));
23294 SWIG_Python_SetConstant(d, "STC_VISIBLE_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23295 SWIG_Python_SetConstant(d, "STC_VISIBLE_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23296 SWIG_Python_SetConstant(d, "STC_CARET_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23297 SWIG_Python_SetConstant(d, "STC_CARET_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23298 SWIG_Python_SetConstant(d, "STC_CARET_JUMPS",SWIG_From_int(static_cast< int >(0x10)));
23299 SWIG_Python_SetConstant(d, "STC_CARET_EVEN",SWIG_From_int(static_cast< int >(0x08)));
23300 SWIG_Python_SetConstant(d, "STC_SEL_STREAM",SWIG_From_int(static_cast< int >(0)));
23301 SWIG_Python_SetConstant(d, "STC_SEL_RECTANGLE",SWIG_From_int(static_cast< int >(1)));
23302 SWIG_Python_SetConstant(d, "STC_SEL_LINES",SWIG_From_int(static_cast< int >(2)));
23303 SWIG_Python_SetConstant(d, "STC_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(0)));
23304 SWIG_Python_SetConstant(d, "STC_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(255)));
23305 SWIG_Python_SetConstant(d, "STC_ALPHA_NOALPHA",SWIG_From_int(static_cast< int >(256)));
23306 SWIG_Python_SetConstant(d, "STC_KEYWORDSET_MAX",SWIG_From_int(static_cast< int >(8)));
23307 SWIG_Python_SetConstant(d, "STC_MOD_INSERTTEXT",SWIG_From_int(static_cast< int >(0x1)));
23308 SWIG_Python_SetConstant(d, "STC_MOD_DELETETEXT",SWIG_From_int(static_cast< int >(0x2)));
23309 SWIG_Python_SetConstant(d, "STC_MOD_CHANGESTYLE",SWIG_From_int(static_cast< int >(0x4)));
23310 SWIG_Python_SetConstant(d, "STC_MOD_CHANGEFOLD",SWIG_From_int(static_cast< int >(0x8)));
23311 SWIG_Python_SetConstant(d, "STC_PERFORMED_USER",SWIG_From_int(static_cast< int >(0x10)));
23312 SWIG_Python_SetConstant(d, "STC_PERFORMED_UNDO",SWIG_From_int(static_cast< int >(0x20)));
23313 SWIG_Python_SetConstant(d, "STC_PERFORMED_REDO",SWIG_From_int(static_cast< int >(0x40)));
23314 SWIG_Python_SetConstant(d, "STC_MULTISTEPUNDOREDO",SWIG_From_int(static_cast< int >(0x80)));
23315 SWIG_Python_SetConstant(d, "STC_LASTSTEPINUNDOREDO",SWIG_From_int(static_cast< int >(0x100)));
23316 SWIG_Python_SetConstant(d, "STC_MOD_CHANGEMARKER",SWIG_From_int(static_cast< int >(0x200)));
23317 SWIG_Python_SetConstant(d, "STC_MOD_BEFOREINSERT",SWIG_From_int(static_cast< int >(0x400)));
23318 SWIG_Python_SetConstant(d, "STC_MOD_BEFOREDELETE",SWIG_From_int(static_cast< int >(0x800)));
23319 SWIG_Python_SetConstant(d, "STC_MULTILINEUNDOREDO",SWIG_From_int(static_cast< int >(0x1000)));
23320 SWIG_Python_SetConstant(d, "STC_MODEVENTMASKALL",SWIG_From_int(static_cast< int >(0x1FFF)));
23321 SWIG_Python_SetConstant(d, "STC_KEY_DOWN",SWIG_From_int(static_cast< int >(300)));
23322 SWIG_Python_SetConstant(d, "STC_KEY_UP",SWIG_From_int(static_cast< int >(301)));
23323 SWIG_Python_SetConstant(d, "STC_KEY_LEFT",SWIG_From_int(static_cast< int >(302)));
23324 SWIG_Python_SetConstant(d, "STC_KEY_RIGHT",SWIG_From_int(static_cast< int >(303)));
23325 SWIG_Python_SetConstant(d, "STC_KEY_HOME",SWIG_From_int(static_cast< int >(304)));
23326 SWIG_Python_SetConstant(d, "STC_KEY_END",SWIG_From_int(static_cast< int >(305)));
23327 SWIG_Python_SetConstant(d, "STC_KEY_PRIOR",SWIG_From_int(static_cast< int >(306)));
23328 SWIG_Python_SetConstant(d, "STC_KEY_NEXT",SWIG_From_int(static_cast< int >(307)));
23329 SWIG_Python_SetConstant(d, "STC_KEY_DELETE",SWIG_From_int(static_cast< int >(308)));
23330 SWIG_Python_SetConstant(d, "STC_KEY_INSERT",SWIG_From_int(static_cast< int >(309)));
23331 SWIG_Python_SetConstant(d, "STC_KEY_ESCAPE",SWIG_From_int(static_cast< int >(7)));
23332 SWIG_Python_SetConstant(d, "STC_KEY_BACK",SWIG_From_int(static_cast< int >(8)));
23333 SWIG_Python_SetConstant(d, "STC_KEY_TAB",SWIG_From_int(static_cast< int >(9)));
23334 SWIG_Python_SetConstant(d, "STC_KEY_RETURN",SWIG_From_int(static_cast< int >(13)));
23335 SWIG_Python_SetConstant(d, "STC_KEY_ADD",SWIG_From_int(static_cast< int >(310)));
23336 SWIG_Python_SetConstant(d, "STC_KEY_SUBTRACT",SWIG_From_int(static_cast< int >(311)));
23337 SWIG_Python_SetConstant(d, "STC_KEY_DIVIDE",SWIG_From_int(static_cast< int >(312)));
23338 SWIG_Python_SetConstant(d, "STC_SCMOD_NORM",SWIG_From_int(static_cast< int >(0)));
23339 SWIG_Python_SetConstant(d, "STC_SCMOD_SHIFT",SWIG_From_int(static_cast< int >(1)));
23340 SWIG_Python_SetConstant(d, "STC_SCMOD_CTRL",SWIG_From_int(static_cast< int >(2)));
23341 SWIG_Python_SetConstant(d, "STC_SCMOD_ALT",SWIG_From_int(static_cast< int >(4)));
23342 SWIG_Python_SetConstant(d, "STC_LEX_CONTAINER",SWIG_From_int(static_cast< int >(0)));
23343 SWIG_Python_SetConstant(d, "STC_LEX_NULL",SWIG_From_int(static_cast< int >(1)));
23344 SWIG_Python_SetConstant(d, "STC_LEX_PYTHON",SWIG_From_int(static_cast< int >(2)));
23345 SWIG_Python_SetConstant(d, "STC_LEX_CPP",SWIG_From_int(static_cast< int >(3)));
23346 SWIG_Python_SetConstant(d, "STC_LEX_HTML",SWIG_From_int(static_cast< int >(4)));
23347 SWIG_Python_SetConstant(d, "STC_LEX_XML",SWIG_From_int(static_cast< int >(5)));
23348 SWIG_Python_SetConstant(d, "STC_LEX_PERL",SWIG_From_int(static_cast< int >(6)));
23349 SWIG_Python_SetConstant(d, "STC_LEX_SQL",SWIG_From_int(static_cast< int >(7)));
23350 SWIG_Python_SetConstant(d, "STC_LEX_VB",SWIG_From_int(static_cast< int >(8)));
23351 SWIG_Python_SetConstant(d, "STC_LEX_PROPERTIES",SWIG_From_int(static_cast< int >(9)));
23352 SWIG_Python_SetConstant(d, "STC_LEX_ERRORLIST",SWIG_From_int(static_cast< int >(10)));
23353 SWIG_Python_SetConstant(d, "STC_LEX_MAKEFILE",SWIG_From_int(static_cast< int >(11)));
23354 SWIG_Python_SetConstant(d, "STC_LEX_BATCH",SWIG_From_int(static_cast< int >(12)));
23355 SWIG_Python_SetConstant(d, "STC_LEX_XCODE",SWIG_From_int(static_cast< int >(13)));
23356 SWIG_Python_SetConstant(d, "STC_LEX_LATEX",SWIG_From_int(static_cast< int >(14)));
23357 SWIG_Python_SetConstant(d, "STC_LEX_LUA",SWIG_From_int(static_cast< int >(15)));
23358 SWIG_Python_SetConstant(d, "STC_LEX_DIFF",SWIG_From_int(static_cast< int >(16)));
23359 SWIG_Python_SetConstant(d, "STC_LEX_CONF",SWIG_From_int(static_cast< int >(17)));
23360 SWIG_Python_SetConstant(d, "STC_LEX_PASCAL",SWIG_From_int(static_cast< int >(18)));
23361 SWIG_Python_SetConstant(d, "STC_LEX_AVE",SWIG_From_int(static_cast< int >(19)));
23362 SWIG_Python_SetConstant(d, "STC_LEX_ADA",SWIG_From_int(static_cast< int >(20)));
23363 SWIG_Python_SetConstant(d, "STC_LEX_LISP",SWIG_From_int(static_cast< int >(21)));
23364 SWIG_Python_SetConstant(d, "STC_LEX_RUBY",SWIG_From_int(static_cast< int >(22)));
23365 SWIG_Python_SetConstant(d, "STC_LEX_EIFFEL",SWIG_From_int(static_cast< int >(23)));
23366 SWIG_Python_SetConstant(d, "STC_LEX_EIFFELKW",SWIG_From_int(static_cast< int >(24)));
23367 SWIG_Python_SetConstant(d, "STC_LEX_TCL",SWIG_From_int(static_cast< int >(25)));
23368 SWIG_Python_SetConstant(d, "STC_LEX_NNCRONTAB",SWIG_From_int(static_cast< int >(26)));
23369 SWIG_Python_SetConstant(d, "STC_LEX_BULLANT",SWIG_From_int(static_cast< int >(27)));
23370 SWIG_Python_SetConstant(d, "STC_LEX_VBSCRIPT",SWIG_From_int(static_cast< int >(28)));
23371 SWIG_Python_SetConstant(d, "STC_LEX_BAAN",SWIG_From_int(static_cast< int >(31)));
23372 SWIG_Python_SetConstant(d, "STC_LEX_MATLAB",SWIG_From_int(static_cast< int >(32)));
23373 SWIG_Python_SetConstant(d, "STC_LEX_SCRIPTOL",SWIG_From_int(static_cast< int >(33)));
23374 SWIG_Python_SetConstant(d, "STC_LEX_ASM",SWIG_From_int(static_cast< int >(34)));
23375 SWIG_Python_SetConstant(d, "STC_LEX_CPPNOCASE",SWIG_From_int(static_cast< int >(35)));
23376 SWIG_Python_SetConstant(d, "STC_LEX_FORTRAN",SWIG_From_int(static_cast< int >(36)));
23377 SWIG_Python_SetConstant(d, "STC_LEX_F77",SWIG_From_int(static_cast< int >(37)));
23378 SWIG_Python_SetConstant(d, "STC_LEX_CSS",SWIG_From_int(static_cast< int >(38)));
23379 SWIG_Python_SetConstant(d, "STC_LEX_POV",SWIG_From_int(static_cast< int >(39)));
23380 SWIG_Python_SetConstant(d, "STC_LEX_LOUT",SWIG_From_int(static_cast< int >(40)));
23381 SWIG_Python_SetConstant(d, "STC_LEX_ESCRIPT",SWIG_From_int(static_cast< int >(41)));
23382 SWIG_Python_SetConstant(d, "STC_LEX_PS",SWIG_From_int(static_cast< int >(42)));
23383 SWIG_Python_SetConstant(d, "STC_LEX_NSIS",SWIG_From_int(static_cast< int >(43)));
23384 SWIG_Python_SetConstant(d, "STC_LEX_MMIXAL",SWIG_From_int(static_cast< int >(44)));
23385 SWIG_Python_SetConstant(d, "STC_LEX_CLW",SWIG_From_int(static_cast< int >(45)));
23386 SWIG_Python_SetConstant(d, "STC_LEX_CLWNOCASE",SWIG_From_int(static_cast< int >(46)));
23387 SWIG_Python_SetConstant(d, "STC_LEX_LOT",SWIG_From_int(static_cast< int >(47)));
23388 SWIG_Python_SetConstant(d, "STC_LEX_YAML",SWIG_From_int(static_cast< int >(48)));
23389 SWIG_Python_SetConstant(d, "STC_LEX_TEX",SWIG_From_int(static_cast< int >(49)));
23390 SWIG_Python_SetConstant(d, "STC_LEX_METAPOST",SWIG_From_int(static_cast< int >(50)));
23391 SWIG_Python_SetConstant(d, "STC_LEX_POWERBASIC",SWIG_From_int(static_cast< int >(51)));
23392 SWIG_Python_SetConstant(d, "STC_LEX_FORTH",SWIG_From_int(static_cast< int >(52)));
23393 SWIG_Python_SetConstant(d, "STC_LEX_ERLANG",SWIG_From_int(static_cast< int >(53)));
23394 SWIG_Python_SetConstant(d, "STC_LEX_OCTAVE",SWIG_From_int(static_cast< int >(54)));
23395 SWIG_Python_SetConstant(d, "STC_LEX_MSSQL",SWIG_From_int(static_cast< int >(55)));
23396 SWIG_Python_SetConstant(d, "STC_LEX_VERILOG",SWIG_From_int(static_cast< int >(56)));
23397 SWIG_Python_SetConstant(d, "STC_LEX_KIX",SWIG_From_int(static_cast< int >(57)));
23398 SWIG_Python_SetConstant(d, "STC_LEX_GUI4CLI",SWIG_From_int(static_cast< int >(58)));
23399 SWIG_Python_SetConstant(d, "STC_LEX_SPECMAN",SWIG_From_int(static_cast< int >(59)));
23400 SWIG_Python_SetConstant(d, "STC_LEX_AU3",SWIG_From_int(static_cast< int >(60)));
23401 SWIG_Python_SetConstant(d, "STC_LEX_APDL",SWIG_From_int(static_cast< int >(61)));
23402 SWIG_Python_SetConstant(d, "STC_LEX_BASH",SWIG_From_int(static_cast< int >(62)));
23403 SWIG_Python_SetConstant(d, "STC_LEX_ASN1",SWIG_From_int(static_cast< int >(63)));
23404 SWIG_Python_SetConstant(d, "STC_LEX_VHDL",SWIG_From_int(static_cast< int >(64)));
23405 SWIG_Python_SetConstant(d, "STC_LEX_CAML",SWIG_From_int(static_cast< int >(65)));
23406 SWIG_Python_SetConstant(d, "STC_LEX_BLITZBASIC",SWIG_From_int(static_cast< int >(66)));
23407 SWIG_Python_SetConstant(d, "STC_LEX_PUREBASIC",SWIG_From_int(static_cast< int >(67)));
23408 SWIG_Python_SetConstant(d, "STC_LEX_HASKELL",SWIG_From_int(static_cast< int >(68)));
23409 SWIG_Python_SetConstant(d, "STC_LEX_PHPSCRIPT",SWIG_From_int(static_cast< int >(69)));
23410 SWIG_Python_SetConstant(d, "STC_LEX_TADS3",SWIG_From_int(static_cast< int >(70)));
23411 SWIG_Python_SetConstant(d, "STC_LEX_REBOL",SWIG_From_int(static_cast< int >(71)));
23412 SWIG_Python_SetConstant(d, "STC_LEX_SMALLTALK",SWIG_From_int(static_cast< int >(72)));
23413 SWIG_Python_SetConstant(d, "STC_LEX_FLAGSHIP",SWIG_From_int(static_cast< int >(73)));
23414 SWIG_Python_SetConstant(d, "STC_LEX_CSOUND",SWIG_From_int(static_cast< int >(74)));
23415 SWIG_Python_SetConstant(d, "STC_LEX_FREEBASIC",SWIG_From_int(static_cast< int >(75)));
23416 SWIG_Python_SetConstant(d, "STC_LEX_INNOSETUP",SWIG_From_int(static_cast< int >(76)));
23417 SWIG_Python_SetConstant(d, "STC_LEX_OPAL",SWIG_From_int(static_cast< int >(77)));
23418 SWIG_Python_SetConstant(d, "STC_LEX_SPICE",SWIG_From_int(static_cast< int >(78)));
23419 SWIG_Python_SetConstant(d, "STC_LEX_AUTOMATIC",SWIG_From_int(static_cast< int >(1000)));
23420 SWIG_Python_SetConstant(d, "STC_P_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23421 SWIG_Python_SetConstant(d, "STC_P_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23422 SWIG_Python_SetConstant(d, "STC_P_NUMBER",SWIG_From_int(static_cast< int >(2)));
23423 SWIG_Python_SetConstant(d, "STC_P_STRING",SWIG_From_int(static_cast< int >(3)));
23424 SWIG_Python_SetConstant(d, "STC_P_CHARACTER",SWIG_From_int(static_cast< int >(4)));
23425 SWIG_Python_SetConstant(d, "STC_P_WORD",SWIG_From_int(static_cast< int >(5)));
23426 SWIG_Python_SetConstant(d, "STC_P_TRIPLE",SWIG_From_int(static_cast< int >(6)));
23427 SWIG_Python_SetConstant(d, "STC_P_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(7)));
23428 SWIG_Python_SetConstant(d, "STC_P_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23429 SWIG_Python_SetConstant(d, "STC_P_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23430 SWIG_Python_SetConstant(d, "STC_P_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23431 SWIG_Python_SetConstant(d, "STC_P_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23432 SWIG_Python_SetConstant(d, "STC_P_COMMENTBLOCK",SWIG_From_int(static_cast< int >(12)));
23433 SWIG_Python_SetConstant(d, "STC_P_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23434 SWIG_Python_SetConstant(d, "STC_P_WORD2",SWIG_From_int(static_cast< int >(14)));
23435 SWIG_Python_SetConstant(d, "STC_P_DECORATOR",SWIG_From_int(static_cast< int >(15)));
23436 SWIG_Python_SetConstant(d, "STC_C_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23437 SWIG_Python_SetConstant(d, "STC_C_COMMENT",SWIG_From_int(static_cast< int >(1)));
23438 SWIG_Python_SetConstant(d, "STC_C_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23439 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23440 SWIG_Python_SetConstant(d, "STC_C_NUMBER",SWIG_From_int(static_cast< int >(4)));
23441 SWIG_Python_SetConstant(d, "STC_C_WORD",SWIG_From_int(static_cast< int >(5)));
23442 SWIG_Python_SetConstant(d, "STC_C_STRING",SWIG_From_int(static_cast< int >(6)));
23443 SWIG_Python_SetConstant(d, "STC_C_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23444 SWIG_Python_SetConstant(d, "STC_C_UUID",SWIG_From_int(static_cast< int >(8)));
23445 SWIG_Python_SetConstant(d, "STC_C_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23446 SWIG_Python_SetConstant(d, "STC_C_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23447 SWIG_Python_SetConstant(d, "STC_C_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23448 SWIG_Python_SetConstant(d, "STC_C_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23449 SWIG_Python_SetConstant(d, "STC_C_VERBATIM",SWIG_From_int(static_cast< int >(13)));
23450 SWIG_Python_SetConstant(d, "STC_C_REGEX",SWIG_From_int(static_cast< int >(14)));
23451 SWIG_Python_SetConstant(d, "STC_C_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
23452 SWIG_Python_SetConstant(d, "STC_C_WORD2",SWIG_From_int(static_cast< int >(16)));
23453 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
23454 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
23455 SWIG_Python_SetConstant(d, "STC_C_GLOBALCLASS",SWIG_From_int(static_cast< int >(19)));
23456 SWIG_Python_SetConstant(d, "STC_TCL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23457 SWIG_Python_SetConstant(d, "STC_TCL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23458 SWIG_Python_SetConstant(d, "STC_TCL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23459 SWIG_Python_SetConstant(d, "STC_TCL_NUMBER",SWIG_From_int(static_cast< int >(3)));
23460 SWIG_Python_SetConstant(d, "STC_TCL_WORD_IN_QUOTE",SWIG_From_int(static_cast< int >(4)));
23461 SWIG_Python_SetConstant(d, "STC_TCL_IN_QUOTE",SWIG_From_int(static_cast< int >(5)));
23462 SWIG_Python_SetConstant(d, "STC_TCL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23463 SWIG_Python_SetConstant(d, "STC_TCL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23464 SWIG_Python_SetConstant(d, "STC_TCL_SUBSTITUTION",SWIG_From_int(static_cast< int >(8)));
23465 SWIG_Python_SetConstant(d, "STC_TCL_SUB_BRACE",SWIG_From_int(static_cast< int >(9)));
23466 SWIG_Python_SetConstant(d, "STC_TCL_MODIFIER",SWIG_From_int(static_cast< int >(10)));
23467 SWIG_Python_SetConstant(d, "STC_TCL_EXPAND",SWIG_From_int(static_cast< int >(11)));
23468 SWIG_Python_SetConstant(d, "STC_TCL_WORD",SWIG_From_int(static_cast< int >(12)));
23469 SWIG_Python_SetConstant(d, "STC_TCL_WORD2",SWIG_From_int(static_cast< int >(13)));
23470 SWIG_Python_SetConstant(d, "STC_TCL_WORD3",SWIG_From_int(static_cast< int >(14)));
23471 SWIG_Python_SetConstant(d, "STC_TCL_WORD4",SWIG_From_int(static_cast< int >(15)));
23472 SWIG_Python_SetConstant(d, "STC_TCL_WORD5",SWIG_From_int(static_cast< int >(16)));
23473 SWIG_Python_SetConstant(d, "STC_TCL_WORD6",SWIG_From_int(static_cast< int >(17)));
23474 SWIG_Python_SetConstant(d, "STC_TCL_WORD7",SWIG_From_int(static_cast< int >(18)));
23475 SWIG_Python_SetConstant(d, "STC_TCL_WORD8",SWIG_From_int(static_cast< int >(19)));
23476 SWIG_Python_SetConstant(d, "STC_TCL_COMMENT_BOX",SWIG_From_int(static_cast< int >(20)));
23477 SWIG_Python_SetConstant(d, "STC_TCL_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(21)));
23478 SWIG_Python_SetConstant(d, "STC_H_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23479 SWIG_Python_SetConstant(d, "STC_H_TAG",SWIG_From_int(static_cast< int >(1)));
23480 SWIG_Python_SetConstant(d, "STC_H_TAGUNKNOWN",SWIG_From_int(static_cast< int >(2)));
23481 SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTE",SWIG_From_int(static_cast< int >(3)));
23482 SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTEUNKNOWN",SWIG_From_int(static_cast< int >(4)));
23483 SWIG_Python_SetConstant(d, "STC_H_NUMBER",SWIG_From_int(static_cast< int >(5)));
23484 SWIG_Python_SetConstant(d, "STC_H_DOUBLESTRING",SWIG_From_int(static_cast< int >(6)));
23485 SWIG_Python_SetConstant(d, "STC_H_SINGLESTRING",SWIG_From_int(static_cast< int >(7)));
23486 SWIG_Python_SetConstant(d, "STC_H_OTHER",SWIG_From_int(static_cast< int >(8)));
23487 SWIG_Python_SetConstant(d, "STC_H_COMMENT",SWIG_From_int(static_cast< int >(9)));
23488 SWIG_Python_SetConstant(d, "STC_H_ENTITY",SWIG_From_int(static_cast< int >(10)));
23489 SWIG_Python_SetConstant(d, "STC_H_TAGEND",SWIG_From_int(static_cast< int >(11)));
23490 SWIG_Python_SetConstant(d, "STC_H_XMLSTART",SWIG_From_int(static_cast< int >(12)));
23491 SWIG_Python_SetConstant(d, "STC_H_XMLEND",SWIG_From_int(static_cast< int >(13)));
23492 SWIG_Python_SetConstant(d, "STC_H_SCRIPT",SWIG_From_int(static_cast< int >(14)));
23493 SWIG_Python_SetConstant(d, "STC_H_ASP",SWIG_From_int(static_cast< int >(15)));
23494 SWIG_Python_SetConstant(d, "STC_H_ASPAT",SWIG_From_int(static_cast< int >(16)));
23495 SWIG_Python_SetConstant(d, "STC_H_CDATA",SWIG_From_int(static_cast< int >(17)));
23496 SWIG_Python_SetConstant(d, "STC_H_QUESTION",SWIG_From_int(static_cast< int >(18)));
23497 SWIG_Python_SetConstant(d, "STC_H_VALUE",SWIG_From_int(static_cast< int >(19)));
23498 SWIG_Python_SetConstant(d, "STC_H_XCCOMMENT",SWIG_From_int(static_cast< int >(20)));
23499 SWIG_Python_SetConstant(d, "STC_H_SGML_DEFAULT",SWIG_From_int(static_cast< int >(21)));
23500 SWIG_Python_SetConstant(d, "STC_H_SGML_COMMAND",SWIG_From_int(static_cast< int >(22)));
23501 SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM",SWIG_From_int(static_cast< int >(23)));
23502 SWIG_Python_SetConstant(d, "STC_H_SGML_DOUBLESTRING",SWIG_From_int(static_cast< int >(24)));
23503 SWIG_Python_SetConstant(d, "STC_H_SGML_SIMPLESTRING",SWIG_From_int(static_cast< int >(25)));
23504 SWIG_Python_SetConstant(d, "STC_H_SGML_ERROR",SWIG_From_int(static_cast< int >(26)));
23505 SWIG_Python_SetConstant(d, "STC_H_SGML_SPECIAL",SWIG_From_int(static_cast< int >(27)));
23506 SWIG_Python_SetConstant(d, "STC_H_SGML_ENTITY",SWIG_From_int(static_cast< int >(28)));
23507 SWIG_Python_SetConstant(d, "STC_H_SGML_COMMENT",SWIG_From_int(static_cast< int >(29)));
23508 SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM_COMMENT",SWIG_From_int(static_cast< int >(30)));
23509 SWIG_Python_SetConstant(d, "STC_H_SGML_BLOCK_DEFAULT",SWIG_From_int(static_cast< int >(31)));
23510 SWIG_Python_SetConstant(d, "STC_HJ_START",SWIG_From_int(static_cast< int >(40)));
23511 SWIG_Python_SetConstant(d, "STC_HJ_DEFAULT",SWIG_From_int(static_cast< int >(41)));
23512 SWIG_Python_SetConstant(d, "STC_HJ_COMMENT",SWIG_From_int(static_cast< int >(42)));
23513 SWIG_Python_SetConstant(d, "STC_HJ_COMMENTLINE",SWIG_From_int(static_cast< int >(43)));
23514 SWIG_Python_SetConstant(d, "STC_HJ_COMMENTDOC",SWIG_From_int(static_cast< int >(44)));
23515 SWIG_Python_SetConstant(d, "STC_HJ_NUMBER",SWIG_From_int(static_cast< int >(45)));
23516 SWIG_Python_SetConstant(d, "STC_HJ_WORD",SWIG_From_int(static_cast< int >(46)));
23517 SWIG_Python_SetConstant(d, "STC_HJ_KEYWORD",SWIG_From_int(static_cast< int >(47)));
23518 SWIG_Python_SetConstant(d, "STC_HJ_DOUBLESTRING",SWIG_From_int(static_cast< int >(48)));
23519 SWIG_Python_SetConstant(d, "STC_HJ_SINGLESTRING",SWIG_From_int(static_cast< int >(49)));
23520 SWIG_Python_SetConstant(d, "STC_HJ_SYMBOLS",SWIG_From_int(static_cast< int >(50)));
23521 SWIG_Python_SetConstant(d, "STC_HJ_STRINGEOL",SWIG_From_int(static_cast< int >(51)));
23522 SWIG_Python_SetConstant(d, "STC_HJ_REGEX",SWIG_From_int(static_cast< int >(52)));
23523 SWIG_Python_SetConstant(d, "STC_HJA_START",SWIG_From_int(static_cast< int >(55)));
23524 SWIG_Python_SetConstant(d, "STC_HJA_DEFAULT",SWIG_From_int(static_cast< int >(56)));
23525 SWIG_Python_SetConstant(d, "STC_HJA_COMMENT",SWIG_From_int(static_cast< int >(57)));
23526 SWIG_Python_SetConstant(d, "STC_HJA_COMMENTLINE",SWIG_From_int(static_cast< int >(58)));
23527 SWIG_Python_SetConstant(d, "STC_HJA_COMMENTDOC",SWIG_From_int(static_cast< int >(59)));
23528 SWIG_Python_SetConstant(d, "STC_HJA_NUMBER",SWIG_From_int(static_cast< int >(60)));
23529 SWIG_Python_SetConstant(d, "STC_HJA_WORD",SWIG_From_int(static_cast< int >(61)));
23530 SWIG_Python_SetConstant(d, "STC_HJA_KEYWORD",SWIG_From_int(static_cast< int >(62)));
23531 SWIG_Python_SetConstant(d, "STC_HJA_DOUBLESTRING",SWIG_From_int(static_cast< int >(63)));
23532 SWIG_Python_SetConstant(d, "STC_HJA_SINGLESTRING",SWIG_From_int(static_cast< int >(64)));
23533 SWIG_Python_SetConstant(d, "STC_HJA_SYMBOLS",SWIG_From_int(static_cast< int >(65)));
23534 SWIG_Python_SetConstant(d, "STC_HJA_STRINGEOL",SWIG_From_int(static_cast< int >(66)));
23535 SWIG_Python_SetConstant(d, "STC_HJA_REGEX",SWIG_From_int(static_cast< int >(67)));
23536 SWIG_Python_SetConstant(d, "STC_HB_START",SWIG_From_int(static_cast< int >(70)));
23537 SWIG_Python_SetConstant(d, "STC_HB_DEFAULT",SWIG_From_int(static_cast< int >(71)));
23538 SWIG_Python_SetConstant(d, "STC_HB_COMMENTLINE",SWIG_From_int(static_cast< int >(72)));
23539 SWIG_Python_SetConstant(d, "STC_HB_NUMBER",SWIG_From_int(static_cast< int >(73)));
23540 SWIG_Python_SetConstant(d, "STC_HB_WORD",SWIG_From_int(static_cast< int >(74)));
23541 SWIG_Python_SetConstant(d, "STC_HB_STRING",SWIG_From_int(static_cast< int >(75)));
23542 SWIG_Python_SetConstant(d, "STC_HB_IDENTIFIER",SWIG_From_int(static_cast< int >(76)));
23543 SWIG_Python_SetConstant(d, "STC_HB_STRINGEOL",SWIG_From_int(static_cast< int >(77)));
23544 SWIG_Python_SetConstant(d, "STC_HBA_START",SWIG_From_int(static_cast< int >(80)));
23545 SWIG_Python_SetConstant(d, "STC_HBA_DEFAULT",SWIG_From_int(static_cast< int >(81)));
23546 SWIG_Python_SetConstant(d, "STC_HBA_COMMENTLINE",SWIG_From_int(static_cast< int >(82)));
23547 SWIG_Python_SetConstant(d, "STC_HBA_NUMBER",SWIG_From_int(static_cast< int >(83)));
23548 SWIG_Python_SetConstant(d, "STC_HBA_WORD",SWIG_From_int(static_cast< int >(84)));
23549 SWIG_Python_SetConstant(d, "STC_HBA_STRING",SWIG_From_int(static_cast< int >(85)));
23550 SWIG_Python_SetConstant(d, "STC_HBA_IDENTIFIER",SWIG_From_int(static_cast< int >(86)));
23551 SWIG_Python_SetConstant(d, "STC_HBA_STRINGEOL",SWIG_From_int(static_cast< int >(87)));
23552 SWIG_Python_SetConstant(d, "STC_HP_START",SWIG_From_int(static_cast< int >(90)));
23553 SWIG_Python_SetConstant(d, "STC_HP_DEFAULT",SWIG_From_int(static_cast< int >(91)));
23554 SWIG_Python_SetConstant(d, "STC_HP_COMMENTLINE",SWIG_From_int(static_cast< int >(92)));
23555 SWIG_Python_SetConstant(d, "STC_HP_NUMBER",SWIG_From_int(static_cast< int >(93)));
23556 SWIG_Python_SetConstant(d, "STC_HP_STRING",SWIG_From_int(static_cast< int >(94)));
23557 SWIG_Python_SetConstant(d, "STC_HP_CHARACTER",SWIG_From_int(static_cast< int >(95)));
23558 SWIG_Python_SetConstant(d, "STC_HP_WORD",SWIG_From_int(static_cast< int >(96)));
23559 SWIG_Python_SetConstant(d, "STC_HP_TRIPLE",SWIG_From_int(static_cast< int >(97)));
23560 SWIG_Python_SetConstant(d, "STC_HP_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(98)));
23561 SWIG_Python_SetConstant(d, "STC_HP_CLASSNAME",SWIG_From_int(static_cast< int >(99)));
23562 SWIG_Python_SetConstant(d, "STC_HP_DEFNAME",SWIG_From_int(static_cast< int >(100)));
23563 SWIG_Python_SetConstant(d, "STC_HP_OPERATOR",SWIG_From_int(static_cast< int >(101)));
23564 SWIG_Python_SetConstant(d, "STC_HP_IDENTIFIER",SWIG_From_int(static_cast< int >(102)));
23565 SWIG_Python_SetConstant(d, "STC_HPHP_COMPLEX_VARIABLE",SWIG_From_int(static_cast< int >(104)));
23566 SWIG_Python_SetConstant(d, "STC_HPA_START",SWIG_From_int(static_cast< int >(105)));
23567 SWIG_Python_SetConstant(d, "STC_HPA_DEFAULT",SWIG_From_int(static_cast< int >(106)));
23568 SWIG_Python_SetConstant(d, "STC_HPA_COMMENTLINE",SWIG_From_int(static_cast< int >(107)));
23569 SWIG_Python_SetConstant(d, "STC_HPA_NUMBER",SWIG_From_int(static_cast< int >(108)));
23570 SWIG_Python_SetConstant(d, "STC_HPA_STRING",SWIG_From_int(static_cast< int >(109)));
23571 SWIG_Python_SetConstant(d, "STC_HPA_CHARACTER",SWIG_From_int(static_cast< int >(110)));
23572 SWIG_Python_SetConstant(d, "STC_HPA_WORD",SWIG_From_int(static_cast< int >(111)));
23573 SWIG_Python_SetConstant(d, "STC_HPA_TRIPLE",SWIG_From_int(static_cast< int >(112)));
23574 SWIG_Python_SetConstant(d, "STC_HPA_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(113)));
23575 SWIG_Python_SetConstant(d, "STC_HPA_CLASSNAME",SWIG_From_int(static_cast< int >(114)));
23576 SWIG_Python_SetConstant(d, "STC_HPA_DEFNAME",SWIG_From_int(static_cast< int >(115)));
23577 SWIG_Python_SetConstant(d, "STC_HPA_OPERATOR",SWIG_From_int(static_cast< int >(116)));
23578 SWIG_Python_SetConstant(d, "STC_HPA_IDENTIFIER",SWIG_From_int(static_cast< int >(117)));
23579 SWIG_Python_SetConstant(d, "STC_HPHP_DEFAULT",SWIG_From_int(static_cast< int >(118)));
23580 SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING",SWIG_From_int(static_cast< int >(119)));
23581 SWIG_Python_SetConstant(d, "STC_HPHP_SIMPLESTRING",SWIG_From_int(static_cast< int >(120)));
23582 SWIG_Python_SetConstant(d, "STC_HPHP_WORD",SWIG_From_int(static_cast< int >(121)));
23583 SWIG_Python_SetConstant(d, "STC_HPHP_NUMBER",SWIG_From_int(static_cast< int >(122)));
23584 SWIG_Python_SetConstant(d, "STC_HPHP_VARIABLE",SWIG_From_int(static_cast< int >(123)));
23585 SWIG_Python_SetConstant(d, "STC_HPHP_COMMENT",SWIG_From_int(static_cast< int >(124)));
23586 SWIG_Python_SetConstant(d, "STC_HPHP_COMMENTLINE",SWIG_From_int(static_cast< int >(125)));
23587 SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING_VARIABLE",SWIG_From_int(static_cast< int >(126)));
23588 SWIG_Python_SetConstant(d, "STC_HPHP_OPERATOR",SWIG_From_int(static_cast< int >(127)));
23589 SWIG_Python_SetConstant(d, "STC_PL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23590 SWIG_Python_SetConstant(d, "STC_PL_ERROR",SWIG_From_int(static_cast< int >(1)));
23591 SWIG_Python_SetConstant(d, "STC_PL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23592 SWIG_Python_SetConstant(d, "STC_PL_POD",SWIG_From_int(static_cast< int >(3)));
23593 SWIG_Python_SetConstant(d, "STC_PL_NUMBER",SWIG_From_int(static_cast< int >(4)));
23594 SWIG_Python_SetConstant(d, "STC_PL_WORD",SWIG_From_int(static_cast< int >(5)));
23595 SWIG_Python_SetConstant(d, "STC_PL_STRING",SWIG_From_int(static_cast< int >(6)));
23596 SWIG_Python_SetConstant(d, "STC_PL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23597 SWIG_Python_SetConstant(d, "STC_PL_PUNCTUATION",SWIG_From_int(static_cast< int >(8)));
23598 SWIG_Python_SetConstant(d, "STC_PL_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23599 SWIG_Python_SetConstant(d, "STC_PL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23600 SWIG_Python_SetConstant(d, "STC_PL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23601 SWIG_Python_SetConstant(d, "STC_PL_SCALAR",SWIG_From_int(static_cast< int >(12)));
23602 SWIG_Python_SetConstant(d, "STC_PL_ARRAY",SWIG_From_int(static_cast< int >(13)));
23603 SWIG_Python_SetConstant(d, "STC_PL_HASH",SWIG_From_int(static_cast< int >(14)));
23604 SWIG_Python_SetConstant(d, "STC_PL_SYMBOLTABLE",SWIG_From_int(static_cast< int >(15)));
23605 SWIG_Python_SetConstant(d, "STC_PL_VARIABLE_INDEXER",SWIG_From_int(static_cast< int >(16)));
23606 SWIG_Python_SetConstant(d, "STC_PL_REGEX",SWIG_From_int(static_cast< int >(17)));
23607 SWIG_Python_SetConstant(d, "STC_PL_REGSUBST",SWIG_From_int(static_cast< int >(18)));
23608 SWIG_Python_SetConstant(d, "STC_PL_LONGQUOTE",SWIG_From_int(static_cast< int >(19)));
23609 SWIG_Python_SetConstant(d, "STC_PL_BACKTICKS",SWIG_From_int(static_cast< int >(20)));
23610 SWIG_Python_SetConstant(d, "STC_PL_DATASECTION",SWIG_From_int(static_cast< int >(21)));
23611 SWIG_Python_SetConstant(d, "STC_PL_HERE_DELIM",SWIG_From_int(static_cast< int >(22)));
23612 SWIG_Python_SetConstant(d, "STC_PL_HERE_Q",SWIG_From_int(static_cast< int >(23)));
23613 SWIG_Python_SetConstant(d, "STC_PL_HERE_QQ",SWIG_From_int(static_cast< int >(24)));
23614 SWIG_Python_SetConstant(d, "STC_PL_HERE_QX",SWIG_From_int(static_cast< int >(25)));
23615 SWIG_Python_SetConstant(d, "STC_PL_STRING_Q",SWIG_From_int(static_cast< int >(26)));
23616 SWIG_Python_SetConstant(d, "STC_PL_STRING_QQ",SWIG_From_int(static_cast< int >(27)));
23617 SWIG_Python_SetConstant(d, "STC_PL_STRING_QX",SWIG_From_int(static_cast< int >(28)));
23618 SWIG_Python_SetConstant(d, "STC_PL_STRING_QR",SWIG_From_int(static_cast< int >(29)));
23619 SWIG_Python_SetConstant(d, "STC_PL_STRING_QW",SWIG_From_int(static_cast< int >(30)));
23620 SWIG_Python_SetConstant(d, "STC_PL_POD_VERB",SWIG_From_int(static_cast< int >(31)));
23621 SWIG_Python_SetConstant(d, "STC_RB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23622 SWIG_Python_SetConstant(d, "STC_RB_ERROR",SWIG_From_int(static_cast< int >(1)));
23623 SWIG_Python_SetConstant(d, "STC_RB_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23624 SWIG_Python_SetConstant(d, "STC_RB_POD",SWIG_From_int(static_cast< int >(3)));
23625 SWIG_Python_SetConstant(d, "STC_RB_NUMBER",SWIG_From_int(static_cast< int >(4)));
23626 SWIG_Python_SetConstant(d, "STC_RB_WORD",SWIG_From_int(static_cast< int >(5)));
23627 SWIG_Python_SetConstant(d, "STC_RB_STRING",SWIG_From_int(static_cast< int >(6)));
23628 SWIG_Python_SetConstant(d, "STC_RB_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23629 SWIG_Python_SetConstant(d, "STC_RB_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23630 SWIG_Python_SetConstant(d, "STC_RB_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23631 SWIG_Python_SetConstant(d, "STC_RB_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23632 SWIG_Python_SetConstant(d, "STC_RB_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23633 SWIG_Python_SetConstant(d, "STC_RB_REGEX",SWIG_From_int(static_cast< int >(12)));
23634 SWIG_Python_SetConstant(d, "STC_RB_GLOBAL",SWIG_From_int(static_cast< int >(13)));
23635 SWIG_Python_SetConstant(d, "STC_RB_SYMBOL",SWIG_From_int(static_cast< int >(14)));
23636 SWIG_Python_SetConstant(d, "STC_RB_MODULE_NAME",SWIG_From_int(static_cast< int >(15)));
23637 SWIG_Python_SetConstant(d, "STC_RB_INSTANCE_VAR",SWIG_From_int(static_cast< int >(16)));
23638 SWIG_Python_SetConstant(d, "STC_RB_CLASS_VAR",SWIG_From_int(static_cast< int >(17)));
23639 SWIG_Python_SetConstant(d, "STC_RB_BACKTICKS",SWIG_From_int(static_cast< int >(18)));
23640 SWIG_Python_SetConstant(d, "STC_RB_DATASECTION",SWIG_From_int(static_cast< int >(19)));
23641 SWIG_Python_SetConstant(d, "STC_RB_HERE_DELIM",SWIG_From_int(static_cast< int >(20)));
23642 SWIG_Python_SetConstant(d, "STC_RB_HERE_Q",SWIG_From_int(static_cast< int >(21)));
23643 SWIG_Python_SetConstant(d, "STC_RB_HERE_QQ",SWIG_From_int(static_cast< int >(22)));
23644 SWIG_Python_SetConstant(d, "STC_RB_HERE_QX",SWIG_From_int(static_cast< int >(23)));
23645 SWIG_Python_SetConstant(d, "STC_RB_STRING_Q",SWIG_From_int(static_cast< int >(24)));
23646 SWIG_Python_SetConstant(d, "STC_RB_STRING_QQ",SWIG_From_int(static_cast< int >(25)));
23647 SWIG_Python_SetConstant(d, "STC_RB_STRING_QX",SWIG_From_int(static_cast< int >(26)));
23648 SWIG_Python_SetConstant(d, "STC_RB_STRING_QR",SWIG_From_int(static_cast< int >(27)));
23649 SWIG_Python_SetConstant(d, "STC_RB_STRING_QW",SWIG_From_int(static_cast< int >(28)));
23650 SWIG_Python_SetConstant(d, "STC_RB_WORD_DEMOTED",SWIG_From_int(static_cast< int >(29)));
23651 SWIG_Python_SetConstant(d, "STC_RB_STDIN",SWIG_From_int(static_cast< int >(30)));
23652 SWIG_Python_SetConstant(d, "STC_RB_STDOUT",SWIG_From_int(static_cast< int >(31)));
23653 SWIG_Python_SetConstant(d, "STC_RB_STDERR",SWIG_From_int(static_cast< int >(40)));
23654 SWIG_Python_SetConstant(d, "STC_RB_UPPER_BOUND",SWIG_From_int(static_cast< int >(41)));
23655 SWIG_Python_SetConstant(d, "STC_B_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23656 SWIG_Python_SetConstant(d, "STC_B_COMMENT",SWIG_From_int(static_cast< int >(1)));
23657 SWIG_Python_SetConstant(d, "STC_B_NUMBER",SWIG_From_int(static_cast< int >(2)));
23658 SWIG_Python_SetConstant(d, "STC_B_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23659 SWIG_Python_SetConstant(d, "STC_B_STRING",SWIG_From_int(static_cast< int >(4)));
23660 SWIG_Python_SetConstant(d, "STC_B_PREPROCESSOR",SWIG_From_int(static_cast< int >(5)));
23661 SWIG_Python_SetConstant(d, "STC_B_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23662 SWIG_Python_SetConstant(d, "STC_B_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23663 SWIG_Python_SetConstant(d, "STC_B_DATE",SWIG_From_int(static_cast< int >(8)));
23664 SWIG_Python_SetConstant(d, "STC_B_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23665 SWIG_Python_SetConstant(d, "STC_B_KEYWORD2",SWIG_From_int(static_cast< int >(10)));
23666 SWIG_Python_SetConstant(d, "STC_B_KEYWORD3",SWIG_From_int(static_cast< int >(11)));
23667 SWIG_Python_SetConstant(d, "STC_B_KEYWORD4",SWIG_From_int(static_cast< int >(12)));
23668 SWIG_Python_SetConstant(d, "STC_B_CONSTANT",SWIG_From_int(static_cast< int >(13)));
23669 SWIG_Python_SetConstant(d, "STC_B_ASM",SWIG_From_int(static_cast< int >(14)));
23670 SWIG_Python_SetConstant(d, "STC_B_LABEL",SWIG_From_int(static_cast< int >(15)));
23671 SWIG_Python_SetConstant(d, "STC_B_ERROR",SWIG_From_int(static_cast< int >(16)));
23672 SWIG_Python_SetConstant(d, "STC_B_HEXNUMBER",SWIG_From_int(static_cast< int >(17)));
23673 SWIG_Python_SetConstant(d, "STC_B_BINNUMBER",SWIG_From_int(static_cast< int >(18)));
23674 SWIG_Python_SetConstant(d, "STC_PROPS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23675 SWIG_Python_SetConstant(d, "STC_PROPS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23676 SWIG_Python_SetConstant(d, "STC_PROPS_SECTION",SWIG_From_int(static_cast< int >(2)));
23677 SWIG_Python_SetConstant(d, "STC_PROPS_ASSIGNMENT",SWIG_From_int(static_cast< int >(3)));
23678 SWIG_Python_SetConstant(d, "STC_PROPS_DEFVAL",SWIG_From_int(static_cast< int >(4)));
23679 SWIG_Python_SetConstant(d, "STC_PROPS_KEY",SWIG_From_int(static_cast< int >(5)));
23680 SWIG_Python_SetConstant(d, "STC_L_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23681 SWIG_Python_SetConstant(d, "STC_L_COMMAND",SWIG_From_int(static_cast< int >(1)));
23682 SWIG_Python_SetConstant(d, "STC_L_TAG",SWIG_From_int(static_cast< int >(2)));
23683 SWIG_Python_SetConstant(d, "STC_L_MATH",SWIG_From_int(static_cast< int >(3)));
23684 SWIG_Python_SetConstant(d, "STC_L_COMMENT",SWIG_From_int(static_cast< int >(4)));
23685 SWIG_Python_SetConstant(d, "STC_LUA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23686 SWIG_Python_SetConstant(d, "STC_LUA_COMMENT",SWIG_From_int(static_cast< int >(1)));
23687 SWIG_Python_SetConstant(d, "STC_LUA_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23688 SWIG_Python_SetConstant(d, "STC_LUA_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23689 SWIG_Python_SetConstant(d, "STC_LUA_NUMBER",SWIG_From_int(static_cast< int >(4)));
23690 SWIG_Python_SetConstant(d, "STC_LUA_WORD",SWIG_From_int(static_cast< int >(5)));
23691 SWIG_Python_SetConstant(d, "STC_LUA_STRING",SWIG_From_int(static_cast< int >(6)));
23692 SWIG_Python_SetConstant(d, "STC_LUA_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23693 SWIG_Python_SetConstant(d, "STC_LUA_LITERALSTRING",SWIG_From_int(static_cast< int >(8)));
23694 SWIG_Python_SetConstant(d, "STC_LUA_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23695 SWIG_Python_SetConstant(d, "STC_LUA_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23696 SWIG_Python_SetConstant(d, "STC_LUA_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23697 SWIG_Python_SetConstant(d, "STC_LUA_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23698 SWIG_Python_SetConstant(d, "STC_LUA_WORD2",SWIG_From_int(static_cast< int >(13)));
23699 SWIG_Python_SetConstant(d, "STC_LUA_WORD3",SWIG_From_int(static_cast< int >(14)));
23700 SWIG_Python_SetConstant(d, "STC_LUA_WORD4",SWIG_From_int(static_cast< int >(15)));
23701 SWIG_Python_SetConstant(d, "STC_LUA_WORD5",SWIG_From_int(static_cast< int >(16)));
23702 SWIG_Python_SetConstant(d, "STC_LUA_WORD6",SWIG_From_int(static_cast< int >(17)));
23703 SWIG_Python_SetConstant(d, "STC_LUA_WORD7",SWIG_From_int(static_cast< int >(18)));
23704 SWIG_Python_SetConstant(d, "STC_LUA_WORD8",SWIG_From_int(static_cast< int >(19)));
23705 SWIG_Python_SetConstant(d, "STC_ERR_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23706 SWIG_Python_SetConstant(d, "STC_ERR_PYTHON",SWIG_From_int(static_cast< int >(1)));
23707 SWIG_Python_SetConstant(d, "STC_ERR_GCC",SWIG_From_int(static_cast< int >(2)));
23708 SWIG_Python_SetConstant(d, "STC_ERR_MS",SWIG_From_int(static_cast< int >(3)));
23709 SWIG_Python_SetConstant(d, "STC_ERR_CMD",SWIG_From_int(static_cast< int >(4)));
23710 SWIG_Python_SetConstant(d, "STC_ERR_BORLAND",SWIG_From_int(static_cast< int >(5)));
23711 SWIG_Python_SetConstant(d, "STC_ERR_PERL",SWIG_From_int(static_cast< int >(6)));
23712 SWIG_Python_SetConstant(d, "STC_ERR_NET",SWIG_From_int(static_cast< int >(7)));
23713 SWIG_Python_SetConstant(d, "STC_ERR_LUA",SWIG_From_int(static_cast< int >(8)));
23714 SWIG_Python_SetConstant(d, "STC_ERR_CTAG",SWIG_From_int(static_cast< int >(9)));
23715 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_CHANGED",SWIG_From_int(static_cast< int >(10)));
23716 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_ADDITION",SWIG_From_int(static_cast< int >(11)));
23717 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_DELETION",SWIG_From_int(static_cast< int >(12)));
23718 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_MESSAGE",SWIG_From_int(static_cast< int >(13)));
23719 SWIG_Python_SetConstant(d, "STC_ERR_PHP",SWIG_From_int(static_cast< int >(14)));
23720 SWIG_Python_SetConstant(d, "STC_ERR_ELF",SWIG_From_int(static_cast< int >(15)));
23721 SWIG_Python_SetConstant(d, "STC_ERR_IFC",SWIG_From_int(static_cast< int >(16)));
23722 SWIG_Python_SetConstant(d, "STC_ERR_IFORT",SWIG_From_int(static_cast< int >(17)));
23723 SWIG_Python_SetConstant(d, "STC_ERR_ABSF",SWIG_From_int(static_cast< int >(18)));
23724 SWIG_Python_SetConstant(d, "STC_ERR_TIDY",SWIG_From_int(static_cast< int >(19)));
23725 SWIG_Python_SetConstant(d, "STC_ERR_JAVA_STACK",SWIG_From_int(static_cast< int >(20)));
23726 SWIG_Python_SetConstant(d, "STC_BAT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23727 SWIG_Python_SetConstant(d, "STC_BAT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23728 SWIG_Python_SetConstant(d, "STC_BAT_WORD",SWIG_From_int(static_cast< int >(2)));
23729 SWIG_Python_SetConstant(d, "STC_BAT_LABEL",SWIG_From_int(static_cast< int >(3)));
23730 SWIG_Python_SetConstant(d, "STC_BAT_HIDE",SWIG_From_int(static_cast< int >(4)));
23731 SWIG_Python_SetConstant(d, "STC_BAT_COMMAND",SWIG_From_int(static_cast< int >(5)));
23732 SWIG_Python_SetConstant(d, "STC_BAT_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23733 SWIG_Python_SetConstant(d, "STC_BAT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23734 SWIG_Python_SetConstant(d, "STC_MAKE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23735 SWIG_Python_SetConstant(d, "STC_MAKE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23736 SWIG_Python_SetConstant(d, "STC_MAKE_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
23737 SWIG_Python_SetConstant(d, "STC_MAKE_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23738 SWIG_Python_SetConstant(d, "STC_MAKE_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23739 SWIG_Python_SetConstant(d, "STC_MAKE_TARGET",SWIG_From_int(static_cast< int >(5)));
23740 SWIG_Python_SetConstant(d, "STC_MAKE_IDEOL",SWIG_From_int(static_cast< int >(9)));
23741 SWIG_Python_SetConstant(d, "STC_DIFF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23742 SWIG_Python_SetConstant(d, "STC_DIFF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23743 SWIG_Python_SetConstant(d, "STC_DIFF_COMMAND",SWIG_From_int(static_cast< int >(2)));
23744 SWIG_Python_SetConstant(d, "STC_DIFF_HEADER",SWIG_From_int(static_cast< int >(3)));
23745 SWIG_Python_SetConstant(d, "STC_DIFF_POSITION",SWIG_From_int(static_cast< int >(4)));
23746 SWIG_Python_SetConstant(d, "STC_DIFF_DELETED",SWIG_From_int(static_cast< int >(5)));
23747 SWIG_Python_SetConstant(d, "STC_DIFF_ADDED",SWIG_From_int(static_cast< int >(6)));
23748 SWIG_Python_SetConstant(d, "STC_CONF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23749 SWIG_Python_SetConstant(d, "STC_CONF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23750 SWIG_Python_SetConstant(d, "STC_CONF_NUMBER",SWIG_From_int(static_cast< int >(2)));
23751 SWIG_Python_SetConstant(d, "STC_CONF_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23752 SWIG_Python_SetConstant(d, "STC_CONF_EXTENSION",SWIG_From_int(static_cast< int >(4)));
23753 SWIG_Python_SetConstant(d, "STC_CONF_PARAMETER",SWIG_From_int(static_cast< int >(5)));
23754 SWIG_Python_SetConstant(d, "STC_CONF_STRING",SWIG_From_int(static_cast< int >(6)));
23755 SWIG_Python_SetConstant(d, "STC_CONF_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23756 SWIG_Python_SetConstant(d, "STC_CONF_IP",SWIG_From_int(static_cast< int >(8)));
23757 SWIG_Python_SetConstant(d, "STC_CONF_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23758 SWIG_Python_SetConstant(d, "STC_AVE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23759 SWIG_Python_SetConstant(d, "STC_AVE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23760 SWIG_Python_SetConstant(d, "STC_AVE_NUMBER",SWIG_From_int(static_cast< int >(2)));
23761 SWIG_Python_SetConstant(d, "STC_AVE_WORD",SWIG_From_int(static_cast< int >(3)));
23762 SWIG_Python_SetConstant(d, "STC_AVE_STRING",SWIG_From_int(static_cast< int >(6)));
23763 SWIG_Python_SetConstant(d, "STC_AVE_ENUM",SWIG_From_int(static_cast< int >(7)));
23764 SWIG_Python_SetConstant(d, "STC_AVE_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23765 SWIG_Python_SetConstant(d, "STC_AVE_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23766 SWIG_Python_SetConstant(d, "STC_AVE_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23767 SWIG_Python_SetConstant(d, "STC_AVE_WORD1",SWIG_From_int(static_cast< int >(11)));
23768 SWIG_Python_SetConstant(d, "STC_AVE_WORD2",SWIG_From_int(static_cast< int >(12)));
23769 SWIG_Python_SetConstant(d, "STC_AVE_WORD3",SWIG_From_int(static_cast< int >(13)));
23770 SWIG_Python_SetConstant(d, "STC_AVE_WORD4",SWIG_From_int(static_cast< int >(14)));
23771 SWIG_Python_SetConstant(d, "STC_AVE_WORD5",SWIG_From_int(static_cast< int >(15)));
23772 SWIG_Python_SetConstant(d, "STC_AVE_WORD6",SWIG_From_int(static_cast< int >(16)));
23773 SWIG_Python_SetConstant(d, "STC_ADA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23774 SWIG_Python_SetConstant(d, "STC_ADA_WORD",SWIG_From_int(static_cast< int >(1)));
23775 SWIG_Python_SetConstant(d, "STC_ADA_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
23776 SWIG_Python_SetConstant(d, "STC_ADA_NUMBER",SWIG_From_int(static_cast< int >(3)));
23777 SWIG_Python_SetConstant(d, "STC_ADA_DELIMITER",SWIG_From_int(static_cast< int >(4)));
23778 SWIG_Python_SetConstant(d, "STC_ADA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23779 SWIG_Python_SetConstant(d, "STC_ADA_CHARACTEREOL",SWIG_From_int(static_cast< int >(6)));
23780 SWIG_Python_SetConstant(d, "STC_ADA_STRING",SWIG_From_int(static_cast< int >(7)));
23781 SWIG_Python_SetConstant(d, "STC_ADA_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23782 SWIG_Python_SetConstant(d, "STC_ADA_LABEL",SWIG_From_int(static_cast< int >(9)));
23783 SWIG_Python_SetConstant(d, "STC_ADA_COMMENTLINE",SWIG_From_int(static_cast< int >(10)));
23784 SWIG_Python_SetConstant(d, "STC_ADA_ILLEGAL",SWIG_From_int(static_cast< int >(11)));
23785 SWIG_Python_SetConstant(d, "STC_BAAN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23786 SWIG_Python_SetConstant(d, "STC_BAAN_COMMENT",SWIG_From_int(static_cast< int >(1)));
23787 SWIG_Python_SetConstant(d, "STC_BAAN_COMMENTDOC",SWIG_From_int(static_cast< int >(2)));
23788 SWIG_Python_SetConstant(d, "STC_BAAN_NUMBER",SWIG_From_int(static_cast< int >(3)));
23789 SWIG_Python_SetConstant(d, "STC_BAAN_WORD",SWIG_From_int(static_cast< int >(4)));
23790 SWIG_Python_SetConstant(d, "STC_BAAN_STRING",SWIG_From_int(static_cast< int >(5)));
23791 SWIG_Python_SetConstant(d, "STC_BAAN_PREPROCESSOR",SWIG_From_int(static_cast< int >(6)));
23792 SWIG_Python_SetConstant(d, "STC_BAAN_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23793 SWIG_Python_SetConstant(d, "STC_BAAN_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23794 SWIG_Python_SetConstant(d, "STC_BAAN_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23795 SWIG_Python_SetConstant(d, "STC_BAAN_WORD2",SWIG_From_int(static_cast< int >(10)));
23796 SWIG_Python_SetConstant(d, "STC_LISP_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23797 SWIG_Python_SetConstant(d, "STC_LISP_COMMENT",SWIG_From_int(static_cast< int >(1)));
23798 SWIG_Python_SetConstant(d, "STC_LISP_NUMBER",SWIG_From_int(static_cast< int >(2)));
23799 SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23800 SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD_KW",SWIG_From_int(static_cast< int >(4)));
23801 SWIG_Python_SetConstant(d, "STC_LISP_SYMBOL",SWIG_From_int(static_cast< int >(5)));
23802 SWIG_Python_SetConstant(d, "STC_LISP_STRING",SWIG_From_int(static_cast< int >(6)));
23803 SWIG_Python_SetConstant(d, "STC_LISP_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23804 SWIG_Python_SetConstant(d, "STC_LISP_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23805 SWIG_Python_SetConstant(d, "STC_LISP_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23806 SWIG_Python_SetConstant(d, "STC_LISP_SPECIAL",SWIG_From_int(static_cast< int >(11)));
23807 SWIG_Python_SetConstant(d, "STC_LISP_MULTI_COMMENT",SWIG_From_int(static_cast< int >(12)));
23808 SWIG_Python_SetConstant(d, "STC_EIFFEL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23809 SWIG_Python_SetConstant(d, "STC_EIFFEL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23810 SWIG_Python_SetConstant(d, "STC_EIFFEL_NUMBER",SWIG_From_int(static_cast< int >(2)));
23811 SWIG_Python_SetConstant(d, "STC_EIFFEL_WORD",SWIG_From_int(static_cast< int >(3)));
23812 SWIG_Python_SetConstant(d, "STC_EIFFEL_STRING",SWIG_From_int(static_cast< int >(4)));
23813 SWIG_Python_SetConstant(d, "STC_EIFFEL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23814 SWIG_Python_SetConstant(d, "STC_EIFFEL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23815 SWIG_Python_SetConstant(d, "STC_EIFFEL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23816 SWIG_Python_SetConstant(d, "STC_EIFFEL_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23817 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23818 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23819 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_TASK",SWIG_From_int(static_cast< int >(2)));
23820 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_SECTION",SWIG_From_int(static_cast< int >(3)));
23821 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23822 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_MODIFIER",SWIG_From_int(static_cast< int >(5)));
23823 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ASTERISK",SWIG_From_int(static_cast< int >(6)));
23824 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_NUMBER",SWIG_From_int(static_cast< int >(7)));
23825 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_STRING",SWIG_From_int(static_cast< int >(8)));
23826 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ENVIRONMENT",SWIG_From_int(static_cast< int >(9)));
23827 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_IDENTIFIER",SWIG_From_int(static_cast< int >(10)));
23828 SWIG_Python_SetConstant(d, "STC_FORTH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23829 SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT",SWIG_From_int(static_cast< int >(1)));
23830 SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT_ML",SWIG_From_int(static_cast< int >(2)));
23831 SWIG_Python_SetConstant(d, "STC_FORTH_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23832 SWIG_Python_SetConstant(d, "STC_FORTH_CONTROL",SWIG_From_int(static_cast< int >(4)));
23833 SWIG_Python_SetConstant(d, "STC_FORTH_KEYWORD",SWIG_From_int(static_cast< int >(5)));
23834 SWIG_Python_SetConstant(d, "STC_FORTH_DEFWORD",SWIG_From_int(static_cast< int >(6)));
23835 SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD1",SWIG_From_int(static_cast< int >(7)));
23836 SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD2",SWIG_From_int(static_cast< int >(8)));
23837 SWIG_Python_SetConstant(d, "STC_FORTH_NUMBER",SWIG_From_int(static_cast< int >(9)));
23838 SWIG_Python_SetConstant(d, "STC_FORTH_STRING",SWIG_From_int(static_cast< int >(10)));
23839 SWIG_Python_SetConstant(d, "STC_FORTH_LOCALE",SWIG_From_int(static_cast< int >(11)));
23840 SWIG_Python_SetConstant(d, "STC_MATLAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23841 SWIG_Python_SetConstant(d, "STC_MATLAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23842 SWIG_Python_SetConstant(d, "STC_MATLAB_COMMAND",SWIG_From_int(static_cast< int >(2)));
23843 SWIG_Python_SetConstant(d, "STC_MATLAB_NUMBER",SWIG_From_int(static_cast< int >(3)));
23844 SWIG_Python_SetConstant(d, "STC_MATLAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23845 SWIG_Python_SetConstant(d, "STC_MATLAB_STRING",SWIG_From_int(static_cast< int >(5)));
23846 SWIG_Python_SetConstant(d, "STC_MATLAB_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23847 SWIG_Python_SetConstant(d, "STC_MATLAB_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23848 SWIG_Python_SetConstant(d, "STC_MATLAB_DOUBLEQUOTESTRING",SWIG_From_int(static_cast< int >(8)));
23849 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23850 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_WHITE",SWIG_From_int(static_cast< int >(1)));
23851 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23852 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PERSISTENT",SWIG_From_int(static_cast< int >(3)));
23853 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CSTYLE",SWIG_From_int(static_cast< int >(4)));
23854 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(5)));
23855 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_NUMBER",SWIG_From_int(static_cast< int >(6)));
23856 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRING",SWIG_From_int(static_cast< int >(7)));
23857 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CHARACTER",SWIG_From_int(static_cast< int >(8)));
23858 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23859 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_KEYWORD",SWIG_From_int(static_cast< int >(10)));
23860 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_OPERATOR",SWIG_From_int(static_cast< int >(11)));
23861 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
23862 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_TRIPLE",SWIG_From_int(static_cast< int >(13)));
23863 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CLASSNAME",SWIG_From_int(static_cast< int >(14)));
23864 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PREPROCESSOR",SWIG_From_int(static_cast< int >(15)));
23865 SWIG_Python_SetConstant(d, "STC_ASM_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23866 SWIG_Python_SetConstant(d, "STC_ASM_COMMENT",SWIG_From_int(static_cast< int >(1)));
23867 SWIG_Python_SetConstant(d, "STC_ASM_NUMBER",SWIG_From_int(static_cast< int >(2)));
23868 SWIG_Python_SetConstant(d, "STC_ASM_STRING",SWIG_From_int(static_cast< int >(3)));
23869 SWIG_Python_SetConstant(d, "STC_ASM_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23870 SWIG_Python_SetConstant(d, "STC_ASM_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23871 SWIG_Python_SetConstant(d, "STC_ASM_CPUINSTRUCTION",SWIG_From_int(static_cast< int >(6)));
23872 SWIG_Python_SetConstant(d, "STC_ASM_MATHINSTRUCTION",SWIG_From_int(static_cast< int >(7)));
23873 SWIG_Python_SetConstant(d, "STC_ASM_REGISTER",SWIG_From_int(static_cast< int >(8)));
23874 SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23875 SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVEOPERAND",SWIG_From_int(static_cast< int >(10)));
23876 SWIG_Python_SetConstant(d, "STC_ASM_COMMENTBLOCK",SWIG_From_int(static_cast< int >(11)));
23877 SWIG_Python_SetConstant(d, "STC_ASM_CHARACTER",SWIG_From_int(static_cast< int >(12)));
23878 SWIG_Python_SetConstant(d, "STC_ASM_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23879 SWIG_Python_SetConstant(d, "STC_ASM_EXTINSTRUCTION",SWIG_From_int(static_cast< int >(14)));
23880 SWIG_Python_SetConstant(d, "STC_F_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23881 SWIG_Python_SetConstant(d, "STC_F_COMMENT",SWIG_From_int(static_cast< int >(1)));
23882 SWIG_Python_SetConstant(d, "STC_F_NUMBER",SWIG_From_int(static_cast< int >(2)));
23883 SWIG_Python_SetConstant(d, "STC_F_STRING1",SWIG_From_int(static_cast< int >(3)));
23884 SWIG_Python_SetConstant(d, "STC_F_STRING2",SWIG_From_int(static_cast< int >(4)));
23885 SWIG_Python_SetConstant(d, "STC_F_STRINGEOL",SWIG_From_int(static_cast< int >(5)));
23886 SWIG_Python_SetConstant(d, "STC_F_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23887 SWIG_Python_SetConstant(d, "STC_F_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23888 SWIG_Python_SetConstant(d, "STC_F_WORD",SWIG_From_int(static_cast< int >(8)));
23889 SWIG_Python_SetConstant(d, "STC_F_WORD2",SWIG_From_int(static_cast< int >(9)));
23890 SWIG_Python_SetConstant(d, "STC_F_WORD3",SWIG_From_int(static_cast< int >(10)));
23891 SWIG_Python_SetConstant(d, "STC_F_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
23892 SWIG_Python_SetConstant(d, "STC_F_OPERATOR2",SWIG_From_int(static_cast< int >(12)));
23893 SWIG_Python_SetConstant(d, "STC_F_LABEL",SWIG_From_int(static_cast< int >(13)));
23894 SWIG_Python_SetConstant(d, "STC_F_CONTINUATION",SWIG_From_int(static_cast< int >(14)));
23895 SWIG_Python_SetConstant(d, "STC_CSS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23896 SWIG_Python_SetConstant(d, "STC_CSS_TAG",SWIG_From_int(static_cast< int >(1)));
23897 SWIG_Python_SetConstant(d, "STC_CSS_CLASS",SWIG_From_int(static_cast< int >(2)));
23898 SWIG_Python_SetConstant(d, "STC_CSS_PSEUDOCLASS",SWIG_From_int(static_cast< int >(3)));
23899 SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_PSEUDOCLASS",SWIG_From_int(static_cast< int >(4)));
23900 SWIG_Python_SetConstant(d, "STC_CSS_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23901 SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23902 SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23903 SWIG_Python_SetConstant(d, "STC_CSS_VALUE",SWIG_From_int(static_cast< int >(8)));
23904 SWIG_Python_SetConstant(d, "STC_CSS_COMMENT",SWIG_From_int(static_cast< int >(9)));
23905 SWIG_Python_SetConstant(d, "STC_CSS_ID",SWIG_From_int(static_cast< int >(10)));
23906 SWIG_Python_SetConstant(d, "STC_CSS_IMPORTANT",SWIG_From_int(static_cast< int >(11)));
23907 SWIG_Python_SetConstant(d, "STC_CSS_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
23908 SWIG_Python_SetConstant(d, "STC_CSS_DOUBLESTRING",SWIG_From_int(static_cast< int >(13)));
23909 SWIG_Python_SetConstant(d, "STC_CSS_SINGLESTRING",SWIG_From_int(static_cast< int >(14)));
23910 SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER2",SWIG_From_int(static_cast< int >(15)));
23911 SWIG_Python_SetConstant(d, "STC_CSS_ATTRIBUTE",SWIG_From_int(static_cast< int >(16)));
23912 SWIG_Python_SetConstant(d, "STC_POV_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23913 SWIG_Python_SetConstant(d, "STC_POV_COMMENT",SWIG_From_int(static_cast< int >(1)));
23914 SWIG_Python_SetConstant(d, "STC_POV_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23915 SWIG_Python_SetConstant(d, "STC_POV_NUMBER",SWIG_From_int(static_cast< int >(3)));
23916 SWIG_Python_SetConstant(d, "STC_POV_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23917 SWIG_Python_SetConstant(d, "STC_POV_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23918 SWIG_Python_SetConstant(d, "STC_POV_STRING",SWIG_From_int(static_cast< int >(6)));
23919 SWIG_Python_SetConstant(d, "STC_POV_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
23920 SWIG_Python_SetConstant(d, "STC_POV_DIRECTIVE",SWIG_From_int(static_cast< int >(8)));
23921 SWIG_Python_SetConstant(d, "STC_POV_BADDIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23922 SWIG_Python_SetConstant(d, "STC_POV_WORD2",SWIG_From_int(static_cast< int >(10)));
23923 SWIG_Python_SetConstant(d, "STC_POV_WORD3",SWIG_From_int(static_cast< int >(11)));
23924 SWIG_Python_SetConstant(d, "STC_POV_WORD4",SWIG_From_int(static_cast< int >(12)));
23925 SWIG_Python_SetConstant(d, "STC_POV_WORD5",SWIG_From_int(static_cast< int >(13)));
23926 SWIG_Python_SetConstant(d, "STC_POV_WORD6",SWIG_From_int(static_cast< int >(14)));
23927 SWIG_Python_SetConstant(d, "STC_POV_WORD7",SWIG_From_int(static_cast< int >(15)));
23928 SWIG_Python_SetConstant(d, "STC_POV_WORD8",SWIG_From_int(static_cast< int >(16)));
23929 SWIG_Python_SetConstant(d, "STC_LOUT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23930 SWIG_Python_SetConstant(d, "STC_LOUT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23931 SWIG_Python_SetConstant(d, "STC_LOUT_NUMBER",SWIG_From_int(static_cast< int >(2)));
23932 SWIG_Python_SetConstant(d, "STC_LOUT_WORD",SWIG_From_int(static_cast< int >(3)));
23933 SWIG_Python_SetConstant(d, "STC_LOUT_WORD2",SWIG_From_int(static_cast< int >(4)));
23934 SWIG_Python_SetConstant(d, "STC_LOUT_WORD3",SWIG_From_int(static_cast< int >(5)));
23935 SWIG_Python_SetConstant(d, "STC_LOUT_WORD4",SWIG_From_int(static_cast< int >(6)));
23936 SWIG_Python_SetConstant(d, "STC_LOUT_STRING",SWIG_From_int(static_cast< int >(7)));
23937 SWIG_Python_SetConstant(d, "STC_LOUT_OPERATOR",SWIG_From_int(static_cast< int >(8)));
23938 SWIG_Python_SetConstant(d, "STC_LOUT_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23939 SWIG_Python_SetConstant(d, "STC_LOUT_STRINGEOL",SWIG_From_int(static_cast< int >(10)));
23940 SWIG_Python_SetConstant(d, "STC_ESCRIPT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23941 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23942 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23943 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23944 SWIG_Python_SetConstant(d, "STC_ESCRIPT_NUMBER",SWIG_From_int(static_cast< int >(4)));
23945 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD",SWIG_From_int(static_cast< int >(5)));
23946 SWIG_Python_SetConstant(d, "STC_ESCRIPT_STRING",SWIG_From_int(static_cast< int >(6)));
23947 SWIG_Python_SetConstant(d, "STC_ESCRIPT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23948 SWIG_Python_SetConstant(d, "STC_ESCRIPT_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23949 SWIG_Python_SetConstant(d, "STC_ESCRIPT_BRACE",SWIG_From_int(static_cast< int >(9)));
23950 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD2",SWIG_From_int(static_cast< int >(10)));
23951 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD3",SWIG_From_int(static_cast< int >(11)));
23952 SWIG_Python_SetConstant(d, "STC_PS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23953 SWIG_Python_SetConstant(d, "STC_PS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23954 SWIG_Python_SetConstant(d, "STC_PS_DSC_COMMENT",SWIG_From_int(static_cast< int >(2)));
23955 SWIG_Python_SetConstant(d, "STC_PS_DSC_VALUE",SWIG_From_int(static_cast< int >(3)));
23956 SWIG_Python_SetConstant(d, "STC_PS_NUMBER",SWIG_From_int(static_cast< int >(4)));
23957 SWIG_Python_SetConstant(d, "STC_PS_NAME",SWIG_From_int(static_cast< int >(5)));
23958 SWIG_Python_SetConstant(d, "STC_PS_KEYWORD",SWIG_From_int(static_cast< int >(6)));
23959 SWIG_Python_SetConstant(d, "STC_PS_LITERAL",SWIG_From_int(static_cast< int >(7)));
23960 SWIG_Python_SetConstant(d, "STC_PS_IMMEVAL",SWIG_From_int(static_cast< int >(8)));
23961 SWIG_Python_SetConstant(d, "STC_PS_PAREN_ARRAY",SWIG_From_int(static_cast< int >(9)));
23962 SWIG_Python_SetConstant(d, "STC_PS_PAREN_DICT",SWIG_From_int(static_cast< int >(10)));
23963 SWIG_Python_SetConstant(d, "STC_PS_PAREN_PROC",SWIG_From_int(static_cast< int >(11)));
23964 SWIG_Python_SetConstant(d, "STC_PS_TEXT",SWIG_From_int(static_cast< int >(12)));
23965 SWIG_Python_SetConstant(d, "STC_PS_HEXSTRING",SWIG_From_int(static_cast< int >(13)));
23966 SWIG_Python_SetConstant(d, "STC_PS_BASE85STRING",SWIG_From_int(static_cast< int >(14)));
23967 SWIG_Python_SetConstant(d, "STC_PS_BADSTRINGCHAR",SWIG_From_int(static_cast< int >(15)));
23968 SWIG_Python_SetConstant(d, "STC_NSIS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23969 SWIG_Python_SetConstant(d, "STC_NSIS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23970 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGDQ",SWIG_From_int(static_cast< int >(2)));
23971 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGLQ",SWIG_From_int(static_cast< int >(3)));
23972 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGRQ",SWIG_From_int(static_cast< int >(4)));
23973 SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTION",SWIG_From_int(static_cast< int >(5)));
23974 SWIG_Python_SetConstant(d, "STC_NSIS_VARIABLE",SWIG_From_int(static_cast< int >(6)));
23975 SWIG_Python_SetConstant(d, "STC_NSIS_LABEL",SWIG_From_int(static_cast< int >(7)));
23976 SWIG_Python_SetConstant(d, "STC_NSIS_USERDEFINED",SWIG_From_int(static_cast< int >(8)));
23977 SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONDEF",SWIG_From_int(static_cast< int >(9)));
23978 SWIG_Python_SetConstant(d, "STC_NSIS_SUBSECTIONDEF",SWIG_From_int(static_cast< int >(10)));
23979 SWIG_Python_SetConstant(d, "STC_NSIS_IFDEFINEDEF",SWIG_From_int(static_cast< int >(11)));
23980 SWIG_Python_SetConstant(d, "STC_NSIS_MACRODEF",SWIG_From_int(static_cast< int >(12)));
23981 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGVAR",SWIG_From_int(static_cast< int >(13)));
23982 SWIG_Python_SetConstant(d, "STC_NSIS_NUMBER",SWIG_From_int(static_cast< int >(14)));
23983 SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONGROUP",SWIG_From_int(static_cast< int >(15)));
23984 SWIG_Python_SetConstant(d, "STC_NSIS_PAGEEX",SWIG_From_int(static_cast< int >(16)));
23985 SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTIONDEF",SWIG_From_int(static_cast< int >(17)));
23986 SWIG_Python_SetConstant(d, "STC_NSIS_COMMENTBOX",SWIG_From_int(static_cast< int >(18)));
23987 SWIG_Python_SetConstant(d, "STC_MMIXAL_LEADWS",SWIG_From_int(static_cast< int >(0)));
23988 SWIG_Python_SetConstant(d, "STC_MMIXAL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23989 SWIG_Python_SetConstant(d, "STC_MMIXAL_LABEL",SWIG_From_int(static_cast< int >(2)));
23990 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE",SWIG_From_int(static_cast< int >(3)));
23991 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_PRE",SWIG_From_int(static_cast< int >(4)));
23992 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_VALID",SWIG_From_int(static_cast< int >(5)));
23993 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_UNKNOWN",SWIG_From_int(static_cast< int >(6)));
23994 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_POST",SWIG_From_int(static_cast< int >(7)));
23995 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERANDS",SWIG_From_int(static_cast< int >(8)));
23996 SWIG_Python_SetConstant(d, "STC_MMIXAL_NUMBER",SWIG_From_int(static_cast< int >(9)));
23997 SWIG_Python_SetConstant(d, "STC_MMIXAL_REF",SWIG_From_int(static_cast< int >(10)));
23998 SWIG_Python_SetConstant(d, "STC_MMIXAL_CHAR",SWIG_From_int(static_cast< int >(11)));
23999 SWIG_Python_SetConstant(d, "STC_MMIXAL_STRING",SWIG_From_int(static_cast< int >(12)));
24000 SWIG_Python_SetConstant(d, "STC_MMIXAL_REGISTER",SWIG_From_int(static_cast< int >(13)));
24001 SWIG_Python_SetConstant(d, "STC_MMIXAL_HEX",SWIG_From_int(static_cast< int >(14)));
24002 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERATOR",SWIG_From_int(static_cast< int >(15)));
24003 SWIG_Python_SetConstant(d, "STC_MMIXAL_SYMBOL",SWIG_From_int(static_cast< int >(16)));
24004 SWIG_Python_SetConstant(d, "STC_MMIXAL_INCLUDE",SWIG_From_int(static_cast< int >(17)));
24005 SWIG_Python_SetConstant(d, "STC_CLW_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24006 SWIG_Python_SetConstant(d, "STC_CLW_LABEL",SWIG_From_int(static_cast< int >(1)));
24007 SWIG_Python_SetConstant(d, "STC_CLW_COMMENT",SWIG_From_int(static_cast< int >(2)));
24008 SWIG_Python_SetConstant(d, "STC_CLW_STRING",SWIG_From_int(static_cast< int >(3)));
24009 SWIG_Python_SetConstant(d, "STC_CLW_USER_IDENTIFIER",SWIG_From_int(static_cast< int >(4)));
24010 SWIG_Python_SetConstant(d, "STC_CLW_INTEGER_CONSTANT",SWIG_From_int(static_cast< int >(5)));
24011 SWIG_Python_SetConstant(d, "STC_CLW_REAL_CONSTANT",SWIG_From_int(static_cast< int >(6)));
24012 SWIG_Python_SetConstant(d, "STC_CLW_PICTURE_STRING",SWIG_From_int(static_cast< int >(7)));
24013 SWIG_Python_SetConstant(d, "STC_CLW_KEYWORD",SWIG_From_int(static_cast< int >(8)));
24014 SWIG_Python_SetConstant(d, "STC_CLW_COMPILER_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
24015 SWIG_Python_SetConstant(d, "STC_CLW_RUNTIME_EXPRESSIONS",SWIG_From_int(static_cast< int >(10)));
24016 SWIG_Python_SetConstant(d, "STC_CLW_BUILTIN_PROCEDURES_FUNCTION",SWIG_From_int(static_cast< int >(11)));
24017 SWIG_Python_SetConstant(d, "STC_CLW_STRUCTURE_DATA_TYPE",SWIG_From_int(static_cast< int >(12)));
24018 SWIG_Python_SetConstant(d, "STC_CLW_ATTRIBUTE",SWIG_From_int(static_cast< int >(13)));
24019 SWIG_Python_SetConstant(d, "STC_CLW_STANDARD_EQUATE",SWIG_From_int(static_cast< int >(14)));
24020 SWIG_Python_SetConstant(d, "STC_CLW_ERROR",SWIG_From_int(static_cast< int >(15)));
24021 SWIG_Python_SetConstant(d, "STC_CLW_DEPRECATED",SWIG_From_int(static_cast< int >(16)));
24022 SWIG_Python_SetConstant(d, "STC_LOT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24023 SWIG_Python_SetConstant(d, "STC_LOT_HEADER",SWIG_From_int(static_cast< int >(1)));
24024 SWIG_Python_SetConstant(d, "STC_LOT_BREAK",SWIG_From_int(static_cast< int >(2)));
24025 SWIG_Python_SetConstant(d, "STC_LOT_SET",SWIG_From_int(static_cast< int >(3)));
24026 SWIG_Python_SetConstant(d, "STC_LOT_PASS",SWIG_From_int(static_cast< int >(4)));
24027 SWIG_Python_SetConstant(d, "STC_LOT_FAIL",SWIG_From_int(static_cast< int >(5)));
24028 SWIG_Python_SetConstant(d, "STC_LOT_ABORT",SWIG_From_int(static_cast< int >(6)));
24029 SWIG_Python_SetConstant(d, "STC_YAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24030 SWIG_Python_SetConstant(d, "STC_YAML_COMMENT",SWIG_From_int(static_cast< int >(1)));
24031 SWIG_Python_SetConstant(d, "STC_YAML_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
24032 SWIG_Python_SetConstant(d, "STC_YAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
24033 SWIG_Python_SetConstant(d, "STC_YAML_NUMBER",SWIG_From_int(static_cast< int >(4)));
24034 SWIG_Python_SetConstant(d, "STC_YAML_REFERENCE",SWIG_From_int(static_cast< int >(5)));
24035 SWIG_Python_SetConstant(d, "STC_YAML_DOCUMENT",SWIG_From_int(static_cast< int >(6)));
24036 SWIG_Python_SetConstant(d, "STC_YAML_TEXT",SWIG_From_int(static_cast< int >(7)));
24037 SWIG_Python_SetConstant(d, "STC_YAML_ERROR",SWIG_From_int(static_cast< int >(8)));
24038 SWIG_Python_SetConstant(d, "STC_TEX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24039 SWIG_Python_SetConstant(d, "STC_TEX_SPECIAL",SWIG_From_int(static_cast< int >(1)));
24040 SWIG_Python_SetConstant(d, "STC_TEX_GROUP",SWIG_From_int(static_cast< int >(2)));
24041 SWIG_Python_SetConstant(d, "STC_TEX_SYMBOL",SWIG_From_int(static_cast< int >(3)));
24042 SWIG_Python_SetConstant(d, "STC_TEX_COMMAND",SWIG_From_int(static_cast< int >(4)));
24043 SWIG_Python_SetConstant(d, "STC_TEX_TEXT",SWIG_From_int(static_cast< int >(5)));
24044 SWIG_Python_SetConstant(d, "STC_METAPOST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24045 SWIG_Python_SetConstant(d, "STC_METAPOST_SPECIAL",SWIG_From_int(static_cast< int >(1)));
24046 SWIG_Python_SetConstant(d, "STC_METAPOST_GROUP",SWIG_From_int(static_cast< int >(2)));
24047 SWIG_Python_SetConstant(d, "STC_METAPOST_SYMBOL",SWIG_From_int(static_cast< int >(3)));
24048 SWIG_Python_SetConstant(d, "STC_METAPOST_COMMAND",SWIG_From_int(static_cast< int >(4)));
24049 SWIG_Python_SetConstant(d, "STC_METAPOST_TEXT",SWIG_From_int(static_cast< int >(5)));
24050 SWIG_Python_SetConstant(d, "STC_METAPOST_EXTRA",SWIG_From_int(static_cast< int >(6)));
24051 SWIG_Python_SetConstant(d, "STC_ERLANG_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24052 SWIG_Python_SetConstant(d, "STC_ERLANG_COMMENT",SWIG_From_int(static_cast< int >(1)));
24053 SWIG_Python_SetConstant(d, "STC_ERLANG_VARIABLE",SWIG_From_int(static_cast< int >(2)));
24054 SWIG_Python_SetConstant(d, "STC_ERLANG_NUMBER",SWIG_From_int(static_cast< int >(3)));
24055 SWIG_Python_SetConstant(d, "STC_ERLANG_KEYWORD",SWIG_From_int(static_cast< int >(4)));
24056 SWIG_Python_SetConstant(d, "STC_ERLANG_STRING",SWIG_From_int(static_cast< int >(5)));
24057 SWIG_Python_SetConstant(d, "STC_ERLANG_OPERATOR",SWIG_From_int(static_cast< int >(6)));
24058 SWIG_Python_SetConstant(d, "STC_ERLANG_ATOM",SWIG_From_int(static_cast< int >(7)));
24059 SWIG_Python_SetConstant(d, "STC_ERLANG_FUNCTION_NAME",SWIG_From_int(static_cast< int >(8)));
24060 SWIG_Python_SetConstant(d, "STC_ERLANG_CHARACTER",SWIG_From_int(static_cast< int >(9)));
24061 SWIG_Python_SetConstant(d, "STC_ERLANG_MACRO",SWIG_From_int(static_cast< int >(10)));
24062 SWIG_Python_SetConstant(d, "STC_ERLANG_RECORD",SWIG_From_int(static_cast< int >(11)));
24063 SWIG_Python_SetConstant(d, "STC_ERLANG_SEPARATOR",SWIG_From_int(static_cast< int >(12)));
24064 SWIG_Python_SetConstant(d, "STC_ERLANG_NODE_NAME",SWIG_From_int(static_cast< int >(13)));
24065 SWIG_Python_SetConstant(d, "STC_ERLANG_UNKNOWN",SWIG_From_int(static_cast< int >(31)));
24066 SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24067 SWIG_Python_SetConstant(d, "STC_MSSQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24068 SWIG_Python_SetConstant(d, "STC_MSSQL_LINE_COMMENT",SWIG_From_int(static_cast< int >(2)));
24069 SWIG_Python_SetConstant(d, "STC_MSSQL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24070 SWIG_Python_SetConstant(d, "STC_MSSQL_STRING",SWIG_From_int(static_cast< int >(4)));
24071 SWIG_Python_SetConstant(d, "STC_MSSQL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24072 SWIG_Python_SetConstant(d, "STC_MSSQL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
24073 SWIG_Python_SetConstant(d, "STC_MSSQL_VARIABLE",SWIG_From_int(static_cast< int >(7)));
24074 SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME",SWIG_From_int(static_cast< int >(8)));
24075 SWIG_Python_SetConstant(d, "STC_MSSQL_STATEMENT",SWIG_From_int(static_cast< int >(9)));
24076 SWIG_Python_SetConstant(d, "STC_MSSQL_DATATYPE",SWIG_From_int(static_cast< int >(10)));
24077 SWIG_Python_SetConstant(d, "STC_MSSQL_SYSTABLE",SWIG_From_int(static_cast< int >(11)));
24078 SWIG_Python_SetConstant(d, "STC_MSSQL_GLOBAL_VARIABLE",SWIG_From_int(static_cast< int >(12)));
24079 SWIG_Python_SetConstant(d, "STC_MSSQL_FUNCTION",SWIG_From_int(static_cast< int >(13)));
24080 SWIG_Python_SetConstant(d, "STC_MSSQL_STORED_PROCEDURE",SWIG_From_int(static_cast< int >(14)));
24081 SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT_PREF_DATATYPE",SWIG_From_int(static_cast< int >(15)));
24082 SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME_2",SWIG_From_int(static_cast< int >(16)));
24083 SWIG_Python_SetConstant(d, "STC_V_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24084 SWIG_Python_SetConstant(d, "STC_V_COMMENT",SWIG_From_int(static_cast< int >(1)));
24085 SWIG_Python_SetConstant(d, "STC_V_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24086 SWIG_Python_SetConstant(d, "STC_V_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
24087 SWIG_Python_SetConstant(d, "STC_V_NUMBER",SWIG_From_int(static_cast< int >(4)));
24088 SWIG_Python_SetConstant(d, "STC_V_WORD",SWIG_From_int(static_cast< int >(5)));
24089 SWIG_Python_SetConstant(d, "STC_V_STRING",SWIG_From_int(static_cast< int >(6)));
24090 SWIG_Python_SetConstant(d, "STC_V_WORD2",SWIG_From_int(static_cast< int >(7)));
24091 SWIG_Python_SetConstant(d, "STC_V_WORD3",SWIG_From_int(static_cast< int >(8)));
24092 SWIG_Python_SetConstant(d, "STC_V_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
24093 SWIG_Python_SetConstant(d, "STC_V_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24094 SWIG_Python_SetConstant(d, "STC_V_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24095 SWIG_Python_SetConstant(d, "STC_V_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
24096 SWIG_Python_SetConstant(d, "STC_V_USER",SWIG_From_int(static_cast< int >(19)));
24097 SWIG_Python_SetConstant(d, "STC_KIX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24098 SWIG_Python_SetConstant(d, "STC_KIX_COMMENT",SWIG_From_int(static_cast< int >(1)));
24099 SWIG_Python_SetConstant(d, "STC_KIX_STRING1",SWIG_From_int(static_cast< int >(2)));
24100 SWIG_Python_SetConstant(d, "STC_KIX_STRING2",SWIG_From_int(static_cast< int >(3)));
24101 SWIG_Python_SetConstant(d, "STC_KIX_NUMBER",SWIG_From_int(static_cast< int >(4)));
24102 SWIG_Python_SetConstant(d, "STC_KIX_VAR",SWIG_From_int(static_cast< int >(5)));
24103 SWIG_Python_SetConstant(d, "STC_KIX_MACRO",SWIG_From_int(static_cast< int >(6)));
24104 SWIG_Python_SetConstant(d, "STC_KIX_KEYWORD",SWIG_From_int(static_cast< int >(7)));
24105 SWIG_Python_SetConstant(d, "STC_KIX_FUNCTIONS",SWIG_From_int(static_cast< int >(8)));
24106 SWIG_Python_SetConstant(d, "STC_KIX_OPERATOR",SWIG_From_int(static_cast< int >(9)));
24107 SWIG_Python_SetConstant(d, "STC_KIX_IDENTIFIER",SWIG_From_int(static_cast< int >(31)));
24108 SWIG_Python_SetConstant(d, "STC_GC_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24109 SWIG_Python_SetConstant(d, "STC_GC_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
24110 SWIG_Python_SetConstant(d, "STC_GC_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24111 SWIG_Python_SetConstant(d, "STC_GC_GLOBAL",SWIG_From_int(static_cast< int >(3)));
24112 SWIG_Python_SetConstant(d, "STC_GC_EVENT",SWIG_From_int(static_cast< int >(4)));
24113 SWIG_Python_SetConstant(d, "STC_GC_ATTRIBUTE",SWIG_From_int(static_cast< int >(5)));
24114 SWIG_Python_SetConstant(d, "STC_GC_CONTROL",SWIG_From_int(static_cast< int >(6)));
24115 SWIG_Python_SetConstant(d, "STC_GC_COMMAND",SWIG_From_int(static_cast< int >(7)));
24116 SWIG_Python_SetConstant(d, "STC_GC_STRING",SWIG_From_int(static_cast< int >(8)));
24117 SWIG_Python_SetConstant(d, "STC_GC_OPERATOR",SWIG_From_int(static_cast< int >(9)));
24118 SWIG_Python_SetConstant(d, "STC_SN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24119 SWIG_Python_SetConstant(d, "STC_SN_CODE",SWIG_From_int(static_cast< int >(1)));
24120 SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24121 SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
24122 SWIG_Python_SetConstant(d, "STC_SN_NUMBER",SWIG_From_int(static_cast< int >(4)));
24123 SWIG_Python_SetConstant(d, "STC_SN_WORD",SWIG_From_int(static_cast< int >(5)));
24124 SWIG_Python_SetConstant(d, "STC_SN_STRING",SWIG_From_int(static_cast< int >(6)));
24125 SWIG_Python_SetConstant(d, "STC_SN_WORD2",SWIG_From_int(static_cast< int >(7)));
24126 SWIG_Python_SetConstant(d, "STC_SN_WORD3",SWIG_From_int(static_cast< int >(8)));
24127 SWIG_Python_SetConstant(d, "STC_SN_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
24128 SWIG_Python_SetConstant(d, "STC_SN_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24129 SWIG_Python_SetConstant(d, "STC_SN_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24130 SWIG_Python_SetConstant(d, "STC_SN_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
24131 SWIG_Python_SetConstant(d, "STC_SN_REGEXTAG",SWIG_From_int(static_cast< int >(13)));
24132 SWIG_Python_SetConstant(d, "STC_SN_SIGNAL",SWIG_From_int(static_cast< int >(14)));
24133 SWIG_Python_SetConstant(d, "STC_SN_USER",SWIG_From_int(static_cast< int >(19)));
24134 SWIG_Python_SetConstant(d, "STC_AU3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24135 SWIG_Python_SetConstant(d, "STC_AU3_COMMENT",SWIG_From_int(static_cast< int >(1)));
24136 SWIG_Python_SetConstant(d, "STC_AU3_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24137 SWIG_Python_SetConstant(d, "STC_AU3_NUMBER",SWIG_From_int(static_cast< int >(3)));
24138 SWIG_Python_SetConstant(d, "STC_AU3_FUNCTION",SWIG_From_int(static_cast< int >(4)));
24139 SWIG_Python_SetConstant(d, "STC_AU3_KEYWORD",SWIG_From_int(static_cast< int >(5)));
24140 SWIG_Python_SetConstant(d, "STC_AU3_MACRO",SWIG_From_int(static_cast< int >(6)));
24141 SWIG_Python_SetConstant(d, "STC_AU3_STRING",SWIG_From_int(static_cast< int >(7)));
24142 SWIG_Python_SetConstant(d, "STC_AU3_OPERATOR",SWIG_From_int(static_cast< int >(8)));
24143 SWIG_Python_SetConstant(d, "STC_AU3_VARIABLE",SWIG_From_int(static_cast< int >(9)));
24144 SWIG_Python_SetConstant(d, "STC_AU3_SENT",SWIG_From_int(static_cast< int >(10)));
24145 SWIG_Python_SetConstant(d, "STC_AU3_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
24146 SWIG_Python_SetConstant(d, "STC_AU3_SPECIAL",SWIG_From_int(static_cast< int >(12)));
24147 SWIG_Python_SetConstant(d, "STC_AU3_EXPAND",SWIG_From_int(static_cast< int >(13)));
24148 SWIG_Python_SetConstant(d, "STC_AU3_COMOBJ",SWIG_From_int(static_cast< int >(14)));
24149 SWIG_Python_SetConstant(d, "STC_AU3_UDF",SWIG_From_int(static_cast< int >(15)));
24150 SWIG_Python_SetConstant(d, "STC_APDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24151 SWIG_Python_SetConstant(d, "STC_APDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24152 SWIG_Python_SetConstant(d, "STC_APDL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24153 SWIG_Python_SetConstant(d, "STC_APDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24154 SWIG_Python_SetConstant(d, "STC_APDL_STRING",SWIG_From_int(static_cast< int >(4)));
24155 SWIG_Python_SetConstant(d, "STC_APDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24156 SWIG_Python_SetConstant(d, "STC_APDL_WORD",SWIG_From_int(static_cast< int >(6)));
24157 SWIG_Python_SetConstant(d, "STC_APDL_PROCESSOR",SWIG_From_int(static_cast< int >(7)));
24158 SWIG_Python_SetConstant(d, "STC_APDL_COMMAND",SWIG_From_int(static_cast< int >(8)));
24159 SWIG_Python_SetConstant(d, "STC_APDL_SLASHCOMMAND",SWIG_From_int(static_cast< int >(9)));
24160 SWIG_Python_SetConstant(d, "STC_APDL_STARCOMMAND",SWIG_From_int(static_cast< int >(10)));
24161 SWIG_Python_SetConstant(d, "STC_APDL_ARGUMENT",SWIG_From_int(static_cast< int >(11)));
24162 SWIG_Python_SetConstant(d, "STC_APDL_FUNCTION",SWIG_From_int(static_cast< int >(12)));
24163 SWIG_Python_SetConstant(d, "STC_SH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24164 SWIG_Python_SetConstant(d, "STC_SH_ERROR",SWIG_From_int(static_cast< int >(1)));
24165 SWIG_Python_SetConstant(d, "STC_SH_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24166 SWIG_Python_SetConstant(d, "STC_SH_NUMBER",SWIG_From_int(static_cast< int >(3)));
24167 SWIG_Python_SetConstant(d, "STC_SH_WORD",SWIG_From_int(static_cast< int >(4)));
24168 SWIG_Python_SetConstant(d, "STC_SH_STRING",SWIG_From_int(static_cast< int >(5)));
24169 SWIG_Python_SetConstant(d, "STC_SH_CHARACTER",SWIG_From_int(static_cast< int >(6)));
24170 SWIG_Python_SetConstant(d, "STC_SH_OPERATOR",SWIG_From_int(static_cast< int >(7)));
24171 SWIG_Python_SetConstant(d, "STC_SH_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
24172 SWIG_Python_SetConstant(d, "STC_SH_SCALAR",SWIG_From_int(static_cast< int >(9)));
24173 SWIG_Python_SetConstant(d, "STC_SH_PARAM",SWIG_From_int(static_cast< int >(10)));
24174 SWIG_Python_SetConstant(d, "STC_SH_BACKTICKS",SWIG_From_int(static_cast< int >(11)));
24175 SWIG_Python_SetConstant(d, "STC_SH_HERE_DELIM",SWIG_From_int(static_cast< int >(12)));
24176 SWIG_Python_SetConstant(d, "STC_SH_HERE_Q",SWIG_From_int(static_cast< int >(13)));
24177 SWIG_Python_SetConstant(d, "STC_ASN1_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24178 SWIG_Python_SetConstant(d, "STC_ASN1_COMMENT",SWIG_From_int(static_cast< int >(1)));
24179 SWIG_Python_SetConstant(d, "STC_ASN1_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
24180 SWIG_Python_SetConstant(d, "STC_ASN1_STRING",SWIG_From_int(static_cast< int >(3)));
24181 SWIG_Python_SetConstant(d, "STC_ASN1_OID",SWIG_From_int(static_cast< int >(4)));
24182 SWIG_Python_SetConstant(d, "STC_ASN1_SCALAR",SWIG_From_int(static_cast< int >(5)));
24183 SWIG_Python_SetConstant(d, "STC_ASN1_KEYWORD",SWIG_From_int(static_cast< int >(6)));
24184 SWIG_Python_SetConstant(d, "STC_ASN1_ATTRIBUTE",SWIG_From_int(static_cast< int >(7)));
24185 SWIG_Python_SetConstant(d, "STC_ASN1_DESCRIPTOR",SWIG_From_int(static_cast< int >(8)));
24186 SWIG_Python_SetConstant(d, "STC_ASN1_TYPE",SWIG_From_int(static_cast< int >(9)));
24187 SWIG_Python_SetConstant(d, "STC_ASN1_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24188 SWIG_Python_SetConstant(d, "STC_VHDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24189 SWIG_Python_SetConstant(d, "STC_VHDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24190 SWIG_Python_SetConstant(d, "STC_VHDL_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(2)));
24191 SWIG_Python_SetConstant(d, "STC_VHDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24192 SWIG_Python_SetConstant(d, "STC_VHDL_STRING",SWIG_From_int(static_cast< int >(4)));
24193 SWIG_Python_SetConstant(d, "STC_VHDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24194 SWIG_Python_SetConstant(d, "STC_VHDL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
24195 SWIG_Python_SetConstant(d, "STC_VHDL_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
24196 SWIG_Python_SetConstant(d, "STC_VHDL_KEYWORD",SWIG_From_int(static_cast< int >(8)));
24197 SWIG_Python_SetConstant(d, "STC_VHDL_STDOPERATOR",SWIG_From_int(static_cast< int >(9)));
24198 SWIG_Python_SetConstant(d, "STC_VHDL_ATTRIBUTE",SWIG_From_int(static_cast< int >(10)));
24199 SWIG_Python_SetConstant(d, "STC_VHDL_STDFUNCTION",SWIG_From_int(static_cast< int >(11)));
24200 SWIG_Python_SetConstant(d, "STC_VHDL_STDPACKAGE",SWIG_From_int(static_cast< int >(12)));
24201 SWIG_Python_SetConstant(d, "STC_VHDL_STDTYPE",SWIG_From_int(static_cast< int >(13)));
24202 SWIG_Python_SetConstant(d, "STC_VHDL_USERWORD",SWIG_From_int(static_cast< int >(14)));
24203 SWIG_Python_SetConstant(d, "STC_CAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24204 SWIG_Python_SetConstant(d, "STC_CAML_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24205 SWIG_Python_SetConstant(d, "STC_CAML_TAGNAME",SWIG_From_int(static_cast< int >(2)));
24206 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
24207 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD2",SWIG_From_int(static_cast< int >(4)));
24208 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD3",SWIG_From_int(static_cast< int >(5)));
24209 SWIG_Python_SetConstant(d, "STC_CAML_LINENUM",SWIG_From_int(static_cast< int >(6)));
24210 SWIG_Python_SetConstant(d, "STC_CAML_OPERATOR",SWIG_From_int(static_cast< int >(7)));
24211 SWIG_Python_SetConstant(d, "STC_CAML_NUMBER",SWIG_From_int(static_cast< int >(8)));
24212 SWIG_Python_SetConstant(d, "STC_CAML_CHAR",SWIG_From_int(static_cast< int >(9)));
24213 SWIG_Python_SetConstant(d, "STC_CAML_STRING",SWIG_From_int(static_cast< int >(11)));
24214 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT",SWIG_From_int(static_cast< int >(12)));
24215 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT1",SWIG_From_int(static_cast< int >(13)));
24216 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT2",SWIG_From_int(static_cast< int >(14)));
24217 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT3",SWIG_From_int(static_cast< int >(15)));
24218 SWIG_Python_SetConstant(d, "STC_HA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24219 SWIG_Python_SetConstant(d, "STC_HA_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24220 SWIG_Python_SetConstant(d, "STC_HA_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24221 SWIG_Python_SetConstant(d, "STC_HA_NUMBER",SWIG_From_int(static_cast< int >(3)));
24222 SWIG_Python_SetConstant(d, "STC_HA_STRING",SWIG_From_int(static_cast< int >(4)));
24223 SWIG_Python_SetConstant(d, "STC_HA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
24224 SWIG_Python_SetConstant(d, "STC_HA_CLASS",SWIG_From_int(static_cast< int >(6)));
24225 SWIG_Python_SetConstant(d, "STC_HA_MODULE",SWIG_From_int(static_cast< int >(7)));
24226 SWIG_Python_SetConstant(d, "STC_HA_CAPITAL",SWIG_From_int(static_cast< int >(8)));
24227 SWIG_Python_SetConstant(d, "STC_HA_DATA",SWIG_From_int(static_cast< int >(9)));
24228 SWIG_Python_SetConstant(d, "STC_HA_IMPORT",SWIG_From_int(static_cast< int >(10)));
24229 SWIG_Python_SetConstant(d, "STC_HA_OPERATOR",SWIG_From_int(static_cast< int >(11)));
24230 SWIG_Python_SetConstant(d, "STC_HA_INSTANCE",SWIG_From_int(static_cast< int >(12)));
24231 SWIG_Python_SetConstant(d, "STC_HA_COMMENTLINE",SWIG_From_int(static_cast< int >(13)));
24232 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK",SWIG_From_int(static_cast< int >(14)));
24233 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK2",SWIG_From_int(static_cast< int >(15)));
24234 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK3",SWIG_From_int(static_cast< int >(16)));
24235 SWIG_Python_SetConstant(d, "STC_T3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24236 SWIG_Python_SetConstant(d, "STC_T3_X_DEFAULT",SWIG_From_int(static_cast< int >(1)));
24237 SWIG_Python_SetConstant(d, "STC_T3_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
24238 SWIG_Python_SetConstant(d, "STC_T3_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(3)));
24239 SWIG_Python_SetConstant(d, "STC_T3_LINE_COMMENT",SWIG_From_int(static_cast< int >(4)));
24240 SWIG_Python_SetConstant(d, "STC_T3_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24241 SWIG_Python_SetConstant(d, "STC_T3_KEYWORD",SWIG_From_int(static_cast< int >(6)));
24242 SWIG_Python_SetConstant(d, "STC_T3_NUMBER",SWIG_From_int(static_cast< int >(7)));
24243 SWIG_Python_SetConstant(d, "STC_T3_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
24244 SWIG_Python_SetConstant(d, "STC_T3_S_STRING",SWIG_From_int(static_cast< int >(9)));
24245 SWIG_Python_SetConstant(d, "STC_T3_D_STRING",SWIG_From_int(static_cast< int >(10)));
24246 SWIG_Python_SetConstant(d, "STC_T3_X_STRING",SWIG_From_int(static_cast< int >(11)));
24247 SWIG_Python_SetConstant(d, "STC_T3_LIB_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
24248 SWIG_Python_SetConstant(d, "STC_T3_MSG_PARAM",SWIG_From_int(static_cast< int >(13)));
24249 SWIG_Python_SetConstant(d, "STC_T3_HTML_TAG",SWIG_From_int(static_cast< int >(14)));
24250 SWIG_Python_SetConstant(d, "STC_T3_HTML_DEFAULT",SWIG_From_int(static_cast< int >(15)));
24251 SWIG_Python_SetConstant(d, "STC_T3_HTML_STRING",SWIG_From_int(static_cast< int >(16)));
24252 SWIG_Python_SetConstant(d, "STC_T3_USER1",SWIG_From_int(static_cast< int >(17)));
24253 SWIG_Python_SetConstant(d, "STC_T3_USER2",SWIG_From_int(static_cast< int >(18)));
24254 SWIG_Python_SetConstant(d, "STC_T3_USER3",SWIG_From_int(static_cast< int >(19)));
24255 SWIG_Python_SetConstant(d, "STC_REBOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24256 SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
24257 SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24258 SWIG_Python_SetConstant(d, "STC_REBOL_PREFACE",SWIG_From_int(static_cast< int >(3)));
24259 SWIG_Python_SetConstant(d, "STC_REBOL_OPERATOR",SWIG_From_int(static_cast< int >(4)));
24260 SWIG_Python_SetConstant(d, "STC_REBOL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
24261 SWIG_Python_SetConstant(d, "STC_REBOL_QUOTEDSTRING",SWIG_From_int(static_cast< int >(6)));
24262 SWIG_Python_SetConstant(d, "STC_REBOL_BRACEDSTRING",SWIG_From_int(static_cast< int >(7)));
24263 SWIG_Python_SetConstant(d, "STC_REBOL_NUMBER",SWIG_From_int(static_cast< int >(8)));
24264 SWIG_Python_SetConstant(d, "STC_REBOL_PAIR",SWIG_From_int(static_cast< int >(9)));
24265 SWIG_Python_SetConstant(d, "STC_REBOL_TUPLE",SWIG_From_int(static_cast< int >(10)));
24266 SWIG_Python_SetConstant(d, "STC_REBOL_BINARY",SWIG_From_int(static_cast< int >(11)));
24267 SWIG_Python_SetConstant(d, "STC_REBOL_MONEY",SWIG_From_int(static_cast< int >(12)));
24268 SWIG_Python_SetConstant(d, "STC_REBOL_ISSUE",SWIG_From_int(static_cast< int >(13)));
24269 SWIG_Python_SetConstant(d, "STC_REBOL_TAG",SWIG_From_int(static_cast< int >(14)));
24270 SWIG_Python_SetConstant(d, "STC_REBOL_FILE",SWIG_From_int(static_cast< int >(15)));
24271 SWIG_Python_SetConstant(d, "STC_REBOL_EMAIL",SWIG_From_int(static_cast< int >(16)));
24272 SWIG_Python_SetConstant(d, "STC_REBOL_URL",SWIG_From_int(static_cast< int >(17)));
24273 SWIG_Python_SetConstant(d, "STC_REBOL_DATE",SWIG_From_int(static_cast< int >(18)));
24274 SWIG_Python_SetConstant(d, "STC_REBOL_TIME",SWIG_From_int(static_cast< int >(19)));
24275 SWIG_Python_SetConstant(d, "STC_REBOL_IDENTIFIER",SWIG_From_int(static_cast< int >(20)));
24276 SWIG_Python_SetConstant(d, "STC_REBOL_WORD",SWIG_From_int(static_cast< int >(21)));
24277 SWIG_Python_SetConstant(d, "STC_REBOL_WORD2",SWIG_From_int(static_cast< int >(22)));
24278 SWIG_Python_SetConstant(d, "STC_REBOL_WORD3",SWIG_From_int(static_cast< int >(23)));
24279 SWIG_Python_SetConstant(d, "STC_REBOL_WORD4",SWIG_From_int(static_cast< int >(24)));
24280 SWIG_Python_SetConstant(d, "STC_REBOL_WORD5",SWIG_From_int(static_cast< int >(25)));
24281 SWIG_Python_SetConstant(d, "STC_REBOL_WORD6",SWIG_From_int(static_cast< int >(26)));
24282 SWIG_Python_SetConstant(d, "STC_REBOL_WORD7",SWIG_From_int(static_cast< int >(27)));
24283 SWIG_Python_SetConstant(d, "STC_REBOL_WORD8",SWIG_From_int(static_cast< int >(28)));
24284 SWIG_Python_SetConstant(d, "STC_SQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24285 SWIG_Python_SetConstant(d, "STC_SQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24286 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24287 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24288 SWIG_Python_SetConstant(d, "STC_SQL_NUMBER",SWIG_From_int(static_cast< int >(4)));
24289 SWIG_Python_SetConstant(d, "STC_SQL_WORD",SWIG_From_int(static_cast< int >(5)));
24290 SWIG_Python_SetConstant(d, "STC_SQL_STRING",SWIG_From_int(static_cast< int >(6)));
24291 SWIG_Python_SetConstant(d, "STC_SQL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
24292 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS",SWIG_From_int(static_cast< int >(8)));
24293 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_PROMPT",SWIG_From_int(static_cast< int >(9)));
24294 SWIG_Python_SetConstant(d, "STC_SQL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24295 SWIG_Python_SetConstant(d, "STC_SQL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24296 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_COMMENT",SWIG_From_int(static_cast< int >(13)));
24297 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
24298 SWIG_Python_SetConstant(d, "STC_SQL_WORD2",SWIG_From_int(static_cast< int >(16)));
24299 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
24300 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
24301 SWIG_Python_SetConstant(d, "STC_SQL_USER1",SWIG_From_int(static_cast< int >(19)));
24302 SWIG_Python_SetConstant(d, "STC_SQL_USER2",SWIG_From_int(static_cast< int >(20)));
24303 SWIG_Python_SetConstant(d, "STC_SQL_USER3",SWIG_From_int(static_cast< int >(21)));
24304 SWIG_Python_SetConstant(d, "STC_SQL_USER4",SWIG_From_int(static_cast< int >(22)));
24305 SWIG_Python_SetConstant(d, "STC_SQL_QUOTEDIDENTIFIER",SWIG_From_int(static_cast< int >(23)));
24306 SWIG_Python_SetConstant(d, "STC_ST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24307 SWIG_Python_SetConstant(d, "STC_ST_STRING",SWIG_From_int(static_cast< int >(1)));
24308 SWIG_Python_SetConstant(d, "STC_ST_NUMBER",SWIG_From_int(static_cast< int >(2)));
24309 SWIG_Python_SetConstant(d, "STC_ST_COMMENT",SWIG_From_int(static_cast< int >(3)));
24310 SWIG_Python_SetConstant(d, "STC_ST_SYMBOL",SWIG_From_int(static_cast< int >(4)));
24311 SWIG_Python_SetConstant(d, "STC_ST_BINARY",SWIG_From_int(static_cast< int >(5)));
24312 SWIG_Python_SetConstant(d, "STC_ST_BOOL",SWIG_From_int(static_cast< int >(6)));
24313 SWIG_Python_SetConstant(d, "STC_ST_SELF",SWIG_From_int(static_cast< int >(7)));
24314 SWIG_Python_SetConstant(d, "STC_ST_SUPER",SWIG_From_int(static_cast< int >(8)));
24315 SWIG_Python_SetConstant(d, "STC_ST_NIL",SWIG_From_int(static_cast< int >(9)));
24316 SWIG_Python_SetConstant(d, "STC_ST_GLOBAL",SWIG_From_int(static_cast< int >(10)));
24317 SWIG_Python_SetConstant(d, "STC_ST_RETURN",SWIG_From_int(static_cast< int >(11)));
24318 SWIG_Python_SetConstant(d, "STC_ST_SPECIAL",SWIG_From_int(static_cast< int >(12)));
24319 SWIG_Python_SetConstant(d, "STC_ST_KWSEND",SWIG_From_int(static_cast< int >(13)));
24320 SWIG_Python_SetConstant(d, "STC_ST_ASSIGN",SWIG_From_int(static_cast< int >(14)));
24321 SWIG_Python_SetConstant(d, "STC_ST_CHARACTER",SWIG_From_int(static_cast< int >(15)));
24322 SWIG_Python_SetConstant(d, "STC_ST_SPEC_SEL",SWIG_From_int(static_cast< int >(16)));
24323 SWIG_Python_SetConstant(d, "STC_FS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24324 SWIG_Python_SetConstant(d, "STC_FS_COMMENT",SWIG_From_int(static_cast< int >(1)));
24325 SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24326 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24327 SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(4)));
24328 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(5)));
24329 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(6)));
24330 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD",SWIG_From_int(static_cast< int >(7)));
24331 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD2",SWIG_From_int(static_cast< int >(8)));
24332 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD3",SWIG_From_int(static_cast< int >(9)));
24333 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD4",SWIG_From_int(static_cast< int >(10)));
24334 SWIG_Python_SetConstant(d, "STC_FS_NUMBER",SWIG_From_int(static_cast< int >(11)));
24335 SWIG_Python_SetConstant(d, "STC_FS_STRING",SWIG_From_int(static_cast< int >(12)));
24336 SWIG_Python_SetConstant(d, "STC_FS_PREPROCESSOR",SWIG_From_int(static_cast< int >(13)));
24337 SWIG_Python_SetConstant(d, "STC_FS_OPERATOR",SWIG_From_int(static_cast< int >(14)));
24338 SWIG_Python_SetConstant(d, "STC_FS_IDENTIFIER",SWIG_From_int(static_cast< int >(15)));
24339 SWIG_Python_SetConstant(d, "STC_FS_DATE",SWIG_From_int(static_cast< int >(16)));
24340 SWIG_Python_SetConstant(d, "STC_FS_STRINGEOL",SWIG_From_int(static_cast< int >(17)));
24341 SWIG_Python_SetConstant(d, "STC_FS_CONSTANT",SWIG_From_int(static_cast< int >(18)));
24342 SWIG_Python_SetConstant(d, "STC_FS_ASM",SWIG_From_int(static_cast< int >(19)));
24343 SWIG_Python_SetConstant(d, "STC_FS_LABEL",SWIG_From_int(static_cast< int >(20)));
24344 SWIG_Python_SetConstant(d, "STC_FS_ERROR",SWIG_From_int(static_cast< int >(21)));
24345 SWIG_Python_SetConstant(d, "STC_FS_HEXNUMBER",SWIG_From_int(static_cast< int >(22)));
24346 SWIG_Python_SetConstant(d, "STC_FS_BINNUMBER",SWIG_From_int(static_cast< int >(23)));
24347 SWIG_Python_SetConstant(d, "STC_CSOUND_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24348 SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENT",SWIG_From_int(static_cast< int >(1)));
24349 SWIG_Python_SetConstant(d, "STC_CSOUND_NUMBER",SWIG_From_int(static_cast< int >(2)));
24350 SWIG_Python_SetConstant(d, "STC_CSOUND_OPERATOR",SWIG_From_int(static_cast< int >(3)));
24351 SWIG_Python_SetConstant(d, "STC_CSOUND_INSTR",SWIG_From_int(static_cast< int >(4)));
24352 SWIG_Python_SetConstant(d, "STC_CSOUND_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
24353 SWIG_Python_SetConstant(d, "STC_CSOUND_OPCODE",SWIG_From_int(static_cast< int >(6)));
24354 SWIG_Python_SetConstant(d, "STC_CSOUND_HEADERSTMT",SWIG_From_int(static_cast< int >(7)));
24355 SWIG_Python_SetConstant(d, "STC_CSOUND_USERKEYWORD",SWIG_From_int(static_cast< int >(8)));
24356 SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENTBLOCK",SWIG_From_int(static_cast< int >(9)));
24357 SWIG_Python_SetConstant(d, "STC_CSOUND_PARAM",SWIG_From_int(static_cast< int >(10)));
24358 SWIG_Python_SetConstant(d, "STC_CSOUND_ARATE_VAR",SWIG_From_int(static_cast< int >(11)));
24359 SWIG_Python_SetConstant(d, "STC_CSOUND_KRATE_VAR",SWIG_From_int(static_cast< int >(12)));
24360 SWIG_Python_SetConstant(d, "STC_CSOUND_IRATE_VAR",SWIG_From_int(static_cast< int >(13)));
24361 SWIG_Python_SetConstant(d, "STC_CSOUND_GLOBAL_VAR",SWIG_From_int(static_cast< int >(14)));
24362 SWIG_Python_SetConstant(d, "STC_CSOUND_STRINGEOL",SWIG_From_int(static_cast< int >(15)));
24363 SWIG_Python_SetConstant(d, "STC_INNO_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24364 SWIG_Python_SetConstant(d, "STC_INNO_COMMENT",SWIG_From_int(static_cast< int >(1)));
24365 SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24366 SWIG_Python_SetConstant(d, "STC_INNO_PARAMETER",SWIG_From_int(static_cast< int >(3)));
24367 SWIG_Python_SetConstant(d, "STC_INNO_SECTION",SWIG_From_int(static_cast< int >(4)));
24368 SWIG_Python_SetConstant(d, "STC_INNO_PREPROC",SWIG_From_int(static_cast< int >(5)));
24369 SWIG_Python_SetConstant(d, "STC_INNO_PREPROC_INLINE",SWIG_From_int(static_cast< int >(6)));
24370 SWIG_Python_SetConstant(d, "STC_INNO_COMMENT_PASCAL",SWIG_From_int(static_cast< int >(7)));
24371 SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD_PASCAL",SWIG_From_int(static_cast< int >(8)));
24372 SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD_USER",SWIG_From_int(static_cast< int >(9)));
24373 SWIG_Python_SetConstant(d, "STC_INNO_STRING_DOUBLE",SWIG_From_int(static_cast< int >(10)));
24374 SWIG_Python_SetConstant(d, "STC_INNO_STRING_SINGLE",SWIG_From_int(static_cast< int >(11)));
24375 SWIG_Python_SetConstant(d, "STC_INNO_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
24376 SWIG_Python_SetConstant(d, "STC_OPAL_SPACE",SWIG_From_int(static_cast< int >(0)));
24377 SWIG_Python_SetConstant(d, "STC_OPAL_COMMENT_BLOCK",SWIG_From_int(static_cast< int >(1)));
24378 SWIG_Python_SetConstant(d, "STC_OPAL_COMMENT_LINE",SWIG_From_int(static_cast< int >(2)));
24379 SWIG_Python_SetConstant(d, "STC_OPAL_INTEGER",SWIG_From_int(static_cast< int >(3)));
24380 SWIG_Python_SetConstant(d, "STC_OPAL_KEYWORD",SWIG_From_int(static_cast< int >(4)));
24381 SWIG_Python_SetConstant(d, "STC_OPAL_SORT",SWIG_From_int(static_cast< int >(5)));
24382 SWIG_Python_SetConstant(d, "STC_OPAL_STRING",SWIG_From_int(static_cast< int >(6)));
24383 SWIG_Python_SetConstant(d, "STC_OPAL_PAR",SWIG_From_int(static_cast< int >(7)));
24384 SWIG_Python_SetConstant(d, "STC_OPAL_BOOL_CONST",SWIG_From_int(static_cast< int >(8)));
24385 SWIG_Python_SetConstant(d, "STC_OPAL_DEFAULT",SWIG_From_int(static_cast< int >(32)));
24386 SWIG_Python_SetConstant(d, "STC_SPICE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24387 SWIG_Python_SetConstant(d, "STC_SPICE_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24388 SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24389 SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD2",SWIG_From_int(static_cast< int >(3)));
24390 SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD3",SWIG_From_int(static_cast< int >(4)));
24391 SWIG_Python_SetConstant(d, "STC_SPICE_NUMBER",SWIG_From_int(static_cast< int >(5)));
24392 SWIG_Python_SetConstant(d, "STC_SPICE_DELIMITER",SWIG_From_int(static_cast< int >(6)));
24393 SWIG_Python_SetConstant(d, "STC_SPICE_VALUE",SWIG_From_int(static_cast< int >(7)));
24394 SWIG_Python_SetConstant(d, "STC_SPICE_COMMENTLINE",SWIG_From_int(static_cast< int >(8)));
24395 SWIG_Python_SetConstant(d, "STC_CMD_REDO",SWIG_From_int(static_cast< int >(2011)));
24396 SWIG_Python_SetConstant(d, "STC_CMD_SELECTALL",SWIG_From_int(static_cast< int >(2013)));
24397 SWIG_Python_SetConstant(d, "STC_CMD_UNDO",SWIG_From_int(static_cast< int >(2176)));
24398 SWIG_Python_SetConstant(d, "STC_CMD_CUT",SWIG_From_int(static_cast< int >(2177)));
24399 SWIG_Python_SetConstant(d, "STC_CMD_COPY",SWIG_From_int(static_cast< int >(2178)));
24400 SWIG_Python_SetConstant(d, "STC_CMD_PASTE",SWIG_From_int(static_cast< int >(2179)));
24401 SWIG_Python_SetConstant(d, "STC_CMD_CLEAR",SWIG_From_int(static_cast< int >(2180)));
24402 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWN",SWIG_From_int(static_cast< int >(2300)));
24403 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNEXTEND",SWIG_From_int(static_cast< int >(2301)));
24404 SWIG_Python_SetConstant(d, "STC_CMD_LINEUP",SWIG_From_int(static_cast< int >(2302)));
24405 SWIG_Python_SetConstant(d, "STC_CMD_LINEUPEXTEND",SWIG_From_int(static_cast< int >(2303)));
24406 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFT",SWIG_From_int(static_cast< int >(2304)));
24407 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTEXTEND",SWIG_From_int(static_cast< int >(2305)));
24408 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHT",SWIG_From_int(static_cast< int >(2306)));
24409 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTEXTEND",SWIG_From_int(static_cast< int >(2307)));
24410 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFT",SWIG_From_int(static_cast< int >(2308)));
24411 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEXTEND",SWIG_From_int(static_cast< int >(2309)));
24412 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHT",SWIG_From_int(static_cast< int >(2310)));
24413 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEXTEND",SWIG_From_int(static_cast< int >(2311)));
24414 SWIG_Python_SetConstant(d, "STC_CMD_HOME",SWIG_From_int(static_cast< int >(2312)));
24415 SWIG_Python_SetConstant(d, "STC_CMD_HOMEEXTEND",SWIG_From_int(static_cast< int >(2313)));
24416 SWIG_Python_SetConstant(d, "STC_CMD_LINEEND",SWIG_From_int(static_cast< int >(2314)));
24417 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDEXTEND",SWIG_From_int(static_cast< int >(2315)));
24418 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTART",SWIG_From_int(static_cast< int >(2316)));
24419 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTARTEXTEND",SWIG_From_int(static_cast< int >(2317)));
24420 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTEND",SWIG_From_int(static_cast< int >(2318)));
24421 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTENDEXTEND",SWIG_From_int(static_cast< int >(2319)));
24422 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUP",SWIG_From_int(static_cast< int >(2320)));
24423 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPEXTEND",SWIG_From_int(static_cast< int >(2321)));
24424 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWN",SWIG_From_int(static_cast< int >(2322)));
24425 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2323)));
24426 SWIG_Python_SetConstant(d, "STC_CMD_EDITTOGGLEOVERTYPE",SWIG_From_int(static_cast< int >(2324)));
24427 SWIG_Python_SetConstant(d, "STC_CMD_CANCEL",SWIG_From_int(static_cast< int >(2325)));
24428 SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACK",SWIG_From_int(static_cast< int >(2326)));
24429 SWIG_Python_SetConstant(d, "STC_CMD_TAB",SWIG_From_int(static_cast< int >(2327)));
24430 SWIG_Python_SetConstant(d, "STC_CMD_BACKTAB",SWIG_From_int(static_cast< int >(2328)));
24431 SWIG_Python_SetConstant(d, "STC_CMD_NEWLINE",SWIG_From_int(static_cast< int >(2329)));
24432 SWIG_Python_SetConstant(d, "STC_CMD_FORMFEED",SWIG_From_int(static_cast< int >(2330)));
24433 SWIG_Python_SetConstant(d, "STC_CMD_VCHOME",SWIG_From_int(static_cast< int >(2331)));
24434 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEEXTEND",SWIG_From_int(static_cast< int >(2332)));
24435 SWIG_Python_SetConstant(d, "STC_CMD_ZOOMIN",SWIG_From_int(static_cast< int >(2333)));
24436 SWIG_Python_SetConstant(d, "STC_CMD_ZOOMOUT",SWIG_From_int(static_cast< int >(2334)));
24437 SWIG_Python_SetConstant(d, "STC_CMD_DELWORDLEFT",SWIG_From_int(static_cast< int >(2335)));
24438 SWIG_Python_SetConstant(d, "STC_CMD_DELWORDRIGHT",SWIG_From_int(static_cast< int >(2336)));
24439 SWIG_Python_SetConstant(d, "STC_CMD_LINECUT",SWIG_From_int(static_cast< int >(2337)));
24440 SWIG_Python_SetConstant(d, "STC_CMD_LINEDELETE",SWIG_From_int(static_cast< int >(2338)));
24441 SWIG_Python_SetConstant(d, "STC_CMD_LINETRANSPOSE",SWIG_From_int(static_cast< int >(2339)));
24442 SWIG_Python_SetConstant(d, "STC_CMD_LINEDUPLICATE",SWIG_From_int(static_cast< int >(2404)));
24443 SWIG_Python_SetConstant(d, "STC_CMD_LOWERCASE",SWIG_From_int(static_cast< int >(2340)));
24444 SWIG_Python_SetConstant(d, "STC_CMD_UPPERCASE",SWIG_From_int(static_cast< int >(2341)));
24445 SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLDOWN",SWIG_From_int(static_cast< int >(2342)));
24446 SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLUP",SWIG_From_int(static_cast< int >(2343)));
24447 SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACKNOTLINE",SWIG_From_int(static_cast< int >(2344)));
24448 SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAY",SWIG_From_int(static_cast< int >(2345)));
24449 SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2346)));
24450 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAY",SWIG_From_int(static_cast< int >(2347)));
24451 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2348)));
24452 SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAP",SWIG_From_int(static_cast< int >(2349)));
24453 SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2450)));
24454 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAP",SWIG_From_int(static_cast< int >(2451)));
24455 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAPEXTEND",SWIG_From_int(static_cast< int >(2452)));
24456 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAP",SWIG_From_int(static_cast< int >(2453)));
24457 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2454)));
24458 SWIG_Python_SetConstant(d, "STC_CMD_LINECOPY",SWIG_From_int(static_cast< int >(2455)));
24459 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFT",SWIG_From_int(static_cast< int >(2390)));
24460 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFTEXTEND",SWIG_From_int(static_cast< int >(2391)));
24461 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHT",SWIG_From_int(static_cast< int >(2392)));
24462 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHTEXTEND",SWIG_From_int(static_cast< int >(2393)));
24463 SWIG_Python_SetConstant(d, "STC_CMD_DELLINELEFT",SWIG_From_int(static_cast< int >(2395)));
24464 SWIG_Python_SetConstant(d, "STC_CMD_DELLINERIGHT",SWIG_From_int(static_cast< int >(2396)));
24465 SWIG_Python_SetConstant(d, "STC_CMD_PARADOWN",SWIG_From_int(static_cast< int >(2413)));
24466 SWIG_Python_SetConstant(d, "STC_CMD_PARADOWNEXTEND",SWIG_From_int(static_cast< int >(2414)));
24467 SWIG_Python_SetConstant(d, "STC_CMD_PARAUP",SWIG_From_int(static_cast< int >(2415)));
24468 SWIG_Python_SetConstant(d, "STC_CMD_PARAUPEXTEND",SWIG_From_int(static_cast< int >(2416)));
24469 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2426)));
24470 SWIG_Python_SetConstant(d, "STC_CMD_LINEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2427)));
24471 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTRECTEXTEND",SWIG_From_int(static_cast< int >(2428)));
24472 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTRECTEXTEND",SWIG_From_int(static_cast< int >(2429)));
24473 SWIG_Python_SetConstant(d, "STC_CMD_HOMERECTEXTEND",SWIG_From_int(static_cast< int >(2430)));
24474 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMERECTEXTEND",SWIG_From_int(static_cast< int >(2431)));
24475 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDRECTEXTEND",SWIG_From_int(static_cast< int >(2432)));
24476 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2433)));
24477 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2434)));
24478 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUP",SWIG_From_int(static_cast< int >(2435)));
24479 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUPEXTEND",SWIG_From_int(static_cast< int >(2436)));
24480 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWN",SWIG_From_int(static_cast< int >(2437)));
24481 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2438)));
24482 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEND",SWIG_From_int(static_cast< int >(2439)));
24483 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTENDEXTEND",SWIG_From_int(static_cast< int >(2440)));
24484 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEND",SWIG_From_int(static_cast< int >(2441)));
24485 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTENDEXTEND",SWIG_From_int(static_cast< int >(2442)));
24486 SWIG_Python_SetConstant(d, "wxEVT_STC_CHANGE",SWIG_From_int(static_cast< int >(wxEVT_STC_CHANGE)));
24487 SWIG_Python_SetConstant(d, "wxEVT_STC_STYLENEEDED",SWIG_From_int(static_cast< int >(wxEVT_STC_STYLENEEDED)));
24488 SWIG_Python_SetConstant(d, "wxEVT_STC_CHARADDED",SWIG_From_int(static_cast< int >(wxEVT_STC_CHARADDED)));
24489 SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTREACHED",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTREACHED)));
24490 SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTLEFT",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTLEFT)));
24491 SWIG_Python_SetConstant(d, "wxEVT_STC_ROMODIFYATTEMPT",SWIG_From_int(static_cast< int >(wxEVT_STC_ROMODIFYATTEMPT)));
24492 SWIG_Python_SetConstant(d, "wxEVT_STC_KEY",SWIG_From_int(static_cast< int >(wxEVT_STC_KEY)));
24493 SWIG_Python_SetConstant(d, "wxEVT_STC_DOUBLECLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_DOUBLECLICK)));
24494 SWIG_Python_SetConstant(d, "wxEVT_STC_UPDATEUI",SWIG_From_int(static_cast< int >(wxEVT_STC_UPDATEUI)));
24495 SWIG_Python_SetConstant(d, "wxEVT_STC_MODIFIED",SWIG_From_int(static_cast< int >(wxEVT_STC_MODIFIED)));
24496 SWIG_Python_SetConstant(d, "wxEVT_STC_MACRORECORD",SWIG_From_int(static_cast< int >(wxEVT_STC_MACRORECORD)));
24497 SWIG_Python_SetConstant(d, "wxEVT_STC_MARGINCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_MARGINCLICK)));
24498 SWIG_Python_SetConstant(d, "wxEVT_STC_NEEDSHOWN",SWIG_From_int(static_cast< int >(wxEVT_STC_NEEDSHOWN)));
24499 SWIG_Python_SetConstant(d, "wxEVT_STC_PAINTED",SWIG_From_int(static_cast< int >(wxEVT_STC_PAINTED)));
24500 SWIG_Python_SetConstant(d, "wxEVT_STC_USERLISTSELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_USERLISTSELECTION)));
24501 SWIG_Python_SetConstant(d, "wxEVT_STC_URIDROPPED",SWIG_From_int(static_cast< int >(wxEVT_STC_URIDROPPED)));
24502 SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLSTART",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLSTART)));
24503 SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLEND",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLEND)));
24504 SWIG_Python_SetConstant(d, "wxEVT_STC_START_DRAG",SWIG_From_int(static_cast< int >(wxEVT_STC_START_DRAG)));
24505 SWIG_Python_SetConstant(d, "wxEVT_STC_DRAG_OVER",SWIG_From_int(static_cast< int >(wxEVT_STC_DRAG_OVER)));
24506 SWIG_Python_SetConstant(d, "wxEVT_STC_DO_DROP",SWIG_From_int(static_cast< int >(wxEVT_STC_DO_DROP)));
24507 SWIG_Python_SetConstant(d, "wxEVT_STC_ZOOM",SWIG_From_int(static_cast< int >(wxEVT_STC_ZOOM)));
24508 SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_CLICK)));
24509 SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_DCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_DCLICK)));
24510 SWIG_Python_SetConstant(d, "wxEVT_STC_CALLTIP_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_CALLTIP_CLICK)));
24511 SWIG_Python_SetConstant(d, "wxEVT_STC_AUTOCOMP_SELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_AUTOCOMP_SELECTION)));
24512
24513
24514 }
24515