]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/stc/mac/stc_wrap.cpp
Editors, Renderers and Attrs need to have a destructor so SWIG won't
[wxWidgets.git] / wxPython / contrib / stc / mac / stc_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
1bd55598 3 * Version 1.3.29
d14a1e28
RD
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
1bd55598 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d14a1e28
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 27};
d14a1e28
RD
28#endif
29
1bd55598 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
1bd55598 33 * ----------------------------------------------------------------------------- */
d14a1e28 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
1bd55598
RD
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
36ed4f51 46#endif
d14a1e28 47
32fe5131
RD
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
1bd55598
RD
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__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
1bd55598
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
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
1bd55598
RD
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
32fe5131
RD
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
1bd55598
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
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
1bd55598
RD
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
32fe5131 126
c9c7117a 127
1bd55598 128/* Python.h has to appear first */
36ed4f51 129#include <Python.h>
d14a1e28 130
1bd55598 131/* -----------------------------------------------------------------------------
36ed4f51 132 * swigrun.swg
d14a1e28 133 *
1bd55598
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d14a1e28 137
36ed4f51
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
d14a1e28 141
36ed4f51
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
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)
d14a1e28 147#else
32fe5131 148# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
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*/
32fe5131 159
36ed4f51 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
36ed4f51 162#endif
32fe5131 163
36ed4f51 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
166#endif
167
1bd55598
RD
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)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE 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
32fe5131
RD
309#include <string.h>
310
d14a1e28
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
32fe5131 318/* Structure to store inforomation on one type */
d14a1e28 319typedef struct swig_type_info {
32fe5131
RD
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 */
1bd55598 325 int owndata; /* flag if the structure owns the clientdata */
d14a1e28
RD
326} swig_type_info;
327
32fe5131
RD
328/* Structure to store a type and conversion function used for casting */
329typedef 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.*/
339typedef 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
36ed4f51
RD
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*/
355SWIGRUNTIME int
356SWIG_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;
1bd55598 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
36ed4f51
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 368 Return 0 if not equal, 1 if equal
36ed4f51
RD
369*/
370SWIGRUNTIME int
371SWIG_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 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 388*/
32fe5131
RD
389SWIGRUNTIME int
390SWIG_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;
36ed4f51 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
36ed4f51 400 }
32fe5131 401 return equiv;
36ed4f51
RD
402}
403
32fe5131
RD
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
36ed4f51
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
36ed4f51 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
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 */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_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*/
466SWIGRUNTIMEINLINE const char *
467SWIG_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*/
475SWIGRUNTIME const char *
476SWIG_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. */
1bd55598 481 if (!type) return NULL;
36ed4f51
RD
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
36ed4f51
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
32fe5131
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
36ed4f51
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
36ed4f51 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
1bd55598
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
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*/
526SWIGRUNTIME swig_type_info *
527SWIG_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);
36ed4f51 556 }
32fe5131
RD
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*/
571SWIGRUNTIME swig_type_info *
572SWIG_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);
36ed4f51 591 }
32fe5131
RD
592
593 /* neither found a match */
594 return 0;
36ed4f51
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
36ed4f51 605 for (; u != eu; ++u) {
32fe5131 606 register unsigned char uu = *u;
36ed4f51
RD
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*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
32fe5131 619 register const unsigned char *eu = u + sz;
36ed4f51 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
1bd55598 622 register unsigned char uu;
36ed4f51
RD
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
36ed4f51
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_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
655SWIGRUNTIME const char *
656SWIG_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
668SWIGRUNTIME char *
669SWIG_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}
d14a1e28 682
36ed4f51
RD
683SWIGRUNTIME const char *
684SWIG_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}
d14a1e28
RD
695
696#ifdef __cplusplus
697}
698#endif
699
1bd55598
RD
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
d14a1e28 714
1bd55598
RD
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
736static PyObject *
737PyString_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
36ed4f51 764#endif
1bd55598
RD
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
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
c370783e 799
36ed4f51 800/* -----------------------------------------------------------------------------
1bd55598 801 * error manipulation
36ed4f51 802 * ----------------------------------------------------------------------------- */
d14a1e28 803
1bd55598
RD
804SWIGRUNTIME PyObject*
805SWIG_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}
d14a1e28 846
1bd55598
RD
847
848SWIGRUNTIME void
849SWIG_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
36ed4f51 935#endif
d14a1e28 936
1bd55598
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
36ed4f51 940
1bd55598
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
36ed4f51
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d14a1e28 951
36ed4f51 952/* Constant Types */
36ed4f51
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
1bd55598
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
36ed4f51 964} swig_const_info;
d14a1e28 965
994141e6 966#ifdef __cplusplus
1bd55598
RD
967#if 0
968{ /* cc-mode */
969#endif
36ed4f51
RD
970}
971#endif
15afbcd0 972
15afbcd0 973
1bd55598
RD
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 *
36ed4f51
RD
978 * pyrun.swg
979 *
1bd55598
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
36ed4f51 983 *
1bd55598 984 * ----------------------------------------------------------------------------- */
994141e6 985
36ed4f51 986/* Common SWIG API */
994141e6 987
1bd55598
RD
988/* for raw pointers */
989#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995#define swig_owntype int
994141e6 996
1bd55598
RD
997/* for raw packed data */
998#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d14a1e28 1000
1bd55598
RD
1001/* for class or struct pointers */
1002#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d14a1e28 1004
1bd55598
RD
1005/* for C or C++ function pointers */
1006#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d14a1e28 1008
1bd55598
RD
1009/* for C++ member pointers, ie, member methods */
1010#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1012
15afbcd0 1013
1bd55598 1014/* Runtime API */
15afbcd0 1015
1bd55598
RD
1016#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1019
1bd55598
RD
1020#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024#define SWIG_fail goto fail
32fe5131 1025
15afbcd0 1026
1bd55598 1027/* Runtime API implementation */
15afbcd0 1028
1bd55598 1029/* Error manipulation */
15afbcd0 1030
1bd55598
RD
1031SWIGINTERN void
1032SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
c370783e 1037}
994141e6 1038
1bd55598
RD
1039SWIGINTERN void
1040SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
15afbcd0
RD
1044}
1045
1bd55598 1046#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1047
1bd55598 1048/* Set a constant value */
994141e6 1049
1bd55598
RD
1050SWIGINTERN void
1051SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
c370783e 1054}
994141e6 1055
1bd55598 1056/* Append a value to the result obj */
994141e6 1057
1bd55598
RD
1058SWIGINTERN PyObject*
1059SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076#else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
36ed4f51 1084 } else {
1bd55598
RD
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
c370783e 1096 }
1bd55598
RD
1097 return result;
1098#endif
36ed4f51
RD
1099}
1100
1bd55598 1101/* Unpack the argument tuple */
36ed4f51 1102
1bd55598
RD
1103SWIGINTERN int
1104SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105{
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139}
1140
1141/* A functor is a function object with one single object argument */
1142#if PY_VERSION_HEX >= 0x02020000
1143#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144#else
1145#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146#endif
1147
1148/*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151*/
1152#ifdef __cplusplus
1153#define SWIG_STATIC_POINTER(var) var
1154#else
1155#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156#endif
1157
1158/* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162/* Flags for new pointer objects */
1163#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168#ifdef __cplusplus
1169extern "C" {
1170#if 0
1171} /* cc-mode */
1172#endif
1173#endif
1174
1175/* How to access Py_None */
1176#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177# ifndef SWIG_PYTHON_NO_BUILD_NONE
1178# ifndef SWIG_PYTHON_BUILD_NONE
1179# define SWIG_PYTHON_BUILD_NONE
1180# endif
1181# endif
1182#endif
1183
1184#ifdef SWIG_PYTHON_BUILD_NONE
1185# ifdef Py_None
1186# undef Py_None
1187# define Py_None SWIG_Py_None()
1188# endif
1189SWIGRUNTIMEINLINE PyObject *
1190_SWIG_Py_None(void)
1191{
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195}
1196SWIGRUNTIME PyObject *
1197SWIG_Py_None(void)
1198{
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201}
1202#endif
1203
1204/* The python void return value */
1205
1206SWIGRUNTIMEINLINE PyObject *
1207SWIG_Py_Void(void)
1208{
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212}
1213
1214/* PySwigClientData */
1215
1216typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223} PySwigClientData;
1224
1225SWIGRUNTIMEINLINE int
1226SWIG_Python_CheckImplicit(swig_type_info *ty)
1227{
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230}
1231
1232SWIGRUNTIMEINLINE PyObject *
1233SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237}
1238
1239
1240SWIGRUNTIME PySwigClientData *
1241PySwigClientData_New(PyObject* obj)
1242{
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256#if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258#else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260#endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280#ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282#else
1283 data->delargs = 0;
1284#endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291}
1292
1293SWIGRUNTIME void
1294PySwigClientData_Del(PySwigClientData* data)
1295{
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299}
1300
1301/* =============== PySwigObject =====================*/
1302
1303typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309} PySwigObject;
1310
1311SWIGRUNTIME PyObject *
1312PySwigObject_long(PySwigObject *v)
1313{
1314 return PyLong_FromVoidPtr(v->ptr);
1315}
1316
1317SWIGRUNTIME PyObject *
1318PySwigObject_format(const char* fmt, PySwigObject *v)
1319{
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333}
1334
1335SWIGRUNTIME PyObject *
1336PySwigObject_oct(PySwigObject *v)
1337{
1338 return PySwigObject_format("%o",v);
1339}
1340
1341SWIGRUNTIME PyObject *
1342PySwigObject_hex(PySwigObject *v)
1343{
1344 return PySwigObject_format("%x",v);
1345}
1346
1347SWIGRUNTIME PyObject *
1348#ifdef METH_NOARGS
1349PySwigObject_repr(PySwigObject *v)
1350#else
1351PySwigObject_repr(PySwigObject *v, PyObject *args)
1352#endif
1353{
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359#ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361#else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363#endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367}
1368
1369SWIGRUNTIME int
1370PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371{
1372#ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374#else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376#endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384}
1385
1386SWIGRUNTIME PyObject *
1387PySwigObject_str(PySwigObject *v)
1388{
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392}
1393
1394SWIGRUNTIME int
1395PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396{
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400}
1401
1402SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404SWIGRUNTIME PyTypeObject*
1405PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408}
1409
1410SWIGRUNTIMEINLINE int
1411PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414}
1415
1416SWIGRUNTIME PyObject *
1417PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419SWIGRUNTIME void
1420PySwigObject_dealloc(PyObject *v)
1421{
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446#endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451}
1452
1453SWIGRUNTIME PyObject*
1454PySwigObject_append(PyObject* v, PyObject* next)
1455{
1456 PySwigObject *sobj = (PySwigObject *) v;
1457#ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461#endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468}
1469
1470SWIGRUNTIME PyObject*
1471#ifdef METH_NOARGS
1472PySwigObject_next(PyObject* v)
1473#else
1474PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475#endif
1476{
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484}
1485
1486SWIGINTERN PyObject*
1487#ifdef METH_NOARGS
1488PySwigObject_disown(PyObject *v)
1489#else
1490PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491#endif
1492{
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496}
1497
1498SWIGINTERN PyObject*
1499#ifdef METH_NOARGS
1500PySwigObject_acquire(PyObject *v)
1501#else
1502PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503#endif
1504{
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508}
1509
1510SWIGINTERN PyObject*
1511PySwigObject_own(PyObject *v, PyObject *args)
1512{
1513 PyObject *val = 0;
1514#if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516#else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518#endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527#ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533#else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539#endif
1540 }
1541 return obj;
1542 }
1543}
1544
1545#ifdef METH_O
1546static PyMethodDef
1547swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555};
1556#else
1557static PyMethodDef
1558swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566};
1567#endif
1568
1569#if PY_VERSION_HEX < 0x02020000
1570SWIGINTERN PyObject *
1571PySwigObject_getattr(PySwigObject *sobj,char *name)
1572{
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574}
1575#endif
1576
1577SWIGRUNTIME PyTypeObject*
1578_PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
36ed4f51
RD
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1605#if PY_VERSION_HEX >= 0x02020000
36ed4f51 1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1607#elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
1609#endif
1610 };
1611
1bd55598 1612 static PyTypeObject pyswigobject_type;
32fe5131 1613 static int type_init = 0;
36ed4f51 1614 if (!type_init) {
1bd55598
RD
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624#if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626#else
1627 (getattrfunc)0, /* tp_getattr */
36ed4f51 1628#endif
1bd55598
RD
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
36ed4f51 1647#if PY_VERSION_HEX >= 0x02020000
1bd55598
RD
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
36ed4f51
RD
1668#endif
1669#if PY_VERSION_HEX >= 0x02030000
1bd55598 1670 0, /* tp_del */
36ed4f51
RD
1671#endif
1672#ifdef COUNT_ALLOCS
1bd55598 1673 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1674#endif
1bd55598 1675 };
32fe5131 1676 pyswigobject_type = tmp;
1bd55598 1677 pyswigobject_type.ob_type = &PyType_Type;
36ed4f51 1678 type_init = 1;
c370783e 1679 }
32fe5131 1680 return &pyswigobject_type;
36ed4f51
RD
1681}
1682
1683SWIGRUNTIME PyObject *
1bd55598 1684PySwigObject_New(void *ptr, swig_type_info *ty, int own)
36ed4f51 1685{
1bd55598
RD
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
32fe5131 1692 }
1bd55598 1693 return (PyObject *)sobj;
36ed4f51
RD
1694}
1695
1696/* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1bd55598 1703 swig_type_info *ty;
36ed4f51
RD
1704 size_t size;
1705} PySwigPacked;
1706
1707SWIGRUNTIME int
1bd55598 1708PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
36ed4f51
RD
1709{
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
c370783e 1715 }
1bd55598 1716 fputs(v->ty->name,fp);
36ed4f51
RD
1717 fputs(">", fp);
1718 return 0;
1719}
1720
1721SWIGRUNTIME PyObject *
1722PySwigPacked_repr(PySwigPacked *v)
1723{
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1bd55598 1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
36ed4f51 1727 } else {
1bd55598 1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
36ed4f51 1729 }
c370783e
RD
1730}
1731
36ed4f51
RD
1732SWIGRUNTIME PyObject *
1733PySwigPacked_str(PySwigPacked *v)
1734{
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1bd55598 1737 return PyString_FromFormat("%s%s", result, v->ty->name);
36ed4f51 1738 } else {
1bd55598 1739 return PyString_FromString(v->ty->name);
36ed4f51
RD
1740 }
1741}
c370783e 1742
36ed4f51
RD
1743SWIGRUNTIME int
1744PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
c370783e 1745{
1bd55598
RD
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c370783e
RD
1750}
1751
1bd55598 1752SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
15afbcd0 1753
36ed4f51 1754SWIGRUNTIME PyTypeObject*
32fe5131 1755PySwigPacked_type(void) {
1bd55598
RD
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758}
1759
1760SWIGRUNTIMEINLINE int
1761PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764}
1765
1766SWIGRUNTIME void
1767PySwigPacked_dealloc(PyObject *v)
1768{
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774}
1775
1776SWIGRUNTIME PyTypeObject*
1777_PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810#if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
36ed4f51
RD
1831#endif
1832#if PY_VERSION_HEX >= 0x02030000
1bd55598 1833 0, /* tp_del */
36ed4f51
RD
1834#endif
1835#ifdef COUNT_ALLOCS
1bd55598 1836 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1837#endif
1bd55598 1838 };
32fe5131 1839 pyswigpacked_type = tmp;
1bd55598 1840 pyswigpacked_type.ob_type = &PyType_Type;
36ed4f51
RD
1841 type_init = 1;
1842 }
32fe5131 1843 return &pyswigpacked_type;
36ed4f51
RD
1844}
1845
1846SWIGRUNTIME PyObject *
1bd55598 1847PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
36ed4f51 1848{
1bd55598
RD
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
36ed4f51 1851 void *pack = malloc(size);
32fe5131
RD
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1bd55598
RD
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
32fe5131 1860 }
629e65c2 1861 }
1bd55598 1862 return (PyObject *) sobj;
36ed4f51
RD
1863}
1864
1bd55598 1865SWIGRUNTIME swig_type_info *
36ed4f51
RD
1866PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867{
1bd55598
RD
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
36ed4f51 1876}
d14a1e28 1877
36ed4f51 1878/* -----------------------------------------------------------------------------
1bd55598 1879 * pointers/data manipulation
36ed4f51 1880 * ----------------------------------------------------------------------------- */
15afbcd0 1881
1bd55598
RD
1882SWIGRUNTIMEINLINE PyObject *
1883_SWIG_This(void)
1884{
1885 return PyString_FromString("this");
1886}
36ed4f51 1887
1bd55598
RD
1888SWIGRUNTIME PyObject *
1889SWIG_This(void)
1890{
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893}
36ed4f51 1894
1bd55598 1895/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
36ed4f51 1896
1bd55598
RD
1897SWIGRUNTIME PySwigObject *
1898SWIG_Python_GetSwigThis(PyObject *pyobj)
15afbcd0 1899{
1bd55598
RD
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913#ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918#endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
36ed4f51 1922 } else {
1bd55598
RD
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
c370783e
RD
1925 }
1926 }
1bd55598
RD
1927 }
1928#else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936#endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
15afbcd0
RD
1943 }
1944}
1945
1bd55598
RD
1946/* Acquire a pointer value */
1947
1948SWIGRUNTIME int
1949SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
36ed4f51 1957 }
1bd55598 1958 return 0;
36ed4f51 1959}
15afbcd0 1960
1bd55598
RD
1961/* Convert a pointer value */
1962
36ed4f51 1963SWIGRUNTIME int
1bd55598
RD
1964SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
36ed4f51 1988 } else {
1bd55598
RD
1989 if (ptr) *ptr = vptr;
1990 break;
36ed4f51 1991 }
36ed4f51 1992 }
1bd55598
RD
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
c370783e 2038 }
15afbcd0
RD
2039}
2040
1bd55598
RD
2041/* Convert a function ptr value */
2042
36ed4f51 2043SWIGRUNTIME int
1bd55598
RD
2044SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
36ed4f51 2047 } else {
1bd55598
RD
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
36ed4f51 2065 }
b2dc1044
RD
2066}
2067
1bd55598 2068/* Convert a packed value value */
b2dc1044 2069
36ed4f51 2070SWIGRUNTIME int
1bd55598
RD
2071SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
36ed4f51 2080 }
1bd55598
RD
2081 return SWIG_OK;
2082}
36ed4f51 2083
1bd55598
RD
2084/* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
b2dc1044 2087
1bd55598
RD
2088/*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091*/
36ed4f51 2092
1bd55598
RD
2093SWIGRUNTIME PyObject*
2094SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095{
2096#if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
36ed4f51 2111 }
1bd55598
RD
2112#else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115#endif
d14a1e28 2116 }
1bd55598
RD
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
36ed4f51 2122 }
1bd55598
RD
2123 return inst;
2124#else
2125#if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132#else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
36ed4f51 2136 }
1bd55598
RD
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
36ed4f51 2143 }
1bd55598
RD
2144#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146#endif
2147#ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149#endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152#endif
2153#endif
d14a1e28
RD
2154}
2155
1bd55598
RD
2156SWIGRUNTIME void
2157SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158{
2159 PyObject *dict;
2160#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
36ed4f51 2171#endif
1bd55598
RD
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175}
36ed4f51 2176
1bd55598
RD
2177
2178SWIGINTERN PyObject *
2179SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
36ed4f51 2187 } else {
1bd55598 2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
d14a1e28 2189 }
1bd55598 2190 return SWIG_Py_Void();
36ed4f51 2191 }
1bd55598
RD
2192}
2193
2194/* Create a new pointer object */
36ed4f51 2195
36ed4f51 2196SWIGRUNTIME PyObject *
1bd55598 2197SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
36ed4f51 2198 if (!ptr) {
1bd55598
RD
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
36ed4f51 2209 }
36ed4f51 2210 }
1bd55598 2211 return robj;
36ed4f51 2212 }
d14a1e28
RD
2213}
2214
1bd55598
RD
2215/* Create a new packed object */
2216
2217SWIGRUNTIMEINLINE PyObject *
36ed4f51 2218SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1bd55598 2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
36ed4f51 2220}
d14a1e28 2221
36ed4f51
RD
2222/* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226#ifdef SWIG_LINK_RUNTIME
2227void *SWIG_ReturnGlobalTypeList(void *);
2228#endif
2229
32fe5131
RD
2230SWIGRUNTIME swig_module_info *
2231SWIG_Python_GetModule(void) {
36ed4f51
RD
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235#ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237#else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
d14a1e28 2243 }
36ed4f51 2244#endif
32fe5131
RD
2245 }
2246 return (swig_module_info *) type_pointer;
d14a1e28
RD
2247}
2248
32fe5131
RD
2249#if PY_MAJOR_VERSION < 2
2250/* PyModule_AddObject function was introduced in Python 2.0. The following function
1bd55598 2251 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2252SWIGINTERN int
2253PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254{
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
1bd55598 2259 return SWIG_ERROR;
32fe5131
RD
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
1bd55598 2264 return SWIG_ERROR;
32fe5131
RD
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
1bd55598 2272 return SWIG_ERROR;
32fe5131
RD
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
1bd55598 2275 return SWIG_ERROR;
32fe5131 2276 Py_DECREF(o);
1bd55598 2277 return SWIG_OK;
36ed4f51 2278}
32fe5131 2279#endif
d14a1e28 2280
1bd55598
RD
2281SWIGRUNTIME void
2282SWIG_Python_DestroyModule(void *vptr)
2283{
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295}
2296
32fe5131
RD
2297SWIGRUNTIME void
2298SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
1bd55598 2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1bd55598
RD
2306 } else {
2307 Py_XDECREF(pointer);
32fe5131
RD
2308 }
2309}
36ed4f51 2310
1bd55598
RD
2311/* The python cached type query */
2312SWIGRUNTIME PyObject *
2313SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
d14a1e28 2316}
36ed4f51 2317
1bd55598
RD
2318SWIGRUNTIME swig_type_info *
2319SWIG_Python_TypeQuery(const char *type)
2320{
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338}
2339
2340/*
2341 For backward compatibility only
2342*/
2343#define SWIG_POINTER_EXCEPTION 0
2344#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347SWIGRUNTIME int
2348SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349{
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370}
2371
2372SWIGRUNTIME int
2373SWIG_Python_ArgFail(int argnum)
2374{
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383}
2384
2385SWIGRUNTIMEINLINE const char *
2386PySwigObject_GetDesc(PyObject *self)
2387{
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391}
2392
2393SWIGRUNTIME void
2394SWIG_Python_TypeError(const char *type, PyObject *obj)
2395{
2396 if (type) {
2397#if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406#endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427}
2428
2429
2430/* Convert a pointer value, signal an exception on a type mismatch */
2431SWIGRUNTIME void *
2432SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442}
2443
2444
2445#ifdef __cplusplus
2446#if 0
2447{ /* cc-mode */
2448#endif
2449}
2450#endif
2451
2452
2453
2454#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460/* -------- TYPES TABLE (BEGIN) -------- */
2461
2462#define SWIGTYPE_p_char swig_types[0]
2463#define SWIGTYPE_p_form_ops_t swig_types[1]
2464#define SWIGTYPE_p_int swig_types[2]
32fe5131
RD
2465#define SWIGTYPE_p_unsigned_char swig_types[3]
2466#define SWIGTYPE_p_unsigned_int swig_types[4]
2467#define SWIGTYPE_p_unsigned_long swig_types[5]
2468#define SWIGTYPE_p_void swig_types[6]
2469#define SWIGTYPE_p_wxANIHandler swig_types[7]
2470#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472#define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473#define SWIGTYPE_p_wxBitmap swig_types[11]
2474#define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475#define SWIGTYPE_p_wxBusyInfo swig_types[13]
2476#define SWIGTYPE_p_wxCURHandler swig_types[14]
2477#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478#define SWIGTYPE_p_wxClipboard swig_types[16]
2479#define SWIGTYPE_p_wxCloseEvent swig_types[17]
2480#define SWIGTYPE_p_wxColour swig_types[18]
2481#define SWIGTYPE_p_wxCommandEvent swig_types[19]
2482#define SWIGTYPE_p_wxContextMenuEvent swig_types[20]
2483#define SWIGTYPE_p_wxControl swig_types[21]
2484#define SWIGTYPE_p_wxControlWithItems swig_types[22]
2485#define SWIGTYPE_p_wxDC swig_types[23]
2486#define SWIGTYPE_p_wxDateEvent swig_types[24]
2487#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[25]
2488#define SWIGTYPE_p_wxDropFilesEvent swig_types[26]
2489#define SWIGTYPE_p_wxDuplexMode swig_types[27]
2490#define SWIGTYPE_p_wxEraseEvent swig_types[28]
2491#define SWIGTYPE_p_wxEvent swig_types[29]
2492#define SWIGTYPE_p_wxEvtHandler swig_types[30]
2493#define SWIGTYPE_p_wxFSFile swig_types[31]
2494#define SWIGTYPE_p_wxFileHistory swig_types[32]
2495#define SWIGTYPE_p_wxFileSystem swig_types[33]
2496#define SWIGTYPE_p_wxFlexGridSizer swig_types[34]
2497#define SWIGTYPE_p_wxFocusEvent swig_types[35]
2498#define SWIGTYPE_p_wxFont swig_types[36]
2499#define SWIGTYPE_p_wxGBSizerItem swig_types[37]
2500#define SWIGTYPE_p_wxGIFHandler swig_types[38]
2501#define SWIGTYPE_p_wxGridBagSizer swig_types[39]
2502#define SWIGTYPE_p_wxGridSizer swig_types[40]
2503#define SWIGTYPE_p_wxICOHandler swig_types[41]
2504#define SWIGTYPE_p_wxIconizeEvent swig_types[42]
2505#define SWIGTYPE_p_wxIdleEvent swig_types[43]
2506#define SWIGTYPE_p_wxImage swig_types[44]
2507#define SWIGTYPE_p_wxImageHandler swig_types[45]
2508#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[46]
2509#define SWIGTYPE_p_wxInitDialogEvent swig_types[47]
2510#define SWIGTYPE_p_wxJPEGHandler swig_types[48]
2511#define SWIGTYPE_p_wxJoystickEvent swig_types[49]
2512#define SWIGTYPE_p_wxKeyEvent swig_types[50]
2513#define SWIGTYPE_p_wxLayoutConstraints swig_types[51]
2514#define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
2515#define SWIGTYPE_p_wxMemoryBuffer swig_types[53]
2516#define SWIGTYPE_p_wxMenu swig_types[54]
2517#define SWIGTYPE_p_wxMenuBar swig_types[55]
2518#define SWIGTYPE_p_wxMenuEvent swig_types[56]
2519#define SWIGTYPE_p_wxMenuItem swig_types[57]
2520#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[58]
2521#define SWIGTYPE_p_wxMouseEvent swig_types[59]
2522#define SWIGTYPE_p_wxMoveEvent swig_types[60]
2523#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[61]
2524#define SWIGTYPE_p_wxNcPaintEvent swig_types[62]
2525#define SWIGTYPE_p_wxNotifyEvent swig_types[63]
2526#define SWIGTYPE_p_wxObject swig_types[64]
2527#define SWIGTYPE_p_wxPCXHandler swig_types[65]
2528#define SWIGTYPE_p_wxPNGHandler swig_types[66]
2529#define SWIGTYPE_p_wxPNMHandler swig_types[67]
2530#define SWIGTYPE_p_wxPaintEvent swig_types[68]
2531#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[69]
2532#define SWIGTYPE_p_wxPaperSize swig_types[70]
2533#define SWIGTYPE_p_wxPoint swig_types[71]
2534#define SWIGTYPE_p_wxProcessEvent swig_types[72]
2535#define SWIGTYPE_p_wxPyApp swig_types[73]
2536#define SWIGTYPE_p_wxPyCommandEvent swig_types[74]
2537#define SWIGTYPE_p_wxPyEvent swig_types[75]
2538#define SWIGTYPE_p_wxPyImageHandler swig_types[76]
2539#define SWIGTYPE_p_wxPyProcess swig_types[77]
2540#define SWIGTYPE_p_wxPySizer swig_types[78]
2541#define SWIGTYPE_p_wxPyTimer swig_types[79]
2542#define SWIGTYPE_p_wxPyValidator swig_types[80]
2543#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[81]
2544#define SWIGTYPE_p_wxRect swig_types[82]
2545#define SWIGTYPE_p_wxScrollBar swig_types[83]
2546#define SWIGTYPE_p_wxScrollEvent swig_types[84]
2547#define SWIGTYPE_p_wxScrollWinEvent swig_types[85]
2548#define SWIGTYPE_p_wxSetCursorEvent swig_types[86]
2549#define SWIGTYPE_p_wxShowEvent swig_types[87]
2550#define SWIGTYPE_p_wxSizeEvent swig_types[88]
2551#define SWIGTYPE_p_wxSizer swig_types[89]
2552#define SWIGTYPE_p_wxSizerItem swig_types[90]
2553#define SWIGTYPE_p_wxStaticBoxSizer swig_types[91]
2554#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[92]
2555#define SWIGTYPE_p_wxStyledTextCtrl swig_types[93]
2556#define SWIGTYPE_p_wxStyledTextEvent swig_types[94]
2557#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[95]
2558#define SWIGTYPE_p_wxSystemOptions swig_types[96]
2559#define SWIGTYPE_p_wxTIFFHandler swig_types[97]
2560#define SWIGTYPE_p_wxTimerEvent swig_types[98]
2561#define SWIGTYPE_p_wxToolTip swig_types[99]
2562#define SWIGTYPE_p_wxUpdateUIEvent swig_types[100]
2563#define SWIGTYPE_p_wxValidator swig_types[101]
2564#define SWIGTYPE_p_wxWindow swig_types[102]
2565#define SWIGTYPE_p_wxWindowCreateEvent swig_types[103]
2566#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[104]
2567#define SWIGTYPE_p_wxXPMHandler swig_types[105]
1bd55598
RD
2568static swig_type_info *swig_types[107];
2569static swig_module_info swig_module = {swig_types, 106, 0, 0, 0, 0};
32fe5131
RD
2570#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2571#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
2572
2573/* -------- TYPES TABLE (END) -------- */
2574
1bd55598
RD
2575#if (PY_VERSION_HEX <= 0x02000000)
2576# if !defined(SWIG_PYTHON_CLASSIC)
2577# error "This python version requires to use swig with the '-classic' option"
2578# endif
2579#endif
2580#if (PY_VERSION_HEX <= 0x02020000)
2581# error "This python version requires to use swig with the '-nomodern' option"
2582#endif
2583#if (PY_VERSION_HEX <= 0x02020000)
2584# error "This python version requires to use swig with the '-nomodernargs' option"
2585#endif
2586#ifndef METH_O
2587# error "This python version requires to use swig with the '-nofastunpack' option"
2588#endif
36ed4f51
RD
2589
2590/*-----------------------------------------------
2591 @(target):= _stc.so
2592 ------------------------------------------------*/
2593#define SWIG_init init_stc
2594
2595#define SWIG_name "_stc"
2596
1bd55598 2597#define SWIGVERSION 0x010329
36ed4f51
RD
2598
2599
1bd55598
RD
2600#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2601#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
36ed4f51 2602
36ed4f51 2603
1bd55598 2604#include <stdexcept>
36ed4f51 2605
36ed4f51 2606
1bd55598
RD
2607namespace swig {
2608 class PyObject_ptr {
2609 protected:
2610 PyObject *_obj;
36ed4f51 2611
1bd55598
RD
2612 public:
2613 PyObject_ptr() :_obj(0)
2614 {
d14a1e28 2615 }
36ed4f51 2616
1bd55598
RD
2617 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2618 {
2619 Py_XINCREF(_obj);
3adfb63b 2620 }
1bd55598
RD
2621
2622 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2623 {
2624 if (initial_ref) Py_XINCREF(_obj);
3adfb63b 2625 }
1bd55598
RD
2626
2627 PyObject_ptr & operator=(const PyObject_ptr& item)
2628 {
2629 Py_XINCREF(item._obj);
2630 Py_XDECREF(_obj);
2631 _obj = item._obj;
2632 return *this;
2633 }
2634
2635 ~PyObject_ptr()
2636 {
2637 Py_XDECREF(_obj);
2638 }
2639
2640 operator PyObject *() const
2641 {
2642 return _obj;
2643 }
2644
2645 PyObject *operator->() const
2646 {
2647 return _obj;
2648 }
2649 };
d14a1e28
RD
2650}
2651
2652
1bd55598
RD
2653namespace swig {
2654 struct PyObject_var : PyObject_ptr {
2655 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2656
2657 PyObject_var & operator = (PyObject* obj)
2658 {
2659 Py_XDECREF(_obj);
2660 _obj = obj;
2661 return *this;
d14a1e28 2662 }
1bd55598 2663 };
d14a1e28
RD
2664}
2665
2666
1bd55598
RD
2667#include "wx/wxPython/wxPython.h"
2668#include "wx/wxPython/pyclasses.h"
2669#include <wx/stc/stc.h>
d14a1e28
RD
2670
2671
1bd55598
RD
2672 static const wxString wxPySTCNameStr(wxSTCNameStr);
2673
2674 #define SWIG_From_long PyInt_FromLong
2675
2676
2677SWIGINTERNINLINE PyObject *
2678SWIG_From_int (int value)
2679{
2680 return SWIG_From_long (value);
d14a1e28
RD
2681}
2682
1bd55598
RD
2683
2684#include <limits.h>
2685#ifndef LLONG_MIN
2686# define LLONG_MIN LONG_LONG_MIN
2687#endif
2688#ifndef LLONG_MAX
2689# define LLONG_MAX LONG_LONG_MAX
2690#endif
2691#ifndef ULLONG_MAX
2692# define ULLONG_MAX ULONG_LONG_MAX
2693#endif
2694
2695
2696SWIGINTERN int
2697SWIG_AsVal_long (PyObject* obj, long* val)
36ed4f51 2698{
1bd55598
RD
2699 if (PyNumber_Check(obj)) {
2700 if (val) *val = PyInt_AsLong(obj);
2701 return SWIG_OK;
2702 }
2703 return SWIG_TypeError;
36ed4f51 2704}
d14a1e28 2705
1bd55598
RD
2706
2707SWIGINTERN int
2708SWIG_AsVal_int (PyObject * obj, int *val)
36ed4f51 2709{
1bd55598
RD
2710 long v;
2711 int res = SWIG_AsVal_long (obj, &v);
2712 if (SWIG_IsOK(res)) {
2713 if ((v < INT_MIN || v > INT_MAX)) {
2714 return SWIG_OverflowError;
2715 } else {
2716 if (val) *val = static_cast< int >(v);
2717 }
2718 }
2719 return res;
d14a1e28
RD
2720}
2721
2722
36ed4f51 2723SWIGINTERN int
1bd55598 2724SWIG_AsVal_bool (PyObject *obj, bool *val)
36ed4f51
RD
2725{
2726 if (obj == Py_True) {
2727 if (val) *val = true;
1bd55598
RD
2728 return SWIG_OK;
2729 } else if (obj == Py_False) {
36ed4f51 2730 if (val) *val = false;
1bd55598 2731 return SWIG_OK;
36ed4f51 2732 } else {
1bd55598
RD
2733 long v = 0;
2734 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2735 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2736 return res;
36ed4f51 2737 }
d14a1e28
RD
2738}
2739
2740
1bd55598
RD
2741SWIGINTERN swig_type_info*
2742SWIG_pchar_descriptor()
36ed4f51 2743{
1bd55598
RD
2744 static int init = 0;
2745 static swig_type_info* info = 0;
2746 if (!init) {
2747 info = SWIG_TypeQuery("_p_char");
2748 init = 1;
36ed4f51 2749 }
1bd55598 2750 return info;
d14a1e28
RD
2751}
2752
2753
36ed4f51 2754SWIGINTERN int
1bd55598 2755SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
36ed4f51 2756{
1bd55598
RD
2757 if (PyString_Check(obj)) {
2758 char *cstr; int len;
2759 PyString_AsStringAndSize(obj, &cstr, &len);
2760 if (cptr) {
2761 if (alloc) {
2762 /*
2763 In python the user should not be able to modify the inner
2764 string representation. To warranty that, if you define
2765 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2766 buffer is always returned.
2767
2768 The default behavior is just to return the pointer value,
2769 so, be careful.
2770 */
2771#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2772 if (*alloc != SWIG_OLDOBJ)
2773#else
2774 if (*alloc == SWIG_NEWOBJ)
2775#endif
2776 {
2777 *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
2778 *alloc = SWIG_NEWOBJ;
2779 }
2780 else {
2781 *cptr = cstr;
2782 *alloc = SWIG_OLDOBJ;
36ed4f51 2783 }
1bd55598
RD
2784 } else {
2785 *cptr = PyString_AsString(obj);
2786 }
2787 }
2788 if (psize) *psize = len + 1;
2789 return SWIG_OK;
2790 } else {
2791 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2792 if (pchar_descriptor) {
2793 void* vptr = 0;
2794 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
2795 if (cptr) *cptr = (char *) vptr;
2796 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
2797 if (alloc) *alloc = SWIG_OLDOBJ;
2798 return SWIG_OK;
36ed4f51 2799 }
36ed4f51
RD
2800 }
2801 }
1bd55598 2802 return SWIG_TypeError;
36ed4f51
RD
2803}
2804
2805
36ed4f51 2806
36ed4f51
RD
2807
2808#ifdef __cplusplus
2809extern "C" {
2810#endif
1bd55598
RD
2811SWIGINTERN int STCNameStr_set(PyObject *) {
2812 SWIG_Error(SWIG_AttributeError,"Variable STCNameStr is read-only.");
2813 return 1;
36ed4f51
RD
2814}
2815
2816
1bd55598
RD
2817SWIGINTERN PyObject *STCNameStr_get(void) {
2818 PyObject *pyobj = 0;
2819
2820 {
36ed4f51 2821#if wxUSE_UNICODE
1bd55598 2822 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
36ed4f51 2823#else
1bd55598 2824 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
36ed4f51 2825#endif
1bd55598
RD
2826 }
2827 return pyobj;
2828}
2829
2830
2831SWIGINTERN PyObject *_wrap_new_StyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2832 PyObject *resultobj = 0;
2833 wxWindow *arg1 = (wxWindow *) 0 ;
2834 int arg2 = (int) wxID_ANY ;
2835 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2836 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2837 wxSize const &arg4_defvalue = wxDefaultSize ;
2838 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2839 long arg5 = (long) 0 ;
2840 wxString const &arg6_defvalue = wxPySTCNameStr ;
2841 wxString *arg6 = (wxString *) &arg6_defvalue ;
2842 wxStyledTextCtrl *result = 0 ;
2843 void *argp1 = 0 ;
2844 int res1 = 0 ;
2845 int val2 ;
2846 int ecode2 = 0 ;
2847 wxPoint temp3 ;
2848 wxSize temp4 ;
2849 long val5 ;
2850 int ecode5 = 0 ;
2851 bool temp6 = false ;
2852 PyObject * obj0 = 0 ;
2853 PyObject * obj1 = 0 ;
2854 PyObject * obj2 = 0 ;
2855 PyObject * obj3 = 0 ;
2856 PyObject * obj4 = 0 ;
2857 PyObject * obj5 = 0 ;
2858 char * kwnames[] = {
2859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2860 };
2861
2862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
2863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
2864 if (!SWIG_IsOK(res1)) {
2865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StyledTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
2866 }
2867 arg1 = reinterpret_cast< wxWindow * >(argp1);
2868 if (obj1) {
2869 ecode2 = SWIG_AsVal_int(obj1, &val2);
2870 if (!SWIG_IsOK(ecode2)) {
2871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextCtrl" "', expected argument " "2"" of type '" "int""'");
2872 }
2873 arg2 = static_cast< int >(val2);
2874 }
2875 if (obj2) {
d14a1e28 2876 {
1bd55598
RD
2877 arg3 = &temp3;
2878 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 2879 }
1bd55598
RD
2880 }
2881 if (obj3) {
d14a1e28 2882 {
1bd55598
RD
2883 arg4 = &temp4;
2884 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 2885 }
1bd55598
RD
2886 }
2887 if (obj4) {
2888 ecode5 = SWIG_AsVal_long(obj4, &val5);
2889 if (!SWIG_IsOK(ecode5)) {
2890 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StyledTextCtrl" "', expected argument " "5"" of type '" "long""'");
2891 }
2892 arg5 = static_cast< long >(val5);
2893 }
2894 if (obj5) {
36ed4f51 2895 {
1bd55598
RD
2896 arg6 = wxString_in_helper(obj5);
2897 if (arg6 == NULL) SWIG_fail;
2898 temp6 = true;
36ed4f51 2899 }
1bd55598
RD
2900 }
2901 {
2902 if (!wxPyCheckForApp()) SWIG_fail;
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2905 wxPyEndAllowThreads(__tstate);
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_NEW | 0 );
2909 {
2910 if (temp6)
2911 delete arg6;
2912 }
2913 return resultobj;
2914fail:
2915 {
2916 if (temp6)
2917 delete arg6;
2918 }
2919 return NULL;
d14a1e28
RD
2920}
2921
2922
1bd55598
RD
2923SWIGINTERN PyObject *_wrap_new_PreStyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2924 PyObject *resultobj = 0;
2925 wxStyledTextCtrl *result = 0 ;
2926
2927 if (!SWIG_Python_UnpackTuple(args,"new_PreStyledTextCtrl",0,0,0)) SWIG_fail;
2928 {
2929 if (!wxPyCheckForApp()) SWIG_fail;
2930 PyThreadState* __tstate = wxPyBeginAllowThreads();
2931 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
2932 wxPyEndAllowThreads(__tstate);
2933 if (PyErr_Occurred()) SWIG_fail;
2934 }
2935 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_OWN | 0 );
2936 return resultobj;
2937fail:
2938 return NULL;
2939}
2940
2941
2942SWIGINTERN PyObject *_wrap_StyledTextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2943 PyObject *resultobj = 0;
2944 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2945 wxWindow *arg2 = (wxWindow *) 0 ;
2946 int arg3 = (int) wxID_ANY ;
2947 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2948 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2949 wxSize const &arg5_defvalue = wxDefaultSize ;
2950 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2951 long arg6 = (long) 0 ;
2952 wxString const &arg7_defvalue = wxSTCNameStr ;
2953 wxString *arg7 = (wxString *) &arg7_defvalue ;
2954 bool result;
2955 void *argp1 = 0 ;
2956 int res1 = 0 ;
2957 void *argp2 = 0 ;
2958 int res2 = 0 ;
2959 int val3 ;
2960 int ecode3 = 0 ;
2961 wxPoint temp4 ;
2962 wxSize temp5 ;
2963 long val6 ;
2964 int ecode6 = 0 ;
2965 bool temp7 = false ;
2966 PyObject * obj0 = 0 ;
2967 PyObject * obj1 = 0 ;
2968 PyObject * obj2 = 0 ;
2969 PyObject * obj3 = 0 ;
2970 PyObject * obj4 = 0 ;
2971 PyObject * obj5 = 0 ;
2972 PyObject * obj6 = 0 ;
2973 char * kwnames[] = {
2974 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2975 };
2976
2977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
2978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
2979 if (!SWIG_IsOK(res1)) {
2980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Create" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
2981 }
2982 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
2983 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
2984 if (!SWIG_IsOK(res2)) {
2985 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
2986 }
2987 arg2 = reinterpret_cast< wxWindow * >(argp2);
2988 if (obj2) {
2989 ecode3 = SWIG_AsVal_int(obj2, &val3);
2990 if (!SWIG_IsOK(ecode3)) {
2991 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
2992 }
2993 arg3 = static_cast< int >(val3);
2994 }
2995 if (obj3) {
d14a1e28 2996 {
1bd55598
RD
2997 arg4 = &temp4;
2998 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 2999 }
1bd55598
RD
3000 }
3001 if (obj4) {
4f89f6a3 3002 {
1bd55598
RD
3003 arg5 = &temp5;
3004 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 3005 }
1bd55598
RD
3006 }
3007 if (obj5) {
3008 ecode6 = SWIG_AsVal_long(obj5, &val6);
3009 if (!SWIG_IsOK(ecode6)) {
3010 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_Create" "', expected argument " "6"" of type '" "long""'");
3011 }
3012 arg6 = static_cast< long >(val6);
3013 }
3014 if (obj6) {
36ed4f51 3015 {
1bd55598
RD
3016 arg7 = wxString_in_helper(obj6);
3017 if (arg7 == NULL) SWIG_fail;
3018 temp7 = true;
36ed4f51 3019 }
1bd55598
RD
3020 }
3021 {
3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
3023 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 {
3028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3029 }
3030 {
3031 if (temp7)
3032 delete arg7;
3033 }
3034 return resultobj;
3035fail:
3036 {
3037 if (temp7)
3038 delete arg7;
3039 }
3040 return NULL;
d14a1e28
RD
3041}
3042
3043
1bd55598
RD
3044SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3045 PyObject *resultobj = 0;
3046 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3047 wxString *arg2 = 0 ;
3048 void *argp1 = 0 ;
3049 int res1 = 0 ;
3050 bool temp2 = false ;
3051 PyObject * obj0 = 0 ;
3052 PyObject * obj1 = 0 ;
3053 char * kwnames[] = {
3054 (char *) "self",(char *) "text", NULL
3055 };
3056
3057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) SWIG_fail;
3058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3059 if (!SWIG_IsOK(res1)) {
3060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3061 }
3062 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3063 {
3064 arg2 = wxString_in_helper(obj1);
3065 if (arg2 == NULL) SWIG_fail;
3066 temp2 = true;
3067 }
3068 {
3069 PyThreadState* __tstate = wxPyBeginAllowThreads();
3070 (arg1)->AddText((wxString const &)*arg2);
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 resultobj = SWIG_Py_Void();
3075 {
3076 if (temp2)
3077 delete arg2;
3078 }
3079 return resultobj;
3080fail:
3081 {
3082 if (temp2)
3083 delete arg2;
3084 }
3085 return NULL;
d14a1e28
RD
3086}
3087
3088
1bd55598
RD
3089SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3090 PyObject *resultobj = 0;
3091 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3092 wxMemoryBuffer *arg2 = 0 ;
3093 void *argp1 = 0 ;
3094 int res1 = 0 ;
3095 bool temp2 = false ;
3096 PyObject * obj0 = 0 ;
3097 PyObject * obj1 = 0 ;
3098 char * kwnames[] = {
3099 (char *) "self",(char *) "data", NULL
3100 };
3101
3102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) SWIG_fail;
3103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3104 if (!SWIG_IsOK(res1)) {
3105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3106 }
3107 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3108 {
3109 if (!PyString_Check(obj1)) {
3110 PyErr_SetString(PyExc_TypeError, "String buffer expected");
3111 SWIG_fail;
3112 }
3113 char* str = PyString_AS_STRING(obj1);
3114 int len = PyString_GET_SIZE(obj1);
3115 arg2 = new wxMemoryBuffer(len);
3116 temp2 = true;
3117 memcpy(arg2->GetData(), str, len);
3118 arg2->SetDataLen(len);
3119 }
3120 {
3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
3122 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
3123 wxPyEndAllowThreads(__tstate);
3124 if (PyErr_Occurred()) SWIG_fail;
3125 }
3126 resultobj = SWIG_Py_Void();
3127 {
3128 if (temp2) delete arg2;
3129 }
3130 return resultobj;
3131fail:
3132 {
3133 if (temp2) delete arg2;
3134 }
3135 return NULL;
3136}
3137
3138
3139SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3140 PyObject *resultobj = 0;
3141 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3142 int arg2 ;
3143 wxString *arg3 = 0 ;
3144 void *argp1 = 0 ;
3145 int res1 = 0 ;
3146 int val2 ;
3147 int ecode2 = 0 ;
3148 bool temp3 = false ;
3149 PyObject * obj0 = 0 ;
3150 PyObject * obj1 = 0 ;
3151 PyObject * obj2 = 0 ;
3152 char * kwnames[] = {
3153 (char *) "self",(char *) "pos",(char *) "text", NULL
3154 };
3155
3156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3158 if (!SWIG_IsOK(res1)) {
3159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3160 }
3161 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3162 ecode2 = SWIG_AsVal_int(obj1, &val2);
3163 if (!SWIG_IsOK(ecode2)) {
3164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "2"" of type '" "int""'");
3165 }
3166 arg2 = static_cast< int >(val2);
3167 {
3168 arg3 = wxString_in_helper(obj2);
3169 if (arg3 == NULL) SWIG_fail;
3170 temp3 = true;
3171 }
3172 {
3173 PyThreadState* __tstate = wxPyBeginAllowThreads();
3174 (arg1)->InsertText(arg2,(wxString const &)*arg3);
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
3178 resultobj = SWIG_Py_Void();
3179 {
3180 if (temp3)
3181 delete arg3;
3182 }
3183 return resultobj;
3184fail:
3185 {
3186 if (temp3)
3187 delete arg3;
3188 }
3189 return NULL;
d14a1e28
RD
3190}
3191
3192
1bd55598
RD
3193SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3194 PyObject *resultobj = 0;
3195 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3196 void *argp1 = 0 ;
3197 int res1 = 0 ;
3198 PyObject *swig_obj[1] ;
3199
3200 if (!args) SWIG_fail;
3201 swig_obj[0] = args;
3202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3203 if (!SWIG_IsOK(res1)) {
3204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3205 }
3206 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3207 {
3208 PyThreadState* __tstate = wxPyBeginAllowThreads();
3209 (arg1)->ClearAll();
3210 wxPyEndAllowThreads(__tstate);
3211 if (PyErr_Occurred()) SWIG_fail;
3212 }
3213 resultobj = SWIG_Py_Void();
3214 return resultobj;
3215fail:
3216 return NULL;
d14a1e28
RD
3217}
3218
3219
1bd55598
RD
3220SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3221 PyObject *resultobj = 0;
3222 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3223 void *argp1 = 0 ;
3224 int res1 = 0 ;
3225 PyObject *swig_obj[1] ;
3226
3227 if (!args) SWIG_fail;
3228 swig_obj[0] = args;
3229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3230 if (!SWIG_IsOK(res1)) {
3231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearDocumentStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3232 }
3233 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3234 {
3235 PyThreadState* __tstate = wxPyBeginAllowThreads();
3236 (arg1)->ClearDocumentStyle();
3237 wxPyEndAllowThreads(__tstate);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
3240 resultobj = SWIG_Py_Void();
3241 return resultobj;
3242fail:
3243 return NULL;
d14a1e28
RD
3244}
3245
3246
1bd55598
RD
3247SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3248 PyObject *resultobj = 0;
3249 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3250 int result;
3251 void *argp1 = 0 ;
3252 int res1 = 0 ;
3253 PyObject *swig_obj[1] ;
3254
3255 if (!args) SWIG_fail;
3256 swig_obj[0] = args;
3257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3258 if (!SWIG_IsOK(res1)) {
3259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3260 }
3261 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3262 {
3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
3264 result = (int)(arg1)->GetLength();
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 resultobj = SWIG_From_int(static_cast< int >(result));
3269 return resultobj;
3270fail:
3271 return NULL;
3272}
3273
3274
3275SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj = 0;
3277 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3278 int arg2 ;
3279 int result;
3280 void *argp1 = 0 ;
3281 int res1 = 0 ;
3282 int val2 ;
3283 int ecode2 = 0 ;
3284 PyObject * obj0 = 0 ;
3285 PyObject * obj1 = 0 ;
3286 char * kwnames[] = {
3287 (char *) "self",(char *) "pos", NULL
3288 };
3289
3290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) SWIG_fail;
3291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3292 if (!SWIG_IsOK(res1)) {
3293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3294 }
3295 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3296 ecode2 = SWIG_AsVal_int(obj1, &val2);
3297 if (!SWIG_IsOK(ecode2)) {
3298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "2"" of type '" "int""'");
3299 }
3300 arg2 = static_cast< int >(val2);
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 result = (int)(arg1)->GetCharAt(arg2);
3304 wxPyEndAllowThreads(__tstate);
3305 if (PyErr_Occurred()) SWIG_fail;
3306 }
3307 resultobj = SWIG_From_int(static_cast< int >(result));
3308 return resultobj;
3309fail:
3310 return NULL;
d14a1e28
RD
3311}
3312
3313
1bd55598
RD
3314SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3315 PyObject *resultobj = 0;
3316 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3317 int result;
3318 void *argp1 = 0 ;
3319 int res1 = 0 ;
3320 PyObject *swig_obj[1] ;
3321
3322 if (!args) SWIG_fail;
3323 swig_obj[0] = args;
3324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3325 if (!SWIG_IsOK(res1)) {
3326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3327 }
3328 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3329 {
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 result = (int)(arg1)->GetCurrentPos();
3332 wxPyEndAllowThreads(__tstate);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 resultobj = SWIG_From_int(static_cast< int >(result));
3336 return resultobj;
3337fail:
3338 return NULL;
d14a1e28
RD
3339}
3340
3341
1bd55598
RD
3342SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3343 PyObject *resultobj = 0;
3344 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3345 int result;
3346 void *argp1 = 0 ;
3347 int res1 = 0 ;
3348 PyObject *swig_obj[1] ;
3349
3350 if (!args) SWIG_fail;
3351 swig_obj[0] = args;
3352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3353 if (!SWIG_IsOK(res1)) {
3354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3355 }
3356 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3357 {
3358 PyThreadState* __tstate = wxPyBeginAllowThreads();
3359 result = (int)(arg1)->GetAnchor();
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 resultobj = SWIG_From_int(static_cast< int >(result));
3364 return resultobj;
3365fail:
3366 return NULL;
3367}
3368
3369
3370SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3371 PyObject *resultobj = 0;
3372 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3373 int arg2 ;
3374 int result;
3375 void *argp1 = 0 ;
3376 int res1 = 0 ;
3377 int val2 ;
3378 int ecode2 = 0 ;
3379 PyObject * obj0 = 0 ;
3380 PyObject * obj1 = 0 ;
3381 char * kwnames[] = {
3382 (char *) "self",(char *) "pos", NULL
3383 };
3384
3385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) SWIG_fail;
3386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3387 if (!SWIG_IsOK(res1)) {
3388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3389 }
3390 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3391 ecode2 = SWIG_AsVal_int(obj1, &val2);
3392 if (!SWIG_IsOK(ecode2)) {
3393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "2"" of type '" "int""'");
3394 }
3395 arg2 = static_cast< int >(val2);
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 result = (int)(arg1)->GetStyleAt(arg2);
3399 wxPyEndAllowThreads(__tstate);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
3402 resultobj = SWIG_From_int(static_cast< int >(result));
3403 return resultobj;
3404fail:
3405 return NULL;
d14a1e28
RD
3406}
3407
3408
1bd55598
RD
3409SWIGINTERN PyObject *_wrap_StyledTextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3410 PyObject *resultobj = 0;
3411 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3412 void *argp1 = 0 ;
3413 int res1 = 0 ;
3414 PyObject *swig_obj[1] ;
3415
3416 if (!args) SWIG_fail;
3417 swig_obj[0] = args;
3418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3419 if (!SWIG_IsOK(res1)) {
3420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Redo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3421 }
3422 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3423 {
3424 PyThreadState* __tstate = wxPyBeginAllowThreads();
3425 (arg1)->Redo();
3426 wxPyEndAllowThreads(__tstate);
3427 if (PyErr_Occurred()) SWIG_fail;
3428 }
3429 resultobj = SWIG_Py_Void();
3430 return resultobj;
3431fail:
3432 return NULL;
3433}
3434
3435
3436SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3437 PyObject *resultobj = 0;
3438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3439 bool arg2 ;
3440 void *argp1 = 0 ;
3441 int res1 = 0 ;
3442 bool val2 ;
3443 int ecode2 = 0 ;
3444 PyObject * obj0 = 0 ;
3445 PyObject * obj1 = 0 ;
3446 char * kwnames[] = {
3447 (char *) "self",(char *) "collectUndo", NULL
3448 };
3449
3450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) SWIG_fail;
3451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3452 if (!SWIG_IsOK(res1)) {
3453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3454 }
3455 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3456 ecode2 = SWIG_AsVal_bool(obj1, &val2);
3457 if (!SWIG_IsOK(ecode2)) {
3458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "2"" of type '" "bool""'");
3459 }
3460 arg2 = static_cast< bool >(val2);
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
3463 (arg1)->SetUndoCollection(arg2);
3464 wxPyEndAllowThreads(__tstate);
3465 if (PyErr_Occurred()) SWIG_fail;
3466 }
3467 resultobj = SWIG_Py_Void();
3468 return resultobj;
3469fail:
3470 return NULL;
d14a1e28
RD
3471}
3472
3473
1bd55598
RD
3474SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3475 PyObject *resultobj = 0;
3476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3477 void *argp1 = 0 ;
3478 int res1 = 0 ;
3479 PyObject *swig_obj[1] ;
3480
3481 if (!args) SWIG_fail;
3482 swig_obj[0] = args;
3483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3484 if (!SWIG_IsOK(res1)) {
3485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3486 }
3487 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3488 {
3489 PyThreadState* __tstate = wxPyBeginAllowThreads();
3490 (arg1)->SelectAll();
3491 wxPyEndAllowThreads(__tstate);
3492 if (PyErr_Occurred()) SWIG_fail;
3493 }
3494 resultobj = SWIG_Py_Void();
3495 return resultobj;
3496fail:
3497 return NULL;
d14a1e28
RD
3498}
3499
3500
1bd55598
RD
3501SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3502 PyObject *resultobj = 0;
3503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3504 void *argp1 = 0 ;
3505 int res1 = 0 ;
3506 PyObject *swig_obj[1] ;
3507
3508 if (!args) SWIG_fail;
3509 swig_obj[0] = args;
3510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3511 if (!SWIG_IsOK(res1)) {
3512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSavePoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3513 }
3514 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3515 {
3516 PyThreadState* __tstate = wxPyBeginAllowThreads();
3517 (arg1)->SetSavePoint();
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 resultobj = SWIG_Py_Void();
3522 return resultobj;
3523fail:
3524 return NULL;
3525}
3526
3527
3528SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3529 PyObject *resultobj = 0;
3530 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3531 int arg2 ;
3532 int arg3 ;
3533 wxMemoryBuffer result;
3534 void *argp1 = 0 ;
3535 int res1 = 0 ;
3536 int val2 ;
3537 int ecode2 = 0 ;
3538 int val3 ;
3539 int ecode3 = 0 ;
3540 PyObject * obj0 = 0 ;
3541 PyObject * obj1 = 0 ;
3542 PyObject * obj2 = 0 ;
3543 char * kwnames[] = {
3544 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
3545 };
3546
3547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3549 if (!SWIG_IsOK(res1)) {
3550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3551 }
3552 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3553 ecode2 = SWIG_AsVal_int(obj1, &val2);
3554 if (!SWIG_IsOK(ecode2)) {
3555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "2"" of type '" "int""'");
3556 }
3557 arg2 = static_cast< int >(val2);
3558 ecode3 = SWIG_AsVal_int(obj2, &val3);
3559 if (!SWIG_IsOK(ecode3)) {
3560 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "3"" of type '" "int""'");
3561 }
3562 arg3 = static_cast< int >(val3);
3563 {
3564 PyThreadState* __tstate = wxPyBeginAllowThreads();
3565 result = (arg1)->GetStyledText(arg2,arg3);
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 {
3570 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
3571 }
3572 return resultobj;
3573fail:
3574 return NULL;
d14a1e28
RD
3575}
3576
3577
1bd55598
RD
3578SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3579 PyObject *resultobj = 0;
3580 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3581 bool result;
3582 void *argp1 = 0 ;
3583 int res1 = 0 ;
3584 PyObject *swig_obj[1] ;
3585
3586 if (!args) SWIG_fail;
3587 swig_obj[0] = args;
3588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3589 if (!SWIG_IsOK(res1)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3591 }
3592 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3593 {
3594 PyThreadState* __tstate = wxPyBeginAllowThreads();
3595 result = (bool)(arg1)->CanRedo();
3596 wxPyEndAllowThreads(__tstate);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 }
3599 {
3600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3601 }
3602 return resultobj;
3603fail:
3604 return NULL;
3605}
3606
3607
3608SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3609 PyObject *resultobj = 0;
3610 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3611 int arg2 ;
3612 int result;
3613 void *argp1 = 0 ;
3614 int res1 = 0 ;
3615 int val2 ;
3616 int ecode2 = 0 ;
3617 PyObject * obj0 = 0 ;
3618 PyObject * obj1 = 0 ;
3619 char * kwnames[] = {
3620 (char *) "self",(char *) "handle", NULL
3621 };
3622
3623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) SWIG_fail;
3624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3625 if (!SWIG_IsOK(res1)) {
3626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3627 }
3628 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3629 ecode2 = SWIG_AsVal_int(obj1, &val2);
3630 if (!SWIG_IsOK(ecode2)) {
3631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "2"" of type '" "int""'");
3632 }
3633 arg2 = static_cast< int >(val2);
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 result = (int)(arg1)->MarkerLineFromHandle(arg2);
3637 wxPyEndAllowThreads(__tstate);
3638 if (PyErr_Occurred()) SWIG_fail;
3639 }
3640 resultobj = SWIG_From_int(static_cast< int >(result));
3641 return resultobj;
3642fail:
3643 return NULL;
3644}
3645
3646
3647SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3648 PyObject *resultobj = 0;
3649 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3650 int arg2 ;
3651 void *argp1 = 0 ;
3652 int res1 = 0 ;
3653 int val2 ;
3654 int ecode2 = 0 ;
3655 PyObject * obj0 = 0 ;
3656 PyObject * obj1 = 0 ;
3657 char * kwnames[] = {
3658 (char *) "self",(char *) "handle", NULL
3659 };
3660
3661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) SWIG_fail;
3662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3663 if (!SWIG_IsOK(res1)) {
3664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3665 }
3666 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3667 ecode2 = SWIG_AsVal_int(obj1, &val2);
3668 if (!SWIG_IsOK(ecode2)) {
3669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "2"" of type '" "int""'");
3670 }
3671 arg2 = static_cast< int >(val2);
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 (arg1)->MarkerDeleteHandle(arg2);
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
3678 resultobj = SWIG_Py_Void();
3679 return resultobj;
3680fail:
3681 return NULL;
d14a1e28
RD
3682}
3683
3684
1bd55598
RD
3685SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3686 PyObject *resultobj = 0;
3687 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3688 bool result;
3689 void *argp1 = 0 ;
3690 int res1 = 0 ;
3691 PyObject *swig_obj[1] ;
3692
3693 if (!args) SWIG_fail;
3694 swig_obj[0] = args;
3695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3696 if (!SWIG_IsOK(res1)) {
3697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3698 }
3699 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 result = (bool)(arg1)->GetUndoCollection();
3703 wxPyEndAllowThreads(__tstate);
3704 if (PyErr_Occurred()) SWIG_fail;
3705 }
3706 {
3707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3708 }
3709 return resultobj;
3710fail:
3711 return NULL;
d14a1e28
RD
3712}
3713
3714
1bd55598
RD
3715SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3716 PyObject *resultobj = 0;
3717 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3718 int result;
3719 void *argp1 = 0 ;
3720 int res1 = 0 ;
3721 PyObject *swig_obj[1] ;
3722
3723 if (!args) SWIG_fail;
3724 swig_obj[0] = args;
3725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3726 if (!SWIG_IsOK(res1)) {
3727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3728 }
3729 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3730 {
3731 PyThreadState* __tstate = wxPyBeginAllowThreads();
3732 result = (int)(arg1)->GetViewWhiteSpace();
3733 wxPyEndAllowThreads(__tstate);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 }
3736 resultobj = SWIG_From_int(static_cast< int >(result));
3737 return resultobj;
3738fail:
3739 return NULL;
3740}
3741
3742
3743SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3744 PyObject *resultobj = 0;
3745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3746 int arg2 ;
3747 void *argp1 = 0 ;
3748 int res1 = 0 ;
3749 int val2 ;
3750 int ecode2 = 0 ;
3751 PyObject * obj0 = 0 ;
3752 PyObject * obj1 = 0 ;
3753 char * kwnames[] = {
3754 (char *) "self",(char *) "viewWS", NULL
3755 };
3756
3757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) SWIG_fail;
3758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3759 if (!SWIG_IsOK(res1)) {
3760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3761 }
3762 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3763 ecode2 = SWIG_AsVal_int(obj1, &val2);
3764 if (!SWIG_IsOK(ecode2)) {
3765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "2"" of type '" "int""'");
3766 }
3767 arg2 = static_cast< int >(val2);
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 (arg1)->SetViewWhiteSpace(arg2);
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) SWIG_fail;
3773 }
3774 resultobj = SWIG_Py_Void();
3775 return resultobj;
3776fail:
3777 return NULL;
3778}
3779
3780
3781SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3782 PyObject *resultobj = 0;
3783 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3784 wxPoint arg2 ;
3785 int result;
3786 void *argp1 = 0 ;
3787 int res1 = 0 ;
3788 void *argp2 ;
3789 int res2 = 0 ;
3790 PyObject * obj0 = 0 ;
3791 PyObject * obj1 = 0 ;
3792 char * kwnames[] = {
3793 (char *) "self",(char *) "pt", NULL
3794 };
3795
3796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) SWIG_fail;
3797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3798 if (!SWIG_IsOK(res1)) {
3799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3800 }
3801 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3802 {
3803 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPoint, 0 | 0);
3804 if (!SWIG_IsOK(res2)) {
3805 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3806 }
3807 if (!argp2) {
3808 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3809 } else {
3810 wxPoint * temp = reinterpret_cast< wxPoint * >(argp2);
3811 arg2 = *temp;
3812 if (SWIG_IsNewObj(res2)) delete temp;
36ed4f51 3813 }
1bd55598
RD
3814 }
3815 {
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 result = (int)(arg1)->PositionFromPoint(arg2);
3818 wxPyEndAllowThreads(__tstate);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 }
3821 resultobj = SWIG_From_int(static_cast< int >(result));
3822 return resultobj;
3823fail:
3824 return NULL;
3825}
3826
3827
3828SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3829 PyObject *resultobj = 0;
3830 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3831 int arg2 ;
3832 int arg3 ;
3833 int result;
3834 void *argp1 = 0 ;
3835 int res1 = 0 ;
3836 int val2 ;
3837 int ecode2 = 0 ;
3838 int val3 ;
3839 int ecode3 = 0 ;
3840 PyObject * obj0 = 0 ;
3841 PyObject * obj1 = 0 ;
3842 PyObject * obj2 = 0 ;
3843 char * kwnames[] = {
3844 (char *) "self",(char *) "x",(char *) "y", NULL
3845 };
3846
3847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3849 if (!SWIG_IsOK(res1)) {
3850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3851 }
3852 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3853 ecode2 = SWIG_AsVal_int(obj1, &val2);
3854 if (!SWIG_IsOK(ecode2)) {
3855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "2"" of type '" "int""'");
3856 }
3857 arg2 = static_cast< int >(val2);
3858 ecode3 = SWIG_AsVal_int(obj2, &val3);
3859 if (!SWIG_IsOK(ecode3)) {
3860 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "3"" of type '" "int""'");
3861 }
3862 arg3 = static_cast< int >(val3);
3863 {
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
3866 wxPyEndAllowThreads(__tstate);
3867 if (PyErr_Occurred()) SWIG_fail;
3868 }
3869 resultobj = SWIG_From_int(static_cast< int >(result));
3870 return resultobj;
3871fail:
3872 return NULL;
3873}
3874
3875
3876SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3877 PyObject *resultobj = 0;
3878 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3879 int arg2 ;
3880 void *argp1 = 0 ;
3881 int res1 = 0 ;
3882 int val2 ;
3883 int ecode2 = 0 ;
3884 PyObject * obj0 = 0 ;
3885 PyObject * obj1 = 0 ;
3886 char * kwnames[] = {
3887 (char *) "self",(char *) "line", NULL
3888 };
3889
3890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) SWIG_fail;
3891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3892 if (!SWIG_IsOK(res1)) {
3893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3894 }
3895 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3896 ecode2 = SWIG_AsVal_int(obj1, &val2);
3897 if (!SWIG_IsOK(ecode2)) {
3898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "2"" of type '" "int""'");
3899 }
3900 arg2 = static_cast< int >(val2);
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 (arg1)->GotoLine(arg2);
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 resultobj = SWIG_Py_Void();
3908 return resultobj;
3909fail:
3910 return NULL;
3911}
3912
3913
3914SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj = 0;
3916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3917 int arg2 ;
3918 void *argp1 = 0 ;
3919 int res1 = 0 ;
3920 int val2 ;
3921 int ecode2 = 0 ;
3922 PyObject * obj0 = 0 ;
3923 PyObject * obj1 = 0 ;
3924 char * kwnames[] = {
3925 (char *) "self",(char *) "pos", NULL
3926 };
3927
3928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) SWIG_fail;
3929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3930 if (!SWIG_IsOK(res1)) {
3931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3932 }
3933 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3934 ecode2 = SWIG_AsVal_int(obj1, &val2);
3935 if (!SWIG_IsOK(ecode2)) {
3936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "2"" of type '" "int""'");
3937 }
3938 arg2 = static_cast< int >(val2);
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 (arg1)->GotoPos(arg2);
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
3945 resultobj = SWIG_Py_Void();
3946 return resultobj;
3947fail:
3948 return NULL;
3949}
3950
3951
3952SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3953 PyObject *resultobj = 0;
3954 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3955 int arg2 ;
3956 void *argp1 = 0 ;
3957 int res1 = 0 ;
3958 int val2 ;
3959 int ecode2 = 0 ;
3960 PyObject * obj0 = 0 ;
3961 PyObject * obj1 = 0 ;
3962 char * kwnames[] = {
3963 (char *) "self",(char *) "posAnchor", NULL
3964 };
3965
3966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
3967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3968 if (!SWIG_IsOK(res1)) {
3969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3970 }
3971 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3972 ecode2 = SWIG_AsVal_int(obj1, &val2);
3973 if (!SWIG_IsOK(ecode2)) {
3974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "2"" of type '" "int""'");
3975 }
3976 arg2 = static_cast< int >(val2);
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 (arg1)->SetAnchor(arg2);
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 resultobj = SWIG_Py_Void();
3984 return resultobj;
3985fail:
3986 return NULL;
3987}
3988
3989
3990SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3991 PyObject *resultobj = 0;
3992 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3993 int *arg2 = (int *) 0 ;
3994 wxString result;
3995 void *argp1 = 0 ;
3996 int res1 = 0 ;
3997 int temp2 ;
3998 int res2 = SWIG_TMPOBJ ;
3999 PyObject *swig_obj[1] ;
4000
4001 arg2 = &temp2;
4002 if (!args) SWIG_fail;
4003 swig_obj[0] = args;
4004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4005 if (!SWIG_IsOK(res1)) {
4006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4007 }
4008 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4009 {
4010 PyThreadState* __tstate = wxPyBeginAllowThreads();
4011 result = (arg1)->GetCurLine(arg2);
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 {
4016#if wxUSE_UNICODE
4017 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4018#else
4019 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4020#endif
4021 }
4022 if (SWIG_IsTmpObj(res2)) {
4023 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4024 } else {
4025 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4026 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4027 }
4028 return resultobj;
4029fail:
4030 return NULL;
d14a1e28
RD
4031}
4032
4033
1bd55598
RD
4034SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4035 PyObject *resultobj = 0;
4036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4037 int result;
4038 void *argp1 = 0 ;
4039 int res1 = 0 ;
4040 PyObject *swig_obj[1] ;
4041
4042 if (!args) SWIG_fail;
4043 swig_obj[0] = args;
4044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4045 if (!SWIG_IsOK(res1)) {
4046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndStyled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4047 }
4048 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4049 {
4050 PyThreadState* __tstate = wxPyBeginAllowThreads();
4051 result = (int)(arg1)->GetEndStyled();
4052 wxPyEndAllowThreads(__tstate);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 resultobj = SWIG_From_int(static_cast< int >(result));
4056 return resultobj;
4057fail:
4058 return NULL;
4059}
4060
4061
4062SWIGINTERN PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj = 0;
4064 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4065 int arg2 ;
4066 void *argp1 = 0 ;
4067 int res1 = 0 ;
4068 int val2 ;
4069 int ecode2 = 0 ;
4070 PyObject * obj0 = 0 ;
4071 PyObject * obj1 = 0 ;
4072 char * kwnames[] = {
4073 (char *) "self",(char *) "eolMode", NULL
4074 };
4075
4076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) SWIG_fail;
4077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4078 if (!SWIG_IsOK(res1)) {
4079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4080 }
4081 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4082 ecode2 = SWIG_AsVal_int(obj1, &val2);
4083 if (!SWIG_IsOK(ecode2)) {
4084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "2"" of type '" "int""'");
4085 }
4086 arg2 = static_cast< int >(val2);
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 (arg1)->ConvertEOLs(arg2);
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
4093 resultobj = SWIG_Py_Void();
4094 return resultobj;
4095fail:
4096 return NULL;
d14a1e28
RD
4097}
4098
4099
1bd55598
RD
4100SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4101 PyObject *resultobj = 0;
4102 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4103 int result;
4104 void *argp1 = 0 ;
4105 int res1 = 0 ;
4106 PyObject *swig_obj[1] ;
4107
4108 if (!args) SWIG_fail;
4109 swig_obj[0] = args;
4110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4111 if (!SWIG_IsOK(res1)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4113 }
4114 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4115 {
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 result = (int)(arg1)->GetEOLMode();
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 resultobj = SWIG_From_int(static_cast< int >(result));
4122 return resultobj;
4123fail:
4124 return NULL;
4125}
4126
4127
4128SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4129 PyObject *resultobj = 0;
4130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4131 int arg2 ;
4132 void *argp1 = 0 ;
4133 int res1 = 0 ;
4134 int val2 ;
4135 int ecode2 = 0 ;
4136 PyObject * obj0 = 0 ;
4137 PyObject * obj1 = 0 ;
4138 char * kwnames[] = {
4139 (char *) "self",(char *) "eolMode", NULL
4140 };
4141
4142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) SWIG_fail;
4143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4144 if (!SWIG_IsOK(res1)) {
4145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4146 }
4147 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4148 ecode2 = SWIG_AsVal_int(obj1, &val2);
4149 if (!SWIG_IsOK(ecode2)) {
4150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "2"" of type '" "int""'");
4151 }
4152 arg2 = static_cast< int >(val2);
4153 {
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 (arg1)->SetEOLMode(arg2);
4156 wxPyEndAllowThreads(__tstate);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 }
4159 resultobj = SWIG_Py_Void();
4160 return resultobj;
4161fail:
4162 return NULL;
4163}
4164
4165
4166SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4167 PyObject *resultobj = 0;
4168 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4169 int arg2 ;
4170 int arg3 ;
4171 void *argp1 = 0 ;
4172 int res1 = 0 ;
4173 int val2 ;
4174 int ecode2 = 0 ;
4175 int val3 ;
4176 int ecode3 = 0 ;
4177 PyObject * obj0 = 0 ;
4178 PyObject * obj1 = 0 ;
4179 PyObject * obj2 = 0 ;
4180 char * kwnames[] = {
4181 (char *) "self",(char *) "pos",(char *) "mask", NULL
4182 };
4183
4184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4186 if (!SWIG_IsOK(res1)) {
4187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4188 }
4189 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4190 ecode2 = SWIG_AsVal_int(obj1, &val2);
4191 if (!SWIG_IsOK(ecode2)) {
4192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "2"" of type '" "int""'");
4193 }
4194 arg2 = static_cast< int >(val2);
4195 ecode3 = SWIG_AsVal_int(obj2, &val3);
4196 if (!SWIG_IsOK(ecode3)) {
4197 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "3"" of type '" "int""'");
4198 }
4199 arg3 = static_cast< int >(val3);
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 (arg1)->StartStyling(arg2,arg3);
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 resultobj = SWIG_Py_Void();
4207 return resultobj;
4208fail:
4209 return NULL;
4210}
4211
4212
4213SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4214 PyObject *resultobj = 0;
4215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4216 int arg2 ;
4217 int arg3 ;
4218 void *argp1 = 0 ;
4219 int res1 = 0 ;
4220 int val2 ;
4221 int ecode2 = 0 ;
4222 int val3 ;
4223 int ecode3 = 0 ;
4224 PyObject * obj0 = 0 ;
4225 PyObject * obj1 = 0 ;
4226 PyObject * obj2 = 0 ;
4227 char * kwnames[] = {
4228 (char *) "self",(char *) "length",(char *) "style", NULL
4229 };
4230
4231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4233 if (!SWIG_IsOK(res1)) {
4234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4235 }
4236 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4237 ecode2 = SWIG_AsVal_int(obj1, &val2);
4238 if (!SWIG_IsOK(ecode2)) {
4239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "2"" of type '" "int""'");
4240 }
4241 arg2 = static_cast< int >(val2);
4242 ecode3 = SWIG_AsVal_int(obj2, &val3);
4243 if (!SWIG_IsOK(ecode3)) {
4244 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "3"" of type '" "int""'");
4245 }
4246 arg3 = static_cast< int >(val3);
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 (arg1)->SetStyling(arg2,arg3);
4250 wxPyEndAllowThreads(__tstate);
4251 if (PyErr_Occurred()) SWIG_fail;
4252 }
4253 resultobj = SWIG_Py_Void();
4254 return resultobj;
4255fail:
4256 return NULL;
d14a1e28
RD
4257}
4258
4259
1bd55598
RD
4260SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4261 PyObject *resultobj = 0;
4262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4263 bool result;
4264 void *argp1 = 0 ;
4265 int res1 = 0 ;
4266 PyObject *swig_obj[1] ;
4267
4268 if (!args) SWIG_fail;
4269 swig_obj[0] = args;
4270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4271 if (!SWIG_IsOK(res1)) {
4272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4273 }
4274 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
4277 result = (bool)(arg1)->GetBufferedDraw();
4278 wxPyEndAllowThreads(__tstate);
4279 if (PyErr_Occurred()) SWIG_fail;
4280 }
4281 {
4282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4283 }
4284 return resultobj;
4285fail:
4286 return NULL;
4287}
4288
4289
4290SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4291 PyObject *resultobj = 0;
4292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4293 bool arg2 ;
4294 void *argp1 = 0 ;
4295 int res1 = 0 ;
4296 bool val2 ;
4297 int ecode2 = 0 ;
4298 PyObject * obj0 = 0 ;
4299 PyObject * obj1 = 0 ;
4300 char * kwnames[] = {
4301 (char *) "self",(char *) "buffered", NULL
4302 };
4303
4304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) SWIG_fail;
4305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4306 if (!SWIG_IsOK(res1)) {
4307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4308 }
4309 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4310 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4311 if (!SWIG_IsOK(ecode2)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "2"" of type '" "bool""'");
4313 }
4314 arg2 = static_cast< bool >(val2);
4315 {
4316 PyThreadState* __tstate = wxPyBeginAllowThreads();
4317 (arg1)->SetBufferedDraw(arg2);
4318 wxPyEndAllowThreads(__tstate);
4319 if (PyErr_Occurred()) SWIG_fail;
4320 }
4321 resultobj = SWIG_Py_Void();
4322 return resultobj;
4323fail:
4324 return NULL;
4325}
4326
4327
4328SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4329 PyObject *resultobj = 0;
4330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4331 int arg2 ;
4332 void *argp1 = 0 ;
4333 int res1 = 0 ;
4334 int val2 ;
4335 int ecode2 = 0 ;
4336 PyObject * obj0 = 0 ;
4337 PyObject * obj1 = 0 ;
4338 char * kwnames[] = {
4339 (char *) "self",(char *) "tabWidth", NULL
4340 };
4341
4342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) SWIG_fail;
4343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4344 if (!SWIG_IsOK(res1)) {
4345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4346 }
4347 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4348 ecode2 = SWIG_AsVal_int(obj1, &val2);
4349 if (!SWIG_IsOK(ecode2)) {
4350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "2"" of type '" "int""'");
4351 }
4352 arg2 = static_cast< int >(val2);
4353 {
4354 PyThreadState* __tstate = wxPyBeginAllowThreads();
4355 (arg1)->SetTabWidth(arg2);
4356 wxPyEndAllowThreads(__tstate);
4357 if (PyErr_Occurred()) SWIG_fail;
4358 }
4359 resultobj = SWIG_Py_Void();
4360 return resultobj;
4361fail:
4362 return NULL;
d14a1e28
RD
4363}
4364
4365
1bd55598
RD
4366SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4367 PyObject *resultobj = 0;
4368 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4369 int result;
4370 void *argp1 = 0 ;
4371 int res1 = 0 ;
4372 PyObject *swig_obj[1] ;
4373
4374 if (!args) SWIG_fail;
4375 swig_obj[0] = args;
4376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4377 if (!SWIG_IsOK(res1)) {
4378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4379 }
4380 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 result = (int)(arg1)->GetTabWidth();
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 resultobj = SWIG_From_int(static_cast< int >(result));
4388 return resultobj;
4389fail:
4390 return NULL;
4391}
4392
4393
4394SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj = 0;
4396 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4397 int arg2 ;
4398 void *argp1 = 0 ;
4399 int res1 = 0 ;
4400 int val2 ;
4401 int ecode2 = 0 ;
4402 PyObject * obj0 = 0 ;
4403 PyObject * obj1 = 0 ;
4404 char * kwnames[] = {
4405 (char *) "self",(char *) "codePage", NULL
4406 };
4407
4408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) SWIG_fail;
4409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4410 if (!SWIG_IsOK(res1)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4412 }
4413 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4414 ecode2 = SWIG_AsVal_int(obj1, &val2);
4415 if (!SWIG_IsOK(ecode2)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "2"" of type '" "int""'");
4417 }
4418 arg2 = static_cast< int >(val2);
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 (arg1)->SetCodePage(arg2);
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_Py_Void();
4426 return resultobj;
4427fail:
4428 return NULL;
4429}
4430
4431
4432SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj = 0;
4434 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4435 int arg2 ;
4436 int arg3 ;
4437 wxColour const &arg4_defvalue = wxNullColour ;
4438 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
4439 wxColour const &arg5_defvalue = wxNullColour ;
4440 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
4441 void *argp1 = 0 ;
4442 int res1 = 0 ;
4443 int val2 ;
4444 int ecode2 = 0 ;
4445 int val3 ;
4446 int ecode3 = 0 ;
4447 wxColour temp4 ;
4448 wxColour temp5 ;
4449 PyObject * obj0 = 0 ;
4450 PyObject * obj1 = 0 ;
4451 PyObject * obj2 = 0 ;
4452 PyObject * obj3 = 0 ;
4453 PyObject * obj4 = 0 ;
4454 char * kwnames[] = {
4455 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
4456 };
4457
4458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4460 if (!SWIG_IsOK(res1)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4462 }
4463 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4464 ecode2 = SWIG_AsVal_int(obj1, &val2);
4465 if (!SWIG_IsOK(ecode2)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "2"" of type '" "int""'");
4467 }
4468 arg2 = static_cast< int >(val2);
4469 ecode3 = SWIG_AsVal_int(obj2, &val3);
4470 if (!SWIG_IsOK(ecode3)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "3"" of type '" "int""'");
4472 }
4473 arg3 = static_cast< int >(val3);
4474 if (obj3) {
d14a1e28 4475 {
1bd55598
RD
4476 arg4 = &temp4;
4477 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 4478 }
1bd55598
RD
4479 }
4480 if (obj4) {
d14a1e28 4481 {
1bd55598
RD
4482 arg5 = &temp5;
4483 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 4484 }
1bd55598
RD
4485 }
4486 {
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4492 resultobj = SWIG_Py_Void();
4493 return resultobj;
4494fail:
4495 return NULL;
4496}
4497
4498
4499SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4500 PyObject *resultobj = 0;
4501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4502 int arg2 ;
4503 wxColour *arg3 = 0 ;
4504 void *argp1 = 0 ;
4505 int res1 = 0 ;
4506 int val2 ;
4507 int ecode2 = 0 ;
4508 wxColour temp3 ;
4509 PyObject * obj0 = 0 ;
4510 PyObject * obj1 = 0 ;
4511 PyObject * obj2 = 0 ;
4512 char * kwnames[] = {
4513 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
4514 };
4515
4516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4518 if (!SWIG_IsOK(res1)) {
4519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4520 }
4521 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4522 ecode2 = SWIG_AsVal_int(obj1, &val2);
4523 if (!SWIG_IsOK(ecode2)) {
4524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "2"" of type '" "int""'");
4525 }
4526 arg2 = static_cast< int >(val2);
4527 {
4528 arg3 = &temp3;
4529 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4530 }
4531 {
4532 PyThreadState* __tstate = wxPyBeginAllowThreads();
4533 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 resultobj = SWIG_Py_Void();
4538 return resultobj;
4539fail:
4540 return NULL;
4541}
4542
4543
4544SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4545 PyObject *resultobj = 0;
4546 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4547 int arg2 ;
4548 wxColour *arg3 = 0 ;
4549 void *argp1 = 0 ;
4550 int res1 = 0 ;
4551 int val2 ;
4552 int ecode2 = 0 ;
4553 wxColour temp3 ;
4554 PyObject * obj0 = 0 ;
4555 PyObject * obj1 = 0 ;
4556 PyObject * obj2 = 0 ;
4557 char * kwnames[] = {
4558 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
4559 };
4560
4561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4563 if (!SWIG_IsOK(res1)) {
4564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4565 }
4566 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4567 ecode2 = SWIG_AsVal_int(obj1, &val2);
4568 if (!SWIG_IsOK(ecode2)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "2"" of type '" "int""'");
4570 }
4571 arg2 = static_cast< int >(val2);
4572 {
4573 arg3 = &temp3;
4574 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4575 }
4576 {
4577 PyThreadState* __tstate = wxPyBeginAllowThreads();
4578 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
4579 wxPyEndAllowThreads(__tstate);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
4582 resultobj = SWIG_Py_Void();
4583 return resultobj;
4584fail:
4585 return NULL;
4586}
4587
4588
4589SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4590 PyObject *resultobj = 0;
4591 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4592 int arg2 ;
4593 int arg3 ;
4594 int result;
4595 void *argp1 = 0 ;
4596 int res1 = 0 ;
4597 int val2 ;
4598 int ecode2 = 0 ;
4599 int val3 ;
4600 int ecode3 = 0 ;
4601 PyObject * obj0 = 0 ;
4602 PyObject * obj1 = 0 ;
4603 PyObject * obj2 = 0 ;
4604 char * kwnames[] = {
4605 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4606 };
4607
4608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4610 if (!SWIG_IsOK(res1)) {
4611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4612 }
4613 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4614 ecode2 = SWIG_AsVal_int(obj1, &val2);
4615 if (!SWIG_IsOK(ecode2)) {
4616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "2"" of type '" "int""'");
4617 }
4618 arg2 = static_cast< int >(val2);
4619 ecode3 = SWIG_AsVal_int(obj2, &val3);
4620 if (!SWIG_IsOK(ecode3)) {
4621 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "3"" of type '" "int""'");
4622 }
4623 arg3 = static_cast< int >(val3);
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 result = (int)(arg1)->MarkerAdd(arg2,arg3);
4627 wxPyEndAllowThreads(__tstate);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 }
4630 resultobj = SWIG_From_int(static_cast< int >(result));
4631 return resultobj;
4632fail:
4633 return NULL;
4634}
4635
4636
4637SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4638 PyObject *resultobj = 0;
4639 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4640 int arg2 ;
4641 int arg3 ;
4642 void *argp1 = 0 ;
4643 int res1 = 0 ;
4644 int val2 ;
4645 int ecode2 = 0 ;
4646 int val3 ;
4647 int ecode3 = 0 ;
4648 PyObject * obj0 = 0 ;
4649 PyObject * obj1 = 0 ;
4650 PyObject * obj2 = 0 ;
4651 char * kwnames[] = {
4652 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4653 };
4654
4655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4657 if (!SWIG_IsOK(res1)) {
4658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4659 }
4660 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4661 ecode2 = SWIG_AsVal_int(obj1, &val2);
4662 if (!SWIG_IsOK(ecode2)) {
4663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "2"" of type '" "int""'");
4664 }
4665 arg2 = static_cast< int >(val2);
4666 ecode3 = SWIG_AsVal_int(obj2, &val3);
4667 if (!SWIG_IsOK(ecode3)) {
4668 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "3"" of type '" "int""'");
4669 }
4670 arg3 = static_cast< int >(val3);
4671 {
4672 PyThreadState* __tstate = wxPyBeginAllowThreads();
4673 (arg1)->MarkerDelete(arg2,arg3);
4674 wxPyEndAllowThreads(__tstate);
4675 if (PyErr_Occurred()) SWIG_fail;
4676 }
4677 resultobj = SWIG_Py_Void();
4678 return resultobj;
4679fail:
4680 return NULL;
4681}
4682
4683
4684SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4685 PyObject *resultobj = 0;
4686 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4687 int arg2 ;
4688 void *argp1 = 0 ;
4689 int res1 = 0 ;
4690 int val2 ;
4691 int ecode2 = 0 ;
4692 PyObject * obj0 = 0 ;
4693 PyObject * obj1 = 0 ;
4694 char * kwnames[] = {
4695 (char *) "self",(char *) "markerNumber", NULL
4696 };
4697
4698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) SWIG_fail;
4699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4700 if (!SWIG_IsOK(res1)) {
4701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4702 }
4703 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4704 ecode2 = SWIG_AsVal_int(obj1, &val2);
4705 if (!SWIG_IsOK(ecode2)) {
4706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "2"" of type '" "int""'");
4707 }
4708 arg2 = static_cast< int >(val2);
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 (arg1)->MarkerDeleteAll(arg2);
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 resultobj = SWIG_Py_Void();
4716 return resultobj;
4717fail:
4718 return NULL;
4719}
4720
4721
4722SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4723 PyObject *resultobj = 0;
4724 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4725 int arg2 ;
4726 int result;
4727 void *argp1 = 0 ;
4728 int res1 = 0 ;
4729 int val2 ;
4730 int ecode2 = 0 ;
4731 PyObject * obj0 = 0 ;
4732 PyObject * obj1 = 0 ;
4733 char * kwnames[] = {
4734 (char *) "self",(char *) "line", NULL
4735 };
4736
4737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) SWIG_fail;
4738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4739 if (!SWIG_IsOK(res1)) {
4740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4741 }
4742 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4743 ecode2 = SWIG_AsVal_int(obj1, &val2);
4744 if (!SWIG_IsOK(ecode2)) {
4745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "2"" of type '" "int""'");
4746 }
4747 arg2 = static_cast< int >(val2);
4748 {
4749 PyThreadState* __tstate = wxPyBeginAllowThreads();
4750 result = (int)(arg1)->MarkerGet(arg2);
4751 wxPyEndAllowThreads(__tstate);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 }
4754 resultobj = SWIG_From_int(static_cast< int >(result));
4755 return resultobj;
4756fail:
4757 return NULL;
4758}
4759
4760
4761SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4762 PyObject *resultobj = 0;
4763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4764 int arg2 ;
4765 int arg3 ;
4766 int result;
4767 void *argp1 = 0 ;
4768 int res1 = 0 ;
4769 int val2 ;
4770 int ecode2 = 0 ;
4771 int val3 ;
4772 int ecode3 = 0 ;
4773 PyObject * obj0 = 0 ;
4774 PyObject * obj1 = 0 ;
4775 PyObject * obj2 = 0 ;
4776 char * kwnames[] = {
4777 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4778 };
4779
4780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4782 if (!SWIG_IsOK(res1)) {
4783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4784 }
4785 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4786 ecode2 = SWIG_AsVal_int(obj1, &val2);
4787 if (!SWIG_IsOK(ecode2)) {
4788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "2"" of type '" "int""'");
4789 }
4790 arg2 = static_cast< int >(val2);
4791 ecode3 = SWIG_AsVal_int(obj2, &val3);
4792 if (!SWIG_IsOK(ecode3)) {
4793 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "3"" of type '" "int""'");
4794 }
4795 arg3 = static_cast< int >(val3);
4796 {
4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
4798 result = (int)(arg1)->MarkerNext(arg2,arg3);
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 resultobj = SWIG_From_int(static_cast< int >(result));
4803 return resultobj;
4804fail:
4805 return NULL;
4806}
4807
4808
4809SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4810 PyObject *resultobj = 0;
4811 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4812 int arg2 ;
4813 int arg3 ;
4814 int result;
4815 void *argp1 = 0 ;
4816 int res1 = 0 ;
4817 int val2 ;
4818 int ecode2 = 0 ;
4819 int val3 ;
4820 int ecode3 = 0 ;
4821 PyObject * obj0 = 0 ;
4822 PyObject * obj1 = 0 ;
4823 PyObject * obj2 = 0 ;
4824 char * kwnames[] = {
4825 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4826 };
4827
4828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4830 if (!SWIG_IsOK(res1)) {
4831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4832 }
4833 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4834 ecode2 = SWIG_AsVal_int(obj1, &val2);
4835 if (!SWIG_IsOK(ecode2)) {
4836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "2"" of type '" "int""'");
4837 }
4838 arg2 = static_cast< int >(val2);
4839 ecode3 = SWIG_AsVal_int(obj2, &val3);
4840 if (!SWIG_IsOK(ecode3)) {
4841 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "3"" of type '" "int""'");
4842 }
4843 arg3 = static_cast< int >(val3);
4844 {
4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4846 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 resultobj = SWIG_From_int(static_cast< int >(result));
4851 return resultobj;
4852fail:
4853 return NULL;
4854}
4855
4856
4857SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4858 PyObject *resultobj = 0;
4859 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4860 int arg2 ;
4861 wxBitmap *arg3 = 0 ;
4862 void *argp1 = 0 ;
4863 int res1 = 0 ;
4864 int val2 ;
4865 int ecode2 = 0 ;
4866 void *argp3 = 0 ;
4867 int res3 = 0 ;
4868 PyObject * obj0 = 0 ;
4869 PyObject * obj1 = 0 ;
4870 PyObject * obj2 = 0 ;
4871 char * kwnames[] = {
4872 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
4873 };
4874
4875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4877 if (!SWIG_IsOK(res1)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4879 }
4880 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4881 ecode2 = SWIG_AsVal_int(obj1, &val2);
4882 if (!SWIG_IsOK(ecode2)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "2"" of type '" "int""'");
4884 }
4885 arg2 = static_cast< int >(val2);
4886 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
4887 if (!SWIG_IsOK(res3)) {
4888 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4889 }
4890 if (!argp3) {
4891 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4892 }
4893 arg3 = reinterpret_cast< wxBitmap * >(argp3);
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
4897 wxPyEndAllowThreads(__tstate);
4898 if (PyErr_Occurred()) SWIG_fail;
4899 }
4900 resultobj = SWIG_Py_Void();
4901 return resultobj;
4902fail:
4903 return NULL;
4904}
4905
4906
4907SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAddSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4908 PyObject *resultobj = 0;
4909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4910 int arg2 ;
4911 int arg3 ;
4912 void *argp1 = 0 ;
4913 int res1 = 0 ;
4914 int val2 ;
4915 int ecode2 = 0 ;
4916 int val3 ;
4917 int ecode3 = 0 ;
4918 PyObject * obj0 = 0 ;
4919 PyObject * obj1 = 0 ;
4920 PyObject * obj2 = 0 ;
4921 char * kwnames[] = {
4922 (char *) "self",(char *) "line",(char *) "set", NULL
4923 };
4924
4925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAddSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4927 if (!SWIG_IsOK(res1)) {
4928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4929 }
4930 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4931 ecode2 = SWIG_AsVal_int(obj1, &val2);
4932 if (!SWIG_IsOK(ecode2)) {
4933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "2"" of type '" "int""'");
4934 }
4935 arg2 = static_cast< int >(val2);
4936 ecode3 = SWIG_AsVal_int(obj2, &val3);
4937 if (!SWIG_IsOK(ecode3)) {
4938 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "3"" of type '" "int""'");
4939 }
4940 arg3 = static_cast< int >(val3);
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 (arg1)->MarkerAddSet(arg2,arg3);
4944 wxPyEndAllowThreads(__tstate);
4945 if (PyErr_Occurred()) SWIG_fail;
4946 }
4947 resultobj = SWIG_Py_Void();
4948 return resultobj;
4949fail:
4950 return NULL;
4951}
4952
4953
4954SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4955 PyObject *resultobj = 0;
4956 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4957 int arg2 ;
4958 int arg3 ;
4959 void *argp1 = 0 ;
4960 int res1 = 0 ;
4961 int val2 ;
4962 int ecode2 = 0 ;
4963 int val3 ;
4964 int ecode3 = 0 ;
4965 PyObject * obj0 = 0 ;
4966 PyObject * obj1 = 0 ;
4967 PyObject * obj2 = 0 ;
4968 char * kwnames[] = {
4969 (char *) "self",(char *) "margin",(char *) "marginType", NULL
4970 };
4971
4972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4974 if (!SWIG_IsOK(res1)) {
4975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4976 }
4977 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4978 ecode2 = SWIG_AsVal_int(obj1, &val2);
4979 if (!SWIG_IsOK(ecode2)) {
4980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "2"" of type '" "int""'");
4981 }
4982 arg2 = static_cast< int >(val2);
4983 ecode3 = SWIG_AsVal_int(obj2, &val3);
4984 if (!SWIG_IsOK(ecode3)) {
4985 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "3"" of type '" "int""'");
4986 }
4987 arg3 = static_cast< int >(val3);
4988 {
4989 PyThreadState* __tstate = wxPyBeginAllowThreads();
4990 (arg1)->SetMarginType(arg2,arg3);
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 resultobj = SWIG_Py_Void();
4995 return resultobj;
4996fail:
4997 return NULL;
4998}
4999
5000
5001SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5002 PyObject *resultobj = 0;
5003 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5004 int arg2 ;
5005 int result;
5006 void *argp1 = 0 ;
5007 int res1 = 0 ;
5008 int val2 ;
5009 int ecode2 = 0 ;
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj1 = 0 ;
5012 char * kwnames[] = {
5013 (char *) "self",(char *) "margin", NULL
5014 };
5015
5016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) SWIG_fail;
5017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5018 if (!SWIG_IsOK(res1)) {
5019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5020 }
5021 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5022 ecode2 = SWIG_AsVal_int(obj1, &val2);
5023 if (!SWIG_IsOK(ecode2)) {
5024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "2"" of type '" "int""'");
5025 }
5026 arg2 = static_cast< int >(val2);
5027 {
5028 PyThreadState* __tstate = wxPyBeginAllowThreads();
5029 result = (int)(arg1)->GetMarginType(arg2);
5030 wxPyEndAllowThreads(__tstate);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
5033 resultobj = SWIG_From_int(static_cast< int >(result));
5034 return resultobj;
5035fail:
5036 return NULL;
5037}
5038
5039
5040SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5041 PyObject *resultobj = 0;
5042 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5043 int arg2 ;
5044 int arg3 ;
5045 void *argp1 = 0 ;
5046 int res1 = 0 ;
5047 int val2 ;
5048 int ecode2 = 0 ;
5049 int val3 ;
5050 int ecode3 = 0 ;
5051 PyObject * obj0 = 0 ;
5052 PyObject * obj1 = 0 ;
5053 PyObject * obj2 = 0 ;
5054 char * kwnames[] = {
5055 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
5056 };
5057
5058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5060 if (!SWIG_IsOK(res1)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5062 }
5063 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5064 ecode2 = SWIG_AsVal_int(obj1, &val2);
5065 if (!SWIG_IsOK(ecode2)) {
5066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5067 }
5068 arg2 = static_cast< int >(val2);
5069 ecode3 = SWIG_AsVal_int(obj2, &val3);
5070 if (!SWIG_IsOK(ecode3)) {
5071 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "3"" of type '" "int""'");
5072 }
5073 arg3 = static_cast< int >(val3);
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
5076 (arg1)->SetMarginWidth(arg2,arg3);
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 resultobj = SWIG_Py_Void();
5081 return resultobj;
5082fail:
5083 return NULL;
5084}
5085
5086
5087SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5088 PyObject *resultobj = 0;
5089 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5090 int arg2 ;
5091 int result;
5092 void *argp1 = 0 ;
5093 int res1 = 0 ;
5094 int val2 ;
5095 int ecode2 = 0 ;
5096 PyObject * obj0 = 0 ;
5097 PyObject * obj1 = 0 ;
5098 char * kwnames[] = {
5099 (char *) "self",(char *) "margin", NULL
5100 };
5101
5102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5104 if (!SWIG_IsOK(res1)) {
5105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5106 }
5107 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5108 ecode2 = SWIG_AsVal_int(obj1, &val2);
5109 if (!SWIG_IsOK(ecode2)) {
5110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5111 }
5112 arg2 = static_cast< int >(val2);
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 result = (int)(arg1)->GetMarginWidth(arg2);
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 resultobj = SWIG_From_int(static_cast< int >(result));
5120 return resultobj;
5121fail:
5122 return NULL;
5123}
5124
5125
5126SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj = 0;
5128 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5129 int arg2 ;
5130 int arg3 ;
5131 void *argp1 = 0 ;
5132 int res1 = 0 ;
5133 int val2 ;
5134 int ecode2 = 0 ;
5135 int val3 ;
5136 int ecode3 = 0 ;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 PyObject * obj2 = 0 ;
5140 char * kwnames[] = {
5141 (char *) "self",(char *) "margin",(char *) "mask", NULL
5142 };
5143
5144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5146 if (!SWIG_IsOK(res1)) {
5147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5148 }
5149 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5150 ecode2 = SWIG_AsVal_int(obj1, &val2);
5151 if (!SWIG_IsOK(ecode2)) {
5152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "2"" of type '" "int""'");
5153 }
5154 arg2 = static_cast< int >(val2);
5155 ecode3 = SWIG_AsVal_int(obj2, &val3);
5156 if (!SWIG_IsOK(ecode3)) {
5157 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "3"" of type '" "int""'");
5158 }
5159 arg3 = static_cast< int >(val3);
5160 {
5161 PyThreadState* __tstate = wxPyBeginAllowThreads();
5162 (arg1)->SetMarginMask(arg2,arg3);
5163 wxPyEndAllowThreads(__tstate);
5164 if (PyErr_Occurred()) SWIG_fail;
5165 }
5166 resultobj = SWIG_Py_Void();
5167 return resultobj;
5168fail:
5169 return NULL;
5170}
5171
5172
5173SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5174 PyObject *resultobj = 0;
5175 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5176 int arg2 ;
5177 int result;
5178 void *argp1 = 0 ;
5179 int res1 = 0 ;
5180 int val2 ;
5181 int ecode2 = 0 ;
5182 PyObject * obj0 = 0 ;
5183 PyObject * obj1 = 0 ;
5184 char * kwnames[] = {
5185 (char *) "self",(char *) "margin", NULL
5186 };
5187
5188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) SWIG_fail;
5189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5190 if (!SWIG_IsOK(res1)) {
5191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5192 }
5193 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5194 ecode2 = SWIG_AsVal_int(obj1, &val2);
5195 if (!SWIG_IsOK(ecode2)) {
5196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "2"" of type '" "int""'");
5197 }
5198 arg2 = static_cast< int >(val2);
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = (int)(arg1)->GetMarginMask(arg2);
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 resultobj = SWIG_From_int(static_cast< int >(result));
5206 return resultobj;
5207fail:
5208 return NULL;
5209}
5210
5211
5212SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5213 PyObject *resultobj = 0;
5214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5215 int arg2 ;
5216 bool arg3 ;
5217 void *argp1 = 0 ;
5218 int res1 = 0 ;
5219 int val2 ;
5220 int ecode2 = 0 ;
5221 bool val3 ;
5222 int ecode3 = 0 ;
5223 PyObject * obj0 = 0 ;
5224 PyObject * obj1 = 0 ;
5225 PyObject * obj2 = 0 ;
5226 char * kwnames[] = {
5227 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
5228 };
5229
5230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5232 if (!SWIG_IsOK(res1)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5234 }
5235 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5236 ecode2 = SWIG_AsVal_int(obj1, &val2);
5237 if (!SWIG_IsOK(ecode2)) {
5238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5239 }
5240 arg2 = static_cast< int >(val2);
5241 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5242 if (!SWIG_IsOK(ecode3)) {
5243 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "3"" of type '" "bool""'");
5244 }
5245 arg3 = static_cast< bool >(val3);
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 (arg1)->SetMarginSensitive(arg2,arg3);
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 resultobj = SWIG_Py_Void();
5253 return resultobj;
5254fail:
5255 return NULL;
5256}
5257
5258
5259SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5260 PyObject *resultobj = 0;
5261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5262 int arg2 ;
5263 bool result;
5264 void *argp1 = 0 ;
5265 int res1 = 0 ;
5266 int val2 ;
5267 int ecode2 = 0 ;
5268 PyObject * obj0 = 0 ;
5269 PyObject * obj1 = 0 ;
5270 char * kwnames[] = {
5271 (char *) "self",(char *) "margin", NULL
5272 };
5273
5274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) SWIG_fail;
5275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5276 if (!SWIG_IsOK(res1)) {
5277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5278 }
5279 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5280 ecode2 = SWIG_AsVal_int(obj1, &val2);
5281 if (!SWIG_IsOK(ecode2)) {
5282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5283 }
5284 arg2 = static_cast< int >(val2);
5285 {
5286 PyThreadState* __tstate = wxPyBeginAllowThreads();
5287 result = (bool)(arg1)->GetMarginSensitive(arg2);
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 {
5292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5293 }
5294 return resultobj;
5295fail:
5296 return NULL;
d14a1e28
RD
5297}
5298
5299
1bd55598
RD
5300SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5301 PyObject *resultobj = 0;
5302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5303 void *argp1 = 0 ;
5304 int res1 = 0 ;
5305 PyObject *swig_obj[1] ;
5306
5307 if (!args) SWIG_fail;
5308 swig_obj[0] = args;
5309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5310 if (!SWIG_IsOK(res1)) {
5311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5312 }
5313 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 (arg1)->StyleClearAll();
5317 wxPyEndAllowThreads(__tstate);
5318 if (PyErr_Occurred()) SWIG_fail;
5319 }
5320 resultobj = SWIG_Py_Void();
5321 return resultobj;
5322fail:
5323 return NULL;
5324}
5325
5326
5327SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5328 PyObject *resultobj = 0;
5329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5330 int arg2 ;
5331 wxColour *arg3 = 0 ;
5332 void *argp1 = 0 ;
5333 int res1 = 0 ;
5334 int val2 ;
5335 int ecode2 = 0 ;
5336 wxColour temp3 ;
5337 PyObject * obj0 = 0 ;
5338 PyObject * obj1 = 0 ;
5339 PyObject * obj2 = 0 ;
5340 char * kwnames[] = {
5341 (char *) "self",(char *) "style",(char *) "fore", NULL
5342 };
5343
5344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5346 if (!SWIG_IsOK(res1)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5348 }
5349 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5350 ecode2 = SWIG_AsVal_int(obj1, &val2);
5351 if (!SWIG_IsOK(ecode2)) {
5352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "2"" of type '" "int""'");
5353 }
5354 arg2 = static_cast< int >(val2);
5355 {
5356 arg3 = &temp3;
5357 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5358 }
5359 {
5360 PyThreadState* __tstate = wxPyBeginAllowThreads();
5361 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
5362 wxPyEndAllowThreads(__tstate);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 resultobj = SWIG_Py_Void();
5366 return resultobj;
5367fail:
5368 return NULL;
5369}
5370
5371
5372SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5373 PyObject *resultobj = 0;
5374 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5375 int arg2 ;
5376 wxColour *arg3 = 0 ;
5377 void *argp1 = 0 ;
5378 int res1 = 0 ;
5379 int val2 ;
5380 int ecode2 = 0 ;
5381 wxColour temp3 ;
5382 PyObject * obj0 = 0 ;
5383 PyObject * obj1 = 0 ;
5384 PyObject * obj2 = 0 ;
5385 char * kwnames[] = {
5386 (char *) "self",(char *) "style",(char *) "back", NULL
5387 };
5388
5389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5391 if (!SWIG_IsOK(res1)) {
5392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5393 }
5394 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5395 ecode2 = SWIG_AsVal_int(obj1, &val2);
5396 if (!SWIG_IsOK(ecode2)) {
5397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "2"" of type '" "int""'");
5398 }
5399 arg2 = static_cast< int >(val2);
5400 {
5401 arg3 = &temp3;
5402 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5403 }
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 resultobj = SWIG_Py_Void();
5411 return resultobj;
5412fail:
5413 return NULL;
5414}
5415
5416
5417SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5418 PyObject *resultobj = 0;
5419 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5420 int arg2 ;
5421 bool arg3 ;
5422 void *argp1 = 0 ;
5423 int res1 = 0 ;
5424 int val2 ;
5425 int ecode2 = 0 ;
5426 bool val3 ;
5427 int ecode3 = 0 ;
5428 PyObject * obj0 = 0 ;
5429 PyObject * obj1 = 0 ;
5430 PyObject * obj2 = 0 ;
5431 char * kwnames[] = {
5432 (char *) "self",(char *) "style",(char *) "bold", NULL
5433 };
5434
5435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5437 if (!SWIG_IsOK(res1)) {
5438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5439 }
5440 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5441 ecode2 = SWIG_AsVal_int(obj1, &val2);
5442 if (!SWIG_IsOK(ecode2)) {
5443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "2"" of type '" "int""'");
5444 }
5445 arg2 = static_cast< int >(val2);
5446 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5447 if (!SWIG_IsOK(ecode3)) {
5448 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "3"" of type '" "bool""'");
5449 }
5450 arg3 = static_cast< bool >(val3);
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 (arg1)->StyleSetBold(arg2,arg3);
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 resultobj = SWIG_Py_Void();
5458 return resultobj;
5459fail:
5460 return NULL;
5461}
5462
5463
5464SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5465 PyObject *resultobj = 0;
5466 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5467 int arg2 ;
5468 bool arg3 ;
5469 void *argp1 = 0 ;
5470 int res1 = 0 ;
5471 int val2 ;
5472 int ecode2 = 0 ;
5473 bool val3 ;
5474 int ecode3 = 0 ;
5475 PyObject * obj0 = 0 ;
5476 PyObject * obj1 = 0 ;
5477 PyObject * obj2 = 0 ;
5478 char * kwnames[] = {
5479 (char *) "self",(char *) "style",(char *) "italic", NULL
5480 };
5481
5482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5484 if (!SWIG_IsOK(res1)) {
5485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5486 }
5487 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5488 ecode2 = SWIG_AsVal_int(obj1, &val2);
5489 if (!SWIG_IsOK(ecode2)) {
5490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "2"" of type '" "int""'");
5491 }
5492 arg2 = static_cast< int >(val2);
5493 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5494 if (!SWIG_IsOK(ecode3)) {
5495 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "3"" of type '" "bool""'");
5496 }
5497 arg3 = static_cast< bool >(val3);
5498 {
5499 PyThreadState* __tstate = wxPyBeginAllowThreads();
5500 (arg1)->StyleSetItalic(arg2,arg3);
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 resultobj = SWIG_Py_Void();
5505 return resultobj;
5506fail:
5507 return NULL;
5508}
5509
5510
5511SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5512 PyObject *resultobj = 0;
5513 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5514 int arg2 ;
5515 int arg3 ;
5516 void *argp1 = 0 ;
5517 int res1 = 0 ;
5518 int val2 ;
5519 int ecode2 = 0 ;
5520 int val3 ;
5521 int ecode3 = 0 ;
5522 PyObject * obj0 = 0 ;
5523 PyObject * obj1 = 0 ;
5524 PyObject * obj2 = 0 ;
5525 char * kwnames[] = {
5526 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
5527 };
5528
5529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5531 if (!SWIG_IsOK(res1)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5533 }
5534 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5535 ecode2 = SWIG_AsVal_int(obj1, &val2);
5536 if (!SWIG_IsOK(ecode2)) {
5537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "2"" of type '" "int""'");
5538 }
5539 arg2 = static_cast< int >(val2);
5540 ecode3 = SWIG_AsVal_int(obj2, &val3);
5541 if (!SWIG_IsOK(ecode3)) {
5542 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "3"" of type '" "int""'");
5543 }
5544 arg3 = static_cast< int >(val3);
5545 {
5546 PyThreadState* __tstate = wxPyBeginAllowThreads();
5547 (arg1)->StyleSetSize(arg2,arg3);
5548 wxPyEndAllowThreads(__tstate);
5549 if (PyErr_Occurred()) SWIG_fail;
5550 }
5551 resultobj = SWIG_Py_Void();
5552 return resultobj;
5553fail:
5554 return NULL;
5555}
5556
5557
5558SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5559 PyObject *resultobj = 0;
5560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5561 int arg2 ;
5562 wxString *arg3 = 0 ;
5563 void *argp1 = 0 ;
5564 int res1 = 0 ;
5565 int val2 ;
5566 int ecode2 = 0 ;
5567 bool temp3 = false ;
5568 PyObject * obj0 = 0 ;
5569 PyObject * obj1 = 0 ;
5570 PyObject * obj2 = 0 ;
5571 char * kwnames[] = {
5572 (char *) "self",(char *) "style",(char *) "fontName", NULL
5573 };
5574
5575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5577 if (!SWIG_IsOK(res1)) {
5578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5579 }
5580 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5581 ecode2 = SWIG_AsVal_int(obj1, &val2);
5582 if (!SWIG_IsOK(ecode2)) {
5583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "2"" of type '" "int""'");
5584 }
5585 arg2 = static_cast< int >(val2);
5586 {
5587 arg3 = wxString_in_helper(obj2);
5588 if (arg3 == NULL) SWIG_fail;
5589 temp3 = true;
5590 }
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 resultobj = SWIG_Py_Void();
5598 {
5599 if (temp3)
5600 delete arg3;
5601 }
5602 return resultobj;
5603fail:
5604 {
5605 if (temp3)
5606 delete arg3;
5607 }
5608 return NULL;
5609}
5610
5611
5612SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5613 PyObject *resultobj = 0;
5614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5615 int arg2 ;
5616 bool arg3 ;
5617 void *argp1 = 0 ;
5618 int res1 = 0 ;
5619 int val2 ;
5620 int ecode2 = 0 ;
5621 bool val3 ;
5622 int ecode3 = 0 ;
5623 PyObject * obj0 = 0 ;
5624 PyObject * obj1 = 0 ;
5625 PyObject * obj2 = 0 ;
5626 char * kwnames[] = {
5627 (char *) "self",(char *) "style",(char *) "filled", NULL
5628 };
5629
5630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5632 if (!SWIG_IsOK(res1)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5634 }
5635 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5636 ecode2 = SWIG_AsVal_int(obj1, &val2);
5637 if (!SWIG_IsOK(ecode2)) {
5638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "2"" of type '" "int""'");
5639 }
5640 arg2 = static_cast< int >(val2);
5641 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5642 if (!SWIG_IsOK(ecode3)) {
5643 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "3"" of type '" "bool""'");
5644 }
5645 arg3 = static_cast< bool >(val3);
5646 {
5647 PyThreadState* __tstate = wxPyBeginAllowThreads();
5648 (arg1)->StyleSetEOLFilled(arg2,arg3);
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 resultobj = SWIG_Py_Void();
5653 return resultobj;
5654fail:
5655 return NULL;
d14a1e28
RD
5656}
5657
5658
1bd55598
RD
5659SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5660 PyObject *resultobj = 0;
5661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5662 void *argp1 = 0 ;
5663 int res1 = 0 ;
5664 PyObject *swig_obj[1] ;
5665
5666 if (!args) SWIG_fail;
5667 swig_obj[0] = args;
5668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5669 if (!SWIG_IsOK(res1)) {
5670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleResetDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5671 }
5672 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 (arg1)->StyleResetDefault();
5676 wxPyEndAllowThreads(__tstate);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 }
5679 resultobj = SWIG_Py_Void();
5680 return resultobj;
5681fail:
5682 return NULL;
5683}
5684
5685
5686SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5687 PyObject *resultobj = 0;
5688 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5689 int arg2 ;
5690 bool arg3 ;
5691 void *argp1 = 0 ;
5692 int res1 = 0 ;
5693 int val2 ;
5694 int ecode2 = 0 ;
5695 bool val3 ;
5696 int ecode3 = 0 ;
5697 PyObject * obj0 = 0 ;
5698 PyObject * obj1 = 0 ;
5699 PyObject * obj2 = 0 ;
5700 char * kwnames[] = {
5701 (char *) "self",(char *) "style",(char *) "underline", NULL
5702 };
5703
5704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5706 if (!SWIG_IsOK(res1)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5708 }
5709 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5710 ecode2 = SWIG_AsVal_int(obj1, &val2);
5711 if (!SWIG_IsOK(ecode2)) {
5712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "2"" of type '" "int""'");
5713 }
5714 arg2 = static_cast< int >(val2);
5715 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5716 if (!SWIG_IsOK(ecode3)) {
5717 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "3"" of type '" "bool""'");
5718 }
5719 arg3 = static_cast< bool >(val3);
5720 {
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 (arg1)->StyleSetUnderline(arg2,arg3);
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
5726 resultobj = SWIG_Py_Void();
5727 return resultobj;
5728fail:
5729 return NULL;
5730}
5731
5732
5733SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj = 0;
5735 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5736 int arg2 ;
5737 int arg3 ;
5738 void *argp1 = 0 ;
5739 int res1 = 0 ;
5740 int val2 ;
5741 int ecode2 = 0 ;
5742 int val3 ;
5743 int ecode3 = 0 ;
5744 PyObject * obj0 = 0 ;
5745 PyObject * obj1 = 0 ;
5746 PyObject * obj2 = 0 ;
5747 char * kwnames[] = {
5748 (char *) "self",(char *) "style",(char *) "caseForce", NULL
5749 };
5750
5751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5753 if (!SWIG_IsOK(res1)) {
5754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5755 }
5756 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5757 ecode2 = SWIG_AsVal_int(obj1, &val2);
5758 if (!SWIG_IsOK(ecode2)) {
5759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "2"" of type '" "int""'");
5760 }
5761 arg2 = static_cast< int >(val2);
5762 ecode3 = SWIG_AsVal_int(obj2, &val3);
5763 if (!SWIG_IsOK(ecode3)) {
5764 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "3"" of type '" "int""'");
5765 }
5766 arg3 = static_cast< int >(val3);
5767 {
5768 PyThreadState* __tstate = wxPyBeginAllowThreads();
5769 (arg1)->StyleSetCase(arg2,arg3);
5770 wxPyEndAllowThreads(__tstate);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 resultobj = SWIG_Py_Void();
5774 return resultobj;
5775fail:
5776 return NULL;
5777}
5778
5779
5780SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5781 PyObject *resultobj = 0;
5782 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5783 int arg2 ;
5784 bool arg3 ;
5785 void *argp1 = 0 ;
5786 int res1 = 0 ;
5787 int val2 ;
5788 int ecode2 = 0 ;
5789 bool val3 ;
5790 int ecode3 = 0 ;
5791 PyObject * obj0 = 0 ;
5792 PyObject * obj1 = 0 ;
5793 PyObject * obj2 = 0 ;
5794 char * kwnames[] = {
5795 (char *) "self",(char *) "style",(char *) "hotspot", NULL
5796 };
5797
5798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5800 if (!SWIG_IsOK(res1)) {
5801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5802 }
5803 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5804 ecode2 = SWIG_AsVal_int(obj1, &val2);
5805 if (!SWIG_IsOK(ecode2)) {
5806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "2"" of type '" "int""'");
5807 }
5808 arg2 = static_cast< int >(val2);
5809 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5810 if (!SWIG_IsOK(ecode3)) {
5811 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "3"" of type '" "bool""'");
5812 }
5813 arg3 = static_cast< bool >(val3);
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 (arg1)->StyleSetHotSpot(arg2,arg3);
5817 wxPyEndAllowThreads(__tstate);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 }
5820 resultobj = SWIG_Py_Void();
5821 return resultobj;
5822fail:
5823 return NULL;
5824}
5825
5826
5827SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj = 0;
5829 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5830 bool arg2 ;
5831 wxColour *arg3 = 0 ;
5832 void *argp1 = 0 ;
5833 int res1 = 0 ;
5834 bool val2 ;
5835 int ecode2 = 0 ;
5836 wxColour temp3 ;
5837 PyObject * obj0 = 0 ;
5838 PyObject * obj1 = 0 ;
5839 PyObject * obj2 = 0 ;
5840 char * kwnames[] = {
5841 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
5842 };
5843
5844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5846 if (!SWIG_IsOK(res1)) {
5847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5848 }
5849 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5850 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5851 if (!SWIG_IsOK(ecode2)) {
5852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "2"" of type '" "bool""'");
5853 }
5854 arg2 = static_cast< bool >(val2);
5855 {
5856 arg3 = &temp3;
5857 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5858 }
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
5862 wxPyEndAllowThreads(__tstate);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 resultobj = SWIG_Py_Void();
5866 return resultobj;
5867fail:
5868 return NULL;
5869}
5870
5871
5872SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5873 PyObject *resultobj = 0;
5874 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5875 bool arg2 ;
5876 wxColour *arg3 = 0 ;
5877 void *argp1 = 0 ;
5878 int res1 = 0 ;
5879 bool val2 ;
5880 int ecode2 = 0 ;
5881 wxColour temp3 ;
5882 PyObject * obj0 = 0 ;
5883 PyObject * obj1 = 0 ;
5884 PyObject * obj2 = 0 ;
5885 char * kwnames[] = {
5886 (char *) "self",(char *) "useSetting",(char *) "back", NULL
5887 };
5888
5889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5891 if (!SWIG_IsOK(res1)) {
5892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5893 }
5894 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5895 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5896 if (!SWIG_IsOK(ecode2)) {
5897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "2"" of type '" "bool""'");
5898 }
5899 arg2 = static_cast< bool >(val2);
5900 {
5901 arg3 = &temp3;
5902 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5903 }
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 resultobj = SWIG_Py_Void();
5911 return resultobj;
5912fail:
5913 return NULL;
5914}
5915
5916
5917SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5918 PyObject *resultobj = 0;
5919 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5920 wxColour *arg2 = 0 ;
5921 void *argp1 = 0 ;
5922 int res1 = 0 ;
5923 wxColour temp2 ;
5924 PyObject * obj0 = 0 ;
5925 PyObject * obj1 = 0 ;
5926 char * kwnames[] = {
5927 (char *) "self",(char *) "fore", NULL
5928 };
5929
5930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) SWIG_fail;
5931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5932 if (!SWIG_IsOK(res1)) {
5933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5934 }
5935 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5936 {
5937 arg2 = &temp2;
5938 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5939 }
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 (arg1)->SetCaretForeground((wxColour const &)*arg2);
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 resultobj = SWIG_Py_Void();
5947 return resultobj;
5948fail:
5949 return NULL;
5950}
5951
5952
5953SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5954 PyObject *resultobj = 0;
5955 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5956 int arg2 ;
5957 int arg3 ;
5958 int arg4 ;
5959 void *argp1 = 0 ;
5960 int res1 = 0 ;
5961 int val2 ;
5962 int ecode2 = 0 ;
5963 int val3 ;
5964 int ecode3 = 0 ;
5965 int val4 ;
5966 int ecode4 = 0 ;
5967 PyObject * obj0 = 0 ;
5968 PyObject * obj1 = 0 ;
5969 PyObject * obj2 = 0 ;
5970 PyObject * obj3 = 0 ;
5971 char * kwnames[] = {
5972 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
5973 };
5974
5975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
5976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5977 if (!SWIG_IsOK(res1)) {
5978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5979 }
5980 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5981 ecode2 = SWIG_AsVal_int(obj1, &val2);
5982 if (!SWIG_IsOK(ecode2)) {
5983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "2"" of type '" "int""'");
5984 }
5985 arg2 = static_cast< int >(val2);
5986 ecode3 = SWIG_AsVal_int(obj2, &val3);
5987 if (!SWIG_IsOK(ecode3)) {
5988 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "3"" of type '" "int""'");
5989 }
5990 arg3 = static_cast< int >(val3);
5991 ecode4 = SWIG_AsVal_int(obj3, &val4);
5992 if (!SWIG_IsOK(ecode4)) {
5993 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "4"" of type '" "int""'");
5994 }
5995 arg4 = static_cast< int >(val4);
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 resultobj = SWIG_Py_Void();
6003 return resultobj;
6004fail:
6005 return NULL;
6006}
6007
6008
6009SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj = 0;
6011 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6012 int arg2 ;
6013 int arg3 ;
6014 void *argp1 = 0 ;
6015 int res1 = 0 ;
6016 int val2 ;
6017 int ecode2 = 0 ;
6018 int val3 ;
6019 int ecode3 = 0 ;
6020 PyObject * obj0 = 0 ;
6021 PyObject * obj1 = 0 ;
6022 PyObject * obj2 = 0 ;
6023 char * kwnames[] = {
6024 (char *) "self",(char *) "key",(char *) "modifiers", NULL
6025 };
6026
6027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6029 if (!SWIG_IsOK(res1)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6031 }
6032 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6033 ecode2 = SWIG_AsVal_int(obj1, &val2);
6034 if (!SWIG_IsOK(ecode2)) {
6035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "2"" of type '" "int""'");
6036 }
6037 arg2 = static_cast< int >(val2);
6038 ecode3 = SWIG_AsVal_int(obj2, &val3);
6039 if (!SWIG_IsOK(ecode3)) {
6040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "3"" of type '" "int""'");
6041 }
6042 arg3 = static_cast< int >(val3);
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 (arg1)->CmdKeyClear(arg2,arg3);
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 resultobj = SWIG_Py_Void();
6050 return resultobj;
6051fail:
6052 return NULL;
d14a1e28
RD
6053}
6054
6055
1bd55598
RD
6056SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6057 PyObject *resultobj = 0;
6058 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6059 void *argp1 = 0 ;
6060 int res1 = 0 ;
6061 PyObject *swig_obj[1] ;
6062
6063 if (!args) SWIG_fail;
6064 swig_obj[0] = args;
6065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6066 if (!SWIG_IsOK(res1)) {
6067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6068 }
6069 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 (arg1)->CmdKeyClearAll();
6073 wxPyEndAllowThreads(__tstate);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 resultobj = SWIG_Py_Void();
6077 return resultobj;
6078fail:
6079 return NULL;
6080}
6081
6082
6083SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj = 0;
6085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6086 int arg2 ;
6087 char *arg3 = (char *) 0 ;
6088 void *argp1 = 0 ;
6089 int res1 = 0 ;
6090 int val2 ;
6091 int ecode2 = 0 ;
6092 int res3 ;
6093 char *buf3 = 0 ;
6094 int alloc3 = 0 ;
6095 PyObject * obj0 = 0 ;
6096 PyObject * obj1 = 0 ;
6097 PyObject * obj2 = 0 ;
6098 char * kwnames[] = {
6099 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
6100 };
6101
6102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6104 if (!SWIG_IsOK(res1)) {
6105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6106 }
6107 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6108 ecode2 = SWIG_AsVal_int(obj1, &val2);
6109 if (!SWIG_IsOK(ecode2)) {
6110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "2"" of type '" "int""'");
6111 }
6112 arg2 = static_cast< int >(val2);
6113 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
6114 if (!SWIG_IsOK(res3)) {
6115 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "3"" of type '" "char *""'");
6116 }
6117 arg3 = buf3;
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 (arg1)->SetStyleBytes(arg2,arg3);
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
6124 resultobj = SWIG_Py_Void();
6125 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
6126 return resultobj;
6127fail:
6128 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
6129 return NULL;
6130}
6131
6132
6133SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6134 PyObject *resultobj = 0;
6135 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6136 int arg2 ;
6137 bool arg3 ;
6138 void *argp1 = 0 ;
6139 int res1 = 0 ;
6140 int val2 ;
6141 int ecode2 = 0 ;
6142 bool val3 ;
6143 int ecode3 = 0 ;
6144 PyObject * obj0 = 0 ;
6145 PyObject * obj1 = 0 ;
6146 PyObject * obj2 = 0 ;
6147 char * kwnames[] = {
6148 (char *) "self",(char *) "style",(char *) "visible", NULL
6149 };
6150
6151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6153 if (!SWIG_IsOK(res1)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6155 }
6156 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6157 ecode2 = SWIG_AsVal_int(obj1, &val2);
6158 if (!SWIG_IsOK(ecode2)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "2"" of type '" "int""'");
6160 }
6161 arg2 = static_cast< int >(val2);
6162 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6163 if (!SWIG_IsOK(ecode3)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "3"" of type '" "bool""'");
6165 }
6166 arg3 = static_cast< bool >(val3);
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 (arg1)->StyleSetVisible(arg2,arg3);
6170 wxPyEndAllowThreads(__tstate);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 }
6173 resultobj = SWIG_Py_Void();
6174 return resultobj;
6175fail:
6176 return NULL;
d14a1e28
RD
6177}
6178
6179
1bd55598
RD
6180SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6181 PyObject *resultobj = 0;
6182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6183 int result;
6184 void *argp1 = 0 ;
6185 int res1 = 0 ;
6186 PyObject *swig_obj[1] ;
6187
6188 if (!args) SWIG_fail;
6189 swig_obj[0] = args;
6190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6191 if (!SWIG_IsOK(res1)) {
6192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6193 }
6194 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (int)(arg1)->GetCaretPeriod();
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 resultobj = SWIG_From_int(static_cast< int >(result));
6202 return resultobj;
6203fail:
6204 return NULL;
6205}
6206
6207
6208SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6209 PyObject *resultobj = 0;
6210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6211 int arg2 ;
6212 void *argp1 = 0 ;
6213 int res1 = 0 ;
6214 int val2 ;
6215 int ecode2 = 0 ;
6216 PyObject * obj0 = 0 ;
6217 PyObject * obj1 = 0 ;
6218 char * kwnames[] = {
6219 (char *) "self",(char *) "periodMilliseconds", NULL
6220 };
6221
6222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) 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_SetCaretPeriod" "', 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_SetCaretPeriod" "', expected argument " "2"" of type '" "int""'");
6231 }
6232 arg2 = static_cast< int >(val2);
6233 {
6234 PyThreadState* __tstate = wxPyBeginAllowThreads();
6235 (arg1)->SetCaretPeriod(arg2);
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 resultobj = SWIG_Py_Void();
6240 return resultobj;
6241fail:
6242 return NULL;
6243}
6244
6245
6246SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6247 PyObject *resultobj = 0;
6248 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6249 wxString *arg2 = 0 ;
6250 void *argp1 = 0 ;
6251 int res1 = 0 ;
6252 bool temp2 = false ;
6253 PyObject * obj0 = 0 ;
6254 PyObject * obj1 = 0 ;
6255 char * kwnames[] = {
6256 (char *) "self",(char *) "characters", NULL
6257 };
6258
6259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) SWIG_fail;
6260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6261 if (!SWIG_IsOK(res1)) {
6262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWordChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6263 }
6264 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6265 {
6266 arg2 = wxString_in_helper(obj1);
6267 if (arg2 == NULL) SWIG_fail;
6268 temp2 = true;
6269 }
6270 {
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 (arg1)->SetWordChars((wxString const &)*arg2);
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 resultobj = SWIG_Py_Void();
6277 {
6278 if (temp2)
6279 delete arg2;
6280 }
6281 return resultobj;
6282fail:
6283 {
6284 if (temp2)
6285 delete arg2;
6286 }
6287 return NULL;
d14a1e28
RD
6288}
6289
6290
1bd55598
RD
6291SWIGINTERN PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6292 PyObject *resultobj = 0;
6293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6294 void *argp1 = 0 ;
6295 int res1 = 0 ;
6296 PyObject *swig_obj[1] ;
6297
6298 if (!args) SWIG_fail;
6299 swig_obj[0] = args;
6300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6301 if (!SWIG_IsOK(res1)) {
6302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BeginUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6303 }
6304 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 (arg1)->BeginUndoAction();
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 }
6311 resultobj = SWIG_Py_Void();
6312 return resultobj;
6313fail:
6314 return NULL;
d14a1e28
RD
6315}
6316
6317
1bd55598
RD
6318SWIGINTERN PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6319 PyObject *resultobj = 0;
6320 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6321 void *argp1 = 0 ;
6322 int res1 = 0 ;
6323 PyObject *swig_obj[1] ;
6324
6325 if (!args) SWIG_fail;
6326 swig_obj[0] = args;
6327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6328 if (!SWIG_IsOK(res1)) {
6329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EndUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6330 }
6331 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 (arg1)->EndUndoAction();
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
6338 resultobj = SWIG_Py_Void();
6339 return resultobj;
6340fail:
6341 return NULL;
6342}
6343
6344
6345SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6346 PyObject *resultobj = 0;
6347 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6348 int arg2 ;
6349 int arg3 ;
6350 void *argp1 = 0 ;
6351 int res1 = 0 ;
6352 int val2 ;
6353 int ecode2 = 0 ;
6354 int val3 ;
6355 int ecode3 = 0 ;
6356 PyObject * obj0 = 0 ;
6357 PyObject * obj1 = 0 ;
6358 PyObject * obj2 = 0 ;
6359 char * kwnames[] = {
6360 (char *) "self",(char *) "indic",(char *) "style", NULL
6361 };
6362
6363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6365 if (!SWIG_IsOK(res1)) {
6366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6367 }
6368 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6369 ecode2 = SWIG_AsVal_int(obj1, &val2);
6370 if (!SWIG_IsOK(ecode2)) {
6371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "2"" of type '" "int""'");
6372 }
6373 arg2 = static_cast< int >(val2);
6374 ecode3 = SWIG_AsVal_int(obj2, &val3);
6375 if (!SWIG_IsOK(ecode3)) {
6376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "3"" of type '" "int""'");
6377 }
6378 arg3 = static_cast< int >(val3);
6379 {
6380 PyThreadState* __tstate = wxPyBeginAllowThreads();
6381 (arg1)->IndicatorSetStyle(arg2,arg3);
6382 wxPyEndAllowThreads(__tstate);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 resultobj = SWIG_Py_Void();
6386 return resultobj;
6387fail:
6388 return NULL;
6389}
6390
6391
6392SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6393 PyObject *resultobj = 0;
6394 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6395 int arg2 ;
6396 int result;
6397 void *argp1 = 0 ;
6398 int res1 = 0 ;
6399 int val2 ;
6400 int ecode2 = 0 ;
6401 PyObject * obj0 = 0 ;
6402 PyObject * obj1 = 0 ;
6403 char * kwnames[] = {
6404 (char *) "self",(char *) "indic", NULL
6405 };
6406
6407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6409 if (!SWIG_IsOK(res1)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6411 }
6412 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6413 ecode2 = SWIG_AsVal_int(obj1, &val2);
6414 if (!SWIG_IsOK(ecode2)) {
6415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "2"" of type '" "int""'");
6416 }
6417 arg2 = static_cast< int >(val2);
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (int)(arg1)->IndicatorGetStyle(arg2);
6421 wxPyEndAllowThreads(__tstate);
6422 if (PyErr_Occurred()) SWIG_fail;
6423 }
6424 resultobj = SWIG_From_int(static_cast< int >(result));
6425 return resultobj;
6426fail:
6427 return NULL;
6428}
6429
6430
6431SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6432 PyObject *resultobj = 0;
6433 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6434 int arg2 ;
6435 wxColour *arg3 = 0 ;
6436 void *argp1 = 0 ;
6437 int res1 = 0 ;
6438 int val2 ;
6439 int ecode2 = 0 ;
6440 wxColour temp3 ;
6441 PyObject * obj0 = 0 ;
6442 PyObject * obj1 = 0 ;
6443 PyObject * obj2 = 0 ;
6444 char * kwnames[] = {
6445 (char *) "self",(char *) "indic",(char *) "fore", NULL
6446 };
6447
6448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6450 if (!SWIG_IsOK(res1)) {
6451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6452 }
6453 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6454 ecode2 = SWIG_AsVal_int(obj1, &val2);
6455 if (!SWIG_IsOK(ecode2)) {
6456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "2"" of type '" "int""'");
6457 }
6458 arg2 = static_cast< int >(val2);
6459 {
6460 arg3 = &temp3;
6461 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6462 }
6463 {
6464 PyThreadState* __tstate = wxPyBeginAllowThreads();
6465 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
6466 wxPyEndAllowThreads(__tstate);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 resultobj = SWIG_Py_Void();
6470 return resultobj;
6471fail:
6472 return NULL;
6473}
6474
6475
6476SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6477 PyObject *resultobj = 0;
6478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6479 int arg2 ;
6480 wxColour result;
6481 void *argp1 = 0 ;
6482 int res1 = 0 ;
6483 int val2 ;
6484 int ecode2 = 0 ;
6485 PyObject * obj0 = 0 ;
6486 PyObject * obj1 = 0 ;
6487 char * kwnames[] = {
6488 (char *) "self",(char *) "indic", NULL
6489 };
6490
6491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
6492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6493 if (!SWIG_IsOK(res1)) {
6494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6495 }
6496 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6497 ecode2 = SWIG_AsVal_int(obj1, &val2);
6498 if (!SWIG_IsOK(ecode2)) {
6499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "2"" of type '" "int""'");
6500 }
6501 arg2 = static_cast< int >(val2);
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 result = (arg1)->IndicatorGetForeground(arg2);
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6509 return resultobj;
6510fail:
6511 return NULL;
6512}
6513
6514
6515SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6516 PyObject *resultobj = 0;
6517 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6518 bool arg2 ;
6519 wxColour *arg3 = 0 ;
6520 void *argp1 = 0 ;
6521 int res1 = 0 ;
6522 bool val2 ;
6523 int ecode2 = 0 ;
6524 wxColour temp3 ;
6525 PyObject * obj0 = 0 ;
6526 PyObject * obj1 = 0 ;
6527 PyObject * obj2 = 0 ;
6528 char * kwnames[] = {
6529 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
6530 };
6531
6532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6534 if (!SWIG_IsOK(res1)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6536 }
6537 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6538 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6539 if (!SWIG_IsOK(ecode2)) {
6540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "2"" of type '" "bool""'");
6541 }
6542 arg2 = static_cast< bool >(val2);
6543 {
6544 arg3 = &temp3;
6545 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6546 }
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
6553 resultobj = SWIG_Py_Void();
6554 return resultobj;
6555fail:
6556 return NULL;
6557}
6558
6559
6560SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj = 0;
6562 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6563 bool arg2 ;
6564 wxColour *arg3 = 0 ;
6565 void *argp1 = 0 ;
6566 int res1 = 0 ;
6567 bool val2 ;
6568 int ecode2 = 0 ;
6569 wxColour temp3 ;
6570 PyObject * obj0 = 0 ;
6571 PyObject * obj1 = 0 ;
6572 PyObject * obj2 = 0 ;
6573 char * kwnames[] = {
6574 (char *) "self",(char *) "useSetting",(char *) "back", NULL
6575 };
6576
6577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6579 if (!SWIG_IsOK(res1)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6581 }
6582 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6583 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6584 if (!SWIG_IsOK(ecode2)) {
6585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "2"" of type '" "bool""'");
6586 }
6587 arg2 = static_cast< bool >(val2);
6588 {
6589 arg3 = &temp3;
6590 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6591 }
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 resultobj = SWIG_Py_Void();
6599 return resultobj;
6600fail:
6601 return NULL;
6602}
6603
6604
6605SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6606 PyObject *resultobj = 0;
6607 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6608 int arg2 ;
6609 void *argp1 = 0 ;
6610 int res1 = 0 ;
6611 int val2 ;
6612 int ecode2 = 0 ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char * kwnames[] = {
6616 (char *) "self",(char *) "bits", NULL
6617 };
6618
6619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) SWIG_fail;
6620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6621 if (!SWIG_IsOK(res1)) {
6622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6623 }
6624 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6625 ecode2 = SWIG_AsVal_int(obj1, &val2);
6626 if (!SWIG_IsOK(ecode2)) {
6627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "2"" of type '" "int""'");
6628 }
6629 arg2 = static_cast< int >(val2);
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 (arg1)->SetStyleBits(arg2);
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 resultobj = SWIG_Py_Void();
6637 return resultobj;
6638fail:
6639 return NULL;
d14a1e28
RD
6640}
6641
6642
1bd55598
RD
6643SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6644 PyObject *resultobj = 0;
6645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6646 int result;
6647 void *argp1 = 0 ;
6648 int res1 = 0 ;
6649 PyObject *swig_obj[1] ;
6650
6651 if (!args) SWIG_fail;
6652 swig_obj[0] = args;
6653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6654 if (!SWIG_IsOK(res1)) {
6655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6656 }
6657 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (int)(arg1)->GetStyleBits();
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 resultobj = SWIG_From_int(static_cast< int >(result));
6665 return resultobj;
6666fail:
6667 return NULL;
6668}
6669
6670
6671SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6672 PyObject *resultobj = 0;
6673 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6674 int arg2 ;
6675 int arg3 ;
6676 void *argp1 = 0 ;
6677 int res1 = 0 ;
6678 int val2 ;
6679 int ecode2 = 0 ;
6680 int val3 ;
6681 int ecode3 = 0 ;
6682 PyObject * obj0 = 0 ;
6683 PyObject * obj1 = 0 ;
6684 PyObject * obj2 = 0 ;
6685 char * kwnames[] = {
6686 (char *) "self",(char *) "line",(char *) "state", NULL
6687 };
6688
6689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6691 if (!SWIG_IsOK(res1)) {
6692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6693 }
6694 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6695 ecode2 = SWIG_AsVal_int(obj1, &val2);
6696 if (!SWIG_IsOK(ecode2)) {
6697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "2"" of type '" "int""'");
6698 }
6699 arg2 = static_cast< int >(val2);
6700 ecode3 = SWIG_AsVal_int(obj2, &val3);
6701 if (!SWIG_IsOK(ecode3)) {
6702 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "3"" of type '" "int""'");
6703 }
6704 arg3 = static_cast< int >(val3);
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 (arg1)->SetLineState(arg2,arg3);
6708 wxPyEndAllowThreads(__tstate);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 }
6711 resultobj = SWIG_Py_Void();
6712 return resultobj;
6713fail:
6714 return NULL;
6715}
6716
6717
6718SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6719 PyObject *resultobj = 0;
6720 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6721 int arg2 ;
6722 int result;
6723 void *argp1 = 0 ;
6724 int res1 = 0 ;
6725 int val2 ;
6726 int ecode2 = 0 ;
6727 PyObject * obj0 = 0 ;
6728 PyObject * obj1 = 0 ;
6729 char * kwnames[] = {
6730 (char *) "self",(char *) "line", NULL
6731 };
6732
6733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) SWIG_fail;
6734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6735 if (!SWIG_IsOK(res1)) {
6736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6737 }
6738 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6739 ecode2 = SWIG_AsVal_int(obj1, &val2);
6740 if (!SWIG_IsOK(ecode2)) {
6741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "2"" of type '" "int""'");
6742 }
6743 arg2 = static_cast< int >(val2);
6744 {
6745 PyThreadState* __tstate = wxPyBeginAllowThreads();
6746 result = (int)(arg1)->GetLineState(arg2);
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 resultobj = SWIG_From_int(static_cast< int >(result));
6751 return resultobj;
6752fail:
6753 return NULL;
d14a1e28
RD
6754}
6755
6756
1bd55598
RD
6757SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6758 PyObject *resultobj = 0;
6759 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6760 int result;
6761 void *argp1 = 0 ;
6762 int res1 = 0 ;
6763 PyObject *swig_obj[1] ;
6764
6765 if (!args) SWIG_fail;
6766 swig_obj[0] = args;
6767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6768 if (!SWIG_IsOK(res1)) {
6769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMaxLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6770 }
6771 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6772 {
6773 PyThreadState* __tstate = wxPyBeginAllowThreads();
6774 result = (int)(arg1)->GetMaxLineState();
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 resultobj = SWIG_From_int(static_cast< int >(result));
6779 return resultobj;
6780fail:
6781 return NULL;
d14a1e28
RD
6782}
6783
6784
1bd55598
RD
6785SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6786 PyObject *resultobj = 0;
6787 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6788 bool result;
6789 void *argp1 = 0 ;
6790 int res1 = 0 ;
6791 PyObject *swig_obj[1] ;
6792
6793 if (!args) SWIG_fail;
6794 swig_obj[0] = args;
6795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6796 if (!SWIG_IsOK(res1)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6798 }
6799 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6800 {
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 result = (bool)(arg1)->GetCaretLineVisible();
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 {
6807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6808 }
6809 return resultobj;
6810fail:
6811 return NULL;
6812}
6813
6814
6815SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6816 PyObject *resultobj = 0;
6817 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6818 bool arg2 ;
6819 void *argp1 = 0 ;
6820 int res1 = 0 ;
6821 bool val2 ;
6822 int ecode2 = 0 ;
6823 PyObject * obj0 = 0 ;
6824 PyObject * obj1 = 0 ;
6825 char * kwnames[] = {
6826 (char *) "self",(char *) "show", NULL
6827 };
6828
6829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
6830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6831 if (!SWIG_IsOK(res1)) {
6832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6833 }
6834 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6835 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6836 if (!SWIG_IsOK(ecode2)) {
6837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "2"" of type '" "bool""'");
6838 }
6839 arg2 = static_cast< bool >(val2);
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 (arg1)->SetCaretLineVisible(arg2);
6843 wxPyEndAllowThreads(__tstate);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 }
6846 resultobj = SWIG_Py_Void();
6847 return resultobj;
6848fail:
6849 return NULL;
d14a1e28
RD
6850}
6851
6852
1bd55598
RD
6853SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6854 PyObject *resultobj = 0;
6855 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6856 wxColour result;
6857 void *argp1 = 0 ;
6858 int res1 = 0 ;
6859 PyObject *swig_obj[1] ;
6860
6861 if (!args) SWIG_fail;
6862 swig_obj[0] = args;
6863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6864 if (!SWIG_IsOK(res1)) {
6865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6866 }
6867 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6868 {
6869 PyThreadState* __tstate = wxPyBeginAllowThreads();
6870 result = (arg1)->GetCaretLineBack();
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
6874 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6875 return resultobj;
6876fail:
6877 return NULL;
6878}
6879
6880
6881SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj = 0;
6883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6884 wxColour *arg2 = 0 ;
6885 void *argp1 = 0 ;
6886 int res1 = 0 ;
6887 wxColour temp2 ;
6888 PyObject * obj0 = 0 ;
6889 PyObject * obj1 = 0 ;
6890 char * kwnames[] = {
6891 (char *) "self",(char *) "back", NULL
6892 };
6893
6894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) SWIG_fail;
6895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6896 if (!SWIG_IsOK(res1)) {
6897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6898 }
6899 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6900 {
6901 arg2 = &temp2;
6902 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6903 }
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 resultobj = SWIG_Py_Void();
6911 return resultobj;
6912fail:
6913 return NULL;
6914}
6915
6916
6917SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj = 0;
6919 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6920 int arg2 ;
6921 bool arg3 ;
6922 void *argp1 = 0 ;
6923 int res1 = 0 ;
6924 int val2 ;
6925 int ecode2 = 0 ;
6926 bool val3 ;
6927 int ecode3 = 0 ;
6928 PyObject * obj0 = 0 ;
6929 PyObject * obj1 = 0 ;
6930 PyObject * obj2 = 0 ;
6931 char * kwnames[] = {
6932 (char *) "self",(char *) "style",(char *) "changeable", NULL
6933 };
6934
6935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6937 if (!SWIG_IsOK(res1)) {
6938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6939 }
6940 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6941 ecode2 = SWIG_AsVal_int(obj1, &val2);
6942 if (!SWIG_IsOK(ecode2)) {
6943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "2"" of type '" "int""'");
6944 }
6945 arg2 = static_cast< int >(val2);
6946 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6947 if (!SWIG_IsOK(ecode3)) {
6948 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "3"" of type '" "bool""'");
6949 }
6950 arg3 = static_cast< bool >(val3);
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 (arg1)->StyleSetChangeable(arg2,arg3);
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 resultobj = SWIG_Py_Void();
6958 return resultobj;
6959fail:
6960 return NULL;
6961}
6962
6963
6964SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj = 0;
6966 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6967 int arg2 ;
6968 wxString *arg3 = 0 ;
6969 void *argp1 = 0 ;
6970 int res1 = 0 ;
6971 int val2 ;
6972 int ecode2 = 0 ;
6973 bool temp3 = false ;
6974 PyObject * obj0 = 0 ;
6975 PyObject * obj1 = 0 ;
6976 PyObject * obj2 = 0 ;
6977 char * kwnames[] = {
6978 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
6979 };
6980
6981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6983 if (!SWIG_IsOK(res1)) {
6984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6985 }
6986 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6987 ecode2 = SWIG_AsVal_int(obj1, &val2);
6988 if (!SWIG_IsOK(ecode2)) {
6989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "2"" of type '" "int""'");
6990 }
6991 arg2 = static_cast< int >(val2);
6992 {
6993 arg3 = wxString_in_helper(obj2);
6994 if (arg3 == NULL) SWIG_fail;
6995 temp3 = true;
6996 }
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 resultobj = SWIG_Py_Void();
7004 {
7005 if (temp3)
7006 delete arg3;
7007 }
7008 return resultobj;
7009fail:
7010 {
7011 if (temp3)
7012 delete arg3;
7013 }
7014 return NULL;
d14a1e28
RD
7015}
7016
7017
1bd55598
RD
7018SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7019 PyObject *resultobj = 0;
7020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7021 void *argp1 = 0 ;
7022 int res1 = 0 ;
7023 PyObject *swig_obj[1] ;
7024
7025 if (!args) SWIG_fail;
7026 swig_obj[0] = args;
7027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7028 if (!SWIG_IsOK(res1)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7030 }
7031 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 (arg1)->AutoCompCancel();
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
7038 resultobj = SWIG_Py_Void();
7039 return resultobj;
7040fail:
7041 return NULL;
d14a1e28
RD
7042}
7043
7044
1bd55598
RD
7045SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7046 PyObject *resultobj = 0;
7047 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7048 bool result;
7049 void *argp1 = 0 ;
7050 int res1 = 0 ;
7051 PyObject *swig_obj[1] ;
7052
7053 if (!args) SWIG_fail;
7054 swig_obj[0] = args;
7055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7056 if (!SWIG_IsOK(res1)) {
7057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7058 }
7059 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7060 {
7061 PyThreadState* __tstate = wxPyBeginAllowThreads();
7062 result = (bool)(arg1)->AutoCompActive();
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 {
7067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7068 }
7069 return resultobj;
7070fail:
7071 return NULL;
d14a1e28
RD
7072}
7073
7074
1bd55598
RD
7075SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7076 PyObject *resultobj = 0;
7077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7078 int result;
7079 void *argp1 = 0 ;
7080 int res1 = 0 ;
7081 PyObject *swig_obj[1] ;
7082
7083 if (!args) SWIG_fail;
7084 swig_obj[0] = args;
7085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7086 if (!SWIG_IsOK(res1)) {
7087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompPosStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7088 }
7089 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 result = (int)(arg1)->AutoCompPosStart();
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 resultobj = SWIG_From_int(static_cast< int >(result));
7097 return resultobj;
7098fail:
7099 return NULL;
d14a1e28
RD
7100}
7101
7102
1bd55598
RD
7103SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7104 PyObject *resultobj = 0;
7105 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7106 void *argp1 = 0 ;
7107 int res1 = 0 ;
7108 PyObject *swig_obj[1] ;
7109
7110 if (!args) SWIG_fail;
7111 swig_obj[0] = args;
7112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7113 if (!SWIG_IsOK(res1)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompComplete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7115 }
7116 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7117 {
7118 PyThreadState* __tstate = wxPyBeginAllowThreads();
7119 (arg1)->AutoCompComplete();
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 }
7123 resultobj = SWIG_Py_Void();
7124 return resultobj;
7125fail:
7126 return NULL;
7127}
7128
7129
7130SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7131 PyObject *resultobj = 0;
7132 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7133 wxString *arg2 = 0 ;
7134 void *argp1 = 0 ;
7135 int res1 = 0 ;
7136 bool temp2 = false ;
7137 PyObject * obj0 = 0 ;
7138 PyObject * obj1 = 0 ;
7139 char * kwnames[] = {
7140 (char *) "self",(char *) "characterSet", NULL
7141 };
7142
7143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) SWIG_fail;
7144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7145 if (!SWIG_IsOK(res1)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompStops" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7147 }
7148 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7149 {
7150 arg2 = wxString_in_helper(obj1);
7151 if (arg2 == NULL) SWIG_fail;
7152 temp2 = true;
7153 }
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
7156 (arg1)->AutoCompStops((wxString const &)*arg2);
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 resultobj = SWIG_Py_Void();
7161 {
7162 if (temp2)
7163 delete arg2;
7164 }
7165 return resultobj;
7166fail:
7167 {
7168 if (temp2)
7169 delete arg2;
7170 }
7171 return NULL;
7172}
7173
7174
7175SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7176 PyObject *resultobj = 0;
7177 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7178 int arg2 ;
7179 void *argp1 = 0 ;
7180 int res1 = 0 ;
7181 int val2 ;
7182 int ecode2 = 0 ;
7183 PyObject * obj0 = 0 ;
7184 PyObject * obj1 = 0 ;
7185 char * kwnames[] = {
7186 (char *) "self",(char *) "separatorCharacter", NULL
7187 };
7188
7189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
7190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7191 if (!SWIG_IsOK(res1)) {
7192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7193 }
7194 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7195 ecode2 = SWIG_AsVal_int(obj1, &val2);
7196 if (!SWIG_IsOK(ecode2)) {
7197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "2"" of type '" "int""'");
7198 }
7199 arg2 = static_cast< int >(val2);
7200 {
7201 PyThreadState* __tstate = wxPyBeginAllowThreads();
7202 (arg1)->AutoCompSetSeparator(arg2);
7203 wxPyEndAllowThreads(__tstate);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 }
7206 resultobj = SWIG_Py_Void();
7207 return resultobj;
7208fail:
7209 return NULL;
d14a1e28
RD
7210}
7211
7212
1bd55598
RD
7213SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7214 PyObject *resultobj = 0;
7215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7216 int result;
7217 void *argp1 = 0 ;
7218 int res1 = 0 ;
7219 PyObject *swig_obj[1] ;
7220
7221 if (!args) SWIG_fail;
7222 swig_obj[0] = args;
7223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7224 if (!SWIG_IsOK(res1)) {
7225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7226 }
7227 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 result = (int)(arg1)->AutoCompGetSeparator();
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 resultobj = SWIG_From_int(static_cast< int >(result));
7235 return resultobj;
7236fail:
7237 return NULL;
7238}
7239
7240
7241SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj = 0;
7243 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7244 wxString *arg2 = 0 ;
7245 void *argp1 = 0 ;
7246 int res1 = 0 ;
7247 bool temp2 = false ;
7248 PyObject * obj0 = 0 ;
7249 PyObject * obj1 = 0 ;
7250 char * kwnames[] = {
7251 (char *) "self",(char *) "text", NULL
7252 };
7253
7254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) SWIG_fail;
7255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7256 if (!SWIG_IsOK(res1)) {
7257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSelect" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7258 }
7259 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7260 {
7261 arg2 = wxString_in_helper(obj1);
7262 if (arg2 == NULL) SWIG_fail;
7263 temp2 = true;
7264 }
7265 {
7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
7267 (arg1)->AutoCompSelect((wxString const &)*arg2);
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 resultobj = SWIG_Py_Void();
7272 {
7273 if (temp2)
7274 delete arg2;
7275 }
7276 return resultobj;
7277fail:
7278 {
7279 if (temp2)
7280 delete arg2;
7281 }
7282 return NULL;
7283}
7284
7285
7286SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7287 PyObject *resultobj = 0;
7288 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7289 bool arg2 ;
7290 void *argp1 = 0 ;
7291 int res1 = 0 ;
7292 bool val2 ;
7293 int ecode2 = 0 ;
7294 PyObject * obj0 = 0 ;
7295 PyObject * obj1 = 0 ;
7296 char * kwnames[] = {
7297 (char *) "self",(char *) "cancel", NULL
7298 };
7299
7300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) SWIG_fail;
7301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7302 if (!SWIG_IsOK(res1)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7304 }
7305 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7306 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7307 if (!SWIG_IsOK(ecode2)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "2"" of type '" "bool""'");
7309 }
7310 arg2 = static_cast< bool >(val2);
7311 {
7312 PyThreadState* __tstate = wxPyBeginAllowThreads();
7313 (arg1)->AutoCompSetCancelAtStart(arg2);
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 resultobj = SWIG_Py_Void();
7318 return resultobj;
7319fail:
7320 return NULL;
d14a1e28
RD
7321}
7322
7323
1bd55598
RD
7324SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7325 PyObject *resultobj = 0;
7326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7327 bool result;
7328 void *argp1 = 0 ;
7329 int res1 = 0 ;
7330 PyObject *swig_obj[1] ;
7331
7332 if (!args) SWIG_fail;
7333 swig_obj[0] = args;
7334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7335 if (!SWIG_IsOK(res1)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7337 }
7338 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 result = (bool)(arg1)->AutoCompGetCancelAtStart();
7342 wxPyEndAllowThreads(__tstate);
7343 if (PyErr_Occurred()) SWIG_fail;
7344 }
7345 {
7346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7347 }
7348 return resultobj;
7349fail:
7350 return NULL;
7351}
7352
7353
7354SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7355 PyObject *resultobj = 0;
7356 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7357 wxString *arg2 = 0 ;
7358 void *argp1 = 0 ;
7359 int res1 = 0 ;
7360 bool temp2 = false ;
7361 PyObject * obj0 = 0 ;
7362 PyObject * obj1 = 0 ;
7363 char * kwnames[] = {
7364 (char *) "self",(char *) "characterSet", NULL
7365 };
7366
7367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) SWIG_fail;
7368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7369 if (!SWIG_IsOK(res1)) {
7370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetFillUps" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7371 }
7372 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7373 {
7374 arg2 = wxString_in_helper(obj1);
7375 if (arg2 == NULL) SWIG_fail;
7376 temp2 = true;
7377 }
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 resultobj = SWIG_Py_Void();
7385 {
7386 if (temp2)
7387 delete arg2;
7388 }
7389 return resultobj;
7390fail:
7391 {
7392 if (temp2)
7393 delete arg2;
7394 }
7395 return NULL;
7396}
7397
7398
7399SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7400 PyObject *resultobj = 0;
7401 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7402 bool arg2 ;
7403 void *argp1 = 0 ;
7404 int res1 = 0 ;
7405 bool val2 ;
7406 int ecode2 = 0 ;
7407 PyObject * obj0 = 0 ;
7408 PyObject * obj1 = 0 ;
7409 char * kwnames[] = {
7410 (char *) "self",(char *) "chooseSingle", NULL
7411 };
7412
7413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) SWIG_fail;
7414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7415 if (!SWIG_IsOK(res1)) {
7416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7417 }
7418 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7419 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7420 if (!SWIG_IsOK(ecode2)) {
7421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "2"" of type '" "bool""'");
7422 }
7423 arg2 = static_cast< bool >(val2);
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 (arg1)->AutoCompSetChooseSingle(arg2);
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 resultobj = SWIG_Py_Void();
7431 return resultobj;
7432fail:
7433 return NULL;
d14a1e28
RD
7434}
7435
7436
1bd55598
RD
7437SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7438 PyObject *resultobj = 0;
7439 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7440 bool result;
7441 void *argp1 = 0 ;
7442 int res1 = 0 ;
7443 PyObject *swig_obj[1] ;
7444
7445 if (!args) SWIG_fail;
7446 swig_obj[0] = args;
7447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7448 if (!SWIG_IsOK(res1)) {
7449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7450 }
7451 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 result = (bool)(arg1)->AutoCompGetChooseSingle();
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
7458 {
7459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7460 }
7461 return resultobj;
7462fail:
7463 return NULL;
7464}
7465
7466
7467SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj = 0;
7469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7470 bool arg2 ;
7471 void *argp1 = 0 ;
7472 int res1 = 0 ;
7473 bool val2 ;
7474 int ecode2 = 0 ;
7475 PyObject * obj0 = 0 ;
7476 PyObject * obj1 = 0 ;
7477 char * kwnames[] = {
7478 (char *) "self",(char *) "ignoreCase", NULL
7479 };
7480
7481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) SWIG_fail;
7482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7483 if (!SWIG_IsOK(res1)) {
7484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7485 }
7486 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7487 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7488 if (!SWIG_IsOK(ecode2)) {
7489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "2"" of type '" "bool""'");
7490 }
7491 arg2 = static_cast< bool >(val2);
7492 {
7493 PyThreadState* __tstate = wxPyBeginAllowThreads();
7494 (arg1)->AutoCompSetIgnoreCase(arg2);
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 resultobj = SWIG_Py_Void();
7499 return resultobj;
7500fail:
7501 return NULL;
d14a1e28
RD
7502}
7503
7504
1bd55598
RD
7505SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7506 PyObject *resultobj = 0;
7507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7508 bool result;
7509 void *argp1 = 0 ;
7510 int res1 = 0 ;
7511 PyObject *swig_obj[1] ;
7512
7513 if (!args) SWIG_fail;
7514 swig_obj[0] = args;
7515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7516 if (!SWIG_IsOK(res1)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7518 }
7519 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7520 {
7521 PyThreadState* __tstate = wxPyBeginAllowThreads();
7522 result = (bool)(arg1)->AutoCompGetIgnoreCase();
7523 wxPyEndAllowThreads(__tstate);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
7526 {
7527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7528 }
7529 return resultobj;
7530fail:
7531 return NULL;
7532}
7533
7534
7535SWIGINTERN PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7536 PyObject *resultobj = 0;
7537 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7538 int arg2 ;
7539 wxString *arg3 = 0 ;
7540 void *argp1 = 0 ;
7541 int res1 = 0 ;
7542 int val2 ;
7543 int ecode2 = 0 ;
7544 bool temp3 = false ;
7545 PyObject * obj0 = 0 ;
7546 PyObject * obj1 = 0 ;
7547 PyObject * obj2 = 0 ;
7548 char * kwnames[] = {
7549 (char *) "self",(char *) "listType",(char *) "itemList", NULL
7550 };
7551
7552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7554 if (!SWIG_IsOK(res1)) {
7555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7556 }
7557 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7558 ecode2 = SWIG_AsVal_int(obj1, &val2);
7559 if (!SWIG_IsOK(ecode2)) {
7560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "2"" of type '" "int""'");
7561 }
7562 arg2 = static_cast< int >(val2);
7563 {
7564 arg3 = wxString_in_helper(obj2);
7565 if (arg3 == NULL) SWIG_fail;
7566 temp3 = true;
7567 }
7568 {
7569 PyThreadState* __tstate = wxPyBeginAllowThreads();
7570 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
7574 resultobj = SWIG_Py_Void();
7575 {
7576 if (temp3)
7577 delete arg3;
7578 }
7579 return resultobj;
7580fail:
7581 {
7582 if (temp3)
7583 delete arg3;
7584 }
7585 return NULL;
7586}
7587
7588
7589SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7590 PyObject *resultobj = 0;
7591 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7592 bool arg2 ;
7593 void *argp1 = 0 ;
7594 int res1 = 0 ;
7595 bool val2 ;
7596 int ecode2 = 0 ;
7597 PyObject * obj0 = 0 ;
7598 PyObject * obj1 = 0 ;
7599 char * kwnames[] = {
7600 (char *) "self",(char *) "autoHide", NULL
7601 };
7602
7603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) SWIG_fail;
7604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7605 if (!SWIG_IsOK(res1)) {
7606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7607 }
7608 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7609 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7610 if (!SWIG_IsOK(ecode2)) {
7611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "2"" of type '" "bool""'");
7612 }
7613 arg2 = static_cast< bool >(val2);
7614 {
7615 PyThreadState* __tstate = wxPyBeginAllowThreads();
7616 (arg1)->AutoCompSetAutoHide(arg2);
7617 wxPyEndAllowThreads(__tstate);
7618 if (PyErr_Occurred()) SWIG_fail;
7619 }
7620 resultobj = SWIG_Py_Void();
7621 return resultobj;
7622fail:
7623 return NULL;
d14a1e28
RD
7624}
7625
7626
1bd55598
RD
7627SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7628 PyObject *resultobj = 0;
7629 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7630 bool result;
7631 void *argp1 = 0 ;
7632 int res1 = 0 ;
7633 PyObject *swig_obj[1] ;
7634
7635 if (!args) SWIG_fail;
7636 swig_obj[0] = args;
7637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7638 if (!SWIG_IsOK(res1)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7640 }
7641 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 result = (bool)(arg1)->AutoCompGetAutoHide();
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 {
7649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7650 }
7651 return resultobj;
7652fail:
7653 return NULL;
7654}
7655
7656
7657SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj = 0;
7659 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7660 bool arg2 ;
7661 void *argp1 = 0 ;
7662 int res1 = 0 ;
7663 bool val2 ;
7664 int ecode2 = 0 ;
7665 PyObject * obj0 = 0 ;
7666 PyObject * obj1 = 0 ;
7667 char * kwnames[] = {
7668 (char *) "self",(char *) "dropRestOfWord", NULL
7669 };
7670
7671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) SWIG_fail;
7672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7673 if (!SWIG_IsOK(res1)) {
7674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7675 }
7676 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7677 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7678 if (!SWIG_IsOK(ecode2)) {
7679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "2"" of type '" "bool""'");
7680 }
7681 arg2 = static_cast< bool >(val2);
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 (arg1)->AutoCompSetDropRestOfWord(arg2);
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 resultobj = SWIG_Py_Void();
7689 return resultobj;
7690fail:
7691 return NULL;
d14a1e28
RD
7692}
7693
7694
1bd55598
RD
7695SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7696 PyObject *resultobj = 0;
7697 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7698 bool result;
7699 void *argp1 = 0 ;
7700 int res1 = 0 ;
7701 PyObject *swig_obj[1] ;
7702
7703 if (!args) SWIG_fail;
7704 swig_obj[0] = args;
7705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7706 if (!SWIG_IsOK(res1)) {
7707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7708 }
7709 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 {
7717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7718 }
7719 return resultobj;
7720fail:
7721 return NULL;
7722}
7723
7724
7725SWIGINTERN PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7726 PyObject *resultobj = 0;
7727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7728 int arg2 ;
7729 wxBitmap *arg3 = 0 ;
7730 void *argp1 = 0 ;
7731 int res1 = 0 ;
7732 int val2 ;
7733 int ecode2 = 0 ;
7734 void *argp3 = 0 ;
7735 int res3 = 0 ;
7736 PyObject * obj0 = 0 ;
7737 PyObject * obj1 = 0 ;
7738 PyObject * obj2 = 0 ;
7739 char * kwnames[] = {
7740 (char *) "self",(char *) "type",(char *) "bmp", NULL
7741 };
7742
7743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7745 if (!SWIG_IsOK(res1)) {
7746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7747 }
7748 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7749 ecode2 = SWIG_AsVal_int(obj1, &val2);
7750 if (!SWIG_IsOK(ecode2)) {
7751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "2"" of type '" "int""'");
7752 }
7753 arg2 = static_cast< int >(val2);
7754 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
7755 if (!SWIG_IsOK(res3)) {
7756 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7757 }
7758 if (!argp3) {
7759 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7760 }
7761 arg3 = reinterpret_cast< wxBitmap * >(argp3);
7762 {
7763 PyThreadState* __tstate = wxPyBeginAllowThreads();
7764 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
7765 wxPyEndAllowThreads(__tstate);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 }
7768 resultobj = SWIG_Py_Void();
7769 return resultobj;
7770fail:
7771 return NULL;
d14a1e28
RD
7772}
7773
7774
1bd55598
RD
7775SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7776 PyObject *resultobj = 0;
7777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7778 void *argp1 = 0 ;
7779 int res1 = 0 ;
7780 PyObject *swig_obj[1] ;
7781
7782 if (!args) SWIG_fail;
7783 swig_obj[0] = args;
7784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7785 if (!SWIG_IsOK(res1)) {
7786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearRegisteredImages" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7787 }
7788 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 (arg1)->ClearRegisteredImages();
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 resultobj = SWIG_Py_Void();
7796 return resultobj;
7797fail:
7798 return NULL;
d14a1e28
RD
7799}
7800
7801
1bd55598
RD
7802SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7803 PyObject *resultobj = 0;
7804 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7805 int result;
7806 void *argp1 = 0 ;
7807 int res1 = 0 ;
7808 PyObject *swig_obj[1] ;
7809
7810 if (!args) SWIG_fail;
7811 swig_obj[0] = args;
7812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7813 if (!SWIG_IsOK(res1)) {
7814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7815 }
7816 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = (int)(arg1)->AutoCompGetTypeSeparator();
7820 wxPyEndAllowThreads(__tstate);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 }
7823 resultobj = SWIG_From_int(static_cast< int >(result));
7824 return resultobj;
7825fail:
7826 return NULL;
7827}
7828
7829
7830SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7831 PyObject *resultobj = 0;
7832 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7833 int arg2 ;
7834 void *argp1 = 0 ;
7835 int res1 = 0 ;
7836 int val2 ;
7837 int ecode2 = 0 ;
7838 PyObject * obj0 = 0 ;
7839 PyObject * obj1 = 0 ;
7840 char * kwnames[] = {
7841 (char *) "self",(char *) "separatorCharacter", NULL
7842 };
7843
7844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
7845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7846 if (!SWIG_IsOK(res1)) {
7847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7848 }
7849 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7850 ecode2 = SWIG_AsVal_int(obj1, &val2);
7851 if (!SWIG_IsOK(ecode2)) {
7852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "2"" of type '" "int""'");
7853 }
7854 arg2 = static_cast< int >(val2);
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 (arg1)->AutoCompSetTypeSeparator(arg2);
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 resultobj = SWIG_Py_Void();
7862 return resultobj;
7863fail:
7864 return NULL;
7865}
7866
7867
7868SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7869 PyObject *resultobj = 0;
7870 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7871 int arg2 ;
7872 void *argp1 = 0 ;
7873 int res1 = 0 ;
7874 int val2 ;
7875 int ecode2 = 0 ;
7876 PyObject * obj0 = 0 ;
7877 PyObject * obj1 = 0 ;
7878 char * kwnames[] = {
7879 (char *) "self",(char *) "characterCount", NULL
7880 };
7881
7882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7884 if (!SWIG_IsOK(res1)) {
7885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7886 }
7887 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7888 ecode2 = SWIG_AsVal_int(obj1, &val2);
7889 if (!SWIG_IsOK(ecode2)) {
7890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "2"" of type '" "int""'");
7891 }
7892 arg2 = static_cast< int >(val2);
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 (arg1)->AutoCompSetMaxWidth(arg2);
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 resultobj = SWIG_Py_Void();
7900 return resultobj;
7901fail:
7902 return NULL;
d14a1e28
RD
7903}
7904
7905
1bd55598
RD
7906SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7907 PyObject *resultobj = 0;
7908 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7909 int result;
7910 void *argp1 = 0 ;
7911 int res1 = 0 ;
7912 PyObject *swig_obj[1] ;
7913
7914 if (!args) SWIG_fail;
7915 swig_obj[0] = args;
7916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7917 if (!SWIG_IsOK(res1)) {
7918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7919 }
7920 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 result = (int)(arg1)->AutoCompGetMaxWidth();
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 resultobj = SWIG_From_int(static_cast< int >(result));
7928 return resultobj;
7929fail:
7930 return NULL;
7931}
7932
7933
7934SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj = 0;
7936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7937 int arg2 ;
7938 void *argp1 = 0 ;
7939 int res1 = 0 ;
7940 int val2 ;
7941 int ecode2 = 0 ;
7942 PyObject * obj0 = 0 ;
7943 PyObject * obj1 = 0 ;
7944 char * kwnames[] = {
7945 (char *) "self",(char *) "rowCount", NULL
7946 };
7947
7948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxHeight",kwnames,&obj0,&obj1)) SWIG_fail;
7949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7950 if (!SWIG_IsOK(res1)) {
7951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7952 }
7953 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7954 ecode2 = SWIG_AsVal_int(obj1, &val2);
7955 if (!SWIG_IsOK(ecode2)) {
7956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "2"" of type '" "int""'");
7957 }
7958 arg2 = static_cast< int >(val2);
7959 {
7960 PyThreadState* __tstate = wxPyBeginAllowThreads();
7961 (arg1)->AutoCompSetMaxHeight(arg2);
7962 wxPyEndAllowThreads(__tstate);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
7965 resultobj = SWIG_Py_Void();
7966 return resultobj;
7967fail:
7968 return NULL;
d14a1e28
RD
7969}
7970
7971
1bd55598
RD
7972SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7973 PyObject *resultobj = 0;
7974 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7975 int result;
7976 void *argp1 = 0 ;
7977 int res1 = 0 ;
7978 PyObject *swig_obj[1] ;
7979
7980 if (!args) SWIG_fail;
7981 swig_obj[0] = args;
7982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7983 if (!SWIG_IsOK(res1)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7985 }
7986 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 result = (int)(arg1)->AutoCompGetMaxHeight();
7990 wxPyEndAllowThreads(__tstate);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
7993 resultobj = SWIG_From_int(static_cast< int >(result));
7994 return resultobj;
7995fail:
7996 return NULL;
7997}
7998
7999
8000SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8001 PyObject *resultobj = 0;
8002 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8003 int arg2 ;
8004 void *argp1 = 0 ;
8005 int res1 = 0 ;
8006 int val2 ;
8007 int ecode2 = 0 ;
8008 PyObject * obj0 = 0 ;
8009 PyObject * obj1 = 0 ;
8010 char * kwnames[] = {
8011 (char *) "self",(char *) "indentSize", NULL
8012 };
8013
8014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8016 if (!SWIG_IsOK(res1)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8018 }
8019 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8020 ecode2 = SWIG_AsVal_int(obj1, &val2);
8021 if (!SWIG_IsOK(ecode2)) {
8022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "2"" of type '" "int""'");
8023 }
8024 arg2 = static_cast< int >(val2);
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 (arg1)->SetIndent(arg2);
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 resultobj = SWIG_Py_Void();
8032 return resultobj;
8033fail:
8034 return NULL;
36ed4f51
RD
8035}
8036
8037
1bd55598
RD
8038SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8039 PyObject *resultobj = 0;
8040 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8041 int result;
8042 void *argp1 = 0 ;
8043 int res1 = 0 ;
8044 PyObject *swig_obj[1] ;
8045
8046 if (!args) SWIG_fail;
8047 swig_obj[0] = args;
8048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8049 if (!SWIG_IsOK(res1)) {
8050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8051 }
8052 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8053 {
8054 PyThreadState* __tstate = wxPyBeginAllowThreads();
8055 result = (int)(arg1)->GetIndent();
8056 wxPyEndAllowThreads(__tstate);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 }
8059 resultobj = SWIG_From_int(static_cast< int >(result));
8060 return resultobj;
8061fail:
8062 return NULL;
8063}
8064
8065
8066SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8067 PyObject *resultobj = 0;
8068 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8069 bool arg2 ;
8070 void *argp1 = 0 ;
8071 int res1 = 0 ;
8072 bool val2 ;
8073 int ecode2 = 0 ;
8074 PyObject * obj0 = 0 ;
8075 PyObject * obj1 = 0 ;
8076 char * kwnames[] = {
8077 (char *) "self",(char *) "useTabs", NULL
8078 };
8079
8080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) SWIG_fail;
8081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8082 if (!SWIG_IsOK(res1)) {
8083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8084 }
8085 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8086 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8087 if (!SWIG_IsOK(ecode2)) {
8088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "2"" of type '" "bool""'");
8089 }
8090 arg2 = static_cast< bool >(val2);
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 (arg1)->SetUseTabs(arg2);
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 resultobj = SWIG_Py_Void();
8098 return resultobj;
8099fail:
8100 return NULL;
d14a1e28
RD
8101}
8102
8103
1bd55598
RD
8104SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8105 PyObject *resultobj = 0;
8106 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8107 bool result;
8108 void *argp1 = 0 ;
8109 int res1 = 0 ;
8110 PyObject *swig_obj[1] ;
8111
8112 if (!args) SWIG_fail;
8113 swig_obj[0] = args;
8114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8115 if (!SWIG_IsOK(res1)) {
8116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8117 }
8118 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 result = (bool)(arg1)->GetUseTabs();
8122 wxPyEndAllowThreads(__tstate);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 {
8126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8127 }
8128 return resultobj;
8129fail:
8130 return NULL;
8131}
8132
8133
8134SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8135 PyObject *resultobj = 0;
8136 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8137 int arg2 ;
8138 int arg3 ;
8139 void *argp1 = 0 ;
8140 int res1 = 0 ;
8141 int val2 ;
8142 int ecode2 = 0 ;
8143 int val3 ;
8144 int ecode3 = 0 ;
8145 PyObject * obj0 = 0 ;
8146 PyObject * obj1 = 0 ;
8147 PyObject * obj2 = 0 ;
8148 char * kwnames[] = {
8149 (char *) "self",(char *) "line",(char *) "indentSize", NULL
8150 };
8151
8152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8154 if (!SWIG_IsOK(res1)) {
8155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8156 }
8157 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8158 ecode2 = SWIG_AsVal_int(obj1, &val2);
8159 if (!SWIG_IsOK(ecode2)) {
8160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8161 }
8162 arg2 = static_cast< int >(val2);
8163 ecode3 = SWIG_AsVal_int(obj2, &val3);
8164 if (!SWIG_IsOK(ecode3)) {
8165 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "3"" of type '" "int""'");
8166 }
8167 arg3 = static_cast< int >(val3);
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 (arg1)->SetLineIndentation(arg2,arg3);
8171 wxPyEndAllowThreads(__tstate);
8172 if (PyErr_Occurred()) SWIG_fail;
8173 }
8174 resultobj = SWIG_Py_Void();
8175 return resultobj;
8176fail:
8177 return NULL;
8178}
8179
8180
8181SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8182 PyObject *resultobj = 0;
8183 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8184 int arg2 ;
8185 int result;
8186 void *argp1 = 0 ;
8187 int res1 = 0 ;
8188 int val2 ;
8189 int ecode2 = 0 ;
8190 PyObject * obj0 = 0 ;
8191 PyObject * obj1 = 0 ;
8192 char * kwnames[] = {
8193 (char *) "self",(char *) "line", NULL
8194 };
8195
8196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) SWIG_fail;
8197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8198 if (!SWIG_IsOK(res1)) {
8199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8200 }
8201 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8202 ecode2 = SWIG_AsVal_int(obj1, &val2);
8203 if (!SWIG_IsOK(ecode2)) {
8204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8205 }
8206 arg2 = static_cast< int >(val2);
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 result = (int)(arg1)->GetLineIndentation(arg2);
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
8213 resultobj = SWIG_From_int(static_cast< int >(result));
8214 return resultobj;
8215fail:
8216 return NULL;
8217}
8218
8219
8220SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8221 PyObject *resultobj = 0;
8222 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8223 int arg2 ;
8224 int result;
8225 void *argp1 = 0 ;
8226 int res1 = 0 ;
8227 int val2 ;
8228 int ecode2 = 0 ;
8229 PyObject * obj0 = 0 ;
8230 PyObject * obj1 = 0 ;
8231 char * kwnames[] = {
8232 (char *) "self",(char *) "line", NULL
8233 };
8234
8235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) SWIG_fail;
8236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8237 if (!SWIG_IsOK(res1)) {
8238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8239 }
8240 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8241 ecode2 = SWIG_AsVal_int(obj1, &val2);
8242 if (!SWIG_IsOK(ecode2)) {
8243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "2"" of type '" "int""'");
8244 }
8245 arg2 = static_cast< int >(val2);
8246 {
8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
8248 result = (int)(arg1)->GetLineIndentPosition(arg2);
8249 wxPyEndAllowThreads(__tstate);
8250 if (PyErr_Occurred()) SWIG_fail;
8251 }
8252 resultobj = SWIG_From_int(static_cast< int >(result));
8253 return resultobj;
8254fail:
8255 return NULL;
8256}
8257
8258
8259SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8260 PyObject *resultobj = 0;
8261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8262 int arg2 ;
8263 int result;
8264 void *argp1 = 0 ;
8265 int res1 = 0 ;
8266 int val2 ;
8267 int ecode2 = 0 ;
8268 PyObject * obj0 = 0 ;
8269 PyObject * obj1 = 0 ;
8270 char * kwnames[] = {
8271 (char *) "self",(char *) "pos", NULL
8272 };
8273
8274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
8275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8276 if (!SWIG_IsOK(res1)) {
8277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8278 }
8279 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8280 ecode2 = SWIG_AsVal_int(obj1, &val2);
8281 if (!SWIG_IsOK(ecode2)) {
8282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
8283 }
8284 arg2 = static_cast< int >(val2);
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 result = (int)(arg1)->GetColumn(arg2);
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 resultobj = SWIG_From_int(static_cast< int >(result));
8292 return resultobj;
8293fail:
8294 return NULL;
8295}
8296
8297
8298SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8299 PyObject *resultobj = 0;
8300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8301 bool arg2 ;
8302 void *argp1 = 0 ;
8303 int res1 = 0 ;
8304 bool val2 ;
8305 int ecode2 = 0 ;
8306 PyObject * obj0 = 0 ;
8307 PyObject * obj1 = 0 ;
8308 char * kwnames[] = {
8309 (char *) "self",(char *) "show", NULL
8310 };
8311
8312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
8313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8314 if (!SWIG_IsOK(res1)) {
8315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8316 }
8317 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8318 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8319 if (!SWIG_IsOK(ecode2)) {
8320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "2"" of type '" "bool""'");
8321 }
8322 arg2 = static_cast< bool >(val2);
8323 {
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 (arg1)->SetUseHorizontalScrollBar(arg2);
8326 wxPyEndAllowThreads(__tstate);
8327 if (PyErr_Occurred()) SWIG_fail;
8328 }
8329 resultobj = SWIG_Py_Void();
8330 return resultobj;
8331fail:
8332 return NULL;
d14a1e28
RD
8333}
8334
8335
1bd55598
RD
8336SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8337 PyObject *resultobj = 0;
8338 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8339 bool result;
8340 void *argp1 = 0 ;
8341 int res1 = 0 ;
8342 PyObject *swig_obj[1] ;
8343
8344 if (!args) SWIG_fail;
8345 swig_obj[0] = args;
8346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8347 if (!SWIG_IsOK(res1)) {
8348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8349 }
8350 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 result = (bool)(arg1)->GetUseHorizontalScrollBar();
8354 wxPyEndAllowThreads(__tstate);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 }
8357 {
8358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8359 }
8360 return resultobj;
8361fail:
8362 return NULL;
8363}
8364
8365
8366SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8367 PyObject *resultobj = 0;
8368 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8369 bool arg2 ;
8370 void *argp1 = 0 ;
8371 int res1 = 0 ;
8372 bool val2 ;
8373 int ecode2 = 0 ;
8374 PyObject * obj0 = 0 ;
8375 PyObject * obj1 = 0 ;
8376 char * kwnames[] = {
8377 (char *) "self",(char *) "show", NULL
8378 };
8379
8380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) SWIG_fail;
8381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8382 if (!SWIG_IsOK(res1)) {
8383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8384 }
8385 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8386 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8387 if (!SWIG_IsOK(ecode2)) {
8388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "2"" of type '" "bool""'");
8389 }
8390 arg2 = static_cast< bool >(val2);
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 (arg1)->SetIndentationGuides(arg2);
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 resultobj = SWIG_Py_Void();
8398 return resultobj;
8399fail:
8400 return NULL;
d14a1e28
RD
8401}
8402
8403
1bd55598
RD
8404SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8405 PyObject *resultobj = 0;
8406 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8407 bool result;
8408 void *argp1 = 0 ;
8409 int res1 = 0 ;
8410 PyObject *swig_obj[1] ;
8411
8412 if (!args) SWIG_fail;
8413 swig_obj[0] = args;
8414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8415 if (!SWIG_IsOK(res1)) {
8416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8417 }
8418 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8419 {
8420 PyThreadState* __tstate = wxPyBeginAllowThreads();
8421 result = (bool)(arg1)->GetIndentationGuides();
8422 wxPyEndAllowThreads(__tstate);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 }
8425 {
8426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8427 }
8428 return resultobj;
8429fail:
8430 return NULL;
8431}
8432
8433
8434SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj = 0;
8436 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8437 int arg2 ;
8438 void *argp1 = 0 ;
8439 int res1 = 0 ;
8440 int val2 ;
8441 int ecode2 = 0 ;
8442 PyObject * obj0 = 0 ;
8443 PyObject * obj1 = 0 ;
8444 char * kwnames[] = {
8445 (char *) "self",(char *) "column", NULL
8446 };
8447
8448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) SWIG_fail;
8449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8450 if (!SWIG_IsOK(res1)) {
8451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8452 }
8453 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8454 ecode2 = SWIG_AsVal_int(obj1, &val2);
8455 if (!SWIG_IsOK(ecode2)) {
8456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "2"" of type '" "int""'");
8457 }
8458 arg2 = static_cast< int >(val2);
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 (arg1)->SetHighlightGuide(arg2);
8462 wxPyEndAllowThreads(__tstate);
8463 if (PyErr_Occurred()) SWIG_fail;
8464 }
8465 resultobj = SWIG_Py_Void();
8466 return resultobj;
8467fail:
8468 return NULL;
d14a1e28
RD
8469}
8470
8471
1bd55598
RD
8472SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8473 PyObject *resultobj = 0;
8474 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8475 int result;
8476 void *argp1 = 0 ;
8477 int res1 = 0 ;
8478 PyObject *swig_obj[1] ;
8479
8480 if (!args) SWIG_fail;
8481 swig_obj[0] = args;
8482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8483 if (!SWIG_IsOK(res1)) {
8484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8485 }
8486 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 result = (int)(arg1)->GetHighlightGuide();
8490 wxPyEndAllowThreads(__tstate);
8491 if (PyErr_Occurred()) SWIG_fail;
8492 }
8493 resultobj = SWIG_From_int(static_cast< int >(result));
8494 return resultobj;
8495fail:
8496 return NULL;
8497}
8498
8499
8500SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8501 PyObject *resultobj = 0;
8502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8503 int arg2 ;
8504 int result;
8505 void *argp1 = 0 ;
8506 int res1 = 0 ;
8507 int val2 ;
8508 int ecode2 = 0 ;
8509 PyObject * obj0 = 0 ;
8510 PyObject * obj1 = 0 ;
8511 char * kwnames[] = {
8512 (char *) "self",(char *) "line", NULL
8513 };
8514
8515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
8516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8517 if (!SWIG_IsOK(res1)) {
8518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8519 }
8520 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8521 ecode2 = SWIG_AsVal_int(obj1, &val2);
8522 if (!SWIG_IsOK(ecode2)) {
8523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "2"" of type '" "int""'");
8524 }
8525 arg2 = static_cast< int >(val2);
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 result = (int)(arg1)->GetLineEndPosition(arg2);
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 resultobj = SWIG_From_int(static_cast< int >(result));
8533 return resultobj;
8534fail:
8535 return NULL;
d14a1e28
RD
8536}
8537
8538
1bd55598
RD
8539SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8540 PyObject *resultobj = 0;
8541 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8542 int result;
8543 void *argp1 = 0 ;
8544 int res1 = 0 ;
8545 PyObject *swig_obj[1] ;
8546
8547 if (!args) SWIG_fail;
8548 swig_obj[0] = args;
8549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8550 if (!SWIG_IsOK(res1)) {
8551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8552 }
8553 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8554 {
8555 PyThreadState* __tstate = wxPyBeginAllowThreads();
8556 result = (int)(arg1)->GetCodePage();
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 resultobj = SWIG_From_int(static_cast< int >(result));
8561 return resultobj;
8562fail:
8563 return NULL;
d14a1e28
RD
8564}
8565
8566
1bd55598
RD
8567SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8568 PyObject *resultobj = 0;
8569 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8570 wxColour result;
8571 void *argp1 = 0 ;
8572 int res1 = 0 ;
8573 PyObject *swig_obj[1] ;
8574
8575 if (!args) SWIG_fail;
8576 swig_obj[0] = args;
8577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8578 if (!SWIG_IsOK(res1)) {
8579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8580 }
8581 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8582 {
8583 PyThreadState* __tstate = wxPyBeginAllowThreads();
8584 result = (arg1)->GetCaretForeground();
8585 wxPyEndAllowThreads(__tstate);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 }
8588 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8589 return resultobj;
8590fail:
8591 return NULL;
d14a1e28
RD
8592}
8593
8594
1bd55598
RD
8595SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8596 PyObject *resultobj = 0;
8597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8598 bool result;
8599 void *argp1 = 0 ;
8600 int res1 = 0 ;
8601 PyObject *swig_obj[1] ;
8602
8603 if (!args) SWIG_fail;
8604 swig_obj[0] = args;
8605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8606 if (!SWIG_IsOK(res1)) {
8607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8608 }
8609 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 result = (bool)(arg1)->GetReadOnly();
8613 wxPyEndAllowThreads(__tstate);
8614 if (PyErr_Occurred()) SWIG_fail;
8615 }
8616 {
8617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8618 }
8619 return resultobj;
8620fail:
8621 return NULL;
8622}
8623
8624
8625SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8626 PyObject *resultobj = 0;
8627 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8628 int arg2 ;
8629 void *argp1 = 0 ;
8630 int res1 = 0 ;
8631 int val2 ;
8632 int ecode2 = 0 ;
8633 PyObject * obj0 = 0 ;
8634 PyObject * obj1 = 0 ;
8635 char * kwnames[] = {
8636 (char *) "self",(char *) "pos", NULL
8637 };
8638
8639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) SWIG_fail;
8640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8641 if (!SWIG_IsOK(res1)) {
8642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8643 }
8644 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8645 ecode2 = SWIG_AsVal_int(obj1, &val2);
8646 if (!SWIG_IsOK(ecode2)) {
8647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "2"" of type '" "int""'");
8648 }
8649 arg2 = static_cast< int >(val2);
8650 {
8651 PyThreadState* __tstate = wxPyBeginAllowThreads();
8652 (arg1)->SetCurrentPos(arg2);
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 resultobj = SWIG_Py_Void();
8657 return resultobj;
8658fail:
8659 return NULL;
8660}
8661
8662
8663SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8664 PyObject *resultobj = 0;
8665 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8666 int arg2 ;
8667 void *argp1 = 0 ;
8668 int res1 = 0 ;
8669 int val2 ;
8670 int ecode2 = 0 ;
8671 PyObject * obj0 = 0 ;
8672 PyObject * obj1 = 0 ;
8673 char * kwnames[] = {
8674 (char *) "self",(char *) "pos", NULL
8675 };
8676
8677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) SWIG_fail;
8678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8679 if (!SWIG_IsOK(res1)) {
8680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8681 }
8682 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8683 ecode2 = SWIG_AsVal_int(obj1, &val2);
8684 if (!SWIG_IsOK(ecode2)) {
8685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "2"" of type '" "int""'");
8686 }
8687 arg2 = static_cast< int >(val2);
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 (arg1)->SetSelectionStart(arg2);
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 resultobj = SWIG_Py_Void();
8695 return resultobj;
8696fail:
8697 return NULL;
d14a1e28
RD
8698}
8699
8700
1bd55598
RD
8701SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8702 PyObject *resultobj = 0;
8703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8704 int result;
8705 void *argp1 = 0 ;
8706 int res1 = 0 ;
8707 PyObject *swig_obj[1] ;
8708
8709 if (!args) SWIG_fail;
8710 swig_obj[0] = args;
8711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8712 if (!SWIG_IsOK(res1)) {
8713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8714 }
8715 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 result = (int)(arg1)->GetSelectionStart();
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 resultobj = SWIG_From_int(static_cast< int >(result));
8723 return resultobj;
8724fail:
8725 return NULL;
8726}
8727
8728
8729SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8730 PyObject *resultobj = 0;
8731 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8732 int arg2 ;
8733 void *argp1 = 0 ;
8734 int res1 = 0 ;
8735 int val2 ;
8736 int ecode2 = 0 ;
8737 PyObject * obj0 = 0 ;
8738 PyObject * obj1 = 0 ;
8739 char * kwnames[] = {
8740 (char *) "self",(char *) "pos", NULL
8741 };
8742
8743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) SWIG_fail;
8744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8745 if (!SWIG_IsOK(res1)) {
8746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8747 }
8748 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8749 ecode2 = SWIG_AsVal_int(obj1, &val2);
8750 if (!SWIG_IsOK(ecode2)) {
8751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "2"" of type '" "int""'");
8752 }
8753 arg2 = static_cast< int >(val2);
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 (arg1)->SetSelectionEnd(arg2);
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 resultobj = SWIG_Py_Void();
8761 return resultobj;
8762fail:
8763 return NULL;
d14a1e28
RD
8764}
8765
8766
1bd55598
RD
8767SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8768 PyObject *resultobj = 0;
8769 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8770 int result;
8771 void *argp1 = 0 ;
8772 int res1 = 0 ;
8773 PyObject *swig_obj[1] ;
8774
8775 if (!args) SWIG_fail;
8776 swig_obj[0] = args;
8777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8778 if (!SWIG_IsOK(res1)) {
8779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8780 }
8781 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 result = (int)(arg1)->GetSelectionEnd();
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 resultobj = SWIG_From_int(static_cast< int >(result));
8789 return resultobj;
8790fail:
8791 return NULL;
8792}
8793
8794
8795SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj = 0;
8797 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8798 int arg2 ;
8799 void *argp1 = 0 ;
8800 int res1 = 0 ;
8801 int val2 ;
8802 int ecode2 = 0 ;
8803 PyObject * obj0 = 0 ;
8804 PyObject * obj1 = 0 ;
8805 char * kwnames[] = {
8806 (char *) "self",(char *) "magnification", NULL
8807 };
8808
8809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) SWIG_fail;
8810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8811 if (!SWIG_IsOK(res1)) {
8812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8813 }
8814 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8815 ecode2 = SWIG_AsVal_int(obj1, &val2);
8816 if (!SWIG_IsOK(ecode2)) {
8817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "2"" of type '" "int""'");
8818 }
8819 arg2 = static_cast< int >(val2);
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 (arg1)->SetPrintMagnification(arg2);
8823 wxPyEndAllowThreads(__tstate);
8824 if (PyErr_Occurred()) SWIG_fail;
8825 }
8826 resultobj = SWIG_Py_Void();
8827 return resultobj;
8828fail:
8829 return NULL;
d14a1e28
RD
8830}
8831
8832
1bd55598
RD
8833SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8834 PyObject *resultobj = 0;
8835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8836 int result;
8837 void *argp1 = 0 ;
8838 int res1 = 0 ;
8839 PyObject *swig_obj[1] ;
8840
8841 if (!args) SWIG_fail;
8842 swig_obj[0] = args;
8843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8844 if (!SWIG_IsOK(res1)) {
8845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8846 }
8847 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 result = (int)(arg1)->GetPrintMagnification();
8851 wxPyEndAllowThreads(__tstate);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 }
8854 resultobj = SWIG_From_int(static_cast< int >(result));
8855 return resultobj;
8856fail:
8857 return NULL;
8858}
8859
8860
8861SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8862 PyObject *resultobj = 0;
8863 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8864 int arg2 ;
8865 void *argp1 = 0 ;
8866 int res1 = 0 ;
8867 int val2 ;
8868 int ecode2 = 0 ;
8869 PyObject * obj0 = 0 ;
8870 PyObject * obj1 = 0 ;
8871 char * kwnames[] = {
8872 (char *) "self",(char *) "mode", NULL
8873 };
8874
8875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) SWIG_fail;
8876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8877 if (!SWIG_IsOK(res1)) {
8878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8879 }
8880 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8881 ecode2 = SWIG_AsVal_int(obj1, &val2);
8882 if (!SWIG_IsOK(ecode2)) {
8883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "2"" of type '" "int""'");
8884 }
8885 arg2 = static_cast< int >(val2);
8886 {
8887 PyThreadState* __tstate = wxPyBeginAllowThreads();
8888 (arg1)->SetPrintColourMode(arg2);
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 resultobj = SWIG_Py_Void();
8893 return resultobj;
8894fail:
8895 return NULL;
d14a1e28
RD
8896}
8897
8898
1bd55598
RD
8899SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8900 PyObject *resultobj = 0;
8901 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8902 int result;
8903 void *argp1 = 0 ;
8904 int res1 = 0 ;
8905 PyObject *swig_obj[1] ;
8906
8907 if (!args) SWIG_fail;
8908 swig_obj[0] = args;
8909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8910 if (!SWIG_IsOK(res1)) {
8911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8912 }
8913 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8914 {
8915 PyThreadState* __tstate = wxPyBeginAllowThreads();
8916 result = (int)(arg1)->GetPrintColourMode();
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 resultobj = SWIG_From_int(static_cast< int >(result));
8921 return resultobj;
8922fail:
8923 return NULL;
8924}
8925
8926
8927SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj = 0;
8929 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8930 int arg2 ;
8931 int arg3 ;
8932 wxString *arg4 = 0 ;
8933 int arg5 = (int) 0 ;
8934 int result;
8935 void *argp1 = 0 ;
8936 int res1 = 0 ;
8937 int val2 ;
8938 int ecode2 = 0 ;
8939 int val3 ;
8940 int ecode3 = 0 ;
8941 bool temp4 = false ;
8942 int val5 ;
8943 int ecode5 = 0 ;
8944 PyObject * obj0 = 0 ;
8945 PyObject * obj1 = 0 ;
8946 PyObject * obj2 = 0 ;
8947 PyObject * obj3 = 0 ;
8948 PyObject * obj4 = 0 ;
8949 char * kwnames[] = {
8950 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
8951 };
8952
8953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8955 if (!SWIG_IsOK(res1)) {
8956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8957 }
8958 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8959 ecode2 = SWIG_AsVal_int(obj1, &val2);
8960 if (!SWIG_IsOK(ecode2)) {
8961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindText" "', expected argument " "2"" of type '" "int""'");
8962 }
8963 arg2 = static_cast< int >(val2);
8964 ecode3 = SWIG_AsVal_int(obj2, &val3);
8965 if (!SWIG_IsOK(ecode3)) {
8966 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindText" "', expected argument " "3"" of type '" "int""'");
8967 }
8968 arg3 = static_cast< int >(val3);
8969 {
8970 arg4 = wxString_in_helper(obj3);
8971 if (arg4 == NULL) SWIG_fail;
8972 temp4 = true;
8973 }
8974 if (obj4) {
8975 ecode5 = SWIG_AsVal_int(obj4, &val5);
8976 if (!SWIG_IsOK(ecode5)) {
8977 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_FindText" "', expected argument " "5"" of type '" "int""'");
8978 }
8979 arg5 = static_cast< int >(val5);
8980 }
8981 {
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 resultobj = SWIG_From_int(static_cast< int >(result));
8988 {
8989 if (temp4)
8990 delete arg4;
8991 }
8992 return resultobj;
8993fail:
8994 {
8995 if (temp4)
8996 delete arg4;
8997 }
8998 return NULL;
8999}
9000
9001
9002SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj = 0;
9004 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9005 bool arg2 ;
9006 int arg3 ;
9007 int arg4 ;
9008 wxDC *arg5 = (wxDC *) 0 ;
9009 wxDC *arg6 = (wxDC *) 0 ;
9010 wxRect arg7 ;
9011 wxRect arg8 ;
9012 int result;
9013 void *argp1 = 0 ;
9014 int res1 = 0 ;
9015 bool val2 ;
9016 int ecode2 = 0 ;
9017 int val3 ;
9018 int ecode3 = 0 ;
9019 int val4 ;
9020 int ecode4 = 0 ;
9021 void *argp5 = 0 ;
9022 int res5 = 0 ;
9023 void *argp6 = 0 ;
9024 int res6 = 0 ;
9025 void *argp7 ;
9026 int res7 = 0 ;
9027 void *argp8 ;
9028 int res8 = 0 ;
9029 PyObject * obj0 = 0 ;
9030 PyObject * obj1 = 0 ;
9031 PyObject * obj2 = 0 ;
9032 PyObject * obj3 = 0 ;
9033 PyObject * obj4 = 0 ;
9034 PyObject * obj5 = 0 ;
9035 PyObject * obj6 = 0 ;
9036 PyObject * obj7 = 0 ;
9037 char * kwnames[] = {
9038 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
9039 };
9040
9041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
9042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9043 if (!SWIG_IsOK(res1)) {
9044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9045 }
9046 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9047 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9048 if (!SWIG_IsOK(ecode2)) {
9049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "2"" of type '" "bool""'");
9050 }
9051 arg2 = static_cast< bool >(val2);
9052 ecode3 = SWIG_AsVal_int(obj2, &val3);
9053 if (!SWIG_IsOK(ecode3)) {
9054 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "3"" of type '" "int""'");
9055 }
9056 arg3 = static_cast< int >(val3);
9057 ecode4 = SWIG_AsVal_int(obj3, &val4);
9058 if (!SWIG_IsOK(ecode4)) {
9059 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "4"" of type '" "int""'");
9060 }
9061 arg4 = static_cast< int >(val4);
9062 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxDC, 0 | 0 );
9063 if (!SWIG_IsOK(res5)) {
9064 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "5"" of type '" "wxDC *""'");
9065 }
9066 arg5 = reinterpret_cast< wxDC * >(argp5);
9067 res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxDC, 0 | 0 );
9068 if (!SWIG_IsOK(res6)) {
9069 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "6"" of type '" "wxDC *""'");
9070 }
9071 arg6 = reinterpret_cast< wxDC * >(argp6);
9072 {
9073 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxRect, 0 | 0);
9074 if (!SWIG_IsOK(res7)) {
9075 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9076 }
9077 if (!argp7) {
9078 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9079 } else {
9080 wxRect * temp = reinterpret_cast< wxRect * >(argp7);
9081 arg7 = *temp;
9082 if (SWIG_IsNewObj(res7)) delete temp;
36ed4f51 9083 }
1bd55598
RD
9084 }
9085 {
9086 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxRect, 0 | 0);
9087 if (!SWIG_IsOK(res8)) {
9088 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9089 }
9090 if (!argp8) {
9091 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9092 } else {
9093 wxRect * temp = reinterpret_cast< wxRect * >(argp8);
9094 arg8 = *temp;
9095 if (SWIG_IsNewObj(res8)) delete temp;
d14a1e28 9096 }
1bd55598
RD
9097 }
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 resultobj = SWIG_From_int(static_cast< int >(result));
9105 return resultobj;
9106fail:
9107 return NULL;
d14a1e28
RD
9108}
9109
9110
1bd55598
RD
9111SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9112 PyObject *resultobj = 0;
9113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9114 int result;
9115 void *argp1 = 0 ;
9116 int res1 = 0 ;
9117 PyObject *swig_obj[1] ;
9118
9119 if (!args) SWIG_fail;
9120 swig_obj[0] = args;
9121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9122 if (!SWIG_IsOK(res1)) {
9123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9124 }
9125 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9126 {
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
9128 result = (int)(arg1)->GetFirstVisibleLine();
9129 wxPyEndAllowThreads(__tstate);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 }
9132 resultobj = SWIG_From_int(static_cast< int >(result));
9133 return resultobj;
9134fail:
9135 return NULL;
9136}
9137
9138
9139SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9140 PyObject *resultobj = 0;
9141 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9142 int arg2 ;
9143 wxString result;
9144 void *argp1 = 0 ;
9145 int res1 = 0 ;
9146 int val2 ;
9147 int ecode2 = 0 ;
9148 PyObject * obj0 = 0 ;
9149 PyObject * obj1 = 0 ;
9150 char * kwnames[] = {
9151 (char *) "self",(char *) "line", NULL
9152 };
9153
9154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) SWIG_fail;
9155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9156 if (!SWIG_IsOK(res1)) {
9157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9158 }
9159 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9160 ecode2 = SWIG_AsVal_int(obj1, &val2);
9161 if (!SWIG_IsOK(ecode2)) {
9162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "2"" of type '" "int""'");
9163 }
9164 arg2 = static_cast< int >(val2);
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 result = (arg1)->GetLine(arg2);
9168 wxPyEndAllowThreads(__tstate);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 }
9171 {
9172#if wxUSE_UNICODE
9173 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9174#else
9175 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9176#endif
9177 }
9178 return resultobj;
9179fail:
9180 return NULL;
d14a1e28
RD
9181}
9182
9183
1bd55598
RD
9184SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9185 PyObject *resultobj = 0;
9186 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9187 int result;
9188 void *argp1 = 0 ;
9189 int res1 = 0 ;
9190 PyObject *swig_obj[1] ;
9191
9192 if (!args) SWIG_fail;
9193 swig_obj[0] = args;
9194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9195 if (!SWIG_IsOK(res1)) {
9196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9197 }
9198 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 result = (int)(arg1)->GetLineCount();
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 resultobj = SWIG_From_int(static_cast< int >(result));
9206 return resultobj;
9207fail:
9208 return NULL;
9209}
9210
9211
9212SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj = 0;
9214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9215 int arg2 ;
9216 void *argp1 = 0 ;
9217 int res1 = 0 ;
9218 int val2 ;
9219 int ecode2 = 0 ;
9220 PyObject * obj0 = 0 ;
9221 PyObject * obj1 = 0 ;
9222 char * kwnames[] = {
9223 (char *) "self",(char *) "pixelWidth", NULL
9224 };
9225
9226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) SWIG_fail;
9227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9228 if (!SWIG_IsOK(res1)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9230 }
9231 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9232 ecode2 = SWIG_AsVal_int(obj1, &val2);
9233 if (!SWIG_IsOK(ecode2)) {
9234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "2"" of type '" "int""'");
9235 }
9236 arg2 = static_cast< int >(val2);
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 (arg1)->SetMarginLeft(arg2);
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 resultobj = SWIG_Py_Void();
9244 return resultobj;
9245fail:
9246 return NULL;
d14a1e28
RD
9247}
9248
9249
1bd55598
RD
9250SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9251 PyObject *resultobj = 0;
9252 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9253 int result;
9254 void *argp1 = 0 ;
9255 int res1 = 0 ;
9256 PyObject *swig_obj[1] ;
9257
9258 if (!args) SWIG_fail;
9259 swig_obj[0] = args;
9260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9261 if (!SWIG_IsOK(res1)) {
9262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9263 }
9264 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 result = (int)(arg1)->GetMarginLeft();
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 resultobj = SWIG_From_int(static_cast< int >(result));
9272 return resultobj;
9273fail:
9274 return NULL;
9275}
9276
9277
9278SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9279 PyObject *resultobj = 0;
9280 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9281 int arg2 ;
9282 void *argp1 = 0 ;
9283 int res1 = 0 ;
9284 int val2 ;
9285 int ecode2 = 0 ;
9286 PyObject * obj0 = 0 ;
9287 PyObject * obj1 = 0 ;
9288 char * kwnames[] = {
9289 (char *) "self",(char *) "pixelWidth", NULL
9290 };
9291
9292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) SWIG_fail;
9293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9294 if (!SWIG_IsOK(res1)) {
9295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9296 }
9297 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9298 ecode2 = SWIG_AsVal_int(obj1, &val2);
9299 if (!SWIG_IsOK(ecode2)) {
9300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "2"" of type '" "int""'");
9301 }
9302 arg2 = static_cast< int >(val2);
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 (arg1)->SetMarginRight(arg2);
9306 wxPyEndAllowThreads(__tstate);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 }
9309 resultobj = SWIG_Py_Void();
9310 return resultobj;
9311fail:
9312 return NULL;
d14a1e28
RD
9313}
9314
9315
1bd55598
RD
9316SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9317 PyObject *resultobj = 0;
9318 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9319 int result;
9320 void *argp1 = 0 ;
9321 int res1 = 0 ;
9322 PyObject *swig_obj[1] ;
9323
9324 if (!args) SWIG_fail;
9325 swig_obj[0] = args;
9326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9327 if (!SWIG_IsOK(res1)) {
9328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9329 }
9330 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9331 {
9332 PyThreadState* __tstate = wxPyBeginAllowThreads();
9333 result = (int)(arg1)->GetMarginRight();
9334 wxPyEndAllowThreads(__tstate);
9335 if (PyErr_Occurred()) SWIG_fail;
9336 }
9337 resultobj = SWIG_From_int(static_cast< int >(result));
9338 return resultobj;
9339fail:
9340 return NULL;
d14a1e28
RD
9341}
9342
9343
1bd55598
RD
9344SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9345 PyObject *resultobj = 0;
9346 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9347 bool result;
9348 void *argp1 = 0 ;
9349 int res1 = 0 ;
9350 PyObject *swig_obj[1] ;
9351
9352 if (!args) SWIG_fail;
9353 swig_obj[0] = args;
9354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9355 if (!SWIG_IsOK(res1)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModify" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9357 }
9358 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9359 {
9360 PyThreadState* __tstate = wxPyBeginAllowThreads();
9361 result = (bool)(arg1)->GetModify();
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 {
9366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9367 }
9368 return resultobj;
9369fail:
9370 return NULL;
9371}
9372
9373
9374SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9375 PyObject *resultobj = 0;
9376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9377 int arg2 ;
9378 int arg3 ;
9379 void *argp1 = 0 ;
9380 int res1 = 0 ;
9381 int val2 ;
9382 int ecode2 = 0 ;
9383 int val3 ;
9384 int ecode3 = 0 ;
9385 PyObject * obj0 = 0 ;
9386 PyObject * obj1 = 0 ;
9387 PyObject * obj2 = 0 ;
9388 char * kwnames[] = {
9389 (char *) "self",(char *) "start",(char *) "end", NULL
9390 };
9391
9392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9394 if (!SWIG_IsOK(res1)) {
9395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9396 }
9397 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9398 ecode2 = SWIG_AsVal_int(obj1, &val2);
9399 if (!SWIG_IsOK(ecode2)) {
9400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "2"" of type '" "int""'");
9401 }
9402 arg2 = static_cast< int >(val2);
9403 ecode3 = SWIG_AsVal_int(obj2, &val3);
9404 if (!SWIG_IsOK(ecode3)) {
9405 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "3"" of type '" "int""'");
9406 }
9407 arg3 = static_cast< int >(val3);
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 (arg1)->SetSelection(arg2,arg3);
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 resultobj = SWIG_Py_Void();
9415 return resultobj;
9416fail:
9417 return NULL;
d14a1e28
RD
9418}
9419
9420
1bd55598
RD
9421SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9422 PyObject *resultobj = 0;
9423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9424 wxString result;
9425 void *argp1 = 0 ;
9426 int res1 = 0 ;
9427 PyObject *swig_obj[1] ;
9428
9429 if (!args) SWIG_fail;
9430 swig_obj[0] = args;
9431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9432 if (!SWIG_IsOK(res1)) {
9433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9434 }
9435 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 result = (arg1)->GetSelectedText();
9439 wxPyEndAllowThreads(__tstate);
9440 if (PyErr_Occurred()) SWIG_fail;
9441 }
9442 {
9443#if wxUSE_UNICODE
9444 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9445#else
9446 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9447#endif
9448 }
9449 return resultobj;
9450fail:
9451 return NULL;
9452}
9453
9454
9455SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj = 0;
9457 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9458 int arg2 ;
9459 int arg3 ;
9460 wxString result;
9461 void *argp1 = 0 ;
9462 int res1 = 0 ;
9463 int val2 ;
9464 int ecode2 = 0 ;
9465 int val3 ;
9466 int ecode3 = 0 ;
9467 PyObject * obj0 = 0 ;
9468 PyObject * obj1 = 0 ;
9469 PyObject * obj2 = 0 ;
9470 char * kwnames[] = {
9471 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
9472 };
9473
9474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9476 if (!SWIG_IsOK(res1)) {
9477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9478 }
9479 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9480 ecode2 = SWIG_AsVal_int(obj1, &val2);
9481 if (!SWIG_IsOK(ecode2)) {
9482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "2"" of type '" "int""'");
9483 }
9484 arg2 = static_cast< int >(val2);
9485 ecode3 = SWIG_AsVal_int(obj2, &val3);
9486 if (!SWIG_IsOK(ecode3)) {
9487 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "3"" of type '" "int""'");
9488 }
9489 arg3 = static_cast< int >(val3);
9490 {
9491 PyThreadState* __tstate = wxPyBeginAllowThreads();
9492 result = (arg1)->GetTextRange(arg2,arg3);
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 {
9497#if wxUSE_UNICODE
9498 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9499#else
9500 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9501#endif
9502 }
9503 return resultobj;
9504fail:
9505 return NULL;
9506}
9507
9508
9509SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9510 PyObject *resultobj = 0;
9511 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9512 bool arg2 ;
9513 void *argp1 = 0 ;
9514 int res1 = 0 ;
9515 bool val2 ;
9516 int ecode2 = 0 ;
9517 PyObject * obj0 = 0 ;
9518 PyObject * obj1 = 0 ;
9519 char * kwnames[] = {
9520 (char *) "self",(char *) "normal", NULL
9521 };
9522
9523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) SWIG_fail;
9524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9525 if (!SWIG_IsOK(res1)) {
9526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9527 }
9528 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9529 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9530 if (!SWIG_IsOK(ecode2)) {
9531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "2"" of type '" "bool""'");
9532 }
9533 arg2 = static_cast< bool >(val2);
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 (arg1)->HideSelection(arg2);
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 resultobj = SWIG_Py_Void();
9541 return resultobj;
9542fail:
9543 return NULL;
9544}
9545
9546
9547SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9548 PyObject *resultobj = 0;
9549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9550 int arg2 ;
9551 int result;
9552 void *argp1 = 0 ;
9553 int res1 = 0 ;
9554 int val2 ;
9555 int ecode2 = 0 ;
9556 PyObject * obj0 = 0 ;
9557 PyObject * obj1 = 0 ;
9558 char * kwnames[] = {
9559 (char *) "self",(char *) "pos", NULL
9560 };
9561
9562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
9563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9564 if (!SWIG_IsOK(res1)) {
9565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9566 }
9567 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9568 ecode2 = SWIG_AsVal_int(obj1, &val2);
9569 if (!SWIG_IsOK(ecode2)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "2"" of type '" "int""'");
9571 }
9572 arg2 = static_cast< int >(val2);
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 result = (int)(arg1)->LineFromPosition(arg2);
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 resultobj = SWIG_From_int(static_cast< int >(result));
9580 return resultobj;
9581fail:
9582 return NULL;
9583}
9584
9585
9586SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj = 0;
9588 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9589 int arg2 ;
9590 int result;
9591 void *argp1 = 0 ;
9592 int res1 = 0 ;
9593 int val2 ;
9594 int ecode2 = 0 ;
9595 PyObject * obj0 = 0 ;
9596 PyObject * obj1 = 0 ;
9597 char * kwnames[] = {
9598 (char *) "self",(char *) "line", NULL
9599 };
9600
9601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) SWIG_fail;
9602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9603 if (!SWIG_IsOK(res1)) {
9604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9605 }
9606 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9607 ecode2 = SWIG_AsVal_int(obj1, &val2);
9608 if (!SWIG_IsOK(ecode2)) {
9609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "2"" of type '" "int""'");
9610 }
9611 arg2 = static_cast< int >(val2);
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 result = (int)(arg1)->PositionFromLine(arg2);
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 resultobj = SWIG_From_int(static_cast< int >(result));
9619 return resultobj;
9620fail:
9621 return NULL;
9622}
9623
9624
9625SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj = 0;
9627 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9628 int arg2 ;
9629 int arg3 ;
9630 void *argp1 = 0 ;
9631 int res1 = 0 ;
9632 int val2 ;
9633 int ecode2 = 0 ;
9634 int val3 ;
9635 int ecode3 = 0 ;
9636 PyObject * obj0 = 0 ;
9637 PyObject * obj1 = 0 ;
9638 PyObject * obj2 = 0 ;
9639 char * kwnames[] = {
9640 (char *) "self",(char *) "columns",(char *) "lines", NULL
9641 };
9642
9643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) 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_LineScroll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9647 }
9648 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9649 ecode2 = SWIG_AsVal_int(obj1, &val2);
9650 if (!SWIG_IsOK(ecode2)) {
9651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "2"" of type '" "int""'");
9652 }
9653 arg2 = static_cast< int >(val2);
9654 ecode3 = SWIG_AsVal_int(obj2, &val3);
9655 if (!SWIG_IsOK(ecode3)) {
9656 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "3"" of type '" "int""'");
9657 }
9658 arg3 = static_cast< int >(val3);
9659 {
9660 PyThreadState* __tstate = wxPyBeginAllowThreads();
9661 (arg1)->LineScroll(arg2,arg3);
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 resultobj = SWIG_Py_Void();
9666 return resultobj;
9667fail:
9668 return NULL;
d14a1e28
RD
9669}
9670
9671
1bd55598
RD
9672SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9673 PyObject *resultobj = 0;
9674 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9675 void *argp1 = 0 ;
9676 int res1 = 0 ;
9677 PyObject *swig_obj[1] ;
9678
9679 if (!args) SWIG_fail;
9680 swig_obj[0] = args;
9681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9682 if (!SWIG_IsOK(res1)) {
9683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureCaretVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9684 }
9685 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9686 {
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
9688 (arg1)->EnsureCaretVisible();
9689 wxPyEndAllowThreads(__tstate);
9690 if (PyErr_Occurred()) SWIG_fail;
9691 }
9692 resultobj = SWIG_Py_Void();
9693 return resultobj;
9694fail:
9695 return NULL;
9696}
9697
9698
9699SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9700 PyObject *resultobj = 0;
9701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9702 wxString *arg2 = 0 ;
9703 void *argp1 = 0 ;
9704 int res1 = 0 ;
9705 bool temp2 = false ;
9706 PyObject * obj0 = 0 ;
9707 PyObject * obj1 = 0 ;
9708 char * kwnames[] = {
9709 (char *) "self",(char *) "text", NULL
9710 };
9711
9712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
9713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9714 if (!SWIG_IsOK(res1)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9716 }
9717 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9718 {
9719 arg2 = wxString_in_helper(obj1);
9720 if (arg2 == NULL) SWIG_fail;
9721 temp2 = true;
9722 }
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 (arg1)->ReplaceSelection((wxString const &)*arg2);
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 resultobj = SWIG_Py_Void();
9730 {
9731 if (temp2)
9732 delete arg2;
9733 }
9734 return resultobj;
9735fail:
9736 {
9737 if (temp2)
9738 delete arg2;
9739 }
9740 return NULL;
9741}
9742
9743
9744SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj = 0;
9746 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9747 bool arg2 ;
9748 void *argp1 = 0 ;
9749 int res1 = 0 ;
9750 bool val2 ;
9751 int ecode2 = 0 ;
9752 PyObject * obj0 = 0 ;
9753 PyObject * obj1 = 0 ;
9754 char * kwnames[] = {
9755 (char *) "self",(char *) "readOnly", NULL
9756 };
9757
9758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) SWIG_fail;
9759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9760 if (!SWIG_IsOK(res1)) {
9761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9762 }
9763 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9764 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9765 if (!SWIG_IsOK(ecode2)) {
9766 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
9767 }
9768 arg2 = static_cast< bool >(val2);
9769 {
9770 PyThreadState* __tstate = wxPyBeginAllowThreads();
9771 (arg1)->SetReadOnly(arg2);
9772 wxPyEndAllowThreads(__tstate);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 }
9775 resultobj = SWIG_Py_Void();
9776 return resultobj;
9777fail:
9778 return NULL;
d14a1e28
RD
9779}
9780
9781
1bd55598
RD
9782SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9783 PyObject *resultobj = 0;
9784 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9785 bool result;
9786 void *argp1 = 0 ;
9787 int res1 = 0 ;
9788 PyObject *swig_obj[1] ;
9789
9790 if (!args) SWIG_fail;
9791 swig_obj[0] = args;
9792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9793 if (!SWIG_IsOK(res1)) {
9794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9795 }
9796 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 result = (bool)(arg1)->CanPaste();
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 {
9804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9805 }
9806 return resultobj;
9807fail:
9808 return NULL;
d14a1e28
RD
9809}
9810
9811
1bd55598
RD
9812SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9813 PyObject *resultobj = 0;
9814 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9815 bool result;
9816 void *argp1 = 0 ;
9817 int res1 = 0 ;
9818 PyObject *swig_obj[1] ;
9819
9820 if (!args) SWIG_fail;
9821 swig_obj[0] = args;
9822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9823 if (!SWIG_IsOK(res1)) {
9824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9825 }
9826 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9827 {
9828 PyThreadState* __tstate = wxPyBeginAllowThreads();
9829 result = (bool)(arg1)->CanUndo();
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
9833 {
9834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9835 }
9836 return resultobj;
9837fail:
9838 return NULL;
d14a1e28
RD
9839}
9840
9841
1bd55598
RD
9842SWIGINTERN PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9843 PyObject *resultobj = 0;
9844 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9845 void *argp1 = 0 ;
9846 int res1 = 0 ;
9847 PyObject *swig_obj[1] ;
9848
9849 if (!args) SWIG_fail;
9850 swig_obj[0] = args;
9851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9852 if (!SWIG_IsOK(res1)) {
9853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EmptyUndoBuffer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9854 }
9855 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 (arg1)->EmptyUndoBuffer();
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) SWIG_fail;
9861 }
9862 resultobj = SWIG_Py_Void();
9863 return resultobj;
9864fail:
9865 return NULL;
d14a1e28
RD
9866}
9867
9868
1bd55598
RD
9869SWIGINTERN PyObject *_wrap_StyledTextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9870 PyObject *resultobj = 0;
9871 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9872 void *argp1 = 0 ;
9873 int res1 = 0 ;
9874 PyObject *swig_obj[1] ;
9875
9876 if (!args) SWIG_fail;
9877 swig_obj[0] = args;
9878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9879 if (!SWIG_IsOK(res1)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Undo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9881 }
9882 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9883 {
9884 PyThreadState* __tstate = wxPyBeginAllowThreads();
9885 (arg1)->Undo();
9886 wxPyEndAllowThreads(__tstate);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 }
9889 resultobj = SWIG_Py_Void();
9890 return resultobj;
9891fail:
9892 return NULL;
d14a1e28
RD
9893}
9894
9895
1bd55598
RD
9896SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9897 PyObject *resultobj = 0;
9898 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9899 void *argp1 = 0 ;
9900 int res1 = 0 ;
9901 PyObject *swig_obj[1] ;
9902
9903 if (!args) SWIG_fail;
9904 swig_obj[0] = args;
9905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9906 if (!SWIG_IsOK(res1)) {
9907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9908 }
9909 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9910 {
9911 PyThreadState* __tstate = wxPyBeginAllowThreads();
9912 (arg1)->Cut();
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 resultobj = SWIG_Py_Void();
9917 return resultobj;
9918fail:
9919 return NULL;
d14a1e28
RD
9920}
9921
9922
1bd55598
RD
9923SWIGINTERN PyObject *_wrap_StyledTextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9924 PyObject *resultobj = 0;
9925 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9926 void *argp1 = 0 ;
9927 int res1 = 0 ;
9928 PyObject *swig_obj[1] ;
9929
9930 if (!args) SWIG_fail;
9931 swig_obj[0] = args;
9932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9933 if (!SWIG_IsOK(res1)) {
9934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Copy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9935 }
9936 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 (arg1)->Copy();
9940 wxPyEndAllowThreads(__tstate);
9941 if (PyErr_Occurred()) SWIG_fail;
9942 }
9943 resultobj = SWIG_Py_Void();
9944 return resultobj;
9945fail:
9946 return NULL;
d14a1e28
RD
9947}
9948
9949
1bd55598
RD
9950SWIGINTERN PyObject *_wrap_StyledTextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9951 PyObject *resultobj = 0;
9952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9953 void *argp1 = 0 ;
9954 int res1 = 0 ;
9955 PyObject *swig_obj[1] ;
9956
9957 if (!args) SWIG_fail;
9958 swig_obj[0] = args;
9959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9960 if (!SWIG_IsOK(res1)) {
9961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Paste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9962 }
9963 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 (arg1)->Paste();
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 resultobj = SWIG_Py_Void();
9971 return resultobj;
9972fail:
9973 return NULL;
d14a1e28
RD
9974}
9975
9976
1bd55598
RD
9977SWIGINTERN PyObject *_wrap_StyledTextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9978 PyObject *resultobj = 0;
9979 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9980 void *argp1 = 0 ;
9981 int res1 = 0 ;
9982 PyObject *swig_obj[1] ;
9983
9984 if (!args) SWIG_fail;
9985 swig_obj[0] = args;
9986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9987 if (!SWIG_IsOK(res1)) {
9988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Clear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9989 }
9990 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 (arg1)->Clear();
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 resultobj = SWIG_Py_Void();
9998 return resultobj;
9999fail:
10000 return NULL;
10001}
10002
10003
10004SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj = 0;
10006 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10007 wxString *arg2 = 0 ;
10008 void *argp1 = 0 ;
10009 int res1 = 0 ;
10010 bool temp2 = false ;
10011 PyObject * obj0 = 0 ;
10012 PyObject * obj1 = 0 ;
10013 char * kwnames[] = {
10014 (char *) "self",(char *) "text", NULL
10015 };
10016
10017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
10018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10019 if (!SWIG_IsOK(res1)) {
10020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10021 }
10022 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10023 {
10024 arg2 = wxString_in_helper(obj1);
10025 if (arg2 == NULL) SWIG_fail;
10026 temp2 = true;
10027 }
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 (arg1)->SetText((wxString const &)*arg2);
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 resultobj = SWIG_Py_Void();
10035 {
10036 if (temp2)
10037 delete arg2;
10038 }
10039 return resultobj;
10040fail:
10041 {
10042 if (temp2)
10043 delete arg2;
10044 }
10045 return NULL;
d14a1e28
RD
10046}
10047
10048
1bd55598
RD
10049SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10050 PyObject *resultobj = 0;
10051 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10052 wxString result;
10053 void *argp1 = 0 ;
10054 int res1 = 0 ;
10055 PyObject *swig_obj[1] ;
10056
10057 if (!args) SWIG_fail;
10058 swig_obj[0] = args;
10059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10060 if (!SWIG_IsOK(res1)) {
10061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10062 }
10063 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10064 {
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 result = (arg1)->GetText();
10067 wxPyEndAllowThreads(__tstate);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
10070 {
10071#if wxUSE_UNICODE
10072 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10073#else
10074 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10075#endif
10076 }
10077 return resultobj;
10078fail:
10079 return NULL;
d14a1e28
RD
10080}
10081
10082
1bd55598
RD
10083SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10084 PyObject *resultobj = 0;
10085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10086 int result;
10087 void *argp1 = 0 ;
10088 int res1 = 0 ;
10089 PyObject *swig_obj[1] ;
10090
10091 if (!args) SWIG_fail;
10092 swig_obj[0] = args;
10093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10094 if (!SWIG_IsOK(res1)) {
10095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10096 }
10097 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10098 {
10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
10100 result = (int)(arg1)->GetTextLength();
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 resultobj = SWIG_From_int(static_cast< int >(result));
10105 return resultobj;
10106fail:
10107 return NULL;
10108}
10109
10110
10111SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10112 PyObject *resultobj = 0;
10113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10114 bool arg2 ;
10115 void *argp1 = 0 ;
10116 int res1 = 0 ;
10117 bool val2 ;
10118 int ecode2 = 0 ;
10119 PyObject * obj0 = 0 ;
10120 PyObject * obj1 = 0 ;
10121 char * kwnames[] = {
10122 (char *) "self",(char *) "overtype", NULL
10123 };
10124
10125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) SWIG_fail;
10126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10127 if (!SWIG_IsOK(res1)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10129 }
10130 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10131 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10132 if (!SWIG_IsOK(ecode2)) {
10133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "2"" of type '" "bool""'");
10134 }
10135 arg2 = static_cast< bool >(val2);
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 (arg1)->SetOvertype(arg2);
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 resultobj = SWIG_Py_Void();
10143 return resultobj;
10144fail:
10145 return NULL;
d14a1e28
RD
10146}
10147
10148
1bd55598
RD
10149SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10150 PyObject *resultobj = 0;
10151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10152 bool result;
10153 void *argp1 = 0 ;
10154 int res1 = 0 ;
10155 PyObject *swig_obj[1] ;
10156
10157 if (!args) SWIG_fail;
10158 swig_obj[0] = args;
10159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10160 if (!SWIG_IsOK(res1)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10162 }
10163 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 result = (bool)(arg1)->GetOvertype();
10167 wxPyEndAllowThreads(__tstate);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 }
10170 {
10171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10172 }
10173 return resultobj;
10174fail:
10175 return NULL;
10176}
10177
10178
10179SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10180 PyObject *resultobj = 0;
10181 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10182 int arg2 ;
10183 void *argp1 = 0 ;
10184 int res1 = 0 ;
10185 int val2 ;
10186 int ecode2 = 0 ;
10187 PyObject * obj0 = 0 ;
10188 PyObject * obj1 = 0 ;
10189 char * kwnames[] = {
10190 (char *) "self",(char *) "pixelWidth", NULL
10191 };
10192
10193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) SWIG_fail;
10194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10195 if (!SWIG_IsOK(res1)) {
10196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10197 }
10198 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10199 ecode2 = SWIG_AsVal_int(obj1, &val2);
10200 if (!SWIG_IsOK(ecode2)) {
10201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "2"" of type '" "int""'");
10202 }
10203 arg2 = static_cast< int >(val2);
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 (arg1)->SetCaretWidth(arg2);
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 }
10210 resultobj = SWIG_Py_Void();
10211 return resultobj;
10212fail:
10213 return NULL;
d14a1e28
RD
10214}
10215
10216
1bd55598
RD
10217SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10218 PyObject *resultobj = 0;
10219 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10220 int result;
10221 void *argp1 = 0 ;
10222 int res1 = 0 ;
10223 PyObject *swig_obj[1] ;
10224
10225 if (!args) SWIG_fail;
10226 swig_obj[0] = args;
10227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10228 if (!SWIG_IsOK(res1)) {
10229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10230 }
10231 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10232 {
10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
10234 result = (int)(arg1)->GetCaretWidth();
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 resultobj = SWIG_From_int(static_cast< int >(result));
10239 return resultobj;
10240fail:
10241 return NULL;
10242}
10243
10244
10245SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj = 0;
10247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10248 int arg2 ;
10249 void *argp1 = 0 ;
10250 int res1 = 0 ;
10251 int val2 ;
10252 int ecode2 = 0 ;
10253 PyObject * obj0 = 0 ;
10254 PyObject * obj1 = 0 ;
10255 char * kwnames[] = {
10256 (char *) "self",(char *) "pos", NULL
10257 };
10258
10259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) SWIG_fail;
10260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10261 if (!SWIG_IsOK(res1)) {
10262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10263 }
10264 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10265 ecode2 = SWIG_AsVal_int(obj1, &val2);
10266 if (!SWIG_IsOK(ecode2)) {
10267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "2"" of type '" "int""'");
10268 }
10269 arg2 = static_cast< int >(val2);
10270 {
10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
10272 (arg1)->SetTargetStart(arg2);
10273 wxPyEndAllowThreads(__tstate);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 }
10276 resultobj = SWIG_Py_Void();
10277 return resultobj;
10278fail:
10279 return NULL;
d14a1e28
RD
10280}
10281
10282
1bd55598
RD
10283SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10284 PyObject *resultobj = 0;
10285 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10286 int result;
10287 void *argp1 = 0 ;
10288 int res1 = 0 ;
10289 PyObject *swig_obj[1] ;
10290
10291 if (!args) SWIG_fail;
10292 swig_obj[0] = args;
10293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10294 if (!SWIG_IsOK(res1)) {
10295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10296 }
10297 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10298 {
10299 PyThreadState* __tstate = wxPyBeginAllowThreads();
10300 result = (int)(arg1)->GetTargetStart();
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
10304 resultobj = SWIG_From_int(static_cast< int >(result));
10305 return resultobj;
10306fail:
10307 return NULL;
10308}
10309
10310
10311SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10312 PyObject *resultobj = 0;
10313 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10314 int arg2 ;
10315 void *argp1 = 0 ;
10316 int res1 = 0 ;
10317 int val2 ;
10318 int ecode2 = 0 ;
10319 PyObject * obj0 = 0 ;
10320 PyObject * obj1 = 0 ;
10321 char * kwnames[] = {
10322 (char *) "self",(char *) "pos", NULL
10323 };
10324
10325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10327 if (!SWIG_IsOK(res1)) {
10328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10329 }
10330 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10331 ecode2 = SWIG_AsVal_int(obj1, &val2);
10332 if (!SWIG_IsOK(ecode2)) {
10333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "2"" of type '" "int""'");
10334 }
10335 arg2 = static_cast< int >(val2);
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 (arg1)->SetTargetEnd(arg2);
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 resultobj = SWIG_Py_Void();
10343 return resultobj;
10344fail:
10345 return NULL;
d14a1e28
RD
10346}
10347
10348
1bd55598
RD
10349SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10350 PyObject *resultobj = 0;
10351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10352 int result;
10353 void *argp1 = 0 ;
10354 int res1 = 0 ;
10355 PyObject *swig_obj[1] ;
10356
10357 if (!args) SWIG_fail;
10358 swig_obj[0] = args;
10359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10360 if (!SWIG_IsOK(res1)) {
10361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10362 }
10363 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
10366 result = (int)(arg1)->GetTargetEnd();
10367 wxPyEndAllowThreads(__tstate);
10368 if (PyErr_Occurred()) SWIG_fail;
10369 }
10370 resultobj = SWIG_From_int(static_cast< int >(result));
10371 return resultobj;
10372fail:
10373 return NULL;
10374}
10375
10376
10377SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10378 PyObject *resultobj = 0;
10379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10380 wxString *arg2 = 0 ;
10381 int result;
10382 void *argp1 = 0 ;
10383 int res1 = 0 ;
10384 bool temp2 = false ;
10385 PyObject * obj0 = 0 ;
10386 PyObject * obj1 = 0 ;
10387 char * kwnames[] = {
10388 (char *) "self",(char *) "text", NULL
10389 };
10390
10391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) SWIG_fail;
10392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10393 if (!SWIG_IsOK(res1)) {
10394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10395 }
10396 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10397 {
10398 arg2 = wxString_in_helper(obj1);
10399 if (arg2 == NULL) SWIG_fail;
10400 temp2 = true;
10401 }
10402 {
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
10404 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
10405 wxPyEndAllowThreads(__tstate);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 }
10408 resultobj = SWIG_From_int(static_cast< int >(result));
10409 {
10410 if (temp2)
10411 delete arg2;
10412 }
10413 return resultobj;
10414fail:
10415 {
10416 if (temp2)
10417 delete arg2;
10418 }
10419 return NULL;
10420}
10421
10422
10423SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj = 0;
10425 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10426 wxString *arg2 = 0 ;
10427 int result;
10428 void *argp1 = 0 ;
10429 int res1 = 0 ;
10430 bool temp2 = false ;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj1 = 0 ;
10433 char * kwnames[] = {
10434 (char *) "self",(char *) "text", NULL
10435 };
10436
10437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) SWIG_fail;
10438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10439 if (!SWIG_IsOK(res1)) {
10440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTargetRE" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10441 }
10442 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10443 {
10444 arg2 = wxString_in_helper(obj1);
10445 if (arg2 == NULL) SWIG_fail;
10446 temp2 = true;
10447 }
10448 {
10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
10450 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
10451 wxPyEndAllowThreads(__tstate);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
10454 resultobj = SWIG_From_int(static_cast< int >(result));
10455 {
10456 if (temp2)
10457 delete arg2;
10458 }
10459 return resultobj;
10460fail:
10461 {
10462 if (temp2)
10463 delete arg2;
10464 }
10465 return NULL;
10466}
10467
10468
10469SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10470 PyObject *resultobj = 0;
10471 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10472 wxString *arg2 = 0 ;
10473 int result;
10474 void *argp1 = 0 ;
10475 int res1 = 0 ;
10476 bool temp2 = false ;
10477 PyObject * obj0 = 0 ;
10478 PyObject * obj1 = 0 ;
10479 char * kwnames[] = {
10480 (char *) "self",(char *) "text", NULL
10481 };
10482
10483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) SWIG_fail;
10484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10485 if (!SWIG_IsOK(res1)) {
10486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchInTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10487 }
10488 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10489 {
10490 arg2 = wxString_in_helper(obj1);
10491 if (arg2 == NULL) SWIG_fail;
10492 temp2 = true;
10493 }
10494 {
10495 PyThreadState* __tstate = wxPyBeginAllowThreads();
10496 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 }
10500 resultobj = SWIG_From_int(static_cast< int >(result));
10501 {
10502 if (temp2)
10503 delete arg2;
10504 }
10505 return resultobj;
10506fail:
10507 {
10508 if (temp2)
10509 delete arg2;
10510 }
10511 return NULL;
10512}
10513
10514
10515SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10516 PyObject *resultobj = 0;
10517 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10518 int arg2 ;
10519 void *argp1 = 0 ;
10520 int res1 = 0 ;
10521 int val2 ;
10522 int ecode2 = 0 ;
10523 PyObject * obj0 = 0 ;
10524 PyObject * obj1 = 0 ;
10525 char * kwnames[] = {
10526 (char *) "self",(char *) "flags", NULL
10527 };
10528
10529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10531 if (!SWIG_IsOK(res1)) {
10532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10533 }
10534 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10535 ecode2 = SWIG_AsVal_int(obj1, &val2);
10536 if (!SWIG_IsOK(ecode2)) {
10537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "2"" of type '" "int""'");
10538 }
10539 arg2 = static_cast< int >(val2);
10540 {
10541 PyThreadState* __tstate = wxPyBeginAllowThreads();
10542 (arg1)->SetSearchFlags(arg2);
10543 wxPyEndAllowThreads(__tstate);
10544 if (PyErr_Occurred()) SWIG_fail;
10545 }
10546 resultobj = SWIG_Py_Void();
10547 return resultobj;
10548fail:
10549 return NULL;
d14a1e28
RD
10550}
10551
10552
1bd55598
RD
10553SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10554 PyObject *resultobj = 0;
10555 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10556 int result;
10557 void *argp1 = 0 ;
10558 int res1 = 0 ;
10559 PyObject *swig_obj[1] ;
10560
10561 if (!args) SWIG_fail;
10562 swig_obj[0] = args;
10563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10564 if (!SWIG_IsOK(res1)) {
10565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10566 }
10567 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10568 {
10569 PyThreadState* __tstate = wxPyBeginAllowThreads();
10570 result = (int)(arg1)->GetSearchFlags();
10571 wxPyEndAllowThreads(__tstate);
10572 if (PyErr_Occurred()) SWIG_fail;
10573 }
10574 resultobj = SWIG_From_int(static_cast< int >(result));
10575 return resultobj;
10576fail:
10577 return NULL;
10578}
10579
10580
10581SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10582 PyObject *resultobj = 0;
10583 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10584 int arg2 ;
10585 wxString *arg3 = 0 ;
10586 void *argp1 = 0 ;
10587 int res1 = 0 ;
10588 int val2 ;
10589 int ecode2 = 0 ;
10590 bool temp3 = false ;
10591 PyObject * obj0 = 0 ;
10592 PyObject * obj1 = 0 ;
10593 PyObject * obj2 = 0 ;
10594 char * kwnames[] = {
10595 (char *) "self",(char *) "pos",(char *) "definition", NULL
10596 };
10597
10598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10600 if (!SWIG_IsOK(res1)) {
10601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10602 }
10603 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10604 ecode2 = SWIG_AsVal_int(obj1, &val2);
10605 if (!SWIG_IsOK(ecode2)) {
10606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "2"" of type '" "int""'");
10607 }
10608 arg2 = static_cast< int >(val2);
10609 {
10610 arg3 = wxString_in_helper(obj2);
10611 if (arg3 == NULL) SWIG_fail;
10612 temp3 = true;
10613 }
10614 {
10615 PyThreadState* __tstate = wxPyBeginAllowThreads();
10616 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 resultobj = SWIG_Py_Void();
10621 {
10622 if (temp3)
10623 delete arg3;
10624 }
10625 return resultobj;
10626fail:
10627 {
10628 if (temp3)
10629 delete arg3;
10630 }
10631 return NULL;
d14a1e28
RD
10632}
10633
10634
1bd55598
RD
10635SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10636 PyObject *resultobj = 0;
10637 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10638 void *argp1 = 0 ;
10639 int res1 = 0 ;
10640 PyObject *swig_obj[1] ;
10641
10642 if (!args) SWIG_fail;
10643 swig_obj[0] = args;
10644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10645 if (!SWIG_IsOK(res1)) {
10646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10647 }
10648 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 (arg1)->CallTipCancel();
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 resultobj = SWIG_Py_Void();
10656 return resultobj;
10657fail:
10658 return NULL;
d14a1e28
RD
10659}
10660
10661
1bd55598
RD
10662SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10663 PyObject *resultobj = 0;
10664 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10665 bool result;
10666 void *argp1 = 0 ;
10667 int res1 = 0 ;
10668 PyObject *swig_obj[1] ;
10669
10670 if (!args) SWIG_fail;
10671 swig_obj[0] = args;
10672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10673 if (!SWIG_IsOK(res1)) {
10674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10675 }
10676 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 result = (bool)(arg1)->CallTipActive();
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 {
10684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10685 }
10686 return resultobj;
10687fail:
10688 return NULL;
d14a1e28
RD
10689}
10690
10691
1bd55598
RD
10692SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10693 PyObject *resultobj = 0;
10694 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10695 int result;
10696 void *argp1 = 0 ;
10697 int res1 = 0 ;
10698 PyObject *swig_obj[1] ;
10699
10700 if (!args) SWIG_fail;
10701 swig_obj[0] = args;
10702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10703 if (!SWIG_IsOK(res1)) {
10704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipPosAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10705 }
10706 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10707 {
10708 PyThreadState* __tstate = wxPyBeginAllowThreads();
10709 result = (int)(arg1)->CallTipPosAtStart();
10710 wxPyEndAllowThreads(__tstate);
10711 if (PyErr_Occurred()) SWIG_fail;
10712 }
10713 resultobj = SWIG_From_int(static_cast< int >(result));
10714 return resultobj;
10715fail:
10716 return NULL;
10717}
10718
10719
10720SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10721 PyObject *resultobj = 0;
10722 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10723 int arg2 ;
10724 int arg3 ;
10725 void *argp1 = 0 ;
10726 int res1 = 0 ;
10727 int val2 ;
10728 int ecode2 = 0 ;
10729 int val3 ;
10730 int ecode3 = 0 ;
10731 PyObject * obj0 = 0 ;
10732 PyObject * obj1 = 0 ;
10733 PyObject * obj2 = 0 ;
10734 char * kwnames[] = {
10735 (char *) "self",(char *) "start",(char *) "end", NULL
10736 };
10737
10738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10740 if (!SWIG_IsOK(res1)) {
10741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10742 }
10743 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10744 ecode2 = SWIG_AsVal_int(obj1, &val2);
10745 if (!SWIG_IsOK(ecode2)) {
10746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "2"" of type '" "int""'");
10747 }
10748 arg2 = static_cast< int >(val2);
10749 ecode3 = SWIG_AsVal_int(obj2, &val3);
10750 if (!SWIG_IsOK(ecode3)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "3"" of type '" "int""'");
10752 }
10753 arg3 = static_cast< int >(val3);
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 (arg1)->CallTipSetHighlight(arg2,arg3);
10757 wxPyEndAllowThreads(__tstate);
10758 if (PyErr_Occurred()) SWIG_fail;
10759 }
10760 resultobj = SWIG_Py_Void();
10761 return resultobj;
10762fail:
10763 return NULL;
10764}
10765
10766
10767SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10768 PyObject *resultobj = 0;
10769 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10770 wxColour *arg2 = 0 ;
10771 void *argp1 = 0 ;
10772 int res1 = 0 ;
10773 wxColour temp2 ;
10774 PyObject * obj0 = 0 ;
10775 PyObject * obj1 = 0 ;
10776 char * kwnames[] = {
10777 (char *) "self",(char *) "back", NULL
10778 };
10779
10780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) SWIG_fail;
10781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10782 if (!SWIG_IsOK(res1)) {
10783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10784 }
10785 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10786 {
10787 arg2 = &temp2;
10788 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10789 }
10790 {
10791 PyThreadState* __tstate = wxPyBeginAllowThreads();
10792 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
10793 wxPyEndAllowThreads(__tstate);
10794 if (PyErr_Occurred()) SWIG_fail;
10795 }
10796 resultobj = SWIG_Py_Void();
10797 return resultobj;
10798fail:
10799 return NULL;
10800}
10801
10802
10803SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10804 PyObject *resultobj = 0;
10805 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10806 wxColour *arg2 = 0 ;
10807 void *argp1 = 0 ;
10808 int res1 = 0 ;
10809 wxColour temp2 ;
10810 PyObject * obj0 = 0 ;
10811 PyObject * obj1 = 0 ;
10812 char * kwnames[] = {
10813 (char *) "self",(char *) "fore", NULL
10814 };
10815
10816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
10817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10818 if (!SWIG_IsOK(res1)) {
10819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10820 }
10821 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10822 {
10823 arg2 = &temp2;
10824 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10825 }
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 resultobj = SWIG_Py_Void();
10833 return resultobj;
10834fail:
10835 return NULL;
10836}
10837
10838
10839SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10840 PyObject *resultobj = 0;
10841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10842 wxColour *arg2 = 0 ;
10843 void *argp1 = 0 ;
10844 int res1 = 0 ;
10845 wxColour temp2 ;
10846 PyObject * obj0 = 0 ;
10847 PyObject * obj1 = 0 ;
10848 char * kwnames[] = {
10849 (char *) "self",(char *) "fore", NULL
10850 };
10851
10852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) SWIG_fail;
10853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10854 if (!SWIG_IsOK(res1)) {
10855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForegroundHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10856 }
10857 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10858 {
10859 arg2 = &temp2;
10860 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10861 }
10862 {
10863 PyThreadState* __tstate = wxPyBeginAllowThreads();
10864 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
10868 resultobj = SWIG_Py_Void();
10869 return resultobj;
10870fail:
10871 return NULL;
10872}
10873
10874
10875SWIGINTERN PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10876 PyObject *resultobj = 0;
10877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10878 int arg2 ;
10879 int result;
10880 void *argp1 = 0 ;
10881 int res1 = 0 ;
10882 int val2 ;
10883 int ecode2 = 0 ;
10884 PyObject * obj0 = 0 ;
10885 PyObject * obj1 = 0 ;
10886 char * kwnames[] = {
10887 (char *) "self",(char *) "line", NULL
10888 };
10889
10890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) SWIG_fail;
10891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10892 if (!SWIG_IsOK(res1)) {
10893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10894 }
10895 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10896 ecode2 = SWIG_AsVal_int(obj1, &val2);
10897 if (!SWIG_IsOK(ecode2)) {
10898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "2"" of type '" "int""'");
10899 }
10900 arg2 = static_cast< int >(val2);
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 result = (int)(arg1)->VisibleFromDocLine(arg2);
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 resultobj = SWIG_From_int(static_cast< int >(result));
10908 return resultobj;
10909fail:
10910 return NULL;
10911}
10912
10913
10914SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10915 PyObject *resultobj = 0;
10916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10917 int arg2 ;
10918 int result;
10919 void *argp1 = 0 ;
10920 int res1 = 0 ;
10921 int val2 ;
10922 int ecode2 = 0 ;
10923 PyObject * obj0 = 0 ;
10924 PyObject * obj1 = 0 ;
10925 char * kwnames[] = {
10926 (char *) "self",(char *) "lineDisplay", NULL
10927 };
10928
10929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10931 if (!SWIG_IsOK(res1)) {
10932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10933 }
10934 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10935 ecode2 = SWIG_AsVal_int(obj1, &val2);
10936 if (!SWIG_IsOK(ecode2)) {
10937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "2"" of type '" "int""'");
10938 }
10939 arg2 = static_cast< int >(val2);
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 result = (int)(arg1)->DocLineFromVisible(arg2);
10943 wxPyEndAllowThreads(__tstate);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 }
10946 resultobj = SWIG_From_int(static_cast< int >(result));
10947 return resultobj;
10948fail:
10949 return NULL;
10950}
10951
10952
10953SWIGINTERN PyObject *_wrap_StyledTextCtrl_WrapCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10954 PyObject *resultobj = 0;
10955 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10956 int arg2 ;
10957 int result;
10958 void *argp1 = 0 ;
10959 int res1 = 0 ;
10960 int val2 ;
10961 int ecode2 = 0 ;
10962 PyObject * obj0 = 0 ;
10963 PyObject * obj1 = 0 ;
10964 char * kwnames[] = {
10965 (char *) "self",(char *) "line", NULL
10966 };
10967
10968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_WrapCount",kwnames,&obj0,&obj1)) SWIG_fail;
10969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10970 if (!SWIG_IsOK(res1)) {
10971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10972 }
10973 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10974 ecode2 = SWIG_AsVal_int(obj1, &val2);
10975 if (!SWIG_IsOK(ecode2)) {
10976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "2"" of type '" "int""'");
10977 }
10978 arg2 = static_cast< int >(val2);
10979 {
10980 PyThreadState* __tstate = wxPyBeginAllowThreads();
10981 result = (int)(arg1)->WrapCount(arg2);
10982 wxPyEndAllowThreads(__tstate);
10983 if (PyErr_Occurred()) SWIG_fail;
10984 }
10985 resultobj = SWIG_From_int(static_cast< int >(result));
10986 return resultobj;
10987fail:
10988 return NULL;
10989}
10990
10991
10992SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10993 PyObject *resultobj = 0;
10994 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10995 int arg2 ;
10996 int arg3 ;
10997 void *argp1 = 0 ;
10998 int res1 = 0 ;
10999 int val2 ;
11000 int ecode2 = 0 ;
11001 int val3 ;
11002 int ecode3 = 0 ;
11003 PyObject * obj0 = 0 ;
11004 PyObject * obj1 = 0 ;
11005 PyObject * obj2 = 0 ;
11006 char * kwnames[] = {
11007 (char *) "self",(char *) "line",(char *) "level", NULL
11008 };
11009
11010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11012 if (!SWIG_IsOK(res1)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11014 }
11015 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11016 ecode2 = SWIG_AsVal_int(obj1, &val2);
11017 if (!SWIG_IsOK(ecode2)) {
11018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11019 }
11020 arg2 = static_cast< int >(val2);
11021 ecode3 = SWIG_AsVal_int(obj2, &val3);
11022 if (!SWIG_IsOK(ecode3)) {
11023 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "3"" of type '" "int""'");
11024 }
11025 arg3 = static_cast< int >(val3);
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 (arg1)->SetFoldLevel(arg2,arg3);
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 resultobj = SWIG_Py_Void();
11033 return resultobj;
11034fail:
11035 return NULL;
11036}
11037
11038
11039SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj = 0;
11041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11042 int arg2 ;
11043 int result;
11044 void *argp1 = 0 ;
11045 int res1 = 0 ;
11046 int val2 ;
11047 int ecode2 = 0 ;
11048 PyObject * obj0 = 0 ;
11049 PyObject * obj1 = 0 ;
11050 char * kwnames[] = {
11051 (char *) "self",(char *) "line", NULL
11052 };
11053
11054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) SWIG_fail;
11055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11056 if (!SWIG_IsOK(res1)) {
11057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11058 }
11059 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11060 ecode2 = SWIG_AsVal_int(obj1, &val2);
11061 if (!SWIG_IsOK(ecode2)) {
11062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11063 }
11064 arg2 = static_cast< int >(val2);
11065 {
11066 PyThreadState* __tstate = wxPyBeginAllowThreads();
11067 result = (int)(arg1)->GetFoldLevel(arg2);
11068 wxPyEndAllowThreads(__tstate);
11069 if (PyErr_Occurred()) SWIG_fail;
11070 }
11071 resultobj = SWIG_From_int(static_cast< int >(result));
11072 return resultobj;
11073fail:
11074 return NULL;
11075}
11076
11077
11078SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11079 PyObject *resultobj = 0;
11080 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11081 int arg2 ;
11082 int arg3 ;
11083 int result;
11084 void *argp1 = 0 ;
11085 int res1 = 0 ;
11086 int val2 ;
11087 int ecode2 = 0 ;
11088 int val3 ;
11089 int ecode3 = 0 ;
11090 PyObject * obj0 = 0 ;
11091 PyObject * obj1 = 0 ;
11092 PyObject * obj2 = 0 ;
11093 char * kwnames[] = {
11094 (char *) "self",(char *) "line",(char *) "level", NULL
11095 };
11096
11097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11099 if (!SWIG_IsOK(res1)) {
11100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11101 }
11102 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11103 ecode2 = SWIG_AsVal_int(obj1, &val2);
11104 if (!SWIG_IsOK(ecode2)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "2"" of type '" "int""'");
11106 }
11107 arg2 = static_cast< int >(val2);
11108 ecode3 = SWIG_AsVal_int(obj2, &val3);
11109 if (!SWIG_IsOK(ecode3)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "3"" of type '" "int""'");
11111 }
11112 arg3 = static_cast< int >(val3);
11113 {
11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
11115 result = (int)(arg1)->GetLastChild(arg2,arg3);
11116 wxPyEndAllowThreads(__tstate);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 }
11119 resultobj = SWIG_From_int(static_cast< int >(result));
11120 return resultobj;
11121fail:
11122 return NULL;
11123}
11124
11125
11126SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11127 PyObject *resultobj = 0;
11128 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11129 int arg2 ;
11130 int result;
11131 void *argp1 = 0 ;
11132 int res1 = 0 ;
11133 int val2 ;
11134 int ecode2 = 0 ;
11135 PyObject * obj0 = 0 ;
11136 PyObject * obj1 = 0 ;
11137 char * kwnames[] = {
11138 (char *) "self",(char *) "line", NULL
11139 };
11140
11141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) SWIG_fail;
11142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11143 if (!SWIG_IsOK(res1)) {
11144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11145 }
11146 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11147 ecode2 = SWIG_AsVal_int(obj1, &val2);
11148 if (!SWIG_IsOK(ecode2)) {
11149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "2"" of type '" "int""'");
11150 }
11151 arg2 = static_cast< int >(val2);
11152 {
11153 PyThreadState* __tstate = wxPyBeginAllowThreads();
11154 result = (int)(arg1)->GetFoldParent(arg2);
11155 wxPyEndAllowThreads(__tstate);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 }
11158 resultobj = SWIG_From_int(static_cast< int >(result));
11159 return resultobj;
11160fail:
11161 return NULL;
11162}
11163
11164
11165SWIGINTERN PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11166 PyObject *resultobj = 0;
11167 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11168 int arg2 ;
11169 int arg3 ;
11170 void *argp1 = 0 ;
11171 int res1 = 0 ;
11172 int val2 ;
11173 int ecode2 = 0 ;
11174 int val3 ;
11175 int ecode3 = 0 ;
11176 PyObject * obj0 = 0 ;
11177 PyObject * obj1 = 0 ;
11178 PyObject * obj2 = 0 ;
11179 char * kwnames[] = {
11180 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11181 };
11182
11183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11185 if (!SWIG_IsOK(res1)) {
11186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11187 }
11188 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11189 ecode2 = SWIG_AsVal_int(obj1, &val2);
11190 if (!SWIG_IsOK(ecode2)) {
11191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "2"" of type '" "int""'");
11192 }
11193 arg2 = static_cast< int >(val2);
11194 ecode3 = SWIG_AsVal_int(obj2, &val3);
11195 if (!SWIG_IsOK(ecode3)) {
11196 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "3"" of type '" "int""'");
11197 }
11198 arg3 = static_cast< int >(val3);
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->ShowLines(arg2,arg3);
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 resultobj = SWIG_Py_Void();
11206 return resultobj;
11207fail:
11208 return NULL;
11209}
11210
11211
11212SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11213 PyObject *resultobj = 0;
11214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11215 int arg2 ;
11216 int arg3 ;
11217 void *argp1 = 0 ;
11218 int res1 = 0 ;
11219 int val2 ;
11220 int ecode2 = 0 ;
11221 int val3 ;
11222 int ecode3 = 0 ;
11223 PyObject * obj0 = 0 ;
11224 PyObject * obj1 = 0 ;
11225 PyObject * obj2 = 0 ;
11226 char * kwnames[] = {
11227 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11228 };
11229
11230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11232 if (!SWIG_IsOK(res1)) {
11233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11234 }
11235 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11236 ecode2 = SWIG_AsVal_int(obj1, &val2);
11237 if (!SWIG_IsOK(ecode2)) {
11238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "2"" of type '" "int""'");
11239 }
11240 arg2 = static_cast< int >(val2);
11241 ecode3 = SWIG_AsVal_int(obj2, &val3);
11242 if (!SWIG_IsOK(ecode3)) {
11243 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "3"" of type '" "int""'");
11244 }
11245 arg3 = static_cast< int >(val3);
11246 {
11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
11248 (arg1)->HideLines(arg2,arg3);
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 resultobj = SWIG_Py_Void();
11253 return resultobj;
11254fail:
11255 return NULL;
11256}
11257
11258
11259SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11260 PyObject *resultobj = 0;
11261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11262 int arg2 ;
11263 bool result;
11264 void *argp1 = 0 ;
11265 int res1 = 0 ;
11266 int val2 ;
11267 int ecode2 = 0 ;
11268 PyObject * obj0 = 0 ;
11269 PyObject * obj1 = 0 ;
11270 char * kwnames[] = {
11271 (char *) "self",(char *) "line", NULL
11272 };
11273
11274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11276 if (!SWIG_IsOK(res1)) {
11277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11278 }
11279 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11280 ecode2 = SWIG_AsVal_int(obj1, &val2);
11281 if (!SWIG_IsOK(ecode2)) {
11282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "2"" of type '" "int""'");
11283 }
11284 arg2 = static_cast< int >(val2);
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 result = (bool)(arg1)->GetLineVisible(arg2);
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 {
11292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11293 }
11294 return resultobj;
11295fail:
11296 return NULL;
11297}
11298
11299
11300SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11301 PyObject *resultobj = 0;
11302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11303 int arg2 ;
11304 bool arg3 ;
11305 void *argp1 = 0 ;
11306 int res1 = 0 ;
11307 int val2 ;
11308 int ecode2 = 0 ;
11309 bool val3 ;
11310 int ecode3 = 0 ;
11311 PyObject * obj0 = 0 ;
11312 PyObject * obj1 = 0 ;
11313 PyObject * obj2 = 0 ;
11314 char * kwnames[] = {
11315 (char *) "self",(char *) "line",(char *) "expanded", NULL
11316 };
11317
11318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11320 if (!SWIG_IsOK(res1)) {
11321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11322 }
11323 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11324 ecode2 = SWIG_AsVal_int(obj1, &val2);
11325 if (!SWIG_IsOK(ecode2)) {
11326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11327 }
11328 arg2 = static_cast< int >(val2);
11329 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11330 if (!SWIG_IsOK(ecode3)) {
11331 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "3"" of type '" "bool""'");
11332 }
11333 arg3 = static_cast< bool >(val3);
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 (arg1)->SetFoldExpanded(arg2,arg3);
11337 wxPyEndAllowThreads(__tstate);
11338 if (PyErr_Occurred()) SWIG_fail;
11339 }
11340 resultobj = SWIG_Py_Void();
11341 return resultobj;
11342fail:
11343 return NULL;
11344}
11345
11346
11347SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11348 PyObject *resultobj = 0;
11349 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11350 int arg2 ;
11351 bool result;
11352 void *argp1 = 0 ;
11353 int res1 = 0 ;
11354 int val2 ;
11355 int ecode2 = 0 ;
11356 PyObject * obj0 = 0 ;
11357 PyObject * obj1 = 0 ;
11358 char * kwnames[] = {
11359 (char *) "self",(char *) "line", NULL
11360 };
11361
11362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
11363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11364 if (!SWIG_IsOK(res1)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11366 }
11367 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11368 ecode2 = SWIG_AsVal_int(obj1, &val2);
11369 if (!SWIG_IsOK(ecode2)) {
11370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11371 }
11372 arg2 = static_cast< int >(val2);
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 result = (bool)(arg1)->GetFoldExpanded(arg2);
11376 wxPyEndAllowThreads(__tstate);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
11379 {
11380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11381 }
11382 return resultobj;
11383fail:
11384 return NULL;
11385}
11386
11387
11388SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11389 PyObject *resultobj = 0;
11390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11391 int arg2 ;
11392 void *argp1 = 0 ;
11393 int res1 = 0 ;
11394 int val2 ;
11395 int ecode2 = 0 ;
11396 PyObject * obj0 = 0 ;
11397 PyObject * obj1 = 0 ;
11398 char * kwnames[] = {
11399 (char *) "self",(char *) "line", NULL
11400 };
11401
11402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) SWIG_fail;
11403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11404 if (!SWIG_IsOK(res1)) {
11405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11406 }
11407 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11408 ecode2 = SWIG_AsVal_int(obj1, &val2);
11409 if (!SWIG_IsOK(ecode2)) {
11410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "2"" of type '" "int""'");
11411 }
11412 arg2 = static_cast< int >(val2);
11413 {
11414 PyThreadState* __tstate = wxPyBeginAllowThreads();
11415 (arg1)->ToggleFold(arg2);
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
11419 resultobj = SWIG_Py_Void();
11420 return resultobj;
11421fail:
11422 return NULL;
11423}
11424
11425
11426SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11427 PyObject *resultobj = 0;
11428 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11429 int arg2 ;
11430 void *argp1 = 0 ;
11431 int res1 = 0 ;
11432 int val2 ;
11433 int ecode2 = 0 ;
11434 PyObject * obj0 = 0 ;
11435 PyObject * obj1 = 0 ;
11436 char * kwnames[] = {
11437 (char *) "self",(char *) "line", NULL
11438 };
11439
11440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11442 if (!SWIG_IsOK(res1)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11444 }
11445 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11446 ecode2 = SWIG_AsVal_int(obj1, &val2);
11447 if (!SWIG_IsOK(ecode2)) {
11448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
11449 }
11450 arg2 = static_cast< int >(val2);
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 (arg1)->EnsureVisible(arg2);
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 resultobj = SWIG_Py_Void();
11458 return resultobj;
11459fail:
11460 return NULL;
11461}
11462
11463
11464SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11465 PyObject *resultobj = 0;
11466 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11467 int arg2 ;
11468 void *argp1 = 0 ;
11469 int res1 = 0 ;
11470 int val2 ;
11471 int ecode2 = 0 ;
11472 PyObject * obj0 = 0 ;
11473 PyObject * obj1 = 0 ;
11474 char * kwnames[] = {
11475 (char *) "self",(char *) "flags", NULL
11476 };
11477
11478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11480 if (!SWIG_IsOK(res1)) {
11481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11482 }
11483 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11484 ecode2 = SWIG_AsVal_int(obj1, &val2);
11485 if (!SWIG_IsOK(ecode2)) {
11486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "2"" of type '" "int""'");
11487 }
11488 arg2 = static_cast< int >(val2);
11489 {
11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
11491 (arg1)->SetFoldFlags(arg2);
11492 wxPyEndAllowThreads(__tstate);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 }
11495 resultobj = SWIG_Py_Void();
11496 return resultobj;
11497fail:
11498 return NULL;
11499}
11500
11501
11502SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11503 PyObject *resultobj = 0;
11504 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11505 int arg2 ;
11506 void *argp1 = 0 ;
11507 int res1 = 0 ;
11508 int val2 ;
11509 int ecode2 = 0 ;
11510 PyObject * obj0 = 0 ;
11511 PyObject * obj1 = 0 ;
11512 char * kwnames[] = {
11513 (char *) "self",(char *) "line", NULL
11514 };
11515
11516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) SWIG_fail;
11517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11518 if (!SWIG_IsOK(res1)) {
11519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11520 }
11521 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11522 ecode2 = SWIG_AsVal_int(obj1, &val2);
11523 if (!SWIG_IsOK(ecode2)) {
11524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "2"" of type '" "int""'");
11525 }
11526 arg2 = static_cast< int >(val2);
11527 {
11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
11529 (arg1)->EnsureVisibleEnforcePolicy(arg2);
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 resultobj = SWIG_Py_Void();
11534 return resultobj;
11535fail:
11536 return NULL;
11537}
11538
11539
11540SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11541 PyObject *resultobj = 0;
11542 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11543 bool arg2 ;
11544 void *argp1 = 0 ;
11545 int res1 = 0 ;
11546 bool val2 ;
11547 int ecode2 = 0 ;
11548 PyObject * obj0 = 0 ;
11549 PyObject * obj1 = 0 ;
11550 char * kwnames[] = {
11551 (char *) "self",(char *) "tabIndents", NULL
11552 };
11553
11554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) SWIG_fail;
11555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11556 if (!SWIG_IsOK(res1)) {
11557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11558 }
11559 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11560 ecode2 = SWIG_AsVal_bool(obj1, &val2);
11561 if (!SWIG_IsOK(ecode2)) {
11562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "2"" of type '" "bool""'");
11563 }
11564 arg2 = static_cast< bool >(val2);
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 (arg1)->SetTabIndents(arg2);
11568 wxPyEndAllowThreads(__tstate);
11569 if (PyErr_Occurred()) SWIG_fail;
11570 }
11571 resultobj = SWIG_Py_Void();
11572 return resultobj;
11573fail:
11574 return NULL;
d14a1e28
RD
11575}
11576
11577
1bd55598
RD
11578SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11579 PyObject *resultobj = 0;
11580 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11581 bool result;
11582 void *argp1 = 0 ;
11583 int res1 = 0 ;
11584 PyObject *swig_obj[1] ;
11585
11586 if (!args) SWIG_fail;
11587 swig_obj[0] = args;
11588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11589 if (!SWIG_IsOK(res1)) {
11590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11591 }
11592 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 result = (bool)(arg1)->GetTabIndents();
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 {
11600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11601 }
11602 return resultobj;
11603fail:
11604 return NULL;
11605}
11606
11607
11608SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11609 PyObject *resultobj = 0;
11610 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11611 bool arg2 ;
11612 void *argp1 = 0 ;
11613 int res1 = 0 ;
11614 bool val2 ;
11615 int ecode2 = 0 ;
11616 PyObject * obj0 = 0 ;
11617 PyObject * obj1 = 0 ;
11618 char * kwnames[] = {
11619 (char *) "self",(char *) "bsUnIndents", NULL
11620 };
11621
11622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) SWIG_fail;
11623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11624 if (!SWIG_IsOK(res1)) {
11625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11626 }
11627 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11628 ecode2 = SWIG_AsVal_bool(obj1, &val2);
11629 if (!SWIG_IsOK(ecode2)) {
11630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "2"" of type '" "bool""'");
11631 }
11632 arg2 = static_cast< bool >(val2);
11633 {
11634 PyThreadState* __tstate = wxPyBeginAllowThreads();
11635 (arg1)->SetBackSpaceUnIndents(arg2);
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 resultobj = SWIG_Py_Void();
11640 return resultobj;
11641fail:
11642 return NULL;
d14a1e28
RD
11643}
11644
11645
1bd55598
RD
11646SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11647 PyObject *resultobj = 0;
11648 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11649 bool result;
11650 void *argp1 = 0 ;
11651 int res1 = 0 ;
11652 PyObject *swig_obj[1] ;
11653
11654 if (!args) SWIG_fail;
11655 swig_obj[0] = args;
11656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11657 if (!SWIG_IsOK(res1)) {
11658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11659 }
11660 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 result = (bool)(arg1)->GetBackSpaceUnIndents();
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) SWIG_fail;
11666 }
11667 {
11668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11669 }
11670 return resultobj;
11671fail:
11672 return NULL;
11673}
11674
11675
11676SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11677 PyObject *resultobj = 0;
11678 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11679 int arg2 ;
11680 void *argp1 = 0 ;
11681 int res1 = 0 ;
11682 int val2 ;
11683 int ecode2 = 0 ;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11686 char * kwnames[] = {
11687 (char *) "self",(char *) "periodMilliseconds", NULL
11688 };
11689
11690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) SWIG_fail;
11691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11692 if (!SWIG_IsOK(res1)) {
11693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11694 }
11695 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11696 ecode2 = SWIG_AsVal_int(obj1, &val2);
11697 if (!SWIG_IsOK(ecode2)) {
11698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "2"" of type '" "int""'");
11699 }
11700 arg2 = static_cast< int >(val2);
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 (arg1)->SetMouseDwellTime(arg2);
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 resultobj = SWIG_Py_Void();
11708 return resultobj;
11709fail:
11710 return NULL;
d14a1e28
RD
11711}
11712
11713
1bd55598
RD
11714SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11715 PyObject *resultobj = 0;
11716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11717 int result;
11718 void *argp1 = 0 ;
11719 int res1 = 0 ;
11720 PyObject *swig_obj[1] ;
11721
11722 if (!args) SWIG_fail;
11723 swig_obj[0] = args;
11724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11725 if (!SWIG_IsOK(res1)) {
11726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11727 }
11728 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 result = (int)(arg1)->GetMouseDwellTime();
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 resultobj = SWIG_From_int(static_cast< int >(result));
11736 return resultobj;
11737fail:
11738 return NULL;
11739}
11740
11741
11742SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11743 PyObject *resultobj = 0;
11744 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11745 int arg2 ;
11746 bool arg3 ;
11747 int result;
11748 void *argp1 = 0 ;
11749 int res1 = 0 ;
11750 int val2 ;
11751 int ecode2 = 0 ;
11752 bool val3 ;
11753 int ecode3 = 0 ;
11754 PyObject * obj0 = 0 ;
11755 PyObject * obj1 = 0 ;
11756 PyObject * obj2 = 0 ;
11757 char * kwnames[] = {
11758 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11759 };
11760
11761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11763 if (!SWIG_IsOK(res1)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11765 }
11766 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11767 ecode2 = SWIG_AsVal_int(obj1, &val2);
11768 if (!SWIG_IsOK(ecode2)) {
11769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "2"" of type '" "int""'");
11770 }
11771 arg2 = static_cast< int >(val2);
11772 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11773 if (!SWIG_IsOK(ecode3)) {
11774 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "3"" of type '" "bool""'");
11775 }
11776 arg3 = static_cast< bool >(val3);
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 result = (int)(arg1)->WordStartPosition(arg2,arg3);
11780 wxPyEndAllowThreads(__tstate);
11781 if (PyErr_Occurred()) SWIG_fail;
11782 }
11783 resultobj = SWIG_From_int(static_cast< int >(result));
11784 return resultobj;
11785fail:
11786 return NULL;
11787}
11788
11789
11790SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11791 PyObject *resultobj = 0;
11792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11793 int arg2 ;
11794 bool arg3 ;
11795 int result;
11796 void *argp1 = 0 ;
11797 int res1 = 0 ;
11798 int val2 ;
11799 int ecode2 = 0 ;
11800 bool val3 ;
11801 int ecode3 = 0 ;
11802 PyObject * obj0 = 0 ;
11803 PyObject * obj1 = 0 ;
11804 PyObject * obj2 = 0 ;
11805 char * kwnames[] = {
11806 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11807 };
11808
11809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11811 if (!SWIG_IsOK(res1)) {
11812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11813 }
11814 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11815 ecode2 = SWIG_AsVal_int(obj1, &val2);
11816 if (!SWIG_IsOK(ecode2)) {
11817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "2"" of type '" "int""'");
11818 }
11819 arg2 = static_cast< int >(val2);
11820 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11821 if (!SWIG_IsOK(ecode3)) {
11822 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "3"" of type '" "bool""'");
11823 }
11824 arg3 = static_cast< bool >(val3);
11825 {
11826 PyThreadState* __tstate = wxPyBeginAllowThreads();
11827 result = (int)(arg1)->WordEndPosition(arg2,arg3);
11828 wxPyEndAllowThreads(__tstate);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 }
11831 resultobj = SWIG_From_int(static_cast< int >(result));
11832 return resultobj;
11833fail:
11834 return NULL;
11835}
11836
11837
11838SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11839 PyObject *resultobj = 0;
11840 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11841 int arg2 ;
11842 void *argp1 = 0 ;
11843 int res1 = 0 ;
11844 int val2 ;
11845 int ecode2 = 0 ;
11846 PyObject * obj0 = 0 ;
11847 PyObject * obj1 = 0 ;
11848 char * kwnames[] = {
11849 (char *) "self",(char *) "mode", NULL
11850 };
11851
11852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
11853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11854 if (!SWIG_IsOK(res1)) {
11855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11856 }
11857 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11858 ecode2 = SWIG_AsVal_int(obj1, &val2);
11859 if (!SWIG_IsOK(ecode2)) {
11860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "2"" of type '" "int""'");
11861 }
11862 arg2 = static_cast< int >(val2);
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 (arg1)->SetWrapMode(arg2);
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 resultobj = SWIG_Py_Void();
11870 return resultobj;
11871fail:
11872 return NULL;
d14a1e28
RD
11873}
11874
11875
1bd55598
RD
11876SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11877 PyObject *resultobj = 0;
11878 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11879 int result;
11880 void *argp1 = 0 ;
11881 int res1 = 0 ;
11882 PyObject *swig_obj[1] ;
11883
11884 if (!args) SWIG_fail;
11885 swig_obj[0] = args;
11886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11887 if (!SWIG_IsOK(res1)) {
11888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11889 }
11890 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 result = (int)(arg1)->GetWrapMode();
11894 wxPyEndAllowThreads(__tstate);
11895 if (PyErr_Occurred()) SWIG_fail;
11896 }
11897 resultobj = SWIG_From_int(static_cast< int >(result));
11898 return resultobj;
11899fail:
11900 return NULL;
11901}
11902
11903
11904SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11905 PyObject *resultobj = 0;
11906 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11907 int arg2 ;
11908 void *argp1 = 0 ;
11909 int res1 = 0 ;
11910 int val2 ;
11911 int ecode2 = 0 ;
11912 PyObject * obj0 = 0 ;
11913 PyObject * obj1 = 0 ;
11914 char * kwnames[] = {
11915 (char *) "self",(char *) "wrapVisualFlags", NULL
11916 };
11917
11918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11920 if (!SWIG_IsOK(res1)) {
11921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11922 }
11923 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11924 ecode2 = SWIG_AsVal_int(obj1, &val2);
11925 if (!SWIG_IsOK(ecode2)) {
11926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "2"" of type '" "int""'");
11927 }
11928 arg2 = static_cast< int >(val2);
11929 {
11930 PyThreadState* __tstate = wxPyBeginAllowThreads();
11931 (arg1)->SetWrapVisualFlags(arg2);
11932 wxPyEndAllowThreads(__tstate);
11933 if (PyErr_Occurred()) SWIG_fail;
11934 }
11935 resultobj = SWIG_Py_Void();
11936 return resultobj;
11937fail:
11938 return NULL;
d14a1e28
RD
11939}
11940
11941
1bd55598
RD
11942SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11943 PyObject *resultobj = 0;
11944 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11945 int result;
11946 void *argp1 = 0 ;
11947 int res1 = 0 ;
11948 PyObject *swig_obj[1] ;
11949
11950 if (!args) SWIG_fail;
11951 swig_obj[0] = args;
11952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11953 if (!SWIG_IsOK(res1)) {
11954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11955 }
11956 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11957 {
11958 PyThreadState* __tstate = wxPyBeginAllowThreads();
11959 result = (int)(arg1)->GetWrapVisualFlags();
11960 wxPyEndAllowThreads(__tstate);
11961 if (PyErr_Occurred()) SWIG_fail;
11962 }
11963 resultobj = SWIG_From_int(static_cast< int >(result));
11964 return resultobj;
11965fail:
11966 return NULL;
11967}
11968
11969
11970SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11971 PyObject *resultobj = 0;
11972 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11973 int arg2 ;
11974 void *argp1 = 0 ;
11975 int res1 = 0 ;
11976 int val2 ;
11977 int ecode2 = 0 ;
11978 PyObject * obj0 = 0 ;
11979 PyObject * obj1 = 0 ;
11980 char * kwnames[] = {
11981 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
11982 };
11983
11984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) SWIG_fail;
11985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11986 if (!SWIG_IsOK(res1)) {
11987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11988 }
11989 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11990 ecode2 = SWIG_AsVal_int(obj1, &val2);
11991 if (!SWIG_IsOK(ecode2)) {
11992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "2"" of type '" "int""'");
11993 }
11994 arg2 = static_cast< int >(val2);
11995 {
11996 PyThreadState* __tstate = wxPyBeginAllowThreads();
11997 (arg1)->SetWrapVisualFlagsLocation(arg2);
11998 wxPyEndAllowThreads(__tstate);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 }
12001 resultobj = SWIG_Py_Void();
12002 return resultobj;
12003fail:
12004 return NULL;
d14a1e28
RD
12005}
12006
12007
1bd55598
RD
12008SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12009 PyObject *resultobj = 0;
12010 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12011 int result;
12012 void *argp1 = 0 ;
12013 int res1 = 0 ;
12014 PyObject *swig_obj[1] ;
12015
12016 if (!args) SWIG_fail;
12017 swig_obj[0] = args;
12018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12019 if (!SWIG_IsOK(res1)) {
12020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12021 }
12022 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 result = (int)(arg1)->GetWrapVisualFlagsLocation();
12026 wxPyEndAllowThreads(__tstate);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 resultobj = SWIG_From_int(static_cast< int >(result));
12030 return resultobj;
12031fail:
12032 return NULL;
12033}
12034
12035
12036SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12037 PyObject *resultobj = 0;
12038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12039 int arg2 ;
12040 void *argp1 = 0 ;
12041 int res1 = 0 ;
12042 int val2 ;
12043 int ecode2 = 0 ;
12044 PyObject * obj0 = 0 ;
12045 PyObject * obj1 = 0 ;
12046 char * kwnames[] = {
12047 (char *) "self",(char *) "indent", NULL
12048 };
12049
12050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) SWIG_fail;
12051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12052 if (!SWIG_IsOK(res1)) {
12053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12054 }
12055 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12056 ecode2 = SWIG_AsVal_int(obj1, &val2);
12057 if (!SWIG_IsOK(ecode2)) {
12058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "2"" of type '" "int""'");
12059 }
12060 arg2 = static_cast< int >(val2);
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 (arg1)->SetWrapStartIndent(arg2);
12064 wxPyEndAllowThreads(__tstate);
12065 if (PyErr_Occurred()) SWIG_fail;
12066 }
12067 resultobj = SWIG_Py_Void();
12068 return resultobj;
12069fail:
12070 return NULL;
d14a1e28
RD
12071}
12072
12073
1bd55598
RD
12074SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12075 PyObject *resultobj = 0;
12076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12077 int result;
12078 void *argp1 = 0 ;
12079 int res1 = 0 ;
12080 PyObject *swig_obj[1] ;
12081
12082 if (!args) SWIG_fail;
12083 swig_obj[0] = args;
12084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12085 if (!SWIG_IsOK(res1)) {
12086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12087 }
12088 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 result = (int)(arg1)->GetWrapStartIndent();
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 resultobj = SWIG_From_int(static_cast< int >(result));
12096 return resultobj;
12097fail:
12098 return NULL;
12099}
12100
12101
12102SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj = 0;
12104 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12105 int arg2 ;
12106 void *argp1 = 0 ;
12107 int res1 = 0 ;
12108 int val2 ;
12109 int ecode2 = 0 ;
12110 PyObject * obj0 = 0 ;
12111 PyObject * obj1 = 0 ;
12112 char * kwnames[] = {
12113 (char *) "self",(char *) "mode", NULL
12114 };
12115
12116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) SWIG_fail;
12117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12118 if (!SWIG_IsOK(res1)) {
12119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12120 }
12121 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12122 ecode2 = SWIG_AsVal_int(obj1, &val2);
12123 if (!SWIG_IsOK(ecode2)) {
12124 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "2"" of type '" "int""'");
12125 }
12126 arg2 = static_cast< int >(val2);
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 (arg1)->SetLayoutCache(arg2);
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 resultobj = SWIG_Py_Void();
12134 return resultobj;
12135fail:
12136 return NULL;
d14a1e28
RD
12137}
12138
12139
1bd55598
RD
12140SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12141 PyObject *resultobj = 0;
12142 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12143 int result;
12144 void *argp1 = 0 ;
12145 int res1 = 0 ;
12146 PyObject *swig_obj[1] ;
12147
12148 if (!args) SWIG_fail;
12149 swig_obj[0] = args;
12150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12151 if (!SWIG_IsOK(res1)) {
12152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12153 }
12154 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 result = (int)(arg1)->GetLayoutCache();
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 resultobj = SWIG_From_int(static_cast< int >(result));
12162 return resultobj;
12163fail:
12164 return NULL;
12165}
12166
12167
12168SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12169 PyObject *resultobj = 0;
12170 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12171 int arg2 ;
12172 void *argp1 = 0 ;
12173 int res1 = 0 ;
12174 int val2 ;
12175 int ecode2 = 0 ;
12176 PyObject * obj0 = 0 ;
12177 PyObject * obj1 = 0 ;
12178 char * kwnames[] = {
12179 (char *) "self",(char *) "pixelWidth", NULL
12180 };
12181
12182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) SWIG_fail;
12183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12184 if (!SWIG_IsOK(res1)) {
12185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12186 }
12187 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12188 ecode2 = SWIG_AsVal_int(obj1, &val2);
12189 if (!SWIG_IsOK(ecode2)) {
12190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "2"" of type '" "int""'");
12191 }
12192 arg2 = static_cast< int >(val2);
12193 {
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 (arg1)->SetScrollWidth(arg2);
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 resultobj = SWIG_Py_Void();
12200 return resultobj;
12201fail:
12202 return NULL;
d14a1e28
RD
12203}
12204
12205
1bd55598
RD
12206SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12207 PyObject *resultobj = 0;
12208 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12209 int result;
12210 void *argp1 = 0 ;
12211 int res1 = 0 ;
12212 PyObject *swig_obj[1] ;
12213
12214 if (!args) SWIG_fail;
12215 swig_obj[0] = args;
12216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12217 if (!SWIG_IsOK(res1)) {
12218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12219 }
12220 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 result = (int)(arg1)->GetScrollWidth();
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 resultobj = SWIG_From_int(static_cast< int >(result));
12228 return resultobj;
12229fail:
12230 return NULL;
12231}
12232
12233
12234SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12235 PyObject *resultobj = 0;
12236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12237 int arg2 ;
12238 wxString *arg3 = 0 ;
12239 int result;
12240 void *argp1 = 0 ;
12241 int res1 = 0 ;
12242 int val2 ;
12243 int ecode2 = 0 ;
12244 bool temp3 = false ;
12245 PyObject * obj0 = 0 ;
12246 PyObject * obj1 = 0 ;
12247 PyObject * obj2 = 0 ;
12248 char * kwnames[] = {
12249 (char *) "self",(char *) "style",(char *) "text", NULL
12250 };
12251
12252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12254 if (!SWIG_IsOK(res1)) {
12255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12256 }
12257 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12258 ecode2 = SWIG_AsVal_int(obj1, &val2);
12259 if (!SWIG_IsOK(ecode2)) {
12260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "2"" of type '" "int""'");
12261 }
12262 arg2 = static_cast< int >(val2);
12263 {
12264 arg3 = wxString_in_helper(obj2);
12265 if (arg3 == NULL) SWIG_fail;
12266 temp3 = true;
12267 }
12268 {
12269 PyThreadState* __tstate = wxPyBeginAllowThreads();
12270 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
12271 wxPyEndAllowThreads(__tstate);
12272 if (PyErr_Occurred()) SWIG_fail;
12273 }
12274 resultobj = SWIG_From_int(static_cast< int >(result));
12275 {
12276 if (temp3)
12277 delete arg3;
12278 }
12279 return resultobj;
12280fail:
12281 {
12282 if (temp3)
12283 delete arg3;
12284 }
12285 return NULL;
12286}
12287
12288
12289SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12290 PyObject *resultobj = 0;
12291 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12292 bool arg2 ;
12293 void *argp1 = 0 ;
12294 int res1 = 0 ;
12295 bool val2 ;
12296 int ecode2 = 0 ;
12297 PyObject * obj0 = 0 ;
12298 PyObject * obj1 = 0 ;
12299 char * kwnames[] = {
12300 (char *) "self",(char *) "endAtLastLine", NULL
12301 };
12302
12303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) SWIG_fail;
12304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12305 if (!SWIG_IsOK(res1)) {
12306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12307 }
12308 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12309 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12310 if (!SWIG_IsOK(ecode2)) {
12311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "2"" of type '" "bool""'");
12312 }
12313 arg2 = static_cast< bool >(val2);
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 (arg1)->SetEndAtLastLine(arg2);
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 resultobj = SWIG_Py_Void();
12321 return resultobj;
12322fail:
12323 return NULL;
d14a1e28
RD
12324}
12325
12326
1bd55598
RD
12327SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12328 PyObject *resultobj = 0;
12329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12330 bool result;
12331 void *argp1 = 0 ;
12332 int res1 = 0 ;
12333 PyObject *swig_obj[1] ;
12334
12335 if (!args) SWIG_fail;
12336 swig_obj[0] = args;
12337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12338 if (!SWIG_IsOK(res1)) {
12339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12340 }
12341 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 result = (bool)(arg1)->GetEndAtLastLine();
12345 wxPyEndAllowThreads(__tstate);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 }
12348 {
12349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12350 }
12351 return resultobj;
12352fail:
12353 return NULL;
12354}
12355
12356
12357SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12358 PyObject *resultobj = 0;
12359 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12360 int arg2 ;
12361 int result;
12362 void *argp1 = 0 ;
12363 int res1 = 0 ;
12364 int val2 ;
12365 int ecode2 = 0 ;
12366 PyObject * obj0 = 0 ;
12367 PyObject * obj1 = 0 ;
12368 char * kwnames[] = {
12369 (char *) "self",(char *) "line", NULL
12370 };
12371
12372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) SWIG_fail;
12373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12374 if (!SWIG_IsOK(res1)) {
12375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12376 }
12377 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12378 ecode2 = SWIG_AsVal_int(obj1, &val2);
12379 if (!SWIG_IsOK(ecode2)) {
12380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "2"" of type '" "int""'");
12381 }
12382 arg2 = static_cast< int >(val2);
12383 {
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 result = (int)(arg1)->TextHeight(arg2);
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 resultobj = SWIG_From_int(static_cast< int >(result));
12390 return resultobj;
12391fail:
12392 return NULL;
12393}
12394
12395
12396SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12397 PyObject *resultobj = 0;
12398 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12399 bool arg2 ;
12400 void *argp1 = 0 ;
12401 int res1 = 0 ;
12402 bool val2 ;
12403 int ecode2 = 0 ;
12404 PyObject * obj0 = 0 ;
12405 PyObject * obj1 = 0 ;
12406 char * kwnames[] = {
12407 (char *) "self",(char *) "show", NULL
12408 };
12409
12410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) 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_SetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12414 }
12415 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12416 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12417 if (!SWIG_IsOK(ecode2)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "2"" of type '" "bool""'");
12419 }
12420 arg2 = static_cast< bool >(val2);
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 (arg1)->SetUseVerticalScrollBar(arg2);
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 resultobj = SWIG_Py_Void();
12428 return resultobj;
12429fail:
12430 return NULL;
d14a1e28
RD
12431}
12432
12433
1bd55598
RD
12434SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12435 PyObject *resultobj = 0;
12436 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12437 bool result;
12438 void *argp1 = 0 ;
12439 int res1 = 0 ;
12440 PyObject *swig_obj[1] ;
12441
12442 if (!args) SWIG_fail;
12443 swig_obj[0] = args;
12444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12445 if (!SWIG_IsOK(res1)) {
12446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12447 }
12448 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 result = (bool)(arg1)->GetUseVerticalScrollBar();
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 {
12456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12457 }
12458 return resultobj;
12459fail:
12460 return NULL;
12461}
12462
12463
12464SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12465 PyObject *resultobj = 0;
12466 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12467 wxString *arg2 = 0 ;
12468 void *argp1 = 0 ;
12469 int res1 = 0 ;
12470 bool temp2 = false ;
12471 PyObject * obj0 = 0 ;
12472 PyObject * obj1 = 0 ;
12473 char * kwnames[] = {
12474 (char *) "self",(char *) "text", NULL
12475 };
12476
12477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12479 if (!SWIG_IsOK(res1)) {
12480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12481 }
12482 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12483 {
12484 arg2 = wxString_in_helper(obj1);
12485 if (arg2 == NULL) SWIG_fail;
12486 temp2 = true;
12487 }
12488 {
12489 PyThreadState* __tstate = wxPyBeginAllowThreads();
12490 (arg1)->AppendText((wxString const &)*arg2);
12491 wxPyEndAllowThreads(__tstate);
12492 if (PyErr_Occurred()) SWIG_fail;
12493 }
12494 resultobj = SWIG_Py_Void();
12495 {
12496 if (temp2)
12497 delete arg2;
12498 }
12499 return resultobj;
12500fail:
12501 {
12502 if (temp2)
12503 delete arg2;
12504 }
12505 return NULL;
d14a1e28
RD
12506}
12507
12508
1bd55598
RD
12509SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12510 PyObject *resultobj = 0;
12511 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12512 bool result;
12513 void *argp1 = 0 ;
12514 int res1 = 0 ;
12515 PyObject *swig_obj[1] ;
12516
12517 if (!args) SWIG_fail;
12518 swig_obj[0] = args;
12519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12520 if (!SWIG_IsOK(res1)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12522 }
12523 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12524 {
12525 PyThreadState* __tstate = wxPyBeginAllowThreads();
12526 result = (bool)(arg1)->GetTwoPhaseDraw();
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 {
12531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12532 }
12533 return resultobj;
12534fail:
12535 return NULL;
12536}
12537
12538
12539SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12540 PyObject *resultobj = 0;
12541 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12542 bool arg2 ;
12543 void *argp1 = 0 ;
12544 int res1 = 0 ;
12545 bool val2 ;
12546 int ecode2 = 0 ;
12547 PyObject * obj0 = 0 ;
12548 PyObject * obj1 = 0 ;
12549 char * kwnames[] = {
12550 (char *) "self",(char *) "twoPhase", NULL
12551 };
12552
12553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) SWIG_fail;
12554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12555 if (!SWIG_IsOK(res1)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12557 }
12558 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12559 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12560 if (!SWIG_IsOK(ecode2)) {
12561 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "2"" of type '" "bool""'");
12562 }
12563 arg2 = static_cast< bool >(val2);
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 (arg1)->SetTwoPhaseDraw(arg2);
12567 wxPyEndAllowThreads(__tstate);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 }
12570 resultobj = SWIG_Py_Void();
12571 return resultobj;
12572fail:
12573 return NULL;
d14a1e28
RD
12574}
12575
12576
1bd55598
RD
12577SWIGINTERN PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12578 PyObject *resultobj = 0;
12579 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12580 void *argp1 = 0 ;
12581 int res1 = 0 ;
12582 PyObject *swig_obj[1] ;
12583
12584 if (!args) SWIG_fail;
12585 swig_obj[0] = args;
12586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12587 if (!SWIG_IsOK(res1)) {
12588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TargetFromSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12589 }
12590 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12591 {
12592 PyThreadState* __tstate = wxPyBeginAllowThreads();
12593 (arg1)->TargetFromSelection();
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 resultobj = SWIG_Py_Void();
12598 return resultobj;
12599fail:
12600 return NULL;
d14a1e28
RD
12601}
12602
12603
1bd55598
RD
12604SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12605 PyObject *resultobj = 0;
12606 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12607 void *argp1 = 0 ;
12608 int res1 = 0 ;
12609 PyObject *swig_obj[1] ;
12610
12611 if (!args) SWIG_fail;
12612 swig_obj[0] = args;
12613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12614 if (!SWIG_IsOK(res1)) {
12615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesJoin" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12616 }
12617 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12618 {
12619 PyThreadState* __tstate = wxPyBeginAllowThreads();
12620 (arg1)->LinesJoin();
12621 wxPyEndAllowThreads(__tstate);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 resultobj = SWIG_Py_Void();
12625 return resultobj;
12626fail:
12627 return NULL;
12628}
12629
12630
12631SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12632 PyObject *resultobj = 0;
12633 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12634 int arg2 ;
12635 void *argp1 = 0 ;
12636 int res1 = 0 ;
12637 int val2 ;
12638 int ecode2 = 0 ;
12639 PyObject * obj0 = 0 ;
12640 PyObject * obj1 = 0 ;
12641 char * kwnames[] = {
12642 (char *) "self",(char *) "pixelWidth", NULL
12643 };
12644
12645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) SWIG_fail;
12646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12647 if (!SWIG_IsOK(res1)) {
12648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12649 }
12650 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12651 ecode2 = SWIG_AsVal_int(obj1, &val2);
12652 if (!SWIG_IsOK(ecode2)) {
12653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "2"" of type '" "int""'");
12654 }
12655 arg2 = static_cast< int >(val2);
12656 {
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
12658 (arg1)->LinesSplit(arg2);
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 resultobj = SWIG_Py_Void();
12663 return resultobj;
12664fail:
12665 return NULL;
12666}
12667
12668
12669SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12670 PyObject *resultobj = 0;
12671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12672 bool arg2 ;
12673 wxColour *arg3 = 0 ;
12674 void *argp1 = 0 ;
12675 int res1 = 0 ;
12676 bool val2 ;
12677 int ecode2 = 0 ;
12678 wxColour temp3 ;
12679 PyObject * obj0 = 0 ;
12680 PyObject * obj1 = 0 ;
12681 PyObject * obj2 = 0 ;
12682 char * kwnames[] = {
12683 (char *) "self",(char *) "useSetting",(char *) "back", NULL
12684 };
12685
12686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12688 if (!SWIG_IsOK(res1)) {
12689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12690 }
12691 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12692 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12693 if (!SWIG_IsOK(ecode2)) {
12694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "2"" of type '" "bool""'");
12695 }
12696 arg2 = static_cast< bool >(val2);
12697 {
12698 arg3 = &temp3;
12699 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12700 }
12701 {
12702 PyThreadState* __tstate = wxPyBeginAllowThreads();
12703 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
12704 wxPyEndAllowThreads(__tstate);
12705 if (PyErr_Occurred()) SWIG_fail;
12706 }
12707 resultobj = SWIG_Py_Void();
12708 return resultobj;
12709fail:
12710 return NULL;
12711}
12712
12713
12714SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12715 PyObject *resultobj = 0;
12716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12717 bool arg2 ;
12718 wxColour *arg3 = 0 ;
12719 void *argp1 = 0 ;
12720 int res1 = 0 ;
12721 bool val2 ;
12722 int ecode2 = 0 ;
12723 wxColour temp3 ;
12724 PyObject * obj0 = 0 ;
12725 PyObject * obj1 = 0 ;
12726 PyObject * obj2 = 0 ;
12727 char * kwnames[] = {
12728 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
12729 };
12730
12731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12733 if (!SWIG_IsOK(res1)) {
12734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12735 }
12736 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12737 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12738 if (!SWIG_IsOK(ecode2)) {
12739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "2"" of type '" "bool""'");
12740 }
12741 arg2 = static_cast< bool >(val2);
12742 {
12743 arg3 = &temp3;
12744 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12745 }
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
12749 wxPyEndAllowThreads(__tstate);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 resultobj = SWIG_Py_Void();
12753 return resultobj;
12754fail:
12755 return NULL;
d14a1e28
RD
12756}
12757
12758
1bd55598
RD
12759SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12760 PyObject *resultobj = 0;
12761 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12762 void *argp1 = 0 ;
12763 int res1 = 0 ;
12764 PyObject *swig_obj[1] ;
12765
12766 if (!args) SWIG_fail;
12767 swig_obj[0] = args;
12768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12769 if (!SWIG_IsOK(res1)) {
12770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12771 }
12772 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 (arg1)->LineDown();
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
12779 resultobj = SWIG_Py_Void();
12780 return resultobj;
12781fail:
12782 return NULL;
d14a1e28
RD
12783}
12784
12785
1bd55598
RD
12786SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12787 PyObject *resultobj = 0;
12788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12789 void *argp1 = 0 ;
12790 int res1 = 0 ;
12791 PyObject *swig_obj[1] ;
12792
12793 if (!args) SWIG_fail;
12794 swig_obj[0] = args;
12795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12796 if (!SWIG_IsOK(res1)) {
12797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12798 }
12799 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12800 {
12801 PyThreadState* __tstate = wxPyBeginAllowThreads();
12802 (arg1)->LineDownExtend();
12803 wxPyEndAllowThreads(__tstate);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 }
12806 resultobj = SWIG_Py_Void();
12807 return resultobj;
12808fail:
12809 return NULL;
d14a1e28
RD
12810}
12811
12812
1bd55598
RD
12813SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12814 PyObject *resultobj = 0;
12815 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12816 void *argp1 = 0 ;
12817 int res1 = 0 ;
12818 PyObject *swig_obj[1] ;
12819
12820 if (!args) SWIG_fail;
12821 swig_obj[0] = args;
12822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12823 if (!SWIG_IsOK(res1)) {
12824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12825 }
12826 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12827 {
12828 PyThreadState* __tstate = wxPyBeginAllowThreads();
12829 (arg1)->LineUp();
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
12833 resultobj = SWIG_Py_Void();
12834 return resultobj;
12835fail:
12836 return NULL;
d14a1e28
RD
12837}
12838
12839
1bd55598
RD
12840SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12841 PyObject *resultobj = 0;
12842 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12843 void *argp1 = 0 ;
12844 int res1 = 0 ;
12845 PyObject *swig_obj[1] ;
12846
12847 if (!args) SWIG_fail;
12848 swig_obj[0] = args;
12849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12850 if (!SWIG_IsOK(res1)) {
12851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12852 }
12853 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12854 {
12855 PyThreadState* __tstate = wxPyBeginAllowThreads();
12856 (arg1)->LineUpExtend();
12857 wxPyEndAllowThreads(__tstate);
12858 if (PyErr_Occurred()) SWIG_fail;
12859 }
12860 resultobj = SWIG_Py_Void();
12861 return resultobj;
12862fail:
12863 return NULL;
d14a1e28
RD
12864}
12865
12866
1bd55598
RD
12867SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12868 PyObject *resultobj = 0;
12869 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12870 void *argp1 = 0 ;
12871 int res1 = 0 ;
12872 PyObject *swig_obj[1] ;
12873
12874 if (!args) SWIG_fail;
12875 swig_obj[0] = args;
12876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12877 if (!SWIG_IsOK(res1)) {
12878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12879 }
12880 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12881 {
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 (arg1)->CharLeft();
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 resultobj = SWIG_Py_Void();
12888 return resultobj;
12889fail:
12890 return NULL;
d14a1e28
RD
12891}
12892
12893
1bd55598
RD
12894SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12895 PyObject *resultobj = 0;
12896 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12897 void *argp1 = 0 ;
12898 int res1 = 0 ;
12899 PyObject *swig_obj[1] ;
12900
12901 if (!args) SWIG_fail;
12902 swig_obj[0] = args;
12903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12904 if (!SWIG_IsOK(res1)) {
12905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12906 }
12907 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 (arg1)->CharLeftExtend();
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 resultobj = SWIG_Py_Void();
12915 return resultobj;
12916fail:
12917 return NULL;
d14a1e28
RD
12918}
12919
12920
1bd55598
RD
12921SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12922 PyObject *resultobj = 0;
12923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12924 void *argp1 = 0 ;
12925 int res1 = 0 ;
12926 PyObject *swig_obj[1] ;
12927
12928 if (!args) SWIG_fail;
12929 swig_obj[0] = args;
12930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12931 if (!SWIG_IsOK(res1)) {
12932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12933 }
12934 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12935 {
12936 PyThreadState* __tstate = wxPyBeginAllowThreads();
12937 (arg1)->CharRight();
12938 wxPyEndAllowThreads(__tstate);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 }
12941 resultobj = SWIG_Py_Void();
12942 return resultobj;
12943fail:
12944 return NULL;
d14a1e28
RD
12945}
12946
12947
1bd55598
RD
12948SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12949 PyObject *resultobj = 0;
12950 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12951 void *argp1 = 0 ;
12952 int res1 = 0 ;
12953 PyObject *swig_obj[1] ;
12954
12955 if (!args) SWIG_fail;
12956 swig_obj[0] = args;
12957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12958 if (!SWIG_IsOK(res1)) {
12959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12960 }
12961 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12962 {
12963 PyThreadState* __tstate = wxPyBeginAllowThreads();
12964 (arg1)->CharRightExtend();
12965 wxPyEndAllowThreads(__tstate);
12966 if (PyErr_Occurred()) SWIG_fail;
12967 }
12968 resultobj = SWIG_Py_Void();
12969 return resultobj;
12970fail:
12971 return NULL;
d14a1e28
RD
12972}
12973
12974
1bd55598
RD
12975SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12976 PyObject *resultobj = 0;
12977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12978 void *argp1 = 0 ;
12979 int res1 = 0 ;
12980 PyObject *swig_obj[1] ;
12981
12982 if (!args) SWIG_fail;
12983 swig_obj[0] = args;
12984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12985 if (!SWIG_IsOK(res1)) {
12986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12987 }
12988 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12989 {
12990 PyThreadState* __tstate = wxPyBeginAllowThreads();
12991 (arg1)->WordLeft();
12992 wxPyEndAllowThreads(__tstate);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 }
12995 resultobj = SWIG_Py_Void();
12996 return resultobj;
12997fail:
12998 return NULL;
d14a1e28
RD
12999}
13000
13001
1bd55598
RD
13002SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13003 PyObject *resultobj = 0;
13004 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13005 void *argp1 = 0 ;
13006 int res1 = 0 ;
13007 PyObject *swig_obj[1] ;
13008
13009 if (!args) SWIG_fail;
13010 swig_obj[0] = args;
13011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13012 if (!SWIG_IsOK(res1)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13014 }
13015 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 (arg1)->WordLeftExtend();
13019 wxPyEndAllowThreads(__tstate);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 resultobj = SWIG_Py_Void();
13023 return resultobj;
13024fail:
13025 return NULL;
d14a1e28
RD
13026}
13027
13028
1bd55598
RD
13029SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13030 PyObject *resultobj = 0;
13031 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13032 void *argp1 = 0 ;
13033 int res1 = 0 ;
13034 PyObject *swig_obj[1] ;
13035
13036 if (!args) SWIG_fail;
13037 swig_obj[0] = args;
13038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13039 if (!SWIG_IsOK(res1)) {
13040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13041 }
13042 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13043 {
13044 PyThreadState* __tstate = wxPyBeginAllowThreads();
13045 (arg1)->WordRight();
13046 wxPyEndAllowThreads(__tstate);
13047 if (PyErr_Occurred()) SWIG_fail;
13048 }
13049 resultobj = SWIG_Py_Void();
13050 return resultobj;
13051fail:
13052 return NULL;
d14a1e28
RD
13053}
13054
13055
1bd55598
RD
13056SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13057 PyObject *resultobj = 0;
13058 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13059 void *argp1 = 0 ;
13060 int res1 = 0 ;
13061 PyObject *swig_obj[1] ;
13062
13063 if (!args) SWIG_fail;
13064 swig_obj[0] = args;
13065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13066 if (!SWIG_IsOK(res1)) {
13067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13068 }
13069 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13070 {
13071 PyThreadState* __tstate = wxPyBeginAllowThreads();
13072 (arg1)->WordRightExtend();
13073 wxPyEndAllowThreads(__tstate);
13074 if (PyErr_Occurred()) SWIG_fail;
13075 }
13076 resultobj = SWIG_Py_Void();
13077 return resultobj;
13078fail:
13079 return NULL;
d14a1e28
RD
13080}
13081
13082
1bd55598
RD
13083SWIGINTERN PyObject *_wrap_StyledTextCtrl_Home(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13084 PyObject *resultobj = 0;
13085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13086 void *argp1 = 0 ;
13087 int res1 = 0 ;
13088 PyObject *swig_obj[1] ;
13089
13090 if (!args) SWIG_fail;
13091 swig_obj[0] = args;
13092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13093 if (!SWIG_IsOK(res1)) {
13094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Home" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13095 }
13096 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 (arg1)->Home();
13100 wxPyEndAllowThreads(__tstate);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
13103 resultobj = SWIG_Py_Void();
13104 return resultobj;
13105fail:
13106 return NULL;
d14a1e28
RD
13107}
13108
13109
1bd55598
RD
13110SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13111 PyObject *resultobj = 0;
13112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13113 void *argp1 = 0 ;
13114 int res1 = 0 ;
13115 PyObject *swig_obj[1] ;
13116
13117 if (!args) SWIG_fail;
13118 swig_obj[0] = args;
13119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13120 if (!SWIG_IsOK(res1)) {
13121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13122 }
13123 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13124 {
13125 PyThreadState* __tstate = wxPyBeginAllowThreads();
13126 (arg1)->HomeExtend();
13127 wxPyEndAllowThreads(__tstate);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
13130 resultobj = SWIG_Py_Void();
13131 return resultobj;
13132fail:
13133 return NULL;
d14a1e28
RD
13134}
13135
13136
1bd55598
RD
13137SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13138 PyObject *resultobj = 0;
13139 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13140 void *argp1 = 0 ;
13141 int res1 = 0 ;
13142 PyObject *swig_obj[1] ;
13143
13144 if (!args) SWIG_fail;
13145 swig_obj[0] = args;
13146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13147 if (!SWIG_IsOK(res1)) {
13148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13149 }
13150 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13151 {
13152 PyThreadState* __tstate = wxPyBeginAllowThreads();
13153 (arg1)->LineEnd();
13154 wxPyEndAllowThreads(__tstate);
13155 if (PyErr_Occurred()) SWIG_fail;
13156 }
13157 resultobj = SWIG_Py_Void();
13158 return resultobj;
13159fail:
13160 return NULL;
d14a1e28
RD
13161}
13162
13163
1bd55598
RD
13164SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13165 PyObject *resultobj = 0;
13166 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13167 void *argp1 = 0 ;
13168 int res1 = 0 ;
13169 PyObject *swig_obj[1] ;
13170
13171 if (!args) SWIG_fail;
13172 swig_obj[0] = args;
13173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13174 if (!SWIG_IsOK(res1)) {
13175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13176 }
13177 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13178 {
13179 PyThreadState* __tstate = wxPyBeginAllowThreads();
13180 (arg1)->LineEndExtend();
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 resultobj = SWIG_Py_Void();
13185 return resultobj;
13186fail:
13187 return NULL;
d14a1e28
RD
13188}
13189
13190
1bd55598
RD
13191SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13192 PyObject *resultobj = 0;
13193 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13194 void *argp1 = 0 ;
13195 int res1 = 0 ;
13196 PyObject *swig_obj[1] ;
13197
13198 if (!args) SWIG_fail;
13199 swig_obj[0] = args;
13200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13201 if (!SWIG_IsOK(res1)) {
13202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13203 }
13204 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13205 {
13206 PyThreadState* __tstate = wxPyBeginAllowThreads();
13207 (arg1)->DocumentStart();
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 resultobj = SWIG_Py_Void();
13212 return resultobj;
13213fail:
13214 return NULL;
d14a1e28
RD
13215}
13216
13217
1bd55598
RD
13218SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13219 PyObject *resultobj = 0;
13220 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13221 void *argp1 = 0 ;
13222 int res1 = 0 ;
13223 PyObject *swig_obj[1] ;
13224
13225 if (!args) SWIG_fail;
13226 swig_obj[0] = args;
13227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13228 if (!SWIG_IsOK(res1)) {
13229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStartExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13230 }
13231 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 (arg1)->DocumentStartExtend();
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 resultobj = SWIG_Py_Void();
13239 return resultobj;
13240fail:
13241 return NULL;
d14a1e28
RD
13242}
13243
13244
1bd55598
RD
13245SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13246 PyObject *resultobj = 0;
13247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13248 void *argp1 = 0 ;
13249 int res1 = 0 ;
13250 PyObject *swig_obj[1] ;
13251
13252 if (!args) SWIG_fail;
13253 swig_obj[0] = args;
13254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13255 if (!SWIG_IsOK(res1)) {
13256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13257 }
13258 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13259 {
13260 PyThreadState* __tstate = wxPyBeginAllowThreads();
13261 (arg1)->DocumentEnd();
13262 wxPyEndAllowThreads(__tstate);
13263 if (PyErr_Occurred()) SWIG_fail;
13264 }
13265 resultobj = SWIG_Py_Void();
13266 return resultobj;
13267fail:
13268 return NULL;
d14a1e28
RD
13269}
13270
13271
1bd55598
RD
13272SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13273 PyObject *resultobj = 0;
13274 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13275 void *argp1 = 0 ;
13276 int res1 = 0 ;
13277 PyObject *swig_obj[1] ;
13278
13279 if (!args) SWIG_fail;
13280 swig_obj[0] = args;
13281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13282 if (!SWIG_IsOK(res1)) {
13283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13284 }
13285 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 (arg1)->DocumentEndExtend();
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 resultobj = SWIG_Py_Void();
13293 return resultobj;
13294fail:
13295 return NULL;
d14a1e28
RD
13296}
13297
13298
1bd55598
RD
13299SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13300 PyObject *resultobj = 0;
13301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13302 void *argp1 = 0 ;
13303 int res1 = 0 ;
13304 PyObject *swig_obj[1] ;
13305
13306 if (!args) SWIG_fail;
13307 swig_obj[0] = args;
13308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13309 if (!SWIG_IsOK(res1)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13311 }
13312 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13313 {
13314 PyThreadState* __tstate = wxPyBeginAllowThreads();
13315 (arg1)->PageUp();
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
13319 resultobj = SWIG_Py_Void();
13320 return resultobj;
13321fail:
13322 return NULL;
d14a1e28
RD
13323}
13324
13325
1bd55598
RD
13326SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13327 PyObject *resultobj = 0;
13328 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13329 void *argp1 = 0 ;
13330 int res1 = 0 ;
13331 PyObject *swig_obj[1] ;
13332
13333 if (!args) SWIG_fail;
13334 swig_obj[0] = args;
13335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13336 if (!SWIG_IsOK(res1)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13338 }
13339 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 (arg1)->PageUpExtend();
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 resultobj = SWIG_Py_Void();
13347 return resultobj;
13348fail:
13349 return NULL;
d14a1e28
RD
13350}
13351
13352
1bd55598
RD
13353SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13354 PyObject *resultobj = 0;
13355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13356 void *argp1 = 0 ;
13357 int res1 = 0 ;
13358 PyObject *swig_obj[1] ;
13359
13360 if (!args) SWIG_fail;
13361 swig_obj[0] = args;
13362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13363 if (!SWIG_IsOK(res1)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13365 }
13366 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 (arg1)->PageDown();
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
13373 resultobj = SWIG_Py_Void();
13374 return resultobj;
13375fail:
13376 return NULL;
d14a1e28
RD
13377}
13378
13379
1bd55598
RD
13380SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13381 PyObject *resultobj = 0;
13382 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13383 void *argp1 = 0 ;
13384 int res1 = 0 ;
13385 PyObject *swig_obj[1] ;
13386
13387 if (!args) SWIG_fail;
13388 swig_obj[0] = args;
13389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13390 if (!SWIG_IsOK(res1)) {
13391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13392 }
13393 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13394 {
13395 PyThreadState* __tstate = wxPyBeginAllowThreads();
13396 (arg1)->PageDownExtend();
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 resultobj = SWIG_Py_Void();
13401 return resultobj;
13402fail:
13403 return NULL;
d14a1e28
RD
13404}
13405
13406
1bd55598
RD
13407SWIGINTERN PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13408 PyObject *resultobj = 0;
13409 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13410 void *argp1 = 0 ;
13411 int res1 = 0 ;
13412 PyObject *swig_obj[1] ;
13413
13414 if (!args) SWIG_fail;
13415 swig_obj[0] = args;
13416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13417 if (!SWIG_IsOK(res1)) {
13418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EditToggleOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13419 }
13420 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13421 {
13422 PyThreadState* __tstate = wxPyBeginAllowThreads();
13423 (arg1)->EditToggleOvertype();
13424 wxPyEndAllowThreads(__tstate);
13425 if (PyErr_Occurred()) SWIG_fail;
13426 }
13427 resultobj = SWIG_Py_Void();
13428 return resultobj;
13429fail:
13430 return NULL;
d14a1e28
RD
13431}
13432
13433
1bd55598
RD
13434SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13435 PyObject *resultobj = 0;
13436 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13437 void *argp1 = 0 ;
13438 int res1 = 0 ;
13439 PyObject *swig_obj[1] ;
13440
13441 if (!args) SWIG_fail;
13442 swig_obj[0] = args;
13443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13444 if (!SWIG_IsOK(res1)) {
13445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13446 }
13447 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 (arg1)->Cancel();
13451 wxPyEndAllowThreads(__tstate);
13452 if (PyErr_Occurred()) SWIG_fail;
13453 }
13454 resultobj = SWIG_Py_Void();
13455 return resultobj;
13456fail:
13457 return NULL;
d14a1e28
RD
13458}
13459
13460
1bd55598
RD
13461SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13462 PyObject *resultobj = 0;
13463 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13464 void *argp1 = 0 ;
13465 int res1 = 0 ;
13466 PyObject *swig_obj[1] ;
13467
13468 if (!args) SWIG_fail;
13469 swig_obj[0] = args;
13470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13471 if (!SWIG_IsOK(res1)) {
13472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13473 }
13474 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 (arg1)->DeleteBack();
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
13481 resultobj = SWIG_Py_Void();
13482 return resultobj;
13483fail:
13484 return NULL;
d14a1e28
RD
13485}
13486
13487
1bd55598
RD
13488SWIGINTERN PyObject *_wrap_StyledTextCtrl_Tab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13489 PyObject *resultobj = 0;
13490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13491 void *argp1 = 0 ;
13492 int res1 = 0 ;
13493 PyObject *swig_obj[1] ;
13494
13495 if (!args) SWIG_fail;
13496 swig_obj[0] = args;
13497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13498 if (!SWIG_IsOK(res1)) {
13499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Tab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13500 }
13501 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 (arg1)->Tab();
13505 wxPyEndAllowThreads(__tstate);
13506 if (PyErr_Occurred()) SWIG_fail;
13507 }
13508 resultobj = SWIG_Py_Void();
13509 return resultobj;
13510fail:
13511 return NULL;
d14a1e28
RD
13512}
13513
13514
1bd55598
RD
13515SWIGINTERN PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13516 PyObject *resultobj = 0;
13517 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13518 void *argp1 = 0 ;
13519 int res1 = 0 ;
13520 PyObject *swig_obj[1] ;
13521
13522 if (!args) SWIG_fail;
13523 swig_obj[0] = args;
13524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13525 if (!SWIG_IsOK(res1)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BackTab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13527 }
13528 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 (arg1)->BackTab();
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 resultobj = SWIG_Py_Void();
13536 return resultobj;
13537fail:
13538 return NULL;
d14a1e28
RD
13539}
13540
13541
1bd55598
RD
13542SWIGINTERN PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13543 PyObject *resultobj = 0;
13544 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13545 void *argp1 = 0 ;
13546 int res1 = 0 ;
13547 PyObject *swig_obj[1] ;
13548
13549 if (!args) SWIG_fail;
13550 swig_obj[0] = args;
13551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13552 if (!SWIG_IsOK(res1)) {
13553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_NewLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13554 }
13555 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13556 {
13557 PyThreadState* __tstate = wxPyBeginAllowThreads();
13558 (arg1)->NewLine();
13559 wxPyEndAllowThreads(__tstate);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 resultobj = SWIG_Py_Void();
13563 return resultobj;
13564fail:
13565 return NULL;
d14a1e28
RD
13566}
13567
13568
1bd55598
RD
13569SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13570 PyObject *resultobj = 0;
13571 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13572 void *argp1 = 0 ;
13573 int res1 = 0 ;
13574 PyObject *swig_obj[1] ;
13575
13576 if (!args) SWIG_fail;
13577 swig_obj[0] = args;
13578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13579 if (!SWIG_IsOK(res1)) {
13580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormFeed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13581 }
13582 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 (arg1)->FormFeed();
13586 wxPyEndAllowThreads(__tstate);
13587 if (PyErr_Occurred()) SWIG_fail;
13588 }
13589 resultobj = SWIG_Py_Void();
13590 return resultobj;
13591fail:
13592 return NULL;
d14a1e28
RD
13593}
13594
13595
1bd55598
RD
13596SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13597 PyObject *resultobj = 0;
13598 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13599 void *argp1 = 0 ;
13600 int res1 = 0 ;
13601 PyObject *swig_obj[1] ;
13602
13603 if (!args) SWIG_fail;
13604 swig_obj[0] = args;
13605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13606 if (!SWIG_IsOK(res1)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHome" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13608 }
13609 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13610 {
13611 PyThreadState* __tstate = wxPyBeginAllowThreads();
13612 (arg1)->VCHome();
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 resultobj = SWIG_Py_Void();
13617 return resultobj;
13618fail:
13619 return NULL;
d14a1e28
RD
13620}
13621
13622
1bd55598
RD
13623SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13624 PyObject *resultobj = 0;
13625 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13626 void *argp1 = 0 ;
13627 int res1 = 0 ;
13628 PyObject *swig_obj[1] ;
13629
13630 if (!args) SWIG_fail;
13631 swig_obj[0] = args;
13632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13633 if (!SWIG_IsOK(res1)) {
13634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13635 }
13636 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 (arg1)->VCHomeExtend();
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 resultobj = SWIG_Py_Void();
13644 return resultobj;
13645fail:
13646 return NULL;
d14a1e28
RD
13647}
13648
13649
1bd55598
RD
13650SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13651 PyObject *resultobj = 0;
13652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13653 void *argp1 = 0 ;
13654 int res1 = 0 ;
13655 PyObject *swig_obj[1] ;
13656
13657 if (!args) SWIG_fail;
13658 swig_obj[0] = args;
13659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13660 if (!SWIG_IsOK(res1)) {
13661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomIn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13662 }
13663 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 (arg1)->ZoomIn();
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 resultobj = SWIG_Py_Void();
13671 return resultobj;
13672fail:
13673 return NULL;
d14a1e28
RD
13674}
13675
13676
1bd55598
RD
13677SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13678 PyObject *resultobj = 0;
13679 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13680 void *argp1 = 0 ;
13681 int res1 = 0 ;
13682 PyObject *swig_obj[1] ;
13683
13684 if (!args) SWIG_fail;
13685 swig_obj[0] = args;
13686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13687 if (!SWIG_IsOK(res1)) {
13688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomOut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13689 }
13690 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13691 {
13692 PyThreadState* __tstate = wxPyBeginAllowThreads();
13693 (arg1)->ZoomOut();
13694 wxPyEndAllowThreads(__tstate);
13695 if (PyErr_Occurred()) SWIG_fail;
13696 }
13697 resultobj = SWIG_Py_Void();
13698 return resultobj;
13699fail:
13700 return NULL;
d14a1e28
RD
13701}
13702
13703
1bd55598
RD
13704SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13705 PyObject *resultobj = 0;
13706 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13707 void *argp1 = 0 ;
13708 int res1 = 0 ;
13709 PyObject *swig_obj[1] ;
13710
13711 if (!args) SWIG_fail;
13712 swig_obj[0] = args;
13713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13714 if (!SWIG_IsOK(res1)) {
13715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13716 }
13717 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13718 {
13719 PyThreadState* __tstate = wxPyBeginAllowThreads();
13720 (arg1)->DelWordLeft();
13721 wxPyEndAllowThreads(__tstate);
13722 if (PyErr_Occurred()) SWIG_fail;
13723 }
13724 resultobj = SWIG_Py_Void();
13725 return resultobj;
13726fail:
13727 return NULL;
d14a1e28
RD
13728}
13729
13730
1bd55598
RD
13731SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13732 PyObject *resultobj = 0;
13733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13734 void *argp1 = 0 ;
13735 int res1 = 0 ;
13736 PyObject *swig_obj[1] ;
13737
13738 if (!args) SWIG_fail;
13739 swig_obj[0] = args;
13740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13741 if (!SWIG_IsOK(res1)) {
13742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13743 }
13744 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13745 {
13746 PyThreadState* __tstate = wxPyBeginAllowThreads();
13747 (arg1)->DelWordRight();
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
13751 resultobj = SWIG_Py_Void();
13752 return resultobj;
13753fail:
13754 return NULL;
d14a1e28
RD
13755}
13756
13757
1bd55598
RD
13758SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13759 PyObject *resultobj = 0;
13760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13761 void *argp1 = 0 ;
13762 int res1 = 0 ;
13763 PyObject *swig_obj[1] ;
13764
13765 if (!args) SWIG_fail;
13766 swig_obj[0] = args;
13767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13768 if (!SWIG_IsOK(res1)) {
13769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13770 }
13771 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13772 {
13773 PyThreadState* __tstate = wxPyBeginAllowThreads();
13774 (arg1)->LineCut();
13775 wxPyEndAllowThreads(__tstate);
13776 if (PyErr_Occurred()) SWIG_fail;
13777 }
13778 resultobj = SWIG_Py_Void();
13779 return resultobj;
13780fail:
13781 return NULL;
d14a1e28
RD
13782}
13783
13784
1bd55598
RD
13785SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13786 PyObject *resultobj = 0;
13787 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13788 void *argp1 = 0 ;
13789 int res1 = 0 ;
13790 PyObject *swig_obj[1] ;
13791
13792 if (!args) SWIG_fail;
13793 swig_obj[0] = args;
13794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13795 if (!SWIG_IsOK(res1)) {
13796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13797 }
13798 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 (arg1)->LineDelete();
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 resultobj = SWIG_Py_Void();
13806 return resultobj;
13807fail:
13808 return NULL;
d14a1e28
RD
13809}
13810
13811
1bd55598
RD
13812SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13813 PyObject *resultobj = 0;
13814 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13815 void *argp1 = 0 ;
13816 int res1 = 0 ;
13817 PyObject *swig_obj[1] ;
13818
13819 if (!args) SWIG_fail;
13820 swig_obj[0] = args;
13821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13822 if (!SWIG_IsOK(res1)) {
13823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineTranspose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13824 }
13825 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13826 {
13827 PyThreadState* __tstate = wxPyBeginAllowThreads();
13828 (arg1)->LineTranspose();
13829 wxPyEndAllowThreads(__tstate);
13830 if (PyErr_Occurred()) SWIG_fail;
13831 }
13832 resultobj = SWIG_Py_Void();
13833 return resultobj;
13834fail:
13835 return NULL;
d14a1e28
RD
13836}
13837
13838
1bd55598
RD
13839SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13840 PyObject *resultobj = 0;
13841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13842 void *argp1 = 0 ;
13843 int res1 = 0 ;
13844 PyObject *swig_obj[1] ;
13845
13846 if (!args) SWIG_fail;
13847 swig_obj[0] = args;
13848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13849 if (!SWIG_IsOK(res1)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13851 }
13852 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13853 {
13854 PyThreadState* __tstate = wxPyBeginAllowThreads();
13855 (arg1)->LineDuplicate();
13856 wxPyEndAllowThreads(__tstate);
13857 if (PyErr_Occurred()) SWIG_fail;
13858 }
13859 resultobj = SWIG_Py_Void();
13860 return resultobj;
13861fail:
13862 return NULL;
d14a1e28
RD
13863}
13864
13865
1bd55598
RD
13866SWIGINTERN PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13867 PyObject *resultobj = 0;
13868 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13869 void *argp1 = 0 ;
13870 int res1 = 0 ;
13871 PyObject *swig_obj[1] ;
13872
13873 if (!args) SWIG_fail;
13874 swig_obj[0] = args;
13875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13876 if (!SWIG_IsOK(res1)) {
13877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LowerCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13878 }
13879 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 (arg1)->LowerCase();
13883 wxPyEndAllowThreads(__tstate);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
13886 resultobj = SWIG_Py_Void();
13887 return resultobj;
13888fail:
13889 return NULL;
d14a1e28
RD
13890}
13891
13892
1bd55598
RD
13893SWIGINTERN PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13894 PyObject *resultobj = 0;
13895 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13896 void *argp1 = 0 ;
13897 int res1 = 0 ;
13898 PyObject *swig_obj[1] ;
13899
13900 if (!args) SWIG_fail;
13901 swig_obj[0] = args;
13902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13903 if (!SWIG_IsOK(res1)) {
13904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UpperCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13905 }
13906 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13907 {
13908 PyThreadState* __tstate = wxPyBeginAllowThreads();
13909 (arg1)->UpperCase();
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 resultobj = SWIG_Py_Void();
13914 return resultobj;
13915fail:
13916 return NULL;
d14a1e28
RD
13917}
13918
13919
1bd55598
RD
13920SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13921 PyObject *resultobj = 0;
13922 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13923 void *argp1 = 0 ;
13924 int res1 = 0 ;
13925 PyObject *swig_obj[1] ;
13926
13927 if (!args) SWIG_fail;
13928 swig_obj[0] = args;
13929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13930 if (!SWIG_IsOK(res1)) {
13931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13932 }
13933 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13934 {
13935 PyThreadState* __tstate = wxPyBeginAllowThreads();
13936 (arg1)->LineScrollDown();
13937 wxPyEndAllowThreads(__tstate);
13938 if (PyErr_Occurred()) SWIG_fail;
13939 }
13940 resultobj = SWIG_Py_Void();
13941 return resultobj;
13942fail:
13943 return NULL;
d14a1e28
RD
13944}
13945
13946
1bd55598
RD
13947SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13948 PyObject *resultobj = 0;
13949 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13950 void *argp1 = 0 ;
13951 int res1 = 0 ;
13952 PyObject *swig_obj[1] ;
13953
13954 if (!args) SWIG_fail;
13955 swig_obj[0] = args;
13956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13957 if (!SWIG_IsOK(res1)) {
13958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13959 }
13960 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13961 {
13962 PyThreadState* __tstate = wxPyBeginAllowThreads();
13963 (arg1)->LineScrollUp();
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 resultobj = SWIG_Py_Void();
13968 return resultobj;
13969fail:
13970 return NULL;
d14a1e28
RD
13971}
13972
13973
1bd55598
RD
13974SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13975 PyObject *resultobj = 0;
13976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13977 void *argp1 = 0 ;
13978 int res1 = 0 ;
13979 PyObject *swig_obj[1] ;
13980
13981 if (!args) SWIG_fail;
13982 swig_obj[0] = args;
13983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13984 if (!SWIG_IsOK(res1)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBackNotLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13986 }
13987 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 (arg1)->DeleteBackNotLine();
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 resultobj = SWIG_Py_Void();
13995 return resultobj;
13996fail:
13997 return NULL;
d14a1e28
RD
13998}
13999
14000
1bd55598
RD
14001SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14002 PyObject *resultobj = 0;
14003 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14004 void *argp1 = 0 ;
14005 int res1 = 0 ;
14006 PyObject *swig_obj[1] ;
14007
14008 if (!args) SWIG_fail;
14009 swig_obj[0] = args;
14010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14011 if (!SWIG_IsOK(res1)) {
14012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14013 }
14014 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14015 {
14016 PyThreadState* __tstate = wxPyBeginAllowThreads();
14017 (arg1)->HomeDisplay();
14018 wxPyEndAllowThreads(__tstate);
14019 if (PyErr_Occurred()) SWIG_fail;
14020 }
14021 resultobj = SWIG_Py_Void();
14022 return resultobj;
14023fail:
14024 return NULL;
d14a1e28
RD
14025}
14026
14027
1bd55598
RD
14028SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14029 PyObject *resultobj = 0;
14030 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14031 void *argp1 = 0 ;
14032 int res1 = 0 ;
14033 PyObject *swig_obj[1] ;
14034
14035 if (!args) SWIG_fail;
14036 swig_obj[0] = args;
14037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14038 if (!SWIG_IsOK(res1)) {
14039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14040 }
14041 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14042 {
14043 PyThreadState* __tstate = wxPyBeginAllowThreads();
14044 (arg1)->HomeDisplayExtend();
14045 wxPyEndAllowThreads(__tstate);
14046 if (PyErr_Occurred()) SWIG_fail;
14047 }
14048 resultobj = SWIG_Py_Void();
14049 return resultobj;
14050fail:
14051 return NULL;
d14a1e28
RD
14052}
14053
14054
1bd55598
RD
14055SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14056 PyObject *resultobj = 0;
14057 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14058 void *argp1 = 0 ;
14059 int res1 = 0 ;
14060 PyObject *swig_obj[1] ;
14061
14062 if (!args) SWIG_fail;
14063 swig_obj[0] = args;
14064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14065 if (!SWIG_IsOK(res1)) {
14066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14067 }
14068 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 (arg1)->LineEndDisplay();
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 resultobj = SWIG_Py_Void();
14076 return resultobj;
14077fail:
14078 return NULL;
d14a1e28
RD
14079}
14080
14081
1bd55598
RD
14082SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14083 PyObject *resultobj = 0;
14084 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14085 void *argp1 = 0 ;
14086 int res1 = 0 ;
14087 PyObject *swig_obj[1] ;
14088
14089 if (!args) SWIG_fail;
14090 swig_obj[0] = args;
14091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14092 if (!SWIG_IsOK(res1)) {
14093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14094 }
14095 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14096 {
14097 PyThreadState* __tstate = wxPyBeginAllowThreads();
14098 (arg1)->LineEndDisplayExtend();
14099 wxPyEndAllowThreads(__tstate);
14100 if (PyErr_Occurred()) SWIG_fail;
14101 }
14102 resultobj = SWIG_Py_Void();
14103 return resultobj;
14104fail:
14105 return NULL;
d14a1e28
RD
14106}
14107
14108
1bd55598
RD
14109SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14110 PyObject *resultobj = 0;
14111 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14112 void *argp1 = 0 ;
14113 int res1 = 0 ;
14114 PyObject *swig_obj[1] ;
14115
14116 if (!args) SWIG_fail;
14117 swig_obj[0] = args;
14118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14119 if (!SWIG_IsOK(res1)) {
14120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14121 }
14122 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14123 {
14124 PyThreadState* __tstate = wxPyBeginAllowThreads();
14125 (arg1)->HomeWrap();
14126 wxPyEndAllowThreads(__tstate);
14127 if (PyErr_Occurred()) SWIG_fail;
14128 }
14129 resultobj = SWIG_Py_Void();
14130 return resultobj;
14131fail:
14132 return NULL;
d14a1e28
RD
14133}
14134
14135
1bd55598
RD
14136SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14137 PyObject *resultobj = 0;
14138 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14139 void *argp1 = 0 ;
14140 int res1 = 0 ;
14141 PyObject *swig_obj[1] ;
14142
14143 if (!args) SWIG_fail;
14144 swig_obj[0] = args;
14145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14146 if (!SWIG_IsOK(res1)) {
14147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14148 }
14149 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14150 {
14151 PyThreadState* __tstate = wxPyBeginAllowThreads();
14152 (arg1)->HomeWrapExtend();
14153 wxPyEndAllowThreads(__tstate);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
14156 resultobj = SWIG_Py_Void();
14157 return resultobj;
14158fail:
14159 return NULL;
d14a1e28
RD
14160}
14161
14162
1bd55598
RD
14163SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14164 PyObject *resultobj = 0;
14165 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14166 void *argp1 = 0 ;
14167 int res1 = 0 ;
14168 PyObject *swig_obj[1] ;
14169
14170 if (!args) SWIG_fail;
14171 swig_obj[0] = args;
14172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14173 if (!SWIG_IsOK(res1)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14175 }
14176 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14177 {
14178 PyThreadState* __tstate = wxPyBeginAllowThreads();
14179 (arg1)->LineEndWrap();
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 resultobj = SWIG_Py_Void();
14184 return resultobj;
14185fail:
14186 return NULL;
d14a1e28
RD
14187}
14188
14189
1bd55598
RD
14190SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14191 PyObject *resultobj = 0;
14192 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14193 void *argp1 = 0 ;
14194 int res1 = 0 ;
14195 PyObject *swig_obj[1] ;
14196
14197 if (!args) SWIG_fail;
14198 swig_obj[0] = args;
14199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14200 if (!SWIG_IsOK(res1)) {
14201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14202 }
14203 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 (arg1)->LineEndWrapExtend();
14207 wxPyEndAllowThreads(__tstate);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 resultobj = SWIG_Py_Void();
14211 return resultobj;
14212fail:
14213 return NULL;
d14a1e28
RD
14214}
14215
14216
1bd55598
RD
14217SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14218 PyObject *resultobj = 0;
14219 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14220 void *argp1 = 0 ;
14221 int res1 = 0 ;
14222 PyObject *swig_obj[1] ;
14223
14224 if (!args) SWIG_fail;
14225 swig_obj[0] = args;
14226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14227 if (!SWIG_IsOK(res1)) {
14228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14229 }
14230 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14231 {
14232 PyThreadState* __tstate = wxPyBeginAllowThreads();
14233 (arg1)->VCHomeWrap();
14234 wxPyEndAllowThreads(__tstate);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
14237 resultobj = SWIG_Py_Void();
14238 return resultobj;
14239fail:
14240 return NULL;
d14a1e28
RD
14241}
14242
14243
1bd55598
RD
14244SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14245 PyObject *resultobj = 0;
14246 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14247 void *argp1 = 0 ;
14248 int res1 = 0 ;
14249 PyObject *swig_obj[1] ;
14250
14251 if (!args) SWIG_fail;
14252 swig_obj[0] = args;
14253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14254 if (!SWIG_IsOK(res1)) {
14255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14256 }
14257 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 (arg1)->VCHomeWrapExtend();
14261 wxPyEndAllowThreads(__tstate);
14262 if (PyErr_Occurred()) SWIG_fail;
14263 }
14264 resultobj = SWIG_Py_Void();
14265 return resultobj;
14266fail:
14267 return NULL;
d14a1e28
RD
14268}
14269
14270
1bd55598
RD
14271SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14272 PyObject *resultobj = 0;
14273 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14274 void *argp1 = 0 ;
14275 int res1 = 0 ;
14276 PyObject *swig_obj[1] ;
14277
14278 if (!args) SWIG_fail;
14279 swig_obj[0] = args;
14280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14281 if (!SWIG_IsOK(res1)) {
14282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCopy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14283 }
14284 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14285 {
14286 PyThreadState* __tstate = wxPyBeginAllowThreads();
14287 (arg1)->LineCopy();
14288 wxPyEndAllowThreads(__tstate);
14289 if (PyErr_Occurred()) SWIG_fail;
14290 }
14291 resultobj = SWIG_Py_Void();
14292 return resultobj;
14293fail:
14294 return NULL;
d14a1e28
RD
14295}
14296
14297
1bd55598
RD
14298SWIGINTERN PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14299 PyObject *resultobj = 0;
14300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14301 void *argp1 = 0 ;
14302 int res1 = 0 ;
14303 PyObject *swig_obj[1] ;
14304
14305 if (!args) SWIG_fail;
14306 swig_obj[0] = args;
14307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14308 if (!SWIG_IsOK(res1)) {
14309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MoveCaretInsideView" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14310 }
14311 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14312 {
14313 PyThreadState* __tstate = wxPyBeginAllowThreads();
14314 (arg1)->MoveCaretInsideView();
14315 wxPyEndAllowThreads(__tstate);
14316 if (PyErr_Occurred()) SWIG_fail;
14317 }
14318 resultobj = SWIG_Py_Void();
14319 return resultobj;
14320fail:
14321 return NULL;
14322}
14323
14324
14325SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14326 PyObject *resultobj = 0;
14327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14328 int arg2 ;
14329 int result;
14330 void *argp1 = 0 ;
14331 int res1 = 0 ;
14332 int val2 ;
14333 int ecode2 = 0 ;
14334 PyObject * obj0 = 0 ;
14335 PyObject * obj1 = 0 ;
14336 char * kwnames[] = {
14337 (char *) "self",(char *) "line", NULL
14338 };
14339
14340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) SWIG_fail;
14341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14342 if (!SWIG_IsOK(res1)) {
14343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14344 }
14345 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14346 ecode2 = SWIG_AsVal_int(obj1, &val2);
14347 if (!SWIG_IsOK(ecode2)) {
14348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "2"" of type '" "int""'");
14349 }
14350 arg2 = static_cast< int >(val2);
14351 {
14352 PyThreadState* __tstate = wxPyBeginAllowThreads();
14353 result = (int)(arg1)->LineLength(arg2);
14354 wxPyEndAllowThreads(__tstate);
14355 if (PyErr_Occurred()) SWIG_fail;
14356 }
14357 resultobj = SWIG_From_int(static_cast< int >(result));
14358 return resultobj;
14359fail:
14360 return NULL;
14361}
14362
14363
14364SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14365 PyObject *resultobj = 0;
14366 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14367 int arg2 ;
14368 int arg3 ;
14369 void *argp1 = 0 ;
14370 int res1 = 0 ;
14371 int val2 ;
14372 int ecode2 = 0 ;
14373 int val3 ;
14374 int ecode3 = 0 ;
14375 PyObject * obj0 = 0 ;
14376 PyObject * obj1 = 0 ;
14377 PyObject * obj2 = 0 ;
14378 char * kwnames[] = {
14379 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
14380 };
14381
14382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14384 if (!SWIG_IsOK(res1)) {
14385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14386 }
14387 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14388 ecode2 = SWIG_AsVal_int(obj1, &val2);
14389 if (!SWIG_IsOK(ecode2)) {
14390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "2"" of type '" "int""'");
14391 }
14392 arg2 = static_cast< int >(val2);
14393 ecode3 = SWIG_AsVal_int(obj2, &val3);
14394 if (!SWIG_IsOK(ecode3)) {
14395 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "3"" of type '" "int""'");
14396 }
14397 arg3 = static_cast< int >(val3);
14398 {
14399 PyThreadState* __tstate = wxPyBeginAllowThreads();
14400 (arg1)->BraceHighlight(arg2,arg3);
14401 wxPyEndAllowThreads(__tstate);
14402 if (PyErr_Occurred()) SWIG_fail;
14403 }
14404 resultobj = SWIG_Py_Void();
14405 return resultobj;
14406fail:
14407 return NULL;
14408}
14409
14410
14411SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14412 PyObject *resultobj = 0;
14413 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14414 int arg2 ;
14415 void *argp1 = 0 ;
14416 int res1 = 0 ;
14417 int val2 ;
14418 int ecode2 = 0 ;
14419 PyObject * obj0 = 0 ;
14420 PyObject * obj1 = 0 ;
14421 char * kwnames[] = {
14422 (char *) "self",(char *) "pos", NULL
14423 };
14424
14425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) SWIG_fail;
14426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14427 if (!SWIG_IsOK(res1)) {
14428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14429 }
14430 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14431 ecode2 = SWIG_AsVal_int(obj1, &val2);
14432 if (!SWIG_IsOK(ecode2)) {
14433 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "2"" of type '" "int""'");
14434 }
14435 arg2 = static_cast< int >(val2);
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 (arg1)->BraceBadLight(arg2);
14439 wxPyEndAllowThreads(__tstate);
14440 if (PyErr_Occurred()) SWIG_fail;
14441 }
14442 resultobj = SWIG_Py_Void();
14443 return resultobj;
14444fail:
14445 return NULL;
14446}
14447
14448
14449SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14450 PyObject *resultobj = 0;
14451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14452 int arg2 ;
14453 int result;
14454 void *argp1 = 0 ;
14455 int res1 = 0 ;
14456 int val2 ;
14457 int ecode2 = 0 ;
14458 PyObject * obj0 = 0 ;
14459 PyObject * obj1 = 0 ;
14460 char * kwnames[] = {
14461 (char *) "self",(char *) "pos", NULL
14462 };
14463
14464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) SWIG_fail;
14465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14466 if (!SWIG_IsOK(res1)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14468 }
14469 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14470 ecode2 = SWIG_AsVal_int(obj1, &val2);
14471 if (!SWIG_IsOK(ecode2)) {
14472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "2"" of type '" "int""'");
14473 }
14474 arg2 = static_cast< int >(val2);
14475 {
14476 PyThreadState* __tstate = wxPyBeginAllowThreads();
14477 result = (int)(arg1)->BraceMatch(arg2);
14478 wxPyEndAllowThreads(__tstate);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 }
14481 resultobj = SWIG_From_int(static_cast< int >(result));
14482 return resultobj;
14483fail:
14484 return NULL;
d14a1e28
RD
14485}
14486
14487
1bd55598
RD
14488SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14489 PyObject *resultobj = 0;
14490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14491 bool result;
14492 void *argp1 = 0 ;
14493 int res1 = 0 ;
14494 PyObject *swig_obj[1] ;
14495
14496 if (!args) SWIG_fail;
14497 swig_obj[0] = args;
14498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14499 if (!SWIG_IsOK(res1)) {
14500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14501 }
14502 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 result = (bool)(arg1)->GetViewEOL();
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 {
14510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14511 }
14512 return resultobj;
14513fail:
14514 return NULL;
14515}
14516
14517
14518SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14519 PyObject *resultobj = 0;
14520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14521 bool arg2 ;
14522 void *argp1 = 0 ;
14523 int res1 = 0 ;
14524 bool val2 ;
14525 int ecode2 = 0 ;
14526 PyObject * obj0 = 0 ;
14527 PyObject * obj1 = 0 ;
14528 char * kwnames[] = {
14529 (char *) "self",(char *) "visible", NULL
14530 };
14531
14532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) SWIG_fail;
14533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14534 if (!SWIG_IsOK(res1)) {
14535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14536 }
14537 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14538 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14539 if (!SWIG_IsOK(ecode2)) {
14540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "2"" of type '" "bool""'");
14541 }
14542 arg2 = static_cast< bool >(val2);
14543 {
14544 PyThreadState* __tstate = wxPyBeginAllowThreads();
14545 (arg1)->SetViewEOL(arg2);
14546 wxPyEndAllowThreads(__tstate);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
14549 resultobj = SWIG_Py_Void();
14550 return resultobj;
14551fail:
14552 return NULL;
d14a1e28
RD
14553}
14554
14555
1bd55598
RD
14556SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14557 PyObject *resultobj = 0;
14558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14559 void *result = 0 ;
14560 void *argp1 = 0 ;
14561 int res1 = 0 ;
14562 PyObject *swig_obj[1] ;
14563
14564 if (!args) SWIG_fail;
14565 swig_obj[0] = args;
14566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14567 if (!SWIG_IsOK(res1)) {
14568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14569 }
14570 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14571 {
14572 PyThreadState* __tstate = wxPyBeginAllowThreads();
14573 result = (void *)(arg1)->GetDocPointer();
14574 wxPyEndAllowThreads(__tstate);
14575 if (PyErr_Occurred()) SWIG_fail;
14576 }
14577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
14578 return resultobj;
14579fail:
14580 return NULL;
14581}
14582
14583
14584SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14585 PyObject *resultobj = 0;
14586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14587 void *arg2 = (void *) 0 ;
14588 void *argp1 = 0 ;
14589 int res1 = 0 ;
14590 int res2 ;
14591 PyObject * obj0 = 0 ;
14592 PyObject * obj1 = 0 ;
14593 char * kwnames[] = {
14594 (char *) "self",(char *) "docPointer", NULL
14595 };
14596
14597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) SWIG_fail;
14598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14599 if (!SWIG_IsOK(res1)) {
14600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14601 }
14602 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14603 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
14604 if (!SWIG_IsOK(res2)) {
14605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "2"" of type '" "void *""'");
14606 }
14607 {
14608 PyThreadState* __tstate = wxPyBeginAllowThreads();
14609 (arg1)->SetDocPointer(arg2);
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 resultobj = SWIG_Py_Void();
14614 return resultobj;
14615fail:
14616 return NULL;
14617}
14618
14619
14620SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14621 PyObject *resultobj = 0;
14622 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14623 int arg2 ;
14624 void *argp1 = 0 ;
14625 int res1 = 0 ;
14626 int val2 ;
14627 int ecode2 = 0 ;
14628 PyObject * obj0 = 0 ;
14629 PyObject * obj1 = 0 ;
14630 char * kwnames[] = {
14631 (char *) "self",(char *) "mask", NULL
14632 };
14633
14634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) SWIG_fail;
14635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14636 if (!SWIG_IsOK(res1)) {
14637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14638 }
14639 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14640 ecode2 = SWIG_AsVal_int(obj1, &val2);
14641 if (!SWIG_IsOK(ecode2)) {
14642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "2"" of type '" "int""'");
14643 }
14644 arg2 = static_cast< int >(val2);
14645 {
14646 PyThreadState* __tstate = wxPyBeginAllowThreads();
14647 (arg1)->SetModEventMask(arg2);
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 resultobj = SWIG_Py_Void();
14652 return resultobj;
14653fail:
14654 return NULL;
d14a1e28
RD
14655}
14656
14657
1bd55598
RD
14658SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14659 PyObject *resultobj = 0;
14660 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14661 int result;
14662 void *argp1 = 0 ;
14663 int res1 = 0 ;
14664 PyObject *swig_obj[1] ;
14665
14666 if (!args) SWIG_fail;
14667 swig_obj[0] = args;
14668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14669 if (!SWIG_IsOK(res1)) {
14670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14671 }
14672 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14673 {
14674 PyThreadState* __tstate = wxPyBeginAllowThreads();
14675 result = (int)(arg1)->GetEdgeColumn();
14676 wxPyEndAllowThreads(__tstate);
14677 if (PyErr_Occurred()) SWIG_fail;
14678 }
14679 resultobj = SWIG_From_int(static_cast< int >(result));
14680 return resultobj;
14681fail:
14682 return NULL;
14683}
14684
14685
14686SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14687 PyObject *resultobj = 0;
14688 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14689 int arg2 ;
14690 void *argp1 = 0 ;
14691 int res1 = 0 ;
14692 int val2 ;
14693 int ecode2 = 0 ;
14694 PyObject * obj0 = 0 ;
14695 PyObject * obj1 = 0 ;
14696 char * kwnames[] = {
14697 (char *) "self",(char *) "column", NULL
14698 };
14699
14700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14702 if (!SWIG_IsOK(res1)) {
14703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14704 }
14705 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14706 ecode2 = SWIG_AsVal_int(obj1, &val2);
14707 if (!SWIG_IsOK(ecode2)) {
14708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "2"" of type '" "int""'");
14709 }
14710 arg2 = static_cast< int >(val2);
14711 {
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 (arg1)->SetEdgeColumn(arg2);
14714 wxPyEndAllowThreads(__tstate);
14715 if (PyErr_Occurred()) SWIG_fail;
14716 }
14717 resultobj = SWIG_Py_Void();
14718 return resultobj;
14719fail:
14720 return NULL;
d14a1e28
RD
14721}
14722
14723
1bd55598
RD
14724SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14725 PyObject *resultobj = 0;
14726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14727 int result;
14728 void *argp1 = 0 ;
14729 int res1 = 0 ;
14730 PyObject *swig_obj[1] ;
14731
14732 if (!args) SWIG_fail;
14733 swig_obj[0] = args;
14734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14735 if (!SWIG_IsOK(res1)) {
14736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14737 }
14738 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14739 {
14740 PyThreadState* __tstate = wxPyBeginAllowThreads();
14741 result = (int)(arg1)->GetEdgeMode();
14742 wxPyEndAllowThreads(__tstate);
14743 if (PyErr_Occurred()) SWIG_fail;
14744 }
14745 resultobj = SWIG_From_int(static_cast< int >(result));
14746 return resultobj;
14747fail:
14748 return NULL;
14749}
14750
14751
14752SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14753 PyObject *resultobj = 0;
14754 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14755 int arg2 ;
14756 void *argp1 = 0 ;
14757 int res1 = 0 ;
14758 int val2 ;
14759 int ecode2 = 0 ;
14760 PyObject * obj0 = 0 ;
14761 PyObject * obj1 = 0 ;
14762 char * kwnames[] = {
14763 (char *) "self",(char *) "mode", NULL
14764 };
14765
14766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) SWIG_fail;
14767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14768 if (!SWIG_IsOK(res1)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14770 }
14771 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14772 ecode2 = SWIG_AsVal_int(obj1, &val2);
14773 if (!SWIG_IsOK(ecode2)) {
14774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "2"" of type '" "int""'");
14775 }
14776 arg2 = static_cast< int >(val2);
14777 {
14778 PyThreadState* __tstate = wxPyBeginAllowThreads();
14779 (arg1)->SetEdgeMode(arg2);
14780 wxPyEndAllowThreads(__tstate);
14781 if (PyErr_Occurred()) SWIG_fail;
14782 }
14783 resultobj = SWIG_Py_Void();
14784 return resultobj;
14785fail:
14786 return NULL;
d14a1e28
RD
14787}
14788
14789
1bd55598
RD
14790SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14791 PyObject *resultobj = 0;
14792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14793 wxColour result;
14794 void *argp1 = 0 ;
14795 int res1 = 0 ;
14796 PyObject *swig_obj[1] ;
14797
14798 if (!args) SWIG_fail;
14799 swig_obj[0] = args;
14800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14801 if (!SWIG_IsOK(res1)) {
14802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14803 }
14804 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 result = (arg1)->GetEdgeColour();
14808 wxPyEndAllowThreads(__tstate);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
14812 return resultobj;
14813fail:
14814 return NULL;
14815}
14816
14817
14818SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14819 PyObject *resultobj = 0;
14820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14821 wxColour *arg2 = 0 ;
14822 void *argp1 = 0 ;
14823 int res1 = 0 ;
14824 wxColour temp2 ;
14825 PyObject * obj0 = 0 ;
14826 PyObject * obj1 = 0 ;
14827 char * kwnames[] = {
14828 (char *) "self",(char *) "edgeColour", NULL
14829 };
14830
14831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) SWIG_fail;
14832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14833 if (!SWIG_IsOK(res1)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14835 }
14836 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14837 {
14838 arg2 = &temp2;
14839 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14840 }
14841 {
14842 PyThreadState* __tstate = wxPyBeginAllowThreads();
14843 (arg1)->SetEdgeColour((wxColour const &)*arg2);
14844 wxPyEndAllowThreads(__tstate);
14845 if (PyErr_Occurred()) SWIG_fail;
14846 }
14847 resultobj = SWIG_Py_Void();
14848 return resultobj;
14849fail:
14850 return NULL;
d14a1e28
RD
14851}
14852
14853
1bd55598
RD
14854SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14855 PyObject *resultobj = 0;
14856 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14857 void *argp1 = 0 ;
14858 int res1 = 0 ;
14859 PyObject *swig_obj[1] ;
14860
14861 if (!args) SWIG_fail;
14862 swig_obj[0] = args;
14863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14864 if (!SWIG_IsOK(res1)) {
14865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14866 }
14867 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14868 {
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 (arg1)->SearchAnchor();
14871 wxPyEndAllowThreads(__tstate);
14872 if (PyErr_Occurred()) SWIG_fail;
14873 }
14874 resultobj = SWIG_Py_Void();
14875 return resultobj;
14876fail:
14877 return NULL;
14878}
14879
14880
14881SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14882 PyObject *resultobj = 0;
14883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14884 int arg2 ;
14885 wxString *arg3 = 0 ;
14886 int result;
14887 void *argp1 = 0 ;
14888 int res1 = 0 ;
14889 int val2 ;
14890 int ecode2 = 0 ;
14891 bool temp3 = false ;
14892 PyObject * obj0 = 0 ;
14893 PyObject * obj1 = 0 ;
14894 PyObject * obj2 = 0 ;
14895 char * kwnames[] = {
14896 (char *) "self",(char *) "flags",(char *) "text", NULL
14897 };
14898
14899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14901 if (!SWIG_IsOK(res1)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14903 }
14904 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14905 ecode2 = SWIG_AsVal_int(obj1, &val2);
14906 if (!SWIG_IsOK(ecode2)) {
14907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "2"" of type '" "int""'");
14908 }
14909 arg2 = static_cast< int >(val2);
14910 {
14911 arg3 = wxString_in_helper(obj2);
14912 if (arg3 == NULL) SWIG_fail;
14913 temp3 = true;
14914 }
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
14918 wxPyEndAllowThreads(__tstate);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 resultobj = SWIG_From_int(static_cast< int >(result));
14922 {
14923 if (temp3)
14924 delete arg3;
14925 }
14926 return resultobj;
14927fail:
14928 {
14929 if (temp3)
14930 delete arg3;
14931 }
14932 return NULL;
14933}
14934
14935
14936SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14937 PyObject *resultobj = 0;
14938 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14939 int arg2 ;
14940 wxString *arg3 = 0 ;
14941 int result;
14942 void *argp1 = 0 ;
14943 int res1 = 0 ;
14944 int val2 ;
14945 int ecode2 = 0 ;
14946 bool temp3 = false ;
14947 PyObject * obj0 = 0 ;
14948 PyObject * obj1 = 0 ;
14949 PyObject * obj2 = 0 ;
14950 char * kwnames[] = {
14951 (char *) "self",(char *) "flags",(char *) "text", NULL
14952 };
14953
14954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14956 if (!SWIG_IsOK(res1)) {
14957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14958 }
14959 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14960 ecode2 = SWIG_AsVal_int(obj1, &val2);
14961 if (!SWIG_IsOK(ecode2)) {
14962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "2"" of type '" "int""'");
14963 }
14964 arg2 = static_cast< int >(val2);
14965 {
14966 arg3 = wxString_in_helper(obj2);
14967 if (arg3 == NULL) SWIG_fail;
14968 temp3 = true;
14969 }
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 resultobj = SWIG_From_int(static_cast< int >(result));
14977 {
14978 if (temp3)
14979 delete arg3;
14980 }
14981 return resultobj;
14982fail:
14983 {
14984 if (temp3)
14985 delete arg3;
14986 }
14987 return NULL;
d14a1e28
RD
14988}
14989
14990
1bd55598
RD
14991SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14992 PyObject *resultobj = 0;
14993 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14994 int result;
14995 void *argp1 = 0 ;
14996 int res1 = 0 ;
14997 PyObject *swig_obj[1] ;
14998
14999 if (!args) SWIG_fail;
15000 swig_obj[0] = args;
15001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15002 if (!SWIG_IsOK(res1)) {
15003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesOnScreen" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15004 }
15005 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15006 {
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 result = (int)(arg1)->LinesOnScreen();
15009 wxPyEndAllowThreads(__tstate);
15010 if (PyErr_Occurred()) SWIG_fail;
15011 }
15012 resultobj = SWIG_From_int(static_cast< int >(result));
15013 return resultobj;
15014fail:
15015 return NULL;
15016}
15017
15018
15019SWIGINTERN PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15020 PyObject *resultobj = 0;
15021 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15022 bool arg2 ;
15023 void *argp1 = 0 ;
15024 int res1 = 0 ;
15025 bool val2 ;
15026 int ecode2 = 0 ;
15027 PyObject * obj0 = 0 ;
15028 PyObject * obj1 = 0 ;
15029 char * kwnames[] = {
15030 (char *) "self",(char *) "allowPopUp", NULL
15031 };
15032
15033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) SWIG_fail;
15034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15035 if (!SWIG_IsOK(res1)) {
15036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15037 }
15038 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15039 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15040 if (!SWIG_IsOK(ecode2)) {
15041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "2"" of type '" "bool""'");
15042 }
15043 arg2 = static_cast< bool >(val2);
15044 {
15045 PyThreadState* __tstate = wxPyBeginAllowThreads();
15046 (arg1)->UsePopUp(arg2);
15047 wxPyEndAllowThreads(__tstate);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 resultobj = SWIG_Py_Void();
15051 return resultobj;
15052fail:
15053 return NULL;
d14a1e28
RD
15054}
15055
15056
1bd55598
RD
15057SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15058 PyObject *resultobj = 0;
15059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15060 bool result;
15061 void *argp1 = 0 ;
15062 int res1 = 0 ;
15063 PyObject *swig_obj[1] ;
15064
15065 if (!args) SWIG_fail;
15066 swig_obj[0] = args;
15067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15068 if (!SWIG_IsOK(res1)) {
15069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionIsRectangle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15070 }
15071 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 result = (bool)(arg1)->SelectionIsRectangle();
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 {
15079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15080 }
15081 return resultobj;
15082fail:
15083 return NULL;
15084}
15085
15086
15087SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15088 PyObject *resultobj = 0;
15089 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15090 int arg2 ;
15091 void *argp1 = 0 ;
15092 int res1 = 0 ;
15093 int val2 ;
15094 int ecode2 = 0 ;
15095 PyObject * obj0 = 0 ;
15096 PyObject * obj1 = 0 ;
15097 char * kwnames[] = {
15098 (char *) "self",(char *) "zoom", NULL
15099 };
15100
15101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
15102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15103 if (!SWIG_IsOK(res1)) {
15104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15105 }
15106 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15107 ecode2 = SWIG_AsVal_int(obj1, &val2);
15108 if (!SWIG_IsOK(ecode2)) {
15109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "2"" of type '" "int""'");
15110 }
15111 arg2 = static_cast< int >(val2);
15112 {
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
15114 (arg1)->SetZoom(arg2);
15115 wxPyEndAllowThreads(__tstate);
15116 if (PyErr_Occurred()) SWIG_fail;
15117 }
15118 resultobj = SWIG_Py_Void();
15119 return resultobj;
15120fail:
15121 return NULL;
d14a1e28
RD
15122}
15123
15124
1bd55598
RD
15125SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15126 PyObject *resultobj = 0;
15127 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15128 int result;
15129 void *argp1 = 0 ;
15130 int res1 = 0 ;
15131 PyObject *swig_obj[1] ;
15132
15133 if (!args) SWIG_fail;
15134 swig_obj[0] = args;
15135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15136 if (!SWIG_IsOK(res1)) {
15137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15138 }
15139 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15140 {
15141 PyThreadState* __tstate = wxPyBeginAllowThreads();
15142 result = (int)(arg1)->GetZoom();
15143 wxPyEndAllowThreads(__tstate);
15144 if (PyErr_Occurred()) SWIG_fail;
15145 }
15146 resultobj = SWIG_From_int(static_cast< int >(result));
15147 return resultobj;
15148fail:
15149 return NULL;
d14a1e28
RD
15150}
15151
15152
1bd55598
RD
15153SWIGINTERN PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15154 PyObject *resultobj = 0;
15155 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15156 void *result = 0 ;
15157 void *argp1 = 0 ;
15158 int res1 = 0 ;
15159 PyObject *swig_obj[1] ;
15160
15161 if (!args) SWIG_fail;
15162 swig_obj[0] = args;
15163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15164 if (!SWIG_IsOK(res1)) {
15165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CreateDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15166 }
15167 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15168 {
15169 PyThreadState* __tstate = wxPyBeginAllowThreads();
15170 result = (void *)(arg1)->CreateDocument();
15171 wxPyEndAllowThreads(__tstate);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
15174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
15175 return resultobj;
15176fail:
15177 return NULL;
15178}
15179
15180
15181SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15182 PyObject *resultobj = 0;
15183 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15184 void *arg2 = (void *) 0 ;
15185 void *argp1 = 0 ;
15186 int res1 = 0 ;
15187 int res2 ;
15188 PyObject * obj0 = 0 ;
15189 PyObject * obj1 = 0 ;
15190 char * kwnames[] = {
15191 (char *) "self",(char *) "docPointer", NULL
15192 };
15193
15194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) SWIG_fail;
15195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15196 if (!SWIG_IsOK(res1)) {
15197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15198 }
15199 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15200 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
15201 if (!SWIG_IsOK(res2)) {
15202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "2"" of type '" "void *""'");
15203 }
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 (arg1)->AddRefDocument(arg2);
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 resultobj = SWIG_Py_Void();
15211 return resultobj;
15212fail:
15213 return NULL;
15214}
15215
15216
15217SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj = 0;
15219 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15220 void *arg2 = (void *) 0 ;
15221 void *argp1 = 0 ;
15222 int res1 = 0 ;
15223 int res2 ;
15224 PyObject * obj0 = 0 ;
15225 PyObject * obj1 = 0 ;
15226 char * kwnames[] = {
15227 (char *) "self",(char *) "docPointer", NULL
15228 };
15229
15230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) SWIG_fail;
15231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15232 if (!SWIG_IsOK(res1)) {
15233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15234 }
15235 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15236 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
15237 if (!SWIG_IsOK(res2)) {
15238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "2"" of type '" "void *""'");
15239 }
15240 {
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
15242 (arg1)->ReleaseDocument(arg2);
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 resultobj = SWIG_Py_Void();
15247 return resultobj;
15248fail:
15249 return NULL;
d14a1e28
RD
15250}
15251
15252
1bd55598
RD
15253SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15254 PyObject *resultobj = 0;
15255 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15256 int result;
15257 void *argp1 = 0 ;
15258 int res1 = 0 ;
15259 PyObject *swig_obj[1] ;
15260
15261 if (!args) SWIG_fail;
15262 swig_obj[0] = args;
15263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15264 if (!SWIG_IsOK(res1)) {
15265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15266 }
15267 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 result = (int)(arg1)->GetModEventMask();
15271 wxPyEndAllowThreads(__tstate);
15272 if (PyErr_Occurred()) SWIG_fail;
15273 }
15274 resultobj = SWIG_From_int(static_cast< int >(result));
15275 return resultobj;
15276fail:
15277 return NULL;
15278}
15279
15280
15281SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15282 PyObject *resultobj = 0;
15283 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15284 bool arg2 ;
15285 void *argp1 = 0 ;
15286 int res1 = 0 ;
15287 bool val2 ;
15288 int ecode2 = 0 ;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
15291 char * kwnames[] = {
15292 (char *) "self",(char *) "focus", NULL
15293 };
15294
15295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) SWIG_fail;
15296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15297 if (!SWIG_IsOK(res1)) {
15298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15299 }
15300 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15301 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15302 if (!SWIG_IsOK(ecode2)) {
15303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "2"" of type '" "bool""'");
15304 }
15305 arg2 = static_cast< bool >(val2);
15306 {
15307 PyThreadState* __tstate = wxPyBeginAllowThreads();
15308 (arg1)->SetSTCFocus(arg2);
15309 wxPyEndAllowThreads(__tstate);
15310 if (PyErr_Occurred()) SWIG_fail;
15311 }
15312 resultobj = SWIG_Py_Void();
15313 return resultobj;
15314fail:
15315 return NULL;
d14a1e28
RD
15316}
15317
15318
1bd55598
RD
15319SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15320 PyObject *resultobj = 0;
15321 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15322 bool result;
15323 void *argp1 = 0 ;
15324 int res1 = 0 ;
15325 PyObject *swig_obj[1] ;
15326
15327 if (!args) SWIG_fail;
15328 swig_obj[0] = args;
15329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15330 if (!SWIG_IsOK(res1)) {
15331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15332 }
15333 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 result = (bool)(arg1)->GetSTCFocus();
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 {
15341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15342 }
15343 return resultobj;
15344fail:
15345 return NULL;
15346}
15347
15348
15349SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15350 PyObject *resultobj = 0;
15351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15352 int arg2 ;
15353 void *argp1 = 0 ;
15354 int res1 = 0 ;
15355 int val2 ;
15356 int ecode2 = 0 ;
15357 PyObject * obj0 = 0 ;
15358 PyObject * obj1 = 0 ;
15359 char * kwnames[] = {
15360 (char *) "self",(char *) "statusCode", NULL
15361 };
15362
15363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) SWIG_fail;
15364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15365 if (!SWIG_IsOK(res1)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15367 }
15368 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15369 ecode2 = SWIG_AsVal_int(obj1, &val2);
15370 if (!SWIG_IsOK(ecode2)) {
15371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "2"" of type '" "int""'");
15372 }
15373 arg2 = static_cast< int >(val2);
15374 {
15375 PyThreadState* __tstate = wxPyBeginAllowThreads();
15376 (arg1)->SetStatus(arg2);
15377 wxPyEndAllowThreads(__tstate);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
15380 resultobj = SWIG_Py_Void();
15381 return resultobj;
15382fail:
15383 return NULL;
d14a1e28
RD
15384}
15385
15386
1bd55598
RD
15387SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15388 PyObject *resultobj = 0;
15389 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15390 int result;
15391 void *argp1 = 0 ;
15392 int res1 = 0 ;
15393 PyObject *swig_obj[1] ;
15394
15395 if (!args) SWIG_fail;
15396 swig_obj[0] = args;
15397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15398 if (!SWIG_IsOK(res1)) {
15399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15400 }
15401 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15402 {
15403 PyThreadState* __tstate = wxPyBeginAllowThreads();
15404 result = (int)(arg1)->GetStatus();
15405 wxPyEndAllowThreads(__tstate);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 }
15408 resultobj = SWIG_From_int(static_cast< int >(result));
15409 return resultobj;
15410fail:
15411 return NULL;
15412}
15413
15414
15415SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15416 PyObject *resultobj = 0;
15417 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15418 bool arg2 ;
15419 void *argp1 = 0 ;
15420 int res1 = 0 ;
15421 bool val2 ;
15422 int ecode2 = 0 ;
15423 PyObject * obj0 = 0 ;
15424 PyObject * obj1 = 0 ;
15425 char * kwnames[] = {
15426 (char *) "self",(char *) "captures", NULL
15427 };
15428
15429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) SWIG_fail;
15430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15431 if (!SWIG_IsOK(res1)) {
15432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15433 }
15434 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15435 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15436 if (!SWIG_IsOK(ecode2)) {
15437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "2"" of type '" "bool""'");
15438 }
15439 arg2 = static_cast< bool >(val2);
15440 {
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 (arg1)->SetMouseDownCaptures(arg2);
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 resultobj = SWIG_Py_Void();
15447 return resultobj;
15448fail:
15449 return NULL;
d14a1e28
RD
15450}
15451
15452
1bd55598
RD
15453SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15454 PyObject *resultobj = 0;
15455 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15456 bool result;
15457 void *argp1 = 0 ;
15458 int res1 = 0 ;
15459 PyObject *swig_obj[1] ;
15460
15461 if (!args) SWIG_fail;
15462 swig_obj[0] = args;
15463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15464 if (!SWIG_IsOK(res1)) {
15465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15466 }
15467 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 result = (bool)(arg1)->GetMouseDownCaptures();
15471 wxPyEndAllowThreads(__tstate);
15472 if (PyErr_Occurred()) SWIG_fail;
15473 }
15474 {
15475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15476 }
15477 return resultobj;
15478fail:
15479 return NULL;
15480}
15481
15482
15483SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15484 PyObject *resultobj = 0;
15485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15486 int arg2 ;
15487 void *argp1 = 0 ;
15488 int res1 = 0 ;
15489 int val2 ;
15490 int ecode2 = 0 ;
15491 PyObject * obj0 = 0 ;
15492 PyObject * obj1 = 0 ;
15493 char * kwnames[] = {
15494 (char *) "self",(char *) "cursorType", NULL
15495 };
15496
15497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) SWIG_fail;
15498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15499 if (!SWIG_IsOK(res1)) {
15500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15501 }
15502 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15503 ecode2 = SWIG_AsVal_int(obj1, &val2);
15504 if (!SWIG_IsOK(ecode2)) {
15505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "2"" of type '" "int""'");
15506 }
15507 arg2 = static_cast< int >(val2);
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 (arg1)->SetSTCCursor(arg2);
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 resultobj = SWIG_Py_Void();
15515 return resultobj;
15516fail:
15517 return NULL;
d14a1e28
RD
15518}
15519
15520
1bd55598
RD
15521SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15522 PyObject *resultobj = 0;
15523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15524 int result;
15525 void *argp1 = 0 ;
15526 int res1 = 0 ;
15527 PyObject *swig_obj[1] ;
15528
15529 if (!args) SWIG_fail;
15530 swig_obj[0] = args;
15531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15532 if (!SWIG_IsOK(res1)) {
15533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15534 }
15535 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15536 {
15537 PyThreadState* __tstate = wxPyBeginAllowThreads();
15538 result = (int)(arg1)->GetSTCCursor();
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 resultobj = SWIG_From_int(static_cast< int >(result));
15543 return resultobj;
15544fail:
15545 return NULL;
15546}
15547
15548
15549SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15550 PyObject *resultobj = 0;
15551 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15552 int arg2 ;
15553 void *argp1 = 0 ;
15554 int res1 = 0 ;
15555 int val2 ;
15556 int ecode2 = 0 ;
15557 PyObject * obj0 = 0 ;
15558 PyObject * obj1 = 0 ;
15559 char * kwnames[] = {
15560 (char *) "self",(char *) "symbol", NULL
15561 };
15562
15563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) SWIG_fail;
15564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15565 if (!SWIG_IsOK(res1)) {
15566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15567 }
15568 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15569 ecode2 = SWIG_AsVal_int(obj1, &val2);
15570 if (!SWIG_IsOK(ecode2)) {
15571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "2"" of type '" "int""'");
15572 }
15573 arg2 = static_cast< int >(val2);
15574 {
15575 PyThreadState* __tstate = wxPyBeginAllowThreads();
15576 (arg1)->SetControlCharSymbol(arg2);
15577 wxPyEndAllowThreads(__tstate);
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
15580 resultobj = SWIG_Py_Void();
15581 return resultobj;
15582fail:
15583 return NULL;
d14a1e28
RD
15584}
15585
15586
1bd55598
RD
15587SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15588 PyObject *resultobj = 0;
15589 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15590 int result;
15591 void *argp1 = 0 ;
15592 int res1 = 0 ;
15593 PyObject *swig_obj[1] ;
15594
15595 if (!args) SWIG_fail;
15596 swig_obj[0] = args;
15597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15598 if (!SWIG_IsOK(res1)) {
15599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15600 }
15601 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15602 {
15603 PyThreadState* __tstate = wxPyBeginAllowThreads();
15604 result = (int)(arg1)->GetControlCharSymbol();
15605 wxPyEndAllowThreads(__tstate);
15606 if (PyErr_Occurred()) SWIG_fail;
15607 }
15608 resultobj = SWIG_From_int(static_cast< int >(result));
15609 return resultobj;
15610fail:
15611 return NULL;
d14a1e28
RD
15612}
15613
15614
1bd55598
RD
15615SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15616 PyObject *resultobj = 0;
15617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15618 void *argp1 = 0 ;
15619 int res1 = 0 ;
15620 PyObject *swig_obj[1] ;
15621
15622 if (!args) SWIG_fail;
15623 swig_obj[0] = args;
15624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15625 if (!SWIG_IsOK(res1)) {
15626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15627 }
15628 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15629 {
15630 PyThreadState* __tstate = wxPyBeginAllowThreads();
15631 (arg1)->WordPartLeft();
15632 wxPyEndAllowThreads(__tstate);
15633 if (PyErr_Occurred()) SWIG_fail;
15634 }
15635 resultobj = SWIG_Py_Void();
15636 return resultobj;
15637fail:
15638 return NULL;
d14a1e28
RD
15639}
15640
15641
1bd55598
RD
15642SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15643 PyObject *resultobj = 0;
15644 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15645 void *argp1 = 0 ;
15646 int res1 = 0 ;
15647 PyObject *swig_obj[1] ;
15648
15649 if (!args) SWIG_fail;
15650 swig_obj[0] = args;
15651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15652 if (!SWIG_IsOK(res1)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15654 }
15655 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15656 {
15657 PyThreadState* __tstate = wxPyBeginAllowThreads();
15658 (arg1)->WordPartLeftExtend();
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 resultobj = SWIG_Py_Void();
15663 return resultobj;
15664fail:
15665 return NULL;
d14a1e28
RD
15666}
15667
15668
1bd55598
RD
15669SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15670 PyObject *resultobj = 0;
15671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15672 void *argp1 = 0 ;
15673 int res1 = 0 ;
15674 PyObject *swig_obj[1] ;
15675
15676 if (!args) SWIG_fail;
15677 swig_obj[0] = args;
15678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15679 if (!SWIG_IsOK(res1)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15681 }
15682 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15683 {
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 (arg1)->WordPartRight();
15686 wxPyEndAllowThreads(__tstate);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 resultobj = SWIG_Py_Void();
15690 return resultobj;
15691fail:
15692 return NULL;
d14a1e28
RD
15693}
15694
15695
1bd55598
RD
15696SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15697 PyObject *resultobj = 0;
15698 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15699 void *argp1 = 0 ;
15700 int res1 = 0 ;
15701 PyObject *swig_obj[1] ;
15702
15703 if (!args) SWIG_fail;
15704 swig_obj[0] = args;
15705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15706 if (!SWIG_IsOK(res1)) {
15707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15708 }
15709 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15710 {
15711 PyThreadState* __tstate = wxPyBeginAllowThreads();
15712 (arg1)->WordPartRightExtend();
15713 wxPyEndAllowThreads(__tstate);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 }
15716 resultobj = SWIG_Py_Void();
15717 return resultobj;
15718fail:
15719 return NULL;
15720}
15721
15722
15723SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj = 0;
15725 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15726 int arg2 ;
15727 int arg3 ;
15728 void *argp1 = 0 ;
15729 int res1 = 0 ;
15730 int val2 ;
15731 int ecode2 = 0 ;
15732 int val3 ;
15733 int ecode3 = 0 ;
15734 PyObject * obj0 = 0 ;
15735 PyObject * obj1 = 0 ;
15736 PyObject * obj2 = 0 ;
15737 char * kwnames[] = {
15738 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
15739 };
15740
15741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15743 if (!SWIG_IsOK(res1)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15745 }
15746 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15747 ecode2 = SWIG_AsVal_int(obj1, &val2);
15748 if (!SWIG_IsOK(ecode2)) {
15749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "2"" of type '" "int""'");
15750 }
15751 arg2 = static_cast< int >(val2);
15752 ecode3 = SWIG_AsVal_int(obj2, &val3);
15753 if (!SWIG_IsOK(ecode3)) {
15754 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "3"" of type '" "int""'");
15755 }
15756 arg3 = static_cast< int >(val3);
15757 {
15758 PyThreadState* __tstate = wxPyBeginAllowThreads();
15759 (arg1)->SetVisiblePolicy(arg2,arg3);
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 resultobj = SWIG_Py_Void();
15764 return resultobj;
15765fail:
15766 return NULL;
d14a1e28
RD
15767}
15768
15769
1bd55598
RD
15770SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15771 PyObject *resultobj = 0;
15772 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15773 void *argp1 = 0 ;
15774 int res1 = 0 ;
15775 PyObject *swig_obj[1] ;
15776
15777 if (!args) SWIG_fail;
15778 swig_obj[0] = args;
15779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15780 if (!SWIG_IsOK(res1)) {
15781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15782 }
15783 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15784 {
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 (arg1)->DelLineLeft();
15787 wxPyEndAllowThreads(__tstate);
15788 if (PyErr_Occurred()) SWIG_fail;
15789 }
15790 resultobj = SWIG_Py_Void();
15791 return resultobj;
15792fail:
15793 return NULL;
d14a1e28
RD
15794}
15795
15796
1bd55598
RD
15797SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15798 PyObject *resultobj = 0;
15799 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15800 void *argp1 = 0 ;
15801 int res1 = 0 ;
15802 PyObject *swig_obj[1] ;
15803
15804 if (!args) SWIG_fail;
15805 swig_obj[0] = args;
15806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15807 if (!SWIG_IsOK(res1)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15809 }
15810 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 (arg1)->DelLineRight();
15814 wxPyEndAllowThreads(__tstate);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 }
15817 resultobj = SWIG_Py_Void();
15818 return resultobj;
15819fail:
15820 return NULL;
15821}
15822
15823
15824SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15825 PyObject *resultobj = 0;
15826 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15827 int arg2 ;
15828 void *argp1 = 0 ;
15829 int res1 = 0 ;
15830 int val2 ;
15831 int ecode2 = 0 ;
15832 PyObject * obj0 = 0 ;
15833 PyObject * obj1 = 0 ;
15834 char * kwnames[] = {
15835 (char *) "self",(char *) "newOffset", NULL
15836 };
15837
15838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) SWIG_fail;
15839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15840 if (!SWIG_IsOK(res1)) {
15841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15842 }
15843 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15844 ecode2 = SWIG_AsVal_int(obj1, &val2);
15845 if (!SWIG_IsOK(ecode2)) {
15846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "2"" of type '" "int""'");
15847 }
15848 arg2 = static_cast< int >(val2);
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 (arg1)->SetXOffset(arg2);
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 resultobj = SWIG_Py_Void();
15856 return resultobj;
15857fail:
15858 return NULL;
d14a1e28
RD
15859}
15860
15861
1bd55598
RD
15862SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15863 PyObject *resultobj = 0;
15864 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15865 int result;
15866 void *argp1 = 0 ;
15867 int res1 = 0 ;
15868 PyObject *swig_obj[1] ;
15869
15870 if (!args) SWIG_fail;
15871 swig_obj[0] = args;
15872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15873 if (!SWIG_IsOK(res1)) {
15874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15875 }
15876 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 result = (int)(arg1)->GetXOffset();
15880 wxPyEndAllowThreads(__tstate);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 }
15883 resultobj = SWIG_From_int(static_cast< int >(result));
15884 return resultobj;
15885fail:
15886 return NULL;
d14a1e28
RD
15887}
15888
15889
1bd55598
RD
15890SWIGINTERN PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15891 PyObject *resultobj = 0;
15892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15893 void *argp1 = 0 ;
15894 int res1 = 0 ;
15895 PyObject *swig_obj[1] ;
15896
15897 if (!args) SWIG_fail;
15898 swig_obj[0] = args;
15899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15900 if (!SWIG_IsOK(res1)) {
15901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ChooseCaretX" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15902 }
15903 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15904 {
15905 PyThreadState* __tstate = wxPyBeginAllowThreads();
15906 (arg1)->ChooseCaretX();
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 resultobj = SWIG_Py_Void();
15911 return resultobj;
15912fail:
15913 return NULL;
15914}
15915
15916
15917SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj = 0;
15919 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15920 int arg2 ;
15921 int arg3 ;
15922 void *argp1 = 0 ;
15923 int res1 = 0 ;
15924 int val2 ;
15925 int ecode2 = 0 ;
15926 int val3 ;
15927 int ecode3 = 0 ;
15928 PyObject * obj0 = 0 ;
15929 PyObject * obj1 = 0 ;
15930 PyObject * obj2 = 0 ;
15931 char * kwnames[] = {
15932 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
15933 };
15934
15935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15937 if (!SWIG_IsOK(res1)) {
15938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15939 }
15940 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15941 ecode2 = SWIG_AsVal_int(obj1, &val2);
15942 if (!SWIG_IsOK(ecode2)) {
15943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "2"" of type '" "int""'");
15944 }
15945 arg2 = static_cast< int >(val2);
15946 ecode3 = SWIG_AsVal_int(obj2, &val3);
15947 if (!SWIG_IsOK(ecode3)) {
15948 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "3"" of type '" "int""'");
15949 }
15950 arg3 = static_cast< int >(val3);
15951 {
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 (arg1)->SetXCaretPolicy(arg2,arg3);
15954 wxPyEndAllowThreads(__tstate);
15955 if (PyErr_Occurred()) SWIG_fail;
15956 }
15957 resultobj = SWIG_Py_Void();
15958 return resultobj;
15959fail:
15960 return NULL;
15961}
15962
15963
15964SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15965 PyObject *resultobj = 0;
15966 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15967 int arg2 ;
15968 int arg3 ;
15969 void *argp1 = 0 ;
15970 int res1 = 0 ;
15971 int val2 ;
15972 int ecode2 = 0 ;
15973 int val3 ;
15974 int ecode3 = 0 ;
15975 PyObject * obj0 = 0 ;
15976 PyObject * obj1 = 0 ;
15977 PyObject * obj2 = 0 ;
15978 char * kwnames[] = {
15979 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
15980 };
15981
15982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15984 if (!SWIG_IsOK(res1)) {
15985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15986 }
15987 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15988 ecode2 = SWIG_AsVal_int(obj1, &val2);
15989 if (!SWIG_IsOK(ecode2)) {
15990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "2"" of type '" "int""'");
15991 }
15992 arg2 = static_cast< int >(val2);
15993 ecode3 = SWIG_AsVal_int(obj2, &val3);
15994 if (!SWIG_IsOK(ecode3)) {
15995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "3"" of type '" "int""'");
15996 }
15997 arg3 = static_cast< int >(val3);
15998 {
15999 PyThreadState* __tstate = wxPyBeginAllowThreads();
16000 (arg1)->SetYCaretPolicy(arg2,arg3);
16001 wxPyEndAllowThreads(__tstate);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 resultobj = SWIG_Py_Void();
16005 return resultobj;
16006fail:
16007 return NULL;
16008}
16009
16010
16011SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16012 PyObject *resultobj = 0;
16013 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16014 int arg2 ;
16015 void *argp1 = 0 ;
16016 int res1 = 0 ;
16017 int val2 ;
16018 int ecode2 = 0 ;
16019 PyObject * obj0 = 0 ;
16020 PyObject * obj1 = 0 ;
16021 char * kwnames[] = {
16022 (char *) "self",(char *) "mode", NULL
16023 };
16024
16025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
16026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16027 if (!SWIG_IsOK(res1)) {
16028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16029 }
16030 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16031 ecode2 = SWIG_AsVal_int(obj1, &val2);
16032 if (!SWIG_IsOK(ecode2)) {
16033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "2"" of type '" "int""'");
16034 }
16035 arg2 = static_cast< int >(val2);
16036 {
16037 PyThreadState* __tstate = wxPyBeginAllowThreads();
16038 (arg1)->SetPrintWrapMode(arg2);
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 resultobj = SWIG_Py_Void();
16043 return resultobj;
16044fail:
16045 return NULL;
d14a1e28
RD
16046}
16047
16048
1bd55598
RD
16049SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16050 PyObject *resultobj = 0;
16051 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16052 int result;
16053 void *argp1 = 0 ;
16054 int res1 = 0 ;
16055 PyObject *swig_obj[1] ;
16056
16057 if (!args) SWIG_fail;
16058 swig_obj[0] = args;
16059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16060 if (!SWIG_IsOK(res1)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16062 }
16063 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 result = (int)(arg1)->GetPrintWrapMode();
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 resultobj = SWIG_From_int(static_cast< int >(result));
16071 return resultobj;
16072fail:
16073 return NULL;
16074}
16075
16076
16077SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj = 0;
16079 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16080 bool arg2 ;
16081 wxColour *arg3 = 0 ;
16082 void *argp1 = 0 ;
16083 int res1 = 0 ;
16084 bool val2 ;
16085 int ecode2 = 0 ;
16086 wxColour temp3 ;
16087 PyObject * obj0 = 0 ;
16088 PyObject * obj1 = 0 ;
16089 PyObject * obj2 = 0 ;
16090 char * kwnames[] = {
16091 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
16092 };
16093
16094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16096 if (!SWIG_IsOK(res1)) {
16097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16098 }
16099 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16100 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16101 if (!SWIG_IsOK(ecode2)) {
16102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "2"" of type '" "bool""'");
16103 }
16104 arg2 = static_cast< bool >(val2);
16105 {
16106 arg3 = &temp3;
16107 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16108 }
16109 {
16110 PyThreadState* __tstate = wxPyBeginAllowThreads();
16111 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
16112 wxPyEndAllowThreads(__tstate);
16113 if (PyErr_Occurred()) SWIG_fail;
16114 }
16115 resultobj = SWIG_Py_Void();
16116 return resultobj;
16117fail:
16118 return NULL;
16119}
16120
16121
16122SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16123 PyObject *resultobj = 0;
16124 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16125 bool arg2 ;
16126 wxColour *arg3 = 0 ;
16127 void *argp1 = 0 ;
16128 int res1 = 0 ;
16129 bool val2 ;
16130 int ecode2 = 0 ;
16131 wxColour temp3 ;
16132 PyObject * obj0 = 0 ;
16133 PyObject * obj1 = 0 ;
16134 PyObject * obj2 = 0 ;
16135 char * kwnames[] = {
16136 (char *) "self",(char *) "useSetting",(char *) "back", NULL
16137 };
16138
16139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16141 if (!SWIG_IsOK(res1)) {
16142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16143 }
16144 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16145 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16146 if (!SWIG_IsOK(ecode2)) {
16147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "2"" of type '" "bool""'");
16148 }
16149 arg2 = static_cast< bool >(val2);
16150 {
16151 arg3 = &temp3;
16152 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16153 }
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
16157 wxPyEndAllowThreads(__tstate);
16158 if (PyErr_Occurred()) SWIG_fail;
16159 }
16160 resultobj = SWIG_Py_Void();
16161 return resultobj;
16162fail:
16163 return NULL;
16164}
16165
16166
16167SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16168 PyObject *resultobj = 0;
16169 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16170 bool arg2 ;
16171 void *argp1 = 0 ;
16172 int res1 = 0 ;
16173 bool val2 ;
16174 int ecode2 = 0 ;
16175 PyObject * obj0 = 0 ;
16176 PyObject * obj1 = 0 ;
16177 char * kwnames[] = {
16178 (char *) "self",(char *) "underline", NULL
16179 };
16180
16181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) SWIG_fail;
16182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16183 if (!SWIG_IsOK(res1)) {
16184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16185 }
16186 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16187 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16188 if (!SWIG_IsOK(ecode2)) {
16189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "2"" of type '" "bool""'");
16190 }
16191 arg2 = static_cast< bool >(val2);
16192 {
16193 PyThreadState* __tstate = wxPyBeginAllowThreads();
16194 (arg1)->SetHotspotActiveUnderline(arg2);
16195 wxPyEndAllowThreads(__tstate);
16196 if (PyErr_Occurred()) SWIG_fail;
16197 }
16198 resultobj = SWIG_Py_Void();
16199 return resultobj;
16200fail:
16201 return NULL;
16202}
16203
16204
16205SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16206 PyObject *resultobj = 0;
16207 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16208 bool arg2 ;
16209 void *argp1 = 0 ;
16210 int res1 = 0 ;
16211 bool val2 ;
16212 int ecode2 = 0 ;
16213 PyObject * obj0 = 0 ;
16214 PyObject * obj1 = 0 ;
16215 char * kwnames[] = {
16216 (char *) "self",(char *) "singleLine", NULL
16217 };
16218
16219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) SWIG_fail;
16220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16221 if (!SWIG_IsOK(res1)) {
16222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16223 }
16224 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16225 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16226 if (!SWIG_IsOK(ecode2)) {
16227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "2"" of type '" "bool""'");
16228 }
16229 arg2 = static_cast< bool >(val2);
16230 {
16231 PyThreadState* __tstate = wxPyBeginAllowThreads();
16232 (arg1)->SetHotspotSingleLine(arg2);
16233 wxPyEndAllowThreads(__tstate);
16234 if (PyErr_Occurred()) SWIG_fail;
16235 }
16236 resultobj = SWIG_Py_Void();
16237 return resultobj;
16238fail:
16239 return NULL;
d14a1e28
RD
16240}
16241
16242
1bd55598
RD
16243SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16244 PyObject *resultobj = 0;
16245 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16246 void *argp1 = 0 ;
16247 int res1 = 0 ;
16248 PyObject *swig_obj[1] ;
16249
16250 if (!args) SWIG_fail;
16251 swig_obj[0] = args;
16252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16253 if (!SWIG_IsOK(res1)) {
16254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16255 }
16256 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16257 {
16258 PyThreadState* __tstate = wxPyBeginAllowThreads();
16259 (arg1)->ParaDown();
16260 wxPyEndAllowThreads(__tstate);
16261 if (PyErr_Occurred()) SWIG_fail;
16262 }
16263 resultobj = SWIG_Py_Void();
16264 return resultobj;
16265fail:
16266 return NULL;
d14a1e28
RD
16267}
16268
16269
1bd55598
RD
16270SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16271 PyObject *resultobj = 0;
16272 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16273 void *argp1 = 0 ;
16274 int res1 = 0 ;
16275 PyObject *swig_obj[1] ;
16276
16277 if (!args) SWIG_fail;
16278 swig_obj[0] = args;
16279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16280 if (!SWIG_IsOK(res1)) {
16281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16282 }
16283 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16284 {
16285 PyThreadState* __tstate = wxPyBeginAllowThreads();
16286 (arg1)->ParaDownExtend();
16287 wxPyEndAllowThreads(__tstate);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 }
16290 resultobj = SWIG_Py_Void();
16291 return resultobj;
16292fail:
16293 return NULL;
d14a1e28
RD
16294}
16295
16296
1bd55598
RD
16297SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16298 PyObject *resultobj = 0;
16299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16300 void *argp1 = 0 ;
16301 int res1 = 0 ;
16302 PyObject *swig_obj[1] ;
16303
16304 if (!args) SWIG_fail;
16305 swig_obj[0] = args;
16306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16307 if (!SWIG_IsOK(res1)) {
16308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16309 }
16310 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16311 {
16312 PyThreadState* __tstate = wxPyBeginAllowThreads();
16313 (arg1)->ParaUp();
16314 wxPyEndAllowThreads(__tstate);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 }
16317 resultobj = SWIG_Py_Void();
16318 return resultobj;
16319fail:
16320 return NULL;
d14a1e28
RD
16321}
16322
16323
1bd55598
RD
16324SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16325 PyObject *resultobj = 0;
16326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16327 void *argp1 = 0 ;
16328 int res1 = 0 ;
16329 PyObject *swig_obj[1] ;
16330
16331 if (!args) SWIG_fail;
16332 swig_obj[0] = args;
16333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16334 if (!SWIG_IsOK(res1)) {
16335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16336 }
16337 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16338 {
16339 PyThreadState* __tstate = wxPyBeginAllowThreads();
16340 (arg1)->ParaUpExtend();
16341 wxPyEndAllowThreads(__tstate);
16342 if (PyErr_Occurred()) SWIG_fail;
16343 }
16344 resultobj = SWIG_Py_Void();
16345 return resultobj;
16346fail:
16347 return NULL;
16348}
16349
16350
16351SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj = 0;
16353 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16354 int arg2 ;
16355 int result;
16356 void *argp1 = 0 ;
16357 int res1 = 0 ;
16358 int val2 ;
16359 int ecode2 = 0 ;
16360 PyObject * obj0 = 0 ;
16361 PyObject * obj1 = 0 ;
16362 char * kwnames[] = {
16363 (char *) "self",(char *) "pos", NULL
16364 };
16365
16366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) SWIG_fail;
16367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16368 if (!SWIG_IsOK(res1)) {
16369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16370 }
16371 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16372 ecode2 = SWIG_AsVal_int(obj1, &val2);
16373 if (!SWIG_IsOK(ecode2)) {
16374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "2"" of type '" "int""'");
16375 }
16376 arg2 = static_cast< int >(val2);
16377 {
16378 PyThreadState* __tstate = wxPyBeginAllowThreads();
16379 result = (int)(arg1)->PositionBefore(arg2);
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 resultobj = SWIG_From_int(static_cast< int >(result));
16384 return resultobj;
16385fail:
16386 return NULL;
16387}
16388
16389
16390SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16391 PyObject *resultobj = 0;
16392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16393 int arg2 ;
16394 int result;
16395 void *argp1 = 0 ;
16396 int res1 = 0 ;
16397 int val2 ;
16398 int ecode2 = 0 ;
16399 PyObject * obj0 = 0 ;
16400 PyObject * obj1 = 0 ;
16401 char * kwnames[] = {
16402 (char *) "self",(char *) "pos", NULL
16403 };
16404
16405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) SWIG_fail;
16406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16407 if (!SWIG_IsOK(res1)) {
16408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16409 }
16410 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16411 ecode2 = SWIG_AsVal_int(obj1, &val2);
16412 if (!SWIG_IsOK(ecode2)) {
16413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "2"" of type '" "int""'");
16414 }
16415 arg2 = static_cast< int >(val2);
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
16418 result = (int)(arg1)->PositionAfter(arg2);
16419 wxPyEndAllowThreads(__tstate);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 }
16422 resultobj = SWIG_From_int(static_cast< int >(result));
16423 return resultobj;
16424fail:
16425 return NULL;
16426}
16427
16428
16429SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16430 PyObject *resultobj = 0;
16431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16432 int arg2 ;
16433 int arg3 ;
16434 void *argp1 = 0 ;
16435 int res1 = 0 ;
16436 int val2 ;
16437 int ecode2 = 0 ;
16438 int val3 ;
16439 int ecode3 = 0 ;
16440 PyObject * obj0 = 0 ;
16441 PyObject * obj1 = 0 ;
16442 PyObject * obj2 = 0 ;
16443 char * kwnames[] = {
16444 (char *) "self",(char *) "start",(char *) "end", NULL
16445 };
16446
16447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16449 if (!SWIG_IsOK(res1)) {
16450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16451 }
16452 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16453 ecode2 = SWIG_AsVal_int(obj1, &val2);
16454 if (!SWIG_IsOK(ecode2)) {
16455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "2"" of type '" "int""'");
16456 }
16457 arg2 = static_cast< int >(val2);
16458 ecode3 = SWIG_AsVal_int(obj2, &val3);
16459 if (!SWIG_IsOK(ecode3)) {
16460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "3"" of type '" "int""'");
16461 }
16462 arg3 = static_cast< int >(val3);
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 (arg1)->CopyRange(arg2,arg3);
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 resultobj = SWIG_Py_Void();
16470 return resultobj;
16471fail:
16472 return NULL;
16473}
16474
16475
16476SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj = 0;
16478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16479 int arg2 ;
16480 wxString *arg3 = 0 ;
16481 void *argp1 = 0 ;
16482 int res1 = 0 ;
16483 int val2 ;
16484 int ecode2 = 0 ;
16485 bool temp3 = false ;
16486 PyObject * obj0 = 0 ;
16487 PyObject * obj1 = 0 ;
16488 PyObject * obj2 = 0 ;
16489 char * kwnames[] = {
16490 (char *) "self",(char *) "length",(char *) "text", NULL
16491 };
16492
16493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16495 if (!SWIG_IsOK(res1)) {
16496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16497 }
16498 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16499 ecode2 = SWIG_AsVal_int(obj1, &val2);
16500 if (!SWIG_IsOK(ecode2)) {
16501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "2"" of type '" "int""'");
16502 }
16503 arg2 = static_cast< int >(val2);
16504 {
16505 arg3 = wxString_in_helper(obj2);
16506 if (arg3 == NULL) SWIG_fail;
16507 temp3 = true;
16508 }
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 (arg1)->CopyText(arg2,(wxString const &)*arg3);
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 resultobj = SWIG_Py_Void();
16516 {
16517 if (temp3)
16518 delete arg3;
16519 }
16520 return resultobj;
16521fail:
16522 {
16523 if (temp3)
16524 delete arg3;
16525 }
16526 return NULL;
16527}
16528
16529
16530SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16531 PyObject *resultobj = 0;
16532 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16533 int arg2 ;
16534 void *argp1 = 0 ;
16535 int res1 = 0 ;
16536 int val2 ;
16537 int ecode2 = 0 ;
16538 PyObject * obj0 = 0 ;
16539 PyObject * obj1 = 0 ;
16540 char * kwnames[] = {
16541 (char *) "self",(char *) "mode", NULL
16542 };
16543
16544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) SWIG_fail;
16545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16546 if (!SWIG_IsOK(res1)) {
16547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16548 }
16549 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16550 ecode2 = SWIG_AsVal_int(obj1, &val2);
16551 if (!SWIG_IsOK(ecode2)) {
16552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "2"" of type '" "int""'");
16553 }
16554 arg2 = static_cast< int >(val2);
16555 {
16556 PyThreadState* __tstate = wxPyBeginAllowThreads();
16557 (arg1)->SetSelectionMode(arg2);
16558 wxPyEndAllowThreads(__tstate);
16559 if (PyErr_Occurred()) SWIG_fail;
16560 }
16561 resultobj = SWIG_Py_Void();
16562 return resultobj;
16563fail:
16564 return NULL;
d14a1e28
RD
16565}
16566
16567
1bd55598
RD
16568SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16569 PyObject *resultobj = 0;
16570 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16571 int result;
16572 void *argp1 = 0 ;
16573 int res1 = 0 ;
16574 PyObject *swig_obj[1] ;
16575
16576 if (!args) SWIG_fail;
16577 swig_obj[0] = args;
16578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16579 if (!SWIG_IsOK(res1)) {
16580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16581 }
16582 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16583 {
16584 PyThreadState* __tstate = wxPyBeginAllowThreads();
16585 result = (int)(arg1)->GetSelectionMode();
16586 wxPyEndAllowThreads(__tstate);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 }
16589 resultobj = SWIG_From_int(static_cast< int >(result));
16590 return resultobj;
16591fail:
16592 return NULL;
16593}
16594
16595
16596SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj = 0;
16598 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16599 int arg2 ;
16600 int result;
16601 void *argp1 = 0 ;
16602 int res1 = 0 ;
16603 int val2 ;
16604 int ecode2 = 0 ;
16605 PyObject * obj0 = 0 ;
16606 PyObject * obj1 = 0 ;
16607 char * kwnames[] = {
16608 (char *) "self",(char *) "line", NULL
16609 };
16610
16611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16613 if (!SWIG_IsOK(res1)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16615 }
16616 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16617 ecode2 = SWIG_AsVal_int(obj1, &val2);
16618 if (!SWIG_IsOK(ecode2)) {
16619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "2"" of type '" "int""'");
16620 }
16621 arg2 = static_cast< int >(val2);
16622 {
16623 PyThreadState* __tstate = wxPyBeginAllowThreads();
16624 result = (int)(arg1)->GetLineSelStartPosition(arg2);
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
16628 resultobj = SWIG_From_int(static_cast< int >(result));
16629 return resultobj;
16630fail:
16631 return NULL;
16632}
16633
16634
16635SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16636 PyObject *resultobj = 0;
16637 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16638 int arg2 ;
16639 int result;
16640 void *argp1 = 0 ;
16641 int res1 = 0 ;
16642 int val2 ;
16643 int ecode2 = 0 ;
16644 PyObject * obj0 = 0 ;
16645 PyObject * obj1 = 0 ;
16646 char * kwnames[] = {
16647 (char *) "self",(char *) "line", NULL
16648 };
16649
16650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16652 if (!SWIG_IsOK(res1)) {
16653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16654 }
16655 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16656 ecode2 = SWIG_AsVal_int(obj1, &val2);
16657 if (!SWIG_IsOK(ecode2)) {
16658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "2"" of type '" "int""'");
16659 }
16660 arg2 = static_cast< int >(val2);
16661 {
16662 PyThreadState* __tstate = wxPyBeginAllowThreads();
16663 result = (int)(arg1)->GetLineSelEndPosition(arg2);
16664 wxPyEndAllowThreads(__tstate);
16665 if (PyErr_Occurred()) SWIG_fail;
16666 }
16667 resultobj = SWIG_From_int(static_cast< int >(result));
16668 return resultobj;
16669fail:
16670 return NULL;
d14a1e28
RD
16671}
16672
16673
1bd55598
RD
16674SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16675 PyObject *resultobj = 0;
16676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16677 void *argp1 = 0 ;
16678 int res1 = 0 ;
16679 PyObject *swig_obj[1] ;
16680
16681 if (!args) SWIG_fail;
16682 swig_obj[0] = args;
16683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16684 if (!SWIG_IsOK(res1)) {
16685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16686 }
16687 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16688 {
16689 PyThreadState* __tstate = wxPyBeginAllowThreads();
16690 (arg1)->LineDownRectExtend();
16691 wxPyEndAllowThreads(__tstate);
16692 if (PyErr_Occurred()) SWIG_fail;
16693 }
16694 resultobj = SWIG_Py_Void();
16695 return resultobj;
16696fail:
16697 return NULL;
d14a1e28
RD
16698}
16699
16700
1bd55598
RD
16701SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16702 PyObject *resultobj = 0;
16703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16704 void *argp1 = 0 ;
16705 int res1 = 0 ;
16706 PyObject *swig_obj[1] ;
16707
16708 if (!args) SWIG_fail;
16709 swig_obj[0] = args;
16710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16711 if (!SWIG_IsOK(res1)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16713 }
16714 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16715 {
16716 PyThreadState* __tstate = wxPyBeginAllowThreads();
16717 (arg1)->LineUpRectExtend();
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 resultobj = SWIG_Py_Void();
16722 return resultobj;
16723fail:
16724 return NULL;
d14a1e28
RD
16725}
16726
16727
1bd55598
RD
16728SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16729 PyObject *resultobj = 0;
16730 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16731 void *argp1 = 0 ;
16732 int res1 = 0 ;
16733 PyObject *swig_obj[1] ;
16734
16735 if (!args) SWIG_fail;
16736 swig_obj[0] = args;
16737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16738 if (!SWIG_IsOK(res1)) {
16739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16740 }
16741 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16742 {
16743 PyThreadState* __tstate = wxPyBeginAllowThreads();
16744 (arg1)->CharLeftRectExtend();
16745 wxPyEndAllowThreads(__tstate);
16746 if (PyErr_Occurred()) SWIG_fail;
16747 }
16748 resultobj = SWIG_Py_Void();
16749 return resultobj;
16750fail:
16751 return NULL;
d14a1e28
RD
16752}
16753
16754
1bd55598
RD
16755SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16756 PyObject *resultobj = 0;
16757 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16758 void *argp1 = 0 ;
16759 int res1 = 0 ;
16760 PyObject *swig_obj[1] ;
16761
16762 if (!args) SWIG_fail;
16763 swig_obj[0] = args;
16764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16765 if (!SWIG_IsOK(res1)) {
16766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16767 }
16768 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16769 {
16770 PyThreadState* __tstate = wxPyBeginAllowThreads();
16771 (arg1)->CharRightRectExtend();
16772 wxPyEndAllowThreads(__tstate);
16773 if (PyErr_Occurred()) SWIG_fail;
16774 }
16775 resultobj = SWIG_Py_Void();
16776 return resultobj;
16777fail:
16778 return NULL;
d14a1e28
RD
16779}
16780
16781
1bd55598
RD
16782SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16783 PyObject *resultobj = 0;
16784 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16785 void *argp1 = 0 ;
16786 int res1 = 0 ;
16787 PyObject *swig_obj[1] ;
16788
16789 if (!args) SWIG_fail;
16790 swig_obj[0] = args;
16791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16792 if (!SWIG_IsOK(res1)) {
16793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16794 }
16795 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16796 {
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 (arg1)->HomeRectExtend();
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 resultobj = SWIG_Py_Void();
16803 return resultobj;
16804fail:
16805 return NULL;
d14a1e28
RD
16806}
16807
16808
1bd55598
RD
16809SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16810 PyObject *resultobj = 0;
16811 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16812 void *argp1 = 0 ;
16813 int res1 = 0 ;
16814 PyObject *swig_obj[1] ;
16815
16816 if (!args) SWIG_fail;
16817 swig_obj[0] = args;
16818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16819 if (!SWIG_IsOK(res1)) {
16820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16821 }
16822 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 (arg1)->VCHomeRectExtend();
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 resultobj = SWIG_Py_Void();
16830 return resultobj;
16831fail:
16832 return NULL;
d14a1e28
RD
16833}
16834
16835
1bd55598
RD
16836SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16837 PyObject *resultobj = 0;
16838 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16839 void *argp1 = 0 ;
16840 int res1 = 0 ;
16841 PyObject *swig_obj[1] ;
16842
16843 if (!args) SWIG_fail;
16844 swig_obj[0] = args;
16845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16846 if (!SWIG_IsOK(res1)) {
16847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16848 }
16849 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16850 {
16851 PyThreadState* __tstate = wxPyBeginAllowThreads();
16852 (arg1)->LineEndRectExtend();
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 resultobj = SWIG_Py_Void();
16857 return resultobj;
16858fail:
16859 return NULL;
d14a1e28
RD
16860}
16861
16862
1bd55598
RD
16863SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16864 PyObject *resultobj = 0;
16865 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16866 void *argp1 = 0 ;
16867 int res1 = 0 ;
16868 PyObject *swig_obj[1] ;
16869
16870 if (!args) SWIG_fail;
16871 swig_obj[0] = args;
16872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16873 if (!SWIG_IsOK(res1)) {
16874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16875 }
16876 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16877 {
16878 PyThreadState* __tstate = wxPyBeginAllowThreads();
16879 (arg1)->PageUpRectExtend();
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 resultobj = SWIG_Py_Void();
16884 return resultobj;
16885fail:
16886 return NULL;
5e483524
RD
16887}
16888
16889
1bd55598
RD
16890SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16891 PyObject *resultobj = 0;
16892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16893 void *argp1 = 0 ;
16894 int res1 = 0 ;
16895 PyObject *swig_obj[1] ;
16896
16897 if (!args) SWIG_fail;
16898 swig_obj[0] = args;
16899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16900 if (!SWIG_IsOK(res1)) {
16901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16902 }
16903 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16904 {
16905 PyThreadState* __tstate = wxPyBeginAllowThreads();
16906 (arg1)->PageDownRectExtend();
16907 wxPyEndAllowThreads(__tstate);
16908 if (PyErr_Occurred()) SWIG_fail;
16909 }
16910 resultobj = SWIG_Py_Void();
16911 return resultobj;
16912fail:
16913 return NULL;
5e483524
RD
16914}
16915
16916
1bd55598
RD
16917SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16918 PyObject *resultobj = 0;
16919 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16920 void *argp1 = 0 ;
16921 int res1 = 0 ;
16922 PyObject *swig_obj[1] ;
16923
16924 if (!args) SWIG_fail;
16925 swig_obj[0] = args;
16926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16927 if (!SWIG_IsOK(res1)) {
16928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16929 }
16930 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16931 {
16932 PyThreadState* __tstate = wxPyBeginAllowThreads();
16933 (arg1)->StutteredPageUp();
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 resultobj = SWIG_Py_Void();
16938 return resultobj;
16939fail:
16940 return NULL;
5e483524
RD
16941}
16942
16943
1bd55598
RD
16944SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16945 PyObject *resultobj = 0;
16946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16947 void *argp1 = 0 ;
16948 int res1 = 0 ;
16949 PyObject *swig_obj[1] ;
16950
16951 if (!args) SWIG_fail;
16952 swig_obj[0] = args;
16953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16954 if (!SWIG_IsOK(res1)) {
16955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16956 }
16957 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16958 {
16959 PyThreadState* __tstate = wxPyBeginAllowThreads();
16960 (arg1)->StutteredPageUpExtend();
16961 wxPyEndAllowThreads(__tstate);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 }
16964 resultobj = SWIG_Py_Void();
16965 return resultobj;
16966fail:
16967 return NULL;
5e483524
RD
16968}
16969
16970
1bd55598
RD
16971SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16972 PyObject *resultobj = 0;
16973 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16974 void *argp1 = 0 ;
16975 int res1 = 0 ;
16976 PyObject *swig_obj[1] ;
16977
16978 if (!args) SWIG_fail;
16979 swig_obj[0] = args;
16980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16981 if (!SWIG_IsOK(res1)) {
16982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16983 }
16984 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 (arg1)->StutteredPageDown();
16988 wxPyEndAllowThreads(__tstate);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 resultobj = SWIG_Py_Void();
16992 return resultobj;
16993fail:
16994 return NULL;
5e483524
RD
16995}
16996
16997
1bd55598
RD
16998SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16999 PyObject *resultobj = 0;
17000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17001 void *argp1 = 0 ;
17002 int res1 = 0 ;
17003 PyObject *swig_obj[1] ;
17004
17005 if (!args) SWIG_fail;
17006 swig_obj[0] = args;
17007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17008 if (!SWIG_IsOK(res1)) {
17009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17010 }
17011 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17012 {
17013 PyThreadState* __tstate = wxPyBeginAllowThreads();
17014 (arg1)->StutteredPageDownExtend();
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 resultobj = SWIG_Py_Void();
17019 return resultobj;
17020fail:
17021 return NULL;
5e483524
RD
17022}
17023
17024
1bd55598
RD
17025SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17026 PyObject *resultobj = 0;
17027 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17028 void *argp1 = 0 ;
17029 int res1 = 0 ;
17030 PyObject *swig_obj[1] ;
17031
17032 if (!args) SWIG_fail;
17033 swig_obj[0] = args;
17034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17035 if (!SWIG_IsOK(res1)) {
17036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17037 }
17038 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17039 {
17040 PyThreadState* __tstate = wxPyBeginAllowThreads();
17041 (arg1)->WordLeftEnd();
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 resultobj = SWIG_Py_Void();
17046 return resultobj;
17047fail:
17048 return NULL;
d14a1e28
RD
17049}
17050
17051
1bd55598
RD
17052SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17053 PyObject *resultobj = 0;
17054 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17055 void *argp1 = 0 ;
17056 int res1 = 0 ;
17057 PyObject *swig_obj[1] ;
17058
17059 if (!args) SWIG_fail;
17060 swig_obj[0] = args;
17061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17062 if (!SWIG_IsOK(res1)) {
17063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17064 }
17065 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17066 {
17067 PyThreadState* __tstate = wxPyBeginAllowThreads();
17068 (arg1)->WordLeftEndExtend();
17069 wxPyEndAllowThreads(__tstate);
17070 if (PyErr_Occurred()) SWIG_fail;
17071 }
17072 resultobj = SWIG_Py_Void();
17073 return resultobj;
17074fail:
17075 return NULL;
d14a1e28
RD
17076}
17077
17078
1bd55598
RD
17079SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17080 PyObject *resultobj = 0;
17081 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17082 void *argp1 = 0 ;
17083 int res1 = 0 ;
17084 PyObject *swig_obj[1] ;
17085
17086 if (!args) SWIG_fail;
17087 swig_obj[0] = args;
17088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17089 if (!SWIG_IsOK(res1)) {
17090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17091 }
17092 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 (arg1)->WordRightEnd();
17096 wxPyEndAllowThreads(__tstate);
17097 if (PyErr_Occurred()) SWIG_fail;
17098 }
17099 resultobj = SWIG_Py_Void();
17100 return resultobj;
17101fail:
17102 return NULL;
d14a1e28
RD
17103}
17104
17105
1bd55598
RD
17106SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17107 PyObject *resultobj = 0;
17108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17109 void *argp1 = 0 ;
17110 int res1 = 0 ;
17111 PyObject *swig_obj[1] ;
17112
17113 if (!args) SWIG_fail;
17114 swig_obj[0] = args;
17115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17116 if (!SWIG_IsOK(res1)) {
17117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17118 }
17119 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17120 {
17121 PyThreadState* __tstate = wxPyBeginAllowThreads();
17122 (arg1)->WordRightEndExtend();
17123 wxPyEndAllowThreads(__tstate);
17124 if (PyErr_Occurred()) SWIG_fail;
17125 }
17126 resultobj = SWIG_Py_Void();
17127 return resultobj;
17128fail:
17129 return NULL;
17130}
17131
17132
17133SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17134 PyObject *resultobj = 0;
17135 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17136 wxString *arg2 = 0 ;
17137 void *argp1 = 0 ;
17138 int res1 = 0 ;
17139 bool temp2 = false ;
17140 PyObject * obj0 = 0 ;
17141 PyObject * obj1 = 0 ;
17142 char * kwnames[] = {
17143 (char *) "self",(char *) "characters", NULL
17144 };
17145
17146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) SWIG_fail;
17147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17148 if (!SWIG_IsOK(res1)) {
17149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17150 }
17151 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17152 {
17153 arg2 = wxString_in_helper(obj1);
17154 if (arg2 == NULL) SWIG_fail;
17155 temp2 = true;
17156 }
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
17160 wxPyEndAllowThreads(__tstate);
17161 if (PyErr_Occurred()) SWIG_fail;
17162 }
17163 resultobj = SWIG_Py_Void();
17164 {
17165 if (temp2)
17166 delete arg2;
17167 }
17168 return resultobj;
17169fail:
17170 {
17171 if (temp2)
17172 delete arg2;
17173 }
17174 return NULL;
d14a1e28
RD
17175}
17176
17177
1bd55598
RD
17178SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17179 PyObject *resultobj = 0;
17180 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17181 void *argp1 = 0 ;
17182 int res1 = 0 ;
17183 PyObject *swig_obj[1] ;
17184
17185 if (!args) SWIG_fail;
17186 swig_obj[0] = args;
17187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17188 if (!SWIG_IsOK(res1)) {
17189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCharsDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17190 }
17191 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17192 {
17193 PyThreadState* __tstate = wxPyBeginAllowThreads();
17194 (arg1)->SetCharsDefault();
17195 wxPyEndAllowThreads(__tstate);
17196 if (PyErr_Occurred()) SWIG_fail;
17197 }
17198 resultobj = SWIG_Py_Void();
17199 return resultobj;
17200fail:
17201 return NULL;
d14a1e28
RD
17202}
17203
17204
1bd55598
RD
17205SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17206 PyObject *resultobj = 0;
17207 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17208 int result;
17209 void *argp1 = 0 ;
17210 int res1 = 0 ;
17211 PyObject *swig_obj[1] ;
17212
17213 if (!args) SWIG_fail;
17214 swig_obj[0] = args;
17215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17216 if (!SWIG_IsOK(res1)) {
17217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCurrent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17218 }
17219 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17220 {
17221 PyThreadState* __tstate = wxPyBeginAllowThreads();
17222 result = (int)(arg1)->AutoCompGetCurrent();
17223 wxPyEndAllowThreads(__tstate);
17224 if (PyErr_Occurred()) SWIG_fail;
17225 }
17226 resultobj = SWIG_From_int(static_cast< int >(result));
17227 return resultobj;
17228fail:
17229 return NULL;
17230}
17231
17232
17233SWIGINTERN PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17234 PyObject *resultobj = 0;
17235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17236 int arg2 ;
17237 void *argp1 = 0 ;
17238 int res1 = 0 ;
17239 int val2 ;
17240 int ecode2 = 0 ;
17241 PyObject * obj0 = 0 ;
17242 PyObject * obj1 = 0 ;
17243 char * kwnames[] = {
17244 (char *) "self",(char *) "bytes", NULL
17245 };
17246
17247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) SWIG_fail;
17248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17249 if (!SWIG_IsOK(res1)) {
17250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17251 }
17252 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17253 ecode2 = SWIG_AsVal_int(obj1, &val2);
17254 if (!SWIG_IsOK(ecode2)) {
17255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "2"" of type '" "int""'");
17256 }
17257 arg2 = static_cast< int >(val2);
17258 {
17259 PyThreadState* __tstate = wxPyBeginAllowThreads();
17260 (arg1)->Allocate(arg2);
17261 wxPyEndAllowThreads(__tstate);
17262 if (PyErr_Occurred()) SWIG_fail;
17263 }
17264 resultobj = SWIG_Py_Void();
17265 return resultobj;
17266fail:
17267 return NULL;
17268}
17269
17270
17271SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17272 PyObject *resultobj = 0;
17273 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17274 int arg2 ;
17275 int arg3 ;
17276 int result;
17277 void *argp1 = 0 ;
17278 int res1 = 0 ;
17279 int val2 ;
17280 int ecode2 = 0 ;
17281 int val3 ;
17282 int ecode3 = 0 ;
17283 PyObject * obj0 = 0 ;
17284 PyObject * obj1 = 0 ;
17285 PyObject * obj2 = 0 ;
17286 char * kwnames[] = {
17287 (char *) "self",(char *) "line",(char *) "column", NULL
17288 };
17289
17290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17292 if (!SWIG_IsOK(res1)) {
17293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17294 }
17295 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17296 ecode2 = SWIG_AsVal_int(obj1, &val2);
17297 if (!SWIG_IsOK(ecode2)) {
17298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "2"" of type '" "int""'");
17299 }
17300 arg2 = static_cast< int >(val2);
17301 ecode3 = SWIG_AsVal_int(obj2, &val3);
17302 if (!SWIG_IsOK(ecode3)) {
17303 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "3"" of type '" "int""'");
17304 }
17305 arg3 = static_cast< int >(val3);
17306 {
17307 PyThreadState* __tstate = wxPyBeginAllowThreads();
17308 result = (int)(arg1)->FindColumn(arg2,arg3);
17309 wxPyEndAllowThreads(__tstate);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 }
17312 resultobj = SWIG_From_int(static_cast< int >(result));
17313 return resultobj;
17314fail:
17315 return NULL;
d14a1e28
RD
17316}
17317
17318
1bd55598
RD
17319SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17320 PyObject *resultobj = 0;
17321 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17322 bool result;
17323 void *argp1 = 0 ;
17324 int res1 = 0 ;
17325 PyObject *swig_obj[1] ;
17326
17327 if (!args) SWIG_fail;
17328 swig_obj[0] = args;
17329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17330 if (!SWIG_IsOK(res1)) {
17331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17332 }
17333 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17334 {
17335 PyThreadState* __tstate = wxPyBeginAllowThreads();
17336 result = (bool)(arg1)->GetCaretSticky();
17337 wxPyEndAllowThreads(__tstate);
17338 if (PyErr_Occurred()) SWIG_fail;
17339 }
17340 {
17341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17342 }
17343 return resultobj;
17344fail:
17345 return NULL;
17346}
17347
17348
17349SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17350 PyObject *resultobj = 0;
17351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17352 bool arg2 ;
17353 void *argp1 = 0 ;
17354 int res1 = 0 ;
17355 bool val2 ;
17356 int ecode2 = 0 ;
17357 PyObject * obj0 = 0 ;
17358 PyObject * obj1 = 0 ;
17359 char * kwnames[] = {
17360 (char *) "self",(char *) "useCaretStickyBehaviour", NULL
17361 };
17362
17363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretSticky",kwnames,&obj0,&obj1)) SWIG_fail;
17364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17365 if (!SWIG_IsOK(res1)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17367 }
17368 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17369 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17370 if (!SWIG_IsOK(ecode2)) {
17371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "2"" of type '" "bool""'");
17372 }
17373 arg2 = static_cast< bool >(val2);
17374 {
17375 PyThreadState* __tstate = wxPyBeginAllowThreads();
17376 (arg1)->SetCaretSticky(arg2);
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 resultobj = SWIG_Py_Void();
17381 return resultobj;
17382fail:
17383 return NULL;
d14a1e28
RD
17384}
17385
17386
1bd55598
RD
17387SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17388 PyObject *resultobj = 0;
17389 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17390 void *argp1 = 0 ;
17391 int res1 = 0 ;
17392 PyObject *swig_obj[1] ;
17393
17394 if (!args) SWIG_fail;
17395 swig_obj[0] = args;
17396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17397 if (!SWIG_IsOK(res1)) {
17398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17399 }
17400 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17401 {
17402 PyThreadState* __tstate = wxPyBeginAllowThreads();
17403 (arg1)->ToggleCaretSticky();
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 resultobj = SWIG_Py_Void();
17408 return resultobj;
17409fail:
17410 return NULL;
17411}
17412
17413
17414SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17415 PyObject *resultobj = 0;
17416 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17417 bool arg2 ;
17418 void *argp1 = 0 ;
17419 int res1 = 0 ;
17420 bool val2 ;
17421 int ecode2 = 0 ;
17422 PyObject * obj0 = 0 ;
17423 PyObject * obj1 = 0 ;
17424 char * kwnames[] = {
17425 (char *) "self",(char *) "convert", NULL
17426 };
17427
17428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPasteConvertEndings",kwnames,&obj0,&obj1)) SWIG_fail;
17429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17430 if (!SWIG_IsOK(res1)) {
17431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17432 }
17433 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17434 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17435 if (!SWIG_IsOK(ecode2)) {
17436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "2"" of type '" "bool""'");
17437 }
17438 arg2 = static_cast< bool >(val2);
17439 {
17440 PyThreadState* __tstate = wxPyBeginAllowThreads();
17441 (arg1)->SetPasteConvertEndings(arg2);
17442 wxPyEndAllowThreads(__tstate);
17443 if (PyErr_Occurred()) SWIG_fail;
17444 }
17445 resultobj = SWIG_Py_Void();
17446 return resultobj;
17447fail:
17448 return NULL;
d14a1e28
RD
17449}
17450
17451
1bd55598
RD
17452SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17453 PyObject *resultobj = 0;
17454 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17455 bool result;
17456 void *argp1 = 0 ;
17457 int res1 = 0 ;
17458 PyObject *swig_obj[1] ;
17459
17460 if (!args) SWIG_fail;
17461 swig_obj[0] = args;
17462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17463 if (!SWIG_IsOK(res1)) {
17464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17465 }
17466 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 result = (bool)(arg1)->GetPasteConvertEndings();
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 {
17474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17475 }
17476 return resultobj;
17477fail:
17478 return NULL;
d14a1e28
RD
17479}
17480
17481
1bd55598
RD
17482SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17483 PyObject *resultobj = 0;
17484 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17485 void *argp1 = 0 ;
17486 int res1 = 0 ;
17487 PyObject *swig_obj[1] ;
17488
17489 if (!args) SWIG_fail;
17490 swig_obj[0] = args;
17491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17492 if (!SWIG_IsOK(res1)) {
17493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17494 }
17495 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 (arg1)->SelectionDuplicate();
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 resultobj = SWIG_Py_Void();
17503 return resultobj;
17504fail:
17505 return NULL;
d14a1e28
RD
17506}
17507
17508
1bd55598
RD
17509SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17510 PyObject *resultobj = 0;
17511 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17512 void *argp1 = 0 ;
17513 int res1 = 0 ;
17514 PyObject *swig_obj[1] ;
17515
17516 if (!args) SWIG_fail;
17517 swig_obj[0] = args;
17518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17519 if (!SWIG_IsOK(res1)) {
17520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17521 }
17522 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 (arg1)->StartRecord();
17526 wxPyEndAllowThreads(__tstate);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 resultobj = SWIG_Py_Void();
17530 return resultobj;
17531fail:
17532 return NULL;
d14a1e28
RD
17533}
17534
17535
1bd55598
RD
17536SWIGINTERN PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17537 PyObject *resultobj = 0;
17538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17539 void *argp1 = 0 ;
17540 int res1 = 0 ;
17541 PyObject *swig_obj[1] ;
17542
17543 if (!args) SWIG_fail;
17544 swig_obj[0] = args;
17545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17546 if (!SWIG_IsOK(res1)) {
17547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StopRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17548 }
17549 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17550 {
17551 PyThreadState* __tstate = wxPyBeginAllowThreads();
17552 (arg1)->StopRecord();
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 resultobj = SWIG_Py_Void();
17557 return resultobj;
17558fail:
17559 return NULL;
17560}
17561
17562
17563SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj = 0;
17565 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17566 int arg2 ;
17567 void *argp1 = 0 ;
17568 int res1 = 0 ;
17569 int val2 ;
17570 int ecode2 = 0 ;
17571 PyObject * obj0 = 0 ;
17572 PyObject * obj1 = 0 ;
17573 char * kwnames[] = {
17574 (char *) "self",(char *) "lexer", NULL
17575 };
17576
17577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) SWIG_fail;
17578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17579 if (!SWIG_IsOK(res1)) {
17580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17581 }
17582 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17583 ecode2 = SWIG_AsVal_int(obj1, &val2);
17584 if (!SWIG_IsOK(ecode2)) {
17585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "2"" of type '" "int""'");
17586 }
17587 arg2 = static_cast< int >(val2);
17588 {
17589 PyThreadState* __tstate = wxPyBeginAllowThreads();
17590 (arg1)->SetLexer(arg2);
17591 wxPyEndAllowThreads(__tstate);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 }
17594 resultobj = SWIG_Py_Void();
17595 return resultobj;
17596fail:
17597 return NULL;
d14a1e28
RD
17598}
17599
17600
1bd55598
RD
17601SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17602 PyObject *resultobj = 0;
17603 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17604 int result;
17605 void *argp1 = 0 ;
17606 int res1 = 0 ;
17607 PyObject *swig_obj[1] ;
17608
17609 if (!args) SWIG_fail;
17610 swig_obj[0] = args;
17611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17612 if (!SWIG_IsOK(res1)) {
17613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17614 }
17615 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17616 {
17617 PyThreadState* __tstate = wxPyBeginAllowThreads();
17618 result = (int)(arg1)->GetLexer();
17619 wxPyEndAllowThreads(__tstate);
17620 if (PyErr_Occurred()) SWIG_fail;
17621 }
17622 resultobj = SWIG_From_int(static_cast< int >(result));
17623 return resultobj;
17624fail:
17625 return NULL;
17626}
17627
17628
17629SWIGINTERN PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17630 PyObject *resultobj = 0;
17631 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17632 int arg2 ;
17633 int arg3 ;
17634 void *argp1 = 0 ;
17635 int res1 = 0 ;
17636 int val2 ;
17637 int ecode2 = 0 ;
17638 int val3 ;
17639 int ecode3 = 0 ;
17640 PyObject * obj0 = 0 ;
17641 PyObject * obj1 = 0 ;
17642 PyObject * obj2 = 0 ;
17643 char * kwnames[] = {
17644 (char *) "self",(char *) "start",(char *) "end", NULL
17645 };
17646
17647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17649 if (!SWIG_IsOK(res1)) {
17650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17651 }
17652 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17653 ecode2 = SWIG_AsVal_int(obj1, &val2);
17654 if (!SWIG_IsOK(ecode2)) {
17655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "2"" of type '" "int""'");
17656 }
17657 arg2 = static_cast< int >(val2);
17658 ecode3 = SWIG_AsVal_int(obj2, &val3);
17659 if (!SWIG_IsOK(ecode3)) {
17660 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "3"" of type '" "int""'");
17661 }
17662 arg3 = static_cast< int >(val3);
17663 {
17664 PyThreadState* __tstate = wxPyBeginAllowThreads();
17665 (arg1)->Colourise(arg2,arg3);
17666 wxPyEndAllowThreads(__tstate);
17667 if (PyErr_Occurred()) SWIG_fail;
17668 }
17669 resultobj = SWIG_Py_Void();
17670 return resultobj;
17671fail:
17672 return NULL;
17673}
17674
17675
17676SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17677 PyObject *resultobj = 0;
17678 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17679 wxString *arg2 = 0 ;
17680 wxString *arg3 = 0 ;
17681 void *argp1 = 0 ;
17682 int res1 = 0 ;
17683 bool temp2 = false ;
17684 bool temp3 = false ;
17685 PyObject * obj0 = 0 ;
17686 PyObject * obj1 = 0 ;
17687 PyObject * obj2 = 0 ;
17688 char * kwnames[] = {
17689 (char *) "self",(char *) "key",(char *) "value", NULL
17690 };
17691
17692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17694 if (!SWIG_IsOK(res1)) {
17695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17696 }
17697 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17698 {
17699 arg2 = wxString_in_helper(obj1);
17700 if (arg2 == NULL) SWIG_fail;
17701 temp2 = true;
17702 }
17703 {
17704 arg3 = wxString_in_helper(obj2);
17705 if (arg3 == NULL) SWIG_fail;
17706 temp3 = true;
17707 }
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 resultobj = SWIG_Py_Void();
17715 {
17716 if (temp2)
17717 delete arg2;
17718 }
17719 {
17720 if (temp3)
17721 delete arg3;
17722 }
17723 return resultobj;
17724fail:
17725 {
17726 if (temp2)
17727 delete arg2;
17728 }
17729 {
17730 if (temp3)
17731 delete arg3;
17732 }
17733 return NULL;
17734}
17735
17736
17737SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17738 PyObject *resultobj = 0;
17739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17740 int arg2 ;
17741 wxString *arg3 = 0 ;
17742 void *argp1 = 0 ;
17743 int res1 = 0 ;
17744 int val2 ;
17745 int ecode2 = 0 ;
17746 bool temp3 = false ;
17747 PyObject * obj0 = 0 ;
17748 PyObject * obj1 = 0 ;
17749 PyObject * obj2 = 0 ;
17750 char * kwnames[] = {
17751 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
17752 };
17753
17754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17756 if (!SWIG_IsOK(res1)) {
17757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17758 }
17759 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17760 ecode2 = SWIG_AsVal_int(obj1, &val2);
17761 if (!SWIG_IsOK(ecode2)) {
17762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "2"" of type '" "int""'");
17763 }
17764 arg2 = static_cast< int >(val2);
17765 {
17766 arg3 = wxString_in_helper(obj2);
17767 if (arg3 == NULL) SWIG_fail;
17768 temp3 = true;
17769 }
17770 {
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 resultobj = SWIG_Py_Void();
17777 {
17778 if (temp3)
17779 delete arg3;
17780 }
17781 return resultobj;
17782fail:
17783 {
17784 if (temp3)
17785 delete arg3;
17786 }
17787 return NULL;
d14a1e28
RD
17788}
17789
17790
1bd55598
RD
17791SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17792 PyObject *resultobj = 0;
17793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17794 wxString *arg2 = 0 ;
17795 void *argp1 = 0 ;
17796 int res1 = 0 ;
17797 bool temp2 = false ;
17798 PyObject * obj0 = 0 ;
17799 PyObject * obj1 = 0 ;
17800 char * kwnames[] = {
17801 (char *) "self",(char *) "language", NULL
17802 };
17803
17804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) SWIG_fail;
17805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17806 if (!SWIG_IsOK(res1)) {
17807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexerLanguage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17808 }
17809 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17810 {
17811 arg2 = wxString_in_helper(obj1);
17812 if (arg2 == NULL) SWIG_fail;
17813 temp2 = true;
17814 }
17815 {
17816 PyThreadState* __tstate = wxPyBeginAllowThreads();
17817 (arg1)->SetLexerLanguage((wxString const &)*arg2);
17818 wxPyEndAllowThreads(__tstate);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 resultobj = SWIG_Py_Void();
17822 {
17823 if (temp2)
17824 delete arg2;
17825 }
17826 return resultobj;
17827fail:
17828 {
17829 if (temp2)
17830 delete arg2;
17831 }
17832 return NULL;
17833}
17834
17835
17836SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj = 0;
17838 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17839 wxString *arg2 = 0 ;
17840 wxString result;
17841 void *argp1 = 0 ;
17842 int res1 = 0 ;
17843 bool temp2 = false ;
17844 PyObject * obj0 = 0 ;
17845 PyObject * obj1 = 0 ;
17846 char * kwnames[] = {
17847 (char *) "self",(char *) "key", NULL
17848 };
17849
17850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetProperty",kwnames,&obj0,&obj1)) SWIG_fail;
17851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17852 if (!SWIG_IsOK(res1)) {
17853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17854 }
17855 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17856 {
17857 arg2 = wxString_in_helper(obj1);
17858 if (arg2 == NULL) SWIG_fail;
17859 temp2 = true;
17860 }
17861 {
17862 PyThreadState* __tstate = wxPyBeginAllowThreads();
17863 result = (arg1)->GetProperty((wxString const &)*arg2);
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 {
17868#if wxUSE_UNICODE
17869 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17870#else
17871 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17872#endif
17873 }
17874 {
17875 if (temp2)
17876 delete arg2;
17877 }
17878 return resultobj;
17879fail:
17880 {
17881 if (temp2)
17882 delete arg2;
17883 }
17884 return NULL;
17885}
17886
17887
17888SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17889 PyObject *resultobj = 0;
17890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17891 wxString *arg2 = 0 ;
17892 wxString result;
17893 void *argp1 = 0 ;
17894 int res1 = 0 ;
17895 bool temp2 = false ;
17896 PyObject * obj0 = 0 ;
17897 PyObject * obj1 = 0 ;
17898 char * kwnames[] = {
17899 (char *) "self",(char *) "key", NULL
17900 };
17901
17902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
17903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17904 if (!SWIG_IsOK(res1)) {
17905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17906 }
17907 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17908 {
17909 arg2 = wxString_in_helper(obj1);
17910 if (arg2 == NULL) SWIG_fail;
17911 temp2 = true;
17912 }
17913 {
17914 PyThreadState* __tstate = wxPyBeginAllowThreads();
17915 result = (arg1)->GetPropertyExpanded((wxString const &)*arg2);
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 {
17920#if wxUSE_UNICODE
17921 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17922#else
17923 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17924#endif
17925 }
17926 {
17927 if (temp2)
17928 delete arg2;
17929 }
17930 return resultobj;
17931fail:
17932 {
17933 if (temp2)
17934 delete arg2;
17935 }
17936 return NULL;
17937}
17938
17939
17940SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17941 PyObject *resultobj = 0;
17942 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17943 wxString *arg2 = 0 ;
17944 int result;
17945 void *argp1 = 0 ;
17946 int res1 = 0 ;
17947 bool temp2 = false ;
17948 PyObject * obj0 = 0 ;
17949 PyObject * obj1 = 0 ;
17950 char * kwnames[] = {
17951 (char *) "self",(char *) "key", NULL
17952 };
17953
17954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyInt",kwnames,&obj0,&obj1)) SWIG_fail;
17955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17956 if (!SWIG_IsOK(res1)) {
17957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyInt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17958 }
17959 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17960 {
17961 arg2 = wxString_in_helper(obj1);
17962 if (arg2 == NULL) SWIG_fail;
17963 temp2 = true;
17964 }
17965 {
17966 PyThreadState* __tstate = wxPyBeginAllowThreads();
17967 result = (int)(arg1)->GetPropertyInt((wxString const &)*arg2);
17968 wxPyEndAllowThreads(__tstate);
17969 if (PyErr_Occurred()) SWIG_fail;
17970 }
17971 resultobj = SWIG_From_int(static_cast< int >(result));
17972 {
17973 if (temp2)
17974 delete arg2;
17975 }
17976 return resultobj;
17977fail:
17978 {
17979 if (temp2)
17980 delete arg2;
17981 }
17982 return NULL;
d14a1e28
RD
17983}
17984
17985
1bd55598
RD
17986SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBitsNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17987 PyObject *resultobj = 0;
17988 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17989 int result;
17990 void *argp1 = 0 ;
17991 int res1 = 0 ;
17992 PyObject *swig_obj[1] ;
17993
17994 if (!args) SWIG_fail;
17995 swig_obj[0] = args;
17996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17997 if (!SWIG_IsOK(res1)) {
17998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBitsNeeded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17999 }
18000 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 result = (int)(arg1)->GetStyleBitsNeeded();
18004 wxPyEndAllowThreads(__tstate);
18005 if (PyErr_Occurred()) SWIG_fail;
18006 }
18007 resultobj = SWIG_From_int(static_cast< int >(result));
18008 return resultobj;
18009fail:
18010 return NULL;
d14a1e28
RD
18011}
18012
18013
1bd55598
RD
18014SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18015 PyObject *resultobj = 0;
18016 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18017 int result;
18018 void *argp1 = 0 ;
18019 int res1 = 0 ;
18020 PyObject *swig_obj[1] ;
18021
18022 if (!args) SWIG_fail;
18023 swig_obj[0] = args;
18024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18025 if (!SWIG_IsOK(res1)) {
18026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18027 }
18028 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18029 {
18030 PyThreadState* __tstate = wxPyBeginAllowThreads();
18031 result = (int)(arg1)->GetCurrentLine();
18032 wxPyEndAllowThreads(__tstate);
18033 if (PyErr_Occurred()) SWIG_fail;
18034 }
18035 resultobj = SWIG_From_int(static_cast< int >(result));
18036 return resultobj;
18037fail:
18038 return NULL;
18039}
18040
18041
18042SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18043 PyObject *resultobj = 0;
18044 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18045 int arg2 ;
18046 wxString *arg3 = 0 ;
18047 void *argp1 = 0 ;
18048 int res1 = 0 ;
18049 int val2 ;
18050 int ecode2 = 0 ;
18051 bool temp3 = false ;
18052 PyObject * obj0 = 0 ;
18053 PyObject * obj1 = 0 ;
18054 PyObject * obj2 = 0 ;
18055 char * kwnames[] = {
18056 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
18057 };
18058
18059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18061 if (!SWIG_IsOK(res1)) {
18062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18063 }
18064 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18065 ecode2 = SWIG_AsVal_int(obj1, &val2);
18066 if (!SWIG_IsOK(ecode2)) {
18067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "2"" of type '" "int""'");
18068 }
18069 arg2 = static_cast< int >(val2);
18070 {
18071 arg3 = wxString_in_helper(obj2);
18072 if (arg3 == NULL) SWIG_fail;
18073 temp3 = true;
18074 }
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
18078 wxPyEndAllowThreads(__tstate);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
18081 resultobj = SWIG_Py_Void();
18082 {
18083 if (temp3)
18084 delete arg3;
18085 }
18086 return resultobj;
18087fail:
18088 {
18089 if (temp3)
18090 delete arg3;
18091 }
18092 return NULL;
18093}
18094
18095
18096SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18097 PyObject *resultobj = 0;
18098 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18099 int arg2 ;
18100 wxFont *arg3 = 0 ;
18101 void *argp1 = 0 ;
18102 int res1 = 0 ;
18103 int val2 ;
18104 int ecode2 = 0 ;
18105 void *argp3 = 0 ;
18106 int res3 = 0 ;
18107 PyObject * obj0 = 0 ;
18108 PyObject * obj1 = 0 ;
18109 PyObject * obj2 = 0 ;
18110 char * kwnames[] = {
18111 (char *) "self",(char *) "styleNum",(char *) "font", NULL
18112 };
18113
18114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18116 if (!SWIG_IsOK(res1)) {
18117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18118 }
18119 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18120 ecode2 = SWIG_AsVal_int(obj1, &val2);
18121 if (!SWIG_IsOK(ecode2)) {
18122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "2"" of type '" "int""'");
18123 }
18124 arg2 = static_cast< int >(val2);
18125 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 );
18126 if (!SWIG_IsOK(res3)) {
18127 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18128 }
18129 if (!argp3) {
18130 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18131 }
18132 arg3 = reinterpret_cast< wxFont * >(argp3);
18133 {
18134 PyThreadState* __tstate = wxPyBeginAllowThreads();
18135 (arg1)->StyleSetFont(arg2,*arg3);
18136 wxPyEndAllowThreads(__tstate);
18137 if (PyErr_Occurred()) SWIG_fail;
18138 }
18139 resultobj = SWIG_Py_Void();
18140 return resultobj;
18141fail:
18142 return NULL;
18143}
18144
18145
18146SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18147 PyObject *resultobj = 0;
18148 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18149 int arg2 ;
18150 int arg3 ;
18151 wxString *arg4 = 0 ;
18152 bool arg5 ;
18153 bool arg6 ;
18154 bool arg7 ;
18155 wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
18156 void *argp1 = 0 ;
18157 int res1 = 0 ;
18158 int val2 ;
18159 int ecode2 = 0 ;
18160 int val3 ;
18161 int ecode3 = 0 ;
18162 bool temp4 = false ;
18163 bool val5 ;
18164 int ecode5 = 0 ;
18165 bool val6 ;
18166 int ecode6 = 0 ;
18167 bool val7 ;
18168 int ecode7 = 0 ;
18169 int val8 ;
18170 int ecode8 = 0 ;
18171 PyObject * obj0 = 0 ;
18172 PyObject * obj1 = 0 ;
18173 PyObject * obj2 = 0 ;
18174 PyObject * obj3 = 0 ;
18175 PyObject * obj4 = 0 ;
18176 PyObject * obj5 = 0 ;
18177 PyObject * obj6 = 0 ;
18178 PyObject * obj7 = 0 ;
18179 char * kwnames[] = {
18180 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL
18181 };
18182
18183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18185 if (!SWIG_IsOK(res1)) {
18186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18187 }
18188 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18189 ecode2 = SWIG_AsVal_int(obj1, &val2);
18190 if (!SWIG_IsOK(ecode2)) {
18191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "2"" of type '" "int""'");
18192 }
18193 arg2 = static_cast< int >(val2);
18194 ecode3 = SWIG_AsVal_int(obj2, &val3);
18195 if (!SWIG_IsOK(ecode3)) {
18196 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "3"" of type '" "int""'");
18197 }
18198 arg3 = static_cast< int >(val3);
18199 {
18200 arg4 = wxString_in_helper(obj3);
18201 if (arg4 == NULL) SWIG_fail;
18202 temp4 = true;
18203 }
18204 ecode5 = SWIG_AsVal_bool(obj4, &val5);
18205 if (!SWIG_IsOK(ecode5)) {
18206 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "5"" of type '" "bool""'");
18207 }
18208 arg5 = static_cast< bool >(val5);
18209 ecode6 = SWIG_AsVal_bool(obj5, &val6);
18210 if (!SWIG_IsOK(ecode6)) {
18211 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "6"" of type '" "bool""'");
18212 }
18213 arg6 = static_cast< bool >(val6);
18214 ecode7 = SWIG_AsVal_bool(obj6, &val7);
18215 if (!SWIG_IsOK(ecode7)) {
18216 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "7"" of type '" "bool""'");
18217 }
18218 arg7 = static_cast< bool >(val7);
18219 if (obj7) {
18220 ecode8 = SWIG_AsVal_int(obj7, &val8);
18221 if (!SWIG_IsOK(ecode8)) {
18222 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "8"" of type '" "wxFontEncoding""'");
18223 }
18224 arg8 = static_cast< wxFontEncoding >(val8);
18225 }
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8);
18229 wxPyEndAllowThreads(__tstate);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 resultobj = SWIG_Py_Void();
18233 {
18234 if (temp4)
18235 delete arg4;
18236 }
18237 return resultobj;
18238fail:
18239 {
18240 if (temp4)
18241 delete arg4;
18242 }
18243 return NULL;
18244}
18245
18246
18247SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18248 PyObject *resultobj = 0;
18249 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18250 int arg2 ;
18251 int arg3 ;
18252 void *argp1 = 0 ;
18253 int res1 = 0 ;
18254 int val2 ;
18255 int ecode2 = 0 ;
18256 int val3 ;
18257 int ecode3 = 0 ;
18258 PyObject * obj0 = 0 ;
18259 PyObject * obj1 = 0 ;
18260 PyObject * obj2 = 0 ;
18261 char * kwnames[] = {
18262 (char *) "self",(char *) "style",(char *) "characterSet", NULL
18263 };
18264
18265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18267 if (!SWIG_IsOK(res1)) {
18268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18269 }
18270 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18271 ecode2 = SWIG_AsVal_int(obj1, &val2);
18272 if (!SWIG_IsOK(ecode2)) {
18273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "2"" of type '" "int""'");
18274 }
18275 arg2 = static_cast< int >(val2);
18276 ecode3 = SWIG_AsVal_int(obj2, &val3);
18277 if (!SWIG_IsOK(ecode3)) {
18278 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "3"" of type '" "int""'");
18279 }
18280 arg3 = static_cast< int >(val3);
18281 {
18282 PyThreadState* __tstate = wxPyBeginAllowThreads();
18283 (arg1)->StyleSetCharacterSet(arg2,arg3);
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 resultobj = SWIG_Py_Void();
18288 return resultobj;
18289fail:
18290 return NULL;
18291}
18292
18293
18294SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18295 PyObject *resultobj = 0;
18296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18297 int arg2 ;
18298 wxFontEncoding arg3 ;
18299 void *argp1 = 0 ;
18300 int res1 = 0 ;
18301 int val2 ;
18302 int ecode2 = 0 ;
18303 int val3 ;
18304 int ecode3 = 0 ;
18305 PyObject * obj0 = 0 ;
18306 PyObject * obj1 = 0 ;
18307 PyObject * obj2 = 0 ;
18308 char * kwnames[] = {
18309 (char *) "self",(char *) "style",(char *) "encoding", NULL
18310 };
18311
18312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18314 if (!SWIG_IsOK(res1)) {
18315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18316 }
18317 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18318 ecode2 = SWIG_AsVal_int(obj1, &val2);
18319 if (!SWIG_IsOK(ecode2)) {
18320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "2"" of type '" "int""'");
18321 }
18322 arg2 = static_cast< int >(val2);
18323 ecode3 = SWIG_AsVal_int(obj2, &val3);
18324 if (!SWIG_IsOK(ecode3)) {
18325 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18326 }
18327 arg3 = static_cast< wxFontEncoding >(val3);
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 (arg1)->StyleSetFontEncoding(arg2,arg3);
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 resultobj = SWIG_Py_Void();
18335 return resultobj;
18336fail:
18337 return NULL;
18338}
18339
18340
18341SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18342 PyObject *resultobj = 0;
18343 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18344 int arg2 ;
18345 void *argp1 = 0 ;
18346 int res1 = 0 ;
18347 int val2 ;
18348 int ecode2 = 0 ;
18349 PyObject * obj0 = 0 ;
18350 PyObject * obj1 = 0 ;
18351 char * kwnames[] = {
18352 (char *) "self",(char *) "cmd", NULL
18353 };
18354
18355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) SWIG_fail;
18356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18357 if (!SWIG_IsOK(res1)) {
18358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18359 }
18360 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18361 ecode2 = SWIG_AsVal_int(obj1, &val2);
18362 if (!SWIG_IsOK(ecode2)) {
18363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "2"" of type '" "int""'");
18364 }
18365 arg2 = static_cast< int >(val2);
18366 {
18367 PyThreadState* __tstate = wxPyBeginAllowThreads();
18368 (arg1)->CmdKeyExecute(arg2);
18369 wxPyEndAllowThreads(__tstate);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 }
18372 resultobj = SWIG_Py_Void();
18373 return resultobj;
18374fail:
18375 return NULL;
18376}
18377
18378
18379SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18380 PyObject *resultobj = 0;
18381 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18382 int arg2 ;
18383 int arg3 ;
18384 void *argp1 = 0 ;
18385 int res1 = 0 ;
18386 int val2 ;
18387 int ecode2 = 0 ;
18388 int val3 ;
18389 int ecode3 = 0 ;
18390 PyObject * obj0 = 0 ;
18391 PyObject * obj1 = 0 ;
18392 PyObject * obj2 = 0 ;
18393 char * kwnames[] = {
18394 (char *) "self",(char *) "left",(char *) "right", NULL
18395 };
18396
18397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18399 if (!SWIG_IsOK(res1)) {
18400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18401 }
18402 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18403 ecode2 = SWIG_AsVal_int(obj1, &val2);
18404 if (!SWIG_IsOK(ecode2)) {
18405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "2"" of type '" "int""'");
18406 }
18407 arg2 = static_cast< int >(val2);
18408 ecode3 = SWIG_AsVal_int(obj2, &val3);
18409 if (!SWIG_IsOK(ecode3)) {
18410 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "3"" of type '" "int""'");
18411 }
18412 arg3 = static_cast< int >(val3);
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 (arg1)->SetMargins(arg2,arg3);
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 resultobj = SWIG_Py_Void();
18420 return resultobj;
18421fail:
18422 return NULL;
18423}
18424
18425
18426SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18427 PyObject *resultobj = 0;
18428 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18429 int *arg2 = (int *) 0 ;
18430 int *arg3 = (int *) 0 ;
18431 void *argp1 = 0 ;
18432 int res1 = 0 ;
18433 int temp2 ;
18434 int res2 = SWIG_TMPOBJ ;
18435 int temp3 ;
18436 int res3 = SWIG_TMPOBJ ;
18437 PyObject *swig_obj[1] ;
18438
18439 arg2 = &temp2;
18440 arg3 = &temp3;
18441 if (!args) SWIG_fail;
18442 swig_obj[0] = args;
18443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18444 if (!SWIG_IsOK(res1)) {
18445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18446 }
18447 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 (arg1)->GetSelection(arg2,arg3);
18451 wxPyEndAllowThreads(__tstate);
18452 if (PyErr_Occurred()) SWIG_fail;
18453 }
18454 resultobj = SWIG_Py_Void();
18455 if (SWIG_IsTmpObj(res2)) {
18456 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
18457 } else {
18458 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18459 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
18460 }
18461 if (SWIG_IsTmpObj(res3)) {
18462 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
18463 } else {
18464 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18465 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
18466 }
18467 return resultobj;
18468fail:
18469 return NULL;
18470}
18471
18472
18473SWIGINTERN PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18474 PyObject *resultobj = 0;
18475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18476 int arg2 ;
18477 wxPoint result;
18478 void *argp1 = 0 ;
18479 int res1 = 0 ;
18480 int val2 ;
18481 int ecode2 = 0 ;
18482 PyObject * obj0 = 0 ;
18483 PyObject * obj1 = 0 ;
18484 char * kwnames[] = {
18485 (char *) "self",(char *) "pos", NULL
18486 };
18487
18488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
18489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18490 if (!SWIG_IsOK(res1)) {
18491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18492 }
18493 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18494 ecode2 = SWIG_AsVal_int(obj1, &val2);
18495 if (!SWIG_IsOK(ecode2)) {
18496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "2"" of type '" "int""'");
18497 }
18498 arg2 = static_cast< int >(val2);
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 result = (arg1)->PointFromPosition(arg2);
18502 wxPyEndAllowThreads(__tstate);
18503 if (PyErr_Occurred()) SWIG_fail;
18504 }
18505 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
18506 return resultobj;
18507fail:
18508 return NULL;
18509}
18510
18511
18512SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18513 PyObject *resultobj = 0;
18514 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18515 int arg2 ;
18516 void *argp1 = 0 ;
18517 int res1 = 0 ;
18518 int val2 ;
18519 int ecode2 = 0 ;
18520 PyObject * obj0 = 0 ;
18521 PyObject * obj1 = 0 ;
18522 char * kwnames[] = {
18523 (char *) "self",(char *) "line", NULL
18524 };
18525
18526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
18527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18528 if (!SWIG_IsOK(res1)) {
18529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18530 }
18531 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18532 ecode2 = SWIG_AsVal_int(obj1, &val2);
18533 if (!SWIG_IsOK(ecode2)) {
18534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
18535 }
18536 arg2 = static_cast< int >(val2);
18537 {
18538 PyThreadState* __tstate = wxPyBeginAllowThreads();
18539 (arg1)->ScrollToLine(arg2);
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 resultobj = SWIG_Py_Void();
18544 return resultobj;
18545fail:
18546 return NULL;
18547}
18548
18549
18550SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18551 PyObject *resultobj = 0;
18552 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18553 int arg2 ;
18554 void *argp1 = 0 ;
18555 int res1 = 0 ;
18556 int val2 ;
18557 int ecode2 = 0 ;
18558 PyObject * obj0 = 0 ;
18559 PyObject * obj1 = 0 ;
18560 char * kwnames[] = {
18561 (char *) "self",(char *) "column", NULL
18562 };
18563
18564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
18565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18566 if (!SWIG_IsOK(res1)) {
18567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18568 }
18569 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18570 ecode2 = SWIG_AsVal_int(obj1, &val2);
18571 if (!SWIG_IsOK(ecode2)) {
18572 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "2"" of type '" "int""'");
18573 }
18574 arg2 = static_cast< int >(val2);
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 (arg1)->ScrollToColumn(arg2);
18578 wxPyEndAllowThreads(__tstate);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 }
18581 resultobj = SWIG_Py_Void();
18582 return resultobj;
18583fail:
18584 return NULL;
18585}
18586
18587
18588SWIGINTERN PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18589 PyObject *resultobj = 0;
18590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18591 int arg2 ;
18592 long arg3 = (long) 0 ;
18593 long arg4 = (long) 0 ;
18594 long result;
18595 void *argp1 = 0 ;
18596 int res1 = 0 ;
18597 int val2 ;
18598 int ecode2 = 0 ;
18599 long val3 ;
18600 int ecode3 = 0 ;
18601 long val4 ;
18602 int ecode4 = 0 ;
18603 PyObject * obj0 = 0 ;
18604 PyObject * obj1 = 0 ;
18605 PyObject * obj2 = 0 ;
18606 PyObject * obj3 = 0 ;
18607 char * kwnames[] = {
18608 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
18609 };
18610
18611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18613 if (!SWIG_IsOK(res1)) {
18614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18615 }
18616 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18617 ecode2 = SWIG_AsVal_int(obj1, &val2);
18618 if (!SWIG_IsOK(ecode2)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "2"" of type '" "int""'");
18620 }
18621 arg2 = static_cast< int >(val2);
18622 if (obj2) {
18623 ecode3 = SWIG_AsVal_long(obj2, &val3);
18624 if (!SWIG_IsOK(ecode3)) {
18625 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "3"" of type '" "long""'");
18626 }
18627 arg3 = static_cast< long >(val3);
18628 }
18629 if (obj3) {
18630 ecode4 = SWIG_AsVal_long(obj3, &val4);
18631 if (!SWIG_IsOK(ecode4)) {
18632 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "4"" of type '" "long""'");
18633 }
18634 arg4 = static_cast< long >(val4);
18635 }
18636 {
18637 PyThreadState* __tstate = wxPyBeginAllowThreads();
18638 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
18639 wxPyEndAllowThreads(__tstate);
18640 if (PyErr_Occurred()) SWIG_fail;
18641 }
18642 resultobj = SWIG_From_long(static_cast< long >(result));
18643 return resultobj;
18644fail:
18645 return NULL;
18646}
18647
18648
18649SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18650 PyObject *resultobj = 0;
18651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18652 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
18653 void *argp1 = 0 ;
18654 int res1 = 0 ;
18655 void *argp2 = 0 ;
18656 int res2 = 0 ;
18657 PyObject * obj0 = 0 ;
18658 PyObject * obj1 = 0 ;
18659 char * kwnames[] = {
18660 (char *) "self",(char *) "bar", NULL
18661 };
18662
18663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
18664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18665 if (!SWIG_IsOK(res1)) {
18666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18667 }
18668 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18669 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 | 0 );
18670 if (!SWIG_IsOK(res2)) {
18671 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18672 }
18673 arg2 = reinterpret_cast< wxScrollBar * >(argp2);
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 (arg1)->SetVScrollBar(arg2);
18677 wxPyEndAllowThreads(__tstate);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 }
18680 resultobj = SWIG_Py_Void();
18681 return resultobj;
18682fail:
18683 return NULL;
18684}
18685
18686
18687SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18688 PyObject *resultobj = 0;
18689 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18690 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
18691 void *argp1 = 0 ;
18692 int res1 = 0 ;
18693 void *argp2 = 0 ;
18694 int res2 = 0 ;
18695 PyObject * obj0 = 0 ;
18696 PyObject * obj1 = 0 ;
18697 char * kwnames[] = {
18698 (char *) "self",(char *) "bar", NULL
18699 };
18700
18701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
18702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18703 if (!SWIG_IsOK(res1)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18705 }
18706 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18707 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 | 0 );
18708 if (!SWIG_IsOK(res2)) {
18709 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18710 }
18711 arg2 = reinterpret_cast< wxScrollBar * >(argp2);
18712 {
18713 PyThreadState* __tstate = wxPyBeginAllowThreads();
18714 (arg1)->SetHScrollBar(arg2);
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
18718 resultobj = SWIG_Py_Void();
18719 return resultobj;
18720fail:
18721 return NULL;
d14a1e28
RD
18722}
18723
18724
1bd55598
RD
18725SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18726 PyObject *resultobj = 0;
18727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18728 bool result;
18729 void *argp1 = 0 ;
18730 int res1 = 0 ;
18731 PyObject *swig_obj[1] ;
18732
18733 if (!args) SWIG_fail;
18734 swig_obj[0] = args;
18735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18736 if (!SWIG_IsOK(res1)) {
18737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18738 }
18739 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 result = (bool)(arg1)->GetLastKeydownProcessed();
18743 wxPyEndAllowThreads(__tstate);
18744 if (PyErr_Occurred()) SWIG_fail;
18745 }
18746 {
18747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18748 }
18749 return resultobj;
18750fail:
18751 return NULL;
18752}
18753
18754
18755SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18756 PyObject *resultobj = 0;
18757 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18758 bool arg2 ;
18759 void *argp1 = 0 ;
18760 int res1 = 0 ;
18761 bool val2 ;
18762 int ecode2 = 0 ;
18763 PyObject * obj0 = 0 ;
18764 PyObject * obj1 = 0 ;
18765 char * kwnames[] = {
18766 (char *) "self",(char *) "val", NULL
18767 };
18768
18769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) SWIG_fail;
18770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18771 if (!SWIG_IsOK(res1)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18773 }
18774 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18775 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18776 if (!SWIG_IsOK(ecode2)) {
18777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "2"" of type '" "bool""'");
18778 }
18779 arg2 = static_cast< bool >(val2);
18780 {
18781 PyThreadState* __tstate = wxPyBeginAllowThreads();
18782 (arg1)->SetLastKeydownProcessed(arg2);
18783 wxPyEndAllowThreads(__tstate);
18784 if (PyErr_Occurred()) SWIG_fail;
18785 }
18786 resultobj = SWIG_Py_Void();
18787 return resultobj;
18788fail:
18789 return NULL;
18790}
18791
18792
18793SWIGINTERN PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18794 PyObject *resultobj = 0;
18795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18796 wxString *arg2 = 0 ;
18797 bool result;
18798 void *argp1 = 0 ;
18799 int res1 = 0 ;
18800 bool temp2 = false ;
18801 PyObject * obj0 = 0 ;
18802 PyObject * obj1 = 0 ;
18803 char * kwnames[] = {
18804 (char *) "self",(char *) "filename", NULL
18805 };
18806
18807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) SWIG_fail;
18808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18809 if (!SWIG_IsOK(res1)) {
18810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18811 }
18812 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18813 {
18814 arg2 = wxString_in_helper(obj1);
18815 if (arg2 == NULL) SWIG_fail;
18816 temp2 = true;
18817 }
18818 {
18819 PyThreadState* __tstate = wxPyBeginAllowThreads();
18820 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
18821 wxPyEndAllowThreads(__tstate);
18822 if (PyErr_Occurred()) SWIG_fail;
18823 }
18824 {
18825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18826 }
18827 {
18828 if (temp2)
18829 delete arg2;
18830 }
18831 return resultobj;
18832fail:
18833 {
18834 if (temp2)
18835 delete arg2;
18836 }
18837 return NULL;
18838}
18839
18840
18841SWIGINTERN PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18842 PyObject *resultobj = 0;
18843 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18844 wxString *arg2 = 0 ;
18845 bool result;
18846 void *argp1 = 0 ;
18847 int res1 = 0 ;
18848 bool temp2 = false ;
18849 PyObject * obj0 = 0 ;
18850 PyObject * obj1 = 0 ;
18851 char * kwnames[] = {
18852 (char *) "self",(char *) "filename", NULL
18853 };
18854
18855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
18856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18857 if (!SWIG_IsOK(res1)) {
18858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18859 }
18860 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18861 {
18862 arg2 = wxString_in_helper(obj1);
18863 if (arg2 == NULL) SWIG_fail;
18864 temp2 = true;
18865 }
18866 {
18867 PyThreadState* __tstate = wxPyBeginAllowThreads();
18868 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
18869 wxPyEndAllowThreads(__tstate);
18870 if (PyErr_Occurred()) SWIG_fail;
18871 }
18872 {
18873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18874 }
18875 {
18876 if (temp2)
18877 delete arg2;
18878 }
18879 return resultobj;
18880fail:
18881 {
18882 if (temp2)
18883 delete arg2;
18884 }
18885 return NULL;
18886}
18887
18888
18889SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18890 PyObject *resultobj = 0;
18891 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18892 int arg2 ;
18893 int arg3 ;
18894 wxDragResult arg4 ;
18895 wxDragResult result;
18896 void *argp1 = 0 ;
18897 int res1 = 0 ;
18898 int val2 ;
18899 int ecode2 = 0 ;
18900 int val3 ;
18901 int ecode3 = 0 ;
18902 int val4 ;
18903 int ecode4 = 0 ;
18904 PyObject * obj0 = 0 ;
18905 PyObject * obj1 = 0 ;
18906 PyObject * obj2 = 0 ;
18907 PyObject * obj3 = 0 ;
18908 char * kwnames[] = {
18909 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
18910 };
18911
18912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18914 if (!SWIG_IsOK(res1)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18916 }
18917 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18918 ecode2 = SWIG_AsVal_int(obj1, &val2);
18919 if (!SWIG_IsOK(ecode2)) {
18920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "2"" of type '" "int""'");
18921 }
18922 arg2 = static_cast< int >(val2);
18923 ecode3 = SWIG_AsVal_int(obj2, &val3);
18924 if (!SWIG_IsOK(ecode3)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "3"" of type '" "int""'");
18926 }
18927 arg3 = static_cast< int >(val3);
18928 ecode4 = SWIG_AsVal_int(obj3, &val4);
18929 if (!SWIG_IsOK(ecode4)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
18931 }
18932 arg4 = static_cast< wxDragResult >(val4);
18933 {
18934 PyThreadState* __tstate = wxPyBeginAllowThreads();
18935 result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4);
18936 wxPyEndAllowThreads(__tstate);
18937 if (PyErr_Occurred()) SWIG_fail;
18938 }
18939 resultobj = SWIG_From_int(static_cast< int >(result));
18940 return resultobj;
18941fail:
18942 return NULL;
18943}
18944
18945
18946SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18947 PyObject *resultobj = 0;
18948 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18949 long arg2 ;
18950 long arg3 ;
18951 wxString *arg4 = 0 ;
18952 bool result;
18953 void *argp1 = 0 ;
18954 int res1 = 0 ;
18955 long val2 ;
18956 int ecode2 = 0 ;
18957 long val3 ;
18958 int ecode3 = 0 ;
18959 bool temp4 = false ;
18960 PyObject * obj0 = 0 ;
18961 PyObject * obj1 = 0 ;
18962 PyObject * obj2 = 0 ;
18963 PyObject * obj3 = 0 ;
18964 char * kwnames[] = {
18965 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
18966 };
18967
18968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18970 if (!SWIG_IsOK(res1)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18972 }
18973 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18974 ecode2 = SWIG_AsVal_long(obj1, &val2);
18975 if (!SWIG_IsOK(ecode2)) {
18976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "2"" of type '" "long""'");
18977 }
18978 arg2 = static_cast< long >(val2);
18979 ecode3 = SWIG_AsVal_long(obj2, &val3);
18980 if (!SWIG_IsOK(ecode3)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "3"" of type '" "long""'");
18982 }
18983 arg3 = static_cast< long >(val3);
18984 {
18985 arg4 = wxString_in_helper(obj3);
18986 if (arg4 == NULL) SWIG_fail;
18987 temp4 = true;
18988 }
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
18992 wxPyEndAllowThreads(__tstate);
18993 if (PyErr_Occurred()) SWIG_fail;
18994 }
18995 {
18996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18997 }
18998 {
18999 if (temp4)
19000 delete arg4;
19001 }
19002 return resultobj;
19003fail:
19004 {
19005 if (temp4)
19006 delete arg4;
19007 }
19008 return NULL;
19009}
19010
19011
19012SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19013 PyObject *resultobj = 0;
19014 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19015 bool arg2 ;
19016 void *argp1 = 0 ;
19017 int res1 = 0 ;
19018 bool val2 ;
19019 int ecode2 = 0 ;
19020 PyObject * obj0 = 0 ;
19021 PyObject * obj1 = 0 ;
19022 char * kwnames[] = {
19023 (char *) "self",(char *) "useAA", NULL
19024 };
19025
19026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) SWIG_fail;
19027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19028 if (!SWIG_IsOK(res1)) {
19029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19030 }
19031 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19032 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19033 if (!SWIG_IsOK(ecode2)) {
19034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
19035 }
19036 arg2 = static_cast< bool >(val2);
19037 {
19038 PyThreadState* __tstate = wxPyBeginAllowThreads();
19039 (arg1)->SetUseAntiAliasing(arg2);
19040 wxPyEndAllowThreads(__tstate);
19041 if (PyErr_Occurred()) SWIG_fail;
19042 }
19043 resultobj = SWIG_Py_Void();
19044 return resultobj;
19045fail:
19046 return NULL;
d14a1e28
RD
19047}
19048
19049
1bd55598
RD
19050SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19051 PyObject *resultobj = 0;
19052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19053 bool result;
19054 void *argp1 = 0 ;
19055 int res1 = 0 ;
19056 PyObject *swig_obj[1] ;
19057
19058 if (!args) SWIG_fail;
19059 swig_obj[0] = args;
19060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19061 if (!SWIG_IsOK(res1)) {
19062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19063 }
19064 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 result = (bool)(arg1)->GetUseAntiAliasing();
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 {
19072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19073 }
19074 return resultobj;
19075fail:
19076 return NULL;
19077}
19078
19079
19080SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19081 PyObject *resultobj = 0;
19082 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19083 char *arg2 = (char *) 0 ;
19084 void *argp1 = 0 ;
19085 int res1 = 0 ;
19086 int res2 ;
19087 char *buf2 = 0 ;
19088 int alloc2 = 0 ;
19089 PyObject * obj0 = 0 ;
19090 PyObject * obj1 = 0 ;
19091 char * kwnames[] = {
19092 (char *) "self",(char *) "text", NULL
19093 };
19094
19095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19097 if (!SWIG_IsOK(res1)) {
19098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19099 }
19100 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19101 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19102 if (!SWIG_IsOK(res2)) {
19103 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19104 }
19105 arg2 = buf2;
19106 {
19107 PyThreadState* __tstate = wxPyBeginAllowThreads();
19108 (arg1)->AddTextRaw((char const *)arg2);
19109 wxPyEndAllowThreads(__tstate);
19110 if (PyErr_Occurred()) SWIG_fail;
19111 }
19112 resultobj = SWIG_Py_Void();
19113 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19114 return resultobj;
19115fail:
19116 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19117 return NULL;
19118}
19119
19120
19121SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19122 PyObject *resultobj = 0;
19123 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19124 int arg2 ;
19125 char *arg3 = (char *) 0 ;
19126 void *argp1 = 0 ;
19127 int res1 = 0 ;
19128 int val2 ;
19129 int ecode2 = 0 ;
19130 int res3 ;
19131 char *buf3 = 0 ;
19132 int alloc3 = 0 ;
19133 PyObject * obj0 = 0 ;
19134 PyObject * obj1 = 0 ;
19135 PyObject * obj2 = 0 ;
19136 char * kwnames[] = {
19137 (char *) "self",(char *) "pos",(char *) "text", NULL
19138 };
19139
19140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19142 if (!SWIG_IsOK(res1)) {
19143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19144 }
19145 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19146 ecode2 = SWIG_AsVal_int(obj1, &val2);
19147 if (!SWIG_IsOK(ecode2)) {
19148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "2"" of type '" "int""'");
19149 }
19150 arg2 = static_cast< int >(val2);
19151 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
19152 if (!SWIG_IsOK(res3)) {
19153 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "3"" of type '" "char const *""'");
19154 }
19155 arg3 = buf3;
19156 {
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
19158 (arg1)->InsertTextRaw(arg2,(char const *)arg3);
19159 wxPyEndAllowThreads(__tstate);
19160 if (PyErr_Occurred()) SWIG_fail;
19161 }
19162 resultobj = SWIG_Py_Void();
19163 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
19164 return resultobj;
19165fail:
19166 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
19167 return NULL;
19168}
19169
19170
19171SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19172 PyObject *resultobj = 0;
19173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19174 int *arg2 = (int *) 0 ;
19175 wxCharBuffer result;
19176 void *argp1 = 0 ;
19177 int res1 = 0 ;
19178 int temp2 ;
19179 int res2 = SWIG_TMPOBJ ;
19180 PyObject *swig_obj[1] ;
19181
19182 arg2 = &temp2;
19183 if (!args) SWIG_fail;
19184 swig_obj[0] = args;
19185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19186 if (!SWIG_IsOK(res1)) {
19187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19188 }
19189 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19190 {
19191 PyThreadState* __tstate = wxPyBeginAllowThreads();
19192 result = (arg1)->GetCurLineRaw(arg2);
19193 wxPyEndAllowThreads(__tstate);
19194 if (PyErr_Occurred()) SWIG_fail;
19195 }
19196 {
19197 resultobj = PyString_FromString((char*)(&result)->data());
19198 }
19199 if (SWIG_IsTmpObj(res2)) {
19200 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
19201 } else {
19202 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19203 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19204 }
19205 return resultobj;
19206fail:
19207 return NULL;
19208}
19209
19210
19211SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19212 PyObject *resultobj = 0;
19213 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19214 int arg2 ;
19215 wxCharBuffer result;
19216 void *argp1 = 0 ;
19217 int res1 = 0 ;
19218 int val2 ;
19219 int ecode2 = 0 ;
19220 PyObject * obj0 = 0 ;
19221 PyObject * obj1 = 0 ;
19222 char * kwnames[] = {
19223 (char *) "self",(char *) "line", NULL
19224 };
19225
19226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19228 if (!SWIG_IsOK(res1)) {
19229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19230 }
19231 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19232 ecode2 = SWIG_AsVal_int(obj1, &val2);
19233 if (!SWIG_IsOK(ecode2)) {
19234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "2"" of type '" "int""'");
19235 }
19236 arg2 = static_cast< int >(val2);
19237 {
19238 PyThreadState* __tstate = wxPyBeginAllowThreads();
19239 result = (arg1)->GetLineRaw(arg2);
19240 wxPyEndAllowThreads(__tstate);
19241 if (PyErr_Occurred()) SWIG_fail;
19242 }
19243 {
19244 resultobj = PyString_FromString((char*)(&result)->data());
19245 }
19246 return resultobj;
19247fail:
19248 return NULL;
d14a1e28
RD
19249}
19250
19251
1bd55598
RD
19252SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19253 PyObject *resultobj = 0;
19254 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19255 wxCharBuffer result;
19256 void *argp1 = 0 ;
19257 int res1 = 0 ;
19258 PyObject *swig_obj[1] ;
19259
19260 if (!args) SWIG_fail;
19261 swig_obj[0] = args;
19262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19263 if (!SWIG_IsOK(res1)) {
19264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19265 }
19266 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19267 {
19268 PyThreadState* __tstate = wxPyBeginAllowThreads();
19269 result = (arg1)->GetSelectedTextRaw();
19270 wxPyEndAllowThreads(__tstate);
19271 if (PyErr_Occurred()) SWIG_fail;
19272 }
19273 {
19274 resultobj = PyString_FromString((char*)(&result)->data());
19275 }
19276 return resultobj;
19277fail:
19278 return NULL;
19279}
19280
19281
19282SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19283 PyObject *resultobj = 0;
19284 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19285 int arg2 ;
19286 int arg3 ;
19287 wxCharBuffer result;
19288 void *argp1 = 0 ;
19289 int res1 = 0 ;
19290 int val2 ;
19291 int ecode2 = 0 ;
19292 int val3 ;
19293 int ecode3 = 0 ;
19294 PyObject * obj0 = 0 ;
19295 PyObject * obj1 = 0 ;
19296 PyObject * obj2 = 0 ;
19297 char * kwnames[] = {
19298 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
19299 };
19300
19301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19303 if (!SWIG_IsOK(res1)) {
19304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19305 }
19306 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19307 ecode2 = SWIG_AsVal_int(obj1, &val2);
19308 if (!SWIG_IsOK(ecode2)) {
19309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "2"" of type '" "int""'");
19310 }
19311 arg2 = static_cast< int >(val2);
19312 ecode3 = SWIG_AsVal_int(obj2, &val3);
19313 if (!SWIG_IsOK(ecode3)) {
19314 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "3"" of type '" "int""'");
19315 }
19316 arg3 = static_cast< int >(val3);
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 result = (arg1)->GetTextRangeRaw(arg2,arg3);
19320 wxPyEndAllowThreads(__tstate);
19321 if (PyErr_Occurred()) SWIG_fail;
19322 }
19323 {
19324 resultobj = PyString_FromString((char*)(&result)->data());
19325 }
19326 return resultobj;
19327fail:
19328 return NULL;
19329}
19330
19331
19332SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj = 0;
19334 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19335 char *arg2 = (char *) 0 ;
19336 void *argp1 = 0 ;
19337 int res1 = 0 ;
19338 int res2 ;
19339 char *buf2 = 0 ;
19340 int alloc2 = 0 ;
19341 PyObject * obj0 = 0 ;
19342 PyObject * obj1 = 0 ;
19343 char * kwnames[] = {
19344 (char *) "self",(char *) "text", NULL
19345 };
19346
19347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19349 if (!SWIG_IsOK(res1)) {
19350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19351 }
19352 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19353 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19354 if (!SWIG_IsOK(res2)) {
19355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19356 }
19357 arg2 = buf2;
19358 {
19359 PyThreadState* __tstate = wxPyBeginAllowThreads();
19360 (arg1)->SetTextRaw((char const *)arg2);
19361 wxPyEndAllowThreads(__tstate);
19362 if (PyErr_Occurred()) SWIG_fail;
19363 }
19364 resultobj = SWIG_Py_Void();
19365 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19366 return resultobj;
19367fail:
19368 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19369 return NULL;
19370}
19371
19372
19373SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19374 PyObject *resultobj = 0;
19375 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19376 wxCharBuffer result;
19377 void *argp1 = 0 ;
19378 int res1 = 0 ;
19379 PyObject *swig_obj[1] ;
19380
19381 if (!args) SWIG_fail;
19382 swig_obj[0] = args;
19383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19384 if (!SWIG_IsOK(res1)) {
19385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19386 }
19387 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19388 {
19389 PyThreadState* __tstate = wxPyBeginAllowThreads();
19390 result = (arg1)->GetTextRaw();
19391 wxPyEndAllowThreads(__tstate);
19392 if (PyErr_Occurred()) SWIG_fail;
19393 }
19394 {
19395 resultobj = PyString_FromString((char*)(&result)->data());
19396 }
19397 return resultobj;
19398fail:
19399 return NULL;
19400}
19401
19402
19403SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19404 PyObject *resultobj = 0;
19405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19406 char *arg2 = (char *) 0 ;
19407 void *argp1 = 0 ;
19408 int res1 = 0 ;
19409 int res2 ;
19410 char *buf2 = 0 ;
19411 int alloc2 = 0 ;
19412 PyObject * obj0 = 0 ;
19413 PyObject * obj1 = 0 ;
19414 char * kwnames[] = {
19415 (char *) "self",(char *) "text", NULL
19416 };
19417
19418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19420 if (!SWIG_IsOK(res1)) {
19421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19422 }
19423 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19424 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19425 if (!SWIG_IsOK(res2)) {
19426 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19427 }
19428 arg2 = buf2;
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
19431 (arg1)->AppendTextRaw((char const *)arg2);
19432 wxPyEndAllowThreads(__tstate);
19433 if (PyErr_Occurred()) SWIG_fail;
19434 }
19435 resultobj = SWIG_Py_Void();
19436 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19437 return resultobj;
19438fail:
19439 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19440 return NULL;
19441}
19442
19443
19444SWIGINTERN PyObject *StyledTextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19445 PyObject *obj;
19446 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19447 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextCtrl, SWIG_NewClientData(obj));
19448 return SWIG_Py_Void();
19449}
19450
19451SWIGINTERN PyObject *StyledTextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19452 return SWIG_Python_InitShadowInstance(args);
19453}
19454
19455SWIGINTERN PyObject *_wrap_new_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19456 PyObject *resultobj = 0;
19457 wxEventType arg1 = (wxEventType) 0 ;
19458 int arg2 = (int) 0 ;
19459 wxStyledTextEvent *result = 0 ;
19460 int val1 ;
19461 int ecode1 = 0 ;
19462 int val2 ;
19463 int ecode2 = 0 ;
19464 PyObject * obj0 = 0 ;
19465 PyObject * obj1 = 0 ;
19466 char * kwnames[] = {
19467 (char *) "commandType",(char *) "id", NULL
19468 };
19469
19470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19471 if (obj0) {
19472 ecode1 = SWIG_AsVal_int(obj0, &val1);
19473 if (!SWIG_IsOK(ecode1)) {
19474 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_StyledTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19475 }
19476 arg1 = static_cast< wxEventType >(val1);
19477 }
19478 if (obj1) {
19479 ecode2 = SWIG_AsVal_int(obj1, &val2);
19480 if (!SWIG_IsOK(ecode2)) {
19481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextEvent" "', expected argument " "2"" of type '" "int""'");
19482 }
19483 arg2 = static_cast< int >(val2);
19484 }
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
19488 wxPyEndAllowThreads(__tstate);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 }
19491 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_NEW | 0 );
19492 return resultobj;
19493fail:
19494 return NULL;
d14a1e28
RD
19495}
19496
19497
1bd55598
RD
19498SWIGINTERN PyObject *_wrap_delete_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19499 PyObject *resultobj = 0;
19500 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19501 void *argp1 = 0 ;
19502 int res1 = 0 ;
19503 PyObject *swig_obj[1] ;
19504
19505 if (!args) SWIG_fail;
19506 swig_obj[0] = args;
19507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_DISOWN | 0 );
19508 if (!SWIG_IsOK(res1)) {
19509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_StyledTextEvent" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19510 }
19511 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19512 {
19513 PyThreadState* __tstate = wxPyBeginAllowThreads();
19514 delete arg1;
d14a1e28 19515
1bd55598
RD
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 resultobj = SWIG_Py_Void();
19520 return resultobj;
19521fail:
19522 return NULL;
19523}
19524
19525
19526SWIGINTERN PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19527 PyObject *resultobj = 0;
19528 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19529 int arg2 ;
19530 void *argp1 = 0 ;
19531 int res1 = 0 ;
19532 int val2 ;
19533 int ecode2 = 0 ;
19534 PyObject * obj0 = 0 ;
19535 PyObject * obj1 = 0 ;
19536 char * kwnames[] = {
19537 (char *) "self",(char *) "pos", NULL
19538 };
19539
19540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
19541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19542 if (!SWIG_IsOK(res1)) {
19543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19544 }
19545 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19546 ecode2 = SWIG_AsVal_int(obj1, &val2);
19547 if (!SWIG_IsOK(ecode2)) {
19548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19549 }
19550 arg2 = static_cast< int >(val2);
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 (arg1)->SetPosition(arg2);
19554 wxPyEndAllowThreads(__tstate);
19555 if (PyErr_Occurred()) SWIG_fail;
19556 }
19557 resultobj = SWIG_Py_Void();
19558 return resultobj;
19559fail:
19560 return NULL;
19561}
19562
19563
19564SWIGINTERN PyObject *_wrap_StyledTextEvent_SetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19565 PyObject *resultobj = 0;
19566 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19567 int arg2 ;
19568 void *argp1 = 0 ;
19569 int res1 = 0 ;
19570 int val2 ;
19571 int ecode2 = 0 ;
19572 PyObject * obj0 = 0 ;
19573 PyObject * obj1 = 0 ;
19574 char * kwnames[] = {
19575 (char *) "self",(char *) "k", NULL
19576 };
19577
19578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) SWIG_fail;
19579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19580 if (!SWIG_IsOK(res1)) {
19581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19582 }
19583 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19584 ecode2 = SWIG_AsVal_int(obj1, &val2);
19585 if (!SWIG_IsOK(ecode2)) {
19586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetKey" "', expected argument " "2"" of type '" "int""'");
19587 }
19588 arg2 = static_cast< int >(val2);
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 (arg1)->SetKey(arg2);
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 resultobj = SWIG_Py_Void();
19596 return resultobj;
19597fail:
19598 return NULL;
19599}
19600
19601
19602SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj = 0;
19604 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19605 int arg2 ;
19606 void *argp1 = 0 ;
19607 int res1 = 0 ;
19608 int val2 ;
19609 int ecode2 = 0 ;
19610 PyObject * obj0 = 0 ;
19611 PyObject * obj1 = 0 ;
19612 char * kwnames[] = {
19613 (char *) "self",(char *) "m", NULL
19614 };
19615
19616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) SWIG_fail;
19617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19618 if (!SWIG_IsOK(res1)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19620 }
19621 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19622 ecode2 = SWIG_AsVal_int(obj1, &val2);
19623 if (!SWIG_IsOK(ecode2)) {
19624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "2"" of type '" "int""'");
19625 }
19626 arg2 = static_cast< int >(val2);
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 (arg1)->SetModifiers(arg2);
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 resultobj = SWIG_Py_Void();
19634 return resultobj;
19635fail:
19636 return NULL;
19637}
19638
19639
19640SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19641 PyObject *resultobj = 0;
19642 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19643 int arg2 ;
19644 void *argp1 = 0 ;
19645 int res1 = 0 ;
19646 int val2 ;
19647 int ecode2 = 0 ;
19648 PyObject * obj0 = 0 ;
19649 PyObject * obj1 = 0 ;
19650 char * kwnames[] = {
19651 (char *) "self",(char *) "t", NULL
19652 };
19653
19654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) SWIG_fail;
19655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19656 if (!SWIG_IsOK(res1)) {
19657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19658 }
19659 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19660 ecode2 = SWIG_AsVal_int(obj1, &val2);
19661 if (!SWIG_IsOK(ecode2)) {
19662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "2"" of type '" "int""'");
19663 }
19664 arg2 = static_cast< int >(val2);
19665 {
19666 PyThreadState* __tstate = wxPyBeginAllowThreads();
19667 (arg1)->SetModificationType(arg2);
19668 wxPyEndAllowThreads(__tstate);
19669 if (PyErr_Occurred()) SWIG_fail;
19670 }
19671 resultobj = SWIG_Py_Void();
19672 return resultobj;
19673fail:
19674 return NULL;
19675}
19676
19677
19678SWIGINTERN PyObject *_wrap_StyledTextEvent_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj = 0;
19680 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19681 wxString *arg2 = 0 ;
19682 void *argp1 = 0 ;
19683 int res1 = 0 ;
19684 bool temp2 = false ;
19685 PyObject * obj0 = 0 ;
19686 PyObject * obj1 = 0 ;
19687 char * kwnames[] = {
19688 (char *) "self",(char *) "t", NULL
19689 };
19690
19691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
19692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19693 if (!SWIG_IsOK(res1)) {
19694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19695 }
19696 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19697 {
19698 arg2 = wxString_in_helper(obj1);
19699 if (arg2 == NULL) SWIG_fail;
19700 temp2 = true;
19701 }
19702 {
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 (arg1)->SetText((wxString const &)*arg2);
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 resultobj = SWIG_Py_Void();
19709 {
19710 if (temp2)
19711 delete arg2;
19712 }
19713 return resultobj;
19714fail:
19715 {
19716 if (temp2)
19717 delete arg2;
19718 }
19719 return NULL;
19720}
19721
19722
19723SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19724 PyObject *resultobj = 0;
19725 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19726 int arg2 ;
19727 void *argp1 = 0 ;
19728 int res1 = 0 ;
19729 int val2 ;
19730 int ecode2 = 0 ;
19731 PyObject * obj0 = 0 ;
19732 PyObject * obj1 = 0 ;
19733 char * kwnames[] = {
19734 (char *) "self",(char *) "len", NULL
19735 };
19736
19737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) SWIG_fail;
19738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19739 if (!SWIG_IsOK(res1)) {
19740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19741 }
19742 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19743 ecode2 = SWIG_AsVal_int(obj1, &val2);
19744 if (!SWIG_IsOK(ecode2)) {
19745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLength" "', expected argument " "2"" of type '" "int""'");
19746 }
19747 arg2 = static_cast< int >(val2);
19748 {
19749 PyThreadState* __tstate = wxPyBeginAllowThreads();
19750 (arg1)->SetLength(arg2);
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 resultobj = SWIG_Py_Void();
19755 return resultobj;
19756fail:
19757 return NULL;
19758}
19759
19760
19761SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19762 PyObject *resultobj = 0;
19763 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19764 int arg2 ;
19765 void *argp1 = 0 ;
19766 int res1 = 0 ;
19767 int val2 ;
19768 int ecode2 = 0 ;
19769 PyObject * obj0 = 0 ;
19770 PyObject * obj1 = 0 ;
19771 char * kwnames[] = {
19772 (char *) "self",(char *) "num", NULL
19773 };
19774
19775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) SWIG_fail;
19776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19777 if (!SWIG_IsOK(res1)) {
19778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19779 }
19780 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19781 ecode2 = SWIG_AsVal_int(obj1, &val2);
19782 if (!SWIG_IsOK(ecode2)) {
19783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "2"" of type '" "int""'");
19784 }
19785 arg2 = static_cast< int >(val2);
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 (arg1)->SetLinesAdded(arg2);
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 resultobj = SWIG_Py_Void();
19793 return resultobj;
19794fail:
19795 return NULL;
19796}
19797
19798
19799SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19800 PyObject *resultobj = 0;
19801 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19802 int arg2 ;
19803 void *argp1 = 0 ;
19804 int res1 = 0 ;
19805 int val2 ;
19806 int ecode2 = 0 ;
19807 PyObject * obj0 = 0 ;
19808 PyObject * obj1 = 0 ;
19809 char * kwnames[] = {
19810 (char *) "self",(char *) "val", NULL
19811 };
19812
19813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) SWIG_fail;
19814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19815 if (!SWIG_IsOK(res1)) {
19816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19817 }
19818 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19819 ecode2 = SWIG_AsVal_int(obj1, &val2);
19820 if (!SWIG_IsOK(ecode2)) {
19821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLine" "', expected argument " "2"" of type '" "int""'");
19822 }
19823 arg2 = static_cast< int >(val2);
19824 {
19825 PyThreadState* __tstate = wxPyBeginAllowThreads();
19826 (arg1)->SetLine(arg2);
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 resultobj = SWIG_Py_Void();
19831 return resultobj;
19832fail:
19833 return NULL;
19834}
19835
19836
19837SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19838 PyObject *resultobj = 0;
19839 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19840 int arg2 ;
19841 void *argp1 = 0 ;
19842 int res1 = 0 ;
19843 int val2 ;
19844 int ecode2 = 0 ;
19845 PyObject * obj0 = 0 ;
19846 PyObject * obj1 = 0 ;
19847 char * kwnames[] = {
19848 (char *) "self",(char *) "val", NULL
19849 };
19850
19851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) SWIG_fail;
19852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19853 if (!SWIG_IsOK(res1)) {
19854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19855 }
19856 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19857 ecode2 = SWIG_AsVal_int(obj1, &val2);
19858 if (!SWIG_IsOK(ecode2)) {
19859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "2"" of type '" "int""'");
19860 }
19861 arg2 = static_cast< int >(val2);
19862 {
19863 PyThreadState* __tstate = wxPyBeginAllowThreads();
19864 (arg1)->SetFoldLevelNow(arg2);
19865 wxPyEndAllowThreads(__tstate);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 resultobj = SWIG_Py_Void();
19869 return resultobj;
19870fail:
19871 return NULL;
19872}
19873
19874
19875SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19876 PyObject *resultobj = 0;
19877 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19878 int arg2 ;
19879 void *argp1 = 0 ;
19880 int res1 = 0 ;
19881 int val2 ;
19882 int ecode2 = 0 ;
19883 PyObject * obj0 = 0 ;
19884 PyObject * obj1 = 0 ;
19885 char * kwnames[] = {
19886 (char *) "self",(char *) "val", NULL
19887 };
19888
19889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) SWIG_fail;
19890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19891 if (!SWIG_IsOK(res1)) {
19892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19893 }
19894 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19895 ecode2 = SWIG_AsVal_int(obj1, &val2);
19896 if (!SWIG_IsOK(ecode2)) {
19897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "2"" of type '" "int""'");
19898 }
19899 arg2 = static_cast< int >(val2);
19900 {
19901 PyThreadState* __tstate = wxPyBeginAllowThreads();
19902 (arg1)->SetFoldLevelPrev(arg2);
19903 wxPyEndAllowThreads(__tstate);
19904 if (PyErr_Occurred()) SWIG_fail;
19905 }
19906 resultobj = SWIG_Py_Void();
19907 return resultobj;
19908fail:
19909 return NULL;
19910}
19911
19912
19913SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19914 PyObject *resultobj = 0;
19915 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19916 int arg2 ;
19917 void *argp1 = 0 ;
19918 int res1 = 0 ;
19919 int val2 ;
19920 int ecode2 = 0 ;
19921 PyObject * obj0 = 0 ;
19922 PyObject * obj1 = 0 ;
19923 char * kwnames[] = {
19924 (char *) "self",(char *) "val", NULL
19925 };
19926
19927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19929 if (!SWIG_IsOK(res1)) {
19930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19931 }
19932 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19933 ecode2 = SWIG_AsVal_int(obj1, &val2);
19934 if (!SWIG_IsOK(ecode2)) {
19935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "2"" of type '" "int""'");
19936 }
19937 arg2 = static_cast< int >(val2);
19938 {
19939 PyThreadState* __tstate = wxPyBeginAllowThreads();
19940 (arg1)->SetMargin(arg2);
19941 wxPyEndAllowThreads(__tstate);
19942 if (PyErr_Occurred()) SWIG_fail;
19943 }
19944 resultobj = SWIG_Py_Void();
19945 return resultobj;
19946fail:
19947 return NULL;
19948}
19949
19950
19951SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19952 PyObject *resultobj = 0;
19953 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19954 int arg2 ;
19955 void *argp1 = 0 ;
19956 int res1 = 0 ;
19957 int val2 ;
19958 int ecode2 = 0 ;
19959 PyObject * obj0 = 0 ;
19960 PyObject * obj1 = 0 ;
19961 char * kwnames[] = {
19962 (char *) "self",(char *) "val", NULL
19963 };
19964
19965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19967 if (!SWIG_IsOK(res1)) {
19968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19969 }
19970 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19971 ecode2 = SWIG_AsVal_int(obj1, &val2);
19972 if (!SWIG_IsOK(ecode2)) {
19973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "2"" of type '" "int""'");
19974 }
19975 arg2 = static_cast< int >(val2);
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 (arg1)->SetMessage(arg2);
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 resultobj = SWIG_Py_Void();
19983 return resultobj;
19984fail:
19985 return NULL;
19986}
19987
19988
19989SWIGINTERN PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19990 PyObject *resultobj = 0;
19991 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19992 int arg2 ;
19993 void *argp1 = 0 ;
19994 int res1 = 0 ;
19995 int val2 ;
19996 int ecode2 = 0 ;
19997 PyObject * obj0 = 0 ;
19998 PyObject * obj1 = 0 ;
19999 char * kwnames[] = {
20000 (char *) "self",(char *) "val", NULL
20001 };
20002
20003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) SWIG_fail;
20004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20005 if (!SWIG_IsOK(res1)) {
20006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20007 }
20008 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20009 ecode2 = SWIG_AsVal_int(obj1, &val2);
20010 if (!SWIG_IsOK(ecode2)) {
20011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "2"" of type '" "int""'");
20012 }
20013 arg2 = static_cast< int >(val2);
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 (arg1)->SetWParam(arg2);
20017 wxPyEndAllowThreads(__tstate);
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 resultobj = SWIG_Py_Void();
20021 return resultobj;
20022fail:
20023 return NULL;
20024}
20025
20026
20027SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20028 PyObject *resultobj = 0;
20029 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20030 int arg2 ;
20031 void *argp1 = 0 ;
20032 int res1 = 0 ;
20033 int val2 ;
20034 int ecode2 = 0 ;
20035 PyObject * obj0 = 0 ;
20036 PyObject * obj1 = 0 ;
20037 char * kwnames[] = {
20038 (char *) "self",(char *) "val", NULL
20039 };
20040
20041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) SWIG_fail;
20042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20043 if (!SWIG_IsOK(res1)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20045 }
20046 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20047 ecode2 = SWIG_AsVal_int(obj1, &val2);
20048 if (!SWIG_IsOK(ecode2)) {
20049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "2"" of type '" "int""'");
20050 }
20051 arg2 = static_cast< int >(val2);
20052 {
20053 PyThreadState* __tstate = wxPyBeginAllowThreads();
20054 (arg1)->SetLParam(arg2);
20055 wxPyEndAllowThreads(__tstate);
20056 if (PyErr_Occurred()) SWIG_fail;
20057 }
20058 resultobj = SWIG_Py_Void();
20059 return resultobj;
20060fail:
20061 return NULL;
20062}
20063
20064
20065SWIGINTERN PyObject *_wrap_StyledTextEvent_SetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20066 PyObject *resultobj = 0;
20067 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20068 int arg2 ;
20069 void *argp1 = 0 ;
20070 int res1 = 0 ;
20071 int val2 ;
20072 int ecode2 = 0 ;
20073 PyObject * obj0 = 0 ;
20074 PyObject * obj1 = 0 ;
20075 char * kwnames[] = {
20076 (char *) "self",(char *) "val", NULL
20077 };
20078
20079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) SWIG_fail;
20080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20081 if (!SWIG_IsOK(res1)) {
20082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20083 }
20084 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20085 ecode2 = SWIG_AsVal_int(obj1, &val2);
20086 if (!SWIG_IsOK(ecode2)) {
20087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetListType" "', expected argument " "2"" of type '" "int""'");
20088 }
20089 arg2 = static_cast< int >(val2);
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 (arg1)->SetListType(arg2);
20093 wxPyEndAllowThreads(__tstate);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 }
20096 resultobj = SWIG_Py_Void();
20097 return resultobj;
20098fail:
20099 return NULL;
20100}
20101
20102
20103SWIGINTERN PyObject *_wrap_StyledTextEvent_SetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20104 PyObject *resultobj = 0;
20105 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20106 int arg2 ;
20107 void *argp1 = 0 ;
20108 int res1 = 0 ;
20109 int val2 ;
20110 int ecode2 = 0 ;
20111 PyObject * obj0 = 0 ;
20112 PyObject * obj1 = 0 ;
20113 char * kwnames[] = {
20114 (char *) "self",(char *) "val", NULL
20115 };
20116
20117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) SWIG_fail;
20118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20119 if (!SWIG_IsOK(res1)) {
20120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetX" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20121 }
20122 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20123 ecode2 = SWIG_AsVal_int(obj1, &val2);
20124 if (!SWIG_IsOK(ecode2)) {
20125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetX" "', expected argument " "2"" of type '" "int""'");
20126 }
20127 arg2 = static_cast< int >(val2);
20128 {
20129 PyThreadState* __tstate = wxPyBeginAllowThreads();
20130 (arg1)->SetX(arg2);
20131 wxPyEndAllowThreads(__tstate);
20132 if (PyErr_Occurred()) SWIG_fail;
20133 }
20134 resultobj = SWIG_Py_Void();
20135 return resultobj;
20136fail:
20137 return NULL;
20138}
20139
20140
20141SWIGINTERN PyObject *_wrap_StyledTextEvent_SetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20142 PyObject *resultobj = 0;
20143 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20144 int arg2 ;
20145 void *argp1 = 0 ;
20146 int res1 = 0 ;
20147 int val2 ;
20148 int ecode2 = 0 ;
20149 PyObject * obj0 = 0 ;
20150 PyObject * obj1 = 0 ;
20151 char * kwnames[] = {
20152 (char *) "self",(char *) "val", NULL
20153 };
20154
20155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) SWIG_fail;
20156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20157 if (!SWIG_IsOK(res1)) {
20158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetY" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20159 }
20160 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20161 ecode2 = SWIG_AsVal_int(obj1, &val2);
20162 if (!SWIG_IsOK(ecode2)) {
20163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetY" "', expected argument " "2"" of type '" "int""'");
20164 }
20165 arg2 = static_cast< int >(val2);
20166 {
20167 PyThreadState* __tstate = wxPyBeginAllowThreads();
20168 (arg1)->SetY(arg2);
20169 wxPyEndAllowThreads(__tstate);
20170 if (PyErr_Occurred()) SWIG_fail;
20171 }
20172 resultobj = SWIG_Py_Void();
20173 return resultobj;
20174fail:
20175 return NULL;
20176}
20177
20178
20179SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj = 0;
20181 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20182 wxString *arg2 = 0 ;
20183 void *argp1 = 0 ;
20184 int res1 = 0 ;
20185 bool temp2 = false ;
20186 PyObject * obj0 = 0 ;
20187 PyObject * obj1 = 0 ;
20188 char * kwnames[] = {
20189 (char *) "self",(char *) "val", NULL
20190 };
20191
20192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) SWIG_fail;
20193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20194 if (!SWIG_IsOK(res1)) {
20195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20196 }
20197 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20198 {
20199 arg2 = wxString_in_helper(obj1);
20200 if (arg2 == NULL) SWIG_fail;
20201 temp2 = true;
20202 }
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 (arg1)->SetDragText((wxString const &)*arg2);
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 resultobj = SWIG_Py_Void();
20210 {
20211 if (temp2)
20212 delete arg2;
20213 }
20214 return resultobj;
20215fail:
20216 {
20217 if (temp2)
20218 delete arg2;
20219 }
20220 return NULL;
20221}
20222
20223
20224SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20225 PyObject *resultobj = 0;
20226 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20227 bool arg2 ;
20228 void *argp1 = 0 ;
20229 int res1 = 0 ;
20230 bool val2 ;
20231 int ecode2 = 0 ;
20232 PyObject * obj0 = 0 ;
20233 PyObject * obj1 = 0 ;
20234 char * kwnames[] = {
20235 (char *) "self",(char *) "val", NULL
20236 };
20237
20238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) SWIG_fail;
20239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20240 if (!SWIG_IsOK(res1)) {
20241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20242 }
20243 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20244 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20245 if (!SWIG_IsOK(ecode2)) {
20246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "2"" of type '" "bool""'");
20247 }
20248 arg2 = static_cast< bool >(val2);
20249 {
20250 PyThreadState* __tstate = wxPyBeginAllowThreads();
20251 (arg1)->SetDragAllowMove(arg2);
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 resultobj = SWIG_Py_Void();
20256 return resultobj;
20257fail:
20258 return NULL;
20259}
20260
20261
20262SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj = 0;
20264 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20265 wxDragResult arg2 ;
20266 void *argp1 = 0 ;
20267 int res1 = 0 ;
20268 int val2 ;
20269 int ecode2 = 0 ;
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272 char * kwnames[] = {
20273 (char *) "self",(char *) "val", NULL
20274 };
20275
20276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) SWIG_fail;
20277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20278 if (!SWIG_IsOK(res1)) {
20279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20280 }
20281 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20282 ecode2 = SWIG_AsVal_int(obj1, &val2);
20283 if (!SWIG_IsOK(ecode2)) {
20284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "2"" of type '" "wxDragResult""'");
20285 }
20286 arg2 = static_cast< wxDragResult >(val2);
20287 {
20288 PyThreadState* __tstate = wxPyBeginAllowThreads();
20289 (arg1)->SetDragResult(arg2);
20290 wxPyEndAllowThreads(__tstate);
20291 if (PyErr_Occurred()) SWIG_fail;
20292 }
20293 resultobj = SWIG_Py_Void();
20294 return resultobj;
20295fail:
20296 return NULL;
d14a1e28
RD
20297}
20298
20299
1bd55598
RD
20300SWIGINTERN PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20301 PyObject *resultobj = 0;
20302 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20303 int result;
20304 void *argp1 = 0 ;
20305 int res1 = 0 ;
20306 PyObject *swig_obj[1] ;
20307
20308 if (!args) SWIG_fail;
20309 swig_obj[0] = args;
20310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20311 if (!SWIG_IsOK(res1)) {
20312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20313 }
20314 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
20318 wxPyEndAllowThreads(__tstate);
20319 if (PyErr_Occurred()) SWIG_fail;
20320 }
20321 resultobj = SWIG_From_int(static_cast< int >(result));
20322 return resultobj;
20323fail:
20324 return NULL;
d14a1e28
RD
20325}
20326
20327
1bd55598
RD
20328SWIGINTERN PyObject *_wrap_StyledTextEvent_GetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20329 PyObject *resultobj = 0;
20330 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20331 int result;
20332 void *argp1 = 0 ;
20333 int res1 = 0 ;
20334 PyObject *swig_obj[1] ;
20335
20336 if (!args) SWIG_fail;
20337 swig_obj[0] = args;
20338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20339 if (!SWIG_IsOK(res1)) {
20340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20341 }
20342 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20343 {
20344 PyThreadState* __tstate = wxPyBeginAllowThreads();
20345 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
20346 wxPyEndAllowThreads(__tstate);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 }
20349 resultobj = SWIG_From_int(static_cast< int >(result));
20350 return resultobj;
20351fail:
20352 return NULL;
d14a1e28
RD
20353}
20354
20355
1bd55598
RD
20356SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20357 PyObject *resultobj = 0;
20358 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20359 int result;
20360 void *argp1 = 0 ;
20361 int res1 = 0 ;
20362 PyObject *swig_obj[1] ;
20363
20364 if (!args) SWIG_fail;
20365 swig_obj[0] = args;
20366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20367 if (!SWIG_IsOK(res1)) {
20368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20369 }
20370 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20371 {
20372 PyThreadState* __tstate = wxPyBeginAllowThreads();
20373 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
20374 wxPyEndAllowThreads(__tstate);
20375 if (PyErr_Occurred()) SWIG_fail;
20376 }
20377 resultobj = SWIG_From_int(static_cast< int >(result));
20378 return resultobj;
20379fail:
20380 return NULL;
d14a1e28
RD
20381}
20382
20383
1bd55598
RD
20384SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20385 PyObject *resultobj = 0;
20386 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20387 int result;
20388 void *argp1 = 0 ;
20389 int res1 = 0 ;
20390 PyObject *swig_obj[1] ;
20391
20392 if (!args) SWIG_fail;
20393 swig_obj[0] = args;
20394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20395 if (!SWIG_IsOK(res1)) {
20396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20397 }
20398 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20399 {
20400 PyThreadState* __tstate = wxPyBeginAllowThreads();
20401 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
20402 wxPyEndAllowThreads(__tstate);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
20405 resultobj = SWIG_From_int(static_cast< int >(result));
20406 return resultobj;
20407fail:
20408 return NULL;
d14a1e28
RD
20409}
20410
20411
1bd55598
RD
20412SWIGINTERN PyObject *_wrap_StyledTextEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20413 PyObject *resultobj = 0;
20414 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20415 wxString result;
20416 void *argp1 = 0 ;
20417 int res1 = 0 ;
20418 PyObject *swig_obj[1] ;
20419
20420 if (!args) SWIG_fail;
20421 swig_obj[0] = args;
20422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20423 if (!SWIG_IsOK(res1)) {
20424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetText" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20425 }
20426 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 result = ((wxStyledTextEvent const *)arg1)->GetText();
20430 wxPyEndAllowThreads(__tstate);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 {
20434#if wxUSE_UNICODE
20435 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20436#else
20437 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20438#endif
20439 }
20440 return resultobj;
20441fail:
20442 return NULL;
d14a1e28
RD
20443}
20444
20445
1bd55598
RD
20446SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20447 PyObject *resultobj = 0;
20448 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20449 int result;
20450 void *argp1 = 0 ;
20451 int res1 = 0 ;
20452 PyObject *swig_obj[1] ;
20453
20454 if (!args) SWIG_fail;
20455 swig_obj[0] = args;
20456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20457 if (!SWIG_IsOK(res1)) {
20458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20459 }
20460 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20461 {
20462 PyThreadState* __tstate = wxPyBeginAllowThreads();
20463 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
20464 wxPyEndAllowThreads(__tstate);
20465 if (PyErr_Occurred()) SWIG_fail;
20466 }
20467 resultobj = SWIG_From_int(static_cast< int >(result));
20468 return resultobj;
20469fail:
20470 return NULL;
d14a1e28
RD
20471}
20472
20473
1bd55598
RD
20474SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20475 PyObject *resultobj = 0;
20476 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20477 int result;
20478 void *argp1 = 0 ;
20479 int res1 = 0 ;
20480 PyObject *swig_obj[1] ;
20481
20482 if (!args) SWIG_fail;
20483 swig_obj[0] = args;
20484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20485 if (!SWIG_IsOK(res1)) {
20486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20487 }
20488 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 resultobj = SWIG_From_int(static_cast< int >(result));
20496 return resultobj;
20497fail:
20498 return NULL;
d14a1e28
RD
20499}
20500
20501
1bd55598
RD
20502SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20503 PyObject *resultobj = 0;
20504 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20505 int result;
20506 void *argp1 = 0 ;
20507 int res1 = 0 ;
20508 PyObject *swig_obj[1] ;
20509
20510 if (!args) SWIG_fail;
20511 swig_obj[0] = args;
20512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20513 if (!SWIG_IsOK(res1)) {
20514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20515 }
20516 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
20520 wxPyEndAllowThreads(__tstate);
20521 if (PyErr_Occurred()) SWIG_fail;
20522 }
20523 resultobj = SWIG_From_int(static_cast< int >(result));
20524 return resultobj;
20525fail:
20526 return NULL;
d14a1e28
RD
20527}
20528
20529
1bd55598
RD
20530SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20531 PyObject *resultobj = 0;
20532 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20533 int result;
20534 void *argp1 = 0 ;
20535 int res1 = 0 ;
20536 PyObject *swig_obj[1] ;
20537
20538 if (!args) SWIG_fail;
20539 swig_obj[0] = args;
20540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20541 if (!SWIG_IsOK(res1)) {
20542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20543 }
20544 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20545 {
20546 PyThreadState* __tstate = wxPyBeginAllowThreads();
20547 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
20551 resultobj = SWIG_From_int(static_cast< int >(result));
20552 return resultobj;
20553fail:
20554 return NULL;
d14a1e28
RD
20555}
20556
20557
1bd55598
RD
20558SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20559 PyObject *resultobj = 0;
20560 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20561 int result;
20562 void *argp1 = 0 ;
20563 int res1 = 0 ;
20564 PyObject *swig_obj[1] ;
20565
20566 if (!args) SWIG_fail;
20567 swig_obj[0] = args;
20568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20569 if (!SWIG_IsOK(res1)) {
20570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20571 }
20572 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
20576 wxPyEndAllowThreads(__tstate);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 }
20579 resultobj = SWIG_From_int(static_cast< int >(result));
20580 return resultobj;
20581fail:
20582 return NULL;
d14a1e28
RD
20583}
20584
20585
1bd55598
RD
20586SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20587 PyObject *resultobj = 0;
20588 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20589 int result;
20590 void *argp1 = 0 ;
20591 int res1 = 0 ;
20592 PyObject *swig_obj[1] ;
20593
20594 if (!args) SWIG_fail;
20595 swig_obj[0] = args;
20596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20597 if (!SWIG_IsOK(res1)) {
20598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20599 }
20600 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20601 {
20602 PyThreadState* __tstate = wxPyBeginAllowThreads();
20603 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 resultobj = SWIG_From_int(static_cast< int >(result));
20608 return resultobj;
20609fail:
20610 return NULL;
d14a1e28
RD
20611}
20612
20613
1bd55598
RD
20614SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20615 PyObject *resultobj = 0;
20616 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20617 int result;
20618 void *argp1 = 0 ;
20619 int res1 = 0 ;
20620 PyObject *swig_obj[1] ;
20621
20622 if (!args) SWIG_fail;
20623 swig_obj[0] = args;
20624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20625 if (!SWIG_IsOK(res1)) {
20626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20627 }
20628 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20629 {
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 resultobj = SWIG_From_int(static_cast< int >(result));
20636 return resultobj;
20637fail:
20638 return NULL;
d14a1e28
RD
20639}
20640
20641
1bd55598
RD
20642SWIGINTERN PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20643 PyObject *resultobj = 0;
20644 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20645 int result;
20646 void *argp1 = 0 ;
20647 int res1 = 0 ;
20648 PyObject *swig_obj[1] ;
20649
20650 if (!args) SWIG_fail;
20651 swig_obj[0] = args;
20652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20653 if (!SWIG_IsOK(res1)) {
20654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20655 }
20656 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20657 {
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
20660 wxPyEndAllowThreads(__tstate);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 }
20663 resultobj = SWIG_From_int(static_cast< int >(result));
20664 return resultobj;
20665fail:
20666 return NULL;
d14a1e28
RD
20667}
20668
20669
1bd55598
RD
20670SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLParam(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_GetLParam" "', 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)->GetLParam();
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 resultobj = SWIG_From_int(static_cast< int >(result));
20692 return resultobj;
20693fail:
20694 return NULL;
d14a1e28
RD
20695}
20696
20697
1bd55598
RD
20698SWIGINTERN PyObject *_wrap_StyledTextEvent_GetListType(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_GetListType" "', 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)->GetListType();
20716 wxPyEndAllowThreads(__tstate);
20717 if (PyErr_Occurred()) SWIG_fail;
20718 }
20719 resultobj = SWIG_From_int(static_cast< int >(result));
20720 return resultobj;
20721fail:
20722 return NULL;
d14a1e28
RD
20723}
20724
20725
1bd55598
RD
20726SWIGINTERN PyObject *_wrap_StyledTextEvent_GetX(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_GetX" "', 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)->GetX();
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 resultobj = SWIG_From_int(static_cast< int >(result));
20748 return resultobj;
20749fail:
20750 return NULL;
d14a1e28
RD
20751}
20752
20753
1bd55598
RD
20754SWIGINTERN PyObject *_wrap_StyledTextEvent_GetY(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_GetY" "', 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)->GetY();
20772 wxPyEndAllowThreads(__tstate);
20773 if (PyErr_Occurred()) SWIG_fail;
20774 }
20775 resultobj = SWIG_From_int(static_cast< int >(result));
20776 return resultobj;
20777fail:
20778 return NULL;
d14a1e28
RD
20779}
20780
20781
1bd55598
RD
20782SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20783 PyObject *resultobj = 0;
20784 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20785 wxString 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_GetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20795 }
20796 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 result = (arg1)->GetDragText();
20800 wxPyEndAllowThreads(__tstate);
20801 if (PyErr_Occurred()) SWIG_fail;
20802 }
20803 {
20804#if wxUSE_UNICODE
20805 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20806#else
20807 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20808#endif
20809 }
20810 return resultobj;
20811fail:
20812 return NULL;
d14a1e28
RD
20813}
20814
20815
1bd55598
RD
20816SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20817 PyObject *resultobj = 0;
20818 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20819 bool result;
20820 void *argp1 = 0 ;
20821 int res1 = 0 ;
20822 PyObject *swig_obj[1] ;
20823
20824 if (!args) SWIG_fail;
20825 swig_obj[0] = args;
20826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20827 if (!SWIG_IsOK(res1)) {
20828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20829 }
20830 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20831 {
20832 PyThreadState* __tstate = wxPyBeginAllowThreads();
20833 result = (bool)(arg1)->GetDragAllowMove();
20834 wxPyEndAllowThreads(__tstate);
20835 if (PyErr_Occurred()) SWIG_fail;
20836 }
20837 {
20838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20839 }
20840 return resultobj;
20841fail:
20842 return NULL;
d14a1e28
RD
20843}
20844
20845
1bd55598
RD
20846SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20847 PyObject *resultobj = 0;
20848 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20849 wxDragResult result;
20850 void *argp1 = 0 ;
20851 int res1 = 0 ;
20852 PyObject *swig_obj[1] ;
20853
20854 if (!args) SWIG_fail;
20855 swig_obj[0] = args;
20856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20857 if (!SWIG_IsOK(res1)) {
20858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20859 }
20860 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 result = (wxDragResult)(arg1)->GetDragResult();
20864 wxPyEndAllowThreads(__tstate);
20865 if (PyErr_Occurred()) SWIG_fail;
20866 }
20867 resultobj = SWIG_From_int(static_cast< int >(result));
20868 return resultobj;
20869fail:
20870 return NULL;
d14a1e28
RD
20871}
20872
20873
1bd55598
RD
20874SWIGINTERN PyObject *_wrap_StyledTextEvent_GetShift(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20875 PyObject *resultobj = 0;
20876 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20877 bool result;
20878 void *argp1 = 0 ;
20879 int res1 = 0 ;
20880 PyObject *swig_obj[1] ;
20881
20882 if (!args) SWIG_fail;
20883 swig_obj[0] = args;
20884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20885 if (!SWIG_IsOK(res1)) {
20886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetShift" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20887 }
20888 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
20891 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
20892 wxPyEndAllowThreads(__tstate);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 }
20895 {
20896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20897 }
20898 return resultobj;
20899fail:
20900 return NULL;
d14a1e28
RD
20901}
20902
20903
1bd55598
RD
20904SWIGINTERN PyObject *_wrap_StyledTextEvent_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20905 PyObject *resultobj = 0;
20906 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20907 bool result;
20908 void *argp1 = 0 ;
20909 int res1 = 0 ;
20910 PyObject *swig_obj[1] ;
20911
20912 if (!args) SWIG_fail;
20913 swig_obj[0] = args;
20914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20915 if (!SWIG_IsOK(res1)) {
20916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetControl" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20917 }
20918 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20919 {
20920 PyThreadState* __tstate = wxPyBeginAllowThreads();
20921 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
20922 wxPyEndAllowThreads(__tstate);
20923 if (PyErr_Occurred()) SWIG_fail;
20924 }
20925 {
20926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20927 }
20928 return resultobj;
20929fail:
20930 return NULL;
d14a1e28
RD
20931}
20932
20933
1bd55598
RD
20934SWIGINTERN PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20935 PyObject *resultobj = 0;
20936 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20937 bool result;
20938 void *argp1 = 0 ;
20939 int res1 = 0 ;
20940 PyObject *swig_obj[1] ;
20941
20942 if (!args) SWIG_fail;
20943 swig_obj[0] = args;
20944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20945 if (!SWIG_IsOK(res1)) {
20946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetAlt" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20947 }
20948 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20949 {
20950 PyThreadState* __tstate = wxPyBeginAllowThreads();
20951 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
20955 {
20956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20957 }
20958 return resultobj;
20959fail:
20960 return NULL;
d14a1e28
RD
20961}
20962
20963
1bd55598
RD
20964SWIGINTERN PyObject *StyledTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20965 PyObject *obj;
20966 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20967 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextEvent, SWIG_NewClientData(obj));
20968 return SWIG_Py_Void();
d14a1e28
RD
20969}
20970
1bd55598
RD
20971SWIGINTERN PyObject *StyledTextEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20972 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
20973}
20974
1bd55598
RD
20975static PyMethodDef SwigMethods[] = {
20976 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
20977 { (char *)"new_PreStyledTextCtrl", (PyCFunction)_wrap_new_PreStyledTextCtrl, METH_NOARGS, NULL},
20978 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
20979 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
20980 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
20981 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
20982 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction)_wrap_StyledTextCtrl_ClearAll, METH_O, NULL},
20983 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction)_wrap_StyledTextCtrl_ClearDocumentStyle, METH_O, NULL},
20984 { (char *)"StyledTextCtrl_GetLength", (PyCFunction)_wrap_StyledTextCtrl_GetLength, METH_O, NULL},
20985 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
20986 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentPos, METH_O, NULL},
20987 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction)_wrap_StyledTextCtrl_GetAnchor, METH_O, NULL},
20988 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
20989 { (char *)"StyledTextCtrl_Redo", (PyCFunction)_wrap_StyledTextCtrl_Redo, METH_O, NULL},
20990 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
20991 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction)_wrap_StyledTextCtrl_SelectAll, METH_O, NULL},
20992 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction)_wrap_StyledTextCtrl_SetSavePoint, METH_O, NULL},
20993 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
20994 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction)_wrap_StyledTextCtrl_CanRedo, METH_O, NULL},
20995 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
20996 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
20997 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction)_wrap_StyledTextCtrl_GetUndoCollection, METH_O, NULL},
20998 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction)_wrap_StyledTextCtrl_GetViewWhiteSpace, METH_O, NULL},
20999 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
21000 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21001 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
21002 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
21003 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
21004 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
21005 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurLine, METH_O, NULL},
21006 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction)_wrap_StyledTextCtrl_GetEndStyled, METH_O, NULL},
21007 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
21008 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction)_wrap_StyledTextCtrl_GetEOLMode, METH_O, NULL},
21009 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
21010 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
21011 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
21012 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction)_wrap_StyledTextCtrl_GetBufferedDraw, METH_O, NULL},
21013 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
21014 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21015 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction)_wrap_StyledTextCtrl_GetTabWidth, METH_O, NULL},
21016 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
21017 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
21018 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21019 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21020 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
21021 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
21022 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
21023 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
21024 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
21025 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
21026 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21027 { (char *)"StyledTextCtrl_MarkerAddSet", (PyCFunction) _wrap_StyledTextCtrl_MarkerAddSet, METH_VARARGS | METH_KEYWORDS, NULL},
21028 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
21029 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
21030 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21031 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21032 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
21033 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
21034 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
21035 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
21036 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction)_wrap_StyledTextCtrl_StyleClearAll, METH_O, NULL},
21037 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21038 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21039 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
21040 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
21041 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
21042 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
21043 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
21044 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction)_wrap_StyledTextCtrl_StyleResetDefault, METH_O, NULL},
21045 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
21046 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
21047 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
21048 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21049 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21050 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21051 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
21052 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
21053 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction)_wrap_StyledTextCtrl_CmdKeyClearAll, METH_O, NULL},
21054 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
21055 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21056 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction)_wrap_StyledTextCtrl_GetCaretPeriod, METH_O, NULL},
21057 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
21058 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
21059 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction)_wrap_StyledTextCtrl_BeginUndoAction, METH_O, NULL},
21060 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction)_wrap_StyledTextCtrl_EndUndoAction, METH_O, NULL},
21061 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21062 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21063 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21064 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21065 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21066 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21067 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
21068 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBits, METH_O, NULL},
21069 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
21070 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
21071 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction)_wrap_StyledTextCtrl_GetMaxLineState, METH_O, NULL},
21072 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineVisible, METH_O, NULL},
21073 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21074 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineBack, METH_O, NULL},
21075 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
21076 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
21077 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
21078 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction)_wrap_StyledTextCtrl_AutoCompCancel, METH_O, NULL},
21079 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction)_wrap_StyledTextCtrl_AutoCompActive, METH_O, NULL},
21080 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompPosStart, METH_O, NULL},
21081 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction)_wrap_StyledTextCtrl_AutoCompComplete, METH_O, NULL},
21082 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
21083 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
21084 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetSeparator, METH_O, NULL},
21085 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
21086 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
21087 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_O, NULL},
21088 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
21089 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
21090 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_O, NULL},
21091 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
21092 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_O, NULL},
21093 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
21094 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
21095 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_O, NULL},
21096 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
21097 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_O, NULL},
21098 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
21099 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction)_wrap_StyledTextCtrl_ClearRegisteredImages, METH_O, NULL},
21100 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_O, NULL},
21101 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
21102 { (char *)"StyledTextCtrl_AutoCompSetMaxWidth", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21103 { (char *)"StyledTextCtrl_AutoCompGetMaxWidth", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxWidth, METH_O, NULL},
21104 { (char *)"StyledTextCtrl_AutoCompSetMaxHeight", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21105 { (char *)"StyledTextCtrl_AutoCompGetMaxHeight", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxHeight, METH_O, NULL},
21106 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
21107 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction)_wrap_StyledTextCtrl_GetIndent, METH_O, NULL},
21108 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
21109 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction)_wrap_StyledTextCtrl_GetUseTabs, METH_O, NULL},
21110 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
21111 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
21112 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21113 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21114 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21115 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_O, NULL},
21116 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
21117 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction)_wrap_StyledTextCtrl_GetIndentationGuides, METH_O, NULL},
21118 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
21119 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction)_wrap_StyledTextCtrl_GetHighlightGuide, METH_O, NULL},
21120 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21121 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction)_wrap_StyledTextCtrl_GetCodePage, METH_O, NULL},
21122 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction)_wrap_StyledTextCtrl_GetCaretForeground, METH_O, NULL},
21123 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction)_wrap_StyledTextCtrl_GetReadOnly, METH_O, NULL},
21124 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
21125 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
21126 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionStart, METH_O, NULL},
21127 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
21128 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionEnd, METH_O, NULL},
21129 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
21130 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction)_wrap_StyledTextCtrl_GetPrintMagnification, METH_O, NULL},
21131 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
21132 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintColourMode, METH_O, NULL},
21133 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
21134 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
21135 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction)_wrap_StyledTextCtrl_GetFirstVisibleLine, METH_O, NULL},
21136 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
21137 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction)_wrap_StyledTextCtrl_GetLineCount, METH_O, NULL},
21138 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
21139 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction)_wrap_StyledTextCtrl_GetMarginLeft, METH_O, NULL},
21140 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
21141 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction)_wrap_StyledTextCtrl_GetMarginRight, METH_O, NULL},
21142 { (char *)"StyledTextCtrl_GetModify", (PyCFunction)_wrap_StyledTextCtrl_GetModify, METH_O, NULL},
21143 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21144 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedText, METH_O, NULL},
21145 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
21146 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21147 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21148 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
21149 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
21150 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction)_wrap_StyledTextCtrl_EnsureCaretVisible, METH_O, NULL},
21151 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21152 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
21153 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction)_wrap_StyledTextCtrl_CanPaste, METH_O, NULL},
21154 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction)_wrap_StyledTextCtrl_CanUndo, METH_O, NULL},
21155 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction)_wrap_StyledTextCtrl_EmptyUndoBuffer, METH_O, NULL},
21156 { (char *)"StyledTextCtrl_Undo", (PyCFunction)_wrap_StyledTextCtrl_Undo, METH_O, NULL},
21157 { (char *)"StyledTextCtrl_Cut", (PyCFunction)_wrap_StyledTextCtrl_Cut, METH_O, NULL},
21158 { (char *)"StyledTextCtrl_Copy", (PyCFunction)_wrap_StyledTextCtrl_Copy, METH_O, NULL},
21159 { (char *)"StyledTextCtrl_Paste", (PyCFunction)_wrap_StyledTextCtrl_Paste, METH_O, NULL},
21160 { (char *)"StyledTextCtrl_Clear", (PyCFunction)_wrap_StyledTextCtrl_Clear, METH_O, NULL},
21161 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
21162 { (char *)"StyledTextCtrl_GetText", (PyCFunction)_wrap_StyledTextCtrl_GetText, METH_O, NULL},
21163 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction)_wrap_StyledTextCtrl_GetTextLength, METH_O, NULL},
21164 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
21165 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction)_wrap_StyledTextCtrl_GetOvertype, METH_O, NULL},
21166 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21167 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction)_wrap_StyledTextCtrl_GetCaretWidth, METH_O, NULL},
21168 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
21169 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction)_wrap_StyledTextCtrl_GetTargetStart, METH_O, NULL},
21170 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
21171 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction)_wrap_StyledTextCtrl_GetTargetEnd, METH_O, NULL},
21172 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
21173 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
21174 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
21175 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21176 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction)_wrap_StyledTextCtrl_GetSearchFlags, METH_O, NULL},
21177 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
21178 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction)_wrap_StyledTextCtrl_CallTipCancel, METH_O, NULL},
21179 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction)_wrap_StyledTextCtrl_CallTipActive, METH_O, NULL},
21180 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction)_wrap_StyledTextCtrl_CallTipPosAtStart, METH_O, NULL},
21181 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21182 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21183 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21184 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21185 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
21186 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21187 { (char *)"StyledTextCtrl_WrapCount", (PyCFunction) _wrap_StyledTextCtrl_WrapCount, METH_VARARGS | METH_KEYWORDS, NULL},
21188 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
21189 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
21190 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
21191 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
21192 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
21193 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
21194 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21195 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21196 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21197 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
21198 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21199 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21200 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21201 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
21202 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction)_wrap_StyledTextCtrl_GetTabIndents, METH_O, NULL},
21203 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
21204 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction)_wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_O, NULL},
21205 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
21206 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDwellTime, METH_O, NULL},
21207 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21208 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21209 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
21210 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetWrapMode, METH_O, NULL},
21211 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21212 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlags, METH_O, NULL},
21213 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
21214 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_O, NULL},
21215 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
21216 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction)_wrap_StyledTextCtrl_GetWrapStartIndent, METH_O, NULL},
21217 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
21218 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction)_wrap_StyledTextCtrl_GetLayoutCache, METH_O, NULL},
21219 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21220 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction)_wrap_StyledTextCtrl_GetScrollWidth, METH_O, NULL},
21221 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21222 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
21223 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction)_wrap_StyledTextCtrl_GetEndAtLastLine, METH_O, NULL},
21224 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21225 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21226 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_O, NULL},
21227 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
21228 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction)_wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_O, NULL},
21229 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
21230 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction)_wrap_StyledTextCtrl_TargetFromSelection, METH_O, NULL},
21231 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction)_wrap_StyledTextCtrl_LinesJoin, METH_O, NULL},
21232 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
21233 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
21234 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
21235 { (char *)"StyledTextCtrl_LineDown", (PyCFunction)_wrap_StyledTextCtrl_LineDown, METH_O, NULL},
21236 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownExtend, METH_O, NULL},
21237 { (char *)"StyledTextCtrl_LineUp", (PyCFunction)_wrap_StyledTextCtrl_LineUp, METH_O, NULL},
21238 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpExtend, METH_O, NULL},
21239 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction)_wrap_StyledTextCtrl_CharLeft, METH_O, NULL},
21240 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftExtend, METH_O, NULL},
21241 { (char *)"StyledTextCtrl_CharRight", (PyCFunction)_wrap_StyledTextCtrl_CharRight, METH_O, NULL},
21242 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightExtend, METH_O, NULL},
21243 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction)_wrap_StyledTextCtrl_WordLeft, METH_O, NULL},
21244 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftExtend, METH_O, NULL},
21245 { (char *)"StyledTextCtrl_WordRight", (PyCFunction)_wrap_StyledTextCtrl_WordRight, METH_O, NULL},
21246 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightExtend, METH_O, NULL},
21247 { (char *)"StyledTextCtrl_Home", (PyCFunction)_wrap_StyledTextCtrl_Home, METH_O, NULL},
21248 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeExtend, METH_O, NULL},
21249 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction)_wrap_StyledTextCtrl_LineEnd, METH_O, NULL},
21250 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndExtend, METH_O, NULL},
21251 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction)_wrap_StyledTextCtrl_DocumentStart, METH_O, NULL},
21252 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentStartExtend, METH_O, NULL},
21253 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction)_wrap_StyledTextCtrl_DocumentEnd, METH_O, NULL},
21254 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentEndExtend, METH_O, NULL},
21255 { (char *)"StyledTextCtrl_PageUp", (PyCFunction)_wrap_StyledTextCtrl_PageUp, METH_O, NULL},
21256 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpExtend, METH_O, NULL},
21257 { (char *)"StyledTextCtrl_PageDown", (PyCFunction)_wrap_StyledTextCtrl_PageDown, METH_O, NULL},
21258 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownExtend, METH_O, NULL},
21259 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction)_wrap_StyledTextCtrl_EditToggleOvertype, METH_O, NULL},
21260 { (char *)"StyledTextCtrl_Cancel", (PyCFunction)_wrap_StyledTextCtrl_Cancel, METH_O, NULL},
21261 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction)_wrap_StyledTextCtrl_DeleteBack, METH_O, NULL},
21262 { (char *)"StyledTextCtrl_Tab", (PyCFunction)_wrap_StyledTextCtrl_Tab, METH_O, NULL},
21263 { (char *)"StyledTextCtrl_BackTab", (PyCFunction)_wrap_StyledTextCtrl_BackTab, METH_O, NULL},
21264 { (char *)"StyledTextCtrl_NewLine", (PyCFunction)_wrap_StyledTextCtrl_NewLine, METH_O, NULL},
21265 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction)_wrap_StyledTextCtrl_FormFeed, METH_O, NULL},
21266 { (char *)"StyledTextCtrl_VCHome", (PyCFunction)_wrap_StyledTextCtrl_VCHome, METH_O, NULL},
21267 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeExtend, METH_O, NULL},
21268 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction)_wrap_StyledTextCtrl_ZoomIn, METH_O, NULL},
21269 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction)_wrap_StyledTextCtrl_ZoomOut, METH_O, NULL},
21270 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction)_wrap_StyledTextCtrl_DelWordLeft, METH_O, NULL},
21271 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction)_wrap_StyledTextCtrl_DelWordRight, METH_O, NULL},
21272 { (char *)"StyledTextCtrl_LineCut", (PyCFunction)_wrap_StyledTextCtrl_LineCut, METH_O, NULL},
21273 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction)_wrap_StyledTextCtrl_LineDelete, METH_O, NULL},
21274 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction)_wrap_StyledTextCtrl_LineTranspose, METH_O, NULL},
21275 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction)_wrap_StyledTextCtrl_LineDuplicate, METH_O, NULL},
21276 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction)_wrap_StyledTextCtrl_LowerCase, METH_O, NULL},
21277 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction)_wrap_StyledTextCtrl_UpperCase, METH_O, NULL},
21278 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction)_wrap_StyledTextCtrl_LineScrollDown, METH_O, NULL},
21279 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction)_wrap_StyledTextCtrl_LineScrollUp, METH_O, NULL},
21280 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction)_wrap_StyledTextCtrl_DeleteBackNotLine, METH_O, NULL},
21281 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplay, METH_O, NULL},
21282 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplayExtend, METH_O, NULL},
21283 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplay, METH_O, NULL},
21284 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplayExtend, METH_O, NULL},
21285 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction)_wrap_StyledTextCtrl_HomeWrap, METH_O, NULL},
21286 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeWrapExtend, METH_O, NULL},
21287 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrap, METH_O, NULL},
21288 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrapExtend, METH_O, NULL},
21289 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrap, METH_O, NULL},
21290 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrapExtend, METH_O, NULL},
21291 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction)_wrap_StyledTextCtrl_LineCopy, METH_O, NULL},
21292 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction)_wrap_StyledTextCtrl_MoveCaretInsideView, METH_O, NULL},
21293 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
21294 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21295 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
21296 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
21297 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction)_wrap_StyledTextCtrl_GetViewEOL, METH_O, NULL},
21298 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
21299 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction)_wrap_StyledTextCtrl_GetDocPointer, METH_O, NULL},
21300 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
21301 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
21302 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColumn, METH_O, NULL},
21303 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21304 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeMode, METH_O, NULL},
21305 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
21306 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColour, METH_O, NULL},
21307 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
21308 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction)_wrap_StyledTextCtrl_SearchAnchor, METH_O, NULL},
21309 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
21310 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
21311 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction)_wrap_StyledTextCtrl_LinesOnScreen, METH_O, NULL},
21312 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
21313 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction)_wrap_StyledTextCtrl_SelectionIsRectangle, METH_O, NULL},
21314 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
21315 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction)_wrap_StyledTextCtrl_GetZoom, METH_O, NULL},
21316 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction)_wrap_StyledTextCtrl_CreateDocument, METH_O, NULL},
21317 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
21318 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
21319 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction)_wrap_StyledTextCtrl_GetModEventMask, METH_O, NULL},
21320 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
21321 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction)_wrap_StyledTextCtrl_GetSTCFocus, METH_O, NULL},
21322 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
21323 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction)_wrap_StyledTextCtrl_GetStatus, METH_O, NULL},
21324 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
21325 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDownCaptures, METH_O, NULL},
21326 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
21327 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction)_wrap_StyledTextCtrl_GetSTCCursor, METH_O, NULL},
21328 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
21329 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction)_wrap_StyledTextCtrl_GetControlCharSymbol, METH_O, NULL},
21330 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeft, METH_O, NULL},
21331 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeftExtend, METH_O, NULL},
21332 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction)_wrap_StyledTextCtrl_WordPartRight, METH_O, NULL},
21333 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartRightExtend, METH_O, NULL},
21334 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21335 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction)_wrap_StyledTextCtrl_DelLineLeft, METH_O, NULL},
21336 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction)_wrap_StyledTextCtrl_DelLineRight, METH_O, NULL},
21337 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
21338 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction)_wrap_StyledTextCtrl_GetXOffset, METH_O, NULL},
21339 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction)_wrap_StyledTextCtrl_ChooseCaretX, METH_O, NULL},
21340 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21341 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21342 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
21343 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintWrapMode, METH_O, NULL},
21344 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21345 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21346 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
21347 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
21348 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction)_wrap_StyledTextCtrl_ParaDown, METH_O, NULL},
21349 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaDownExtend, METH_O, NULL},
21350 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction)_wrap_StyledTextCtrl_ParaUp, METH_O, NULL},
21351 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaUpExtend, METH_O, NULL},
21352 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
21353 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
21354 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
21355 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
21356 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
21357 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionMode, METH_O, NULL},
21358 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21359 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21360 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownRectExtend, METH_O, NULL},
21361 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpRectExtend, METH_O, NULL},
21362 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftRectExtend, METH_O, NULL},
21363 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightRectExtend, METH_O, NULL},
21364 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeRectExtend, METH_O, NULL},
21365 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeRectExtend, METH_O, NULL},
21366 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndRectExtend, METH_O, NULL},
21367 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpRectExtend, METH_O, NULL},
21368 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownRectExtend, METH_O, NULL},
21369 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUp, METH_O, NULL},
21370 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUpExtend, METH_O, NULL},
21371 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDown, METH_O, NULL},
21372 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDownExtend, METH_O, NULL},
21373 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEnd, METH_O, NULL},
21374 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEndExtend, METH_O, NULL},
21375 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction)_wrap_StyledTextCtrl_WordRightEnd, METH_O, NULL},
21376 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightEndExtend, METH_O, NULL},
21377 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
21378 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction)_wrap_StyledTextCtrl_SetCharsDefault, METH_O, NULL},
21379 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCurrent, METH_O, NULL},
21380 { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
21381 { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21382 { (char *)"StyledTextCtrl_GetCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_GetCaretSticky, METH_O, NULL},
21383 { (char *)"StyledTextCtrl_SetCaretSticky", (PyCFunction) _wrap_StyledTextCtrl_SetCaretSticky, METH_VARARGS | METH_KEYWORDS, NULL},
21384 { (char *)"StyledTextCtrl_ToggleCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_ToggleCaretSticky, METH_O, NULL},
21385 { (char *)"StyledTextCtrl_SetPasteConvertEndings", (PyCFunction) _wrap_StyledTextCtrl_SetPasteConvertEndings, METH_VARARGS | METH_KEYWORDS, NULL},
21386 { (char *)"StyledTextCtrl_GetPasteConvertEndings", (PyCFunction)_wrap_StyledTextCtrl_GetPasteConvertEndings, METH_O, NULL},
21387 { (char *)"StyledTextCtrl_SelectionDuplicate", (PyCFunction)_wrap_StyledTextCtrl_SelectionDuplicate, METH_O, NULL},
21388 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction)_wrap_StyledTextCtrl_StartRecord, METH_O, NULL},
21389 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction)_wrap_StyledTextCtrl_StopRecord, METH_O, NULL},
21390 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
21391 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction)_wrap_StyledTextCtrl_GetLexer, METH_O, NULL},
21392 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
21393 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
21394 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
21395 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
21396 { (char *)"StyledTextCtrl_GetProperty", (PyCFunction) _wrap_StyledTextCtrl_GetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
21397 { (char *)"StyledTextCtrl_GetPropertyExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21398 { (char *)"StyledTextCtrl_GetPropertyInt", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyInt, METH_VARARGS | METH_KEYWORDS, NULL},
21399 { (char *)"StyledTextCtrl_GetStyleBitsNeeded", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBitsNeeded, METH_O, NULL},
21400 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentLine, METH_O, NULL},
21401 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
21402 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
21403 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
21404 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
21405 { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21406 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
21407 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
21408 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction)_wrap_StyledTextCtrl_GetSelection, METH_O, NULL},
21409 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21410 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
21411 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21412 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
21413 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21414 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21415 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction)_wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_O, NULL},
21416 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
21417 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
21418 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
21419 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
21420 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
21421 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
21422 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction)_wrap_StyledTextCtrl_GetUseAntiAliasing, METH_O, NULL},
21423 { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21424 { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21425 { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction)_wrap_StyledTextCtrl_GetCurLineRaw, METH_O, NULL},
21426 { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21427 { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedTextRaw, METH_O, NULL},
21428 { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21429 { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21430 { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetTextRaw, METH_O, NULL},
21431 { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21432 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
21433 { (char *)"StyledTextCtrl_swiginit", StyledTextCtrl_swiginit, METH_VARARGS, NULL},
21434 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
21435 { (char *)"delete_StyledTextEvent", (PyCFunction)_wrap_delete_StyledTextEvent, METH_O, NULL},
21436 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21437 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
21438 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
21439 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
21440 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
21441 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
21442 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
21443 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
21444 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
21445 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
21446 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
21447 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
21448 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
21449 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
21450 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
21451 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
21452 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
21453 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
21454 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
21455 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
21456 { (char *)"StyledTextEvent_GetPosition", (PyCFunction)_wrap_StyledTextEvent_GetPosition, METH_O, NULL},
21457 { (char *)"StyledTextEvent_GetKey", (PyCFunction)_wrap_StyledTextEvent_GetKey, METH_O, NULL},
21458 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction)_wrap_StyledTextEvent_GetModifiers, METH_O, NULL},
21459 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction)_wrap_StyledTextEvent_GetModificationType, METH_O, NULL},
21460 { (char *)"StyledTextEvent_GetText", (PyCFunction)_wrap_StyledTextEvent_GetText, METH_O, NULL},
21461 { (char *)"StyledTextEvent_GetLength", (PyCFunction)_wrap_StyledTextEvent_GetLength, METH_O, NULL},
21462 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction)_wrap_StyledTextEvent_GetLinesAdded, METH_O, NULL},
21463 { (char *)"StyledTextEvent_GetLine", (PyCFunction)_wrap_StyledTextEvent_GetLine, METH_O, NULL},
21464 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelNow, METH_O, NULL},
21465 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelPrev, METH_O, NULL},
21466 { (char *)"StyledTextEvent_GetMargin", (PyCFunction)_wrap_StyledTextEvent_GetMargin, METH_O, NULL},
21467 { (char *)"StyledTextEvent_GetMessage", (PyCFunction)_wrap_StyledTextEvent_GetMessage, METH_O, NULL},
21468 { (char *)"StyledTextEvent_GetWParam", (PyCFunction)_wrap_StyledTextEvent_GetWParam, METH_O, NULL},
21469 { (char *)"StyledTextEvent_GetLParam", (PyCFunction)_wrap_StyledTextEvent_GetLParam, METH_O, NULL},
21470 { (char *)"StyledTextEvent_GetListType", (PyCFunction)_wrap_StyledTextEvent_GetListType, METH_O, NULL},
21471 { (char *)"StyledTextEvent_GetX", (PyCFunction)_wrap_StyledTextEvent_GetX, METH_O, NULL},
21472 { (char *)"StyledTextEvent_GetY", (PyCFunction)_wrap_StyledTextEvent_GetY, METH_O, NULL},
21473 { (char *)"StyledTextEvent_GetDragText", (PyCFunction)_wrap_StyledTextEvent_GetDragText, METH_O, NULL},
21474 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction)_wrap_StyledTextEvent_GetDragAllowMove, METH_O, NULL},
21475 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction)_wrap_StyledTextEvent_GetDragResult, METH_O, NULL},
21476 { (char *)"StyledTextEvent_GetShift", (PyCFunction)_wrap_StyledTextEvent_GetShift, METH_O, NULL},
21477 { (char *)"StyledTextEvent_GetControl", (PyCFunction)_wrap_StyledTextEvent_GetControl, METH_O, NULL},
21478 { (char *)"StyledTextEvent_GetAlt", (PyCFunction)_wrap_StyledTextEvent_GetAlt, METH_O, NULL},
21479 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
21480 { (char *)"StyledTextEvent_swiginit", StyledTextEvent_swiginit, METH_VARARGS, NULL},
21481 { NULL, NULL, 0, NULL }
21482};
21483
21484
21485/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21486
21487static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21488 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21489}
21490static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21491 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21492}
21493static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21494 return (void *)((wxObject *) ((wxSizerItem *) x));
21495}
21496static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21498}
21499static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21500 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21501}
21502static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21503 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21504}
21505static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21506 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21507}
21508static void *_p_wxSizerTo_p_wxObject(void *x) {
21509 return (void *)((wxObject *) ((wxSizer *) x));
21510}
21511static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21512 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21513}
21514static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
21515 return (void *)((wxObject *) ((wxFileHistory *) x));
21516}
21517static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21518 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21519}
21520static void *_p_wxEventTo_p_wxObject(void *x) {
21521 return (void *)((wxObject *) ((wxEvent *) x));
21522}
21523static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21524 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21525}
21526static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21527 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21528}
21529static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21530 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21531}
21532static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21533 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21534}
21535static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21536 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21537}
21538static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
21539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
21540}
21541static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21542 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21543}
21544static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21545 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21546}
21547static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21548 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21549}
21550static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21551 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21552}
21553static void *_p_wxControlTo_p_wxObject(void *x) {
21554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21555}
21556static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21557 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21558}
21559static void *_p_wxTimerEventTo_p_wxObject(void *x) {
21560 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
21561}
21562static void *_p_wxFSFileTo_p_wxObject(void *x) {
21563 return (void *)((wxObject *) ((wxFSFile *) x));
21564}
21565static void *_p_wxClipboardTo_p_wxObject(void *x) {
21566 return (void *)((wxObject *) ((wxClipboard *) x));
21567}
21568static void *_p_wxPySizerTo_p_wxObject(void *x) {
21569 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21570}
21571static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
21572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
21573}
21574static void *_p_wxPyEventTo_p_wxObject(void *x) {
21575 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21576}
21577static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21578 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21579}
21580static void *_p_wxShowEventTo_p_wxObject(void *x) {
21581 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21582}
21583static void *_p_wxToolTipTo_p_wxObject(void *x) {
21584 return (void *)((wxObject *) ((wxToolTip *) x));
21585}
21586static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21587 return (void *)((wxObject *) ((wxMenuItem *) x));
21588}
21589static void *_p_wxDateEventTo_p_wxObject(void *x) {
21590 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
21591}
21592static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21593 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21594}
21595static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21596 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21597}
21598static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21599 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21600}
21601static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21602 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21603}
21604static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21605 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21606}
21607static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21608 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21609}
21610static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21611 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21612}
21613static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21614 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21615}
21616static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21617 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21618}
21619static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21620 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21621}
21622static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21623 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21624}
21625static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21626 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21627}
21628static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21629 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21630}
21631static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21632 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21633}
21634static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21635 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21636}
21637static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21638 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21639}
21640static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21641 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21642}
21643static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
21644 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
21645}
21646static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21647 return (void *)((wxObject *) ((wxImageHandler *) x));
21648}
21649static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21650 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21651}
21652static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21653 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21654}
21655static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21656 return (void *)((wxObject *) ((wxEvtHandler *) x));
21657}
21658static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
21659 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
21660}
21661static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21662 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21663}
21664static void *_p_wxImageTo_p_wxObject(void *x) {
21665 return (void *)((wxObject *) ((wxImage *) x));
21666}
21667static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21668 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21669}
21670static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
21671 return (void *)((wxObject *) ((wxSystemOptions *) x));
21672}
21673static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
21674 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
21675}
21676static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21677 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21678}
21679static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21680 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21681}
21682static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21683 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21684}
21685static void *_p_wxWindowTo_p_wxObject(void *x) {
21686 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21687}
21688static void *_p_wxMenuTo_p_wxObject(void *x) {
21689 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21690}
21691static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21693}
21694static void *_p_wxPyProcessTo_p_wxObject(void *x) {
21695 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
21696}
21697static void *_p_wxFileSystemTo_p_wxObject(void *x) {
21698 return (void *)((wxObject *) ((wxFileSystem *) x));
21699}
21700static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
21701 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
21702}
21703static void *_p_wxMenuEventTo_p_wxObject(void *x) {
21704 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
21705}
21706static void *_p_wxPyAppTo_p_wxObject(void *x) {
21707 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
21708}
21709static void *_p_wxCloseEventTo_p_wxObject(void *x) {
21710 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
21711}
21712static void *_p_wxMouseEventTo_p_wxObject(void *x) {
21713 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
21714}
21715static void *_p_wxEraseEventTo_p_wxObject(void *x) {
21716 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
21717}
21718static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
21719 return (void *)((wxObject *) ((wxBusyInfo *) x));
21720}
21721static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
21722 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
21723}
21724static void *_p_wxCommandEventTo_p_wxObject(void *x) {
21725 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
21726}
21727static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
21728 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
21729}
21730static void *_p_wxFocusEventTo_p_wxObject(void *x) {
21731 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
21732}
21733static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
21734 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
21735}
21736static void *_p_wxProcessEventTo_p_wxObject(void *x) {
21737 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
21738}
21739static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
21740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21741}
21742static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
21743 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
21744}
21745static void *_p_wxValidatorTo_p_wxObject(void *x) {
21746 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
21747}
21748static void *_p_wxPyTimerTo_p_wxObject(void *x) {
21749 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
21750}
21751static void *_p_wxControlTo_p_wxWindow(void *x) {
21752 return (void *)((wxWindow *) ((wxControl *) x));
21753}
21754static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
21755 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
21756}
21757static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
21758 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
21759}
21760static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
21761 return (void *)((wxWindow *) ((wxMenuBar *) x));
21762}
21763static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
21764 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
21765}
21766static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
21767 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
21768}
21769static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
21770 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
21771}
21772static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
21773 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
21774}
21775static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
21776 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
21777}
21778static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
21779 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
21780}
21781static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
21782 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21783}
21784static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
21785 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
21786}
21787static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
21788 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
21789}
21790static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
21791 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
21792}
21793static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21794 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21795}
21796static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21797 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21798}
21799static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21800 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21801}
21802static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21803 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21804}
21805static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
21806 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
21807}
21808static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
21809 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
21810}
21811static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21812 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21813}
21814static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21815 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21816}
21817static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21818 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21819}
21820static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21821 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21822}
21823static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
21824 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
21825}
21826static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
21827 return (void *)((wxControl *) ((wxControlWithItems *) x));
21828}
21829static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
21830 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
21831}
21832static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21833 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21834}
21835static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21836 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21837}
21838static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21839 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21840}
21841static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21842 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21843}
21844static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21845 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21846}
21847static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21848 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21849}
21850static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
21851 return (void *)((wxEvent *) ((wxTimerEvent *) x));
21852}
21853static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21854 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21855}
21856static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21857 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21858}
21859static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21860 return (void *)((wxEvent *) ((wxPyEvent *) x));
21861}
21862static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21863 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21864}
21865static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
21866 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
21867}
21868static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21869 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21870}
21871static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21872 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21873}
21874static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21875 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21876}
21877static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21878 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21879}
21880static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21881 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21882}
21883static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21884 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21885}
21886static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21887 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21888}
21889static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21890 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21891}
21892static void *_p_wxDateEventTo_p_wxEvent(void *x) {
21893 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
21894}
21895static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21896 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21897}
21898static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21899 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21900}
21901static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
21902 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
21903}
21904static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21905 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21906}
21907static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21908 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21909}
21910static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21911 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21912}
21913static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21914 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21915}
21916static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21917 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21918}
21919static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21920 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21921}
21922static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21923 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21924}
21925static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21926 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21927}
21928static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
21929 return (void *)((wxEvent *) ((wxProcessEvent *) x));
21930}
21931static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21932 return (void *)((wxEvent *) ((wxShowEvent *) x));
21933}
21934static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21935 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21936}
21937static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21938 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21939}
21940static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21941 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21942}
21943static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21944 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21945}
21946static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21947 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21948}
21949static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21950 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21951}
21952static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
21953static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
21954static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
21955static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
21956static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
21957static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
21958static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
21959static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
21960static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
21961static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
21962static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
21963static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
21964static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
21965static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
21966static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
21967static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
21968static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
21969static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
21970static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
21971static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
21972static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
21973static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
21974static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
21975static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
21976static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
21977static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
21978static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
21979static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
21980static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
21981static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", 0, 0, 0, 0, 0};
21982static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
21983static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
21984static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", 0, 0, 0, 0, 0};
21985static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
21986static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
21987static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
21988static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
21989static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
21990static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
21991static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
21992static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
21993static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
21994static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
21995static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
21996static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
21997static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
21998static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
21999static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
22000static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", 0, 0, 0, 0, 0};
22001static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
22002static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
22003static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
22004static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
22005static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
22006static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
22007static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0, 0};
22008static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
22009static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
22010static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
22011static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
22012static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0, 0};
22013static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
22014static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, (void*)0, 0};
22015static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
22016static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
22017static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
22018static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
22019static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
22020static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
22021static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
22022static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
22023static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
22024static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", 0, 0, 0, 0, 0};
22025static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
22026static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
22027static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
22028static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0, 0};
22029static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
22030static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0, 0};
22031static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
22032static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
22033static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
22034static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
22035static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
22036static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
22037static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
22038static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
22039static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
22040static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
22041static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
22042static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
22043static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
22044static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
22045static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
22046static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
22047static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
22048static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0, 0};
22049static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
22050static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0, 0};
22051static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
22052static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
22053static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
22054static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
22055static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, (void*)0, 0};
22056static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, (void*)0, 0};
22057static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
22058
22059static swig_type_info *swig_type_initial[] = {
22060 &_swigt__p_char,
22061 &_swigt__p_form_ops_t,
22062 &_swigt__p_int,
22063 &_swigt__p_unsigned_char,
22064 &_swigt__p_unsigned_int,
22065 &_swigt__p_unsigned_long,
22066 &_swigt__p_void,
22067 &_swigt__p_wxANIHandler,
22068 &_swigt__p_wxAcceleratorTable,
22069 &_swigt__p_wxActivateEvent,
22070 &_swigt__p_wxBMPHandler,
22071 &_swigt__p_wxBitmap,
22072 &_swigt__p_wxBoxSizer,
22073 &_swigt__p_wxBusyInfo,
22074 &_swigt__p_wxCURHandler,
22075 &_swigt__p_wxChildFocusEvent,
22076 &_swigt__p_wxClipboard,
22077 &_swigt__p_wxCloseEvent,
22078 &_swigt__p_wxColour,
22079 &_swigt__p_wxCommandEvent,
22080 &_swigt__p_wxContextMenuEvent,
22081 &_swigt__p_wxControl,
22082 &_swigt__p_wxControlWithItems,
22083 &_swigt__p_wxDC,
22084 &_swigt__p_wxDateEvent,
22085 &_swigt__p_wxDisplayChangedEvent,
22086 &_swigt__p_wxDropFilesEvent,
22087 &_swigt__p_wxDuplexMode,
22088 &_swigt__p_wxEraseEvent,
22089 &_swigt__p_wxEvent,
22090 &_swigt__p_wxEvtHandler,
22091 &_swigt__p_wxFSFile,
22092 &_swigt__p_wxFileHistory,
22093 &_swigt__p_wxFileSystem,
22094 &_swigt__p_wxFlexGridSizer,
22095 &_swigt__p_wxFocusEvent,
22096 &_swigt__p_wxFont,
22097 &_swigt__p_wxGBSizerItem,
22098 &_swigt__p_wxGIFHandler,
22099 &_swigt__p_wxGridBagSizer,
22100 &_swigt__p_wxGridSizer,
22101 &_swigt__p_wxICOHandler,
22102 &_swigt__p_wxIconizeEvent,
22103 &_swigt__p_wxIdleEvent,
22104 &_swigt__p_wxImage,
22105 &_swigt__p_wxImageHandler,
22106 &_swigt__p_wxIndividualLayoutConstraint,
22107 &_swigt__p_wxInitDialogEvent,
22108 &_swigt__p_wxJPEGHandler,
22109 &_swigt__p_wxJoystickEvent,
22110 &_swigt__p_wxKeyEvent,
22111 &_swigt__p_wxLayoutConstraints,
22112 &_swigt__p_wxMaximizeEvent,
22113 &_swigt__p_wxMemoryBuffer,
22114 &_swigt__p_wxMenu,
22115 &_swigt__p_wxMenuBar,
22116 &_swigt__p_wxMenuEvent,
22117 &_swigt__p_wxMenuItem,
22118 &_swigt__p_wxMouseCaptureChangedEvent,
22119 &_swigt__p_wxMouseEvent,
22120 &_swigt__p_wxMoveEvent,
22121 &_swigt__p_wxNavigationKeyEvent,
22122 &_swigt__p_wxNcPaintEvent,
22123 &_swigt__p_wxNotifyEvent,
22124 &_swigt__p_wxObject,
22125 &_swigt__p_wxPCXHandler,
22126 &_swigt__p_wxPNGHandler,
22127 &_swigt__p_wxPNMHandler,
22128 &_swigt__p_wxPaintEvent,
22129 &_swigt__p_wxPaletteChangedEvent,
22130 &_swigt__p_wxPaperSize,
22131 &_swigt__p_wxPoint,
22132 &_swigt__p_wxProcessEvent,
22133 &_swigt__p_wxPyApp,
22134 &_swigt__p_wxPyCommandEvent,
22135 &_swigt__p_wxPyEvent,
22136 &_swigt__p_wxPyImageHandler,
22137 &_swigt__p_wxPyProcess,
22138 &_swigt__p_wxPySizer,
22139 &_swigt__p_wxPyTimer,
22140 &_swigt__p_wxPyValidator,
22141 &_swigt__p_wxQueryNewPaletteEvent,
22142 &_swigt__p_wxRect,
22143 &_swigt__p_wxScrollBar,
22144 &_swigt__p_wxScrollEvent,
22145 &_swigt__p_wxScrollWinEvent,
22146 &_swigt__p_wxSetCursorEvent,
22147 &_swigt__p_wxShowEvent,
22148 &_swigt__p_wxSizeEvent,
22149 &_swigt__p_wxSizer,
22150 &_swigt__p_wxSizerItem,
22151 &_swigt__p_wxStaticBoxSizer,
22152 &_swigt__p_wxStdDialogButtonSizer,
22153 &_swigt__p_wxStyledTextCtrl,
22154 &_swigt__p_wxStyledTextEvent,
22155 &_swigt__p_wxSysColourChangedEvent,
22156 &_swigt__p_wxSystemOptions,
22157 &_swigt__p_wxTIFFHandler,
22158 &_swigt__p_wxTimerEvent,
22159 &_swigt__p_wxToolTip,
22160 &_swigt__p_wxUpdateUIEvent,
22161 &_swigt__p_wxValidator,
22162 &_swigt__p_wxWindow,
22163 &_swigt__p_wxWindowCreateEvent,
22164 &_swigt__p_wxWindowDestroyEvent,
22165 &_swigt__p_wxXPMHandler,
22166};
22167
22168static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
22169static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
22170static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
22171static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
22172static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
22173static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
22174static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
22175static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
22176static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
22177static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22178static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
22179static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
22180static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
22181static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
22182static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
22183static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22184static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
22185static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
22186static 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_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}};
22187static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
22188static 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}};
22189static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
22190static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
22191static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22192static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
22193static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
22194static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
22195static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
22196static swig_cast_info _swigc__p_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
22197static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
22198static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
22199static swig_cast_info _swigc__p_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
22200static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
22201static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
22202static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22203static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22204static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
22205static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22206static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
22207static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22208static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22209static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22210static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22211static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22212static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22213static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
22214static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22215static swig_cast_info _swigc__p_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
22216static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
22217static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22218static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22219static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
22220static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_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_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}};
22221static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
22222static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
22223static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
22224static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
22225static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
22226static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
22227static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
22228static 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}};
22229static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
22230static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 0, 0, 0},{0, 0, 0, 0}};
22231static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
22232static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22233static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22234static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
22235static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22236static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22237static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
22238static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
22239static swig_cast_info _swigc__p_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
22240static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22241static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22242static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
22243static swig_cast_info _swigc__p_wxClipboard[] = {{&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
22244static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
22245static swig_cast_info _swigc__p_wxToolTip[] = {{&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
22246static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
22247static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
22248static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
22249static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
22250static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
22251static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
22252static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
22253static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
22254static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
22255static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
22256static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
22257static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
22258static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
22259static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
22260static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
22261static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
22262static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
22263static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
22264static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
22265static swig_cast_info _swigc__p_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
22266static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_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}};
22267static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
22268static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
22269static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
22270static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
22271static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
22272static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}};
22273static 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}};
22274
22275static swig_cast_info *swig_cast_initial[] = {
22276 _swigc__p_char,
22277 _swigc__p_form_ops_t,
22278 _swigc__p_int,
22279 _swigc__p_unsigned_char,
22280 _swigc__p_unsigned_int,
22281 _swigc__p_unsigned_long,
22282 _swigc__p_void,
22283 _swigc__p_wxANIHandler,
22284 _swigc__p_wxAcceleratorTable,
22285 _swigc__p_wxActivateEvent,
22286 _swigc__p_wxBMPHandler,
22287 _swigc__p_wxBitmap,
22288 _swigc__p_wxBoxSizer,
22289 _swigc__p_wxBusyInfo,
22290 _swigc__p_wxCURHandler,
22291 _swigc__p_wxChildFocusEvent,
22292 _swigc__p_wxClipboard,
22293 _swigc__p_wxCloseEvent,
22294 _swigc__p_wxColour,
22295 _swigc__p_wxCommandEvent,
22296 _swigc__p_wxContextMenuEvent,
22297 _swigc__p_wxControl,
22298 _swigc__p_wxControlWithItems,
22299 _swigc__p_wxDC,
22300 _swigc__p_wxDateEvent,
22301 _swigc__p_wxDisplayChangedEvent,
22302 _swigc__p_wxDropFilesEvent,
22303 _swigc__p_wxDuplexMode,
22304 _swigc__p_wxEraseEvent,
22305 _swigc__p_wxEvent,
22306 _swigc__p_wxEvtHandler,
22307 _swigc__p_wxFSFile,
22308 _swigc__p_wxFileHistory,
22309 _swigc__p_wxFileSystem,
22310 _swigc__p_wxFlexGridSizer,
22311 _swigc__p_wxFocusEvent,
22312 _swigc__p_wxFont,
22313 _swigc__p_wxGBSizerItem,
22314 _swigc__p_wxGIFHandler,
22315 _swigc__p_wxGridBagSizer,
22316 _swigc__p_wxGridSizer,
22317 _swigc__p_wxICOHandler,
22318 _swigc__p_wxIconizeEvent,
22319 _swigc__p_wxIdleEvent,
22320 _swigc__p_wxImage,
22321 _swigc__p_wxImageHandler,
22322 _swigc__p_wxIndividualLayoutConstraint,
22323 _swigc__p_wxInitDialogEvent,
22324 _swigc__p_wxJPEGHandler,
22325 _swigc__p_wxJoystickEvent,
22326 _swigc__p_wxKeyEvent,
22327 _swigc__p_wxLayoutConstraints,
22328 _swigc__p_wxMaximizeEvent,
22329 _swigc__p_wxMemoryBuffer,
22330 _swigc__p_wxMenu,
22331 _swigc__p_wxMenuBar,
22332 _swigc__p_wxMenuEvent,
22333 _swigc__p_wxMenuItem,
22334 _swigc__p_wxMouseCaptureChangedEvent,
22335 _swigc__p_wxMouseEvent,
22336 _swigc__p_wxMoveEvent,
22337 _swigc__p_wxNavigationKeyEvent,
22338 _swigc__p_wxNcPaintEvent,
22339 _swigc__p_wxNotifyEvent,
22340 _swigc__p_wxObject,
22341 _swigc__p_wxPCXHandler,
22342 _swigc__p_wxPNGHandler,
22343 _swigc__p_wxPNMHandler,
22344 _swigc__p_wxPaintEvent,
22345 _swigc__p_wxPaletteChangedEvent,
22346 _swigc__p_wxPaperSize,
22347 _swigc__p_wxPoint,
22348 _swigc__p_wxProcessEvent,
22349 _swigc__p_wxPyApp,
22350 _swigc__p_wxPyCommandEvent,
22351 _swigc__p_wxPyEvent,
22352 _swigc__p_wxPyImageHandler,
22353 _swigc__p_wxPyProcess,
22354 _swigc__p_wxPySizer,
22355 _swigc__p_wxPyTimer,
22356 _swigc__p_wxPyValidator,
22357 _swigc__p_wxQueryNewPaletteEvent,
22358 _swigc__p_wxRect,
22359 _swigc__p_wxScrollBar,
22360 _swigc__p_wxScrollEvent,
22361 _swigc__p_wxScrollWinEvent,
22362 _swigc__p_wxSetCursorEvent,
22363 _swigc__p_wxShowEvent,
22364 _swigc__p_wxSizeEvent,
22365 _swigc__p_wxSizer,
22366 _swigc__p_wxSizerItem,
22367 _swigc__p_wxStaticBoxSizer,
22368 _swigc__p_wxStdDialogButtonSizer,
22369 _swigc__p_wxStyledTextCtrl,
22370 _swigc__p_wxStyledTextEvent,
22371 _swigc__p_wxSysColourChangedEvent,
22372 _swigc__p_wxSystemOptions,
22373 _swigc__p_wxTIFFHandler,
22374 _swigc__p_wxTimerEvent,
22375 _swigc__p_wxToolTip,
22376 _swigc__p_wxUpdateUIEvent,
22377 _swigc__p_wxValidator,
22378 _swigc__p_wxWindow,
22379 _swigc__p_wxWindowCreateEvent,
22380 _swigc__p_wxWindowDestroyEvent,
22381 _swigc__p_wxXPMHandler,
22382};
22383
22384
22385/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22386
22387static swig_const_info swig_const_table[] = {
22388{0, 0, 0, 0.0, 0, 0}};
22389
22390#ifdef __cplusplus
22391}
22392#endif
22393/* -----------------------------------------------------------------------------
22394 * Type initialization:
22395 * This problem is tough by the requirement that no dynamic
22396 * memory is used. Also, since swig_type_info structures store pointers to
22397 * swig_cast_info structures and swig_cast_info structures store pointers back
22398 * to swig_type_info structures, we need some lookup code at initialization.
22399 * The idea is that swig generates all the structures that are needed.
22400 * The runtime then collects these partially filled structures.
22401 * The SWIG_InitializeModule function takes these initial arrays out of
22402 * swig_module, and does all the lookup, filling in the swig_module.types
22403 * array with the correct data and linking the correct swig_cast_info
22404 * structures together.
22405 *
22406 * The generated swig_type_info structures are assigned staticly to an initial
22407 * array. We just loop though that array, and handle each type individually.
22408 * First we lookup if this type has been already loaded, and if so, use the
22409 * loaded structure instead of the generated one. Then we have to fill in the
22410 * cast linked list. The cast data is initially stored in something like a
22411 * two-dimensional array. Each row corresponds to a type (there are the same
22412 * number of rows as there are in the swig_type_initial array). Each entry in
22413 * a column is one of the swig_cast_info structures for that type.
22414 * The cast_initial array is actually an array of arrays, because each row has
22415 * a variable number of columns. So to actually build the cast linked list,
22416 * we find the array of casts associated with the type, and loop through it
22417 * adding the casts to the list. The one last trick we need to do is making
22418 * sure the type pointer in the swig_cast_info struct is correct.
22419 *
22420 * First off, we lookup the cast->type name to see if it is already loaded.
22421 * There are three cases to handle:
22422 * 1) If the cast->type has already been loaded AND the type we are adding
22423 * casting info to has not been loaded (it is in this module), THEN we
22424 * replace the cast->type pointer with the type pointer that has already
22425 * been loaded.
22426 * 2) If BOTH types (the one we are adding casting info to, and the
22427 * cast->type) are loaded, THEN the cast info has already been loaded by
22428 * the previous module so we just ignore it.
22429 * 3) Finally, if cast->type has not already been loaded, then we add that
22430 * swig_cast_info to the linked list (because the cast->type) pointer will
22431 * be correct.
22432 * ----------------------------------------------------------------------------- */
22433
22434#ifdef __cplusplus
22435extern "C" {
22436#if 0
22437} /* c-mode */
22438#endif
22439#endif
22440
22441#if 0
22442#define SWIGRUNTIME_DEBUG
22443#endif
22444
22445SWIGRUNTIME void
22446SWIG_InitializeModule(void *clientdata) {
22447 size_t i;
22448 swig_module_info *module_head;
22449 static int init_run = 0;
22450
22451 clientdata = clientdata;
22452
22453 if (init_run) return;
22454 init_run = 1;
22455
22456 /* Initialize the swig_module */
22457 swig_module.type_initial = swig_type_initial;
22458 swig_module.cast_initial = swig_cast_initial;
22459
22460 /* Try and load any already created modules */
22461 module_head = SWIG_GetModule(clientdata);
22462 if (module_head) {
22463 swig_module.next = module_head->next;
22464 module_head->next = &swig_module;
22465 } else {
22466 /* This is the first module loaded */
22467 swig_module.next = &swig_module;
22468 SWIG_SetModule(clientdata, &swig_module);
22469 }
22470
22471 /* Now work on filling in swig_module.types */
22472#ifdef SWIGRUNTIME_DEBUG
22473 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
22474#endif
22475 for (i = 0; i < swig_module.size; ++i) {
22476 swig_type_info *type = 0;
22477 swig_type_info *ret;
22478 swig_cast_info *cast;
22479
22480#ifdef SWIGRUNTIME_DEBUG
22481 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
22482#endif
22483
22484 /* if there is another module already loaded */
22485 if (swig_module.next != &swig_module) {
22486 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36ed4f51 22487 }
1bd55598
RD
22488 if (type) {
22489 /* Overwrite clientdata field */
22490#ifdef SWIGRUNTIME_DEBUG
22491 printf("SWIG_InitializeModule: found type %s\n", type->name);
22492#endif
22493 if (swig_module.type_initial[i]->clientdata) {
22494 type->clientdata = swig_module.type_initial[i]->clientdata;
22495#ifdef SWIGRUNTIME_DEBUG
22496 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
22497#endif
22498 }
22499 } else {
22500 type = swig_module.type_initial[i];
36ed4f51 22501 }
1bd55598
RD
22502
22503 /* Insert casting types */
22504 cast = swig_module.cast_initial[i];
22505 while (cast->type) {
22506 /* Don't need to add information already in the list */
22507 ret = 0;
22508#ifdef SWIGRUNTIME_DEBUG
22509 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
22510#endif
22511 if (swig_module.next != &swig_module) {
22512 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
22513#ifdef SWIGRUNTIME_DEBUG
22514 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
22515#endif
22516 }
22517 if (ret) {
22518 if (type == swig_module.type_initial[i]) {
22519#ifdef SWIGRUNTIME_DEBUG
22520 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
22521#endif
22522 cast->type = ret;
22523 ret = 0;
22524 } else {
22525 /* Check for casting already in the list */
22526 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
22527#ifdef SWIGRUNTIME_DEBUG
22528 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
22529#endif
22530 if (!ocast) ret = 0;
22531 }
22532 }
22533
22534 if (!ret) {
22535#ifdef SWIGRUNTIME_DEBUG
22536 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
22537#endif
22538 if (type->cast) {
22539 type->cast->prev = cast;
22540 cast->next = type->cast;
22541 }
22542 type->cast = cast;
22543 }
22544 cast++;
36ed4f51 22545 }
1bd55598
RD
22546 /* Set entry in modules->types array equal to the type */
22547 swig_module.types[i] = type;
22548 }
22549 swig_module.types[i] = 0;
22550
22551#ifdef SWIGRUNTIME_DEBUG
22552 printf("**** SWIG_InitializeModule: Cast List ******\n");
22553 for (i = 0; i < swig_module.size; ++i) {
22554 int j = 0;
22555 swig_cast_info *cast = swig_module.cast_initial[i];
22556 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
22557 while (cast->type) {
22558 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
22559 cast++;
22560 ++j;
22561 }
22562 printf("---- Total casts: %d\n",j);
22563 }
22564 printf("**** SWIG_InitializeModule: Cast List ******\n");
22565#endif
22566}
22567
22568/* This function will propagate the clientdata field of type to
22569* any new swig_type_info structures that have been added into the list
22570* of equivalent types. It is like calling
22571* SWIG_TypeClientData(type, clientdata) a second time.
22572*/
22573SWIGRUNTIME void
22574SWIG_PropagateClientData(void) {
22575 size_t i;
22576 swig_cast_info *equiv;
22577 static int init_run = 0;
22578
22579 if (init_run) return;
22580 init_run = 1;
22581
22582 for (i = 0; i < swig_module.size; i++) {
22583 if (swig_module.types[i]->clientdata) {
22584 equiv = swig_module.types[i]->cast;
22585 while (equiv) {
22586 if (!equiv->converter) {
22587 if (equiv->type && !equiv->type->clientdata)
22588 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
22589 }
22590 equiv = equiv->next;
22591 }
36ed4f51 22592 }
1bd55598
RD
22593 }
22594}
22595
22596#ifdef __cplusplus
22597#if 0
22598{
22599 /* c-mode */
22600#endif
22601}
22602#endif
22603
22604
22605
22606#ifdef __cplusplus
22607extern "C" {
22608#endif
22609
22610 /* Python-specific SWIG API */
22611#define SWIG_newvarlink() SWIG_Python_newvarlink()
22612#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22613#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22614
22615 /* -----------------------------------------------------------------------------
22616 * global variable support code.
22617 * ----------------------------------------------------------------------------- */
22618
22619 typedef struct swig_globalvar {
22620 char *name; /* Name of global variable */
22621 PyObject *(*get_attr)(void); /* Return the current value */
22622 int (*set_attr)(PyObject *); /* Set the value */
22623 struct swig_globalvar *next;
22624 } swig_globalvar;
22625
22626 typedef struct swig_varlinkobject {
22627 PyObject_HEAD
22628 swig_globalvar *vars;
22629 } swig_varlinkobject;
22630
22631 SWIGINTERN PyObject *
22632 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
22633 return PyString_FromString("<Swig global variables>");
22634 }
22635
22636 SWIGINTERN PyObject *
22637 swig_varlink_str(swig_varlinkobject *v) {
22638 PyObject *str = PyString_FromString("(");
22639 swig_globalvar *var;
22640 for (var = v->vars; var; var=var->next) {
22641 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
22642 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
22643 }
22644 PyString_ConcatAndDel(&str,PyString_FromString(")"));
22645 return str;
22646 }
22647
22648 SWIGINTERN int
22649 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
22650 PyObject *str = swig_varlink_str(v);
22651 fprintf(fp,"Swig global variables ");
22652 fprintf(fp,"%s\n", PyString_AsString(str));
22653 Py_DECREF(str);
22654 return 0;
22655 }
22656
22657 SWIGINTERN void
22658 swig_varlink_dealloc(swig_varlinkobject *v) {
22659 swig_globalvar *var = v->vars;
22660 while (var) {
22661 swig_globalvar *n = var->next;
22662 free(var->name);
22663 free(var);
22664 var = n;
36ed4f51 22665 }
1bd55598
RD
22666 }
22667
22668 SWIGINTERN PyObject *
22669 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
22670 PyObject *res = NULL;
22671 swig_globalvar *var = v->vars;
22672 while (var) {
22673 if (strcmp(var->name,n) == 0) {
22674 res = (*var->get_attr)();
22675 break;
22676 }
22677 var = var->next;
36ed4f51 22678 }
1bd55598
RD
22679 if (res == NULL && !PyErr_Occurred()) {
22680 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 22681 }
1bd55598
RD
22682 return res;
22683 }
22684
22685 SWIGINTERN int
22686 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
22687 int res = 1;
22688 swig_globalvar *var = v->vars;
22689 while (var) {
22690 if (strcmp(var->name,n) == 0) {
22691 res = (*var->set_attr)(p);
22692 break;
22693 }
22694 var = var->next;
36ed4f51 22695 }
1bd55598
RD
22696 if (res == 1 && !PyErr_Occurred()) {
22697 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 22698 }
1bd55598
RD
22699 return res;
22700 }
22701
22702 SWIGINTERN PyTypeObject*
22703 swig_varlink_type(void) {
22704 static char varlink__doc__[] = "Swig var link object";
22705 static PyTypeObject varlink_type;
22706 static int type_init = 0;
22707 if (!type_init) {
22708 const PyTypeObject tmp
22709 = {
22710 PyObject_HEAD_INIT(NULL)
22711 0, /* Number of items in variable part (ob_size) */
22712 (char *)"swigvarlink", /* Type name (tp_name) */
22713 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
22714 0, /* Itemsize (tp_itemsize) */
22715 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
22716 (printfunc) swig_varlink_print, /* Print (tp_print) */
22717 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
22718 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
22719 0, /* tp_compare */
22720 (reprfunc) swig_varlink_repr, /* tp_repr */
22721 0, /* tp_as_number */
22722 0, /* tp_as_sequence */
22723 0, /* tp_as_mapping */
22724 0, /* tp_hash */
22725 0, /* tp_call */
22726 (reprfunc)swig_varlink_str, /* tp_str */
22727 0, /* tp_getattro */
22728 0, /* tp_setattro */
22729 0, /* tp_as_buffer */
22730 0, /* tp_flags */
22731 varlink__doc__, /* tp_doc */
22732 0, /* tp_traverse */
22733 0, /* tp_clear */
22734 0, /* tp_richcompare */
22735 0, /* tp_weaklistoffset */
22736#if PY_VERSION_HEX >= 0x02020000
22737 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
22738#endif
22739#if PY_VERSION_HEX >= 0x02030000
22740 0, /* tp_del */
22741#endif
22742#ifdef COUNT_ALLOCS
22743 0,0,0,0 /* tp_alloc -> tp_next */
22744#endif
22745 };
22746 varlink_type = tmp;
22747 varlink_type.ob_type = &PyType_Type;
22748 type_init = 1;
36ed4f51 22749 }
1bd55598
RD
22750 return &varlink_type;
22751 }
22752
22753 /* Create a variable linking object for use later */
22754 SWIGINTERN PyObject *
22755 SWIG_Python_newvarlink(void) {
22756 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
22757 if (result) {
22758 result->vars = 0;
22759 }
22760 return ((PyObject*) result);
22761 }
22762
22763 SWIGINTERN void
22764 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
22765 swig_varlinkobject *v = (swig_varlinkobject *) p;
22766 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
22767 if (gv) {
22768 size_t size = strlen(name)+1;
22769 gv->name = (char *)malloc(size);
22770 if (gv->name) {
22771 strncpy(gv->name,name,size);
22772 gv->get_attr = get_attr;
22773 gv->set_attr = set_attr;
22774 gv->next = v->vars;
22775 }
36ed4f51 22776 }
1bd55598
RD
22777 v->vars = gv;
22778 }
22779
22780 SWIGINTERN PyObject *
22781 SWIG_globals() {
22782 static PyObject *_SWIG_globals = 0;
22783 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
22784 return _SWIG_globals;
22785 }
22786
22787 /* -----------------------------------------------------------------------------
22788 * constants/methods manipulation
22789 * ----------------------------------------------------------------------------- */
22790
22791 /* Install Constants */
22792 SWIGINTERN void
22793 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
22794 PyObject *obj = 0;
22795 size_t i;
22796 for (i = 0; constants[i].type; ++i) {
22797 switch(constants[i].type) {
22798 case SWIG_PY_POINTER:
22799 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
22800 break;
22801 case SWIG_PY_BINARY:
22802 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
22803 break;
22804 default:
22805 obj = 0;
22806 break;
22807 }
22808 if (obj) {
22809 PyDict_SetItemString(d, constants[i].name, obj);
22810 Py_DECREF(obj);
22811 }
36ed4f51 22812 }
1bd55598
RD
22813 }
22814
22815 /* -----------------------------------------------------------------------------*/
22816 /* Fix SwigMethods to carry the callback ptrs when needed */
22817 /* -----------------------------------------------------------------------------*/
22818
22819 SWIGINTERN void
22820 SWIG_Python_FixMethods(PyMethodDef *methods,
22821 swig_const_info *const_table,
22822 swig_type_info **types,
22823 swig_type_info **types_initial) {
22824 size_t i;
22825 for (i = 0; methods[i].ml_name; ++i) {
22826 char *c = methods[i].ml_doc;
22827 if (c && (c = strstr(c, "swig_ptr: "))) {
22828 int j;
22829 swig_const_info *ci = 0;
22830 char *name = c + 10;
22831 for (j = 0; const_table[j].type; ++j) {
22832 if (strncmp(const_table[j].name, name,
22833 strlen(const_table[j].name)) == 0) {
22834 ci = &(const_table[j]);
22835 break;
22836 }
22837 }
22838 if (ci) {
22839 size_t shift = (ci->ptype) - types;
22840 swig_type_info *ty = types_initial[shift];
22841 size_t ldoc = (c - methods[i].ml_doc);
22842 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
22843 char *ndoc = (char*)malloc(ldoc + lptr + 10);
22844 if (ndoc) {
22845 char *buff = ndoc;
22846 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
22847 if (ptr) {
22848 strncpy(buff, methods[i].ml_doc, ldoc);
22849 buff += ldoc;
22850 strncpy(buff, "swig_ptr: ", 10);
22851 buff += 10;
22852 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
22853 methods[i].ml_doc = ndoc;
22854 }
22855 }
22856 }
22857 }
36ed4f51 22858 }
1bd55598
RD
22859 }
22860
22861#ifdef __cplusplus
22862}
22863#endif
22864
22865/* -----------------------------------------------------------------------------*
22866 * Partial Init method
22867 * -----------------------------------------------------------------------------*/
22868
22869#ifdef __cplusplus
22870extern "C"
22871#endif
22872SWIGEXPORT void SWIG_init(void) {
22873 PyObject *m, *d;
22874
22875 /* Fix SwigMethods to carry the callback ptrs when needed */
22876 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
22877
22878 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22879 d = PyModule_GetDict(m);
22880
22881 SWIG_InitializeModule(0);
22882 SWIG_InstallConstants(d,swig_const_table);
22883
22884
22885 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
22886 SWIG_addvarlink(SWIG_globals(),(char*)"STCNameStr",STCNameStr_get, STCNameStr_set);
22887 SWIG_Python_SetConstant(d, "STC_USE_DND",SWIG_From_int(static_cast< int >(1)));
22888 SWIG_Python_SetConstant(d, "STC_USE_POPUP",SWIG_From_int(static_cast< int >(1)));
22889 SWIG_Python_SetConstant(d, "STC_INVALID_POSITION",SWIG_From_int(static_cast< int >(-1)));
22890 SWIG_Python_SetConstant(d, "STC_START",SWIG_From_int(static_cast< int >(2000)));
22891 SWIG_Python_SetConstant(d, "STC_OPTIONAL_START",SWIG_From_int(static_cast< int >(3000)));
22892 SWIG_Python_SetConstant(d, "STC_LEXER_START",SWIG_From_int(static_cast< int >(4000)));
22893 SWIG_Python_SetConstant(d, "STC_WS_INVISIBLE",SWIG_From_int(static_cast< int >(0)));
22894 SWIG_Python_SetConstant(d, "STC_WS_VISIBLEALWAYS",SWIG_From_int(static_cast< int >(1)));
22895 SWIG_Python_SetConstant(d, "STC_WS_VISIBLEAFTERINDENT",SWIG_From_int(static_cast< int >(2)));
22896 SWIG_Python_SetConstant(d, "STC_EOL_CRLF",SWIG_From_int(static_cast< int >(0)));
22897 SWIG_Python_SetConstant(d, "STC_EOL_CR",SWIG_From_int(static_cast< int >(1)));
22898 SWIG_Python_SetConstant(d, "STC_EOL_LF",SWIG_From_int(static_cast< int >(2)));
22899 SWIG_Python_SetConstant(d, "STC_CP_UTF8",SWIG_From_int(static_cast< int >(65001)));
22900 SWIG_Python_SetConstant(d, "STC_CP_DBCS",SWIG_From_int(static_cast< int >(1)));
22901 SWIG_Python_SetConstant(d, "STC_MARKER_MAX",SWIG_From_int(static_cast< int >(31)));
22902 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLE",SWIG_From_int(static_cast< int >(0)));
22903 SWIG_Python_SetConstant(d, "STC_MARK_ROUNDRECT",SWIG_From_int(static_cast< int >(1)));
22904 SWIG_Python_SetConstant(d, "STC_MARK_ARROW",SWIG_From_int(static_cast< int >(2)));
22905 SWIG_Python_SetConstant(d, "STC_MARK_SMALLRECT",SWIG_From_int(static_cast< int >(3)));
22906 SWIG_Python_SetConstant(d, "STC_MARK_SHORTARROW",SWIG_From_int(static_cast< int >(4)));
22907 SWIG_Python_SetConstant(d, "STC_MARK_EMPTY",SWIG_From_int(static_cast< int >(5)));
22908 SWIG_Python_SetConstant(d, "STC_MARK_ARROWDOWN",SWIG_From_int(static_cast< int >(6)));
22909 SWIG_Python_SetConstant(d, "STC_MARK_MINUS",SWIG_From_int(static_cast< int >(7)));
22910 SWIG_Python_SetConstant(d, "STC_MARK_PLUS",SWIG_From_int(static_cast< int >(8)));
22911 SWIG_Python_SetConstant(d, "STC_MARK_VLINE",SWIG_From_int(static_cast< int >(9)));
22912 SWIG_Python_SetConstant(d, "STC_MARK_LCORNER",SWIG_From_int(static_cast< int >(10)));
22913 SWIG_Python_SetConstant(d, "STC_MARK_TCORNER",SWIG_From_int(static_cast< int >(11)));
22914 SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUS",SWIG_From_int(static_cast< int >(12)));
22915 SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUSCONNECTED",SWIG_From_int(static_cast< int >(13)));
22916 SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUS",SWIG_From_int(static_cast< int >(14)));
22917 SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUSCONNECTED",SWIG_From_int(static_cast< int >(15)));
22918 SWIG_Python_SetConstant(d, "STC_MARK_LCORNERCURVE",SWIG_From_int(static_cast< int >(16)));
22919 SWIG_Python_SetConstant(d, "STC_MARK_TCORNERCURVE",SWIG_From_int(static_cast< int >(17)));
22920 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUS",SWIG_From_int(static_cast< int >(18)));
22921 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUSCONNECTED",SWIG_From_int(static_cast< int >(19)));
22922 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUS",SWIG_From_int(static_cast< int >(20)));
22923 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUSCONNECTED",SWIG_From_int(static_cast< int >(21)));
22924 SWIG_Python_SetConstant(d, "STC_MARK_BACKGROUND",SWIG_From_int(static_cast< int >(22)));
22925 SWIG_Python_SetConstant(d, "STC_MARK_DOTDOTDOT",SWIG_From_int(static_cast< int >(23)));
22926 SWIG_Python_SetConstant(d, "STC_MARK_ARROWS",SWIG_From_int(static_cast< int >(24)));
22927 SWIG_Python_SetConstant(d, "STC_MARK_PIXMAP",SWIG_From_int(static_cast< int >(25)));
22928 SWIG_Python_SetConstant(d, "STC_MARK_FULLRECT",SWIG_From_int(static_cast< int >(26)));
22929 SWIG_Python_SetConstant(d, "STC_MARK_CHARACTER",SWIG_From_int(static_cast< int >(10000)));
22930 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEREND",SWIG_From_int(static_cast< int >(25)));
22931 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPENMID",SWIG_From_int(static_cast< int >(26)));
22932 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERMIDTAIL",SWIG_From_int(static_cast< int >(27)));
22933 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERTAIL",SWIG_From_int(static_cast< int >(28)));
22934 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERSUB",SWIG_From_int(static_cast< int >(29)));
22935 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDER",SWIG_From_int(static_cast< int >(30)));
22936 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPEN",SWIG_From_int(static_cast< int >(31)));
22937 SWIG_Python_SetConstant(d, "STC_MASK_FOLDERS",SWIG_From_int(static_cast< int >(0xFE000000)));
22938 SWIG_Python_SetConstant(d, "STC_MARGIN_SYMBOL",SWIG_From_int(static_cast< int >(0)));
22939 SWIG_Python_SetConstant(d, "STC_MARGIN_NUMBER",SWIG_From_int(static_cast< int >(1)));
22940 SWIG_Python_SetConstant(d, "STC_STYLE_DEFAULT",SWIG_From_int(static_cast< int >(32)));
22941 SWIG_Python_SetConstant(d, "STC_STYLE_LINENUMBER",SWIG_From_int(static_cast< int >(33)));
22942 SWIG_Python_SetConstant(d, "STC_STYLE_BRACELIGHT",SWIG_From_int(static_cast< int >(34)));
22943 SWIG_Python_SetConstant(d, "STC_STYLE_BRACEBAD",SWIG_From_int(static_cast< int >(35)));
22944 SWIG_Python_SetConstant(d, "STC_STYLE_CONTROLCHAR",SWIG_From_int(static_cast< int >(36)));
22945 SWIG_Python_SetConstant(d, "STC_STYLE_INDENTGUIDE",SWIG_From_int(static_cast< int >(37)));
22946 SWIG_Python_SetConstant(d, "STC_STYLE_LASTPREDEFINED",SWIG_From_int(static_cast< int >(39)));
22947 SWIG_Python_SetConstant(d, "STC_STYLE_MAX",SWIG_From_int(static_cast< int >(127)));
22948 SWIG_Python_SetConstant(d, "STC_CHARSET_ANSI",SWIG_From_int(static_cast< int >(0)));
22949 SWIG_Python_SetConstant(d, "STC_CHARSET_DEFAULT",SWIG_From_int(static_cast< int >(1)));
22950 SWIG_Python_SetConstant(d, "STC_CHARSET_BALTIC",SWIG_From_int(static_cast< int >(186)));
22951 SWIG_Python_SetConstant(d, "STC_CHARSET_CHINESEBIG5",SWIG_From_int(static_cast< int >(136)));
22952 SWIG_Python_SetConstant(d, "STC_CHARSET_EASTEUROPE",SWIG_From_int(static_cast< int >(238)));
22953 SWIG_Python_SetConstant(d, "STC_CHARSET_GB2312",SWIG_From_int(static_cast< int >(134)));
22954 SWIG_Python_SetConstant(d, "STC_CHARSET_GREEK",SWIG_From_int(static_cast< int >(161)));
22955 SWIG_Python_SetConstant(d, "STC_CHARSET_HANGUL",SWIG_From_int(static_cast< int >(129)));
22956 SWIG_Python_SetConstant(d, "STC_CHARSET_MAC",SWIG_From_int(static_cast< int >(77)));
22957 SWIG_Python_SetConstant(d, "STC_CHARSET_OEM",SWIG_From_int(static_cast< int >(255)));
22958 SWIG_Python_SetConstant(d, "STC_CHARSET_RUSSIAN",SWIG_From_int(static_cast< int >(204)));
22959 SWIG_Python_SetConstant(d, "STC_CHARSET_CYRILLIC",SWIG_From_int(static_cast< int >(1251)));
22960 SWIG_Python_SetConstant(d, "STC_CHARSET_SHIFTJIS",SWIG_From_int(static_cast< int >(128)));
22961 SWIG_Python_SetConstant(d, "STC_CHARSET_SYMBOL",SWIG_From_int(static_cast< int >(2)));
22962 SWIG_Python_SetConstant(d, "STC_CHARSET_TURKISH",SWIG_From_int(static_cast< int >(162)));
22963 SWIG_Python_SetConstant(d, "STC_CHARSET_JOHAB",SWIG_From_int(static_cast< int >(130)));
22964 SWIG_Python_SetConstant(d, "STC_CHARSET_HEBREW",SWIG_From_int(static_cast< int >(177)));
22965 SWIG_Python_SetConstant(d, "STC_CHARSET_ARABIC",SWIG_From_int(static_cast< int >(178)));
22966 SWIG_Python_SetConstant(d, "STC_CHARSET_VIETNAMESE",SWIG_From_int(static_cast< int >(163)));
22967 SWIG_Python_SetConstant(d, "STC_CHARSET_THAI",SWIG_From_int(static_cast< int >(222)));
22968 SWIG_Python_SetConstant(d, "STC_CHARSET_8859_15",SWIG_From_int(static_cast< int >(1000)));
22969 SWIG_Python_SetConstant(d, "STC_CASE_MIXED",SWIG_From_int(static_cast< int >(0)));
22970 SWIG_Python_SetConstant(d, "STC_CASE_UPPER",SWIG_From_int(static_cast< int >(1)));
22971 SWIG_Python_SetConstant(d, "STC_CASE_LOWER",SWIG_From_int(static_cast< int >(2)));
22972 SWIG_Python_SetConstant(d, "STC_INDIC_MAX",SWIG_From_int(static_cast< int >(7)));
22973 SWIG_Python_SetConstant(d, "STC_INDIC_PLAIN",SWIG_From_int(static_cast< int >(0)));
22974 SWIG_Python_SetConstant(d, "STC_INDIC_SQUIGGLE",SWIG_From_int(static_cast< int >(1)));
22975 SWIG_Python_SetConstant(d, "STC_INDIC_TT",SWIG_From_int(static_cast< int >(2)));
22976 SWIG_Python_SetConstant(d, "STC_INDIC_DIAGONAL",SWIG_From_int(static_cast< int >(3)));
22977 SWIG_Python_SetConstant(d, "STC_INDIC_STRIKE",SWIG_From_int(static_cast< int >(4)));
22978 SWIG_Python_SetConstant(d, "STC_INDIC_HIDDEN",SWIG_From_int(static_cast< int >(5)));
22979 SWIG_Python_SetConstant(d, "STC_INDIC_BOX",SWIG_From_int(static_cast< int >(6)));
22980 SWIG_Python_SetConstant(d, "STC_INDIC0_MASK",SWIG_From_int(static_cast< int >(0x20)));
22981 SWIG_Python_SetConstant(d, "STC_INDIC1_MASK",SWIG_From_int(static_cast< int >(0x40)));
22982 SWIG_Python_SetConstant(d, "STC_INDIC2_MASK",SWIG_From_int(static_cast< int >(0x80)));
22983 SWIG_Python_SetConstant(d, "STC_INDICS_MASK",SWIG_From_int(static_cast< int >(0xE0)));
22984 SWIG_Python_SetConstant(d, "STC_PRINT_NORMAL",SWIG_From_int(static_cast< int >(0)));
22985 SWIG_Python_SetConstant(d, "STC_PRINT_INVERTLIGHT",SWIG_From_int(static_cast< int >(1)));
22986 SWIG_Python_SetConstant(d, "STC_PRINT_BLACKONWHITE",SWIG_From_int(static_cast< int >(2)));
22987 SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITE",SWIG_From_int(static_cast< int >(3)));
22988 SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITEDEFAULTBG",SWIG_From_int(static_cast< int >(4)));
22989 SWIG_Python_SetConstant(d, "STC_FIND_WHOLEWORD",SWIG_From_int(static_cast< int >(2)));
22990 SWIG_Python_SetConstant(d, "STC_FIND_MATCHCASE",SWIG_From_int(static_cast< int >(4)));
22991 SWIG_Python_SetConstant(d, "STC_FIND_WORDSTART",SWIG_From_int(static_cast< int >(0x00100000)));
22992 SWIG_Python_SetConstant(d, "STC_FIND_REGEXP",SWIG_From_int(static_cast< int >(0x00200000)));
22993 SWIG_Python_SetConstant(d, "STC_FIND_POSIX",SWIG_From_int(static_cast< int >(0x00400000)));
22994 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBASE",SWIG_From_int(static_cast< int >(0x400)));
22995 SWIG_Python_SetConstant(d, "STC_FOLDLEVELWHITEFLAG",SWIG_From_int(static_cast< int >(0x1000)));
22996 SWIG_Python_SetConstant(d, "STC_FOLDLEVELHEADERFLAG",SWIG_From_int(static_cast< int >(0x2000)));
22997 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBOXHEADERFLAG",SWIG_From_int(static_cast< int >(0x4000)));
22998 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBOXFOOTERFLAG",SWIG_From_int(static_cast< int >(0x8000)));
22999 SWIG_Python_SetConstant(d, "STC_FOLDLEVELCONTRACTED",SWIG_From_int(static_cast< int >(0x10000)));
23000 SWIG_Python_SetConstant(d, "STC_FOLDLEVELUNINDENT",SWIG_From_int(static_cast< int >(0x20000)));
23001 SWIG_Python_SetConstant(d, "STC_FOLDLEVELNUMBERMASK",SWIG_From_int(static_cast< int >(0x0FFF)));
23002 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_EXPANDED",SWIG_From_int(static_cast< int >(0x0002)));
23003 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_CONTRACTED",SWIG_From_int(static_cast< int >(0x0004)));
23004 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_EXPANDED",SWIG_From_int(static_cast< int >(0x0008)));
23005 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_CONTRACTED",SWIG_From_int(static_cast< int >(0x0010)));
23006 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LEVELNUMBERS",SWIG_From_int(static_cast< int >(0x0040)));
23007 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_BOX",SWIG_From_int(static_cast< int >(0x0001)));
23008 SWIG_Python_SetConstant(d, "STC_TIME_FOREVER",SWIG_From_int(static_cast< int >(10000000)));
23009 SWIG_Python_SetConstant(d, "STC_WRAP_NONE",SWIG_From_int(static_cast< int >(0)));
23010 SWIG_Python_SetConstant(d, "STC_WRAP_WORD",SWIG_From_int(static_cast< int >(1)));
23011 SWIG_Python_SetConstant(d, "STC_WRAP_CHAR",SWIG_From_int(static_cast< int >(2)));
23012 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_NONE",SWIG_From_int(static_cast< int >(0x0000)));
23013 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_END",SWIG_From_int(static_cast< int >(0x0001)));
23014 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_START",SWIG_From_int(static_cast< int >(0x0002)));
23015 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_DEFAULT",SWIG_From_int(static_cast< int >(0x0000)));
23016 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_END_BY_TEXT",SWIG_From_int(static_cast< int >(0x0001)));
23017 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_START_BY_TEXT",SWIG_From_int(static_cast< int >(0x0002)));
23018 SWIG_Python_SetConstant(d, "STC_CACHE_NONE",SWIG_From_int(static_cast< int >(0)));
23019 SWIG_Python_SetConstant(d, "STC_CACHE_CARET",SWIG_From_int(static_cast< int >(1)));
23020 SWIG_Python_SetConstant(d, "STC_CACHE_PAGE",SWIG_From_int(static_cast< int >(2)));
23021 SWIG_Python_SetConstant(d, "STC_CACHE_DOCUMENT",SWIG_From_int(static_cast< int >(3)));
23022 SWIG_Python_SetConstant(d, "STC_EDGE_NONE",SWIG_From_int(static_cast< int >(0)));
23023 SWIG_Python_SetConstant(d, "STC_EDGE_LINE",SWIG_From_int(static_cast< int >(1)));
23024 SWIG_Python_SetConstant(d, "STC_EDGE_BACKGROUND",SWIG_From_int(static_cast< int >(2)));
23025 SWIG_Python_SetConstant(d, "STC_CURSORNORMAL",SWIG_From_int(static_cast< int >(-1)));
23026 SWIG_Python_SetConstant(d, "STC_CURSORWAIT",SWIG_From_int(static_cast< int >(4)));
23027 SWIG_Python_SetConstant(d, "STC_VISIBLE_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23028 SWIG_Python_SetConstant(d, "STC_VISIBLE_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23029 SWIG_Python_SetConstant(d, "STC_CARET_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23030 SWIG_Python_SetConstant(d, "STC_CARET_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23031 SWIG_Python_SetConstant(d, "STC_CARET_JUMPS",SWIG_From_int(static_cast< int >(0x10)));
23032 SWIG_Python_SetConstant(d, "STC_CARET_EVEN",SWIG_From_int(static_cast< int >(0x08)));
23033 SWIG_Python_SetConstant(d, "STC_SEL_STREAM",SWIG_From_int(static_cast< int >(0)));
23034 SWIG_Python_SetConstant(d, "STC_SEL_RECTANGLE",SWIG_From_int(static_cast< int >(1)));
23035 SWIG_Python_SetConstant(d, "STC_SEL_LINES",SWIG_From_int(static_cast< int >(2)));
23036 SWIG_Python_SetConstant(d, "STC_KEYWORDSET_MAX",SWIG_From_int(static_cast< int >(8)));
23037 SWIG_Python_SetConstant(d, "STC_MOD_INSERTTEXT",SWIG_From_int(static_cast< int >(0x1)));
23038 SWIG_Python_SetConstant(d, "STC_MOD_DELETETEXT",SWIG_From_int(static_cast< int >(0x2)));
23039 SWIG_Python_SetConstant(d, "STC_MOD_CHANGESTYLE",SWIG_From_int(static_cast< int >(0x4)));
23040 SWIG_Python_SetConstant(d, "STC_MOD_CHANGEFOLD",SWIG_From_int(static_cast< int >(0x8)));
23041 SWIG_Python_SetConstant(d, "STC_PERFORMED_USER",SWIG_From_int(static_cast< int >(0x10)));
23042 SWIG_Python_SetConstant(d, "STC_PERFORMED_UNDO",SWIG_From_int(static_cast< int >(0x20)));
23043 SWIG_Python_SetConstant(d, "STC_PERFORMED_REDO",SWIG_From_int(static_cast< int >(0x40)));
23044 SWIG_Python_SetConstant(d, "STC_MULTISTEPUNDOREDO",SWIG_From_int(static_cast< int >(0x80)));
23045 SWIG_Python_SetConstant(d, "STC_LASTSTEPINUNDOREDO",SWIG_From_int(static_cast< int >(0x100)));
23046 SWIG_Python_SetConstant(d, "STC_MOD_CHANGEMARKER",SWIG_From_int(static_cast< int >(0x200)));
23047 SWIG_Python_SetConstant(d, "STC_MOD_BEFOREINSERT",SWIG_From_int(static_cast< int >(0x400)));
23048 SWIG_Python_SetConstant(d, "STC_MOD_BEFOREDELETE",SWIG_From_int(static_cast< int >(0x800)));
23049 SWIG_Python_SetConstant(d, "STC_MULTILINEUNDOREDO",SWIG_From_int(static_cast< int >(0x1000)));
23050 SWIG_Python_SetConstant(d, "STC_MODEVENTMASKALL",SWIG_From_int(static_cast< int >(0x1FFF)));
23051 SWIG_Python_SetConstant(d, "STC_KEY_DOWN",SWIG_From_int(static_cast< int >(300)));
23052 SWIG_Python_SetConstant(d, "STC_KEY_UP",SWIG_From_int(static_cast< int >(301)));
23053 SWIG_Python_SetConstant(d, "STC_KEY_LEFT",SWIG_From_int(static_cast< int >(302)));
23054 SWIG_Python_SetConstant(d, "STC_KEY_RIGHT",SWIG_From_int(static_cast< int >(303)));
23055 SWIG_Python_SetConstant(d, "STC_KEY_HOME",SWIG_From_int(static_cast< int >(304)));
23056 SWIG_Python_SetConstant(d, "STC_KEY_END",SWIG_From_int(static_cast< int >(305)));
23057 SWIG_Python_SetConstant(d, "STC_KEY_PRIOR",SWIG_From_int(static_cast< int >(306)));
23058 SWIG_Python_SetConstant(d, "STC_KEY_NEXT",SWIG_From_int(static_cast< int >(307)));
23059 SWIG_Python_SetConstant(d, "STC_KEY_DELETE",SWIG_From_int(static_cast< int >(308)));
23060 SWIG_Python_SetConstant(d, "STC_KEY_INSERT",SWIG_From_int(static_cast< int >(309)));
23061 SWIG_Python_SetConstant(d, "STC_KEY_ESCAPE",SWIG_From_int(static_cast< int >(7)));
23062 SWIG_Python_SetConstant(d, "STC_KEY_BACK",SWIG_From_int(static_cast< int >(8)));
23063 SWIG_Python_SetConstant(d, "STC_KEY_TAB",SWIG_From_int(static_cast< int >(9)));
23064 SWIG_Python_SetConstant(d, "STC_KEY_RETURN",SWIG_From_int(static_cast< int >(13)));
23065 SWIG_Python_SetConstant(d, "STC_KEY_ADD",SWIG_From_int(static_cast< int >(310)));
23066 SWIG_Python_SetConstant(d, "STC_KEY_SUBTRACT",SWIG_From_int(static_cast< int >(311)));
23067 SWIG_Python_SetConstant(d, "STC_KEY_DIVIDE",SWIG_From_int(static_cast< int >(312)));
23068 SWIG_Python_SetConstant(d, "STC_SCMOD_NORM",SWIG_From_int(static_cast< int >(0)));
23069 SWIG_Python_SetConstant(d, "STC_SCMOD_SHIFT",SWIG_From_int(static_cast< int >(1)));
23070 SWIG_Python_SetConstant(d, "STC_SCMOD_CTRL",SWIG_From_int(static_cast< int >(2)));
23071 SWIG_Python_SetConstant(d, "STC_SCMOD_ALT",SWIG_From_int(static_cast< int >(4)));
23072 SWIG_Python_SetConstant(d, "STC_LEX_CONTAINER",SWIG_From_int(static_cast< int >(0)));
23073 SWIG_Python_SetConstant(d, "STC_LEX_NULL",SWIG_From_int(static_cast< int >(1)));
23074 SWIG_Python_SetConstant(d, "STC_LEX_PYTHON",SWIG_From_int(static_cast< int >(2)));
23075 SWIG_Python_SetConstant(d, "STC_LEX_CPP",SWIG_From_int(static_cast< int >(3)));
23076 SWIG_Python_SetConstant(d, "STC_LEX_HTML",SWIG_From_int(static_cast< int >(4)));
23077 SWIG_Python_SetConstant(d, "STC_LEX_XML",SWIG_From_int(static_cast< int >(5)));
23078 SWIG_Python_SetConstant(d, "STC_LEX_PERL",SWIG_From_int(static_cast< int >(6)));
23079 SWIG_Python_SetConstant(d, "STC_LEX_SQL",SWIG_From_int(static_cast< int >(7)));
23080 SWIG_Python_SetConstant(d, "STC_LEX_VB",SWIG_From_int(static_cast< int >(8)));
23081 SWIG_Python_SetConstant(d, "STC_LEX_PROPERTIES",SWIG_From_int(static_cast< int >(9)));
23082 SWIG_Python_SetConstant(d, "STC_LEX_ERRORLIST",SWIG_From_int(static_cast< int >(10)));
23083 SWIG_Python_SetConstant(d, "STC_LEX_MAKEFILE",SWIG_From_int(static_cast< int >(11)));
23084 SWIG_Python_SetConstant(d, "STC_LEX_BATCH",SWIG_From_int(static_cast< int >(12)));
23085 SWIG_Python_SetConstant(d, "STC_LEX_XCODE",SWIG_From_int(static_cast< int >(13)));
23086 SWIG_Python_SetConstant(d, "STC_LEX_LATEX",SWIG_From_int(static_cast< int >(14)));
23087 SWIG_Python_SetConstant(d, "STC_LEX_LUA",SWIG_From_int(static_cast< int >(15)));
23088 SWIG_Python_SetConstant(d, "STC_LEX_DIFF",SWIG_From_int(static_cast< int >(16)));
23089 SWIG_Python_SetConstant(d, "STC_LEX_CONF",SWIG_From_int(static_cast< int >(17)));
23090 SWIG_Python_SetConstant(d, "STC_LEX_PASCAL",SWIG_From_int(static_cast< int >(18)));
23091 SWIG_Python_SetConstant(d, "STC_LEX_AVE",SWIG_From_int(static_cast< int >(19)));
23092 SWIG_Python_SetConstant(d, "STC_LEX_ADA",SWIG_From_int(static_cast< int >(20)));
23093 SWIG_Python_SetConstant(d, "STC_LEX_LISP",SWIG_From_int(static_cast< int >(21)));
23094 SWIG_Python_SetConstant(d, "STC_LEX_RUBY",SWIG_From_int(static_cast< int >(22)));
23095 SWIG_Python_SetConstant(d, "STC_LEX_EIFFEL",SWIG_From_int(static_cast< int >(23)));
23096 SWIG_Python_SetConstant(d, "STC_LEX_EIFFELKW",SWIG_From_int(static_cast< int >(24)));
23097 SWIG_Python_SetConstant(d, "STC_LEX_TCL",SWIG_From_int(static_cast< int >(25)));
23098 SWIG_Python_SetConstant(d, "STC_LEX_NNCRONTAB",SWIG_From_int(static_cast< int >(26)));
23099 SWIG_Python_SetConstant(d, "STC_LEX_BULLANT",SWIG_From_int(static_cast< int >(27)));
23100 SWIG_Python_SetConstant(d, "STC_LEX_VBSCRIPT",SWIG_From_int(static_cast< int >(28)));
23101 SWIG_Python_SetConstant(d, "STC_LEX_BAAN",SWIG_From_int(static_cast< int >(31)));
23102 SWIG_Python_SetConstant(d, "STC_LEX_MATLAB",SWIG_From_int(static_cast< int >(32)));
23103 SWIG_Python_SetConstant(d, "STC_LEX_SCRIPTOL",SWIG_From_int(static_cast< int >(33)));
23104 SWIG_Python_SetConstant(d, "STC_LEX_ASM",SWIG_From_int(static_cast< int >(34)));
23105 SWIG_Python_SetConstant(d, "STC_LEX_CPPNOCASE",SWIG_From_int(static_cast< int >(35)));
23106 SWIG_Python_SetConstant(d, "STC_LEX_FORTRAN",SWIG_From_int(static_cast< int >(36)));
23107 SWIG_Python_SetConstant(d, "STC_LEX_F77",SWIG_From_int(static_cast< int >(37)));
23108 SWIG_Python_SetConstant(d, "STC_LEX_CSS",SWIG_From_int(static_cast< int >(38)));
23109 SWIG_Python_SetConstant(d, "STC_LEX_POV",SWIG_From_int(static_cast< int >(39)));
23110 SWIG_Python_SetConstant(d, "STC_LEX_LOUT",SWIG_From_int(static_cast< int >(40)));
23111 SWIG_Python_SetConstant(d, "STC_LEX_ESCRIPT",SWIG_From_int(static_cast< int >(41)));
23112 SWIG_Python_SetConstant(d, "STC_LEX_PS",SWIG_From_int(static_cast< int >(42)));
23113 SWIG_Python_SetConstant(d, "STC_LEX_NSIS",SWIG_From_int(static_cast< int >(43)));
23114 SWIG_Python_SetConstant(d, "STC_LEX_MMIXAL",SWIG_From_int(static_cast< int >(44)));
23115 SWIG_Python_SetConstant(d, "STC_LEX_CLW",SWIG_From_int(static_cast< int >(45)));
23116 SWIG_Python_SetConstant(d, "STC_LEX_CLWNOCASE",SWIG_From_int(static_cast< int >(46)));
23117 SWIG_Python_SetConstant(d, "STC_LEX_LOT",SWIG_From_int(static_cast< int >(47)));
23118 SWIG_Python_SetConstant(d, "STC_LEX_YAML",SWIG_From_int(static_cast< int >(48)));
23119 SWIG_Python_SetConstant(d, "STC_LEX_TEX",SWIG_From_int(static_cast< int >(49)));
23120 SWIG_Python_SetConstant(d, "STC_LEX_METAPOST",SWIG_From_int(static_cast< int >(50)));
23121 SWIG_Python_SetConstant(d, "STC_LEX_POWERBASIC",SWIG_From_int(static_cast< int >(51)));
23122 SWIG_Python_SetConstant(d, "STC_LEX_FORTH",SWIG_From_int(static_cast< int >(52)));
23123 SWIG_Python_SetConstant(d, "STC_LEX_ERLANG",SWIG_From_int(static_cast< int >(53)));
23124 SWIG_Python_SetConstant(d, "STC_LEX_OCTAVE",SWIG_From_int(static_cast< int >(54)));
23125 SWIG_Python_SetConstant(d, "STC_LEX_MSSQL",SWIG_From_int(static_cast< int >(55)));
23126 SWIG_Python_SetConstant(d, "STC_LEX_VERILOG",SWIG_From_int(static_cast< int >(56)));
23127 SWIG_Python_SetConstant(d, "STC_LEX_KIX",SWIG_From_int(static_cast< int >(57)));
23128 SWIG_Python_SetConstant(d, "STC_LEX_GUI4CLI",SWIG_From_int(static_cast< int >(58)));
23129 SWIG_Python_SetConstant(d, "STC_LEX_SPECMAN",SWIG_From_int(static_cast< int >(59)));
23130 SWIG_Python_SetConstant(d, "STC_LEX_AU3",SWIG_From_int(static_cast< int >(60)));
23131 SWIG_Python_SetConstant(d, "STC_LEX_APDL",SWIG_From_int(static_cast< int >(61)));
23132 SWIG_Python_SetConstant(d, "STC_LEX_BASH",SWIG_From_int(static_cast< int >(62)));
23133 SWIG_Python_SetConstant(d, "STC_LEX_ASN1",SWIG_From_int(static_cast< int >(63)));
23134 SWIG_Python_SetConstant(d, "STC_LEX_VHDL",SWIG_From_int(static_cast< int >(64)));
23135 SWIG_Python_SetConstant(d, "STC_LEX_CAML",SWIG_From_int(static_cast< int >(65)));
23136 SWIG_Python_SetConstant(d, "STC_LEX_BLITZBASIC",SWIG_From_int(static_cast< int >(66)));
23137 SWIG_Python_SetConstant(d, "STC_LEX_PUREBASIC",SWIG_From_int(static_cast< int >(67)));
23138 SWIG_Python_SetConstant(d, "STC_LEX_HASKELL",SWIG_From_int(static_cast< int >(68)));
23139 SWIG_Python_SetConstant(d, "STC_LEX_PHPSCRIPT",SWIG_From_int(static_cast< int >(69)));
23140 SWIG_Python_SetConstant(d, "STC_LEX_TADS3",SWIG_From_int(static_cast< int >(70)));
23141 SWIG_Python_SetConstant(d, "STC_LEX_REBOL",SWIG_From_int(static_cast< int >(71)));
23142 SWIG_Python_SetConstant(d, "STC_LEX_SMALLTALK",SWIG_From_int(static_cast< int >(72)));
23143 SWIG_Python_SetConstant(d, "STC_LEX_FLAGSHIP",SWIG_From_int(static_cast< int >(73)));
23144 SWIG_Python_SetConstant(d, "STC_LEX_CSOUND",SWIG_From_int(static_cast< int >(74)));
23145 SWIG_Python_SetConstant(d, "STC_LEX_FREEBASIC",SWIG_From_int(static_cast< int >(75)));
23146 SWIG_Python_SetConstant(d, "wxSTC_LEX_ASP",SWIG_From_int(static_cast< int >(29)));
23147 SWIG_Python_SetConstant(d, "wxSTC_LEX_PHP",SWIG_From_int(static_cast< int >(30)));
23148 SWIG_Python_SetConstant(d, "STC_LEX_AUTOMATIC",SWIG_From_int(static_cast< int >(1000)));
23149 SWIG_Python_SetConstant(d, "STC_P_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23150 SWIG_Python_SetConstant(d, "STC_P_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23151 SWIG_Python_SetConstant(d, "STC_P_NUMBER",SWIG_From_int(static_cast< int >(2)));
23152 SWIG_Python_SetConstant(d, "STC_P_STRING",SWIG_From_int(static_cast< int >(3)));
23153 SWIG_Python_SetConstant(d, "STC_P_CHARACTER",SWIG_From_int(static_cast< int >(4)));
23154 SWIG_Python_SetConstant(d, "STC_P_WORD",SWIG_From_int(static_cast< int >(5)));
23155 SWIG_Python_SetConstant(d, "STC_P_TRIPLE",SWIG_From_int(static_cast< int >(6)));
23156 SWIG_Python_SetConstant(d, "STC_P_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(7)));
23157 SWIG_Python_SetConstant(d, "STC_P_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23158 SWIG_Python_SetConstant(d, "STC_P_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23159 SWIG_Python_SetConstant(d, "STC_P_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23160 SWIG_Python_SetConstant(d, "STC_P_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23161 SWIG_Python_SetConstant(d, "STC_P_COMMENTBLOCK",SWIG_From_int(static_cast< int >(12)));
23162 SWIG_Python_SetConstant(d, "STC_P_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23163 SWIG_Python_SetConstant(d, "STC_P_WORD2",SWIG_From_int(static_cast< int >(14)));
23164 SWIG_Python_SetConstant(d, "STC_P_DECORATOR",SWIG_From_int(static_cast< int >(15)));
23165 SWIG_Python_SetConstant(d, "STC_C_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23166 SWIG_Python_SetConstant(d, "STC_C_COMMENT",SWIG_From_int(static_cast< int >(1)));
23167 SWIG_Python_SetConstant(d, "STC_C_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23168 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23169 SWIG_Python_SetConstant(d, "STC_C_NUMBER",SWIG_From_int(static_cast< int >(4)));
23170 SWIG_Python_SetConstant(d, "STC_C_WORD",SWIG_From_int(static_cast< int >(5)));
23171 SWIG_Python_SetConstant(d, "STC_C_STRING",SWIG_From_int(static_cast< int >(6)));
23172 SWIG_Python_SetConstant(d, "STC_C_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23173 SWIG_Python_SetConstant(d, "STC_C_UUID",SWIG_From_int(static_cast< int >(8)));
23174 SWIG_Python_SetConstant(d, "STC_C_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23175 SWIG_Python_SetConstant(d, "STC_C_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23176 SWIG_Python_SetConstant(d, "STC_C_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23177 SWIG_Python_SetConstant(d, "STC_C_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23178 SWIG_Python_SetConstant(d, "STC_C_VERBATIM",SWIG_From_int(static_cast< int >(13)));
23179 SWIG_Python_SetConstant(d, "STC_C_REGEX",SWIG_From_int(static_cast< int >(14)));
23180 SWIG_Python_SetConstant(d, "STC_C_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
23181 SWIG_Python_SetConstant(d, "STC_C_WORD2",SWIG_From_int(static_cast< int >(16)));
23182 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
23183 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
23184 SWIG_Python_SetConstant(d, "STC_C_GLOBALCLASS",SWIG_From_int(static_cast< int >(19)));
23185 SWIG_Python_SetConstant(d, "STC_H_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23186 SWIG_Python_SetConstant(d, "STC_H_TAG",SWIG_From_int(static_cast< int >(1)));
23187 SWIG_Python_SetConstant(d, "STC_H_TAGUNKNOWN",SWIG_From_int(static_cast< int >(2)));
23188 SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTE",SWIG_From_int(static_cast< int >(3)));
23189 SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTEUNKNOWN",SWIG_From_int(static_cast< int >(4)));
23190 SWIG_Python_SetConstant(d, "STC_H_NUMBER",SWIG_From_int(static_cast< int >(5)));
23191 SWIG_Python_SetConstant(d, "STC_H_DOUBLESTRING",SWIG_From_int(static_cast< int >(6)));
23192 SWIG_Python_SetConstant(d, "STC_H_SINGLESTRING",SWIG_From_int(static_cast< int >(7)));
23193 SWIG_Python_SetConstant(d, "STC_H_OTHER",SWIG_From_int(static_cast< int >(8)));
23194 SWIG_Python_SetConstant(d, "STC_H_COMMENT",SWIG_From_int(static_cast< int >(9)));
23195 SWIG_Python_SetConstant(d, "STC_H_ENTITY",SWIG_From_int(static_cast< int >(10)));
23196 SWIG_Python_SetConstant(d, "STC_H_TAGEND",SWIG_From_int(static_cast< int >(11)));
23197 SWIG_Python_SetConstant(d, "STC_H_XMLSTART",SWIG_From_int(static_cast< int >(12)));
23198 SWIG_Python_SetConstant(d, "STC_H_XMLEND",SWIG_From_int(static_cast< int >(13)));
23199 SWIG_Python_SetConstant(d, "STC_H_SCRIPT",SWIG_From_int(static_cast< int >(14)));
23200 SWIG_Python_SetConstant(d, "STC_H_ASP",SWIG_From_int(static_cast< int >(15)));
23201 SWIG_Python_SetConstant(d, "STC_H_ASPAT",SWIG_From_int(static_cast< int >(16)));
23202 SWIG_Python_SetConstant(d, "STC_H_CDATA",SWIG_From_int(static_cast< int >(17)));
23203 SWIG_Python_SetConstant(d, "STC_H_QUESTION",SWIG_From_int(static_cast< int >(18)));
23204 SWIG_Python_SetConstant(d, "STC_H_VALUE",SWIG_From_int(static_cast< int >(19)));
23205 SWIG_Python_SetConstant(d, "STC_H_XCCOMMENT",SWIG_From_int(static_cast< int >(20)));
23206 SWIG_Python_SetConstant(d, "STC_H_SGML_DEFAULT",SWIG_From_int(static_cast< int >(21)));
23207 SWIG_Python_SetConstant(d, "STC_H_SGML_COMMAND",SWIG_From_int(static_cast< int >(22)));
23208 SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM",SWIG_From_int(static_cast< int >(23)));
23209 SWIG_Python_SetConstant(d, "STC_H_SGML_DOUBLESTRING",SWIG_From_int(static_cast< int >(24)));
23210 SWIG_Python_SetConstant(d, "STC_H_SGML_SIMPLESTRING",SWIG_From_int(static_cast< int >(25)));
23211 SWIG_Python_SetConstant(d, "STC_H_SGML_ERROR",SWIG_From_int(static_cast< int >(26)));
23212 SWIG_Python_SetConstant(d, "STC_H_SGML_SPECIAL",SWIG_From_int(static_cast< int >(27)));
23213 SWIG_Python_SetConstant(d, "STC_H_SGML_ENTITY",SWIG_From_int(static_cast< int >(28)));
23214 SWIG_Python_SetConstant(d, "STC_H_SGML_COMMENT",SWIG_From_int(static_cast< int >(29)));
23215 SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM_COMMENT",SWIG_From_int(static_cast< int >(30)));
23216 SWIG_Python_SetConstant(d, "STC_H_SGML_BLOCK_DEFAULT",SWIG_From_int(static_cast< int >(31)));
23217 SWIG_Python_SetConstant(d, "STC_HJ_START",SWIG_From_int(static_cast< int >(40)));
23218 SWIG_Python_SetConstant(d, "STC_HJ_DEFAULT",SWIG_From_int(static_cast< int >(41)));
23219 SWIG_Python_SetConstant(d, "STC_HJ_COMMENT",SWIG_From_int(static_cast< int >(42)));
23220 SWIG_Python_SetConstant(d, "STC_HJ_COMMENTLINE",SWIG_From_int(static_cast< int >(43)));
23221 SWIG_Python_SetConstant(d, "STC_HJ_COMMENTDOC",SWIG_From_int(static_cast< int >(44)));
23222 SWIG_Python_SetConstant(d, "STC_HJ_NUMBER",SWIG_From_int(static_cast< int >(45)));
23223 SWIG_Python_SetConstant(d, "STC_HJ_WORD",SWIG_From_int(static_cast< int >(46)));
23224 SWIG_Python_SetConstant(d, "STC_HJ_KEYWORD",SWIG_From_int(static_cast< int >(47)));
23225 SWIG_Python_SetConstant(d, "STC_HJ_DOUBLESTRING",SWIG_From_int(static_cast< int >(48)));
23226 SWIG_Python_SetConstant(d, "STC_HJ_SINGLESTRING",SWIG_From_int(static_cast< int >(49)));
23227 SWIG_Python_SetConstant(d, "STC_HJ_SYMBOLS",SWIG_From_int(static_cast< int >(50)));
23228 SWIG_Python_SetConstant(d, "STC_HJ_STRINGEOL",SWIG_From_int(static_cast< int >(51)));
23229 SWIG_Python_SetConstant(d, "STC_HJ_REGEX",SWIG_From_int(static_cast< int >(52)));
23230 SWIG_Python_SetConstant(d, "STC_HJA_START",SWIG_From_int(static_cast< int >(55)));
23231 SWIG_Python_SetConstant(d, "STC_HJA_DEFAULT",SWIG_From_int(static_cast< int >(56)));
23232 SWIG_Python_SetConstant(d, "STC_HJA_COMMENT",SWIG_From_int(static_cast< int >(57)));
23233 SWIG_Python_SetConstant(d, "STC_HJA_COMMENTLINE",SWIG_From_int(static_cast< int >(58)));
23234 SWIG_Python_SetConstant(d, "STC_HJA_COMMENTDOC",SWIG_From_int(static_cast< int >(59)));
23235 SWIG_Python_SetConstant(d, "STC_HJA_NUMBER",SWIG_From_int(static_cast< int >(60)));
23236 SWIG_Python_SetConstant(d, "STC_HJA_WORD",SWIG_From_int(static_cast< int >(61)));
23237 SWIG_Python_SetConstant(d, "STC_HJA_KEYWORD",SWIG_From_int(static_cast< int >(62)));
23238 SWIG_Python_SetConstant(d, "STC_HJA_DOUBLESTRING",SWIG_From_int(static_cast< int >(63)));
23239 SWIG_Python_SetConstant(d, "STC_HJA_SINGLESTRING",SWIG_From_int(static_cast< int >(64)));
23240 SWIG_Python_SetConstant(d, "STC_HJA_SYMBOLS",SWIG_From_int(static_cast< int >(65)));
23241 SWIG_Python_SetConstant(d, "STC_HJA_STRINGEOL",SWIG_From_int(static_cast< int >(66)));
23242 SWIG_Python_SetConstant(d, "STC_HJA_REGEX",SWIG_From_int(static_cast< int >(67)));
23243 SWIG_Python_SetConstant(d, "STC_HB_START",SWIG_From_int(static_cast< int >(70)));
23244 SWIG_Python_SetConstant(d, "STC_HB_DEFAULT",SWIG_From_int(static_cast< int >(71)));
23245 SWIG_Python_SetConstant(d, "STC_HB_COMMENTLINE",SWIG_From_int(static_cast< int >(72)));
23246 SWIG_Python_SetConstant(d, "STC_HB_NUMBER",SWIG_From_int(static_cast< int >(73)));
23247 SWIG_Python_SetConstant(d, "STC_HB_WORD",SWIG_From_int(static_cast< int >(74)));
23248 SWIG_Python_SetConstant(d, "STC_HB_STRING",SWIG_From_int(static_cast< int >(75)));
23249 SWIG_Python_SetConstant(d, "STC_HB_IDENTIFIER",SWIG_From_int(static_cast< int >(76)));
23250 SWIG_Python_SetConstant(d, "STC_HB_STRINGEOL",SWIG_From_int(static_cast< int >(77)));
23251 SWIG_Python_SetConstant(d, "STC_HBA_START",SWIG_From_int(static_cast< int >(80)));
23252 SWIG_Python_SetConstant(d, "STC_HBA_DEFAULT",SWIG_From_int(static_cast< int >(81)));
23253 SWIG_Python_SetConstant(d, "STC_HBA_COMMENTLINE",SWIG_From_int(static_cast< int >(82)));
23254 SWIG_Python_SetConstant(d, "STC_HBA_NUMBER",SWIG_From_int(static_cast< int >(83)));
23255 SWIG_Python_SetConstant(d, "STC_HBA_WORD",SWIG_From_int(static_cast< int >(84)));
23256 SWIG_Python_SetConstant(d, "STC_HBA_STRING",SWIG_From_int(static_cast< int >(85)));
23257 SWIG_Python_SetConstant(d, "STC_HBA_IDENTIFIER",SWIG_From_int(static_cast< int >(86)));
23258 SWIG_Python_SetConstant(d, "STC_HBA_STRINGEOL",SWIG_From_int(static_cast< int >(87)));
23259 SWIG_Python_SetConstant(d, "STC_HP_START",SWIG_From_int(static_cast< int >(90)));
23260 SWIG_Python_SetConstant(d, "STC_HP_DEFAULT",SWIG_From_int(static_cast< int >(91)));
23261 SWIG_Python_SetConstant(d, "STC_HP_COMMENTLINE",SWIG_From_int(static_cast< int >(92)));
23262 SWIG_Python_SetConstant(d, "STC_HP_NUMBER",SWIG_From_int(static_cast< int >(93)));
23263 SWIG_Python_SetConstant(d, "STC_HP_STRING",SWIG_From_int(static_cast< int >(94)));
23264 SWIG_Python_SetConstant(d, "STC_HP_CHARACTER",SWIG_From_int(static_cast< int >(95)));
23265 SWIG_Python_SetConstant(d, "STC_HP_WORD",SWIG_From_int(static_cast< int >(96)));
23266 SWIG_Python_SetConstant(d, "STC_HP_TRIPLE",SWIG_From_int(static_cast< int >(97)));
23267 SWIG_Python_SetConstant(d, "STC_HP_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(98)));
23268 SWIG_Python_SetConstant(d, "STC_HP_CLASSNAME",SWIG_From_int(static_cast< int >(99)));
23269 SWIG_Python_SetConstant(d, "STC_HP_DEFNAME",SWIG_From_int(static_cast< int >(100)));
23270 SWIG_Python_SetConstant(d, "STC_HP_OPERATOR",SWIG_From_int(static_cast< int >(101)));
23271 SWIG_Python_SetConstant(d, "STC_HP_IDENTIFIER",SWIG_From_int(static_cast< int >(102)));
23272 SWIG_Python_SetConstant(d, "STC_HPHP_COMPLEX_VARIABLE",SWIG_From_int(static_cast< int >(104)));
23273 SWIG_Python_SetConstant(d, "STC_HPA_START",SWIG_From_int(static_cast< int >(105)));
23274 SWIG_Python_SetConstant(d, "STC_HPA_DEFAULT",SWIG_From_int(static_cast< int >(106)));
23275 SWIG_Python_SetConstant(d, "STC_HPA_COMMENTLINE",SWIG_From_int(static_cast< int >(107)));
23276 SWIG_Python_SetConstant(d, "STC_HPA_NUMBER",SWIG_From_int(static_cast< int >(108)));
23277 SWIG_Python_SetConstant(d, "STC_HPA_STRING",SWIG_From_int(static_cast< int >(109)));
23278 SWIG_Python_SetConstant(d, "STC_HPA_CHARACTER",SWIG_From_int(static_cast< int >(110)));
23279 SWIG_Python_SetConstant(d, "STC_HPA_WORD",SWIG_From_int(static_cast< int >(111)));
23280 SWIG_Python_SetConstant(d, "STC_HPA_TRIPLE",SWIG_From_int(static_cast< int >(112)));
23281 SWIG_Python_SetConstant(d, "STC_HPA_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(113)));
23282 SWIG_Python_SetConstant(d, "STC_HPA_CLASSNAME",SWIG_From_int(static_cast< int >(114)));
23283 SWIG_Python_SetConstant(d, "STC_HPA_DEFNAME",SWIG_From_int(static_cast< int >(115)));
23284 SWIG_Python_SetConstant(d, "STC_HPA_OPERATOR",SWIG_From_int(static_cast< int >(116)));
23285 SWIG_Python_SetConstant(d, "STC_HPA_IDENTIFIER",SWIG_From_int(static_cast< int >(117)));
23286 SWIG_Python_SetConstant(d, "STC_HPHP_DEFAULT",SWIG_From_int(static_cast< int >(118)));
23287 SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING",SWIG_From_int(static_cast< int >(119)));
23288 SWIG_Python_SetConstant(d, "STC_HPHP_SIMPLESTRING",SWIG_From_int(static_cast< int >(120)));
23289 SWIG_Python_SetConstant(d, "STC_HPHP_WORD",SWIG_From_int(static_cast< int >(121)));
23290 SWIG_Python_SetConstant(d, "STC_HPHP_NUMBER",SWIG_From_int(static_cast< int >(122)));
23291 SWIG_Python_SetConstant(d, "STC_HPHP_VARIABLE",SWIG_From_int(static_cast< int >(123)));
23292 SWIG_Python_SetConstant(d, "STC_HPHP_COMMENT",SWIG_From_int(static_cast< int >(124)));
23293 SWIG_Python_SetConstant(d, "STC_HPHP_COMMENTLINE",SWIG_From_int(static_cast< int >(125)));
23294 SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING_VARIABLE",SWIG_From_int(static_cast< int >(126)));
23295 SWIG_Python_SetConstant(d, "STC_HPHP_OPERATOR",SWIG_From_int(static_cast< int >(127)));
23296 SWIG_Python_SetConstant(d, "STC_PL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23297 SWIG_Python_SetConstant(d, "STC_PL_ERROR",SWIG_From_int(static_cast< int >(1)));
23298 SWIG_Python_SetConstant(d, "STC_PL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23299 SWIG_Python_SetConstant(d, "STC_PL_POD",SWIG_From_int(static_cast< int >(3)));
23300 SWIG_Python_SetConstant(d, "STC_PL_NUMBER",SWIG_From_int(static_cast< int >(4)));
23301 SWIG_Python_SetConstant(d, "STC_PL_WORD",SWIG_From_int(static_cast< int >(5)));
23302 SWIG_Python_SetConstant(d, "STC_PL_STRING",SWIG_From_int(static_cast< int >(6)));
23303 SWIG_Python_SetConstant(d, "STC_PL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23304 SWIG_Python_SetConstant(d, "STC_PL_PUNCTUATION",SWIG_From_int(static_cast< int >(8)));
23305 SWIG_Python_SetConstant(d, "STC_PL_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23306 SWIG_Python_SetConstant(d, "STC_PL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23307 SWIG_Python_SetConstant(d, "STC_PL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23308 SWIG_Python_SetConstant(d, "STC_PL_SCALAR",SWIG_From_int(static_cast< int >(12)));
23309 SWIG_Python_SetConstant(d, "STC_PL_ARRAY",SWIG_From_int(static_cast< int >(13)));
23310 SWIG_Python_SetConstant(d, "STC_PL_HASH",SWIG_From_int(static_cast< int >(14)));
23311 SWIG_Python_SetConstant(d, "STC_PL_SYMBOLTABLE",SWIG_From_int(static_cast< int >(15)));
23312 SWIG_Python_SetConstant(d, "STC_PL_VARIABLE_INDEXER",SWIG_From_int(static_cast< int >(16)));
23313 SWIG_Python_SetConstant(d, "STC_PL_REGEX",SWIG_From_int(static_cast< int >(17)));
23314 SWIG_Python_SetConstant(d, "STC_PL_REGSUBST",SWIG_From_int(static_cast< int >(18)));
23315 SWIG_Python_SetConstant(d, "STC_PL_LONGQUOTE",SWIG_From_int(static_cast< int >(19)));
23316 SWIG_Python_SetConstant(d, "STC_PL_BACKTICKS",SWIG_From_int(static_cast< int >(20)));
23317 SWIG_Python_SetConstant(d, "STC_PL_DATASECTION",SWIG_From_int(static_cast< int >(21)));
23318 SWIG_Python_SetConstant(d, "STC_PL_HERE_DELIM",SWIG_From_int(static_cast< int >(22)));
23319 SWIG_Python_SetConstant(d, "STC_PL_HERE_Q",SWIG_From_int(static_cast< int >(23)));
23320 SWIG_Python_SetConstant(d, "STC_PL_HERE_QQ",SWIG_From_int(static_cast< int >(24)));
23321 SWIG_Python_SetConstant(d, "STC_PL_HERE_QX",SWIG_From_int(static_cast< int >(25)));
23322 SWIG_Python_SetConstant(d, "STC_PL_STRING_Q",SWIG_From_int(static_cast< int >(26)));
23323 SWIG_Python_SetConstant(d, "STC_PL_STRING_QQ",SWIG_From_int(static_cast< int >(27)));
23324 SWIG_Python_SetConstant(d, "STC_PL_STRING_QX",SWIG_From_int(static_cast< int >(28)));
23325 SWIG_Python_SetConstant(d, "STC_PL_STRING_QR",SWIG_From_int(static_cast< int >(29)));
23326 SWIG_Python_SetConstant(d, "STC_PL_STRING_QW",SWIG_From_int(static_cast< int >(30)));
23327 SWIG_Python_SetConstant(d, "STC_PL_POD_VERB",SWIG_From_int(static_cast< int >(31)));
23328 SWIG_Python_SetConstant(d, "STC_RB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23329 SWIG_Python_SetConstant(d, "STC_RB_ERROR",SWIG_From_int(static_cast< int >(1)));
23330 SWIG_Python_SetConstant(d, "STC_RB_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23331 SWIG_Python_SetConstant(d, "STC_RB_POD",SWIG_From_int(static_cast< int >(3)));
23332 SWIG_Python_SetConstant(d, "STC_RB_NUMBER",SWIG_From_int(static_cast< int >(4)));
23333 SWIG_Python_SetConstant(d, "STC_RB_WORD",SWIG_From_int(static_cast< int >(5)));
23334 SWIG_Python_SetConstant(d, "STC_RB_STRING",SWIG_From_int(static_cast< int >(6)));
23335 SWIG_Python_SetConstant(d, "STC_RB_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23336 SWIG_Python_SetConstant(d, "STC_RB_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23337 SWIG_Python_SetConstant(d, "STC_RB_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23338 SWIG_Python_SetConstant(d, "STC_RB_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23339 SWIG_Python_SetConstant(d, "STC_RB_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23340 SWIG_Python_SetConstant(d, "STC_RB_REGEX",SWIG_From_int(static_cast< int >(12)));
23341 SWIG_Python_SetConstant(d, "STC_RB_GLOBAL",SWIG_From_int(static_cast< int >(13)));
23342 SWIG_Python_SetConstant(d, "STC_RB_SYMBOL",SWIG_From_int(static_cast< int >(14)));
23343 SWIG_Python_SetConstant(d, "STC_RB_MODULE_NAME",SWIG_From_int(static_cast< int >(15)));
23344 SWIG_Python_SetConstant(d, "STC_RB_INSTANCE_VAR",SWIG_From_int(static_cast< int >(16)));
23345 SWIG_Python_SetConstant(d, "STC_RB_CLASS_VAR",SWIG_From_int(static_cast< int >(17)));
23346 SWIG_Python_SetConstant(d, "STC_RB_BACKTICKS",SWIG_From_int(static_cast< int >(18)));
23347 SWIG_Python_SetConstant(d, "STC_RB_DATASECTION",SWIG_From_int(static_cast< int >(19)));
23348 SWIG_Python_SetConstant(d, "STC_RB_HERE_DELIM",SWIG_From_int(static_cast< int >(20)));
23349 SWIG_Python_SetConstant(d, "STC_RB_HERE_Q",SWIG_From_int(static_cast< int >(21)));
23350 SWIG_Python_SetConstant(d, "STC_RB_HERE_QQ",SWIG_From_int(static_cast< int >(22)));
23351 SWIG_Python_SetConstant(d, "STC_RB_HERE_QX",SWIG_From_int(static_cast< int >(23)));
23352 SWIG_Python_SetConstant(d, "STC_RB_STRING_Q",SWIG_From_int(static_cast< int >(24)));
23353 SWIG_Python_SetConstant(d, "STC_RB_STRING_QQ",SWIG_From_int(static_cast< int >(25)));
23354 SWIG_Python_SetConstant(d, "STC_RB_STRING_QX",SWIG_From_int(static_cast< int >(26)));
23355 SWIG_Python_SetConstant(d, "STC_RB_STRING_QR",SWIG_From_int(static_cast< int >(27)));
23356 SWIG_Python_SetConstant(d, "STC_RB_STRING_QW",SWIG_From_int(static_cast< int >(28)));
23357 SWIG_Python_SetConstant(d, "STC_RB_WORD_DEMOTED",SWIG_From_int(static_cast< int >(29)));
23358 SWIG_Python_SetConstant(d, "STC_RB_STDIN",SWIG_From_int(static_cast< int >(30)));
23359 SWIG_Python_SetConstant(d, "STC_RB_STDOUT",SWIG_From_int(static_cast< int >(31)));
23360 SWIG_Python_SetConstant(d, "STC_RB_STDERR",SWIG_From_int(static_cast< int >(40)));
23361 SWIG_Python_SetConstant(d, "STC_RB_UPPER_BOUND",SWIG_From_int(static_cast< int >(41)));
23362 SWIG_Python_SetConstant(d, "STC_B_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23363 SWIG_Python_SetConstant(d, "STC_B_COMMENT",SWIG_From_int(static_cast< int >(1)));
23364 SWIG_Python_SetConstant(d, "STC_B_NUMBER",SWIG_From_int(static_cast< int >(2)));
23365 SWIG_Python_SetConstant(d, "STC_B_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23366 SWIG_Python_SetConstant(d, "STC_B_STRING",SWIG_From_int(static_cast< int >(4)));
23367 SWIG_Python_SetConstant(d, "STC_B_PREPROCESSOR",SWIG_From_int(static_cast< int >(5)));
23368 SWIG_Python_SetConstant(d, "STC_B_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23369 SWIG_Python_SetConstant(d, "STC_B_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23370 SWIG_Python_SetConstant(d, "STC_B_DATE",SWIG_From_int(static_cast< int >(8)));
23371 SWIG_Python_SetConstant(d, "STC_B_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23372 SWIG_Python_SetConstant(d, "STC_B_KEYWORD2",SWIG_From_int(static_cast< int >(10)));
23373 SWIG_Python_SetConstant(d, "STC_B_KEYWORD3",SWIG_From_int(static_cast< int >(11)));
23374 SWIG_Python_SetConstant(d, "STC_B_KEYWORD4",SWIG_From_int(static_cast< int >(12)));
23375 SWIG_Python_SetConstant(d, "STC_B_CONSTANT",SWIG_From_int(static_cast< int >(13)));
23376 SWIG_Python_SetConstant(d, "STC_B_ASM",SWIG_From_int(static_cast< int >(14)));
23377 SWIG_Python_SetConstant(d, "STC_B_LABEL",SWIG_From_int(static_cast< int >(15)));
23378 SWIG_Python_SetConstant(d, "STC_B_ERROR",SWIG_From_int(static_cast< int >(16)));
23379 SWIG_Python_SetConstant(d, "STC_B_HEXNUMBER",SWIG_From_int(static_cast< int >(17)));
23380 SWIG_Python_SetConstant(d, "STC_B_BINNUMBER",SWIG_From_int(static_cast< int >(18)));
23381 SWIG_Python_SetConstant(d, "STC_PROPS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23382 SWIG_Python_SetConstant(d, "STC_PROPS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23383 SWIG_Python_SetConstant(d, "STC_PROPS_SECTION",SWIG_From_int(static_cast< int >(2)));
23384 SWIG_Python_SetConstant(d, "STC_PROPS_ASSIGNMENT",SWIG_From_int(static_cast< int >(3)));
23385 SWIG_Python_SetConstant(d, "STC_PROPS_DEFVAL",SWIG_From_int(static_cast< int >(4)));
23386 SWIG_Python_SetConstant(d, "STC_L_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23387 SWIG_Python_SetConstant(d, "STC_L_COMMAND",SWIG_From_int(static_cast< int >(1)));
23388 SWIG_Python_SetConstant(d, "STC_L_TAG",SWIG_From_int(static_cast< int >(2)));
23389 SWIG_Python_SetConstant(d, "STC_L_MATH",SWIG_From_int(static_cast< int >(3)));
23390 SWIG_Python_SetConstant(d, "STC_L_COMMENT",SWIG_From_int(static_cast< int >(4)));
23391 SWIG_Python_SetConstant(d, "STC_LUA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23392 SWIG_Python_SetConstant(d, "STC_LUA_COMMENT",SWIG_From_int(static_cast< int >(1)));
23393 SWIG_Python_SetConstant(d, "STC_LUA_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23394 SWIG_Python_SetConstant(d, "STC_LUA_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23395 SWIG_Python_SetConstant(d, "STC_LUA_NUMBER",SWIG_From_int(static_cast< int >(4)));
23396 SWIG_Python_SetConstant(d, "STC_LUA_WORD",SWIG_From_int(static_cast< int >(5)));
23397 SWIG_Python_SetConstant(d, "STC_LUA_STRING",SWIG_From_int(static_cast< int >(6)));
23398 SWIG_Python_SetConstant(d, "STC_LUA_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23399 SWIG_Python_SetConstant(d, "STC_LUA_LITERALSTRING",SWIG_From_int(static_cast< int >(8)));
23400 SWIG_Python_SetConstant(d, "STC_LUA_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23401 SWIG_Python_SetConstant(d, "STC_LUA_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23402 SWIG_Python_SetConstant(d, "STC_LUA_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23403 SWIG_Python_SetConstant(d, "STC_LUA_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23404 SWIG_Python_SetConstant(d, "STC_LUA_WORD2",SWIG_From_int(static_cast< int >(13)));
23405 SWIG_Python_SetConstant(d, "STC_LUA_WORD3",SWIG_From_int(static_cast< int >(14)));
23406 SWIG_Python_SetConstant(d, "STC_LUA_WORD4",SWIG_From_int(static_cast< int >(15)));
23407 SWIG_Python_SetConstant(d, "STC_LUA_WORD5",SWIG_From_int(static_cast< int >(16)));
23408 SWIG_Python_SetConstant(d, "STC_LUA_WORD6",SWIG_From_int(static_cast< int >(17)));
23409 SWIG_Python_SetConstant(d, "STC_LUA_WORD7",SWIG_From_int(static_cast< int >(18)));
23410 SWIG_Python_SetConstant(d, "STC_LUA_WORD8",SWIG_From_int(static_cast< int >(19)));
23411 SWIG_Python_SetConstant(d, "STC_ERR_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23412 SWIG_Python_SetConstant(d, "STC_ERR_PYTHON",SWIG_From_int(static_cast< int >(1)));
23413 SWIG_Python_SetConstant(d, "STC_ERR_GCC",SWIG_From_int(static_cast< int >(2)));
23414 SWIG_Python_SetConstant(d, "STC_ERR_MS",SWIG_From_int(static_cast< int >(3)));
23415 SWIG_Python_SetConstant(d, "STC_ERR_CMD",SWIG_From_int(static_cast< int >(4)));
23416 SWIG_Python_SetConstant(d, "STC_ERR_BORLAND",SWIG_From_int(static_cast< int >(5)));
23417 SWIG_Python_SetConstant(d, "STC_ERR_PERL",SWIG_From_int(static_cast< int >(6)));
23418 SWIG_Python_SetConstant(d, "STC_ERR_NET",SWIG_From_int(static_cast< int >(7)));
23419 SWIG_Python_SetConstant(d, "STC_ERR_LUA",SWIG_From_int(static_cast< int >(8)));
23420 SWIG_Python_SetConstant(d, "STC_ERR_CTAG",SWIG_From_int(static_cast< int >(9)));
23421 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_CHANGED",SWIG_From_int(static_cast< int >(10)));
23422 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_ADDITION",SWIG_From_int(static_cast< int >(11)));
23423 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_DELETION",SWIG_From_int(static_cast< int >(12)));
23424 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_MESSAGE",SWIG_From_int(static_cast< int >(13)));
23425 SWIG_Python_SetConstant(d, "STC_ERR_PHP",SWIG_From_int(static_cast< int >(14)));
23426 SWIG_Python_SetConstant(d, "STC_ERR_ELF",SWIG_From_int(static_cast< int >(15)));
23427 SWIG_Python_SetConstant(d, "STC_ERR_IFC",SWIG_From_int(static_cast< int >(16)));
23428 SWIG_Python_SetConstant(d, "STC_ERR_IFORT",SWIG_From_int(static_cast< int >(17)));
23429 SWIG_Python_SetConstant(d, "STC_ERR_ABSF",SWIG_From_int(static_cast< int >(18)));
23430 SWIG_Python_SetConstant(d, "STC_ERR_TIDY",SWIG_From_int(static_cast< int >(19)));
23431 SWIG_Python_SetConstant(d, "STC_ERR_JAVA_STACK",SWIG_From_int(static_cast< int >(20)));
23432 SWIG_Python_SetConstant(d, "STC_BAT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23433 SWIG_Python_SetConstant(d, "STC_BAT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23434 SWIG_Python_SetConstant(d, "STC_BAT_WORD",SWIG_From_int(static_cast< int >(2)));
23435 SWIG_Python_SetConstant(d, "STC_BAT_LABEL",SWIG_From_int(static_cast< int >(3)));
23436 SWIG_Python_SetConstant(d, "STC_BAT_HIDE",SWIG_From_int(static_cast< int >(4)));
23437 SWIG_Python_SetConstant(d, "STC_BAT_COMMAND",SWIG_From_int(static_cast< int >(5)));
23438 SWIG_Python_SetConstant(d, "STC_BAT_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23439 SWIG_Python_SetConstant(d, "STC_BAT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23440 SWIG_Python_SetConstant(d, "STC_MAKE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23441 SWIG_Python_SetConstant(d, "STC_MAKE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23442 SWIG_Python_SetConstant(d, "STC_MAKE_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
23443 SWIG_Python_SetConstant(d, "STC_MAKE_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23444 SWIG_Python_SetConstant(d, "STC_MAKE_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23445 SWIG_Python_SetConstant(d, "STC_MAKE_TARGET",SWIG_From_int(static_cast< int >(5)));
23446 SWIG_Python_SetConstant(d, "STC_MAKE_IDEOL",SWIG_From_int(static_cast< int >(9)));
23447 SWIG_Python_SetConstant(d, "STC_DIFF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23448 SWIG_Python_SetConstant(d, "STC_DIFF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23449 SWIG_Python_SetConstant(d, "STC_DIFF_COMMAND",SWIG_From_int(static_cast< int >(2)));
23450 SWIG_Python_SetConstant(d, "STC_DIFF_HEADER",SWIG_From_int(static_cast< int >(3)));
23451 SWIG_Python_SetConstant(d, "STC_DIFF_POSITION",SWIG_From_int(static_cast< int >(4)));
23452 SWIG_Python_SetConstant(d, "STC_DIFF_DELETED",SWIG_From_int(static_cast< int >(5)));
23453 SWIG_Python_SetConstant(d, "STC_DIFF_ADDED",SWIG_From_int(static_cast< int >(6)));
23454 SWIG_Python_SetConstant(d, "STC_CONF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23455 SWIG_Python_SetConstant(d, "STC_CONF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23456 SWIG_Python_SetConstant(d, "STC_CONF_NUMBER",SWIG_From_int(static_cast< int >(2)));
23457 SWIG_Python_SetConstant(d, "STC_CONF_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23458 SWIG_Python_SetConstant(d, "STC_CONF_EXTENSION",SWIG_From_int(static_cast< int >(4)));
23459 SWIG_Python_SetConstant(d, "STC_CONF_PARAMETER",SWIG_From_int(static_cast< int >(5)));
23460 SWIG_Python_SetConstant(d, "STC_CONF_STRING",SWIG_From_int(static_cast< int >(6)));
23461 SWIG_Python_SetConstant(d, "STC_CONF_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23462 SWIG_Python_SetConstant(d, "STC_CONF_IP",SWIG_From_int(static_cast< int >(8)));
23463 SWIG_Python_SetConstant(d, "STC_CONF_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23464 SWIG_Python_SetConstant(d, "STC_AVE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23465 SWIG_Python_SetConstant(d, "STC_AVE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23466 SWIG_Python_SetConstant(d, "STC_AVE_NUMBER",SWIG_From_int(static_cast< int >(2)));
23467 SWIG_Python_SetConstant(d, "STC_AVE_WORD",SWIG_From_int(static_cast< int >(3)));
23468 SWIG_Python_SetConstant(d, "STC_AVE_STRING",SWIG_From_int(static_cast< int >(6)));
23469 SWIG_Python_SetConstant(d, "STC_AVE_ENUM",SWIG_From_int(static_cast< int >(7)));
23470 SWIG_Python_SetConstant(d, "STC_AVE_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23471 SWIG_Python_SetConstant(d, "STC_AVE_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23472 SWIG_Python_SetConstant(d, "STC_AVE_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23473 SWIG_Python_SetConstant(d, "STC_AVE_WORD1",SWIG_From_int(static_cast< int >(11)));
23474 SWIG_Python_SetConstant(d, "STC_AVE_WORD2",SWIG_From_int(static_cast< int >(12)));
23475 SWIG_Python_SetConstant(d, "STC_AVE_WORD3",SWIG_From_int(static_cast< int >(13)));
23476 SWIG_Python_SetConstant(d, "STC_AVE_WORD4",SWIG_From_int(static_cast< int >(14)));
23477 SWIG_Python_SetConstant(d, "STC_AVE_WORD5",SWIG_From_int(static_cast< int >(15)));
23478 SWIG_Python_SetConstant(d, "STC_AVE_WORD6",SWIG_From_int(static_cast< int >(16)));
23479 SWIG_Python_SetConstant(d, "STC_ADA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23480 SWIG_Python_SetConstant(d, "STC_ADA_WORD",SWIG_From_int(static_cast< int >(1)));
23481 SWIG_Python_SetConstant(d, "STC_ADA_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
23482 SWIG_Python_SetConstant(d, "STC_ADA_NUMBER",SWIG_From_int(static_cast< int >(3)));
23483 SWIG_Python_SetConstant(d, "STC_ADA_DELIMITER",SWIG_From_int(static_cast< int >(4)));
23484 SWIG_Python_SetConstant(d, "STC_ADA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23485 SWIG_Python_SetConstant(d, "STC_ADA_CHARACTEREOL",SWIG_From_int(static_cast< int >(6)));
23486 SWIG_Python_SetConstant(d, "STC_ADA_STRING",SWIG_From_int(static_cast< int >(7)));
23487 SWIG_Python_SetConstant(d, "STC_ADA_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23488 SWIG_Python_SetConstant(d, "STC_ADA_LABEL",SWIG_From_int(static_cast< int >(9)));
23489 SWIG_Python_SetConstant(d, "STC_ADA_COMMENTLINE",SWIG_From_int(static_cast< int >(10)));
23490 SWIG_Python_SetConstant(d, "STC_ADA_ILLEGAL",SWIG_From_int(static_cast< int >(11)));
23491 SWIG_Python_SetConstant(d, "STC_BAAN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23492 SWIG_Python_SetConstant(d, "STC_BAAN_COMMENT",SWIG_From_int(static_cast< int >(1)));
23493 SWIG_Python_SetConstant(d, "STC_BAAN_COMMENTDOC",SWIG_From_int(static_cast< int >(2)));
23494 SWIG_Python_SetConstant(d, "STC_BAAN_NUMBER",SWIG_From_int(static_cast< int >(3)));
23495 SWIG_Python_SetConstant(d, "STC_BAAN_WORD",SWIG_From_int(static_cast< int >(4)));
23496 SWIG_Python_SetConstant(d, "STC_BAAN_STRING",SWIG_From_int(static_cast< int >(5)));
23497 SWIG_Python_SetConstant(d, "STC_BAAN_PREPROCESSOR",SWIG_From_int(static_cast< int >(6)));
23498 SWIG_Python_SetConstant(d, "STC_BAAN_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23499 SWIG_Python_SetConstant(d, "STC_BAAN_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23500 SWIG_Python_SetConstant(d, "STC_BAAN_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23501 SWIG_Python_SetConstant(d, "STC_BAAN_WORD2",SWIG_From_int(static_cast< int >(10)));
23502 SWIG_Python_SetConstant(d, "STC_LISP_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23503 SWIG_Python_SetConstant(d, "STC_LISP_COMMENT",SWIG_From_int(static_cast< int >(1)));
23504 SWIG_Python_SetConstant(d, "STC_LISP_NUMBER",SWIG_From_int(static_cast< int >(2)));
23505 SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23506 SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD_KW",SWIG_From_int(static_cast< int >(4)));
23507 SWIG_Python_SetConstant(d, "STC_LISP_SYMBOL",SWIG_From_int(static_cast< int >(5)));
23508 SWIG_Python_SetConstant(d, "STC_LISP_STRING",SWIG_From_int(static_cast< int >(6)));
23509 SWIG_Python_SetConstant(d, "STC_LISP_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23510 SWIG_Python_SetConstant(d, "STC_LISP_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23511 SWIG_Python_SetConstant(d, "STC_LISP_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23512 SWIG_Python_SetConstant(d, "STC_LISP_SPECIAL",SWIG_From_int(static_cast< int >(11)));
23513 SWIG_Python_SetConstant(d, "STC_LISP_MULTI_COMMENT",SWIG_From_int(static_cast< int >(12)));
23514 SWIG_Python_SetConstant(d, "STC_EIFFEL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23515 SWIG_Python_SetConstant(d, "STC_EIFFEL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23516 SWIG_Python_SetConstant(d, "STC_EIFFEL_NUMBER",SWIG_From_int(static_cast< int >(2)));
23517 SWIG_Python_SetConstant(d, "STC_EIFFEL_WORD",SWIG_From_int(static_cast< int >(3)));
23518 SWIG_Python_SetConstant(d, "STC_EIFFEL_STRING",SWIG_From_int(static_cast< int >(4)));
23519 SWIG_Python_SetConstant(d, "STC_EIFFEL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23520 SWIG_Python_SetConstant(d, "STC_EIFFEL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23521 SWIG_Python_SetConstant(d, "STC_EIFFEL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23522 SWIG_Python_SetConstant(d, "STC_EIFFEL_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23523 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23524 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23525 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_TASK",SWIG_From_int(static_cast< int >(2)));
23526 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_SECTION",SWIG_From_int(static_cast< int >(3)));
23527 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23528 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_MODIFIER",SWIG_From_int(static_cast< int >(5)));
23529 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ASTERISK",SWIG_From_int(static_cast< int >(6)));
23530 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_NUMBER",SWIG_From_int(static_cast< int >(7)));
23531 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_STRING",SWIG_From_int(static_cast< int >(8)));
23532 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ENVIRONMENT",SWIG_From_int(static_cast< int >(9)));
23533 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_IDENTIFIER",SWIG_From_int(static_cast< int >(10)));
23534 SWIG_Python_SetConstant(d, "STC_FORTH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23535 SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT",SWIG_From_int(static_cast< int >(1)));
23536 SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT_ML",SWIG_From_int(static_cast< int >(2)));
23537 SWIG_Python_SetConstant(d, "STC_FORTH_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23538 SWIG_Python_SetConstant(d, "STC_FORTH_CONTROL",SWIG_From_int(static_cast< int >(4)));
23539 SWIG_Python_SetConstant(d, "STC_FORTH_KEYWORD",SWIG_From_int(static_cast< int >(5)));
23540 SWIG_Python_SetConstant(d, "STC_FORTH_DEFWORD",SWIG_From_int(static_cast< int >(6)));
23541 SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD1",SWIG_From_int(static_cast< int >(7)));
23542 SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD2",SWIG_From_int(static_cast< int >(8)));
23543 SWIG_Python_SetConstant(d, "STC_FORTH_NUMBER",SWIG_From_int(static_cast< int >(9)));
23544 SWIG_Python_SetConstant(d, "STC_FORTH_STRING",SWIG_From_int(static_cast< int >(10)));
23545 SWIG_Python_SetConstant(d, "STC_FORTH_LOCALE",SWIG_From_int(static_cast< int >(11)));
23546 SWIG_Python_SetConstant(d, "STC_MATLAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23547 SWIG_Python_SetConstant(d, "STC_MATLAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23548 SWIG_Python_SetConstant(d, "STC_MATLAB_COMMAND",SWIG_From_int(static_cast< int >(2)));
23549 SWIG_Python_SetConstant(d, "STC_MATLAB_NUMBER",SWIG_From_int(static_cast< int >(3)));
23550 SWIG_Python_SetConstant(d, "STC_MATLAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23551 SWIG_Python_SetConstant(d, "STC_MATLAB_STRING",SWIG_From_int(static_cast< int >(5)));
23552 SWIG_Python_SetConstant(d, "STC_MATLAB_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23553 SWIG_Python_SetConstant(d, "STC_MATLAB_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23554 SWIG_Python_SetConstant(d, "STC_MATLAB_DOUBLEQUOTESTRING",SWIG_From_int(static_cast< int >(8)));
23555 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23556 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_WHITE",SWIG_From_int(static_cast< int >(1)));
23557 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23558 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PERSISTENT",SWIG_From_int(static_cast< int >(3)));
23559 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CSTYLE",SWIG_From_int(static_cast< int >(4)));
23560 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(5)));
23561 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_NUMBER",SWIG_From_int(static_cast< int >(6)));
23562 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRING",SWIG_From_int(static_cast< int >(7)));
23563 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CHARACTER",SWIG_From_int(static_cast< int >(8)));
23564 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23565 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_KEYWORD",SWIG_From_int(static_cast< int >(10)));
23566 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_OPERATOR",SWIG_From_int(static_cast< int >(11)));
23567 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
23568 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_TRIPLE",SWIG_From_int(static_cast< int >(13)));
23569 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CLASSNAME",SWIG_From_int(static_cast< int >(14)));
23570 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PREPROCESSOR",SWIG_From_int(static_cast< int >(15)));
23571 SWIG_Python_SetConstant(d, "STC_ASM_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23572 SWIG_Python_SetConstant(d, "STC_ASM_COMMENT",SWIG_From_int(static_cast< int >(1)));
23573 SWIG_Python_SetConstant(d, "STC_ASM_NUMBER",SWIG_From_int(static_cast< int >(2)));
23574 SWIG_Python_SetConstant(d, "STC_ASM_STRING",SWIG_From_int(static_cast< int >(3)));
23575 SWIG_Python_SetConstant(d, "STC_ASM_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23576 SWIG_Python_SetConstant(d, "STC_ASM_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23577 SWIG_Python_SetConstant(d, "STC_ASM_CPUINSTRUCTION",SWIG_From_int(static_cast< int >(6)));
23578 SWIG_Python_SetConstant(d, "STC_ASM_MATHINSTRUCTION",SWIG_From_int(static_cast< int >(7)));
23579 SWIG_Python_SetConstant(d, "STC_ASM_REGISTER",SWIG_From_int(static_cast< int >(8)));
23580 SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23581 SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVEOPERAND",SWIG_From_int(static_cast< int >(10)));
23582 SWIG_Python_SetConstant(d, "STC_ASM_COMMENTBLOCK",SWIG_From_int(static_cast< int >(11)));
23583 SWIG_Python_SetConstant(d, "STC_ASM_CHARACTER",SWIG_From_int(static_cast< int >(12)));
23584 SWIG_Python_SetConstant(d, "STC_ASM_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23585 SWIG_Python_SetConstant(d, "STC_ASM_EXTINSTRUCTION",SWIG_From_int(static_cast< int >(14)));
23586 SWIG_Python_SetConstant(d, "STC_F_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23587 SWIG_Python_SetConstant(d, "STC_F_COMMENT",SWIG_From_int(static_cast< int >(1)));
23588 SWIG_Python_SetConstant(d, "STC_F_NUMBER",SWIG_From_int(static_cast< int >(2)));
23589 SWIG_Python_SetConstant(d, "STC_F_STRING1",SWIG_From_int(static_cast< int >(3)));
23590 SWIG_Python_SetConstant(d, "STC_F_STRING2",SWIG_From_int(static_cast< int >(4)));
23591 SWIG_Python_SetConstant(d, "STC_F_STRINGEOL",SWIG_From_int(static_cast< int >(5)));
23592 SWIG_Python_SetConstant(d, "STC_F_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23593 SWIG_Python_SetConstant(d, "STC_F_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23594 SWIG_Python_SetConstant(d, "STC_F_WORD",SWIG_From_int(static_cast< int >(8)));
23595 SWIG_Python_SetConstant(d, "STC_F_WORD2",SWIG_From_int(static_cast< int >(9)));
23596 SWIG_Python_SetConstant(d, "STC_F_WORD3",SWIG_From_int(static_cast< int >(10)));
23597 SWIG_Python_SetConstant(d, "STC_F_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
23598 SWIG_Python_SetConstant(d, "STC_F_OPERATOR2",SWIG_From_int(static_cast< int >(12)));
23599 SWIG_Python_SetConstant(d, "STC_F_LABEL",SWIG_From_int(static_cast< int >(13)));
23600 SWIG_Python_SetConstant(d, "STC_F_CONTINUATION",SWIG_From_int(static_cast< int >(14)));
23601 SWIG_Python_SetConstant(d, "STC_CSS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23602 SWIG_Python_SetConstant(d, "STC_CSS_TAG",SWIG_From_int(static_cast< int >(1)));
23603 SWIG_Python_SetConstant(d, "STC_CSS_CLASS",SWIG_From_int(static_cast< int >(2)));
23604 SWIG_Python_SetConstant(d, "STC_CSS_PSEUDOCLASS",SWIG_From_int(static_cast< int >(3)));
23605 SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_PSEUDOCLASS",SWIG_From_int(static_cast< int >(4)));
23606 SWIG_Python_SetConstant(d, "STC_CSS_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23607 SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23608 SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23609 SWIG_Python_SetConstant(d, "STC_CSS_VALUE",SWIG_From_int(static_cast< int >(8)));
23610 SWIG_Python_SetConstant(d, "STC_CSS_COMMENT",SWIG_From_int(static_cast< int >(9)));
23611 SWIG_Python_SetConstant(d, "STC_CSS_ID",SWIG_From_int(static_cast< int >(10)));
23612 SWIG_Python_SetConstant(d, "STC_CSS_IMPORTANT",SWIG_From_int(static_cast< int >(11)));
23613 SWIG_Python_SetConstant(d, "STC_CSS_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
23614 SWIG_Python_SetConstant(d, "STC_CSS_DOUBLESTRING",SWIG_From_int(static_cast< int >(13)));
23615 SWIG_Python_SetConstant(d, "STC_CSS_SINGLESTRING",SWIG_From_int(static_cast< int >(14)));
23616 SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER2",SWIG_From_int(static_cast< int >(15)));
23617 SWIG_Python_SetConstant(d, "STC_CSS_ATTRIBUTE",SWIG_From_int(static_cast< int >(16)));
23618 SWIG_Python_SetConstant(d, "STC_POV_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23619 SWIG_Python_SetConstant(d, "STC_POV_COMMENT",SWIG_From_int(static_cast< int >(1)));
23620 SWIG_Python_SetConstant(d, "STC_POV_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23621 SWIG_Python_SetConstant(d, "STC_POV_NUMBER",SWIG_From_int(static_cast< int >(3)));
23622 SWIG_Python_SetConstant(d, "STC_POV_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23623 SWIG_Python_SetConstant(d, "STC_POV_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23624 SWIG_Python_SetConstant(d, "STC_POV_STRING",SWIG_From_int(static_cast< int >(6)));
23625 SWIG_Python_SetConstant(d, "STC_POV_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
23626 SWIG_Python_SetConstant(d, "STC_POV_DIRECTIVE",SWIG_From_int(static_cast< int >(8)));
23627 SWIG_Python_SetConstant(d, "STC_POV_BADDIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23628 SWIG_Python_SetConstant(d, "STC_POV_WORD2",SWIG_From_int(static_cast< int >(10)));
23629 SWIG_Python_SetConstant(d, "STC_POV_WORD3",SWIG_From_int(static_cast< int >(11)));
23630 SWIG_Python_SetConstant(d, "STC_POV_WORD4",SWIG_From_int(static_cast< int >(12)));
23631 SWIG_Python_SetConstant(d, "STC_POV_WORD5",SWIG_From_int(static_cast< int >(13)));
23632 SWIG_Python_SetConstant(d, "STC_POV_WORD6",SWIG_From_int(static_cast< int >(14)));
23633 SWIG_Python_SetConstant(d, "STC_POV_WORD7",SWIG_From_int(static_cast< int >(15)));
23634 SWIG_Python_SetConstant(d, "STC_POV_WORD8",SWIG_From_int(static_cast< int >(16)));
23635 SWIG_Python_SetConstant(d, "STC_LOUT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23636 SWIG_Python_SetConstant(d, "STC_LOUT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23637 SWIG_Python_SetConstant(d, "STC_LOUT_NUMBER",SWIG_From_int(static_cast< int >(2)));
23638 SWIG_Python_SetConstant(d, "STC_LOUT_WORD",SWIG_From_int(static_cast< int >(3)));
23639 SWIG_Python_SetConstant(d, "STC_LOUT_WORD2",SWIG_From_int(static_cast< int >(4)));
23640 SWIG_Python_SetConstant(d, "STC_LOUT_WORD3",SWIG_From_int(static_cast< int >(5)));
23641 SWIG_Python_SetConstant(d, "STC_LOUT_WORD4",SWIG_From_int(static_cast< int >(6)));
23642 SWIG_Python_SetConstant(d, "STC_LOUT_STRING",SWIG_From_int(static_cast< int >(7)));
23643 SWIG_Python_SetConstant(d, "STC_LOUT_OPERATOR",SWIG_From_int(static_cast< int >(8)));
23644 SWIG_Python_SetConstant(d, "STC_LOUT_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23645 SWIG_Python_SetConstant(d, "STC_LOUT_STRINGEOL",SWIG_From_int(static_cast< int >(10)));
23646 SWIG_Python_SetConstant(d, "STC_ESCRIPT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23647 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23648 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23649 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23650 SWIG_Python_SetConstant(d, "STC_ESCRIPT_NUMBER",SWIG_From_int(static_cast< int >(4)));
23651 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD",SWIG_From_int(static_cast< int >(5)));
23652 SWIG_Python_SetConstant(d, "STC_ESCRIPT_STRING",SWIG_From_int(static_cast< int >(6)));
23653 SWIG_Python_SetConstant(d, "STC_ESCRIPT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23654 SWIG_Python_SetConstant(d, "STC_ESCRIPT_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23655 SWIG_Python_SetConstant(d, "STC_ESCRIPT_BRACE",SWIG_From_int(static_cast< int >(9)));
23656 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD2",SWIG_From_int(static_cast< int >(10)));
23657 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD3",SWIG_From_int(static_cast< int >(11)));
23658 SWIG_Python_SetConstant(d, "STC_PS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23659 SWIG_Python_SetConstant(d, "STC_PS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23660 SWIG_Python_SetConstant(d, "STC_PS_DSC_COMMENT",SWIG_From_int(static_cast< int >(2)));
23661 SWIG_Python_SetConstant(d, "STC_PS_DSC_VALUE",SWIG_From_int(static_cast< int >(3)));
23662 SWIG_Python_SetConstant(d, "STC_PS_NUMBER",SWIG_From_int(static_cast< int >(4)));
23663 SWIG_Python_SetConstant(d, "STC_PS_NAME",SWIG_From_int(static_cast< int >(5)));
23664 SWIG_Python_SetConstant(d, "STC_PS_KEYWORD",SWIG_From_int(static_cast< int >(6)));
23665 SWIG_Python_SetConstant(d, "STC_PS_LITERAL",SWIG_From_int(static_cast< int >(7)));
23666 SWIG_Python_SetConstant(d, "STC_PS_IMMEVAL",SWIG_From_int(static_cast< int >(8)));
23667 SWIG_Python_SetConstant(d, "STC_PS_PAREN_ARRAY",SWIG_From_int(static_cast< int >(9)));
23668 SWIG_Python_SetConstant(d, "STC_PS_PAREN_DICT",SWIG_From_int(static_cast< int >(10)));
23669 SWIG_Python_SetConstant(d, "STC_PS_PAREN_PROC",SWIG_From_int(static_cast< int >(11)));
23670 SWIG_Python_SetConstant(d, "STC_PS_TEXT",SWIG_From_int(static_cast< int >(12)));
23671 SWIG_Python_SetConstant(d, "STC_PS_HEXSTRING",SWIG_From_int(static_cast< int >(13)));
23672 SWIG_Python_SetConstant(d, "STC_PS_BASE85STRING",SWIG_From_int(static_cast< int >(14)));
23673 SWIG_Python_SetConstant(d, "STC_PS_BADSTRINGCHAR",SWIG_From_int(static_cast< int >(15)));
23674 SWIG_Python_SetConstant(d, "STC_NSIS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23675 SWIG_Python_SetConstant(d, "STC_NSIS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23676 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGDQ",SWIG_From_int(static_cast< int >(2)));
23677 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGLQ",SWIG_From_int(static_cast< int >(3)));
23678 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGRQ",SWIG_From_int(static_cast< int >(4)));
23679 SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTION",SWIG_From_int(static_cast< int >(5)));
23680 SWIG_Python_SetConstant(d, "STC_NSIS_VARIABLE",SWIG_From_int(static_cast< int >(6)));
23681 SWIG_Python_SetConstant(d, "STC_NSIS_LABEL",SWIG_From_int(static_cast< int >(7)));
23682 SWIG_Python_SetConstant(d, "STC_NSIS_USERDEFINED",SWIG_From_int(static_cast< int >(8)));
23683 SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONDEF",SWIG_From_int(static_cast< int >(9)));
23684 SWIG_Python_SetConstant(d, "STC_NSIS_SUBSECTIONDEF",SWIG_From_int(static_cast< int >(10)));
23685 SWIG_Python_SetConstant(d, "STC_NSIS_IFDEFINEDEF",SWIG_From_int(static_cast< int >(11)));
23686 SWIG_Python_SetConstant(d, "STC_NSIS_MACRODEF",SWIG_From_int(static_cast< int >(12)));
23687 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGVAR",SWIG_From_int(static_cast< int >(13)));
23688 SWIG_Python_SetConstant(d, "STC_NSIS_NUMBER",SWIG_From_int(static_cast< int >(14)));
23689 SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONGROUP",SWIG_From_int(static_cast< int >(15)));
23690 SWIG_Python_SetConstant(d, "STC_NSIS_PAGEEX",SWIG_From_int(static_cast< int >(16)));
23691 SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTIONDEF",SWIG_From_int(static_cast< int >(17)));
23692 SWIG_Python_SetConstant(d, "STC_NSIS_COMMENTBOX",SWIG_From_int(static_cast< int >(18)));
23693 SWIG_Python_SetConstant(d, "STC_MMIXAL_LEADWS",SWIG_From_int(static_cast< int >(0)));
23694 SWIG_Python_SetConstant(d, "STC_MMIXAL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23695 SWIG_Python_SetConstant(d, "STC_MMIXAL_LABEL",SWIG_From_int(static_cast< int >(2)));
23696 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE",SWIG_From_int(static_cast< int >(3)));
23697 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_PRE",SWIG_From_int(static_cast< int >(4)));
23698 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_VALID",SWIG_From_int(static_cast< int >(5)));
23699 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_UNKNOWN",SWIG_From_int(static_cast< int >(6)));
23700 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_POST",SWIG_From_int(static_cast< int >(7)));
23701 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERANDS",SWIG_From_int(static_cast< int >(8)));
23702 SWIG_Python_SetConstant(d, "STC_MMIXAL_NUMBER",SWIG_From_int(static_cast< int >(9)));
23703 SWIG_Python_SetConstant(d, "STC_MMIXAL_REF",SWIG_From_int(static_cast< int >(10)));
23704 SWIG_Python_SetConstant(d, "STC_MMIXAL_CHAR",SWIG_From_int(static_cast< int >(11)));
23705 SWIG_Python_SetConstant(d, "STC_MMIXAL_STRING",SWIG_From_int(static_cast< int >(12)));
23706 SWIG_Python_SetConstant(d, "STC_MMIXAL_REGISTER",SWIG_From_int(static_cast< int >(13)));
23707 SWIG_Python_SetConstant(d, "STC_MMIXAL_HEX",SWIG_From_int(static_cast< int >(14)));
23708 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERATOR",SWIG_From_int(static_cast< int >(15)));
23709 SWIG_Python_SetConstant(d, "STC_MMIXAL_SYMBOL",SWIG_From_int(static_cast< int >(16)));
23710 SWIG_Python_SetConstant(d, "STC_MMIXAL_INCLUDE",SWIG_From_int(static_cast< int >(17)));
23711 SWIG_Python_SetConstant(d, "STC_CLW_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23712 SWIG_Python_SetConstant(d, "STC_CLW_LABEL",SWIG_From_int(static_cast< int >(1)));
23713 SWIG_Python_SetConstant(d, "STC_CLW_COMMENT",SWIG_From_int(static_cast< int >(2)));
23714 SWIG_Python_SetConstant(d, "STC_CLW_STRING",SWIG_From_int(static_cast< int >(3)));
23715 SWIG_Python_SetConstant(d, "STC_CLW_USER_IDENTIFIER",SWIG_From_int(static_cast< int >(4)));
23716 SWIG_Python_SetConstant(d, "STC_CLW_INTEGER_CONSTANT",SWIG_From_int(static_cast< int >(5)));
23717 SWIG_Python_SetConstant(d, "STC_CLW_REAL_CONSTANT",SWIG_From_int(static_cast< int >(6)));
23718 SWIG_Python_SetConstant(d, "STC_CLW_PICTURE_STRING",SWIG_From_int(static_cast< int >(7)));
23719 SWIG_Python_SetConstant(d, "STC_CLW_KEYWORD",SWIG_From_int(static_cast< int >(8)));
23720 SWIG_Python_SetConstant(d, "STC_CLW_COMPILER_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23721 SWIG_Python_SetConstant(d, "STC_CLW_RUNTIME_EXPRESSIONS",SWIG_From_int(static_cast< int >(10)));
23722 SWIG_Python_SetConstant(d, "STC_CLW_BUILTIN_PROCEDURES_FUNCTION",SWIG_From_int(static_cast< int >(11)));
23723 SWIG_Python_SetConstant(d, "STC_CLW_STRUCTURE_DATA_TYPE",SWIG_From_int(static_cast< int >(12)));
23724 SWIG_Python_SetConstant(d, "STC_CLW_ATTRIBUTE",SWIG_From_int(static_cast< int >(13)));
23725 SWIG_Python_SetConstant(d, "STC_CLW_STANDARD_EQUATE",SWIG_From_int(static_cast< int >(14)));
23726 SWIG_Python_SetConstant(d, "STC_CLW_ERROR",SWIG_From_int(static_cast< int >(15)));
23727 SWIG_Python_SetConstant(d, "STC_CLW_DEPRECATED",SWIG_From_int(static_cast< int >(16)));
23728 SWIG_Python_SetConstant(d, "STC_LOT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23729 SWIG_Python_SetConstant(d, "STC_LOT_HEADER",SWIG_From_int(static_cast< int >(1)));
23730 SWIG_Python_SetConstant(d, "STC_LOT_BREAK",SWIG_From_int(static_cast< int >(2)));
23731 SWIG_Python_SetConstant(d, "STC_LOT_SET",SWIG_From_int(static_cast< int >(3)));
23732 SWIG_Python_SetConstant(d, "STC_LOT_PASS",SWIG_From_int(static_cast< int >(4)));
23733 SWIG_Python_SetConstant(d, "STC_LOT_FAIL",SWIG_From_int(static_cast< int >(5)));
23734 SWIG_Python_SetConstant(d, "STC_LOT_ABORT",SWIG_From_int(static_cast< int >(6)));
23735 SWIG_Python_SetConstant(d, "STC_YAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23736 SWIG_Python_SetConstant(d, "STC_YAML_COMMENT",SWIG_From_int(static_cast< int >(1)));
23737 SWIG_Python_SetConstant(d, "STC_YAML_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
23738 SWIG_Python_SetConstant(d, "STC_YAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23739 SWIG_Python_SetConstant(d, "STC_YAML_NUMBER",SWIG_From_int(static_cast< int >(4)));
23740 SWIG_Python_SetConstant(d, "STC_YAML_REFERENCE",SWIG_From_int(static_cast< int >(5)));
23741 SWIG_Python_SetConstant(d, "STC_YAML_DOCUMENT",SWIG_From_int(static_cast< int >(6)));
23742 SWIG_Python_SetConstant(d, "STC_YAML_TEXT",SWIG_From_int(static_cast< int >(7)));
23743 SWIG_Python_SetConstant(d, "STC_YAML_ERROR",SWIG_From_int(static_cast< int >(8)));
23744 SWIG_Python_SetConstant(d, "STC_TEX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23745 SWIG_Python_SetConstant(d, "STC_TEX_SPECIAL",SWIG_From_int(static_cast< int >(1)));
23746 SWIG_Python_SetConstant(d, "STC_TEX_GROUP",SWIG_From_int(static_cast< int >(2)));
23747 SWIG_Python_SetConstant(d, "STC_TEX_SYMBOL",SWIG_From_int(static_cast< int >(3)));
23748 SWIG_Python_SetConstant(d, "STC_TEX_COMMAND",SWIG_From_int(static_cast< int >(4)));
23749 SWIG_Python_SetConstant(d, "STC_TEX_TEXT",SWIG_From_int(static_cast< int >(5)));
23750 SWIG_Python_SetConstant(d, "STC_METAPOST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23751 SWIG_Python_SetConstant(d, "STC_METAPOST_SPECIAL",SWIG_From_int(static_cast< int >(1)));
23752 SWIG_Python_SetConstant(d, "STC_METAPOST_GROUP",SWIG_From_int(static_cast< int >(2)));
23753 SWIG_Python_SetConstant(d, "STC_METAPOST_SYMBOL",SWIG_From_int(static_cast< int >(3)));
23754 SWIG_Python_SetConstant(d, "STC_METAPOST_COMMAND",SWIG_From_int(static_cast< int >(4)));
23755 SWIG_Python_SetConstant(d, "STC_METAPOST_TEXT",SWIG_From_int(static_cast< int >(5)));
23756 SWIG_Python_SetConstant(d, "STC_METAPOST_EXTRA",SWIG_From_int(static_cast< int >(6)));
23757 SWIG_Python_SetConstant(d, "STC_ERLANG_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23758 SWIG_Python_SetConstant(d, "STC_ERLANG_COMMENT",SWIG_From_int(static_cast< int >(1)));
23759 SWIG_Python_SetConstant(d, "STC_ERLANG_VARIABLE",SWIG_From_int(static_cast< int >(2)));
23760 SWIG_Python_SetConstant(d, "STC_ERLANG_NUMBER",SWIG_From_int(static_cast< int >(3)));
23761 SWIG_Python_SetConstant(d, "STC_ERLANG_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23762 SWIG_Python_SetConstant(d, "STC_ERLANG_STRING",SWIG_From_int(static_cast< int >(5)));
23763 SWIG_Python_SetConstant(d, "STC_ERLANG_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23764 SWIG_Python_SetConstant(d, "STC_ERLANG_ATOM",SWIG_From_int(static_cast< int >(7)));
23765 SWIG_Python_SetConstant(d, "STC_ERLANG_FUNCTION_NAME",SWIG_From_int(static_cast< int >(8)));
23766 SWIG_Python_SetConstant(d, "STC_ERLANG_CHARACTER",SWIG_From_int(static_cast< int >(9)));
23767 SWIG_Python_SetConstant(d, "STC_ERLANG_MACRO",SWIG_From_int(static_cast< int >(10)));
23768 SWIG_Python_SetConstant(d, "STC_ERLANG_RECORD",SWIG_From_int(static_cast< int >(11)));
23769 SWIG_Python_SetConstant(d, "STC_ERLANG_SEPARATOR",SWIG_From_int(static_cast< int >(12)));
23770 SWIG_Python_SetConstant(d, "STC_ERLANG_NODE_NAME",SWIG_From_int(static_cast< int >(13)));
23771 SWIG_Python_SetConstant(d, "STC_ERLANG_UNKNOWN",SWIG_From_int(static_cast< int >(31)));
23772 SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23773 SWIG_Python_SetConstant(d, "STC_MSSQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23774 SWIG_Python_SetConstant(d, "STC_MSSQL_LINE_COMMENT",SWIG_From_int(static_cast< int >(2)));
23775 SWIG_Python_SetConstant(d, "STC_MSSQL_NUMBER",SWIG_From_int(static_cast< int >(3)));
23776 SWIG_Python_SetConstant(d, "STC_MSSQL_STRING",SWIG_From_int(static_cast< int >(4)));
23777 SWIG_Python_SetConstant(d, "STC_MSSQL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23778 SWIG_Python_SetConstant(d, "STC_MSSQL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23779 SWIG_Python_SetConstant(d, "STC_MSSQL_VARIABLE",SWIG_From_int(static_cast< int >(7)));
23780 SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME",SWIG_From_int(static_cast< int >(8)));
23781 SWIG_Python_SetConstant(d, "STC_MSSQL_STATEMENT",SWIG_From_int(static_cast< int >(9)));
23782 SWIG_Python_SetConstant(d, "STC_MSSQL_DATATYPE",SWIG_From_int(static_cast< int >(10)));
23783 SWIG_Python_SetConstant(d, "STC_MSSQL_SYSTABLE",SWIG_From_int(static_cast< int >(11)));
23784 SWIG_Python_SetConstant(d, "STC_MSSQL_GLOBAL_VARIABLE",SWIG_From_int(static_cast< int >(12)));
23785 SWIG_Python_SetConstant(d, "STC_MSSQL_FUNCTION",SWIG_From_int(static_cast< int >(13)));
23786 SWIG_Python_SetConstant(d, "STC_MSSQL_STORED_PROCEDURE",SWIG_From_int(static_cast< int >(14)));
23787 SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT_PREF_DATATYPE",SWIG_From_int(static_cast< int >(15)));
23788 SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME_2",SWIG_From_int(static_cast< int >(16)));
23789 SWIG_Python_SetConstant(d, "STC_V_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23790 SWIG_Python_SetConstant(d, "STC_V_COMMENT",SWIG_From_int(static_cast< int >(1)));
23791 SWIG_Python_SetConstant(d, "STC_V_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23792 SWIG_Python_SetConstant(d, "STC_V_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
23793 SWIG_Python_SetConstant(d, "STC_V_NUMBER",SWIG_From_int(static_cast< int >(4)));
23794 SWIG_Python_SetConstant(d, "STC_V_WORD",SWIG_From_int(static_cast< int >(5)));
23795 SWIG_Python_SetConstant(d, "STC_V_STRING",SWIG_From_int(static_cast< int >(6)));
23796 SWIG_Python_SetConstant(d, "STC_V_WORD2",SWIG_From_int(static_cast< int >(7)));
23797 SWIG_Python_SetConstant(d, "STC_V_WORD3",SWIG_From_int(static_cast< int >(8)));
23798 SWIG_Python_SetConstant(d, "STC_V_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23799 SWIG_Python_SetConstant(d, "STC_V_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23800 SWIG_Python_SetConstant(d, "STC_V_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23801 SWIG_Python_SetConstant(d, "STC_V_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23802 SWIG_Python_SetConstant(d, "STC_V_USER",SWIG_From_int(static_cast< int >(19)));
23803 SWIG_Python_SetConstant(d, "STC_KIX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23804 SWIG_Python_SetConstant(d, "STC_KIX_COMMENT",SWIG_From_int(static_cast< int >(1)));
23805 SWIG_Python_SetConstant(d, "STC_KIX_STRING1",SWIG_From_int(static_cast< int >(2)));
23806 SWIG_Python_SetConstant(d, "STC_KIX_STRING2",SWIG_From_int(static_cast< int >(3)));
23807 SWIG_Python_SetConstant(d, "STC_KIX_NUMBER",SWIG_From_int(static_cast< int >(4)));
23808 SWIG_Python_SetConstant(d, "STC_KIX_VAR",SWIG_From_int(static_cast< int >(5)));
23809 SWIG_Python_SetConstant(d, "STC_KIX_MACRO",SWIG_From_int(static_cast< int >(6)));
23810 SWIG_Python_SetConstant(d, "STC_KIX_KEYWORD",SWIG_From_int(static_cast< int >(7)));
23811 SWIG_Python_SetConstant(d, "STC_KIX_FUNCTIONS",SWIG_From_int(static_cast< int >(8)));
23812 SWIG_Python_SetConstant(d, "STC_KIX_OPERATOR",SWIG_From_int(static_cast< int >(9)));
23813 SWIG_Python_SetConstant(d, "STC_KIX_IDENTIFIER",SWIG_From_int(static_cast< int >(31)));
23814 SWIG_Python_SetConstant(d, "STC_GC_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23815 SWIG_Python_SetConstant(d, "STC_GC_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23816 SWIG_Python_SetConstant(d, "STC_GC_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
23817 SWIG_Python_SetConstant(d, "STC_GC_GLOBAL",SWIG_From_int(static_cast< int >(3)));
23818 SWIG_Python_SetConstant(d, "STC_GC_EVENT",SWIG_From_int(static_cast< int >(4)));
23819 SWIG_Python_SetConstant(d, "STC_GC_ATTRIBUTE",SWIG_From_int(static_cast< int >(5)));
23820 SWIG_Python_SetConstant(d, "STC_GC_CONTROL",SWIG_From_int(static_cast< int >(6)));
23821 SWIG_Python_SetConstant(d, "STC_GC_COMMAND",SWIG_From_int(static_cast< int >(7)));
23822 SWIG_Python_SetConstant(d, "STC_GC_STRING",SWIG_From_int(static_cast< int >(8)));
23823 SWIG_Python_SetConstant(d, "STC_GC_OPERATOR",SWIG_From_int(static_cast< int >(9)));
23824 SWIG_Python_SetConstant(d, "STC_SN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23825 SWIG_Python_SetConstant(d, "STC_SN_CODE",SWIG_From_int(static_cast< int >(1)));
23826 SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23827 SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
23828 SWIG_Python_SetConstant(d, "STC_SN_NUMBER",SWIG_From_int(static_cast< int >(4)));
23829 SWIG_Python_SetConstant(d, "STC_SN_WORD",SWIG_From_int(static_cast< int >(5)));
23830 SWIG_Python_SetConstant(d, "STC_SN_STRING",SWIG_From_int(static_cast< int >(6)));
23831 SWIG_Python_SetConstant(d, "STC_SN_WORD2",SWIG_From_int(static_cast< int >(7)));
23832 SWIG_Python_SetConstant(d, "STC_SN_WORD3",SWIG_From_int(static_cast< int >(8)));
23833 SWIG_Python_SetConstant(d, "STC_SN_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23834 SWIG_Python_SetConstant(d, "STC_SN_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23835 SWIG_Python_SetConstant(d, "STC_SN_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23836 SWIG_Python_SetConstant(d, "STC_SN_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23837 SWIG_Python_SetConstant(d, "STC_SN_REGEXTAG",SWIG_From_int(static_cast< int >(13)));
23838 SWIG_Python_SetConstant(d, "STC_SN_SIGNAL",SWIG_From_int(static_cast< int >(14)));
23839 SWIG_Python_SetConstant(d, "STC_SN_USER",SWIG_From_int(static_cast< int >(19)));
23840 SWIG_Python_SetConstant(d, "STC_AU3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23841 SWIG_Python_SetConstant(d, "STC_AU3_COMMENT",SWIG_From_int(static_cast< int >(1)));
23842 SWIG_Python_SetConstant(d, "STC_AU3_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
23843 SWIG_Python_SetConstant(d, "STC_AU3_NUMBER",SWIG_From_int(static_cast< int >(3)));
23844 SWIG_Python_SetConstant(d, "STC_AU3_FUNCTION",SWIG_From_int(static_cast< int >(4)));
23845 SWIG_Python_SetConstant(d, "STC_AU3_KEYWORD",SWIG_From_int(static_cast< int >(5)));
23846 SWIG_Python_SetConstant(d, "STC_AU3_MACRO",SWIG_From_int(static_cast< int >(6)));
23847 SWIG_Python_SetConstant(d, "STC_AU3_STRING",SWIG_From_int(static_cast< int >(7)));
23848 SWIG_Python_SetConstant(d, "STC_AU3_OPERATOR",SWIG_From_int(static_cast< int >(8)));
23849 SWIG_Python_SetConstant(d, "STC_AU3_VARIABLE",SWIG_From_int(static_cast< int >(9)));
23850 SWIG_Python_SetConstant(d, "STC_AU3_SENT",SWIG_From_int(static_cast< int >(10)));
23851 SWIG_Python_SetConstant(d, "STC_AU3_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
23852 SWIG_Python_SetConstant(d, "STC_AU3_SPECIAL",SWIG_From_int(static_cast< int >(12)));
23853 SWIG_Python_SetConstant(d, "STC_AU3_EXPAND",SWIG_From_int(static_cast< int >(13)));
23854 SWIG_Python_SetConstant(d, "STC_AU3_COMOBJ",SWIG_From_int(static_cast< int >(14)));
23855 SWIG_Python_SetConstant(d, "STC_APDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23856 SWIG_Python_SetConstant(d, "STC_APDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23857 SWIG_Python_SetConstant(d, "STC_APDL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
23858 SWIG_Python_SetConstant(d, "STC_APDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
23859 SWIG_Python_SetConstant(d, "STC_APDL_STRING",SWIG_From_int(static_cast< int >(4)));
23860 SWIG_Python_SetConstant(d, "STC_APDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23861 SWIG_Python_SetConstant(d, "STC_APDL_WORD",SWIG_From_int(static_cast< int >(6)));
23862 SWIG_Python_SetConstant(d, "STC_APDL_PROCESSOR",SWIG_From_int(static_cast< int >(7)));
23863 SWIG_Python_SetConstant(d, "STC_APDL_COMMAND",SWIG_From_int(static_cast< int >(8)));
23864 SWIG_Python_SetConstant(d, "STC_APDL_SLASHCOMMAND",SWIG_From_int(static_cast< int >(9)));
23865 SWIG_Python_SetConstant(d, "STC_APDL_STARCOMMAND",SWIG_From_int(static_cast< int >(10)));
23866 SWIG_Python_SetConstant(d, "STC_APDL_ARGUMENT",SWIG_From_int(static_cast< int >(11)));
23867 SWIG_Python_SetConstant(d, "STC_APDL_FUNCTION",SWIG_From_int(static_cast< int >(12)));
23868 SWIG_Python_SetConstant(d, "STC_SH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23869 SWIG_Python_SetConstant(d, "STC_SH_ERROR",SWIG_From_int(static_cast< int >(1)));
23870 SWIG_Python_SetConstant(d, "STC_SH_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23871 SWIG_Python_SetConstant(d, "STC_SH_NUMBER",SWIG_From_int(static_cast< int >(3)));
23872 SWIG_Python_SetConstant(d, "STC_SH_WORD",SWIG_From_int(static_cast< int >(4)));
23873 SWIG_Python_SetConstant(d, "STC_SH_STRING",SWIG_From_int(static_cast< int >(5)));
23874 SWIG_Python_SetConstant(d, "STC_SH_CHARACTER",SWIG_From_int(static_cast< int >(6)));
23875 SWIG_Python_SetConstant(d, "STC_SH_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23876 SWIG_Python_SetConstant(d, "STC_SH_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23877 SWIG_Python_SetConstant(d, "STC_SH_SCALAR",SWIG_From_int(static_cast< int >(9)));
23878 SWIG_Python_SetConstant(d, "STC_SH_PARAM",SWIG_From_int(static_cast< int >(10)));
23879 SWIG_Python_SetConstant(d, "STC_SH_BACKTICKS",SWIG_From_int(static_cast< int >(11)));
23880 SWIG_Python_SetConstant(d, "STC_SH_HERE_DELIM",SWIG_From_int(static_cast< int >(12)));
23881 SWIG_Python_SetConstant(d, "STC_SH_HERE_Q",SWIG_From_int(static_cast< int >(13)));
23882 SWIG_Python_SetConstant(d, "STC_ASN1_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23883 SWIG_Python_SetConstant(d, "STC_ASN1_COMMENT",SWIG_From_int(static_cast< int >(1)));
23884 SWIG_Python_SetConstant(d, "STC_ASN1_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
23885 SWIG_Python_SetConstant(d, "STC_ASN1_STRING",SWIG_From_int(static_cast< int >(3)));
23886 SWIG_Python_SetConstant(d, "STC_ASN1_OID",SWIG_From_int(static_cast< int >(4)));
23887 SWIG_Python_SetConstant(d, "STC_ASN1_SCALAR",SWIG_From_int(static_cast< int >(5)));
23888 SWIG_Python_SetConstant(d, "STC_ASN1_KEYWORD",SWIG_From_int(static_cast< int >(6)));
23889 SWIG_Python_SetConstant(d, "STC_ASN1_ATTRIBUTE",SWIG_From_int(static_cast< int >(7)));
23890 SWIG_Python_SetConstant(d, "STC_ASN1_DESCRIPTOR",SWIG_From_int(static_cast< int >(8)));
23891 SWIG_Python_SetConstant(d, "STC_ASN1_TYPE",SWIG_From_int(static_cast< int >(9)));
23892 SWIG_Python_SetConstant(d, "STC_ASN1_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23893 SWIG_Python_SetConstant(d, "STC_VHDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23894 SWIG_Python_SetConstant(d, "STC_VHDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23895 SWIG_Python_SetConstant(d, "STC_VHDL_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(2)));
23896 SWIG_Python_SetConstant(d, "STC_VHDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
23897 SWIG_Python_SetConstant(d, "STC_VHDL_STRING",SWIG_From_int(static_cast< int >(4)));
23898 SWIG_Python_SetConstant(d, "STC_VHDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23899 SWIG_Python_SetConstant(d, "STC_VHDL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23900 SWIG_Python_SetConstant(d, "STC_VHDL_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
23901 SWIG_Python_SetConstant(d, "STC_VHDL_KEYWORD",SWIG_From_int(static_cast< int >(8)));
23902 SWIG_Python_SetConstant(d, "STC_VHDL_STDOPERATOR",SWIG_From_int(static_cast< int >(9)));
23903 SWIG_Python_SetConstant(d, "STC_VHDL_ATTRIBUTE",SWIG_From_int(static_cast< int >(10)));
23904 SWIG_Python_SetConstant(d, "STC_VHDL_STDFUNCTION",SWIG_From_int(static_cast< int >(11)));
23905 SWIG_Python_SetConstant(d, "STC_VHDL_STDPACKAGE",SWIG_From_int(static_cast< int >(12)));
23906 SWIG_Python_SetConstant(d, "STC_VHDL_STDTYPE",SWIG_From_int(static_cast< int >(13)));
23907 SWIG_Python_SetConstant(d, "STC_VHDL_USERWORD",SWIG_From_int(static_cast< int >(14)));
23908 SWIG_Python_SetConstant(d, "STC_CAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23909 SWIG_Python_SetConstant(d, "STC_CAML_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
23910 SWIG_Python_SetConstant(d, "STC_CAML_TAGNAME",SWIG_From_int(static_cast< int >(2)));
23911 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23912 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD2",SWIG_From_int(static_cast< int >(4)));
23913 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD3",SWIG_From_int(static_cast< int >(5)));
23914 SWIG_Python_SetConstant(d, "STC_CAML_LINENUM",SWIG_From_int(static_cast< int >(6)));
23915 SWIG_Python_SetConstant(d, "STC_CAML_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23916 SWIG_Python_SetConstant(d, "STC_CAML_NUMBER",SWIG_From_int(static_cast< int >(8)));
23917 SWIG_Python_SetConstant(d, "STC_CAML_CHAR",SWIG_From_int(static_cast< int >(9)));
23918 SWIG_Python_SetConstant(d, "STC_CAML_STRING",SWIG_From_int(static_cast< int >(11)));
23919 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT",SWIG_From_int(static_cast< int >(12)));
23920 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT1",SWIG_From_int(static_cast< int >(13)));
23921 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT2",SWIG_From_int(static_cast< int >(14)));
23922 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT3",SWIG_From_int(static_cast< int >(15)));
23923 SWIG_Python_SetConstant(d, "STC_HA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23924 SWIG_Python_SetConstant(d, "STC_HA_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
23925 SWIG_Python_SetConstant(d, "STC_HA_KEYWORD",SWIG_From_int(static_cast< int >(2)));
23926 SWIG_Python_SetConstant(d, "STC_HA_NUMBER",SWIG_From_int(static_cast< int >(3)));
23927 SWIG_Python_SetConstant(d, "STC_HA_STRING",SWIG_From_int(static_cast< int >(4)));
23928 SWIG_Python_SetConstant(d, "STC_HA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23929 SWIG_Python_SetConstant(d, "STC_HA_CLASS",SWIG_From_int(static_cast< int >(6)));
23930 SWIG_Python_SetConstant(d, "STC_HA_MODULE",SWIG_From_int(static_cast< int >(7)));
23931 SWIG_Python_SetConstant(d, "STC_HA_CAPITAL",SWIG_From_int(static_cast< int >(8)));
23932 SWIG_Python_SetConstant(d, "STC_HA_DATA",SWIG_From_int(static_cast< int >(9)));
23933 SWIG_Python_SetConstant(d, "STC_HA_IMPORT",SWIG_From_int(static_cast< int >(10)));
23934 SWIG_Python_SetConstant(d, "STC_HA_OPERATOR",SWIG_From_int(static_cast< int >(11)));
23935 SWIG_Python_SetConstant(d, "STC_HA_INSTANCE",SWIG_From_int(static_cast< int >(12)));
23936 SWIG_Python_SetConstant(d, "STC_HA_COMMENTLINE",SWIG_From_int(static_cast< int >(13)));
23937 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK",SWIG_From_int(static_cast< int >(14)));
23938 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK2",SWIG_From_int(static_cast< int >(15)));
23939 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK3",SWIG_From_int(static_cast< int >(16)));
23940 SWIG_Python_SetConstant(d, "STC_T3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23941 SWIG_Python_SetConstant(d, "STC_T3_X_DEFAULT",SWIG_From_int(static_cast< int >(1)));
23942 SWIG_Python_SetConstant(d, "STC_T3_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
23943 SWIG_Python_SetConstant(d, "STC_T3_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(3)));
23944 SWIG_Python_SetConstant(d, "STC_T3_LINE_COMMENT",SWIG_From_int(static_cast< int >(4)));
23945 SWIG_Python_SetConstant(d, "STC_T3_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23946 SWIG_Python_SetConstant(d, "STC_T3_KEYWORD",SWIG_From_int(static_cast< int >(6)));
23947 SWIG_Python_SetConstant(d, "STC_T3_NUMBER",SWIG_From_int(static_cast< int >(7)));
23948 SWIG_Python_SetConstant(d, "STC_T3_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23949 SWIG_Python_SetConstant(d, "STC_T3_S_STRING",SWIG_From_int(static_cast< int >(9)));
23950 SWIG_Python_SetConstant(d, "STC_T3_D_STRING",SWIG_From_int(static_cast< int >(10)));
23951 SWIG_Python_SetConstant(d, "STC_T3_X_STRING",SWIG_From_int(static_cast< int >(11)));
23952 SWIG_Python_SetConstant(d, "STC_T3_LIB_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
23953 SWIG_Python_SetConstant(d, "STC_T3_MSG_PARAM",SWIG_From_int(static_cast< int >(13)));
23954 SWIG_Python_SetConstant(d, "STC_T3_HTML_TAG",SWIG_From_int(static_cast< int >(14)));
23955 SWIG_Python_SetConstant(d, "STC_T3_HTML_DEFAULT",SWIG_From_int(static_cast< int >(15)));
23956 SWIG_Python_SetConstant(d, "STC_T3_HTML_STRING",SWIG_From_int(static_cast< int >(16)));
23957 SWIG_Python_SetConstant(d, "STC_T3_USER1",SWIG_From_int(static_cast< int >(17)));
23958 SWIG_Python_SetConstant(d, "STC_T3_USER2",SWIG_From_int(static_cast< int >(18)));
23959 SWIG_Python_SetConstant(d, "STC_T3_USER3",SWIG_From_int(static_cast< int >(19)));
23960 SWIG_Python_SetConstant(d, "STC_REBOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23961 SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23962 SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
23963 SWIG_Python_SetConstant(d, "STC_REBOL_PREFACE",SWIG_From_int(static_cast< int >(3)));
23964 SWIG_Python_SetConstant(d, "STC_REBOL_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23965 SWIG_Python_SetConstant(d, "STC_REBOL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23966 SWIG_Python_SetConstant(d, "STC_REBOL_QUOTEDSTRING",SWIG_From_int(static_cast< int >(6)));
23967 SWIG_Python_SetConstant(d, "STC_REBOL_BRACEDSTRING",SWIG_From_int(static_cast< int >(7)));
23968 SWIG_Python_SetConstant(d, "STC_REBOL_NUMBER",SWIG_From_int(static_cast< int >(8)));
23969 SWIG_Python_SetConstant(d, "STC_REBOL_PAIR",SWIG_From_int(static_cast< int >(9)));
23970 SWIG_Python_SetConstant(d, "STC_REBOL_TUPLE",SWIG_From_int(static_cast< int >(10)));
23971 SWIG_Python_SetConstant(d, "STC_REBOL_BINARY",SWIG_From_int(static_cast< int >(11)));
23972 SWIG_Python_SetConstant(d, "STC_REBOL_MONEY",SWIG_From_int(static_cast< int >(12)));
23973 SWIG_Python_SetConstant(d, "STC_REBOL_ISSUE",SWIG_From_int(static_cast< int >(13)));
23974 SWIG_Python_SetConstant(d, "STC_REBOL_TAG",SWIG_From_int(static_cast< int >(14)));
23975 SWIG_Python_SetConstant(d, "STC_REBOL_FILE",SWIG_From_int(static_cast< int >(15)));
23976 SWIG_Python_SetConstant(d, "STC_REBOL_EMAIL",SWIG_From_int(static_cast< int >(16)));
23977 SWIG_Python_SetConstant(d, "STC_REBOL_URL",SWIG_From_int(static_cast< int >(17)));
23978 SWIG_Python_SetConstant(d, "STC_REBOL_DATE",SWIG_From_int(static_cast< int >(18)));
23979 SWIG_Python_SetConstant(d, "STC_REBOL_TIME",SWIG_From_int(static_cast< int >(19)));
23980 SWIG_Python_SetConstant(d, "STC_REBOL_IDENTIFIER",SWIG_From_int(static_cast< int >(20)));
23981 SWIG_Python_SetConstant(d, "STC_REBOL_WORD",SWIG_From_int(static_cast< int >(21)));
23982 SWIG_Python_SetConstant(d, "STC_REBOL_WORD2",SWIG_From_int(static_cast< int >(22)));
23983 SWIG_Python_SetConstant(d, "STC_REBOL_WORD3",SWIG_From_int(static_cast< int >(23)));
23984 SWIG_Python_SetConstant(d, "STC_REBOL_WORD4",SWIG_From_int(static_cast< int >(24)));
23985 SWIG_Python_SetConstant(d, "STC_REBOL_WORD5",SWIG_From_int(static_cast< int >(25)));
23986 SWIG_Python_SetConstant(d, "STC_REBOL_WORD6",SWIG_From_int(static_cast< int >(26)));
23987 SWIG_Python_SetConstant(d, "STC_REBOL_WORD7",SWIG_From_int(static_cast< int >(27)));
23988 SWIG_Python_SetConstant(d, "STC_REBOL_WORD8",SWIG_From_int(static_cast< int >(28)));
23989 SWIG_Python_SetConstant(d, "STC_SQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23990 SWIG_Python_SetConstant(d, "STC_SQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23991 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23992 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23993 SWIG_Python_SetConstant(d, "STC_SQL_NUMBER",SWIG_From_int(static_cast< int >(4)));
23994 SWIG_Python_SetConstant(d, "STC_SQL_WORD",SWIG_From_int(static_cast< int >(5)));
23995 SWIG_Python_SetConstant(d, "STC_SQL_STRING",SWIG_From_int(static_cast< int >(6)));
23996 SWIG_Python_SetConstant(d, "STC_SQL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23997 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS",SWIG_From_int(static_cast< int >(8)));
23998 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_PROMPT",SWIG_From_int(static_cast< int >(9)));
23999 SWIG_Python_SetConstant(d, "STC_SQL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24000 SWIG_Python_SetConstant(d, "STC_SQL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24001 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_COMMENT",SWIG_From_int(static_cast< int >(13)));
24002 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
24003 SWIG_Python_SetConstant(d, "STC_SQL_WORD2",SWIG_From_int(static_cast< int >(16)));
24004 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
24005 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
24006 SWIG_Python_SetConstant(d, "STC_SQL_USER1",SWIG_From_int(static_cast< int >(19)));
24007 SWIG_Python_SetConstant(d, "STC_SQL_USER2",SWIG_From_int(static_cast< int >(20)));
24008 SWIG_Python_SetConstant(d, "STC_SQL_USER3",SWIG_From_int(static_cast< int >(21)));
24009 SWIG_Python_SetConstant(d, "STC_SQL_USER4",SWIG_From_int(static_cast< int >(22)));
24010 SWIG_Python_SetConstant(d, "STC_SQL_QUOTEDIDENTIFIER",SWIG_From_int(static_cast< int >(23)));
24011 SWIG_Python_SetConstant(d, "STC_ST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24012 SWIG_Python_SetConstant(d, "STC_ST_STRING",SWIG_From_int(static_cast< int >(1)));
24013 SWIG_Python_SetConstant(d, "STC_ST_NUMBER",SWIG_From_int(static_cast< int >(2)));
24014 SWIG_Python_SetConstant(d, "STC_ST_COMMENT",SWIG_From_int(static_cast< int >(3)));
24015 SWIG_Python_SetConstant(d, "STC_ST_SYMBOL",SWIG_From_int(static_cast< int >(4)));
24016 SWIG_Python_SetConstant(d, "STC_ST_BINARY",SWIG_From_int(static_cast< int >(5)));
24017 SWIG_Python_SetConstant(d, "STC_ST_BOOL",SWIG_From_int(static_cast< int >(6)));
24018 SWIG_Python_SetConstant(d, "STC_ST_SELF",SWIG_From_int(static_cast< int >(7)));
24019 SWIG_Python_SetConstant(d, "STC_ST_SUPER",SWIG_From_int(static_cast< int >(8)));
24020 SWIG_Python_SetConstant(d, "STC_ST_NIL",SWIG_From_int(static_cast< int >(9)));
24021 SWIG_Python_SetConstant(d, "STC_ST_GLOBAL",SWIG_From_int(static_cast< int >(10)));
24022 SWIG_Python_SetConstant(d, "STC_ST_RETURN",SWIG_From_int(static_cast< int >(11)));
24023 SWIG_Python_SetConstant(d, "STC_ST_SPECIAL",SWIG_From_int(static_cast< int >(12)));
24024 SWIG_Python_SetConstant(d, "STC_ST_KWSEND",SWIG_From_int(static_cast< int >(13)));
24025 SWIG_Python_SetConstant(d, "STC_ST_ASSIGN",SWIG_From_int(static_cast< int >(14)));
24026 SWIG_Python_SetConstant(d, "STC_ST_CHARACTER",SWIG_From_int(static_cast< int >(15)));
24027 SWIG_Python_SetConstant(d, "STC_ST_SPEC_SEL",SWIG_From_int(static_cast< int >(16)));
24028 SWIG_Python_SetConstant(d, "STC_FS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24029 SWIG_Python_SetConstant(d, "STC_FS_COMMENT",SWIG_From_int(static_cast< int >(1)));
24030 SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24031 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24032 SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(4)));
24033 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(5)));
24034 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(6)));
24035 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD",SWIG_From_int(static_cast< int >(7)));
24036 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD2",SWIG_From_int(static_cast< int >(8)));
24037 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD3",SWIG_From_int(static_cast< int >(9)));
24038 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD4",SWIG_From_int(static_cast< int >(10)));
24039 SWIG_Python_SetConstant(d, "STC_FS_NUMBER",SWIG_From_int(static_cast< int >(11)));
24040 SWIG_Python_SetConstant(d, "STC_FS_STRING",SWIG_From_int(static_cast< int >(12)));
24041 SWIG_Python_SetConstant(d, "STC_FS_PREPROCESSOR",SWIG_From_int(static_cast< int >(13)));
24042 SWIG_Python_SetConstant(d, "STC_FS_OPERATOR",SWIG_From_int(static_cast< int >(14)));
24043 SWIG_Python_SetConstant(d, "STC_FS_IDENTIFIER",SWIG_From_int(static_cast< int >(15)));
24044 SWIG_Python_SetConstant(d, "STC_FS_DATE",SWIG_From_int(static_cast< int >(16)));
24045 SWIG_Python_SetConstant(d, "STC_FS_STRINGEOL",SWIG_From_int(static_cast< int >(17)));
24046 SWIG_Python_SetConstant(d, "STC_FS_CONSTANT",SWIG_From_int(static_cast< int >(18)));
24047 SWIG_Python_SetConstant(d, "STC_FS_ASM",SWIG_From_int(static_cast< int >(19)));
24048 SWIG_Python_SetConstant(d, "STC_FS_LABEL",SWIG_From_int(static_cast< int >(20)));
24049 SWIG_Python_SetConstant(d, "STC_FS_ERROR",SWIG_From_int(static_cast< int >(21)));
24050 SWIG_Python_SetConstant(d, "STC_FS_HEXNUMBER",SWIG_From_int(static_cast< int >(22)));
24051 SWIG_Python_SetConstant(d, "STC_FS_BINNUMBER",SWIG_From_int(static_cast< int >(23)));
24052 SWIG_Python_SetConstant(d, "STC_CSOUND_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24053 SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENT",SWIG_From_int(static_cast< int >(1)));
24054 SWIG_Python_SetConstant(d, "STC_CSOUND_NUMBER",SWIG_From_int(static_cast< int >(2)));
24055 SWIG_Python_SetConstant(d, "STC_CSOUND_OPERATOR",SWIG_From_int(static_cast< int >(3)));
24056 SWIG_Python_SetConstant(d, "STC_CSOUND_INSTR",SWIG_From_int(static_cast< int >(4)));
24057 SWIG_Python_SetConstant(d, "STC_CSOUND_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
24058 SWIG_Python_SetConstant(d, "STC_CSOUND_OPCODE",SWIG_From_int(static_cast< int >(6)));
24059 SWIG_Python_SetConstant(d, "STC_CSOUND_HEADERSTMT",SWIG_From_int(static_cast< int >(7)));
24060 SWIG_Python_SetConstant(d, "STC_CSOUND_USERKEYWORD",SWIG_From_int(static_cast< int >(8)));
24061 SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENTBLOCK",SWIG_From_int(static_cast< int >(9)));
24062 SWIG_Python_SetConstant(d, "STC_CSOUND_PARAM",SWIG_From_int(static_cast< int >(10)));
24063 SWIG_Python_SetConstant(d, "STC_CSOUND_ARATE_VAR",SWIG_From_int(static_cast< int >(11)));
24064 SWIG_Python_SetConstant(d, "STC_CSOUND_KRATE_VAR",SWIG_From_int(static_cast< int >(12)));
24065 SWIG_Python_SetConstant(d, "STC_CSOUND_IRATE_VAR",SWIG_From_int(static_cast< int >(13)));
24066 SWIG_Python_SetConstant(d, "STC_CSOUND_GLOBAL_VAR",SWIG_From_int(static_cast< int >(14)));
24067 SWIG_Python_SetConstant(d, "STC_CSOUND_STRINGEOL",SWIG_From_int(static_cast< int >(15)));
24068 SWIG_Python_SetConstant(d, "STC_CMD_REDO",SWIG_From_int(static_cast< int >(2011)));
24069 SWIG_Python_SetConstant(d, "STC_CMD_SELECTALL",SWIG_From_int(static_cast< int >(2013)));
24070 SWIG_Python_SetConstant(d, "STC_CMD_UNDO",SWIG_From_int(static_cast< int >(2176)));
24071 SWIG_Python_SetConstant(d, "STC_CMD_CUT",SWIG_From_int(static_cast< int >(2177)));
24072 SWIG_Python_SetConstant(d, "STC_CMD_COPY",SWIG_From_int(static_cast< int >(2178)));
24073 SWIG_Python_SetConstant(d, "STC_CMD_PASTE",SWIG_From_int(static_cast< int >(2179)));
24074 SWIG_Python_SetConstant(d, "STC_CMD_CLEAR",SWIG_From_int(static_cast< int >(2180)));
24075 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWN",SWIG_From_int(static_cast< int >(2300)));
24076 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNEXTEND",SWIG_From_int(static_cast< int >(2301)));
24077 SWIG_Python_SetConstant(d, "STC_CMD_LINEUP",SWIG_From_int(static_cast< int >(2302)));
24078 SWIG_Python_SetConstant(d, "STC_CMD_LINEUPEXTEND",SWIG_From_int(static_cast< int >(2303)));
24079 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFT",SWIG_From_int(static_cast< int >(2304)));
24080 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTEXTEND",SWIG_From_int(static_cast< int >(2305)));
24081 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHT",SWIG_From_int(static_cast< int >(2306)));
24082 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTEXTEND",SWIG_From_int(static_cast< int >(2307)));
24083 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFT",SWIG_From_int(static_cast< int >(2308)));
24084 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEXTEND",SWIG_From_int(static_cast< int >(2309)));
24085 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHT",SWIG_From_int(static_cast< int >(2310)));
24086 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEXTEND",SWIG_From_int(static_cast< int >(2311)));
24087 SWIG_Python_SetConstant(d, "STC_CMD_HOME",SWIG_From_int(static_cast< int >(2312)));
24088 SWIG_Python_SetConstant(d, "STC_CMD_HOMEEXTEND",SWIG_From_int(static_cast< int >(2313)));
24089 SWIG_Python_SetConstant(d, "STC_CMD_LINEEND",SWIG_From_int(static_cast< int >(2314)));
24090 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDEXTEND",SWIG_From_int(static_cast< int >(2315)));
24091 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTART",SWIG_From_int(static_cast< int >(2316)));
24092 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTARTEXTEND",SWIG_From_int(static_cast< int >(2317)));
24093 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTEND",SWIG_From_int(static_cast< int >(2318)));
24094 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTENDEXTEND",SWIG_From_int(static_cast< int >(2319)));
24095 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUP",SWIG_From_int(static_cast< int >(2320)));
24096 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPEXTEND",SWIG_From_int(static_cast< int >(2321)));
24097 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWN",SWIG_From_int(static_cast< int >(2322)));
24098 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2323)));
24099 SWIG_Python_SetConstant(d, "STC_CMD_EDITTOGGLEOVERTYPE",SWIG_From_int(static_cast< int >(2324)));
24100 SWIG_Python_SetConstant(d, "STC_CMD_CANCEL",SWIG_From_int(static_cast< int >(2325)));
24101 SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACK",SWIG_From_int(static_cast< int >(2326)));
24102 SWIG_Python_SetConstant(d, "STC_CMD_TAB",SWIG_From_int(static_cast< int >(2327)));
24103 SWIG_Python_SetConstant(d, "STC_CMD_BACKTAB",SWIG_From_int(static_cast< int >(2328)));
24104 SWIG_Python_SetConstant(d, "STC_CMD_NEWLINE",SWIG_From_int(static_cast< int >(2329)));
24105 SWIG_Python_SetConstant(d, "STC_CMD_FORMFEED",SWIG_From_int(static_cast< int >(2330)));
24106 SWIG_Python_SetConstant(d, "STC_CMD_VCHOME",SWIG_From_int(static_cast< int >(2331)));
24107 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEEXTEND",SWIG_From_int(static_cast< int >(2332)));
24108 SWIG_Python_SetConstant(d, "STC_CMD_ZOOMIN",SWIG_From_int(static_cast< int >(2333)));
24109 SWIG_Python_SetConstant(d, "STC_CMD_ZOOMOUT",SWIG_From_int(static_cast< int >(2334)));
24110 SWIG_Python_SetConstant(d, "STC_CMD_DELWORDLEFT",SWIG_From_int(static_cast< int >(2335)));
24111 SWIG_Python_SetConstant(d, "STC_CMD_DELWORDRIGHT",SWIG_From_int(static_cast< int >(2336)));
24112 SWIG_Python_SetConstant(d, "STC_CMD_LINECUT",SWIG_From_int(static_cast< int >(2337)));
24113 SWIG_Python_SetConstant(d, "STC_CMD_LINEDELETE",SWIG_From_int(static_cast< int >(2338)));
24114 SWIG_Python_SetConstant(d, "STC_CMD_LINETRANSPOSE",SWIG_From_int(static_cast< int >(2339)));
24115 SWIG_Python_SetConstant(d, "STC_CMD_LINEDUPLICATE",SWIG_From_int(static_cast< int >(2404)));
24116 SWIG_Python_SetConstant(d, "STC_CMD_LOWERCASE",SWIG_From_int(static_cast< int >(2340)));
24117 SWIG_Python_SetConstant(d, "STC_CMD_UPPERCASE",SWIG_From_int(static_cast< int >(2341)));
24118 SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLDOWN",SWIG_From_int(static_cast< int >(2342)));
24119 SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLUP",SWIG_From_int(static_cast< int >(2343)));
24120 SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACKNOTLINE",SWIG_From_int(static_cast< int >(2344)));
24121 SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAY",SWIG_From_int(static_cast< int >(2345)));
24122 SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2346)));
24123 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAY",SWIG_From_int(static_cast< int >(2347)));
24124 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2348)));
24125 SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAP",SWIG_From_int(static_cast< int >(2349)));
24126 SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2450)));
24127 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAP",SWIG_From_int(static_cast< int >(2451)));
24128 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAPEXTEND",SWIG_From_int(static_cast< int >(2452)));
24129 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAP",SWIG_From_int(static_cast< int >(2453)));
24130 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2454)));
24131 SWIG_Python_SetConstant(d, "STC_CMD_LINECOPY",SWIG_From_int(static_cast< int >(2455)));
24132 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFT",SWIG_From_int(static_cast< int >(2390)));
24133 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFTEXTEND",SWIG_From_int(static_cast< int >(2391)));
24134 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHT",SWIG_From_int(static_cast< int >(2392)));
24135 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHTEXTEND",SWIG_From_int(static_cast< int >(2393)));
24136 SWIG_Python_SetConstant(d, "STC_CMD_DELLINELEFT",SWIG_From_int(static_cast< int >(2395)));
24137 SWIG_Python_SetConstant(d, "STC_CMD_DELLINERIGHT",SWIG_From_int(static_cast< int >(2396)));
24138 SWIG_Python_SetConstant(d, "STC_CMD_PARADOWN",SWIG_From_int(static_cast< int >(2413)));
24139 SWIG_Python_SetConstant(d, "STC_CMD_PARADOWNEXTEND",SWIG_From_int(static_cast< int >(2414)));
24140 SWIG_Python_SetConstant(d, "STC_CMD_PARAUP",SWIG_From_int(static_cast< int >(2415)));
24141 SWIG_Python_SetConstant(d, "STC_CMD_PARAUPEXTEND",SWIG_From_int(static_cast< int >(2416)));
24142 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2426)));
24143 SWIG_Python_SetConstant(d, "STC_CMD_LINEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2427)));
24144 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTRECTEXTEND",SWIG_From_int(static_cast< int >(2428)));
24145 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTRECTEXTEND",SWIG_From_int(static_cast< int >(2429)));
24146 SWIG_Python_SetConstant(d, "STC_CMD_HOMERECTEXTEND",SWIG_From_int(static_cast< int >(2430)));
24147 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMERECTEXTEND",SWIG_From_int(static_cast< int >(2431)));
24148 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDRECTEXTEND",SWIG_From_int(static_cast< int >(2432)));
24149 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2433)));
24150 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2434)));
24151 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUP",SWIG_From_int(static_cast< int >(2435)));
24152 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUPEXTEND",SWIG_From_int(static_cast< int >(2436)));
24153 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWN",SWIG_From_int(static_cast< int >(2437)));
24154 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2438)));
24155 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEND",SWIG_From_int(static_cast< int >(2439)));
24156 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTENDEXTEND",SWIG_From_int(static_cast< int >(2440)));
24157 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEND",SWIG_From_int(static_cast< int >(2441)));
24158 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTENDEXTEND",SWIG_From_int(static_cast< int >(2442)));
24159 SWIG_Python_SetConstant(d, "wxEVT_STC_CHANGE",SWIG_From_int(static_cast< int >(wxEVT_STC_CHANGE)));
24160 SWIG_Python_SetConstant(d, "wxEVT_STC_STYLENEEDED",SWIG_From_int(static_cast< int >(wxEVT_STC_STYLENEEDED)));
24161 SWIG_Python_SetConstant(d, "wxEVT_STC_CHARADDED",SWIG_From_int(static_cast< int >(wxEVT_STC_CHARADDED)));
24162 SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTREACHED",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTREACHED)));
24163 SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTLEFT",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTLEFT)));
24164 SWIG_Python_SetConstant(d, "wxEVT_STC_ROMODIFYATTEMPT",SWIG_From_int(static_cast< int >(wxEVT_STC_ROMODIFYATTEMPT)));
24165 SWIG_Python_SetConstant(d, "wxEVT_STC_KEY",SWIG_From_int(static_cast< int >(wxEVT_STC_KEY)));
24166 SWIG_Python_SetConstant(d, "wxEVT_STC_DOUBLECLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_DOUBLECLICK)));
24167 SWIG_Python_SetConstant(d, "wxEVT_STC_UPDATEUI",SWIG_From_int(static_cast< int >(wxEVT_STC_UPDATEUI)));
24168 SWIG_Python_SetConstant(d, "wxEVT_STC_MODIFIED",SWIG_From_int(static_cast< int >(wxEVT_STC_MODIFIED)));
24169 SWIG_Python_SetConstant(d, "wxEVT_STC_MACRORECORD",SWIG_From_int(static_cast< int >(wxEVT_STC_MACRORECORD)));
24170 SWIG_Python_SetConstant(d, "wxEVT_STC_MARGINCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_MARGINCLICK)));
24171 SWIG_Python_SetConstant(d, "wxEVT_STC_NEEDSHOWN",SWIG_From_int(static_cast< int >(wxEVT_STC_NEEDSHOWN)));
24172 SWIG_Python_SetConstant(d, "wxEVT_STC_PAINTED",SWIG_From_int(static_cast< int >(wxEVT_STC_PAINTED)));
24173 SWIG_Python_SetConstant(d, "wxEVT_STC_USERLISTSELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_USERLISTSELECTION)));
24174 SWIG_Python_SetConstant(d, "wxEVT_STC_URIDROPPED",SWIG_From_int(static_cast< int >(wxEVT_STC_URIDROPPED)));
24175 SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLSTART",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLSTART)));
24176 SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLEND",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLEND)));
24177 SWIG_Python_SetConstant(d, "wxEVT_STC_START_DRAG",SWIG_From_int(static_cast< int >(wxEVT_STC_START_DRAG)));
24178 SWIG_Python_SetConstant(d, "wxEVT_STC_DRAG_OVER",SWIG_From_int(static_cast< int >(wxEVT_STC_DRAG_OVER)));
24179 SWIG_Python_SetConstant(d, "wxEVT_STC_DO_DROP",SWIG_From_int(static_cast< int >(wxEVT_STC_DO_DROP)));
24180 SWIG_Python_SetConstant(d, "wxEVT_STC_ZOOM",SWIG_From_int(static_cast< int >(wxEVT_STC_ZOOM)));
24181 SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_CLICK)));
24182 SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_DCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_DCLICK)));
24183 SWIG_Python_SetConstant(d, "wxEVT_STC_CALLTIP_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_CALLTIP_CLICK)));
24184 SWIG_Python_SetConstant(d, "wxEVT_STC_AUTOCOMP_SELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_AUTOCOMP_SELECTION)));
24185
24186
d14a1e28
RD
24187}
24188