]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/stc/mac/stc_wrap.cpp
reSWIGged
[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).
32fe5131 3 * Version 1.3.27
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
d14a1e28
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 26};
d14a1e28
RD
27#endif
28
32fe5131
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d14a1e28 35
32fe5131
RD
36/* template workaround for compilers that cannot correctly implement the C++ standard */
37#ifndef SWIGTEMPLATEDISAMBIGUATOR
38# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
36ed4f51 40# else
32fe5131 41# define SWIGTEMPLATEDISAMBIGUATOR
36ed4f51
RD
42# endif
43#endif
d14a1e28 44
32fe5131
RD
45/* inline attribute */
46#ifndef SWIGINLINE
47# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48# define SWIGINLINE inline
49# else
50# define SWIGINLINE
51# endif
52#endif
53
54/* attribute recognised by some compilers to avoid 'unused' warnings */
55#ifndef SWIGUNUSED
56# if defined(__GNUC__) || defined(__ICC)
57# define SWIGUNUSED __attribute__ ((unused))
58# else
59# define SWIGUNUSED
60# endif
61#endif
62
63/* internal SWIG method */
64#ifndef SWIGINTERN
65# define SWIGINTERN static SWIGUNUSED
66#endif
67
68/* internal inline SWIG method */
69#ifndef SWIGINTERNINLINE
70# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71#endif
72
73/* exporting methods for Windows DLLs */
74#ifndef SWIGEXPORT
75# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76# if defined(STATIC_LINKED)
77# define SWIGEXPORT
78# else
79# define SWIGEXPORT __declspec(dllexport)
80# endif
81# else
82# define SWIGEXPORT
83# endif
84#endif
85
86/* calling conventions for Windows */
87#ifndef SWIGSTDCALL
88# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89# define SWIGSTDCALL __stdcall
90# else
91# define SWIGSTDCALL
92# endif
93#endif
94
95
c9c7117a 96
36ed4f51 97#include <Python.h>
d14a1e28
RD
98
99/***********************************************************************
36ed4f51 100 * swigrun.swg
d14a1e28 101 *
36ed4f51
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d14a1e28
RD
104 *
105 ************************************************************************/
106
36ed4f51
RD
107/* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
32fe5131 109#define SWIG_RUNTIME_VERSION "2"
d14a1e28 110
36ed4f51
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
32fe5131
RD
113# define SWIG_QUOTE_STRING(x) #x
114# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 116#else
32fe5131 117# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
118#endif
119
120/*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127*/
32fe5131 128
36ed4f51 129#ifndef SWIGRUNTIME
32fe5131 130# define SWIGRUNTIME SWIGINTERN
36ed4f51 131#endif
32fe5131 132
36ed4f51 133#ifndef SWIGRUNTIMEINLINE
32fe5131 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
135#endif
136
32fe5131
RD
137#include <string.h>
138
d14a1e28
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143typedef void *(*swig_converter_func)(void *);
144typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
32fe5131 146/* Structure to store inforomation on one type */
d14a1e28 147typedef struct swig_type_info {
32fe5131
RD
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
d14a1e28
RD
153} swig_type_info;
154
32fe5131
RD
155/* Structure to store a type and conversion function used for casting */
156typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161} swig_cast_info;
162
163/* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173} swig_module_info;
174
175
36ed4f51
RD
176/*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182*/
183SWIGRUNTIME int
184SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
32fe5131 189 if (*f1 != *f2) return (int)(*f1 - *f2);
36ed4f51
RD
190 }
191 return (l1 - f1) - (l2 - f2);
192}
193
194/*
195 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 196 Return 0 if not equal, 1 if equal
36ed4f51
RD
197*/
198SWIGRUNTIME int
199SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
32fe5131 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
32fe5131
RD
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 216*/
32fe5131
RD
217SWIGRUNTIME int
218SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
36ed4f51 225 }
32fe5131
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
36ed4f51 228 }
32fe5131 229 return equiv;
36ed4f51
RD
230}
231
32fe5131
RD
232
233/* think of this as a c++ template<> or a scheme macro */
234#define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
36ed4f51
RD
255/*
256 Check the typename
257*/
32fe5131 258SWIGRUNTIME swig_cast_info *
36ed4f51 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261}
262
263/* Same as previous function, except strcmp is replaced with a pointer comparison */
264SWIGRUNTIME swig_cast_info *
265SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
267}
268
269/*
270 Cast a pointer up an inheritance hierarchy
271*/
272SWIGRUNTIMEINLINE void *
32fe5131 273SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
RD
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275}
276
277/*
278 Dynamic pointer casting. Down an inheritance hierarchy
279*/
280SWIGRUNTIME swig_type_info *
281SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289}
290
291/*
292 Return the name associated with this type
293*/
294SWIGRUNTIMEINLINE const char *
295SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297}
298
299/*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302*/
303SWIGRUNTIME const char *
304SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318}
319
36ed4f51
RD
320/*
321 Set the clientdata field for a type
322*/
323SWIGRUNTIME void
32fe5131
RD
324SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
36ed4f51
RD
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
32fe5131
RD
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
36ed4f51 334 }
32fe5131
RD
335 }
336 cast = cast->next;
337 }
338}
339
340/*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347*/
348SWIGRUNTIME swig_type_info *
349SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
36ed4f51 378 }
32fe5131
RD
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382}
383
384/*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392*/
393SWIGRUNTIME swig_type_info *
394SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
36ed4f51 413 }
32fe5131
RD
414
415 /* neither found a match */
416 return 0;
36ed4f51
RD
417}
418
32fe5131 419
36ed4f51
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
36ed4f51 428 for (; u != eu; ++u) {
32fe5131 429 register unsigned char uu = *u;
36ed4f51
RD
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434}
435
436/*
437 Unpack binary data from a string
438*/
439SWIGRUNTIME const char *
440SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
32fe5131 442 register const unsigned char *eu = u + sz;
36ed4f51 443 for (; u != eu; ++u) {
32fe5131 444 register char d = *(c++);
36ed4f51
RD
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462}
463
36ed4f51
RD
464/*
465 Pack 'void *' into a string buffer.
466*/
467SWIGRUNTIME char *
468SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476}
477
478SWIGRUNTIME const char *
479SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489}
490
491SWIGRUNTIME char *
492SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504}
d14a1e28 505
36ed4f51
RD
506SWIGRUNTIME const char *
507SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517}
d14a1e28
RD
518
519#ifdef __cplusplus
520}
521#endif
522
36ed4f51
RD
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
d14a1e28 526
36ed4f51
RD
527#ifdef __cplusplus
528extern "C" {
529#endif
c370783e 530
36ed4f51
RD
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
d14a1e28 534
36ed4f51 535#ifndef SWIGINTERN
32fe5131 536# define SWIGINTERN static SWIGUNUSED
36ed4f51 537#endif
d14a1e28 538
32fe5131
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
36ed4f51 541#endif
d14a1e28 542
36ed4f51
RD
543/*
544 Exception handling in wrappers
545*/
546#define SWIG_fail goto fail
547#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553/*
554 Contract support
555*/
556#define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559/* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
d14a1e28 562
36ed4f51
RD
563/* Constant Types */
564#define SWIG_PY_INT 1
565#define SWIG_PY_FLOAT 2
566#define SWIG_PY_STRING 3
567#define SWIG_PY_POINTER 4
568#define SWIG_PY_BINARY 5
569
570/* Constant information structure */
571typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578} swig_const_info;
d14a1e28 579
c370783e 580
36ed4f51
RD
581/* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
c370783e
RD
584#define SWIG_OLDOBJ 1
585#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586#define SWIG_PYSTR SWIG_NEWOBJ + 1
994141e6 587
994141e6 588#ifdef __cplusplus
36ed4f51
RD
589}
590#endif
15afbcd0 591
15afbcd0 592
36ed4f51
RD
593/***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
994141e6 602
36ed4f51
RD
603/* Common SWIG API */
604#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
994141e6 608
36ed4f51
RD
609/* Python-specific SWIG API */
610#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
994141e6 612
32fe5131
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
994141e6 616
36ed4f51
RD
617/* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620/*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624*/
625#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626# define SWIG_COBJECT_TYPES
627#endif
d14a1e28 628
36ed4f51
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d14a1e28
RD
632
633
32fe5131
RD
634/* Add PyOS_snprintf for old Pythons */
635#if PY_VERSION_HEX < 0x02020000
636#define PyOS_snprintf snprintf
637#endif
638
36ed4f51
RD
639#ifdef __cplusplus
640extern "C" {
641#endif
15afbcd0 642
36ed4f51
RD
643/* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
36ed4f51
RD
646#ifndef SWIG_BUFFER_SIZE
647#define SWIG_BUFFER_SIZE 1024
648#endif
15afbcd0 649
32fe5131
RD
650/* A crude PyString_FromFormat implementation for old Pythons */
651#if PY_VERSION_HEX < 0x02020000
652static PyObject *
653PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661}
662#endif
663
664#if PY_VERSION_HEX < 0x01060000
665#define PyObject_Del(op) PyMem_DEL((op))
666#endif
667
36ed4f51
RD
668#if defined(SWIG_COBJECT_TYPES)
669#if !defined(SWIG_COBJECT_PYTHON)
670/* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
15afbcd0 673
36ed4f51
RD
674typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678} PySwigObject;
15afbcd0 679
36ed4f51 680/* Declarations for objects of type PySwigObject */
15afbcd0 681
36ed4f51
RD
682SWIGRUNTIME int
683PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
684{
685 char result[SWIG_BUFFER_SIZE];
32fe5131 686 flags = flags;
36ed4f51
RD
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
c370783e 690 } else {
36ed4f51 691 return 1;
c370783e 692 }
994141e6 693}
36ed4f51
RD
694
695SWIGRUNTIME PyObject *
696PySwigObject_repr(PySwigObject *v)
c370783e 697{
36ed4f51
RD
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
c370783e 701}
994141e6 702
36ed4f51
RD
703SWIGRUNTIME PyObject *
704PySwigObject_str(PySwigObject *v)
994141e6 705{
36ed4f51
RD
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
15afbcd0
RD
709}
710
36ed4f51
RD
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
15afbcd0 713{
32fe5131
RD
714 return PyLong_FromVoidPtr(v->ptr);
715}
716
717SWIGRUNTIME PyObject *
718PySwigObject_format(const char* fmt, PySwigObject *v)
719{
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
994141e6
RD
731}
732
36ed4f51
RD
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
c370783e 735{
32fe5131 736 return PySwigObject_format("%o",v);
c370783e 737}
994141e6 738
36ed4f51
RD
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
994141e6 741{
32fe5131 742 return PySwigObject_format("%x",v);
994141e6
RD
743}
744
36ed4f51
RD
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
15afbcd0 747{
36ed4f51
RD
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
32fe5131 750 return (c > 0) ? 1 : -1;
36ed4f51
RD
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
32fe5131 754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
c370783e 755 }
36ed4f51
RD
756}
757
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
760{
32fe5131 761 PyObject_Del(self);
36ed4f51
RD
762}
763
764SWIGRUNTIME PyTypeObject*
32fe5131
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
36ed4f51
RD
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 793#if PY_VERSION_HEX >= 0x02020000
36ed4f51 794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
795#elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
797#endif
798 };
799
32fe5131
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
36ed4f51 804 if (!type_init) {
32fe5131
RD
805 PyTypeObject tmp
806#endif
807 = {
36ed4f51
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
32fe5131 810 (char *)"PySwigObject", /*tp_name*/
36ed4f51
RD
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
32fe5131
RD
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
36ed4f51
RD
829#if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832#endif
833#if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836#endif
837#if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839#endif
840#if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842#endif
843#ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845#endif
846 };
32fe5131
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
36ed4f51 849 type_init = 1;
c370783e 850 }
32fe5131
RD
851#endif
852 return &pyswigobject_type;
36ed4f51
RD
853}
854
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857{
32fe5131
RD
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
36ed4f51
RD
863 return (PyObject *)self;
864}
865
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
868{
869 return ((PySwigObject *)self)->ptr;
870}
871
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
874{
875 return ((PySwigObject *)self)->desc;
876}
877
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
32fe5131 880 return ((op)->ob_type == PySwigObject_type())
36ed4f51
RD
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
883
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893} PySwigPacked;
894
895SWIGRUNTIME int
896PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897{
898 char result[SWIG_BUFFER_SIZE];
32fe5131 899 flags = flags;
36ed4f51
RD
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
c370783e 904 }
36ed4f51
RD
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908}
909
910SWIGRUNTIME PyObject *
911PySwigPacked_repr(PySwigPacked *v)
912{
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
c370783e
RD
919}
920
36ed4f51
RD
921SWIGRUNTIME PyObject *
922PySwigPacked_str(PySwigPacked *v)
923{
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
32fe5131 928 return PyString_FromString(v->desc);
36ed4f51
RD
929 }
930}
c370783e 931
36ed4f51
RD
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
c370783e 934{
36ed4f51
RD
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
32fe5131 937 return (c > 0) ? 1 : -1;
36ed4f51
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
32fe5131 941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51 942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c370783e 943 }
c370783e
RD
944}
945
36ed4f51
RD
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
c370783e 948{
36ed4f51 949 free(self->pack);
32fe5131 950 PyObject_Del(self);
15afbcd0
RD
951}
952
36ed4f51 953SWIGRUNTIME PyTypeObject*
32fe5131
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
36ed4f51 956 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
36ed4f51 961 if (!type_init) {
32fe5131
RD
962 PyTypeObject tmp
963#endif
964 = {
36ed4f51
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
32fe5131 967 (char *)"PySwigPacked", /*tp_name*/
36ed4f51
RD
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
32fe5131
RD
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
36ed4f51
RD
986#if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989#endif
990#if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993#endif
994#if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996#endif
997#if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999#endif
1000#ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002#endif
1003 };
32fe5131
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
36ed4f51
RD
1006 type_init = 1;
1007 }
32fe5131
RD
1008#endif
1009 return &pyswigpacked_type;
36ed4f51
RD
1010}
1011
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
32fe5131 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
36ed4f51
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
32fe5131
RD
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
629e65c2 1028 }
36ed4f51
RD
1029}
1030
1031SWIGRUNTIMEINLINE const char *
1032PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033{
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038}
1039
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
1042{
1043 return ((PySwigPacked *)self)->desc;
1044}
1045
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
32fe5131 1048 return ((op)->ob_type == PySwigPacked_type())
36ed4f51
RD
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
d14a1e28 1051
36ed4f51
RD
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
15afbcd0 1056
36ed4f51
RD
1057#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058#define PySwigObject_Check(obj) PyCObject_Check(obj)
1059#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
c370783e 1061
36ed4f51
RD
1062#endif
1063
1064#endif
1065
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
15afbcd0 1072{
36ed4f51
RD
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
32fe5131 1075 if (obj && PySwigObject_Check(obj)) {
36ed4f51
RD
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083#endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
c370783e 1095 }
32fe5131 1096 Py_XDECREF(str);
36ed4f51 1097 return;
c370783e 1098 }
36ed4f51
RD
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
15afbcd0
RD
1103 }
1104}
1105
36ed4f51
RD
1106SWIGRUNTIMEINLINE void
1107SWIG_Python_NullRef(const char *type)
1108{
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114}
15afbcd0 1115
36ed4f51
RD
1116SWIGRUNTIME int
1117SWIG_Python_AddErrMesg(const char* mesg, int infront)
15afbcd0 1118{
36ed4f51
RD
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
c370783e 1135 return 1;
36ed4f51
RD
1136 } else {
1137 return 0;
c370783e 1138 }
15afbcd0
RD
1139}
1140
36ed4f51
RD
1141SWIGRUNTIME int
1142SWIG_Python_ArgFail(int argnum)
1143{
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
32fe5131 1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
36ed4f51
RD
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
b2dc1044
RD
1152}
1153
1154
36ed4f51
RD
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
32fe5131 1162 swig_cast_info *tc;
36ed4f51
RD
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175#ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
b2dc1044 1192#else
36ed4f51
RD
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
32fe5131 1205 c = PyString_AsString(obj);
36ed4f51
RD
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
b2dc1044 1210#endif
b2dc1044 1211
36ed4f51 1212type_check:
36ed4f51
RD
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
36ed4f51
RD
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
32fe5131 1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
36ed4f51
RD
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
d14a1e28 1238 }
36ed4f51
RD
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
d14a1e28 1245 }
36ed4f51
RD
1246 }
1247 return -1;
1248}
1249
1250/* Convert a pointer value, signal an exception on a type mismatch */
1251SWIGRUNTIME void *
1252SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
d14a1e28 1259 }
36ed4f51
RD
1260 }
1261 return result;
d14a1e28
RD
1262}
1263
36ed4f51
RD
1264/* Convert a packed value value */
1265SWIGRUNTIME int
1266SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
32fe5131 1267 swig_cast_info *tc;
36ed4f51 1268 const char *c = 0;
d14a1e28 1269
36ed4f51
RD
1270#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272#else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
32fe5131 1274 c = PyString_AsString(obj);
36ed4f51
RD
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277#endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
1284
1285type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
d14a1e28 1292 }
36ed4f51
RD
1293 }
1294 return -1;
1295}
1296
1297/* Create a new array object */
1298SWIGRUNTIME PyObject *
1299SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
32fe5131
RD
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
36ed4f51
RD
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311#ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313#else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319#endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
d14a1e28
RD
1335}
1336
36ed4f51
RD
1337SWIGRUNTIME PyObject *
1338SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346#else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352#endif
1353 return robj;
1354}
d14a1e28 1355
36ed4f51
RD
1356/* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360#ifdef SWIG_LINK_RUNTIME
1361void *SWIG_ReturnGlobalTypeList(void *);
1362#endif
1363
32fe5131
RD
1364SWIGRUNTIME swig_module_info *
1365SWIG_Python_GetModule(void) {
36ed4f51
RD
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369#ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371#else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
d14a1e28 1377 }
36ed4f51 1378#endif
32fe5131
RD
1379 }
1380 return (swig_module_info *) type_pointer;
d14a1e28
RD
1381}
1382
32fe5131
RD
1383#if PY_MAJOR_VERSION < 2
1384/* PyModule_AddObject function was introduced in Python 2.0. The following function
1385is copied out of Python/modsupport.c in python version 2.3.4 */
1386SWIGINTERN int
1387PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388{
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
36ed4f51 1412}
32fe5131 1413#endif
d14a1e28 1414
32fe5131
RD
1415SWIGRUNTIME void
1416SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425}
36ed4f51
RD
1426
1427#ifdef __cplusplus
d14a1e28 1428}
36ed4f51 1429#endif
d14a1e28
RD
1430
1431
36ed4f51
RD
1432/* -------- TYPES TABLE (BEGIN) -------- */
1433
32fe5131
RD
1434#define SWIGTYPE_p_char swig_types[0]
1435#define SWIGTYPE_p_form_ops_t swig_types[1]
1436#define SWIGTYPE_p_int swig_types[2]
1437#define SWIGTYPE_p_unsigned_char swig_types[3]
1438#define SWIGTYPE_p_unsigned_int swig_types[4]
1439#define SWIGTYPE_p_unsigned_long swig_types[5]
1440#define SWIGTYPE_p_void swig_types[6]
1441#define SWIGTYPE_p_wxANIHandler swig_types[7]
1442#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443#define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444#define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445#define SWIGTYPE_p_wxBitmap swig_types[11]
1446#define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447#define SWIGTYPE_p_wxBusyInfo swig_types[13]
1448#define SWIGTYPE_p_wxCURHandler swig_types[14]
1449#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450#define SWIGTYPE_p_wxClipboard swig_types[16]
1451#define SWIGTYPE_p_wxCloseEvent swig_types[17]
1452#define SWIGTYPE_p_wxColour swig_types[18]
1453#define SWIGTYPE_p_wxCommandEvent swig_types[19]
1454#define SWIGTYPE_p_wxContextMenuEvent swig_types[20]
1455#define SWIGTYPE_p_wxControl swig_types[21]
1456#define SWIGTYPE_p_wxControlWithItems swig_types[22]
1457#define SWIGTYPE_p_wxDC swig_types[23]
1458#define SWIGTYPE_p_wxDateEvent swig_types[24]
1459#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[25]
1460#define SWIGTYPE_p_wxDropFilesEvent swig_types[26]
1461#define SWIGTYPE_p_wxDuplexMode swig_types[27]
1462#define SWIGTYPE_p_wxEraseEvent swig_types[28]
1463#define SWIGTYPE_p_wxEvent swig_types[29]
1464#define SWIGTYPE_p_wxEvtHandler swig_types[30]
1465#define SWIGTYPE_p_wxFSFile swig_types[31]
1466#define SWIGTYPE_p_wxFileHistory swig_types[32]
1467#define SWIGTYPE_p_wxFileSystem swig_types[33]
1468#define SWIGTYPE_p_wxFlexGridSizer swig_types[34]
1469#define SWIGTYPE_p_wxFocusEvent swig_types[35]
1470#define SWIGTYPE_p_wxFont swig_types[36]
1471#define SWIGTYPE_p_wxGBSizerItem swig_types[37]
1472#define SWIGTYPE_p_wxGIFHandler swig_types[38]
1473#define SWIGTYPE_p_wxGridBagSizer swig_types[39]
1474#define SWIGTYPE_p_wxGridSizer swig_types[40]
1475#define SWIGTYPE_p_wxICOHandler swig_types[41]
1476#define SWIGTYPE_p_wxIconizeEvent swig_types[42]
1477#define SWIGTYPE_p_wxIdleEvent swig_types[43]
1478#define SWIGTYPE_p_wxImage swig_types[44]
1479#define SWIGTYPE_p_wxImageHandler swig_types[45]
1480#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[46]
1481#define SWIGTYPE_p_wxInitDialogEvent swig_types[47]
1482#define SWIGTYPE_p_wxJPEGHandler swig_types[48]
1483#define SWIGTYPE_p_wxJoystickEvent swig_types[49]
1484#define SWIGTYPE_p_wxKeyEvent swig_types[50]
1485#define SWIGTYPE_p_wxLayoutConstraints swig_types[51]
1486#define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
1487#define SWIGTYPE_p_wxMemoryBuffer swig_types[53]
1488#define SWIGTYPE_p_wxMenu swig_types[54]
1489#define SWIGTYPE_p_wxMenuBar swig_types[55]
1490#define SWIGTYPE_p_wxMenuEvent swig_types[56]
1491#define SWIGTYPE_p_wxMenuItem swig_types[57]
1492#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[58]
1493#define SWIGTYPE_p_wxMouseEvent swig_types[59]
1494#define SWIGTYPE_p_wxMoveEvent swig_types[60]
1495#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[61]
1496#define SWIGTYPE_p_wxNcPaintEvent swig_types[62]
1497#define SWIGTYPE_p_wxNotifyEvent swig_types[63]
1498#define SWIGTYPE_p_wxObject swig_types[64]
1499#define SWIGTYPE_p_wxPCXHandler swig_types[65]
1500#define SWIGTYPE_p_wxPNGHandler swig_types[66]
1501#define SWIGTYPE_p_wxPNMHandler swig_types[67]
1502#define SWIGTYPE_p_wxPaintEvent swig_types[68]
1503#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[69]
1504#define SWIGTYPE_p_wxPaperSize swig_types[70]
1505#define SWIGTYPE_p_wxPoint swig_types[71]
1506#define SWIGTYPE_p_wxProcessEvent swig_types[72]
1507#define SWIGTYPE_p_wxPyApp swig_types[73]
1508#define SWIGTYPE_p_wxPyCommandEvent swig_types[74]
1509#define SWIGTYPE_p_wxPyEvent swig_types[75]
1510#define SWIGTYPE_p_wxPyImageHandler swig_types[76]
1511#define SWIGTYPE_p_wxPyProcess swig_types[77]
1512#define SWIGTYPE_p_wxPySizer swig_types[78]
1513#define SWIGTYPE_p_wxPyTimer swig_types[79]
1514#define SWIGTYPE_p_wxPyValidator swig_types[80]
1515#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[81]
1516#define SWIGTYPE_p_wxRect swig_types[82]
1517#define SWIGTYPE_p_wxScrollBar swig_types[83]
1518#define SWIGTYPE_p_wxScrollEvent swig_types[84]
1519#define SWIGTYPE_p_wxScrollWinEvent swig_types[85]
1520#define SWIGTYPE_p_wxSetCursorEvent swig_types[86]
1521#define SWIGTYPE_p_wxShowEvent swig_types[87]
1522#define SWIGTYPE_p_wxSizeEvent swig_types[88]
1523#define SWIGTYPE_p_wxSizer swig_types[89]
1524#define SWIGTYPE_p_wxSizerItem swig_types[90]
1525#define SWIGTYPE_p_wxStaticBoxSizer swig_types[91]
1526#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[92]
1527#define SWIGTYPE_p_wxStyledTextCtrl swig_types[93]
1528#define SWIGTYPE_p_wxStyledTextEvent swig_types[94]
1529#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[95]
1530#define SWIGTYPE_p_wxSystemOptions swig_types[96]
1531#define SWIGTYPE_p_wxTIFFHandler swig_types[97]
1532#define SWIGTYPE_p_wxTimerEvent swig_types[98]
1533#define SWIGTYPE_p_wxToolTip swig_types[99]
1534#define SWIGTYPE_p_wxUpdateUIEvent swig_types[100]
1535#define SWIGTYPE_p_wxValidator swig_types[101]
1536#define SWIGTYPE_p_wxWindow swig_types[102]
1537#define SWIGTYPE_p_wxWindowCreateEvent swig_types[103]
1538#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[104]
1539#define SWIGTYPE_p_wxXPMHandler swig_types[105]
1540#define SWIGTYPE_ptrdiff_t swig_types[106]
1541#define SWIGTYPE_std__ptrdiff_t swig_types[107]
1542#define SWIGTYPE_unsigned_int swig_types[108]
1543static swig_type_info *swig_types[110];
1544static swig_module_info swig_module = {swig_types, 109, 0, 0, 0, 0};
1545#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1546#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
1547
1548/* -------- TYPES TABLE (END) -------- */
1549
1550
1551/*-----------------------------------------------
1552 @(target):= _stc.so
1553 ------------------------------------------------*/
1554#define SWIG_init init_stc
1555
1556#define SWIG_name "_stc"
1557
1558#include "wx/wxPython/wxPython.h"
1559#include "wx/wxPython/pyclasses.h"
1560#include <wx/stc/stc.h>
1561
1562
1563 static const wxString wxPySTCNameStr(wxSTCNameStr);
1564
32fe5131 1565 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1566#define SWIG_From_int PyInt_FromLong
1567/*@@*/
1568
1569
1570#include <limits.h>
1571
1572
1573SWIGINTERN int
1574 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1575 const char *errmsg)
1576{
1577 if (value < min_value) {
1578 if (errmsg) {
1579 PyErr_Format(PyExc_OverflowError,
1580 "value %ld is less than '%s' minimum %ld",
1581 value, errmsg, min_value);
d14a1e28 1582 }
36ed4f51
RD
1583 return 0;
1584 } else if (value > max_value) {
1585 if (errmsg) {
1586 PyErr_Format(PyExc_OverflowError,
1587 "value %ld is greater than '%s' maximum %ld",
1588 value, errmsg, max_value);
d14a1e28 1589 }
36ed4f51
RD
1590 return 0;
1591 }
1592 return 1;
1593}
1594
1595
1596SWIGINTERN int
1597SWIG_AsVal_long(PyObject* obj, long* val)
1598{
1599 if (PyNumber_Check(obj)) {
1600 if (val) *val = PyInt_AsLong(obj);
1601 return 1;
3adfb63b 1602 }
36ed4f51 1603 else {
7e08d4ef 1604 SWIG_Python_TypeError("number", obj);
3adfb63b 1605 }
36ed4f51 1606 return 0;
d14a1e28
RD
1607}
1608
1609
36ed4f51
RD
1610#if INT_MAX != LONG_MAX
1611SWIGINTERN int
1612 SWIG_AsVal_int(PyObject *obj, int *val)
1613{
1614 const char* errmsg = val ? "int" : (char*)0;
1615 long v;
1616 if (SWIG_AsVal_long(obj, &v)) {
1617 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 1618 if (val) *val = static_cast<int >(v);
36ed4f51
RD
1619 return 1;
1620 } else {
1621 return 0;
d14a1e28 1622 }
36ed4f51
RD
1623 } else {
1624 PyErr_Clear();
1625 }
1626 if (val) {
1627 SWIG_type_error(errmsg, obj);
1628 }
1629 return 0;
d14a1e28 1630}
36ed4f51 1631#else
32fe5131 1632SWIGINTERNINLINE int
36ed4f51
RD
1633 SWIG_AsVal_int(PyObject *obj, int *val)
1634{
1635 return SWIG_AsVal_long(obj,(long*)val);
d14a1e28 1636}
36ed4f51 1637#endif
d14a1e28
RD
1638
1639
32fe5131 1640SWIGINTERNINLINE int
36ed4f51
RD
1641SWIG_As_int(PyObject* obj)
1642{
1643 int v;
1644 if (!SWIG_AsVal_int(obj, &v)) {
1645 /*
1646 this is needed to make valgrind/purify happier.
1647 */
1648 memset((void*)&v, 0, sizeof(int));
1649 }
1650 return v;
d14a1e28
RD
1651}
1652
1653
32fe5131 1654SWIGINTERNINLINE long
36ed4f51
RD
1655SWIG_As_long(PyObject* obj)
1656{
1657 long v;
1658 if (!SWIG_AsVal_long(obj, &v)) {
1659 /*
1660 this is needed to make valgrind/purify happier.
1661 */
1662 memset((void*)&v, 0, sizeof(long));
1663 }
1664 return v;
d14a1e28
RD
1665}
1666
36ed4f51 1667
32fe5131 1668SWIGINTERNINLINE int
36ed4f51
RD
1669SWIG_Check_int(PyObject* obj)
1670{
1671 return SWIG_AsVal_int(obj, (int*)0);
1672}
d14a1e28 1673
36ed4f51 1674
32fe5131 1675SWIGINTERNINLINE int
36ed4f51
RD
1676SWIG_Check_long(PyObject* obj)
1677{
1678 return SWIG_AsVal_long(obj, (long*)0);
d14a1e28
RD
1679}
1680
1681
36ed4f51
RD
1682SWIGINTERN int
1683 SWIG_AsVal_bool(PyObject *obj, bool *val)
1684{
1685 if (obj == Py_True) {
1686 if (val) *val = true;
1687 return 1;
1688 }
1689 if (obj == Py_False) {
1690 if (val) *val = false;
1691 return 1;
1692 }
1693 int res = 0;
1694 if (SWIG_AsVal_int(obj, &res)) {
1695 if (val) *val = res ? true : false;
1696 return 1;
1697 } else {
1698 PyErr_Clear();
1699 }
1700 if (val) {
1701 SWIG_type_error("bool", obj);
1702 }
1703 return 0;
d14a1e28
RD
1704}
1705
1706
32fe5131 1707SWIGINTERNINLINE bool
36ed4f51
RD
1708SWIG_As_bool(PyObject* obj)
1709{
1710 bool v;
1711 if (!SWIG_AsVal_bool(obj, &v)) {
1712 /*
1713 this is needed to make valgrind/purify happier.
1714 */
1715 memset((void*)&v, 0, sizeof(bool));
1716 }
1717 return v;
d14a1e28
RD
1718}
1719
36ed4f51 1720
32fe5131 1721SWIGINTERNINLINE int
36ed4f51
RD
1722SWIG_Check_bool(PyObject* obj)
1723{
1724 return SWIG_AsVal_bool(obj, (bool*)0);
d14a1e28
RD
1725}
1726
1727
7e08d4ef
RD
1728 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1729 {
1730 PyObject* o2;
1731 PyObject* o3;
1732 if (!result) {
1733 result = obj;
1734 } else if (result == Py_None) {
1735 Py_DECREF(result);
1736 result = obj;
1737 } else {
1738 if (!PyTuple_Check(result)) {
1739 o2 = result;
1740 result = PyTuple_New(1);
1741 PyTuple_SET_ITEM(result, 0, o2);
1742 }
1743 o3 = PyTuple_New(1);
1744 PyTuple_SetItem(o3, 0, obj);
1745 o2 = result;
1746 result = PySequence_Concat(o2, o3);
1747 Py_DECREF(o2);
1748 Py_DECREF(o3);
1749 }
1750 return result;
36ed4f51 1751 }
36ed4f51
RD
1752
1753
1754
1755/* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1756SWIGINTERN int
1757SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
1758{
1759 static swig_type_info* pchar_info = 0;
1760 char* vptr = 0;
1761 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
1762 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) {
1763 if (cptr) *cptr = vptr;
1764 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1765 return SWIG_OLDOBJ;
1766 } else {
1767 PyErr_Clear();
1768 if (PyString_Check(obj)) {
1769 if (cptr) {
1770 *cptr = PyString_AS_STRING(obj);
1771 if (psize) {
1772 *psize = PyString_GET_SIZE(obj) + 1;
1773 }
1774 }
1775 return SWIG_PYSTR;
1776 }
1777 }
1778 if (cptr) {
1779 SWIG_type_error("char *", obj);
1780 }
1781 return 0;
1782}
1783
1784
32fe5131 1785SWIGINTERNINLINE int
36ed4f51
RD
1786SWIG_AsCharPtr(PyObject *obj, char **val)
1787{
1788 if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) {
1789 return 1;
1790 }
1791 if (val) {
1792 PyErr_Clear();
1793 SWIG_type_error("char *", obj);
1794 }
1795 return 0;
1796}
1797
1798
32fe5131 1799 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1800#define SWIG_From_long PyInt_FromLong
1801/*@@*/
1802
1803#ifdef __cplusplus
1804extern "C" {
1805#endif
1806static int _wrap_STCNameStr_set(PyObject *) {
1807 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
1808 return 1;
1809}
1810
1811
1812static PyObject *_wrap_STCNameStr_get(void) {
32fe5131 1813 PyObject *pyobj = NULL;
d14a1e28 1814
d14a1e28 1815 {
36ed4f51
RD
1816#if wxUSE_UNICODE
1817 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
1818#else
1819 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
1820#endif
d14a1e28 1821 }
36ed4f51 1822 return pyobj;
d14a1e28
RD
1823}
1824
1825
36ed4f51 1826static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 1827 PyObject *resultobj = NULL;
36ed4f51
RD
1828 wxWindow *arg1 = (wxWindow *) 0 ;
1829 int arg2 = (int) wxID_ANY ;
1830 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1831 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1832 wxSize const &arg4_defvalue = wxDefaultSize ;
1833 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1834 long arg5 = (long) 0 ;
1835 wxString const &arg6_defvalue = wxPySTCNameStr ;
1836 wxString *arg6 = (wxString *) &arg6_defvalue ;
1837 wxStyledTextCtrl *result;
1838 wxPoint temp3 ;
1839 wxSize temp4 ;
1840 bool temp6 = false ;
d14a1e28
RD
1841 PyObject * obj0 = 0 ;
1842 PyObject * obj1 = 0 ;
36ed4f51
RD
1843 PyObject * obj2 = 0 ;
1844 PyObject * obj3 = 0 ;
1845 PyObject * obj4 = 0 ;
1846 PyObject * obj5 = 0 ;
d14a1e28 1847 char *kwnames[] = {
36ed4f51 1848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
1849 };
1850
36ed4f51
RD
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
1853 if (SWIG_arg_fail(1)) SWIG_fail;
1854 if (obj1) {
1855 {
32fe5131 1856 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
1857 if (SWIG_arg_fail(2)) SWIG_fail;
1858 }
1859 }
1860 if (obj2) {
1861 {
1862 arg3 = &temp3;
1863 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1864 }
1865 }
1866 if (obj3) {
1867 {
1868 arg4 = &temp4;
1869 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1870 }
1871 }
1872 if (obj4) {
1873 {
32fe5131 1874 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
1875 if (SWIG_arg_fail(5)) SWIG_fail;
1876 }
1877 }
1878 if (obj5) {
1879 {
1880 arg6 = wxString_in_helper(obj5);
1881 if (arg6 == NULL) SWIG_fail;
1882 temp6 = true;
1883 }
1884 }
d14a1e28 1885 {
36ed4f51 1886 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 1887 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 1888 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
1889
1890 wxPyEndAllowThreads(__tstate);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 }
36ed4f51
RD
1893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
1894 {
1895 if (temp6)
1896 delete arg6;
1897 }
d14a1e28
RD
1898 return resultobj;
1899 fail:
36ed4f51
RD
1900 {
1901 if (temp6)
1902 delete arg6;
1903 }
d14a1e28
RD
1904 return NULL;
1905}
1906
1907
36ed4f51 1908static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 1909 PyObject *resultobj = NULL;
36ed4f51 1910 wxStyledTextCtrl *result;
d14a1e28 1911 char *kwnames[] = {
36ed4f51 1912 NULL
d14a1e28
RD
1913 };
1914
36ed4f51 1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
d14a1e28 1916 {
36ed4f51 1917 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 1918 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 1919 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
d14a1e28
RD
1920
1921 wxPyEndAllowThreads(__tstate);
1922 if (PyErr_Occurred()) SWIG_fail;
1923 }
36ed4f51 1924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
d14a1e28
RD
1925 return resultobj;
1926 fail:
1927 return NULL;
1928}
1929
1930
36ed4f51 1931static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 1932 PyObject *resultobj = NULL;
d14a1e28 1933 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
1934 wxWindow *arg2 = (wxWindow *) 0 ;
1935 int arg3 = (int) wxID_ANY ;
1936 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1937 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1938 wxSize const &arg5_defvalue = wxDefaultSize ;
1939 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1940 long arg6 = (long) 0 ;
1941 wxString const &arg7_defvalue = wxSTCNameStr ;
1942 wxString *arg7 = (wxString *) &arg7_defvalue ;
66af7a75 1943 bool result;
36ed4f51
RD
1944 wxPoint temp4 ;
1945 wxSize temp5 ;
1946 bool temp7 = false ;
d14a1e28 1947 PyObject * obj0 = 0 ;
36ed4f51
RD
1948 PyObject * obj1 = 0 ;
1949 PyObject * obj2 = 0 ;
1950 PyObject * obj3 = 0 ;
1951 PyObject * obj4 = 0 ;
1952 PyObject * obj5 = 0 ;
1953 PyObject * obj6 = 0 ;
d14a1e28 1954 char *kwnames[] = {
36ed4f51 1955 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
1956 };
1957
36ed4f51
RD
1958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1960 if (SWIG_arg_fail(1)) SWIG_fail;
1961 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
1962 if (SWIG_arg_fail(2)) SWIG_fail;
1963 if (obj2) {
1964 {
32fe5131 1965 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
1966 if (SWIG_arg_fail(3)) SWIG_fail;
1967 }
1968 }
1969 if (obj3) {
1970 {
1971 arg4 = &temp4;
1972 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1973 }
1974 }
1975 if (obj4) {
1976 {
1977 arg5 = &temp5;
1978 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1979 }
1980 }
1981 if (obj5) {
1982 {
32fe5131 1983 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
1984 if (SWIG_arg_fail(6)) SWIG_fail;
1985 }
1986 }
1987 if (obj6) {
1988 {
1989 arg7 = wxString_in_helper(obj6);
1990 if (arg7 == NULL) SWIG_fail;
1991 temp7 = true;
1992 }
1993 }
d14a1e28
RD
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
66af7a75 1996 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
d14a1e28
RD
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
66af7a75
RD
2001 {
2002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2003 }
36ed4f51
RD
2004 {
2005 if (temp7)
2006 delete arg7;
2007 }
d14a1e28
RD
2008 return resultobj;
2009 fail:
36ed4f51
RD
2010 {
2011 if (temp7)
2012 delete arg7;
2013 }
d14a1e28
RD
2014 return NULL;
2015}
2016
2017
36ed4f51 2018static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2019 PyObject *resultobj = NULL;
d14a1e28 2020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
2021 wxString *arg2 = 0 ;
2022 bool temp2 = false ;
d14a1e28 2023 PyObject * obj0 = 0 ;
994141e6 2024 PyObject * obj1 = 0 ;
d14a1e28 2025 char *kwnames[] = {
36ed4f51 2026 (char *) "self",(char *) "text", NULL
d14a1e28
RD
2027 };
2028
36ed4f51
RD
2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
2030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2031 if (SWIG_arg_fail(1)) SWIG_fail;
2032 {
2033 arg2 = wxString_in_helper(obj1);
2034 if (arg2 == NULL) SWIG_fail;
2035 temp2 = true;
2036 }
d14a1e28
RD
2037 {
2038 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2039 (arg1)->AddText((wxString const &)*arg2);
d14a1e28
RD
2040
2041 wxPyEndAllowThreads(__tstate);
2042 if (PyErr_Occurred()) SWIG_fail;
2043 }
36ed4f51 2044 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 2045 {
36ed4f51
RD
2046 if (temp2)
2047 delete arg2;
d14a1e28
RD
2048 }
2049 return resultobj;
2050 fail:
36ed4f51
RD
2051 {
2052 if (temp2)
2053 delete arg2;
2054 }
2055 return NULL;
d14a1e28
RD
2056}
2057
2058
36ed4f51 2059static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2060 PyObject *resultobj = NULL;
d14a1e28 2061 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
2062 wxMemoryBuffer *arg2 = 0 ;
2063 bool temp2 = false ;
d14a1e28 2064 PyObject * obj0 = 0 ;
36ed4f51 2065 PyObject * obj1 = 0 ;
d14a1e28 2066 char *kwnames[] = {
36ed4f51 2067 (char *) "self",(char *) "data", NULL
d14a1e28
RD
2068 };
2069
36ed4f51
RD
2070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
2071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2072 if (SWIG_arg_fail(1)) SWIG_fail;
2073 {
2074 if (!PyString_Check(obj1)) {
2075 PyErr_SetString(PyExc_TypeError, "String buffer expected");
2076 SWIG_fail;
2077 }
2078 char* str = PyString_AS_STRING(obj1);
2079 int len = PyString_GET_SIZE(obj1);
2080 arg2 = new wxMemoryBuffer(len);
2081 temp2 = true;
2082 memcpy(arg2->GetData(), str, len);
2083 arg2->SetDataLen(len);
2084 }
d14a1e28
RD
2085 {
2086 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2087 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
d14a1e28
RD
2088
2089 wxPyEndAllowThreads(__tstate);
2090 if (PyErr_Occurred()) SWIG_fail;
2091 }
36ed4f51 2092 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 2093 {
36ed4f51 2094 if (temp2) delete arg2;
4f89f6a3 2095 }
d14a1e28
RD
2096 return resultobj;
2097 fail:
36ed4f51
RD
2098 {
2099 if (temp2) delete arg2;
2100 }
d14a1e28
RD
2101 return NULL;
2102}
2103
2104
36ed4f51 2105static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2106 PyObject *resultobj = NULL;
d14a1e28
RD
2107 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2108 int arg2 ;
36ed4f51
RD
2109 wxString *arg3 = 0 ;
2110 bool temp3 = false ;
d14a1e28 2111 PyObject * obj0 = 0 ;
994141e6 2112 PyObject * obj1 = 0 ;
36ed4f51 2113 PyObject * obj2 = 0 ;
d14a1e28 2114 char *kwnames[] = {
36ed4f51 2115 (char *) "self",(char *) "pos",(char *) "text", NULL
d14a1e28
RD
2116 };
2117
36ed4f51
RD
2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2120 if (SWIG_arg_fail(1)) SWIG_fail;
2121 {
32fe5131 2122 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2123 if (SWIG_arg_fail(2)) SWIG_fail;
2124 }
2125 {
2126 arg3 = wxString_in_helper(obj2);
2127 if (arg3 == NULL) SWIG_fail;
2128 temp3 = true;
2129 }
d14a1e28
RD
2130 {
2131 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2132 (arg1)->InsertText(arg2,(wxString const &)*arg3);
d14a1e28
RD
2133
2134 wxPyEndAllowThreads(__tstate);
2135 if (PyErr_Occurred()) SWIG_fail;
2136 }
36ed4f51
RD
2137 Py_INCREF(Py_None); resultobj = Py_None;
2138 {
2139 if (temp3)
2140 delete arg3;
2141 }
d14a1e28
RD
2142 return resultobj;
2143 fail:
36ed4f51
RD
2144 {
2145 if (temp3)
2146 delete arg3;
2147 }
d14a1e28
RD
2148 return NULL;
2149}
2150
2151
36ed4f51 2152static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2153 PyObject *resultobj = NULL;
d14a1e28 2154 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2155 PyObject * obj0 = 0 ;
2156 char *kwnames[] = {
36ed4f51 2157 (char *) "self", NULL
d14a1e28
RD
2158 };
2159
36ed4f51
RD
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
2161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2162 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2163 {
2164 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2165 (arg1)->ClearAll();
d14a1e28
RD
2166
2167 wxPyEndAllowThreads(__tstate);
2168 if (PyErr_Occurred()) SWIG_fail;
2169 }
2170 Py_INCREF(Py_None); resultobj = Py_None;
2171 return resultobj;
2172 fail:
2173 return NULL;
2174}
2175
2176
36ed4f51 2177static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2178 PyObject *resultobj = NULL;
d14a1e28 2179 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2180 PyObject * obj0 = 0 ;
2181 char *kwnames[] = {
2182 (char *) "self", NULL
2183 };
2184
36ed4f51
RD
2185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
2186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2187 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2188 {
2189 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2190 (arg1)->ClearDocumentStyle();
d14a1e28
RD
2191
2192 wxPyEndAllowThreads(__tstate);
2193 if (PyErr_Occurred()) SWIG_fail;
2194 }
36ed4f51 2195 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2196 return resultobj;
2197 fail:
2198 return NULL;
2199}
2200
2201
36ed4f51 2202static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2203 PyObject *resultobj = NULL;
d14a1e28
RD
2204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2205 int result;
2206 PyObject * obj0 = 0 ;
2207 char *kwnames[] = {
2208 (char *) "self", NULL
2209 };
2210
36ed4f51
RD
2211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
2212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2213 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2214 {
2215 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2216 result = (int)(arg1)->GetLength();
d14a1e28
RD
2217
2218 wxPyEndAllowThreads(__tstate);
2219 if (PyErr_Occurred()) SWIG_fail;
2220 }
36ed4f51 2221 {
32fe5131 2222 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2223 }
d14a1e28
RD
2224 return resultobj;
2225 fail:
2226 return NULL;
2227}
2228
2229
36ed4f51 2230static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2231 PyObject *resultobj = NULL;
d14a1e28
RD
2232 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2233 int arg2 ;
36ed4f51 2234 int result;
d14a1e28 2235 PyObject * obj0 = 0 ;
994141e6 2236 PyObject * obj1 = 0 ;
d14a1e28 2237 char *kwnames[] = {
36ed4f51 2238 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
2239 };
2240
36ed4f51
RD
2241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
2242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2243 if (SWIG_arg_fail(1)) SWIG_fail;
2244 {
32fe5131 2245 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2246 if (SWIG_arg_fail(2)) SWIG_fail;
2247 }
d14a1e28
RD
2248 {
2249 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2250 result = (int)(arg1)->GetCharAt(arg2);
d14a1e28
RD
2251
2252 wxPyEndAllowThreads(__tstate);
2253 if (PyErr_Occurred()) SWIG_fail;
2254 }
36ed4f51 2255 {
32fe5131 2256 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2257 }
d14a1e28
RD
2258 return resultobj;
2259 fail:
2260 return NULL;
2261}
2262
2263
36ed4f51 2264static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2265 PyObject *resultobj = NULL;
d14a1e28 2266 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 2267 int result;
d14a1e28 2268 PyObject * obj0 = 0 ;
d14a1e28 2269 char *kwnames[] = {
36ed4f51 2270 (char *) "self", NULL
d14a1e28
RD
2271 };
2272
36ed4f51
RD
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
2274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2275 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2276 {
2277 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2278 result = (int)(arg1)->GetCurrentPos();
d14a1e28
RD
2279
2280 wxPyEndAllowThreads(__tstate);
2281 if (PyErr_Occurred()) SWIG_fail;
2282 }
36ed4f51 2283 {
32fe5131 2284 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2285 }
d14a1e28
RD
2286 return resultobj;
2287 fail:
2288 return NULL;
2289}
2290
2291
36ed4f51 2292static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2293 PyObject *resultobj = NULL;
d14a1e28 2294 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2295 int result;
2296 PyObject * obj0 = 0 ;
2297 char *kwnames[] = {
36ed4f51 2298 (char *) "self", NULL
d14a1e28
RD
2299 };
2300
36ed4f51
RD
2301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
2302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2303 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2304 {
2305 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2306 result = (int)(arg1)->GetAnchor();
d14a1e28
RD
2307
2308 wxPyEndAllowThreads(__tstate);
2309 if (PyErr_Occurred()) SWIG_fail;
2310 }
36ed4f51 2311 {
32fe5131 2312 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2313 }
d14a1e28
RD
2314 return resultobj;
2315 fail:
2316 return NULL;
2317}
2318
2319
36ed4f51 2320static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2321 PyObject *resultobj = NULL;
d14a1e28
RD
2322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2323 int arg2 ;
36ed4f51 2324 int result;
d14a1e28 2325 PyObject * obj0 = 0 ;
994141e6 2326 PyObject * obj1 = 0 ;
d14a1e28 2327 char *kwnames[] = {
36ed4f51 2328 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
2329 };
2330
36ed4f51
RD
2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
2332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2333 if (SWIG_arg_fail(1)) SWIG_fail;
2334 {
32fe5131 2335 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2336 if (SWIG_arg_fail(2)) SWIG_fail;
2337 }
d14a1e28
RD
2338 {
2339 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2340 result = (int)(arg1)->GetStyleAt(arg2);
d14a1e28
RD
2341
2342 wxPyEndAllowThreads(__tstate);
2343 if (PyErr_Occurred()) SWIG_fail;
2344 }
36ed4f51 2345 {
32fe5131 2346 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2347 }
d14a1e28
RD
2348 return resultobj;
2349 fail:
2350 return NULL;
2351}
2352
2353
36ed4f51 2354static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2355 PyObject *resultobj = NULL;
d14a1e28 2356 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2357 PyObject * obj0 = 0 ;
2358 char *kwnames[] = {
36ed4f51 2359 (char *) "self", NULL
d14a1e28
RD
2360 };
2361
36ed4f51
RD
2362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
2363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2364 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2365 {
2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2367 (arg1)->Redo();
d14a1e28
RD
2368
2369 wxPyEndAllowThreads(__tstate);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 }
2372 Py_INCREF(Py_None); resultobj = Py_None;
2373 return resultobj;
2374 fail:
2375 return NULL;
2376}
2377
2378
36ed4f51 2379static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2380 PyObject *resultobj = NULL;
d14a1e28 2381 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2382 bool arg2 ;
d14a1e28 2383 PyObject * obj0 = 0 ;
994141e6 2384 PyObject * obj1 = 0 ;
d14a1e28 2385 char *kwnames[] = {
36ed4f51 2386 (char *) "self",(char *) "collectUndo", NULL
d14a1e28
RD
2387 };
2388
36ed4f51
RD
2389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
2390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2391 if (SWIG_arg_fail(1)) SWIG_fail;
2392 {
32fe5131 2393 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
2394 if (SWIG_arg_fail(2)) SWIG_fail;
2395 }
d14a1e28
RD
2396 {
2397 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2398 (arg1)->SetUndoCollection(arg2);
d14a1e28
RD
2399
2400 wxPyEndAllowThreads(__tstate);
2401 if (PyErr_Occurred()) SWIG_fail;
2402 }
2403 Py_INCREF(Py_None); resultobj = Py_None;
2404 return resultobj;
2405 fail:
2406 return NULL;
2407}
2408
2409
36ed4f51 2410static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2411 PyObject *resultobj = NULL;
d14a1e28 2412 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2413 PyObject * obj0 = 0 ;
2414 char *kwnames[] = {
2415 (char *) "self", NULL
2416 };
2417
36ed4f51
RD
2418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
2419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2420 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2423 (arg1)->SelectAll();
d14a1e28
RD
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
36ed4f51 2428 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2429 return resultobj;
2430 fail:
2431 return NULL;
2432}
2433
2434
36ed4f51 2435static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2436 PyObject *resultobj = NULL;
d14a1e28 2437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2438 PyObject * obj0 = 0 ;
2439 char *kwnames[] = {
2440 (char *) "self", NULL
2441 };
2442
36ed4f51
RD
2443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
2444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2445 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2446 {
2447 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2448 (arg1)->SetSavePoint();
d14a1e28
RD
2449
2450 wxPyEndAllowThreads(__tstate);
2451 if (PyErr_Occurred()) SWIG_fail;
2452 }
36ed4f51 2453 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2454 return resultobj;
2455 fail:
2456 return NULL;
2457}
2458
2459
36ed4f51 2460static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2461 PyObject *resultobj = NULL;
d14a1e28
RD
2462 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2463 int arg2 ;
36ed4f51
RD
2464 int arg3 ;
2465 wxMemoryBuffer result;
d14a1e28 2466 PyObject * obj0 = 0 ;
994141e6 2467 PyObject * obj1 = 0 ;
36ed4f51 2468 PyObject * obj2 = 0 ;
d14a1e28 2469 char *kwnames[] = {
36ed4f51 2470 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
d14a1e28
RD
2471 };
2472
36ed4f51
RD
2473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2475 if (SWIG_arg_fail(1)) SWIG_fail;
2476 {
32fe5131 2477 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2478 if (SWIG_arg_fail(2)) SWIG_fail;
2479 }
2480 {
32fe5131 2481 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
2482 if (SWIG_arg_fail(3)) SWIG_fail;
2483 }
d14a1e28
RD
2484 {
2485 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2486 result = (arg1)->GetStyledText(arg2,arg3);
d14a1e28
RD
2487
2488 wxPyEndAllowThreads(__tstate);
2489 if (PyErr_Occurred()) SWIG_fail;
2490 }
36ed4f51
RD
2491 {
2492 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
2493 }
d14a1e28
RD
2494 return resultobj;
2495 fail:
2496 return NULL;
2497}
2498
2499
36ed4f51 2500static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2501 PyObject *resultobj = NULL;
d14a1e28 2502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2503 bool result;
d14a1e28
RD
2504 PyObject * obj0 = 0 ;
2505 char *kwnames[] = {
2506 (char *) "self", NULL
2507 };
2508
36ed4f51
RD
2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
2510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2511 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2512 {
2513 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2514 result = (bool)(arg1)->CanRedo();
d14a1e28
RD
2515
2516 wxPyEndAllowThreads(__tstate);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 }
36ed4f51
RD
2519 {
2520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2521 }
d14a1e28
RD
2522 return resultobj;
2523 fail:
2524 return NULL;
2525}
2526
2527
36ed4f51 2528static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2529 PyObject *resultobj = NULL;
d14a1e28
RD
2530 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2531 int arg2 ;
36ed4f51 2532 int result;
d14a1e28 2533 PyObject * obj0 = 0 ;
994141e6 2534 PyObject * obj1 = 0 ;
d14a1e28 2535 char *kwnames[] = {
36ed4f51 2536 (char *) "self",(char *) "handle", NULL
d14a1e28
RD
2537 };
2538
36ed4f51
RD
2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
2540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2541 if (SWIG_arg_fail(1)) SWIG_fail;
2542 {
32fe5131 2543 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2544 if (SWIG_arg_fail(2)) SWIG_fail;
2545 }
d14a1e28
RD
2546 {
2547 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2548 result = (int)(arg1)->MarkerLineFromHandle(arg2);
d14a1e28
RD
2549
2550 wxPyEndAllowThreads(__tstate);
2551 if (PyErr_Occurred()) SWIG_fail;
2552 }
36ed4f51 2553 {
32fe5131 2554 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2555 }
d14a1e28
RD
2556 return resultobj;
2557 fail:
2558 return NULL;
2559}
2560
2561
36ed4f51 2562static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2563 PyObject *resultobj = NULL;
d14a1e28
RD
2564 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2565 int arg2 ;
d14a1e28 2566 PyObject * obj0 = 0 ;
994141e6 2567 PyObject * obj1 = 0 ;
d14a1e28 2568 char *kwnames[] = {
36ed4f51 2569 (char *) "self",(char *) "handle", NULL
d14a1e28
RD
2570 };
2571
36ed4f51
RD
2572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
2573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2574 if (SWIG_arg_fail(1)) SWIG_fail;
2575 {
32fe5131 2576 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2577 if (SWIG_arg_fail(2)) SWIG_fail;
2578 }
d14a1e28
RD
2579 {
2580 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2581 (arg1)->MarkerDeleteHandle(arg2);
d14a1e28
RD
2582
2583 wxPyEndAllowThreads(__tstate);
2584 if (PyErr_Occurred()) SWIG_fail;
2585 }
2586 Py_INCREF(Py_None); resultobj = Py_None;
2587 return resultobj;
2588 fail:
2589 return NULL;
2590}
2591
2592
36ed4f51 2593static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2594 PyObject *resultobj = NULL;
d14a1e28 2595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2596 bool result;
d14a1e28
RD
2597 PyObject * obj0 = 0 ;
2598 char *kwnames[] = {
36ed4f51 2599 (char *) "self", NULL
d14a1e28
RD
2600 };
2601
36ed4f51
RD
2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
2603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2604 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2605 {
2606 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2607 result = (bool)(arg1)->GetUndoCollection();
d14a1e28
RD
2608
2609 wxPyEndAllowThreads(__tstate);
2610 if (PyErr_Occurred()) SWIG_fail;
2611 }
36ed4f51
RD
2612 {
2613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2614 }
d14a1e28
RD
2615 return resultobj;
2616 fail:
2617 return NULL;
2618}
2619
2620
36ed4f51 2621static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2622 PyObject *resultobj = NULL;
d14a1e28 2623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2624 int result;
d14a1e28
RD
2625 PyObject * obj0 = 0 ;
2626 char *kwnames[] = {
2627 (char *) "self", NULL
2628 };
2629
36ed4f51
RD
2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
2631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2632 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2635 result = (int)(arg1)->GetViewWhiteSpace();
d14a1e28
RD
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
4f89f6a3 2640 {
32fe5131 2641 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 2642 }
d14a1e28
RD
2643 return resultobj;
2644 fail:
2645 return NULL;
2646}
2647
2648
36ed4f51 2649static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2650 PyObject *resultobj = NULL;
d14a1e28 2651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2652 int arg2 ;
d14a1e28
RD
2653 PyObject * obj0 = 0 ;
2654 PyObject * obj1 = 0 ;
2655 char *kwnames[] = {
36ed4f51 2656 (char *) "self",(char *) "viewWS", NULL
d14a1e28
RD
2657 };
2658
36ed4f51
RD
2659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
2660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2661 if (SWIG_arg_fail(1)) SWIG_fail;
2662 {
32fe5131 2663 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2664 if (SWIG_arg_fail(2)) SWIG_fail;
2665 }
d14a1e28
RD
2666 {
2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2668 (arg1)->SetViewWhiteSpace(arg2);
d14a1e28
RD
2669
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) SWIG_fail;
2672 }
2673 Py_INCREF(Py_None); resultobj = Py_None;
2674 return resultobj;
2675 fail:
2676 return NULL;
2677}
2678
2679
36ed4f51 2680static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2681 PyObject *resultobj = NULL;
d14a1e28 2682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
2683 wxPoint arg2 ;
2684 int result;
d14a1e28 2685 PyObject * obj0 = 0 ;
994141e6 2686 PyObject * obj1 = 0 ;
d14a1e28 2687 char *kwnames[] = {
36ed4f51 2688 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2689 };
2690
36ed4f51
RD
2691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
2692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2693 if (SWIG_arg_fail(1)) SWIG_fail;
2694 {
2695 wxPoint * argp;
2696 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION);
2697 if (SWIG_arg_fail(2)) SWIG_fail;
2698 if (argp == NULL) {
2699 SWIG_null_ref("wxPoint");
2700 }
2701 if (SWIG_arg_fail(2)) SWIG_fail;
2702 arg2 = *argp;
2703 }
d14a1e28
RD
2704 {
2705 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2706 result = (int)(arg1)->PositionFromPoint(arg2);
d14a1e28
RD
2707
2708 wxPyEndAllowThreads(__tstate);
2709 if (PyErr_Occurred()) SWIG_fail;
2710 }
36ed4f51 2711 {
32fe5131 2712 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2713 }
d14a1e28
RD
2714 return resultobj;
2715 fail:
2716 return NULL;
2717}
2718
2719
36ed4f51 2720static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2721 PyObject *resultobj = NULL;
d14a1e28 2722 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
2723 int arg2 ;
2724 int arg3 ;
d14a1e28
RD
2725 int result;
2726 PyObject * obj0 = 0 ;
36ed4f51
RD
2727 PyObject * obj1 = 0 ;
2728 PyObject * obj2 = 0 ;
d14a1e28 2729 char *kwnames[] = {
36ed4f51 2730 (char *) "self",(char *) "x",(char *) "y", NULL
d14a1e28
RD
2731 };
2732
36ed4f51
RD
2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
2734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2735 if (SWIG_arg_fail(1)) SWIG_fail;
2736 {
32fe5131 2737 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2738 if (SWIG_arg_fail(2)) SWIG_fail;
2739 }
2740 {
32fe5131 2741 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
2742 if (SWIG_arg_fail(3)) SWIG_fail;
2743 }
d14a1e28
RD
2744 {
2745 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2746 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
d14a1e28
RD
2747
2748 wxPyEndAllowThreads(__tstate);
2749 if (PyErr_Occurred()) SWIG_fail;
2750 }
36ed4f51 2751 {
32fe5131 2752 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2753 }
d14a1e28
RD
2754 return resultobj;
2755 fail:
2756 return NULL;
2757}
2758
2759
36ed4f51 2760static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2761 PyObject *resultobj = NULL;
d14a1e28
RD
2762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2763 int arg2 ;
2764 PyObject * obj0 = 0 ;
994141e6 2765 PyObject * obj1 = 0 ;
d14a1e28 2766 char *kwnames[] = {
36ed4f51 2767 (char *) "self",(char *) "line", NULL
d14a1e28
RD
2768 };
2769
36ed4f51
RD
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
2771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2772 if (SWIG_arg_fail(1)) SWIG_fail;
2773 {
32fe5131 2774 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2775 if (SWIG_arg_fail(2)) SWIG_fail;
2776 }
d14a1e28
RD
2777 {
2778 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2779 (arg1)->GotoLine(arg2);
d14a1e28
RD
2780
2781 wxPyEndAllowThreads(__tstate);
2782 if (PyErr_Occurred()) SWIG_fail;
2783 }
2784 Py_INCREF(Py_None); resultobj = Py_None;
2785 return resultobj;
2786 fail:
2787 return NULL;
2788}
2789
2790
36ed4f51 2791static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2792 PyObject *resultobj = NULL;
d14a1e28
RD
2793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2794 int arg2 ;
d14a1e28 2795 PyObject * obj0 = 0 ;
994141e6 2796 PyObject * obj1 = 0 ;
d14a1e28 2797 char *kwnames[] = {
36ed4f51 2798 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
2799 };
2800
36ed4f51
RD
2801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
2802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2803 if (SWIG_arg_fail(1)) SWIG_fail;
2804 {
32fe5131 2805 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 2806 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2807 }
2808 {
2809 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2810 (arg1)->GotoPos(arg2);
d14a1e28
RD
2811
2812 wxPyEndAllowThreads(__tstate);
2813 if (PyErr_Occurred()) SWIG_fail;
2814 }
2815 Py_INCREF(Py_None); resultobj = Py_None;
2816 return resultobj;
2817 fail:
2818 return NULL;
2819}
2820
2821
36ed4f51 2822static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2823 PyObject *resultobj = NULL;
d14a1e28
RD
2824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2825 int arg2 ;
d14a1e28 2826 PyObject * obj0 = 0 ;
994141e6 2827 PyObject * obj1 = 0 ;
d14a1e28 2828 char *kwnames[] = {
36ed4f51 2829 (char *) "self",(char *) "posAnchor", NULL
d14a1e28
RD
2830 };
2831
36ed4f51
RD
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
2833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2834 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 2835 {
32fe5131 2836 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 2837 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2838 }
2839 {
2840 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2841 (arg1)->SetAnchor(arg2);
d14a1e28
RD
2842
2843 wxPyEndAllowThreads(__tstate);
2844 if (PyErr_Occurred()) SWIG_fail;
2845 }
2846 Py_INCREF(Py_None); resultobj = Py_None;
2847 return resultobj;
2848 fail:
2849 return NULL;
2850}
2851
2852
36ed4f51 2853static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2854 PyObject *resultobj = NULL;
d14a1e28 2855 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
2856 int *arg2 = (int *) 0 ;
2857 wxString result;
2858 int temp2 ;
2859 int res2 = 0 ;
d14a1e28 2860 PyObject * obj0 = 0 ;
d14a1e28 2861 char *kwnames[] = {
36ed4f51 2862 (char *) "self", NULL
d14a1e28
RD
2863 };
2864
36ed4f51
RD
2865 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
2867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2868 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2869 {
2870 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2871 result = (arg1)->GetCurLine(arg2);
d14a1e28
RD
2872
2873 wxPyEndAllowThreads(__tstate);
2874 if (PyErr_Occurred()) SWIG_fail;
2875 }
36ed4f51
RD
2876 {
2877#if wxUSE_UNICODE
2878 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2879#else
2880 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2881#endif
2882 }
2883 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2884 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2885 return resultobj;
2886 fail:
2887 return NULL;
2888}
2889
2890
36ed4f51 2891static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2892 PyObject *resultobj = NULL;
d14a1e28 2893 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2894 int result;
2895 PyObject * obj0 = 0 ;
2896 char *kwnames[] = {
36ed4f51 2897 (char *) "self", NULL
d14a1e28
RD
2898 };
2899
36ed4f51
RD
2900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
2901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2902 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2903 {
2904 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2905 result = (int)(arg1)->GetEndStyled();
d14a1e28
RD
2906
2907 wxPyEndAllowThreads(__tstate);
2908 if (PyErr_Occurred()) SWIG_fail;
2909 }
36ed4f51 2910 {
32fe5131 2911 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2912 }
d14a1e28
RD
2913 return resultobj;
2914 fail:
2915 return NULL;
2916}
2917
2918
36ed4f51 2919static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2920 PyObject *resultobj = NULL;
d14a1e28
RD
2921 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2922 int arg2 ;
d14a1e28 2923 PyObject * obj0 = 0 ;
994141e6 2924 PyObject * obj1 = 0 ;
d14a1e28 2925 char *kwnames[] = {
36ed4f51 2926 (char *) "self",(char *) "eolMode", NULL
d14a1e28
RD
2927 };
2928
36ed4f51
RD
2929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
2930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2931 if (SWIG_arg_fail(1)) SWIG_fail;
2932 {
32fe5131 2933 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2934 if (SWIG_arg_fail(2)) SWIG_fail;
2935 }
d14a1e28
RD
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2938 (arg1)->ConvertEOLs(arg2);
d14a1e28
RD
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 Py_INCREF(Py_None); resultobj = Py_None;
2944 return resultobj;
2945 fail:
2946 return NULL;
2947}
2948
2949
36ed4f51 2950static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2951 PyObject *resultobj = NULL;
d14a1e28 2952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2953 int result;
d14a1e28
RD
2954 PyObject * obj0 = 0 ;
2955 char *kwnames[] = {
36ed4f51 2956 (char *) "self", NULL
d14a1e28
RD
2957 };
2958
36ed4f51
RD
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
2960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2961 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2964 result = (int)(arg1)->GetEOLMode();
d14a1e28
RD
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
36ed4f51 2969 {
32fe5131 2970 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2971 }
d14a1e28
RD
2972 return resultobj;
2973 fail:
2974 return NULL;
2975}
2976
2977
36ed4f51 2978static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2979 PyObject *resultobj = NULL;
d14a1e28
RD
2980 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2981 int arg2 ;
d14a1e28 2982 PyObject * obj0 = 0 ;
994141e6 2983 PyObject * obj1 = 0 ;
d14a1e28 2984 char *kwnames[] = {
36ed4f51 2985 (char *) "self",(char *) "eolMode", NULL
d14a1e28
RD
2986 };
2987
36ed4f51
RD
2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
2989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2990 if (SWIG_arg_fail(1)) SWIG_fail;
2991 {
32fe5131 2992 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2993 if (SWIG_arg_fail(2)) SWIG_fail;
2994 }
d14a1e28
RD
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2997 (arg1)->SetEOLMode(arg2);
d14a1e28
RD
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
36ed4f51 3002 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3003 return resultobj;
3004 fail:
3005 return NULL;
3006}
3007
3008
36ed4f51 3009static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3010 PyObject *resultobj = NULL;
d14a1e28
RD
3011 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3012 int arg2 ;
3013 int arg3 ;
d14a1e28 3014 PyObject * obj0 = 0 ;
994141e6
RD
3015 PyObject * obj1 = 0 ;
3016 PyObject * obj2 = 0 ;
d14a1e28 3017 char *kwnames[] = {
36ed4f51 3018 (char *) "self",(char *) "pos",(char *) "mask", NULL
d14a1e28
RD
3019 };
3020
36ed4f51
RD
3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3023 if (SWIG_arg_fail(1)) SWIG_fail;
3024 {
32fe5131 3025 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3026 if (SWIG_arg_fail(2)) SWIG_fail;
3027 }
3028 {
32fe5131 3029 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3030 if (SWIG_arg_fail(3)) SWIG_fail;
3031 }
d14a1e28
RD
3032 {
3033 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3034 (arg1)->StartStyling(arg2,arg3);
d14a1e28
RD
3035
3036 wxPyEndAllowThreads(__tstate);
3037 if (PyErr_Occurred()) SWIG_fail;
3038 }
36ed4f51 3039 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3040 return resultobj;
3041 fail:
3042 return NULL;
3043}
3044
3045
36ed4f51 3046static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3047 PyObject *resultobj = NULL;
d14a1e28
RD
3048 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3049 int arg2 ;
3050 int arg3 ;
d14a1e28 3051 PyObject * obj0 = 0 ;
994141e6
RD
3052 PyObject * obj1 = 0 ;
3053 PyObject * obj2 = 0 ;
d14a1e28 3054 char *kwnames[] = {
36ed4f51 3055 (char *) "self",(char *) "length",(char *) "style", NULL
d14a1e28
RD
3056 };
3057
36ed4f51
RD
3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3060 if (SWIG_arg_fail(1)) SWIG_fail;
3061 {
32fe5131 3062 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3063 if (SWIG_arg_fail(2)) SWIG_fail;
3064 }
3065 {
32fe5131 3066 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3067 if (SWIG_arg_fail(3)) SWIG_fail;
3068 }
d14a1e28
RD
3069 {
3070 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3071 (arg1)->SetStyling(arg2,arg3);
d14a1e28
RD
3072
3073 wxPyEndAllowThreads(__tstate);
3074 if (PyErr_Occurred()) SWIG_fail;
3075 }
36ed4f51 3076 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3077 return resultobj;
3078 fail:
3079 return NULL;
3080}
3081
3082
36ed4f51 3083static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3084 PyObject *resultobj = NULL;
d14a1e28 3085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 3086 bool result;
d14a1e28 3087 PyObject * obj0 = 0 ;
d14a1e28 3088 char *kwnames[] = {
36ed4f51 3089 (char *) "self", NULL
d14a1e28
RD
3090 };
3091
36ed4f51
RD
3092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
3093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3094 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3095 {
3096 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3097 result = (bool)(arg1)->GetBufferedDraw();
d14a1e28
RD
3098
3099 wxPyEndAllowThreads(__tstate);
3100 if (PyErr_Occurred()) SWIG_fail;
3101 }
36ed4f51
RD
3102 {
3103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3104 }
d14a1e28
RD
3105 return resultobj;
3106 fail:
3107 return NULL;
3108}
3109
3110
36ed4f51 3111static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3112 PyObject *resultobj = NULL;
d14a1e28 3113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 3114 bool arg2 ;
d14a1e28 3115 PyObject * obj0 = 0 ;
994141e6 3116 PyObject * obj1 = 0 ;
d14a1e28 3117 char *kwnames[] = {
36ed4f51 3118 (char *) "self",(char *) "buffered", NULL
d14a1e28
RD
3119 };
3120
36ed4f51
RD
3121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
3122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3123 if (SWIG_arg_fail(1)) SWIG_fail;
3124 {
32fe5131 3125 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
3126 if (SWIG_arg_fail(2)) SWIG_fail;
3127 }
d14a1e28
RD
3128 {
3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3130 (arg1)->SetBufferedDraw(arg2);
d14a1e28
RD
3131
3132 wxPyEndAllowThreads(__tstate);
3133 if (PyErr_Occurred()) SWIG_fail;
3134 }
3135 Py_INCREF(Py_None); resultobj = Py_None;
3136 return resultobj;
3137 fail:
3138 return NULL;
3139}
3140
3141
36ed4f51 3142static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3143 PyObject *resultobj = NULL;
d14a1e28
RD
3144 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3145 int arg2 ;
d14a1e28 3146 PyObject * obj0 = 0 ;
994141e6 3147 PyObject * obj1 = 0 ;
d14a1e28 3148 char *kwnames[] = {
36ed4f51 3149 (char *) "self",(char *) "tabWidth", NULL
d14a1e28
RD
3150 };
3151
36ed4f51
RD
3152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
3153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3154 if (SWIG_arg_fail(1)) SWIG_fail;
3155 {
32fe5131 3156 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3157 if (SWIG_arg_fail(2)) SWIG_fail;
3158 }
d14a1e28
RD
3159 {
3160 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3161 (arg1)->SetTabWidth(arg2);
d14a1e28
RD
3162
3163 wxPyEndAllowThreads(__tstate);
3164 if (PyErr_Occurred()) SWIG_fail;
3165 }
36ed4f51 3166 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3167 return resultobj;
3168 fail:
3169 return NULL;
3170}
3171
3172
36ed4f51 3173static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3174 PyObject *resultobj = NULL;
d14a1e28 3175 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 3176 int result;
d14a1e28
RD
3177 PyObject * obj0 = 0 ;
3178 char *kwnames[] = {
36ed4f51 3179 (char *) "self", NULL
d14a1e28
RD
3180 };
3181
36ed4f51
RD
3182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
3183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3184 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3187 result = (int)(arg1)->GetTabWidth();
d14a1e28
RD
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
36ed4f51 3192 {
32fe5131 3193 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3194 }
d14a1e28
RD
3195 return resultobj;
3196 fail:
3197 return NULL;
3198}
3199
3200
36ed4f51 3201static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3202 PyObject *resultobj = NULL;
d14a1e28
RD
3203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3204 int arg2 ;
d14a1e28 3205 PyObject * obj0 = 0 ;
994141e6 3206 PyObject * obj1 = 0 ;
d14a1e28 3207 char *kwnames[] = {
36ed4f51 3208 (char *) "self",(char *) "codePage", NULL
d14a1e28
RD
3209 };
3210
36ed4f51
RD
3211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
3212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3213 if (SWIG_arg_fail(1)) SWIG_fail;
3214 {
32fe5131 3215 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3216 if (SWIG_arg_fail(2)) SWIG_fail;
3217 }
d14a1e28
RD
3218 {
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3220 (arg1)->SetCodePage(arg2);
d14a1e28
RD
3221
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) SWIG_fail;
3224 }
36ed4f51 3225 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3226 return resultobj;
3227 fail:
3228 return NULL;
3229}
3230
3231
36ed4f51 3232static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3233 PyObject *resultobj = NULL;
d14a1e28
RD
3234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3235 int arg2 ;
3236 int arg3 ;
36ed4f51
RD
3237 wxColour const &arg4_defvalue = wxNullColour ;
3238 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
3239 wxColour const &arg5_defvalue = wxNullColour ;
3240 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
3241 wxColour temp4 ;
3242 wxColour temp5 ;
d14a1e28 3243 PyObject * obj0 = 0 ;
994141e6
RD
3244 PyObject * obj1 = 0 ;
3245 PyObject * obj2 = 0 ;
36ed4f51
RD
3246 PyObject * obj3 = 0 ;
3247 PyObject * obj4 = 0 ;
d14a1e28 3248 char *kwnames[] = {
36ed4f51 3249 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
d14a1e28
RD
3250 };
3251
36ed4f51
RD
3252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3254 if (SWIG_arg_fail(1)) SWIG_fail;
3255 {
32fe5131 3256 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3257 if (SWIG_arg_fail(2)) SWIG_fail;
3258 }
3259 {
32fe5131 3260 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3261 if (SWIG_arg_fail(3)) SWIG_fail;
3262 }
3263 if (obj3) {
3264 {
3265 arg4 = &temp4;
3266 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
3267 }
3268 }
3269 if (obj4) {
3270 {
3271 arg5 = &temp5;
3272 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
3273 }
3274 }
d14a1e28
RD
3275 {
3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3277 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
d14a1e28
RD
3278
3279 wxPyEndAllowThreads(__tstate);
3280 if (PyErr_Occurred()) SWIG_fail;
3281 }
3282 Py_INCREF(Py_None); resultobj = Py_None;
3283 return resultobj;
3284 fail:
3285 return NULL;
3286}
3287
3288
36ed4f51 3289static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3290 PyObject *resultobj = NULL;
d14a1e28
RD
3291 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3292 int arg2 ;
36ed4f51
RD
3293 wxColour *arg3 = 0 ;
3294 wxColour temp3 ;
d14a1e28 3295 PyObject * obj0 = 0 ;
994141e6 3296 PyObject * obj1 = 0 ;
36ed4f51 3297 PyObject * obj2 = 0 ;
d14a1e28 3298 char *kwnames[] = {
36ed4f51 3299 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
d14a1e28
RD
3300 };
3301
36ed4f51
RD
3302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3304 if (SWIG_arg_fail(1)) SWIG_fail;
3305 {
32fe5131 3306 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3307 if (SWIG_arg_fail(2)) SWIG_fail;
3308 }
3309 {
3310 arg3 = &temp3;
3311 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3312 }
d14a1e28
RD
3313 {
3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3315 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
3316
3317 wxPyEndAllowThreads(__tstate);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 }
36ed4f51 3320 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3321 return resultobj;
3322 fail:
3323 return NULL;
3324}
3325
3326
36ed4f51 3327static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3328 PyObject *resultobj = NULL;
d14a1e28
RD
3329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3330 int arg2 ;
36ed4f51
RD
3331 wxColour *arg3 = 0 ;
3332 wxColour temp3 ;
d14a1e28 3333 PyObject * obj0 = 0 ;
994141e6 3334 PyObject * obj1 = 0 ;
d14a1e28
RD
3335 PyObject * obj2 = 0 ;
3336 char *kwnames[] = {
36ed4f51 3337 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
d14a1e28
RD
3338 };
3339
36ed4f51
RD
3340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3342 if (SWIG_arg_fail(1)) SWIG_fail;
3343 {
32fe5131 3344 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3345 if (SWIG_arg_fail(2)) SWIG_fail;
3346 }
3347 {
3348 arg3 = &temp3;
3349 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3350 }
d14a1e28
RD
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3353 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 Py_INCREF(Py_None); resultobj = Py_None;
3359 return resultobj;
3360 fail:
3361 return NULL;
3362}
3363
3364
36ed4f51 3365static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3366 PyObject *resultobj = NULL;
d14a1e28
RD
3367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3368 int arg2 ;
36ed4f51
RD
3369 int arg3 ;
3370 int result;
d14a1e28 3371 PyObject * obj0 = 0 ;
994141e6 3372 PyObject * obj1 = 0 ;
36ed4f51 3373 PyObject * obj2 = 0 ;
d14a1e28 3374 char *kwnames[] = {
36ed4f51 3375 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
d14a1e28
RD
3376 };
3377
36ed4f51
RD
3378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
3379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3380 if (SWIG_arg_fail(1)) SWIG_fail;
3381 {
32fe5131 3382 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3383 if (SWIG_arg_fail(2)) SWIG_fail;
3384 }
3385 {
32fe5131 3386 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3387 if (SWIG_arg_fail(3)) SWIG_fail;
3388 }
d14a1e28
RD
3389 {
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3391 result = (int)(arg1)->MarkerAdd(arg2,arg3);
d14a1e28
RD
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
4f89f6a3 3396 {
32fe5131 3397 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 3398 }
d14a1e28
RD
3399 return resultobj;
3400 fail:
3401 return NULL;
3402}
3403
3404
36ed4f51 3405static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3406 PyObject *resultobj = NULL;
d14a1e28 3407 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
3408 int arg2 ;
3409 int arg3 ;
d14a1e28 3410 PyObject * obj0 = 0 ;
36ed4f51
RD
3411 PyObject * obj1 = 0 ;
3412 PyObject * obj2 = 0 ;
d14a1e28 3413 char *kwnames[] = {
36ed4f51 3414 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
d14a1e28
RD
3415 };
3416
36ed4f51
RD
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
3418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3419 if (SWIG_arg_fail(1)) SWIG_fail;
3420 {
32fe5131 3421 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3422 if (SWIG_arg_fail(2)) SWIG_fail;
3423 }
3424 {
32fe5131 3425 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3426 if (SWIG_arg_fail(3)) SWIG_fail;
3427 }
d14a1e28
RD
3428 {
3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3430 (arg1)->MarkerDelete(arg2,arg3);
d14a1e28
RD
3431
3432 wxPyEndAllowThreads(__tstate);
3433 if (PyErr_Occurred()) SWIG_fail;
3434 }
3435 Py_INCREF(Py_None); resultobj = Py_None;
3436 return resultobj;
3437 fail:
3438 return NULL;
3439}
3440
3441
36ed4f51 3442static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3443 PyObject *resultobj = NULL;
d14a1e28
RD
3444 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3445 int arg2 ;
d14a1e28 3446 PyObject * obj0 = 0 ;
994141e6 3447 PyObject * obj1 = 0 ;
d14a1e28 3448 char *kwnames[] = {
36ed4f51 3449 (char *) "self",(char *) "markerNumber", NULL
d14a1e28
RD
3450 };
3451
36ed4f51
RD
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
3453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3454 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3455 {
32fe5131 3456 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 3457 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3458 }
3459 {
3460 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3461 (arg1)->MarkerDeleteAll(arg2);
d14a1e28
RD
3462
3463 wxPyEndAllowThreads(__tstate);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 }
3466 Py_INCREF(Py_None); resultobj = Py_None;
3467 return resultobj;
3468 fail:
3469 return NULL;
3470}
3471
3472
36ed4f51 3473static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3474 PyObject *resultobj = NULL;
d14a1e28
RD
3475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3476 int arg2 ;
36ed4f51 3477 int result;
d14a1e28 3478 PyObject * obj0 = 0 ;
994141e6 3479 PyObject * obj1 = 0 ;
d14a1e28 3480 char *kwnames[] = {
36ed4f51 3481 (char *) "self",(char *) "line", NULL
d14a1e28
RD
3482 };
3483
36ed4f51
RD
3484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
3485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3486 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3487 {
32fe5131 3488 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 3489 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3490 }
3491 {
3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3493 result = (int)(arg1)->MarkerGet(arg2);
d14a1e28
RD
3494
3495 wxPyEndAllowThreads(__tstate);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 }
36ed4f51 3498 {
32fe5131 3499 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3500 }
d14a1e28
RD
3501 return resultobj;
3502 fail:
3503 return NULL;
3504}
3505
3506
36ed4f51 3507static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3508 PyObject *resultobj = NULL;
d14a1e28
RD
3509 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3510 int arg2 ;
36ed4f51
RD
3511 int arg3 ;
3512 int result;
d14a1e28 3513 PyObject * obj0 = 0 ;
994141e6 3514 PyObject * obj1 = 0 ;
d14a1e28
RD
3515 PyObject * obj2 = 0 ;
3516 char *kwnames[] = {
36ed4f51 3517 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
d14a1e28
RD
3518 };
3519
36ed4f51
RD
3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
3521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3522 if (SWIG_arg_fail(1)) SWIG_fail;
3523 {
32fe5131 3524 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3525 if (SWIG_arg_fail(2)) SWIG_fail;
3526 }
3527 {
32fe5131 3528 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3529 if (SWIG_arg_fail(3)) SWIG_fail;
3530 }
d14a1e28
RD
3531 {
3532 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3533 result = (int)(arg1)->MarkerNext(arg2,arg3);
d14a1e28
RD
3534
3535 wxPyEndAllowThreads(__tstate);
3536 if (PyErr_Occurred()) SWIG_fail;
3537 }
36ed4f51 3538 {
32fe5131 3539 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3540 }
d14a1e28
RD
3541 return resultobj;
3542 fail:
3543 return NULL;
3544}
3545
3546
36ed4f51 3547static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3548 PyObject *resultobj = NULL;
d14a1e28
RD
3549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3550 int arg2 ;
36ed4f51
RD
3551 int arg3 ;
3552 int result;
d14a1e28 3553 PyObject * obj0 = 0 ;
994141e6 3554 PyObject * obj1 = 0 ;
d14a1e28
RD
3555 PyObject * obj2 = 0 ;
3556 char *kwnames[] = {
36ed4f51 3557 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
d14a1e28
RD
3558 };
3559
36ed4f51
RD
3560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
3561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3562 if (SWIG_arg_fail(1)) SWIG_fail;
3563 {
32fe5131 3564 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3565 if (SWIG_arg_fail(2)) SWIG_fail;
3566 }
3567 {
32fe5131 3568 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3569 if (SWIG_arg_fail(3)) SWIG_fail;
3570 }
d14a1e28
RD
3571 {
3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3573 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
d14a1e28
RD
3574
3575 wxPyEndAllowThreads(__tstate);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
36ed4f51 3578 {
32fe5131 3579 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3580 }
d14a1e28
RD
3581 return resultobj;
3582 fail:
3583 return NULL;
3584}
3585
3586
36ed4f51 3587static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3588 PyObject *resultobj = NULL;
d14a1e28
RD
3589 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3590 int arg2 ;
36ed4f51 3591 wxBitmap *arg3 = 0 ;
d14a1e28 3592 PyObject * obj0 = 0 ;
994141e6
RD
3593 PyObject * obj1 = 0 ;
3594 PyObject * obj2 = 0 ;
d14a1e28 3595 char *kwnames[] = {
36ed4f51 3596 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
d14a1e28
RD
3597 };
3598
36ed4f51
RD
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
3600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3601 if (SWIG_arg_fail(1)) SWIG_fail;
3602 {
32fe5131 3603 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3604 if (SWIG_arg_fail(2)) SWIG_fail;
3605 }
3606 {
3607 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3608 if (SWIG_arg_fail(3)) SWIG_fail;
3609 if (arg3 == NULL) {
3610 SWIG_null_ref("wxBitmap");
3611 }
3612 if (SWIG_arg_fail(3)) SWIG_fail;
3613 }
d14a1e28
RD
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3616 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
d14a1e28
RD
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 Py_INCREF(Py_None); resultobj = Py_None;
3622 return resultobj;
3623 fail:
3624 return NULL;
3625}
3626
3627
36ed4f51 3628static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3629 PyObject *resultobj = NULL;
d14a1e28
RD
3630 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3631 int arg2 ;
36ed4f51 3632 int arg3 ;
d14a1e28 3633 PyObject * obj0 = 0 ;
994141e6 3634 PyObject * obj1 = 0 ;
d14a1e28
RD
3635 PyObject * obj2 = 0 ;
3636 char *kwnames[] = {
36ed4f51 3637 (char *) "self",(char *) "margin",(char *) "marginType", NULL
d14a1e28
RD
3638 };
3639
36ed4f51
RD
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
3641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3642 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3643 {
32fe5131 3644 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3645 if (SWIG_arg_fail(2)) SWIG_fail;
3646 }
3647 {
32fe5131 3648 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51 3649 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
3650 }
3651 {
3652 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3653 (arg1)->SetMarginType(arg2,arg3);
d14a1e28
RD
3654
3655 wxPyEndAllowThreads(__tstate);
3656 if (PyErr_Occurred()) SWIG_fail;
3657 }
3658 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3659 return resultobj;
3660 fail:
d14a1e28
RD
3661 return NULL;
3662}
3663
3664
36ed4f51 3665static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3666 PyObject *resultobj = NULL;
d14a1e28
RD
3667 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3668 int arg2 ;
36ed4f51 3669 int result;
d14a1e28 3670 PyObject * obj0 = 0 ;
994141e6 3671 PyObject * obj1 = 0 ;
d14a1e28 3672 char *kwnames[] = {
36ed4f51 3673 (char *) "self",(char *) "margin", NULL
d14a1e28
RD
3674 };
3675
36ed4f51
RD
3676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
3677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3678 if (SWIG_arg_fail(1)) SWIG_fail;
3679 {
32fe5131 3680 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3681 if (SWIG_arg_fail(2)) SWIG_fail;
3682 }
d14a1e28
RD
3683 {
3684 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3685 result = (int)(arg1)->GetMarginType(arg2);
d14a1e28
RD
3686
3687 wxPyEndAllowThreads(__tstate);
3688 if (PyErr_Occurred()) SWIG_fail;
3689 }
36ed4f51 3690 {
32fe5131 3691 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3692 }
d14a1e28
RD
3693 return resultobj;
3694 fail:
3695 return NULL;
3696}
3697
3698
36ed4f51 3699static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3700 PyObject *resultobj = NULL;
d14a1e28 3701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
3702 int arg2 ;
3703 int arg3 ;
d14a1e28 3704 PyObject * obj0 = 0 ;
36ed4f51
RD
3705 PyObject * obj1 = 0 ;
3706 PyObject * obj2 = 0 ;
d14a1e28 3707 char *kwnames[] = {
36ed4f51 3708 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
d14a1e28
RD
3709 };
3710
36ed4f51
RD
3711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
3712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3713 if (SWIG_arg_fail(1)) SWIG_fail;
3714 {
32fe5131 3715 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3716 if (SWIG_arg_fail(2)) SWIG_fail;
3717 }
3718 {
32fe5131 3719 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3720 if (SWIG_arg_fail(3)) SWIG_fail;
3721 }
d14a1e28
RD
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3724 (arg1)->SetMarginWidth(arg2,arg3);
d14a1e28
RD
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 Py_INCREF(Py_None); resultobj = Py_None;
3730 return resultobj;
3731 fail:
3732 return NULL;
3733}
3734
3735
36ed4f51 3736static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3737 PyObject *resultobj = NULL;
d14a1e28
RD
3738 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3739 int arg2 ;
36ed4f51 3740 int result;
d14a1e28 3741 PyObject * obj0 = 0 ;
994141e6 3742 PyObject * obj1 = 0 ;
d14a1e28 3743 char *kwnames[] = {
36ed4f51 3744 (char *) "self",(char *) "margin", NULL
d14a1e28
RD
3745 };
3746
36ed4f51
RD
3747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
3748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3749 if (SWIG_arg_fail(1)) SWIG_fail;
3750 {
32fe5131 3751 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3752 if (SWIG_arg_fail(2)) SWIG_fail;
3753 }
d14a1e28
RD
3754 {
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3756 result = (int)(arg1)->GetMarginWidth(arg2);
d14a1e28
RD
3757
3758 wxPyEndAllowThreads(__tstate);
3759 if (PyErr_Occurred()) SWIG_fail;
3760 }
36ed4f51 3761 {
32fe5131 3762 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3763 }
d14a1e28
RD
3764 return resultobj;
3765 fail:
3766 return NULL;
3767}
3768
3769
36ed4f51 3770static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3771 PyObject *resultobj = NULL;
d14a1e28
RD
3772 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3773 int arg2 ;
3774 int arg3 ;
3775 PyObject * obj0 = 0 ;
994141e6
RD
3776 PyObject * obj1 = 0 ;
3777 PyObject * obj2 = 0 ;
d14a1e28 3778 char *kwnames[] = {
36ed4f51 3779 (char *) "self",(char *) "margin",(char *) "mask", NULL
d14a1e28
RD
3780 };
3781
36ed4f51
RD
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
3783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3784 if (SWIG_arg_fail(1)) SWIG_fail;
3785 {
32fe5131 3786 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3787 if (SWIG_arg_fail(2)) SWIG_fail;
3788 }
3789 {
32fe5131 3790 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3791 if (SWIG_arg_fail(3)) SWIG_fail;
3792 }
d14a1e28
RD
3793 {
3794 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3795 (arg1)->SetMarginMask(arg2,arg3);
d14a1e28
RD
3796
3797 wxPyEndAllowThreads(__tstate);
3798 if (PyErr_Occurred()) SWIG_fail;
3799 }
3800 Py_INCREF(Py_None); resultobj = Py_None;
3801 return resultobj;
3802 fail:
3803 return NULL;
3804}
3805
3806
36ed4f51 3807static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3808 PyObject *resultobj = NULL;
d14a1e28
RD
3809 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3810 int arg2 ;
36ed4f51 3811 int result;
d14a1e28 3812 PyObject * obj0 = 0 ;
994141e6 3813 PyObject * obj1 = 0 ;
d14a1e28 3814 char *kwnames[] = {
36ed4f51 3815 (char *) "self",(char *) "margin", NULL
d14a1e28
RD
3816 };
3817
36ed4f51
RD
3818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
3819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3820 if (SWIG_arg_fail(1)) SWIG_fail;
3821 {
32fe5131 3822 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3823 if (SWIG_arg_fail(2)) SWIG_fail;
3824 }
d14a1e28
RD
3825 {
3826 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3827 result = (int)(arg1)->GetMarginMask(arg2);
d14a1e28
RD
3828
3829 wxPyEndAllowThreads(__tstate);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
36ed4f51 3832 {
32fe5131 3833 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3834 }
d14a1e28
RD
3835 return resultobj;
3836 fail:
3837 return NULL;
3838}
3839
3840
36ed4f51 3841static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3842 PyObject *resultobj = NULL;
d14a1e28
RD
3843 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3844 int arg2 ;
3845 bool arg3 ;
3846 PyObject * obj0 = 0 ;
994141e6 3847 PyObject * obj1 = 0 ;
d14a1e28
RD
3848 PyObject * obj2 = 0 ;
3849 char *kwnames[] = {
36ed4f51 3850 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
d14a1e28
RD
3851 };
3852
36ed4f51
RD
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
3854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3855 if (SWIG_arg_fail(1)) SWIG_fail;
3856 {
32fe5131 3857 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3858 if (SWIG_arg_fail(2)) SWIG_fail;
3859 }
3860 {
32fe5131 3861 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
3862 if (SWIG_arg_fail(3)) SWIG_fail;
3863 }
d14a1e28
RD
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3866 (arg1)->SetMarginSensitive(arg2,arg3);
d14a1e28
RD
3867
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 Py_INCREF(Py_None); resultobj = Py_None;
3872 return resultobj;
3873 fail:
3874 return NULL;
3875}
3876
3877
36ed4f51 3878static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3879 PyObject *resultobj = NULL;
d14a1e28 3880 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
3881 int arg2 ;
3882 bool result;
d14a1e28
RD
3883 PyObject * obj0 = 0 ;
3884 PyObject * obj1 = 0 ;
d14a1e28 3885 char *kwnames[] = {
36ed4f51 3886 (char *) "self",(char *) "margin", NULL
d14a1e28
RD
3887 };
3888
36ed4f51
RD
3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
3890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3891 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3892 {
32fe5131 3893 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 3894 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3895 }
3896 {
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51
RD
3898 result = (bool)(arg1)->GetMarginSensitive(arg2);
3899
3900 wxPyEndAllowThreads(__tstate);
3901 if (PyErr_Occurred()) SWIG_fail;
3902 }
3903 {
3904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3905 }
3906 return resultobj;
3907 fail:
3908 return NULL;
3909}
3910
3911
3912static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3913 PyObject *resultobj = NULL;
36ed4f51
RD
3914 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3915 PyObject * obj0 = 0 ;
3916 char *kwnames[] = {
3917 (char *) "self", NULL
3918 };
3919
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
3921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3922 if (SWIG_arg_fail(1)) SWIG_fail;
3923 {
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 (arg1)->StyleClearAll();
d14a1e28
RD
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 Py_INCREF(Py_None); resultobj = Py_None;
3931 return resultobj;
3932 fail:
3933 return NULL;
3934}
3935
3936
36ed4f51 3937static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3938 PyObject *resultobj = NULL;
d14a1e28 3939 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 3940 int arg2 ;
d14a1e28
RD
3941 wxColour *arg3 = 0 ;
3942 wxColour temp3 ;
3943 PyObject * obj0 = 0 ;
3944 PyObject * obj1 = 0 ;
3945 PyObject * obj2 = 0 ;
3946 char *kwnames[] = {
36ed4f51 3947 (char *) "self",(char *) "style",(char *) "fore", NULL
d14a1e28
RD
3948 };
3949
36ed4f51
RD
3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3952 if (SWIG_arg_fail(1)) SWIG_fail;
3953 {
32fe5131 3954 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3955 if (SWIG_arg_fail(2)) SWIG_fail;
3956 }
d14a1e28
RD
3957 {
3958 arg3 = &temp3;
3959 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3960 }
3961 {
3962 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3963 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
3964
3965 wxPyEndAllowThreads(__tstate);
3966 if (PyErr_Occurred()) SWIG_fail;
3967 }
3968 Py_INCREF(Py_None); resultobj = Py_None;
3969 return resultobj;
3970 fail:
3971 return NULL;
3972}
3973
3974
36ed4f51 3975static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3976 PyObject *resultobj = NULL;
d14a1e28 3977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
3978 int arg2 ;
3979 wxColour *arg3 = 0 ;
3980 wxColour temp3 ;
d14a1e28
RD
3981 PyObject * obj0 = 0 ;
3982 PyObject * obj1 = 0 ;
36ed4f51 3983 PyObject * obj2 = 0 ;
d14a1e28 3984 char *kwnames[] = {
36ed4f51 3985 (char *) "self",(char *) "style",(char *) "back", NULL
d14a1e28
RD
3986 };
3987
36ed4f51
RD
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3990 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3991 {
32fe5131 3992 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3993 if (SWIG_arg_fail(2)) SWIG_fail;
3994 }
3995 {
3996 arg3 = &temp3;
3997 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
3998 }
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4001 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 Py_INCREF(Py_None); resultobj = Py_None;
4007 return resultobj;
4008 fail:
4009 return NULL;
4010}
4011
4012
36ed4f51 4013static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4014 PyObject *resultobj = NULL;
d14a1e28
RD
4015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4016 int arg2 ;
36ed4f51 4017 bool arg3 ;
d14a1e28 4018 PyObject * obj0 = 0 ;
994141e6
RD
4019 PyObject * obj1 = 0 ;
4020 PyObject * obj2 = 0 ;
d14a1e28 4021 char *kwnames[] = {
36ed4f51 4022 (char *) "self",(char *) "style",(char *) "bold", NULL
d14a1e28
RD
4023 };
4024
36ed4f51
RD
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
4026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail;
4028 {
32fe5131 4029 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4030 if (SWIG_arg_fail(2)) SWIG_fail;
4031 }
4032 {
32fe5131 4033 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
4034 if (SWIG_arg_fail(3)) SWIG_fail;
4035 }
d14a1e28
RD
4036 {
4037 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4038 (arg1)->StyleSetBold(arg2,arg3);
d14a1e28
RD
4039
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 Py_INCREF(Py_None); resultobj = Py_None;
4044 return resultobj;
4045 fail:
4046 return NULL;
4047}
4048
4049
36ed4f51 4050static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4051 PyObject *resultobj = NULL;
d14a1e28
RD
4052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4053 int arg2 ;
36ed4f51 4054 bool arg3 ;
d14a1e28 4055 PyObject * obj0 = 0 ;
994141e6
RD
4056 PyObject * obj1 = 0 ;
4057 PyObject * obj2 = 0 ;
d14a1e28 4058 char *kwnames[] = {
36ed4f51 4059 (char *) "self",(char *) "style",(char *) "italic", NULL
d14a1e28
RD
4060 };
4061
36ed4f51
RD
4062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
4063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4064 if (SWIG_arg_fail(1)) SWIG_fail;
4065 {
32fe5131 4066 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4067 if (SWIG_arg_fail(2)) SWIG_fail;
4068 }
4069 {
32fe5131 4070 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
4071 if (SWIG_arg_fail(3)) SWIG_fail;
4072 }
d14a1e28
RD
4073 {
4074 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4075 (arg1)->StyleSetItalic(arg2,arg3);
d14a1e28
RD
4076
4077 wxPyEndAllowThreads(__tstate);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 }
4080 Py_INCREF(Py_None); resultobj = Py_None;
4081 return resultobj;
4082 fail:
4083 return NULL;
4084}
4085
4086
36ed4f51 4087static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4088 PyObject *resultobj = NULL;
d14a1e28 4089 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4090 int arg2 ;
4091 int arg3 ;
d14a1e28 4092 PyObject * obj0 = 0 ;
36ed4f51
RD
4093 PyObject * obj1 = 0 ;
4094 PyObject * obj2 = 0 ;
d14a1e28 4095 char *kwnames[] = {
36ed4f51 4096 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
d14a1e28
RD
4097 };
4098
36ed4f51
RD
4099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
4100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4101 if (SWIG_arg_fail(1)) SWIG_fail;
4102 {
32fe5131 4103 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4104 if (SWIG_arg_fail(2)) SWIG_fail;
4105 }
4106 {
32fe5131 4107 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
4108 if (SWIG_arg_fail(3)) SWIG_fail;
4109 }
d14a1e28
RD
4110 {
4111 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4112 (arg1)->StyleSetSize(arg2,arg3);
d14a1e28
RD
4113
4114 wxPyEndAllowThreads(__tstate);
4115 if (PyErr_Occurred()) SWIG_fail;
4116 }
4117 Py_INCREF(Py_None); resultobj = Py_None;
4118 return resultobj;
4119 fail:
4120 return NULL;
4121}
4122
4123
36ed4f51 4124static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4125 PyObject *resultobj = NULL;
d14a1e28
RD
4126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4127 int arg2 ;
36ed4f51
RD
4128 wxString *arg3 = 0 ;
4129 bool temp3 = false ;
d14a1e28 4130 PyObject * obj0 = 0 ;
994141e6
RD
4131 PyObject * obj1 = 0 ;
4132 PyObject * obj2 = 0 ;
d14a1e28 4133 char *kwnames[] = {
36ed4f51 4134 (char *) "self",(char *) "style",(char *) "fontName", NULL
d14a1e28
RD
4135 };
4136
36ed4f51
RD
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
4138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4139 if (SWIG_arg_fail(1)) SWIG_fail;
4140 {
32fe5131 4141 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4142 if (SWIG_arg_fail(2)) SWIG_fail;
4143 }
4144 {
4145 arg3 = wxString_in_helper(obj2);
4146 if (arg3 == NULL) SWIG_fail;
4147 temp3 = true;
4148 }
d14a1e28
RD
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4151 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
d14a1e28
RD
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
4156 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
4157 {
4158 if (temp3)
4159 delete arg3;
4160 }
d14a1e28
RD
4161 return resultobj;
4162 fail:
36ed4f51
RD
4163 {
4164 if (temp3)
4165 delete arg3;
4166 }
d14a1e28
RD
4167 return NULL;
4168}
4169
4170
36ed4f51 4171static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4172 PyObject *resultobj = NULL;
d14a1e28
RD
4173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4174 int arg2 ;
4175 bool arg3 ;
4176 PyObject * obj0 = 0 ;
994141e6 4177 PyObject * obj1 = 0 ;
d14a1e28
RD
4178 PyObject * obj2 = 0 ;
4179 char *kwnames[] = {
36ed4f51 4180 (char *) "self",(char *) "style",(char *) "filled", NULL
d14a1e28
RD
4181 };
4182
36ed4f51
RD
4183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
4184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4185 if (SWIG_arg_fail(1)) SWIG_fail;
4186 {
32fe5131 4187 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4188 if (SWIG_arg_fail(2)) SWIG_fail;
4189 }
4190 {
32fe5131 4191 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
4192 if (SWIG_arg_fail(3)) SWIG_fail;
4193 }
d14a1e28
RD
4194 {
4195 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4196 (arg1)->StyleSetEOLFilled(arg2,arg3);
d14a1e28
RD
4197
4198 wxPyEndAllowThreads(__tstate);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 }
4201 Py_INCREF(Py_None); resultobj = Py_None;
4202 return resultobj;
4203 fail:
4204 return NULL;
4205}
4206
4207
36ed4f51 4208static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4209 PyObject *resultobj = NULL;
d14a1e28 4210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
4211 PyObject * obj0 = 0 ;
4212 char *kwnames[] = {
4213 (char *) "self", NULL
4214 };
4215
36ed4f51
RD
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
4217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4218 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4221 (arg1)->StyleResetDefault();
d14a1e28
RD
4222
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
36ed4f51 4226 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4227 return resultobj;
4228 fail:
4229 return NULL;
4230}
4231
4232
36ed4f51 4233static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4234 PyObject *resultobj = NULL;
d14a1e28
RD
4235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4236 int arg2 ;
36ed4f51 4237 bool arg3 ;
d14a1e28 4238 PyObject * obj0 = 0 ;
994141e6 4239 PyObject * obj1 = 0 ;
36ed4f51 4240 PyObject * obj2 = 0 ;
d14a1e28 4241 char *kwnames[] = {
36ed4f51 4242 (char *) "self",(char *) "style",(char *) "underline", NULL
d14a1e28
RD
4243 };
4244
36ed4f51
RD
4245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
4246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4247 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4248 {
32fe5131 4249 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 4250 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 4251 }
d14a1e28 4252 {
32fe5131 4253 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51 4254 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4255 }
4256 {
4257 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4258 (arg1)->StyleSetUnderline(arg2,arg3);
d14a1e28
RD
4259
4260 wxPyEndAllowThreads(__tstate);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4264 return resultobj;
4265 fail:
d14a1e28
RD
4266 return NULL;
4267}
4268
4269
36ed4f51 4270static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4271 PyObject *resultobj = NULL;
d14a1e28 4272 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4273 int arg2 ;
4274 int arg3 ;
d14a1e28 4275 PyObject * obj0 = 0 ;
36ed4f51
RD
4276 PyObject * obj1 = 0 ;
4277 PyObject * obj2 = 0 ;
d14a1e28 4278 char *kwnames[] = {
36ed4f51 4279 (char *) "self",(char *) "style",(char *) "caseForce", NULL
d14a1e28
RD
4280 };
4281
36ed4f51
RD
4282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
4283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4284 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4285 {
32fe5131 4286 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4287 if (SWIG_arg_fail(2)) SWIG_fail;
4288 }
4289 {
32fe5131 4290 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51 4291 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28 4292 }
d14a1e28
RD
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4295 (arg1)->StyleSetCase(arg2,arg3);
d14a1e28
RD
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) SWIG_fail;
4299 }
4300 Py_INCREF(Py_None); resultobj = Py_None;
4301 return resultobj;
4302 fail:
4303 return NULL;
4304}
4305
4306
36ed4f51 4307static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4308 PyObject *resultobj = NULL;
d14a1e28
RD
4309 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4310 int arg2 ;
36ed4f51 4311 bool arg3 ;
d14a1e28 4312 PyObject * obj0 = 0 ;
994141e6 4313 PyObject * obj1 = 0 ;
36ed4f51 4314 PyObject * obj2 = 0 ;
d14a1e28 4315 char *kwnames[] = {
36ed4f51 4316 (char *) "self",(char *) "style",(char *) "hotspot", NULL
d14a1e28
RD
4317 };
4318
36ed4f51
RD
4319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
4320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4321 if (SWIG_arg_fail(1)) SWIG_fail;
4322 {
32fe5131 4323 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4324 if (SWIG_arg_fail(2)) SWIG_fail;
4325 }
4326 {
32fe5131 4327 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
4328 if (SWIG_arg_fail(3)) SWIG_fail;
4329 }
d14a1e28
RD
4330 {
4331 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4332 (arg1)->StyleSetHotSpot(arg2,arg3);
d14a1e28
RD
4333
4334 wxPyEndAllowThreads(__tstate);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
36ed4f51 4337 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4338 return resultobj;
4339 fail:
4340 return NULL;
4341}
4342
4343
36ed4f51 4344static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4345 PyObject *resultobj = NULL;
d14a1e28 4346 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 4347 bool arg2 ;
d14a1e28
RD
4348 wxColour *arg3 = 0 ;
4349 wxColour temp3 ;
4350 PyObject * obj0 = 0 ;
994141e6 4351 PyObject * obj1 = 0 ;
d14a1e28
RD
4352 PyObject * obj2 = 0 ;
4353 char *kwnames[] = {
36ed4f51 4354 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
d14a1e28
RD
4355 };
4356
36ed4f51
RD
4357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4359 if (SWIG_arg_fail(1)) SWIG_fail;
4360 {
32fe5131 4361 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4362 if (SWIG_arg_fail(2)) SWIG_fail;
4363 }
d14a1e28
RD
4364 {
4365 arg3 = &temp3;
4366 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4367 }
4368 {
4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4370 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
4371
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
4375 Py_INCREF(Py_None); resultobj = Py_None;
4376 return resultobj;
4377 fail:
4378 return NULL;
4379}
4380
4381
36ed4f51 4382static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4383 PyObject *resultobj = NULL;
d14a1e28 4384 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4385 bool arg2 ;
4386 wxColour *arg3 = 0 ;
4387 wxColour temp3 ;
d14a1e28 4388 PyObject * obj0 = 0 ;
994141e6 4389 PyObject * obj1 = 0 ;
36ed4f51 4390 PyObject * obj2 = 0 ;
d14a1e28 4391 char *kwnames[] = {
36ed4f51 4392 (char *) "self",(char *) "useSetting",(char *) "back", NULL
d14a1e28
RD
4393 };
4394
36ed4f51
RD
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4397 if (SWIG_arg_fail(1)) SWIG_fail;
4398 {
32fe5131 4399 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4400 if (SWIG_arg_fail(2)) SWIG_fail;
4401 }
4402 {
4403 arg3 = &temp3;
4404 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4405 }
d14a1e28
RD
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4408 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
36ed4f51 4413 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4414 return resultobj;
4415 fail:
4416 return NULL;
4417}
4418
4419
36ed4f51 4420static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4421 PyObject *resultobj = NULL;
d14a1e28 4422 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4423 wxColour *arg2 = 0 ;
4424 wxColour temp2 ;
d14a1e28
RD
4425 PyObject * obj0 = 0 ;
4426 PyObject * obj1 = 0 ;
d14a1e28 4427 char *kwnames[] = {
36ed4f51 4428 (char *) "self",(char *) "fore", NULL
d14a1e28
RD
4429 };
4430
36ed4f51
RD
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
4432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4433 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4434 {
36ed4f51
RD
4435 arg2 = &temp2;
4436 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
4437 }
4438 {
4439 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4440 (arg1)->SetCaretForeground((wxColour const &)*arg2);
d14a1e28
RD
4441
4442 wxPyEndAllowThreads(__tstate);
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4445 Py_INCREF(Py_None); resultobj = Py_None;
4446 return resultobj;
4447 fail:
4448 return NULL;
4449}
4450
4451
36ed4f51 4452static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4453 PyObject *resultobj = NULL;
d14a1e28 4454 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4455 int arg2 ;
4456 int arg3 ;
4457 int arg4 ;
d14a1e28
RD
4458 PyObject * obj0 = 0 ;
4459 PyObject * obj1 = 0 ;
4460 PyObject * obj2 = 0 ;
36ed4f51 4461 PyObject * obj3 = 0 ;
d14a1e28 4462 char *kwnames[] = {
36ed4f51 4463 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
d14a1e28
RD
4464 };
4465
36ed4f51
RD
4466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4468 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4469 {
32fe5131 4470 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4471 if (SWIG_arg_fail(2)) SWIG_fail;
4472 }
4473 {
32fe5131 4474 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
4475 if (SWIG_arg_fail(3)) SWIG_fail;
4476 }
4477 {
32fe5131 4478 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51 4479 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
4480 }
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4483 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
d14a1e28
RD
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 Py_INCREF(Py_None); resultobj = Py_None;
4489 return resultobj;
4490 fail:
4491 return NULL;
4492}
4493
4494
36ed4f51 4495static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4496 PyObject *resultobj = NULL;
d14a1e28
RD
4497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4498 int arg2 ;
36ed4f51 4499 int arg3 ;
d14a1e28 4500 PyObject * obj0 = 0 ;
994141e6 4501 PyObject * obj1 = 0 ;
36ed4f51 4502 PyObject * obj2 = 0 ;
d14a1e28 4503 char *kwnames[] = {
36ed4f51 4504 (char *) "self",(char *) "key",(char *) "modifiers", NULL
d14a1e28
RD
4505 };
4506
36ed4f51
RD
4507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
4508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4509 if (SWIG_arg_fail(1)) SWIG_fail;
4510 {
32fe5131 4511 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4512 if (SWIG_arg_fail(2)) SWIG_fail;
4513 }
4514 {
32fe5131 4515 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
4516 if (SWIG_arg_fail(3)) SWIG_fail;
4517 }
d14a1e28
RD
4518 {
4519 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4520 (arg1)->CmdKeyClear(arg2,arg3);
d14a1e28
RD
4521
4522 wxPyEndAllowThreads(__tstate);
4523 if (PyErr_Occurred()) SWIG_fail;
4524 }
4525 Py_INCREF(Py_None); resultobj = Py_None;
4526 return resultobj;
4527 fail:
4528 return NULL;
4529}
4530
4531
36ed4f51 4532static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4533 PyObject *resultobj = NULL;
d14a1e28 4534 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
4535 PyObject * obj0 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self", NULL
4538 };
4539
36ed4f51
RD
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
4541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4542 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4545 (arg1)->CmdKeyClearAll();
d14a1e28
RD
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 }
36ed4f51 4550 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4551 return resultobj;
4552 fail:
4553 return NULL;
4554}
4555
4556
36ed4f51 4557static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4558 PyObject *resultobj = NULL;
d14a1e28
RD
4559 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4560 int arg2 ;
36ed4f51 4561 char *arg3 = (char *) 0 ;
d14a1e28 4562 PyObject * obj0 = 0 ;
994141e6
RD
4563 PyObject * obj1 = 0 ;
4564 PyObject * obj2 = 0 ;
d14a1e28 4565 char *kwnames[] = {
36ed4f51 4566 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
d14a1e28
RD
4567 };
4568
36ed4f51
RD
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
4570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4571 if (SWIG_arg_fail(1)) SWIG_fail;
4572 {
32fe5131 4573 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4574 if (SWIG_arg_fail(2)) SWIG_fail;
4575 }
4576 if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) {
4577 SWIG_arg_fail(3);SWIG_fail;
4578 }
d14a1e28
RD
4579 {
4580 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4581 (arg1)->SetStyleBytes(arg2,arg3);
d14a1e28
RD
4582
4583 wxPyEndAllowThreads(__tstate);
4584 if (PyErr_Occurred()) SWIG_fail;
4585 }
4586 Py_INCREF(Py_None); resultobj = Py_None;
4587 return resultobj;
4588 fail:
4589 return NULL;
4590}
4591
4592
36ed4f51 4593static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4594 PyObject *resultobj = NULL;
d14a1e28
RD
4595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4596 int arg2 ;
36ed4f51 4597 bool arg3 ;
d14a1e28 4598 PyObject * obj0 = 0 ;
994141e6 4599 PyObject * obj1 = 0 ;
36ed4f51 4600 PyObject * obj2 = 0 ;
d14a1e28 4601 char *kwnames[] = {
36ed4f51 4602 (char *) "self",(char *) "style",(char *) "visible", NULL
d14a1e28
RD
4603 };
4604
36ed4f51
RD
4605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
4606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4607 if (SWIG_arg_fail(1)) SWIG_fail;
4608 {
32fe5131 4609 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4610 if (SWIG_arg_fail(2)) SWIG_fail;
4611 }
4612 {
32fe5131 4613 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
4614 if (SWIG_arg_fail(3)) SWIG_fail;
4615 }
d14a1e28
RD
4616 {
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4618 (arg1)->StyleSetVisible(arg2,arg3);
d14a1e28
RD
4619
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
36ed4f51 4623 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4624 return resultobj;
4625 fail:
4626 return NULL;
4627}
4628
4629
36ed4f51 4630static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4631 PyObject *resultobj = NULL;
d14a1e28
RD
4632 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4633 int result;
4634 PyObject * obj0 = 0 ;
4635 char *kwnames[] = {
4636 (char *) "self", NULL
4637 };
4638
36ed4f51
RD
4639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
4640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4641 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4644 result = (int)(arg1)->GetCaretPeriod();
d14a1e28
RD
4645
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
36ed4f51 4649 {
32fe5131 4650 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 4651 }
d14a1e28
RD
4652 return resultobj;
4653 fail:
4654 return NULL;
4655}
4656
4657
36ed4f51 4658static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4659 PyObject *resultobj = NULL;
d14a1e28 4660 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 4661 int arg2 ;
d14a1e28 4662 PyObject * obj0 = 0 ;
36ed4f51 4663 PyObject * obj1 = 0 ;
d14a1e28 4664 char *kwnames[] = {
36ed4f51 4665 (char *) "self",(char *) "periodMilliseconds", NULL
d14a1e28
RD
4666 };
4667
36ed4f51
RD
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
4669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4670 if (SWIG_arg_fail(1)) SWIG_fail;
4671 {
32fe5131 4672 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4673 if (SWIG_arg_fail(2)) SWIG_fail;
4674 }
d14a1e28
RD
4675 {
4676 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4677 (arg1)->SetCaretPeriod(arg2);
d14a1e28
RD
4678
4679 wxPyEndAllowThreads(__tstate);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
36ed4f51 4682 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4683 return resultobj;
4684 fail:
4685 return NULL;
4686}
4687
4688
36ed4f51 4689static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4690 PyObject *resultobj = NULL;
d14a1e28 4691 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4692 wxString *arg2 = 0 ;
4693 bool temp2 = false ;
d14a1e28
RD
4694 PyObject * obj0 = 0 ;
4695 PyObject * obj1 = 0 ;
4696 char *kwnames[] = {
36ed4f51 4697 (char *) "self",(char *) "characters", NULL
d14a1e28
RD
4698 };
4699
36ed4f51
RD
4700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
4701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4702 if (SWIG_arg_fail(1)) SWIG_fail;
4703 {
4704 arg2 = wxString_in_helper(obj1);
4705 if (arg2 == NULL) SWIG_fail;
4706 temp2 = true;
4707 }
d14a1e28
RD
4708 {
4709 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4710 (arg1)->SetWordChars((wxString const &)*arg2);
d14a1e28
RD
4711
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
4716 {
4717 if (temp2)
4718 delete arg2;
4719 }
d14a1e28
RD
4720 return resultobj;
4721 fail:
36ed4f51
RD
4722 {
4723 if (temp2)
4724 delete arg2;
4725 }
d14a1e28
RD
4726 return NULL;
4727}
4728
4729
36ed4f51 4730static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4731 PyObject *resultobj = NULL;
d14a1e28 4732 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
4733 PyObject * obj0 = 0 ;
4734 char *kwnames[] = {
4735 (char *) "self", NULL
4736 };
4737
36ed4f51
RD
4738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
4739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4740 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4741 {
4742 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4743 (arg1)->BeginUndoAction();
d14a1e28
RD
4744
4745 wxPyEndAllowThreads(__tstate);
4746 if (PyErr_Occurred()) SWIG_fail;
4747 }
36ed4f51 4748 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4749 return resultobj;
4750 fail:
4751 return NULL;
4752}
4753
4754
36ed4f51 4755static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4756 PyObject *resultobj = NULL;
d14a1e28 4757 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 4758 PyObject * obj0 = 0 ;
d14a1e28 4759 char *kwnames[] = {
36ed4f51 4760 (char *) "self", NULL
d14a1e28
RD
4761 };
4762
36ed4f51
RD
4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
4764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4765 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4768 (arg1)->EndUndoAction();
d14a1e28
RD
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 Py_INCREF(Py_None); resultobj = Py_None;
4774 return resultobj;
4775 fail:
4776 return NULL;
4777}
4778
4779
36ed4f51 4780static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4781 PyObject *resultobj = NULL;
d14a1e28
RD
4782 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4783 int arg2 ;
36ed4f51 4784 int arg3 ;
d14a1e28 4785 PyObject * obj0 = 0 ;
994141e6 4786 PyObject * obj1 = 0 ;
d14a1e28
RD
4787 PyObject * obj2 = 0 ;
4788 char *kwnames[] = {
36ed4f51 4789 (char *) "self",(char *) "indic",(char *) "style", NULL
d14a1e28
RD
4790 };
4791
36ed4f51
RD
4792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
4793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4794 if (SWIG_arg_fail(1)) SWIG_fail;
4795 {
32fe5131 4796 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4797 if (SWIG_arg_fail(2)) SWIG_fail;
4798 }
4799 {
32fe5131 4800 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
4801 if (SWIG_arg_fail(3)) SWIG_fail;
4802 }
d14a1e28
RD
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4805 (arg1)->IndicatorSetStyle(arg2,arg3);
d14a1e28
RD
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 Py_INCREF(Py_None); resultobj = Py_None;
4811 return resultobj;
4812 fail:
4813 return NULL;
4814}
4815
4816
36ed4f51 4817static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4818 PyObject *resultobj = NULL;
d14a1e28
RD
4819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4820 int arg2 ;
36ed4f51 4821 int result;
d14a1e28 4822 PyObject * obj0 = 0 ;
994141e6 4823 PyObject * obj1 = 0 ;
d14a1e28 4824 char *kwnames[] = {
36ed4f51 4825 (char *) "self",(char *) "indic", NULL
d14a1e28
RD
4826 };
4827
36ed4f51
RD
4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
4829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4830 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4831 {
32fe5131 4832 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 4833 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4834 }
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4837 result = (int)(arg1)->IndicatorGetStyle(arg2);
d14a1e28
RD
4838
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
d14a1e28 4842 {
32fe5131 4843 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28
RD
4844 }
4845 return resultobj;
4846 fail:
d14a1e28
RD
4847 return NULL;
4848}
4849
4850
36ed4f51 4851static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4852 PyObject *resultobj = NULL;
d14a1e28 4853 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4854 int arg2 ;
4855 wxColour *arg3 = 0 ;
4856 wxColour temp3 ;
d14a1e28 4857 PyObject * obj0 = 0 ;
36ed4f51
RD
4858 PyObject * obj1 = 0 ;
4859 PyObject * obj2 = 0 ;
d14a1e28 4860 char *kwnames[] = {
36ed4f51 4861 (char *) "self",(char *) "indic",(char *) "fore", NULL
d14a1e28
RD
4862 };
4863
36ed4f51
RD
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4866 if (SWIG_arg_fail(1)) SWIG_fail;
4867 {
32fe5131 4868 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4869 if (SWIG_arg_fail(2)) SWIG_fail;
4870 }
4871 {
4872 arg3 = &temp3;
4873 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4874 }
d14a1e28
RD
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4877 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
4878
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 Py_INCREF(Py_None); resultobj = Py_None;
4883 return resultobj;
4884 fail:
4885 return NULL;
4886}
4887
4888
36ed4f51 4889static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4890 PyObject *resultobj = NULL;
d14a1e28 4891 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4892 int arg2 ;
4893 wxColour result;
d14a1e28 4894 PyObject * obj0 = 0 ;
36ed4f51 4895 PyObject * obj1 = 0 ;
d14a1e28 4896 char *kwnames[] = {
36ed4f51 4897 (char *) "self",(char *) "indic", NULL
d14a1e28
RD
4898 };
4899
36ed4f51
RD
4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
4901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4902 if (SWIG_arg_fail(1)) SWIG_fail;
4903 {
32fe5131 4904 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4905 if (SWIG_arg_fail(2)) SWIG_fail;
4906 }
d14a1e28
RD
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4909 result = (arg1)->IndicatorGetForeground(arg2);
d14a1e28
RD
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4f89f6a3 4914 {
36ed4f51 4915 wxColour * resultptr;
32fe5131 4916 resultptr = new wxColour(static_cast<wxColour & >(result));
36ed4f51 4917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4f89f6a3 4918 }
d14a1e28
RD
4919 return resultobj;
4920 fail:
4921 return NULL;
4922}
4923
4924
36ed4f51 4925static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4926 PyObject *resultobj = NULL;
d14a1e28 4927 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4928 bool arg2 ;
4929 wxColour *arg3 = 0 ;
4930 wxColour temp3 ;
d14a1e28 4931 PyObject * obj0 = 0 ;
36ed4f51
RD
4932 PyObject * obj1 = 0 ;
4933 PyObject * obj2 = 0 ;
d14a1e28 4934 char *kwnames[] = {
36ed4f51 4935 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
d14a1e28
RD
4936 };
4937
36ed4f51
RD
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4940 if (SWIG_arg_fail(1)) SWIG_fail;
4941 {
32fe5131 4942 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4943 if (SWIG_arg_fail(2)) SWIG_fail;
4944 }
4945 {
4946 arg3 = &temp3;
4947 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4948 }
d14a1e28
RD
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4951 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
4952
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
36ed4f51 4956 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4957 return resultobj;
4958 fail:
4959 return NULL;
4960}
4961
4962
36ed4f51 4963static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4964 PyObject *resultobj = NULL;
d14a1e28 4965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4966 bool arg2 ;
4967 wxColour *arg3 = 0 ;
4968 wxColour temp3 ;
d14a1e28 4969 PyObject * obj0 = 0 ;
36ed4f51
RD
4970 PyObject * obj1 = 0 ;
4971 PyObject * obj2 = 0 ;
d14a1e28 4972 char *kwnames[] = {
36ed4f51 4973 (char *) "self",(char *) "useSetting",(char *) "back", NULL
d14a1e28
RD
4974 };
4975
36ed4f51
RD
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4978 if (SWIG_arg_fail(1)) SWIG_fail;
4979 {
32fe5131 4980 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4981 if (SWIG_arg_fail(2)) SWIG_fail;
4982 }
4983 {
4984 arg3 = &temp3;
4985 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4986 }
d14a1e28
RD
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4989 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
4990
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 Py_INCREF(Py_None); resultobj = Py_None;
4995 return resultobj;
4996 fail:
4997 return NULL;
4998}
4999
5000
36ed4f51 5001static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5002 PyObject *resultobj = NULL;
d14a1e28 5003 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5004 int arg2 ;
d14a1e28
RD
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj1 = 0 ;
5007 char *kwnames[] = {
36ed4f51 5008 (char *) "self",(char *) "bits", NULL
d14a1e28
RD
5009 };
5010
36ed4f51
RD
5011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
5012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5013 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5014 {
32fe5131 5015 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 5016 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5017 }
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5020 (arg1)->SetStyleBits(arg2);
d14a1e28
RD
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5026 return resultobj;
5027 fail:
d14a1e28
RD
5028 return NULL;
5029}
5030
5031
36ed4f51 5032static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5033 PyObject *resultobj = NULL;
d14a1e28 5034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5035 int result;
d14a1e28
RD
5036 PyObject * obj0 = 0 ;
5037 char *kwnames[] = {
36ed4f51 5038 (char *) "self", NULL
d14a1e28
RD
5039 };
5040
36ed4f51
RD
5041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
5042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5043 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5044 {
5045 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5046 result = (int)(arg1)->GetStyleBits();
d14a1e28
RD
5047
5048 wxPyEndAllowThreads(__tstate);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
36ed4f51 5051 {
32fe5131 5052 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5053 }
d14a1e28
RD
5054 return resultobj;
5055 fail:
5056 return NULL;
5057}
5058
5059
36ed4f51 5060static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5061 PyObject *resultobj = NULL;
d14a1e28 5062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
5063 int arg2 ;
5064 int arg3 ;
d14a1e28 5065 PyObject * obj0 = 0 ;
36ed4f51
RD
5066 PyObject * obj1 = 0 ;
5067 PyObject * obj2 = 0 ;
d14a1e28 5068 char *kwnames[] = {
36ed4f51 5069 (char *) "self",(char *) "line",(char *) "state", NULL
d14a1e28
RD
5070 };
5071
36ed4f51
RD
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
5073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5074 if (SWIG_arg_fail(1)) SWIG_fail;
5075 {
32fe5131 5076 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5077 if (SWIG_arg_fail(2)) SWIG_fail;
5078 }
5079 {
32fe5131 5080 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5081 if (SWIG_arg_fail(3)) SWIG_fail;
5082 }
d14a1e28
RD
5083 {
5084 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5085 (arg1)->SetLineState(arg2,arg3);
d14a1e28
RD
5086
5087 wxPyEndAllowThreads(__tstate);
5088 if (PyErr_Occurred()) SWIG_fail;
5089 }
36ed4f51 5090 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5091 return resultobj;
5092 fail:
5093 return NULL;
5094}
5095
5096
36ed4f51 5097static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5098 PyObject *resultobj = NULL;
d14a1e28 5099 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
5100 int arg2 ;
5101 int result;
d14a1e28
RD
5102 PyObject * obj0 = 0 ;
5103 PyObject * obj1 = 0 ;
5104 char *kwnames[] = {
36ed4f51 5105 (char *) "self",(char *) "line", NULL
d14a1e28
RD
5106 };
5107
36ed4f51
RD
5108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
5109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5110 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5111 {
32fe5131 5112 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 5113 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5114 }
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5117 result = (int)(arg1)->GetLineState(arg2);
d14a1e28
RD
5118
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
d14a1e28 5122 {
32fe5131 5123 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28
RD
5124 }
5125 return resultobj;
5126 fail:
d14a1e28
RD
5127 return NULL;
5128}
5129
5130
36ed4f51 5131static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5132 PyObject *resultobj = NULL;
d14a1e28 5133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5134 int result;
d14a1e28 5135 PyObject * obj0 = 0 ;
d14a1e28 5136 char *kwnames[] = {
36ed4f51 5137 (char *) "self", NULL
d14a1e28
RD
5138 };
5139
36ed4f51
RD
5140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
5141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5142 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5145 result = (int)(arg1)->GetMaxLineState();
d14a1e28
RD
5146
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
36ed4f51 5150 {
32fe5131 5151 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5152 }
d14a1e28
RD
5153 return resultobj;
5154 fail:
5155 return NULL;
5156}
5157
5158
36ed4f51 5159static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5160 PyObject *resultobj = NULL;
d14a1e28
RD
5161 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5162 bool result;
5163 PyObject * obj0 = 0 ;
5164 char *kwnames[] = {
5165 (char *) "self", NULL
5166 };
5167
36ed4f51
RD
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
5169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5170 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5173 result = (bool)(arg1)->GetCaretLineVisible();
d14a1e28
RD
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
4f89f6a3
RD
5178 {
5179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5180 }
d14a1e28
RD
5181 return resultobj;
5182 fail:
5183 return NULL;
5184}
5185
5186
36ed4f51 5187static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5188 PyObject *resultobj = NULL;
d14a1e28 5189 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5190 bool arg2 ;
d14a1e28
RD
5191 PyObject * obj0 = 0 ;
5192 PyObject * obj1 = 0 ;
5193 char *kwnames[] = {
36ed4f51 5194 (char *) "self",(char *) "show", NULL
d14a1e28
RD
5195 };
5196
36ed4f51
RD
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
5198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5199 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5200 {
32fe5131 5201 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51 5202 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 5203 }
d14a1e28
RD
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5206 (arg1)->SetCaretLineVisible(arg2);
d14a1e28
RD
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 Py_INCREF(Py_None); resultobj = Py_None;
5212 return resultobj;
5213 fail:
5214 return NULL;
5215}
5216
5217
36ed4f51 5218static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5219 PyObject *resultobj = NULL;
d14a1e28 5220 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5221 wxColour result;
d14a1e28
RD
5222 PyObject * obj0 = 0 ;
5223 char *kwnames[] = {
5224 (char *) "self", NULL
5225 };
5226
36ed4f51
RD
5227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
5228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5229 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5230 {
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5232 result = (arg1)->GetCaretLineBack();
d14a1e28
RD
5233
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
4f89f6a3 5237 {
36ed4f51 5238 wxColour * resultptr;
32fe5131 5239 resultptr = new wxColour(static_cast<wxColour & >(result));
36ed4f51 5240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4f89f6a3 5241 }
d14a1e28
RD
5242 return resultobj;
5243 fail:
5244 return NULL;
5245}
5246
5247
36ed4f51 5248static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5249 PyObject *resultobj = NULL;
d14a1e28 5250 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
5251 wxColour *arg2 = 0 ;
5252 wxColour temp2 ;
d14a1e28
RD
5253 PyObject * obj0 = 0 ;
5254 PyObject * obj1 = 0 ;
5255 char *kwnames[] = {
36ed4f51 5256 (char *) "self",(char *) "back", NULL
d14a1e28
RD
5257 };
5258
36ed4f51
RD
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
5260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5261 if (SWIG_arg_fail(1)) SWIG_fail;
5262 {
5263 arg2 = &temp2;
5264 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5265 }
d14a1e28
RD
5266 {
5267 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5268 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
d14a1e28
RD
5269
5270 wxPyEndAllowThreads(__tstate);
5271 if (PyErr_Occurred()) SWIG_fail;
5272 }
5273 Py_INCREF(Py_None); resultobj = Py_None;
5274 return resultobj;
5275 fail:
5276 return NULL;
5277}
5278
5279
36ed4f51 5280static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5281 PyObject *resultobj = NULL;
d14a1e28 5282 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
5283 int arg2 ;
5284 bool arg3 ;
d14a1e28 5285 PyObject * obj0 = 0 ;
36ed4f51
RD
5286 PyObject * obj1 = 0 ;
5287 PyObject * obj2 = 0 ;
d14a1e28 5288 char *kwnames[] = {
36ed4f51 5289 (char *) "self",(char *) "style",(char *) "changeable", NULL
d14a1e28
RD
5290 };
5291
36ed4f51
RD
5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
5293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5294 if (SWIG_arg_fail(1)) SWIG_fail;
5295 {
32fe5131 5296 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5297 if (SWIG_arg_fail(2)) SWIG_fail;
5298 }
5299 {
32fe5131 5300 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
5301 if (SWIG_arg_fail(3)) SWIG_fail;
5302 }
d14a1e28
RD
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5305 (arg1)->StyleSetChangeable(arg2,arg3);
d14a1e28
RD
5306
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) SWIG_fail;
5309 }
36ed4f51 5310 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5311 return resultobj;
5312 fail:
5313 return NULL;
5314}
5315
5316
36ed4f51 5317static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5318 PyObject *resultobj = NULL;
d14a1e28
RD
5319 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5320 int arg2 ;
5321 wxString *arg3 = 0 ;
b411df4a 5322 bool temp3 = false ;
d14a1e28 5323 PyObject * obj0 = 0 ;
994141e6 5324 PyObject * obj1 = 0 ;
d14a1e28
RD
5325 PyObject * obj2 = 0 ;
5326 char *kwnames[] = {
36ed4f51 5327 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
d14a1e28
RD
5328 };
5329
36ed4f51
RD
5330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5332 if (SWIG_arg_fail(1)) SWIG_fail;
5333 {
32fe5131 5334 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5335 if (SWIG_arg_fail(2)) SWIG_fail;
5336 }
d14a1e28
RD
5337 {
5338 arg3 = wxString_in_helper(obj2);
5339 if (arg3 == NULL) SWIG_fail;
b411df4a 5340 temp3 = true;
d14a1e28
RD
5341 }
5342 {
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5344 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
d14a1e28
RD
5345
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 Py_INCREF(Py_None); resultobj = Py_None;
5350 {
5351 if (temp3)
5352 delete arg3;
5353 }
5354 return resultobj;
5355 fail:
5356 {
5357 if (temp3)
5358 delete arg3;
5359 }
5360 return NULL;
5361}
5362
5363
36ed4f51 5364static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5365 PyObject *resultobj = NULL;
d14a1e28 5366 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 5367 PyObject * obj0 = 0 ;
d14a1e28 5368 char *kwnames[] = {
36ed4f51 5369 (char *) "self", NULL
d14a1e28
RD
5370 };
5371
36ed4f51
RD
5372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
5373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5374 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5377 (arg1)->AutoCompCancel();
d14a1e28
RD
5378
5379 wxPyEndAllowThreads(__tstate);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
5382 Py_INCREF(Py_None); resultobj = Py_None;
5383 return resultobj;
5384 fail:
5385 return NULL;
5386}
5387
5388
36ed4f51 5389static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5390 PyObject *resultobj = NULL;
d14a1e28
RD
5391 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5392 bool result;
5393 PyObject * obj0 = 0 ;
5394 char *kwnames[] = {
5395 (char *) "self", NULL
5396 };
5397
36ed4f51
RD
5398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
5399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5400 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5401 {
5402 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5403 result = (bool)(arg1)->AutoCompActive();
d14a1e28
RD
5404
5405 wxPyEndAllowThreads(__tstate);
5406 if (PyErr_Occurred()) SWIG_fail;
5407 }
4f89f6a3
RD
5408 {
5409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5410 }
d14a1e28
RD
5411 return resultobj;
5412 fail:
5413 return NULL;
5414}
5415
5416
36ed4f51 5417static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5418 PyObject *resultobj = NULL;
d14a1e28 5419 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5420 int result;
d14a1e28 5421 PyObject * obj0 = 0 ;
d14a1e28 5422 char *kwnames[] = {
36ed4f51 5423 (char *) "self", NULL
d14a1e28
RD
5424 };
5425
36ed4f51
RD
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
5427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5428 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5429 {
5430 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5431 result = (int)(arg1)->AutoCompPosStart();
d14a1e28
RD
5432
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
36ed4f51 5436 {
32fe5131 5437 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5438 }
d14a1e28
RD
5439 return resultobj;
5440 fail:
5441 return NULL;
5442}
5443
5444
36ed4f51 5445static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5446 PyObject *resultobj = NULL;
d14a1e28 5447 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
5448 PyObject * obj0 = 0 ;
5449 char *kwnames[] = {
5450 (char *) "self", NULL
5451 };
5452
36ed4f51
RD
5453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
5454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5455 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5458 (arg1)->AutoCompComplete();
d14a1e28
RD
5459
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
36ed4f51 5463 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5464 return resultobj;
5465 fail:
5466 return NULL;
5467}
5468
5469
36ed4f51 5470static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5471 PyObject *resultobj = NULL;
d14a1e28 5472 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
5473 wxString *arg2 = 0 ;
5474 bool temp2 = false ;
d14a1e28 5475 PyObject * obj0 = 0 ;
994141e6 5476 PyObject * obj1 = 0 ;
d14a1e28 5477 char *kwnames[] = {
36ed4f51 5478 (char *) "self",(char *) "characterSet", NULL
d14a1e28
RD
5479 };
5480
36ed4f51
RD
5481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
5482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5483 if (SWIG_arg_fail(1)) SWIG_fail;
5484 {
5485 arg2 = wxString_in_helper(obj1);
5486 if (arg2 == NULL) SWIG_fail;
5487 temp2 = true;
d14a1e28
RD
5488 }
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5491 (arg1)->AutoCompStops((wxString const &)*arg2);
d14a1e28
RD
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
5497 {
5498 if (temp2)
5499 delete arg2;
5500 }
d14a1e28
RD
5501 return resultobj;
5502 fail:
36ed4f51
RD
5503 {
5504 if (temp2)
5505 delete arg2;
5506 }
d14a1e28
RD
5507 return NULL;
5508}
5509
5510
36ed4f51 5511static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5512 PyObject *resultobj = NULL;
d14a1e28 5513 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5514 int arg2 ;
d14a1e28 5515 PyObject * obj0 = 0 ;
36ed4f51 5516 PyObject * obj1 = 0 ;
d14a1e28 5517 char *kwnames[] = {
36ed4f51 5518 (char *) "self",(char *) "separatorCharacter", NULL
d14a1e28
RD
5519 };
5520
36ed4f51
RD
5521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
5522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5523 if (SWIG_arg_fail(1)) SWIG_fail;
5524 {
32fe5131 5525 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5526 if (SWIG_arg_fail(2)) SWIG_fail;
5527 }
d14a1e28
RD
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5530 (arg1)->AutoCompSetSeparator(arg2);
d14a1e28
RD
5531
5532 wxPyEndAllowThreads(__tstate);
5533 if (PyErr_Occurred()) SWIG_fail;
5534 }
5535 Py_INCREF(Py_None); resultobj = Py_None;
5536 return resultobj;
5537 fail:
5538 return NULL;
5539}
5540
5541
36ed4f51 5542static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5543 PyObject *resultobj = NULL;
d14a1e28
RD
5544 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5545 int result;
5546 PyObject * obj0 = 0 ;
5547 char *kwnames[] = {
5548 (char *) "self", NULL
5549 };
5550
36ed4f51
RD
5551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
5552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5553 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5554 {
5555 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5556 result = (int)(arg1)->AutoCompGetSeparator();
d14a1e28
RD
5557
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
36ed4f51 5561 {
32fe5131 5562 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5563 }
d14a1e28
RD
5564 return resultobj;
5565 fail:
5566 return NULL;
5567}
5568
5569
36ed4f51 5570static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5571 PyObject *resultobj = NULL;
d14a1e28 5572 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
5573 wxString *arg2 = 0 ;
5574 bool temp2 = false ;
d14a1e28 5575 PyObject * obj0 = 0 ;
994141e6 5576 PyObject * obj1 = 0 ;
d14a1e28 5577 char *kwnames[] = {
36ed4f51 5578 (char *) "self",(char *) "text", NULL
d14a1e28
RD
5579 };
5580
36ed4f51
RD
5581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
5582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5583 if (SWIG_arg_fail(1)) SWIG_fail;
5584 {
5585 arg2 = wxString_in_helper(obj1);
5586 if (arg2 == NULL) SWIG_fail;
5587 temp2 = true;
5588 }
d14a1e28
RD
5589 {
5590 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5591 (arg1)->AutoCompSelect((wxString const &)*arg2);
d14a1e28
RD
5592
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
5596 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
5597 {
5598 if (temp2)
5599 delete arg2;
5600 }
d14a1e28
RD
5601 return resultobj;
5602 fail:
36ed4f51
RD
5603 {
5604 if (temp2)
5605 delete arg2;
5606 }
d14a1e28
RD
5607 return NULL;
5608}
5609
5610
36ed4f51 5611static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5612 PyObject *resultobj = NULL;
d14a1e28 5613 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5614 bool arg2 ;
d14a1e28 5615 PyObject * obj0 = 0 ;
994141e6 5616 PyObject * obj1 = 0 ;
d14a1e28 5617 char *kwnames[] = {
36ed4f51 5618 (char *) "self",(char *) "cancel", NULL
d14a1e28
RD
5619 };
5620
36ed4f51
RD
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
5622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5623 if (SWIG_arg_fail(1)) SWIG_fail;
5624 {
32fe5131 5625 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
5626 if (SWIG_arg_fail(2)) SWIG_fail;
5627 }
d14a1e28
RD
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5630 (arg1)->AutoCompSetCancelAtStart(arg2);
d14a1e28
RD
5631
5632 wxPyEndAllowThreads(__tstate);
5633 if (PyErr_Occurred()) SWIG_fail;
5634 }
5635 Py_INCREF(Py_None); resultobj = Py_None;
5636 return resultobj;
5637 fail:
5638 return NULL;
5639}
5640
5641
36ed4f51 5642static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5643 PyObject *resultobj = NULL;
d14a1e28 5644 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5645 bool result;
d14a1e28
RD
5646 PyObject * obj0 = 0 ;
5647 char *kwnames[] = {
5648 (char *) "self", NULL
5649 };
5650
36ed4f51
RD
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
5652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5653 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5654 {
5655 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5656 result = (bool)(arg1)->AutoCompGetCancelAtStart();
d14a1e28
RD
5657
5658 wxPyEndAllowThreads(__tstate);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 }
36ed4f51
RD
5661 {
5662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5663 }
d14a1e28
RD
5664 return resultobj;
5665 fail:
5666 return NULL;
5667}
5668
5669
36ed4f51 5670static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5671 PyObject *resultobj = NULL;
d14a1e28 5672 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
5673 wxString *arg2 = 0 ;
5674 bool temp2 = false ;
d14a1e28
RD
5675 PyObject * obj0 = 0 ;
5676 PyObject * obj1 = 0 ;
5677 char *kwnames[] = {
36ed4f51 5678 (char *) "self",(char *) "characterSet", NULL
d14a1e28
RD
5679 };
5680
36ed4f51
RD
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
5682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5683 if (SWIG_arg_fail(1)) SWIG_fail;
5684 {
5685 arg2 = wxString_in_helper(obj1);
5686 if (arg2 == NULL) SWIG_fail;
5687 temp2 = true;
5688 }
d14a1e28
RD
5689 {
5690 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5691 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
d14a1e28
RD
5692
5693 wxPyEndAllowThreads(__tstate);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
5696 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
5697 {
5698 if (temp2)
5699 delete arg2;
5700 }
5701 return resultobj;
d14a1e28 5702 fail:
36ed4f51
RD
5703 {
5704 if (temp2)
5705 delete arg2;
5706 }
d14a1e28
RD
5707 return NULL;
5708}
5709
5710
36ed4f51 5711static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5712 PyObject *resultobj = NULL;
d14a1e28 5713 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5714 bool arg2 ;
d14a1e28 5715 PyObject * obj0 = 0 ;
36ed4f51 5716 PyObject * obj1 = 0 ;
d14a1e28 5717 char *kwnames[] = {
36ed4f51 5718 (char *) "self",(char *) "chooseSingle", NULL
d14a1e28
RD
5719 };
5720
36ed4f51
RD
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
5722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5723 if (SWIG_arg_fail(1)) SWIG_fail;
5724 {
32fe5131 5725 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
5726 if (SWIG_arg_fail(2)) SWIG_fail;
5727 }
d14a1e28
RD
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5730 (arg1)->AutoCompSetChooseSingle(arg2);
d14a1e28
RD
5731
5732 wxPyEndAllowThreads(__tstate);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 }
36ed4f51 5735 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5736 return resultobj;
5737 fail:
5738 return NULL;
5739}
5740
5741
36ed4f51 5742static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5743 PyObject *resultobj = NULL;
d14a1e28 5744 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5745 bool result;
d14a1e28
RD
5746 PyObject * obj0 = 0 ;
5747 char *kwnames[] = {
36ed4f51 5748 (char *) "self", NULL
d14a1e28
RD
5749 };
5750
36ed4f51
RD
5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
5752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5753 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5754 {
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5756 result = (bool)(arg1)->AutoCompGetChooseSingle();
d14a1e28
RD
5757
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
36ed4f51
RD
5761 {
5762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5763 }
d14a1e28
RD
5764 return resultobj;
5765 fail:
5766 return NULL;
5767}
5768
5769
36ed4f51 5770static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5771 PyObject *resultobj = NULL;
d14a1e28 5772 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5773 bool arg2 ;
d14a1e28 5774 PyObject * obj0 = 0 ;
994141e6 5775 PyObject * obj1 = 0 ;
d14a1e28 5776 char *kwnames[] = {
36ed4f51 5777 (char *) "self",(char *) "ignoreCase", NULL
d14a1e28
RD
5778 };
5779
36ed4f51
RD
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
5781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5782 if (SWIG_arg_fail(1)) SWIG_fail;
5783 {
32fe5131 5784 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
5785 if (SWIG_arg_fail(2)) SWIG_fail;
5786 }
d14a1e28
RD
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5789 (arg1)->AutoCompSetIgnoreCase(arg2);
d14a1e28
RD
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
36ed4f51 5794 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5795 return resultobj;
5796 fail:
5797 return NULL;
5798}
5799
5800
36ed4f51 5801static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5802 PyObject *resultobj = NULL;
d14a1e28 5803 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5804 bool result;
d14a1e28
RD
5805 PyObject * obj0 = 0 ;
5806 char *kwnames[] = {
36ed4f51 5807 (char *) "self", NULL
d14a1e28
RD
5808 };
5809
36ed4f51
RD
5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
5811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5812 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5813 {
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5815 result = (bool)(arg1)->AutoCompGetIgnoreCase();
d14a1e28
RD
5816
5817 wxPyEndAllowThreads(__tstate);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 }
36ed4f51
RD
5820 {
5821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5822 }
d14a1e28
RD
5823 return resultobj;
5824 fail:
5825 return NULL;
5826}
5827
5828
36ed4f51 5829static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5830 PyObject *resultobj = NULL;
d14a1e28
RD
5831 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5832 int arg2 ;
36ed4f51
RD
5833 wxString *arg3 = 0 ;
5834 bool temp3 = false ;
d14a1e28 5835 PyObject * obj0 = 0 ;
994141e6 5836 PyObject * obj1 = 0 ;
36ed4f51 5837 PyObject * obj2 = 0 ;
d14a1e28 5838 char *kwnames[] = {
36ed4f51 5839 (char *) "self",(char *) "listType",(char *) "itemList", NULL
d14a1e28
RD
5840 };
5841
36ed4f51
RD
5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail;
5845 {
32fe5131 5846 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5847 if (SWIG_arg_fail(2)) SWIG_fail;
5848 }
5849 {
5850 arg3 = wxString_in_helper(obj2);
5851 if (arg3 == NULL) SWIG_fail;
5852 temp3 = true;
5853 }
d14a1e28
RD
5854 {
5855 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5856 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
d14a1e28
RD
5857
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
36ed4f51
RD
5861 Py_INCREF(Py_None); resultobj = Py_None;
5862 {
5863 if (temp3)
5864 delete arg3;
5865 }
d14a1e28
RD
5866 return resultobj;
5867 fail:
36ed4f51
RD
5868 {
5869 if (temp3)
5870 delete arg3;
5871 }
d14a1e28
RD
5872 return NULL;
5873}
5874
5875
36ed4f51 5876static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5877 PyObject *resultobj = NULL;
d14a1e28
RD
5878 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5879 bool arg2 ;
5880 PyObject * obj0 = 0 ;
5881 PyObject * obj1 = 0 ;
5882 char *kwnames[] = {
36ed4f51 5883 (char *) "self",(char *) "autoHide", NULL
d14a1e28
RD
5884 };
5885
36ed4f51
RD
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
5887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail;
5889 {
32fe5131 5890 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
5891 if (SWIG_arg_fail(2)) SWIG_fail;
5892 }
d14a1e28
RD
5893 {
5894 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5895 (arg1)->AutoCompSetAutoHide(arg2);
d14a1e28
RD
5896
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 Py_INCREF(Py_None); resultobj = Py_None;
5901 return resultobj;
5902 fail:
5903 return NULL;
5904}
5905
5906
36ed4f51 5907static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5908 PyObject *resultobj = NULL;
d14a1e28
RD
5909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5910 bool result;
5911 PyObject * obj0 = 0 ;
5912 char *kwnames[] = {
5913 (char *) "self", NULL
5914 };
5915
36ed4f51
RD
5916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
5917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5918 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5921 result = (bool)(arg1)->AutoCompGetAutoHide();
d14a1e28
RD
5922
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
4f89f6a3
RD
5926 {
5927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5928 }
d14a1e28
RD
5929 return resultobj;
5930 fail:
5931 return NULL;
5932}
5933
5934
36ed4f51 5935static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5936 PyObject *resultobj = NULL;
d14a1e28
RD
5937 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5938 bool arg2 ;
5939 PyObject * obj0 = 0 ;
5940 PyObject * obj1 = 0 ;
5941 char *kwnames[] = {
36ed4f51 5942 (char *) "self",(char *) "dropRestOfWord", NULL
d14a1e28
RD
5943 };
5944
36ed4f51
RD
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
5946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5947 if (SWIG_arg_fail(1)) SWIG_fail;
5948 {
32fe5131 5949 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
5950 if (SWIG_arg_fail(2)) SWIG_fail;
5951 }
d14a1e28
RD
5952 {
5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5954 (arg1)->AutoCompSetDropRestOfWord(arg2);
d14a1e28
RD
5955
5956 wxPyEndAllowThreads(__tstate);
5957 if (PyErr_Occurred()) SWIG_fail;
5958 }
5959 Py_INCREF(Py_None); resultobj = Py_None;
5960 return resultobj;
5961 fail:
5962 return NULL;
5963}
5964
5965
36ed4f51 5966static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5967 PyObject *resultobj = NULL;
d14a1e28
RD
5968 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5969 bool result;
5970 PyObject * obj0 = 0 ;
5971 char *kwnames[] = {
5972 (char *) "self", NULL
5973 };
5974
36ed4f51
RD
5975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
5976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5977 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5980 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
d14a1e28
RD
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) SWIG_fail;
5984 }
4f89f6a3
RD
5985 {
5986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5987 }
d14a1e28
RD
5988 return resultobj;
5989 fail:
5990 return NULL;
5991}
5992
5993
36ed4f51 5994static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5995 PyObject *resultobj = NULL;
d14a1e28
RD
5996 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5997 int arg2 ;
36ed4f51 5998 wxBitmap *arg3 = 0 ;
d14a1e28 5999 PyObject * obj0 = 0 ;
994141e6 6000 PyObject * obj1 = 0 ;
36ed4f51 6001 PyObject * obj2 = 0 ;
d14a1e28 6002 char *kwnames[] = {
36ed4f51 6003 (char *) "self",(char *) "type",(char *) "bmp", NULL
d14a1e28
RD
6004 };
6005
36ed4f51
RD
6006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
6007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6008 if (SWIG_arg_fail(1)) SWIG_fail;
6009 {
32fe5131 6010 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6011 if (SWIG_arg_fail(2)) SWIG_fail;
6012 }
6013 {
6014 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6015 if (SWIG_arg_fail(3)) SWIG_fail;
6016 if (arg3 == NULL) {
6017 SWIG_null_ref("wxBitmap");
6018 }
6019 if (SWIG_arg_fail(3)) SWIG_fail;
6020 }
d14a1e28
RD
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6023 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
d14a1e28
RD
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 Py_INCREF(Py_None); resultobj = Py_None;
6029 return resultobj;
6030 fail:
6031 return NULL;
6032}
6033
6034
36ed4f51 6035static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6036 PyObject *resultobj = NULL;
d14a1e28 6037 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
6038 PyObject * obj0 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self", NULL
6041 };
6042
36ed4f51
RD
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
6044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6045 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6046 {
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6048 (arg1)->ClearRegisteredImages();
d14a1e28
RD
6049
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
36ed4f51 6053 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6054 return resultobj;
6055 fail:
6056 return NULL;
6057}
6058
6059
36ed4f51 6060static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6061 PyObject *resultobj = NULL;
d14a1e28 6062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
6063 int result;
6064 PyObject * obj0 = 0 ;
6065 char *kwnames[] = {
36ed4f51 6066 (char *) "self", NULL
d14a1e28
RD
6067 };
6068
36ed4f51
RD
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
6070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6071 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6072 {
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6074 result = (int)(arg1)->AutoCompGetTypeSeparator();
d14a1e28
RD
6075
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
36ed4f51 6079 {
32fe5131 6080 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6081 }
d14a1e28
RD
6082 return resultobj;
6083 fail:
6084 return NULL;
6085}
6086
6087
36ed4f51 6088static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6089 PyObject *resultobj = NULL;
d14a1e28 6090 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6091 int arg2 ;
d14a1e28 6092 PyObject * obj0 = 0 ;
36ed4f51 6093 PyObject * obj1 = 0 ;
d14a1e28 6094 char *kwnames[] = {
36ed4f51 6095 (char *) "self",(char *) "separatorCharacter", NULL
d14a1e28
RD
6096 };
6097
36ed4f51
RD
6098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
6099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6100 if (SWIG_arg_fail(1)) SWIG_fail;
6101 {
32fe5131 6102 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6103 if (SWIG_arg_fail(2)) SWIG_fail;
6104 }
d14a1e28
RD
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6107 (arg1)->AutoCompSetTypeSeparator(arg2);
d14a1e28
RD
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
36ed4f51 6112 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6113 return resultobj;
6114 fail:
6115 return NULL;
6116}
6117
6118
36ed4f51 6119static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6120 PyObject *resultobj = NULL;
d14a1e28 6121 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6122 int arg2 ;
d14a1e28 6123 PyObject * obj0 = 0 ;
36ed4f51 6124 PyObject * obj1 = 0 ;
d14a1e28 6125 char *kwnames[] = {
36ed4f51 6126 (char *) "self",(char *) "indentSize", NULL
d14a1e28
RD
6127 };
6128
36ed4f51
RD
6129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
6130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6131 if (SWIG_arg_fail(1)) SWIG_fail;
6132 {
32fe5131 6133 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6134 if (SWIG_arg_fail(2)) SWIG_fail;
6135 }
d14a1e28
RD
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6138 (arg1)->SetIndent(arg2);
d14a1e28
RD
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
36ed4f51 6143 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6144 return resultobj;
6145 fail:
6146 return NULL;
6147}
6148
6149
36ed4f51 6150static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6151 PyObject *resultobj = NULL;
d14a1e28 6152 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6153 int result;
d14a1e28
RD
6154 PyObject * obj0 = 0 ;
6155 char *kwnames[] = {
6156 (char *) "self", NULL
6157 };
6158
36ed4f51
RD
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
6160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6161 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6162 {
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6164 result = (int)(arg1)->GetIndent();
d14a1e28
RD
6165
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
4f89f6a3 6169 {
32fe5131 6170 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 6171 }
d14a1e28
RD
6172 return resultobj;
6173 fail:
6174 return NULL;
6175}
6176
6177
36ed4f51 6178static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6179 PyObject *resultobj = NULL;
d14a1e28 6180 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6181 bool arg2 ;
d14a1e28 6182 PyObject * obj0 = 0 ;
994141e6 6183 PyObject * obj1 = 0 ;
d14a1e28 6184 char *kwnames[] = {
36ed4f51 6185 (char *) "self",(char *) "useTabs", NULL
d14a1e28
RD
6186 };
6187
36ed4f51
RD
6188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
6189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6190 if (SWIG_arg_fail(1)) SWIG_fail;
6191 {
32fe5131 6192 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
6193 if (SWIG_arg_fail(2)) SWIG_fail;
6194 }
d14a1e28
RD
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6197 (arg1)->SetUseTabs(arg2);
d14a1e28
RD
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 Py_INCREF(Py_None); resultobj = Py_None;
6203 return resultobj;
6204 fail:
6205 return NULL;
6206}
6207
6208
36ed4f51 6209static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6210 PyObject *resultobj = NULL;
d14a1e28 6211 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6212 bool result;
d14a1e28
RD
6213 PyObject * obj0 = 0 ;
6214 char *kwnames[] = {
36ed4f51 6215 (char *) "self", NULL
d14a1e28
RD
6216 };
6217
36ed4f51
RD
6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
6219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6220 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6221 {
6222 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6223 result = (bool)(arg1)->GetUseTabs();
d14a1e28
RD
6224
6225 wxPyEndAllowThreads(__tstate);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
36ed4f51
RD
6228 {
6229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6230 }
d14a1e28
RD
6231 return resultobj;
6232 fail:
6233 return NULL;
6234}
6235
6236
36ed4f51 6237static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6238 PyObject *resultobj = NULL;
d14a1e28 6239 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
6240 int arg2 ;
6241 int arg3 ;
d14a1e28 6242 PyObject * obj0 = 0 ;
36ed4f51
RD
6243 PyObject * obj1 = 0 ;
6244 PyObject * obj2 = 0 ;
d14a1e28 6245 char *kwnames[] = {
36ed4f51 6246 (char *) "self",(char *) "line",(char *) "indentSize", NULL
d14a1e28
RD
6247 };
6248
36ed4f51
RD
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
6250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6251 if (SWIG_arg_fail(1)) SWIG_fail;
6252 {
32fe5131 6253 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6254 if (SWIG_arg_fail(2)) SWIG_fail;
6255 }
6256 {
32fe5131 6257 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6258 if (SWIG_arg_fail(3)) SWIG_fail;
6259 }
d14a1e28
RD
6260 {
6261 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6262 (arg1)->SetLineIndentation(arg2,arg3);
d14a1e28
RD
6263
6264 wxPyEndAllowThreads(__tstate);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 }
36ed4f51 6267 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6268 return resultobj;
6269 fail:
6270 return NULL;
6271}
6272
6273
36ed4f51 6274static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6275 PyObject *resultobj = NULL;
d14a1e28
RD
6276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6277 int arg2 ;
36ed4f51 6278 int result;
d14a1e28 6279 PyObject * obj0 = 0 ;
994141e6 6280 PyObject * obj1 = 0 ;
d14a1e28 6281 char *kwnames[] = {
36ed4f51 6282 (char *) "self",(char *) "line", NULL
d14a1e28
RD
6283 };
6284
36ed4f51
RD
6285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
6286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6287 if (SWIG_arg_fail(1)) SWIG_fail;
6288 {
32fe5131 6289 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6290 if (SWIG_arg_fail(2)) SWIG_fail;
6291 }
d14a1e28
RD
6292 {
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6294 result = (int)(arg1)->GetLineIndentation(arg2);
d14a1e28
RD
6295
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) SWIG_fail;
6298 }
36ed4f51 6299 {
32fe5131 6300 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6301 }
d14a1e28
RD
6302 return resultobj;
6303 fail:
6304 return NULL;
6305}
6306
6307
36ed4f51 6308static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6309 PyObject *resultobj = NULL;
d14a1e28 6310 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6311 int arg2 ;
d14a1e28
RD
6312 int result;
6313 PyObject * obj0 = 0 ;
36ed4f51 6314 PyObject * obj1 = 0 ;
d14a1e28 6315 char *kwnames[] = {
36ed4f51 6316 (char *) "self",(char *) "line", NULL
d14a1e28
RD
6317 };
6318
36ed4f51
RD
6319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
6320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6321 if (SWIG_arg_fail(1)) SWIG_fail;
6322 {
32fe5131 6323 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6324 if (SWIG_arg_fail(2)) SWIG_fail;
6325 }
d14a1e28
RD
6326 {
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6328 result = (int)(arg1)->GetLineIndentPosition(arg2);
d14a1e28
RD
6329
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
36ed4f51 6333 {
32fe5131 6334 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6335 }
d14a1e28
RD
6336 return resultobj;
6337 fail:
6338 return NULL;
6339}
6340
6341
36ed4f51 6342static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6343 PyObject *resultobj = NULL;
d14a1e28
RD
6344 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6345 int arg2 ;
36ed4f51 6346 int result;
d14a1e28 6347 PyObject * obj0 = 0 ;
994141e6 6348 PyObject * obj1 = 0 ;
d14a1e28 6349 char *kwnames[] = {
36ed4f51 6350 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
6351 };
6352
36ed4f51
RD
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
6354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6355 if (SWIG_arg_fail(1)) SWIG_fail;
6356 {
32fe5131 6357 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6358 if (SWIG_arg_fail(2)) SWIG_fail;
6359 }
d14a1e28
RD
6360 {
6361 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6362 result = (int)(arg1)->GetColumn(arg2);
d14a1e28
RD
6363
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
36ed4f51 6367 {
32fe5131 6368 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6369 }
d14a1e28
RD
6370 return resultobj;
6371 fail:
6372 return NULL;
6373}
6374
6375
36ed4f51 6376static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6377 PyObject *resultobj = NULL;
d14a1e28 6378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6379 bool arg2 ;
d14a1e28 6380 PyObject * obj0 = 0 ;
36ed4f51 6381 PyObject * obj1 = 0 ;
d14a1e28 6382 char *kwnames[] = {
36ed4f51 6383 (char *) "self",(char *) "show", NULL
d14a1e28
RD
6384 };
6385
36ed4f51
RD
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
6387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6388 if (SWIG_arg_fail(1)) SWIG_fail;
6389 {
32fe5131 6390 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
6391 if (SWIG_arg_fail(2)) SWIG_fail;
6392 }
d14a1e28
RD
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6395 (arg1)->SetUseHorizontalScrollBar(arg2);
d14a1e28
RD
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
36ed4f51 6400 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6401 return resultobj;
6402 fail:
6403 return NULL;
6404}
6405
6406
36ed4f51 6407static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6408 PyObject *resultobj = NULL;
d14a1e28 6409 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6410 bool result;
d14a1e28
RD
6411 PyObject * obj0 = 0 ;
6412 char *kwnames[] = {
36ed4f51 6413 (char *) "self", NULL
d14a1e28
RD
6414 };
6415
36ed4f51
RD
6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
6417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6418 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6419 {
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6421 result = (bool)(arg1)->GetUseHorizontalScrollBar();
d14a1e28
RD
6422
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
36ed4f51
RD
6426 {
6427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6428 }
d14a1e28
RD
6429 return resultobj;
6430 fail:
6431 return NULL;
6432}
6433
6434
36ed4f51 6435static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6436 PyObject *resultobj = NULL;
d14a1e28 6437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6438 bool arg2 ;
d14a1e28 6439 PyObject * obj0 = 0 ;
36ed4f51 6440 PyObject * obj1 = 0 ;
d14a1e28 6441 char *kwnames[] = {
36ed4f51 6442 (char *) "self",(char *) "show", NULL
d14a1e28
RD
6443 };
6444
36ed4f51
RD
6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
6446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6447 if (SWIG_arg_fail(1)) SWIG_fail;
6448 {
32fe5131 6449 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
6450 if (SWIG_arg_fail(2)) SWIG_fail;
6451 }
d14a1e28
RD
6452 {
6453 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6454 (arg1)->SetIndentationGuides(arg2);
d14a1e28
RD
6455
6456 wxPyEndAllowThreads(__tstate);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 }
36ed4f51 6459 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6460 return resultobj;
6461 fail:
6462 return NULL;
6463}
6464
6465
36ed4f51 6466static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6467 PyObject *resultobj = NULL;
d14a1e28 6468 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6469 bool result;
d14a1e28 6470 PyObject * obj0 = 0 ;
d14a1e28 6471 char *kwnames[] = {
36ed4f51 6472 (char *) "self", NULL
d14a1e28
RD
6473 };
6474
36ed4f51
RD
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
6476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6477 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6478 {
6479 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6480 result = (bool)(arg1)->GetIndentationGuides();
d14a1e28
RD
6481
6482 wxPyEndAllowThreads(__tstate);
6483 if (PyErr_Occurred()) SWIG_fail;
6484 }
d14a1e28 6485 {
36ed4f51 6486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6487 }
6488 return resultobj;
6489 fail:
d14a1e28
RD
6490 return NULL;
6491}
6492
6493
36ed4f51 6494static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6495 PyObject *resultobj = NULL;
d14a1e28 6496 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6497 int arg2 ;
d14a1e28
RD
6498 PyObject * obj0 = 0 ;
6499 PyObject * obj1 = 0 ;
d14a1e28 6500 char *kwnames[] = {
36ed4f51 6501 (char *) "self",(char *) "column", NULL
d14a1e28
RD
6502 };
6503
36ed4f51
RD
6504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
6505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6506 if (SWIG_arg_fail(1)) SWIG_fail;
6507 {
32fe5131 6508 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6509 if (SWIG_arg_fail(2)) SWIG_fail;
6510 }
d14a1e28
RD
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6513 (arg1)->SetHighlightGuide(arg2);
d14a1e28
RD
6514
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
36ed4f51 6518 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6519 return resultobj;
6520 fail:
6521 return NULL;
6522}
6523
6524
36ed4f51 6525static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6526 PyObject *resultobj = NULL;
d14a1e28
RD
6527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6528 int result;
6529 PyObject * obj0 = 0 ;
6530 char *kwnames[] = {
6531 (char *) "self", NULL
6532 };
6533
36ed4f51
RD
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
6535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6536 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6537 {
6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6539 result = (int)(arg1)->GetHighlightGuide();
d14a1e28
RD
6540
6541 wxPyEndAllowThreads(__tstate);
6542 if (PyErr_Occurred()) SWIG_fail;
6543 }
36ed4f51 6544 {
32fe5131 6545 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6546 }
d14a1e28
RD
6547 return resultobj;
6548 fail:
6549 return NULL;
6550}
6551
6552
36ed4f51 6553static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6554 PyObject *resultobj = NULL;
d14a1e28
RD
6555 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6556 int arg2 ;
36ed4f51 6557 int result;
d14a1e28 6558 PyObject * obj0 = 0 ;
994141e6 6559 PyObject * obj1 = 0 ;
d14a1e28
RD
6560 char *kwnames[] = {
6561 (char *) "self",(char *) "line", NULL
6562 };
6563
36ed4f51
RD
6564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
6565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6566 if (SWIG_arg_fail(1)) SWIG_fail;
6567 {
32fe5131 6568 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6569 if (SWIG_arg_fail(2)) SWIG_fail;
6570 }
d14a1e28
RD
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6573 result = (int)(arg1)->GetLineEndPosition(arg2);
d14a1e28
RD
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 {
32fe5131 6579 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28
RD
6580 }
6581 return resultobj;
6582 fail:
6583 return NULL;
6584}
6585
6586
36ed4f51 6587static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6588 PyObject *resultobj = NULL;
d14a1e28
RD
6589 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6590 int result;
6591 PyObject * obj0 = 0 ;
6592 char *kwnames[] = {
6593 (char *) "self", NULL
6594 };
6595
36ed4f51
RD
6596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
6597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6598 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6599 {
6600 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6601 result = (int)(arg1)->GetCodePage();
d14a1e28
RD
6602
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
36ed4f51 6606 {
32fe5131 6607 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6608 }
d14a1e28
RD
6609 return resultobj;
6610 fail:
6611 return NULL;
6612}
6613
6614
36ed4f51 6615static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6616 PyObject *resultobj = NULL;
d14a1e28 6617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6618 wxColour result;
d14a1e28
RD
6619 PyObject * obj0 = 0 ;
6620 char *kwnames[] = {
36ed4f51 6621 (char *) "self", NULL
d14a1e28
RD
6622 };
6623
36ed4f51
RD
6624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
6625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6626 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6627 {
6628 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6629 result = (arg1)->GetCaretForeground();
d14a1e28
RD
6630
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
36ed4f51
RD
6634 {
6635 wxColour * resultptr;
32fe5131 6636 resultptr = new wxColour(static_cast<wxColour & >(result));
36ed4f51
RD
6637 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6638 }
d14a1e28
RD
6639 return resultobj;
6640 fail:
6641 return NULL;
6642}
6643
6644
36ed4f51 6645static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6646 PyObject *resultobj = NULL;
d14a1e28 6647 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6648 bool result;
d14a1e28
RD
6649 PyObject * obj0 = 0 ;
6650 char *kwnames[] = {
6651 (char *) "self", NULL
6652 };
6653
36ed4f51
RD
6654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
6655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6656 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6657 {
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6659 result = (bool)(arg1)->GetReadOnly();
d14a1e28
RD
6660
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
36ed4f51
RD
6664 {
6665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6666 }
d14a1e28
RD
6667 return resultobj;
6668 fail:
6669 return NULL;
6670}
6671
6672
36ed4f51 6673static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6674 PyObject *resultobj = NULL;
d14a1e28
RD
6675 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6676 int arg2 ;
6677 PyObject * obj0 = 0 ;
994141e6 6678 PyObject * obj1 = 0 ;
d14a1e28 6679 char *kwnames[] = {
36ed4f51 6680 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
6681 };
6682
36ed4f51
RD
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
6684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6685 if (SWIG_arg_fail(1)) SWIG_fail;
6686 {
32fe5131 6687 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6688 if (SWIG_arg_fail(2)) SWIG_fail;
6689 }
d14a1e28
RD
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6692 (arg1)->SetCurrentPos(arg2);
d14a1e28
RD
6693
6694 wxPyEndAllowThreads(__tstate);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
6697 Py_INCREF(Py_None); resultobj = Py_None;
6698 return resultobj;
6699 fail:
6700 return NULL;
6701}
6702
6703
36ed4f51 6704static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6705 PyObject *resultobj = NULL;
d14a1e28 6706 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6707 int arg2 ;
d14a1e28 6708 PyObject * obj0 = 0 ;
36ed4f51 6709 PyObject * obj1 = 0 ;
d14a1e28 6710 char *kwnames[] = {
36ed4f51 6711 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
6712 };
6713
36ed4f51
RD
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
6715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6716 if (SWIG_arg_fail(1)) SWIG_fail;
6717 {
32fe5131 6718 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6719 if (SWIG_arg_fail(2)) SWIG_fail;
6720 }
d14a1e28
RD
6721 {
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6723 (arg1)->SetSelectionStart(arg2);
d14a1e28
RD
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
36ed4f51 6728 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6729 return resultobj;
6730 fail:
6731 return NULL;
6732}
6733
6734
36ed4f51 6735static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6736 PyObject *resultobj = NULL;
d14a1e28 6737 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6738 int result;
d14a1e28
RD
6739 PyObject * obj0 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self", NULL
6742 };
6743
36ed4f51
RD
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
6745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6746 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6749 result = (int)(arg1)->GetSelectionStart();
d14a1e28
RD
6750
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
4f89f6a3 6754 {
32fe5131 6755 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 6756 }
d14a1e28
RD
6757 return resultobj;
6758 fail:
6759 return NULL;
6760}
6761
6762
36ed4f51 6763static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6764 PyObject *resultobj = NULL;
d14a1e28
RD
6765 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6766 int arg2 ;
d14a1e28 6767 PyObject * obj0 = 0 ;
994141e6 6768 PyObject * obj1 = 0 ;
d14a1e28 6769 char *kwnames[] = {
36ed4f51 6770 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
6771 };
6772
36ed4f51
RD
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
6774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6775 if (SWIG_arg_fail(1)) SWIG_fail;
6776 {
32fe5131 6777 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6778 if (SWIG_arg_fail(2)) SWIG_fail;
6779 }
d14a1e28
RD
6780 {
6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6782 (arg1)->SetSelectionEnd(arg2);
d14a1e28
RD
6783
6784 wxPyEndAllowThreads(__tstate);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
6787 Py_INCREF(Py_None); resultobj = Py_None;
6788 return resultobj;
6789 fail:
6790 return NULL;
6791}
6792
6793
36ed4f51 6794static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6795 PyObject *resultobj = NULL;
d14a1e28 6796 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6797 int result;
d14a1e28
RD
6798 PyObject * obj0 = 0 ;
6799 char *kwnames[] = {
6800 (char *) "self", NULL
6801 };
6802
36ed4f51
RD
6803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
6804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6805 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6808 result = (int)(arg1)->GetSelectionEnd();
d14a1e28
RD
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 {
32fe5131 6814 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28
RD
6815 }
6816 return resultobj;
6817 fail:
6818 return NULL;
6819}
6820
6821
36ed4f51 6822static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6823 PyObject *resultobj = NULL;
d14a1e28
RD
6824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6825 int arg2 ;
d14a1e28 6826 PyObject * obj0 = 0 ;
994141e6 6827 PyObject * obj1 = 0 ;
d14a1e28 6828 char *kwnames[] = {
36ed4f51 6829 (char *) "self",(char *) "magnification", NULL
d14a1e28
RD
6830 };
6831
36ed4f51
RD
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
6833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail;
6835 {
32fe5131 6836 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6837 if (SWIG_arg_fail(2)) SWIG_fail;
6838 }
d14a1e28
RD
6839 {
6840 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6841 (arg1)->SetPrintMagnification(arg2);
d14a1e28
RD
6842
6843 wxPyEndAllowThreads(__tstate);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 }
36ed4f51 6846 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6847 return resultobj;
6848 fail:
6849 return NULL;
6850}
6851
6852
36ed4f51 6853static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6854 PyObject *resultobj = NULL;
d14a1e28 6855 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6856 int result;
d14a1e28 6857 PyObject * obj0 = 0 ;
d14a1e28 6858 char *kwnames[] = {
36ed4f51 6859 (char *) "self", NULL
d14a1e28
RD
6860 };
6861
36ed4f51
RD
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
6863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6864 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6867 result = (int)(arg1)->GetPrintMagnification();
d14a1e28
RD
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
36ed4f51 6872 {
32fe5131 6873 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6874 }
d14a1e28
RD
6875 return resultobj;
6876 fail:
6877 return NULL;
6878}
6879
6880
36ed4f51 6881static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6882 PyObject *resultobj = NULL;
d14a1e28
RD
6883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6884 int arg2 ;
d14a1e28 6885 PyObject * obj0 = 0 ;
994141e6 6886 PyObject * obj1 = 0 ;
d14a1e28 6887 char *kwnames[] = {
36ed4f51 6888 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
6889 };
6890
36ed4f51
RD
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
6892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6893 if (SWIG_arg_fail(1)) SWIG_fail;
6894 {
32fe5131 6895 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6896 if (SWIG_arg_fail(2)) SWIG_fail;
6897 }
d14a1e28
RD
6898 {
6899 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6900 (arg1)->SetPrintColourMode(arg2);
d14a1e28
RD
6901
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
36ed4f51 6905 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6906 return resultobj;
6907 fail:
6908 return NULL;
6909}
6910
6911
36ed4f51 6912static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6913 PyObject *resultobj = NULL;
d14a1e28 6914 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
6915 int result;
6916 PyObject * obj0 = 0 ;
6917 char *kwnames[] = {
36ed4f51 6918 (char *) "self", NULL
d14a1e28
RD
6919 };
6920
36ed4f51
RD
6921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
6922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6923 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6926 result = (int)(arg1)->GetPrintColourMode();
d14a1e28
RD
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
36ed4f51 6931 {
32fe5131 6932 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6933 }
d14a1e28
RD
6934 return resultobj;
6935 fail:
6936 return NULL;
6937}
6938
6939
36ed4f51 6940static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6941 PyObject *resultobj = NULL;
d14a1e28
RD
6942 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6943 int arg2 ;
6944 int arg3 ;
36ed4f51
RD
6945 wxString *arg4 = 0 ;
6946 int arg5 = (int) 0 ;
6947 int result;
6948 bool temp4 = false ;
d14a1e28 6949 PyObject * obj0 = 0 ;
994141e6
RD
6950 PyObject * obj1 = 0 ;
6951 PyObject * obj2 = 0 ;
36ed4f51
RD
6952 PyObject * obj3 = 0 ;
6953 PyObject * obj4 = 0 ;
d14a1e28 6954 char *kwnames[] = {
36ed4f51 6955 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
d14a1e28
RD
6956 };
6957
36ed4f51
RD
6958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6960 if (SWIG_arg_fail(1)) SWIG_fail;
6961 {
32fe5131 6962 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6963 if (SWIG_arg_fail(2)) SWIG_fail;
6964 }
6965 {
32fe5131 6966 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6967 if (SWIG_arg_fail(3)) SWIG_fail;
6968 }
6969 {
6970 arg4 = wxString_in_helper(obj3);
6971 if (arg4 == NULL) SWIG_fail;
6972 temp4 = true;
6973 }
6974 if (obj4) {
6975 {
32fe5131 6976 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
6977 if (SWIG_arg_fail(5)) SWIG_fail;
6978 }
6979 }
d14a1e28
RD
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6982 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
d14a1e28
RD
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
36ed4f51 6987 {
32fe5131 6988 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
6989 }
6990 {
6991 if (temp4)
6992 delete arg4;
6993 }
d14a1e28
RD
6994 return resultobj;
6995 fail:
36ed4f51
RD
6996 {
6997 if (temp4)
6998 delete arg4;
6999 }
d14a1e28
RD
7000 return NULL;
7001}
7002
7003
36ed4f51 7004static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7005 PyObject *resultobj = NULL;
d14a1e28 7006 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7007 bool arg2 ;
7008 int arg3 ;
7009 int arg4 ;
7010 wxDC *arg5 = (wxDC *) 0 ;
7011 wxDC *arg6 = (wxDC *) 0 ;
7012 wxRect arg7 ;
7013 wxRect arg8 ;
7014 int result;
d14a1e28 7015 PyObject * obj0 = 0 ;
36ed4f51
RD
7016 PyObject * obj1 = 0 ;
7017 PyObject * obj2 = 0 ;
7018 PyObject * obj3 = 0 ;
7019 PyObject * obj4 = 0 ;
7020 PyObject * obj5 = 0 ;
7021 PyObject * obj6 = 0 ;
7022 PyObject * obj7 = 0 ;
d14a1e28 7023 char *kwnames[] = {
36ed4f51 7024 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
d14a1e28
RD
7025 };
7026
36ed4f51
RD
7027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7029 if (SWIG_arg_fail(1)) SWIG_fail;
7030 {
32fe5131 7031 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
7032 if (SWIG_arg_fail(2)) SWIG_fail;
7033 }
7034 {
32fe5131 7035 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7036 if (SWIG_arg_fail(3)) SWIG_fail;
7037 }
7038 {
32fe5131 7039 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
7040 if (SWIG_arg_fail(4)) SWIG_fail;
7041 }
7042 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
7043 if (SWIG_arg_fail(5)) SWIG_fail;
7044 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
7045 if (SWIG_arg_fail(6)) SWIG_fail;
7046 {
7047 wxRect * argp;
7048 SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
7049 if (SWIG_arg_fail(7)) SWIG_fail;
7050 if (argp == NULL) {
7051 SWIG_null_ref("wxRect");
7052 }
7053 if (SWIG_arg_fail(7)) SWIG_fail;
7054 arg7 = *argp;
7055 }
7056 {
7057 wxRect * argp;
7058 SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
7059 if (SWIG_arg_fail(8)) SWIG_fail;
7060 if (argp == NULL) {
7061 SWIG_null_ref("wxRect");
7062 }
7063 if (SWIG_arg_fail(8)) SWIG_fail;
7064 arg8 = *argp;
7065 }
d14a1e28
RD
7066 {
7067 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7068 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
d14a1e28
RD
7069
7070 wxPyEndAllowThreads(__tstate);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 }
36ed4f51 7073 {
32fe5131 7074 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7075 }
d14a1e28
RD
7076 return resultobj;
7077 fail:
7078 return NULL;
7079}
7080
7081
36ed4f51 7082static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7083 PyObject *resultobj = NULL;
d14a1e28 7084 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7085 int result;
d14a1e28 7086 PyObject * obj0 = 0 ;
d14a1e28 7087 char *kwnames[] = {
36ed4f51 7088 (char *) "self", NULL
d14a1e28
RD
7089 };
7090
36ed4f51
RD
7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
7092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7093 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7096 result = (int)(arg1)->GetFirstVisibleLine();
d14a1e28
RD
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
d14a1e28 7101 {
32fe5131 7102 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28
RD
7103 }
7104 return resultobj;
7105 fail:
d14a1e28
RD
7106 return NULL;
7107}
7108
7109
36ed4f51 7110static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7111 PyObject *resultobj = NULL;
d14a1e28 7112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7113 int arg2 ;
7114 wxString result;
d14a1e28
RD
7115 PyObject * obj0 = 0 ;
7116 PyObject * obj1 = 0 ;
7117 char *kwnames[] = {
36ed4f51 7118 (char *) "self",(char *) "line", NULL
d14a1e28
RD
7119 };
7120
36ed4f51
RD
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
7122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7123 if (SWIG_arg_fail(1)) SWIG_fail;
7124 {
32fe5131 7125 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7126 if (SWIG_arg_fail(2)) SWIG_fail;
7127 }
d14a1e28
RD
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7130 result = (arg1)->GetLine(arg2);
d14a1e28
RD
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
36ed4f51
RD
7135 {
7136#if wxUSE_UNICODE
7137 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7138#else
7139 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7140#endif
7141 }
d14a1e28
RD
7142 return resultobj;
7143 fail:
7144 return NULL;
7145}
7146
7147
36ed4f51 7148static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7149 PyObject *resultobj = NULL;
d14a1e28 7150 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7151 int result;
d14a1e28
RD
7152 PyObject * obj0 = 0 ;
7153 char *kwnames[] = {
7154 (char *) "self", NULL
7155 };
7156
36ed4f51
RD
7157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
7158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7159 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7160 {
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7162 result = (int)(arg1)->GetLineCount();
d14a1e28
RD
7163
7164 wxPyEndAllowThreads(__tstate);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
4f89f6a3 7167 {
32fe5131 7168 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 7169 }
d14a1e28
RD
7170 return resultobj;
7171 fail:
7172 return NULL;
7173}
7174
7175
36ed4f51 7176static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7177 PyObject *resultobj = NULL;
d14a1e28 7178 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7179 int arg2 ;
d14a1e28 7180 PyObject * obj0 = 0 ;
36ed4f51 7181 PyObject * obj1 = 0 ;
d14a1e28 7182 char *kwnames[] = {
36ed4f51 7183 (char *) "self",(char *) "pixelWidth", NULL
d14a1e28
RD
7184 };
7185
36ed4f51
RD
7186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
7187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7188 if (SWIG_arg_fail(1)) SWIG_fail;
7189 {
32fe5131 7190 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7191 if (SWIG_arg_fail(2)) SWIG_fail;
7192 }
d14a1e28
RD
7193 {
7194 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7195 (arg1)->SetMarginLeft(arg2);
d14a1e28
RD
7196
7197 wxPyEndAllowThreads(__tstate);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 }
36ed4f51 7200 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7201 return resultobj;
7202 fail:
7203 return NULL;
7204}
7205
7206
36ed4f51 7207static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7208 PyObject *resultobj = NULL;
d14a1e28 7209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7210 int result;
d14a1e28
RD
7211 PyObject * obj0 = 0 ;
7212 char *kwnames[] = {
7213 (char *) "self", NULL
7214 };
7215
36ed4f51
RD
7216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
7217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7218 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7219 {
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7221 result = (int)(arg1)->GetMarginLeft();
d14a1e28
RD
7222
7223 wxPyEndAllowThreads(__tstate);
7224 if (PyErr_Occurred()) SWIG_fail;
7225 }
36ed4f51 7226 {
32fe5131 7227 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7228 }
d14a1e28
RD
7229 return resultobj;
7230 fail:
7231 return NULL;
7232}
7233
7234
36ed4f51 7235static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7236 PyObject *resultobj = NULL;
d14a1e28 7237 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7238 int arg2 ;
d14a1e28 7239 PyObject * obj0 = 0 ;
36ed4f51 7240 PyObject * obj1 = 0 ;
d14a1e28 7241 char *kwnames[] = {
36ed4f51 7242 (char *) "self",(char *) "pixelWidth", NULL
d14a1e28
RD
7243 };
7244
36ed4f51
RD
7245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
7246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7247 if (SWIG_arg_fail(1)) SWIG_fail;
7248 {
32fe5131 7249 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7250 if (SWIG_arg_fail(2)) SWIG_fail;
7251 }
d14a1e28
RD
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7254 (arg1)->SetMarginRight(arg2);
d14a1e28
RD
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 Py_INCREF(Py_None); resultobj = Py_None;
7260 return resultobj;
7261 fail:
7262 return NULL;
7263}
7264
7265
36ed4f51 7266static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7267 PyObject *resultobj = NULL;
d14a1e28 7268 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7269 int result;
d14a1e28
RD
7270 PyObject * obj0 = 0 ;
7271 char *kwnames[] = {
7272 (char *) "self", NULL
7273 };
7274
36ed4f51
RD
7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
7276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7277 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7280 result = (int)(arg1)->GetMarginRight();
d14a1e28
RD
7281
7282 wxPyEndAllowThreads(__tstate);
7283 if (PyErr_Occurred()) SWIG_fail;
7284 }
36ed4f51 7285 {
32fe5131 7286 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7287 }
d14a1e28
RD
7288 return resultobj;
7289 fail:
7290 return NULL;
7291}
7292
7293
36ed4f51 7294static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7295 PyObject *resultobj = NULL;
d14a1e28 7296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7297 bool result;
d14a1e28
RD
7298 PyObject * obj0 = 0 ;
7299 char *kwnames[] = {
7300 (char *) "self", NULL
7301 };
7302
36ed4f51
RD
7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
7304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7305 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7308 result = (bool)(arg1)->GetModify();
d14a1e28
RD
7309
7310 wxPyEndAllowThreads(__tstate);
7311 if (PyErr_Occurred()) SWIG_fail;
7312 }
36ed4f51
RD
7313 {
7314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7315 }
d14a1e28
RD
7316 return resultobj;
7317 fail:
7318 return NULL;
7319}
7320
7321
36ed4f51 7322static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7323 PyObject *resultobj = NULL;
d14a1e28 7324 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7325 int arg2 ;
7326 int arg3 ;
d14a1e28 7327 PyObject * obj0 = 0 ;
36ed4f51
RD
7328 PyObject * obj1 = 0 ;
7329 PyObject * obj2 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "self",(char *) "start",(char *) "end", NULL
d14a1e28
RD
7332 };
7333
36ed4f51
RD
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7336 if (SWIG_arg_fail(1)) SWIG_fail;
7337 {
32fe5131 7338 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7339 if (SWIG_arg_fail(2)) SWIG_fail;
7340 }
7341 {
32fe5131 7342 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7343 if (SWIG_arg_fail(3)) SWIG_fail;
7344 }
d14a1e28
RD
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7347 (arg1)->SetSelection(arg2,arg3);
d14a1e28
RD
7348
7349 wxPyEndAllowThreads(__tstate);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
7352 Py_INCREF(Py_None); resultobj = Py_None;
7353 return resultobj;
7354 fail:
7355 return NULL;
7356}
7357
7358
36ed4f51 7359static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7360 PyObject *resultobj = NULL;
d14a1e28 7361 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7362 wxString result;
d14a1e28
RD
7363 PyObject * obj0 = 0 ;
7364 char *kwnames[] = {
7365 (char *) "self", NULL
7366 };
7367
36ed4f51
RD
7368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
7369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7370 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7371 {
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7373 result = (arg1)->GetSelectedText();
d14a1e28
RD
7374
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
36ed4f51
RD
7378 {
7379#if wxUSE_UNICODE
7380 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7381#else
7382 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7383#endif
7384 }
d14a1e28
RD
7385 return resultobj;
7386 fail:
7387 return NULL;
7388}
7389
7390
36ed4f51 7391static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7392 PyObject *resultobj = NULL;
d14a1e28 7393 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7394 int arg2 ;
7395 int arg3 ;
7396 wxString result;
d14a1e28
RD
7397 PyObject * obj0 = 0 ;
7398 PyObject * obj1 = 0 ;
36ed4f51 7399 PyObject * obj2 = 0 ;
d14a1e28 7400 char *kwnames[] = {
36ed4f51 7401 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
d14a1e28
RD
7402 };
7403
36ed4f51
RD
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7406 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7407 {
32fe5131 7408 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7409 if (SWIG_arg_fail(2)) SWIG_fail;
7410 }
7411 {
32fe5131 7412 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51 7413 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
7414 }
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7417 result = (arg1)->GetTextRange(arg2,arg3);
d14a1e28
RD
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
d14a1e28 7422 {
36ed4f51
RD
7423#if wxUSE_UNICODE
7424 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7425#else
7426 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7427#endif
d14a1e28
RD
7428 }
7429 return resultobj;
7430 fail:
d14a1e28
RD
7431 return NULL;
7432}
7433
7434
36ed4f51 7435static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7436 PyObject *resultobj = NULL;
d14a1e28 7437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7438 bool arg2 ;
d14a1e28 7439 PyObject * obj0 = 0 ;
36ed4f51 7440 PyObject * obj1 = 0 ;
d14a1e28 7441 char *kwnames[] = {
36ed4f51 7442 (char *) "self",(char *) "normal", NULL
d14a1e28
RD
7443 };
7444
36ed4f51
RD
7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
7446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7447 if (SWIG_arg_fail(1)) SWIG_fail;
7448 {
32fe5131 7449 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
7450 if (SWIG_arg_fail(2)) SWIG_fail;
7451 }
d14a1e28
RD
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7454 (arg1)->HideSelection(arg2);
d14a1e28
RD
7455
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 }
36ed4f51 7459 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7460 return resultobj;
7461 fail:
7462 return NULL;
7463}
7464
7465
36ed4f51 7466static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7467 PyObject *resultobj = NULL;
d14a1e28 7468 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7469 int arg2 ;
d14a1e28
RD
7470 int result;
7471 PyObject * obj0 = 0 ;
36ed4f51 7472 PyObject * obj1 = 0 ;
d14a1e28 7473 char *kwnames[] = {
36ed4f51 7474 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
7475 };
7476
36ed4f51
RD
7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
7478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7479 if (SWIG_arg_fail(1)) SWIG_fail;
7480 {
32fe5131 7481 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7482 if (SWIG_arg_fail(2)) SWIG_fail;
7483 }
d14a1e28
RD
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7486 result = (int)(arg1)->LineFromPosition(arg2);
d14a1e28
RD
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
36ed4f51 7491 {
32fe5131 7492 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7493 }
d14a1e28
RD
7494 return resultobj;
7495 fail:
7496 return NULL;
7497}
7498
7499
36ed4f51 7500static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7501 PyObject *resultobj = NULL;
d14a1e28 7502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7503 int arg2 ;
7504 int result;
d14a1e28
RD
7505 PyObject * obj0 = 0 ;
7506 PyObject * obj1 = 0 ;
7507 char *kwnames[] = {
36ed4f51 7508 (char *) "self",(char *) "line", NULL
d14a1e28
RD
7509 };
7510
36ed4f51
RD
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
7512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7513 if (SWIG_arg_fail(1)) SWIG_fail;
7514 {
32fe5131 7515 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7516 if (SWIG_arg_fail(2)) SWIG_fail;
7517 }
d14a1e28
RD
7518 {
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7520 result = (int)(arg1)->PositionFromLine(arg2);
d14a1e28
RD
7521
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) SWIG_fail;
7524 }
36ed4f51 7525 {
32fe5131 7526 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7527 }
d14a1e28
RD
7528 return resultobj;
7529 fail:
7530 return NULL;
7531}
7532
7533
36ed4f51 7534static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7535 PyObject *resultobj = NULL;
d14a1e28 7536 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7537 int arg2 ;
7538 int arg3 ;
d14a1e28 7539 PyObject * obj0 = 0 ;
36ed4f51
RD
7540 PyObject * obj1 = 0 ;
7541 PyObject * obj2 = 0 ;
d14a1e28 7542 char *kwnames[] = {
36ed4f51 7543 (char *) "self",(char *) "columns",(char *) "lines", NULL
d14a1e28
RD
7544 };
7545
36ed4f51
RD
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
7547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7548 if (SWIG_arg_fail(1)) SWIG_fail;
7549 {
32fe5131 7550 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7551 if (SWIG_arg_fail(2)) SWIG_fail;
7552 }
7553 {
32fe5131 7554 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7555 if (SWIG_arg_fail(3)) SWIG_fail;
7556 }
d14a1e28
RD
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7559 (arg1)->LineScroll(arg2,arg3);
d14a1e28
RD
7560
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) SWIG_fail;
7563 }
36ed4f51 7564 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7565 return resultobj;
7566 fail:
7567 return NULL;
7568}
7569
7570
36ed4f51 7571static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7572 PyObject *resultobj = NULL;
d14a1e28 7573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
7574 PyObject * obj0 = 0 ;
7575 char *kwnames[] = {
36ed4f51 7576 (char *) "self", NULL
d14a1e28
RD
7577 };
7578
36ed4f51
RD
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
7580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7581 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7582 {
7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7584 (arg1)->EnsureCaretVisible();
d14a1e28
RD
7585
7586 wxPyEndAllowThreads(__tstate);
7587 if (PyErr_Occurred()) SWIG_fail;
7588 }
7589 Py_INCREF(Py_None); resultobj = Py_None;
7590 return resultobj;
7591 fail:
7592 return NULL;
7593}
7594
7595
36ed4f51 7596static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7597 PyObject *resultobj = NULL;
d14a1e28 7598 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7599 wxString *arg2 = 0 ;
7600 bool temp2 = false ;
d14a1e28 7601 PyObject * obj0 = 0 ;
36ed4f51 7602 PyObject * obj1 = 0 ;
d14a1e28 7603 char *kwnames[] = {
36ed4f51 7604 (char *) "self",(char *) "text", NULL
d14a1e28
RD
7605 };
7606
36ed4f51
RD
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
7608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7609 if (SWIG_arg_fail(1)) SWIG_fail;
7610 {
7611 arg2 = wxString_in_helper(obj1);
7612 if (arg2 == NULL) SWIG_fail;
7613 temp2 = true;
7614 }
d14a1e28
RD
7615 {
7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7617 (arg1)->ReplaceSelection((wxString const &)*arg2);
d14a1e28
RD
7618
7619 wxPyEndAllowThreads(__tstate);
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
36ed4f51
RD
7622 Py_INCREF(Py_None); resultobj = Py_None;
7623 {
7624 if (temp2)
7625 delete arg2;
7626 }
d14a1e28
RD
7627 return resultobj;
7628 fail:
36ed4f51
RD
7629 {
7630 if (temp2)
7631 delete arg2;
7632 }
d14a1e28
RD
7633 return NULL;
7634}
7635
7636
36ed4f51 7637static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7638 PyObject *resultobj = NULL;
d14a1e28 7639 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7640 bool arg2 ;
d14a1e28 7641 PyObject * obj0 = 0 ;
994141e6 7642 PyObject * obj1 = 0 ;
d14a1e28 7643 char *kwnames[] = {
36ed4f51 7644 (char *) "self",(char *) "readOnly", NULL
d14a1e28
RD
7645 };
7646
36ed4f51
RD
7647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
7648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7649 if (SWIG_arg_fail(1)) SWIG_fail;
7650 {
32fe5131 7651 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
7652 if (SWIG_arg_fail(2)) SWIG_fail;
7653 }
d14a1e28
RD
7654 {
7655 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7656 (arg1)->SetReadOnly(arg2);
d14a1e28
RD
7657
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 Py_INCREF(Py_None); resultobj = Py_None;
7662 return resultobj;
7663 fail:
7664 return NULL;
7665}
7666
7667
36ed4f51 7668static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7669 PyObject *resultobj = NULL;
d14a1e28 7670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7671 bool result;
d14a1e28
RD
7672 PyObject * obj0 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self", NULL
7675 };
7676
36ed4f51
RD
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7679 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7682 result = (bool)(arg1)->CanPaste();
d14a1e28
RD
7683
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
36ed4f51
RD
7687 {
7688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7689 }
d14a1e28
RD
7690 return resultobj;
7691 fail:
7692 return NULL;
7693}
7694
7695
36ed4f51 7696static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7697 PyObject *resultobj = NULL;
d14a1e28 7698 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7699 bool result;
d14a1e28
RD
7700 PyObject * obj0 = 0 ;
7701 char *kwnames[] = {
36ed4f51 7702 (char *) "self", NULL
d14a1e28
RD
7703 };
7704
36ed4f51
RD
7705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7707 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7708 {
7709 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7710 result = (bool)(arg1)->CanUndo();
d14a1e28
RD
7711
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
36ed4f51
RD
7715 {
7716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7717 }
d14a1e28
RD
7718 return resultobj;
7719 fail:
7720 return NULL;
7721}
7722
7723
36ed4f51 7724static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7725 PyObject *resultobj = NULL;
d14a1e28 7726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
7727 PyObject * obj0 = 0 ;
7728 char *kwnames[] = {
7729 (char *) "self", NULL
7730 };
7731
36ed4f51
RD
7732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
7733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7734 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7735 {
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7737 (arg1)->EmptyUndoBuffer();
d14a1e28
RD
7738
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 }
36ed4f51 7742 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7743 return resultobj;
7744 fail:
7745 return NULL;
7746}
7747
7748
36ed4f51 7749static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7750 PyObject *resultobj = NULL;
d14a1e28 7751 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 7752 PyObject * obj0 = 0 ;
d14a1e28 7753 char *kwnames[] = {
36ed4f51 7754 (char *) "self", NULL
d14a1e28
RD
7755 };
7756
36ed4f51
RD
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
7758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7759 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7762 (arg1)->Undo();
d14a1e28
RD
7763
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
36ed4f51 7767 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7768 return resultobj;
7769 fail:
d14a1e28
RD
7770 return NULL;
7771}
7772
7773
36ed4f51 7774static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7775 PyObject *resultobj = NULL;
d14a1e28 7776 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 7777 PyObject * obj0 = 0 ;
d14a1e28 7778 char *kwnames[] = {
36ed4f51 7779 (char *) "self", NULL
d14a1e28
RD
7780 };
7781
36ed4f51
RD
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
7783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7787 (arg1)->Cut();
d14a1e28
RD
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
36ed4f51 7792 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7793 return resultobj;
7794 fail:
d14a1e28
RD
7795 return NULL;
7796}
7797
7798
36ed4f51 7799static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7800 PyObject *resultobj = NULL;
d14a1e28 7801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 7802 PyObject * obj0 = 0 ;
d14a1e28 7803 char *kwnames[] = {
36ed4f51 7804 (char *) "self", NULL
d14a1e28
RD
7805 };
7806
36ed4f51
RD
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
7808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7809 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7812 (arg1)->Copy();
d14a1e28
RD
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
36ed4f51 7817 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7818 return resultobj;
7819 fail:
d14a1e28
RD
7820 return NULL;
7821}
7822
7823
36ed4f51 7824static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7825 PyObject *resultobj = NULL;
d14a1e28 7826 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
7827 PyObject * obj0 = 0 ;
7828 char *kwnames[] = {
36ed4f51 7829 (char *) "self", NULL
d14a1e28
RD
7830 };
7831
36ed4f51
RD
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
7833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7834 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7837 (arg1)->Paste();
d14a1e28
RD
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 Py_INCREF(Py_None); resultobj = Py_None;
7843 return resultobj;
7844 fail:
7845 return NULL;
7846}
7847
7848
36ed4f51 7849static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7850 PyObject *resultobj = NULL;
d14a1e28 7851 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
7852 PyObject * obj0 = 0 ;
7853 char *kwnames[] = {
7854 (char *) "self", NULL
7855 };
7856
36ed4f51
RD
7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
7858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7859 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7860 {
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7862 (arg1)->Clear();
d14a1e28
RD
7863
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) SWIG_fail;
7866 }
36ed4f51 7867 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7868 return resultobj;
7869 fail:
7870 return NULL;
7871}
7872
7873
36ed4f51 7874static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7875 PyObject *resultobj = NULL;
d14a1e28 7876 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7877 wxString *arg2 = 0 ;
7878 bool temp2 = false ;
d14a1e28 7879 PyObject * obj0 = 0 ;
994141e6 7880 PyObject * obj1 = 0 ;
d14a1e28 7881 char *kwnames[] = {
36ed4f51 7882 (char *) "self",(char *) "text", NULL
d14a1e28
RD
7883 };
7884
36ed4f51
RD
7885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
7886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7887 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7888 {
36ed4f51
RD
7889 arg2 = wxString_in_helper(obj1);
7890 if (arg2 == NULL) SWIG_fail;
7891 temp2 = true;
d14a1e28
RD
7892 }
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7895 (arg1)->SetText((wxString const &)*arg2);
d14a1e28
RD
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 Py_INCREF(Py_None); resultobj = Py_None;
7901 {
36ed4f51
RD
7902 if (temp2)
7903 delete arg2;
d14a1e28
RD
7904 }
7905 return resultobj;
7906 fail:
7907 {
36ed4f51
RD
7908 if (temp2)
7909 delete arg2;
d14a1e28
RD
7910 }
7911 return NULL;
7912}
7913
7914
36ed4f51 7915static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7916 PyObject *resultobj = NULL;
d14a1e28 7917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7918 wxString result;
d14a1e28
RD
7919 PyObject * obj0 = 0 ;
7920 char *kwnames[] = {
7921 (char *) "self", NULL
7922 };
7923
36ed4f51
RD
7924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
7925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7926 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7929 result = (arg1)->GetText();
d14a1e28
RD
7930
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
36ed4f51
RD
7934 {
7935#if wxUSE_UNICODE
7936 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7937#else
7938 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7939#endif
7940 }
d14a1e28
RD
7941 return resultobj;
7942 fail:
7943 return NULL;
7944}
7945
7946
36ed4f51 7947static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7948 PyObject *resultobj = NULL;
d14a1e28 7949 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7950 int result;
d14a1e28
RD
7951 PyObject * obj0 = 0 ;
7952 char *kwnames[] = {
7953 (char *) "self", NULL
7954 };
7955
36ed4f51
RD
7956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
7957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7958 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7959 {
7960 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7961 result = (int)(arg1)->GetTextLength();
d14a1e28
RD
7962
7963 wxPyEndAllowThreads(__tstate);
7964 if (PyErr_Occurred()) SWIG_fail;
7965 }
4f89f6a3 7966 {
32fe5131 7967 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 7968 }
d14a1e28
RD
7969 return resultobj;
7970 fail:
7971 return NULL;
7972}
7973
7974
36ed4f51 7975static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7976 PyObject *resultobj = NULL;
d14a1e28 7977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7978 bool arg2 ;
d14a1e28 7979 PyObject * obj0 = 0 ;
36ed4f51 7980 PyObject * obj1 = 0 ;
d14a1e28 7981 char *kwnames[] = {
36ed4f51 7982 (char *) "self",(char *) "overtype", NULL
d14a1e28
RD
7983 };
7984
36ed4f51
RD
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
7986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7987 if (SWIG_arg_fail(1)) SWIG_fail;
7988 {
32fe5131 7989 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
7990 if (SWIG_arg_fail(2)) SWIG_fail;
7991 }
d14a1e28
RD
7992 {
7993 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7994 (arg1)->SetOvertype(arg2);
d14a1e28
RD
7995
7996 wxPyEndAllowThreads(__tstate);
7997 if (PyErr_Occurred()) SWIG_fail;
7998 }
36ed4f51 7999 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8000 return resultobj;
8001 fail:
8002 return NULL;
8003}
8004
8005
36ed4f51 8006static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8007 PyObject *resultobj = NULL;
d14a1e28 8008 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8009 bool result;
d14a1e28
RD
8010 PyObject * obj0 = 0 ;
8011 char *kwnames[] = {
36ed4f51 8012 (char *) "self", NULL
d14a1e28
RD
8013 };
8014
36ed4f51
RD
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
8016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8017 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8020 result = (bool)(arg1)->GetOvertype();
d14a1e28
RD
8021
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
36ed4f51
RD
8025 {
8026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8027 }
d14a1e28
RD
8028 return resultobj;
8029 fail:
8030 return NULL;
8031}
8032
8033
36ed4f51 8034static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8035 PyObject *resultobj = NULL;
d14a1e28 8036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8037 int arg2 ;
d14a1e28
RD
8038 PyObject * obj0 = 0 ;
8039 PyObject * obj1 = 0 ;
8040 char *kwnames[] = {
36ed4f51 8041 (char *) "self",(char *) "pixelWidth", NULL
d14a1e28
RD
8042 };
8043
36ed4f51
RD
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
8045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8046 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8047 {
32fe5131 8048 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 8049 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8050 }
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8053 (arg1)->SetCaretWidth(arg2);
d14a1e28
RD
8054
8055 wxPyEndAllowThreads(__tstate);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
8058 Py_INCREF(Py_None); resultobj = Py_None;
8059 return resultobj;
8060 fail:
8061 return NULL;
8062}
8063
8064
36ed4f51 8065static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8066 PyObject *resultobj = NULL;
d14a1e28 8067 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8068 int result;
d14a1e28 8069 PyObject * obj0 = 0 ;
d14a1e28 8070 char *kwnames[] = {
36ed4f51 8071 (char *) "self", NULL
d14a1e28
RD
8072 };
8073
36ed4f51
RD
8074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
8075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8076 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8077 {
8078 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8079 result = (int)(arg1)->GetCaretWidth();
d14a1e28
RD
8080
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
36ed4f51 8084 {
32fe5131 8085 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8086 }
d14a1e28
RD
8087 return resultobj;
8088 fail:
8089 return NULL;
8090}
8091
8092
36ed4f51 8093static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8094 PyObject *resultobj = NULL;
d14a1e28 8095 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8096 int arg2 ;
d14a1e28
RD
8097 PyObject * obj0 = 0 ;
8098 PyObject * obj1 = 0 ;
8099 char *kwnames[] = {
36ed4f51 8100 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
8101 };
8102
36ed4f51
RD
8103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
8104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8105 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8106 {
32fe5131 8107 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 8108 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8109 }
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8112 (arg1)->SetTargetStart(arg2);
d14a1e28
RD
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 }
8117 Py_INCREF(Py_None); resultobj = Py_None;
8118 return resultobj;
8119 fail:
8120 return NULL;
8121}
8122
8123
36ed4f51 8124static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8125 PyObject *resultobj = NULL;
d14a1e28 8126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8127 int result;
8128 PyObject * obj0 = 0 ;
8129 char *kwnames[] = {
36ed4f51 8130 (char *) "self", NULL
d14a1e28
RD
8131 };
8132
36ed4f51
RD
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
8134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8135 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8138 result = (int)(arg1)->GetTargetStart();
d14a1e28
RD
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
36ed4f51 8143 {
32fe5131 8144 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8145 }
d14a1e28
RD
8146 return resultobj;
8147 fail:
8148 return NULL;
8149}
8150
8151
36ed4f51 8152static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8153 PyObject *resultobj = NULL;
d14a1e28
RD
8154 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8155 int arg2 ;
d14a1e28 8156 PyObject * obj0 = 0 ;
994141e6 8157 PyObject * obj1 = 0 ;
d14a1e28 8158 char *kwnames[] = {
36ed4f51 8159 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
8160 };
8161
36ed4f51
RD
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
8163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8164 if (SWIG_arg_fail(1)) SWIG_fail;
8165 {
32fe5131 8166 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8167 if (SWIG_arg_fail(2)) SWIG_fail;
8168 }
d14a1e28
RD
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8171 (arg1)->SetTargetEnd(arg2);
d14a1e28
RD
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
36ed4f51 8176 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8177 return resultobj;
8178 fail:
8179 return NULL;
8180}
8181
8182
36ed4f51 8183static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8184 PyObject *resultobj = NULL;
d14a1e28 8185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8186 int result;
d14a1e28
RD
8187 PyObject * obj0 = 0 ;
8188 char *kwnames[] = {
36ed4f51 8189 (char *) "self", NULL
d14a1e28
RD
8190 };
8191
36ed4f51
RD
8192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
8193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8194 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8197 result = (int)(arg1)->GetTargetEnd();
d14a1e28
RD
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
36ed4f51 8202 {
32fe5131 8203 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8204 }
d14a1e28
RD
8205 return resultobj;
8206 fail:
8207 return NULL;
8208}
8209
8210
36ed4f51 8211static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8212 PyObject *resultobj = NULL;
d14a1e28 8213 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8214 wxString *arg2 = 0 ;
d14a1e28 8215 int result;
36ed4f51 8216 bool temp2 = false ;
d14a1e28 8217 PyObject * obj0 = 0 ;
994141e6 8218 PyObject * obj1 = 0 ;
d14a1e28 8219 char *kwnames[] = {
36ed4f51 8220 (char *) "self",(char *) "text", NULL
d14a1e28
RD
8221 };
8222
36ed4f51
RD
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
8224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8225 if (SWIG_arg_fail(1)) SWIG_fail;
8226 {
8227 arg2 = wxString_in_helper(obj1);
8228 if (arg2 == NULL) SWIG_fail;
8229 temp2 = true;
8230 }
d14a1e28
RD
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8233 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
d14a1e28
RD
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
36ed4f51 8238 {
32fe5131 8239 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
8240 }
8241 {
8242 if (temp2)
8243 delete arg2;
8244 }
d14a1e28
RD
8245 return resultobj;
8246 fail:
36ed4f51
RD
8247 {
8248 if (temp2)
8249 delete arg2;
8250 }
d14a1e28
RD
8251 return NULL;
8252}
8253
8254
36ed4f51 8255static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8256 PyObject *resultobj = NULL;
d14a1e28 8257 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8258 wxString *arg2 = 0 ;
d14a1e28 8259 int result;
36ed4f51 8260 bool temp2 = false ;
d14a1e28 8261 PyObject * obj0 = 0 ;
994141e6 8262 PyObject * obj1 = 0 ;
d14a1e28 8263 char *kwnames[] = {
36ed4f51 8264 (char *) "self",(char *) "text", NULL
d14a1e28
RD
8265 };
8266
36ed4f51
RD
8267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
8268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8269 if (SWIG_arg_fail(1)) SWIG_fail;
8270 {
8271 arg2 = wxString_in_helper(obj1);
8272 if (arg2 == NULL) SWIG_fail;
8273 temp2 = true;
8274 }
d14a1e28
RD
8275 {
8276 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8277 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
d14a1e28
RD
8278
8279 wxPyEndAllowThreads(__tstate);
8280 if (PyErr_Occurred()) SWIG_fail;
8281 }
36ed4f51 8282 {
32fe5131 8283 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
8284 }
8285 {
8286 if (temp2)
8287 delete arg2;
8288 }
d14a1e28
RD
8289 return resultobj;
8290 fail:
36ed4f51
RD
8291 {
8292 if (temp2)
8293 delete arg2;
8294 }
d14a1e28
RD
8295 return NULL;
8296}
8297
8298
36ed4f51 8299static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8300 PyObject *resultobj = NULL;
d14a1e28 8301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8302 wxString *arg2 = 0 ;
d14a1e28 8303 int result;
36ed4f51 8304 bool temp2 = false ;
d14a1e28 8305 PyObject * obj0 = 0 ;
994141e6 8306 PyObject * obj1 = 0 ;
d14a1e28 8307 char *kwnames[] = {
36ed4f51 8308 (char *) "self",(char *) "text", NULL
d14a1e28
RD
8309 };
8310
36ed4f51
RD
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
8312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8313 if (SWIG_arg_fail(1)) SWIG_fail;
8314 {
8315 arg2 = wxString_in_helper(obj1);
8316 if (arg2 == NULL) SWIG_fail;
8317 temp2 = true;
8318 }
d14a1e28
RD
8319 {
8320 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8321 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
d14a1e28
RD
8322
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
36ed4f51 8326 {
32fe5131 8327 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
8328 }
8329 {
8330 if (temp2)
8331 delete arg2;
8332 }
d14a1e28
RD
8333 return resultobj;
8334 fail:
36ed4f51
RD
8335 {
8336 if (temp2)
8337 delete arg2;
8338 }
d14a1e28
RD
8339 return NULL;
8340}
8341
8342
36ed4f51 8343static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8344 PyObject *resultobj = NULL;
d14a1e28
RD
8345 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8346 int arg2 ;
d14a1e28 8347 PyObject * obj0 = 0 ;
994141e6 8348 PyObject * obj1 = 0 ;
d14a1e28 8349 char *kwnames[] = {
36ed4f51 8350 (char *) "self",(char *) "flags", NULL
d14a1e28
RD
8351 };
8352
36ed4f51
RD
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
8354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8355 if (SWIG_arg_fail(1)) SWIG_fail;
8356 {
32fe5131 8357 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8358 if (SWIG_arg_fail(2)) SWIG_fail;
8359 }
d14a1e28
RD
8360 {
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8362 (arg1)->SetSearchFlags(arg2);
d14a1e28
RD
8363
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 Py_INCREF(Py_None); resultobj = Py_None;
8368 return resultobj;
8369 fail:
8370 return NULL;
8371}
8372
8373
36ed4f51 8374static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8375 PyObject *resultobj = NULL;
d14a1e28 8376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8377 int result;
d14a1e28
RD
8378 PyObject * obj0 = 0 ;
8379 char *kwnames[] = {
36ed4f51 8380 (char *) "self", NULL
d14a1e28
RD
8381 };
8382
36ed4f51
RD
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
8384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8385 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8386 {
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8388 result = (int)(arg1)->GetSearchFlags();
d14a1e28
RD
8389
8390 wxPyEndAllowThreads(__tstate);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 }
36ed4f51 8393 {
32fe5131 8394 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8395 }
d14a1e28
RD
8396 return resultobj;
8397 fail:
8398 return NULL;
8399}
8400
8401
36ed4f51 8402static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8403 PyObject *resultobj = NULL;
d14a1e28
RD
8404 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8405 int arg2 ;
36ed4f51
RD
8406 wxString *arg3 = 0 ;
8407 bool temp3 = false ;
d14a1e28 8408 PyObject * obj0 = 0 ;
994141e6 8409 PyObject * obj1 = 0 ;
36ed4f51 8410 PyObject * obj2 = 0 ;
d14a1e28 8411 char *kwnames[] = {
36ed4f51 8412 (char *) "self",(char *) "pos",(char *) "definition", NULL
d14a1e28
RD
8413 };
8414
36ed4f51
RD
8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail;
8418 {
32fe5131 8419 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8420 if (SWIG_arg_fail(2)) SWIG_fail;
8421 }
8422 {
8423 arg3 = wxString_in_helper(obj2);
8424 if (arg3 == NULL) SWIG_fail;
8425 temp3 = true;
8426 }
d14a1e28
RD
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8429 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
d14a1e28
RD
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
36ed4f51 8434 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 8435 {
36ed4f51
RD
8436 if (temp3)
8437 delete arg3;
4f89f6a3 8438 }
d14a1e28
RD
8439 return resultobj;
8440 fail:
36ed4f51
RD
8441 {
8442 if (temp3)
8443 delete arg3;
8444 }
d14a1e28
RD
8445 return NULL;
8446}
8447
8448
36ed4f51 8449static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8450 PyObject *resultobj = NULL;
d14a1e28 8451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8452 PyObject * obj0 = 0 ;
d14a1e28 8453 char *kwnames[] = {
36ed4f51 8454 (char *) "self", NULL
d14a1e28
RD
8455 };
8456
36ed4f51
RD
8457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
8458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8460 {
8461 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8462 (arg1)->CallTipCancel();
d14a1e28
RD
8463
8464 wxPyEndAllowThreads(__tstate);
8465 if (PyErr_Occurred()) SWIG_fail;
8466 }
8467 Py_INCREF(Py_None); resultobj = Py_None;
8468 return resultobj;
8469 fail:
8470 return NULL;
8471}
8472
8473
36ed4f51 8474static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8475 PyObject *resultobj = NULL;
d14a1e28 8476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8477 bool result;
8478 PyObject * obj0 = 0 ;
8479 char *kwnames[] = {
36ed4f51 8480 (char *) "self", NULL
d14a1e28
RD
8481 };
8482
36ed4f51
RD
8483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
8484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8485 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8486 {
8487 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8488 result = (bool)(arg1)->CallTipActive();
d14a1e28
RD
8489
8490 wxPyEndAllowThreads(__tstate);
8491 if (PyErr_Occurred()) SWIG_fail;
8492 }
4f89f6a3
RD
8493 {
8494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8495 }
d14a1e28
RD
8496 return resultobj;
8497 fail:
8498 return NULL;
8499}
8500
8501
36ed4f51 8502static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8503 PyObject *resultobj = NULL;
d14a1e28 8504 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8505 int result;
d14a1e28
RD
8506 PyObject * obj0 = 0 ;
8507 char *kwnames[] = {
36ed4f51 8508 (char *) "self", NULL
d14a1e28
RD
8509 };
8510
36ed4f51
RD
8511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
8512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8513 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8514 {
8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8516 result = (int)(arg1)->CallTipPosAtStart();
d14a1e28
RD
8517
8518 wxPyEndAllowThreads(__tstate);
8519 if (PyErr_Occurred()) SWIG_fail;
8520 }
36ed4f51 8521 {
32fe5131 8522 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8523 }
d14a1e28
RD
8524 return resultobj;
8525 fail:
8526 return NULL;
8527}
8528
8529
36ed4f51 8530static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8531 PyObject *resultobj = NULL;
d14a1e28
RD
8532 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8533 int arg2 ;
36ed4f51 8534 int arg3 ;
d14a1e28 8535 PyObject * obj0 = 0 ;
994141e6 8536 PyObject * obj1 = 0 ;
36ed4f51 8537 PyObject * obj2 = 0 ;
d14a1e28 8538 char *kwnames[] = {
36ed4f51 8539 (char *) "self",(char *) "start",(char *) "end", NULL
d14a1e28
RD
8540 };
8541
36ed4f51
RD
8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8544 if (SWIG_arg_fail(1)) SWIG_fail;
8545 {
32fe5131 8546 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8547 if (SWIG_arg_fail(2)) SWIG_fail;
8548 }
8549 {
32fe5131 8550 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8551 if (SWIG_arg_fail(3)) SWIG_fail;
8552 }
d14a1e28
RD
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8555 (arg1)->CallTipSetHighlight(arg2,arg3);
d14a1e28
RD
8556
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 Py_INCREF(Py_None); resultobj = Py_None;
8561 return resultobj;
8562 fail:
8563 return NULL;
8564}
8565
8566
36ed4f51 8567static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8568 PyObject *resultobj = NULL;
d14a1e28 8569 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8570 wxColour *arg2 = 0 ;
8571 wxColour temp2 ;
d14a1e28 8572 PyObject * obj0 = 0 ;
994141e6 8573 PyObject * obj1 = 0 ;
d14a1e28 8574 char *kwnames[] = {
36ed4f51 8575 (char *) "self",(char *) "back", NULL
d14a1e28
RD
8576 };
8577
36ed4f51
RD
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
8579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8580 if (SWIG_arg_fail(1)) SWIG_fail;
8581 {
8582 arg2 = &temp2;
8583 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8584 }
d14a1e28
RD
8585 {
8586 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8587 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
d14a1e28
RD
8588
8589 wxPyEndAllowThreads(__tstate);
8590 if (PyErr_Occurred()) SWIG_fail;
8591 }
8592 Py_INCREF(Py_None); resultobj = Py_None;
8593 return resultobj;
8594 fail:
8595 return NULL;
8596}
8597
8598
36ed4f51 8599static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8600 PyObject *resultobj = NULL;
d14a1e28 8601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8602 wxColour *arg2 = 0 ;
8603 wxColour temp2 ;
d14a1e28 8604 PyObject * obj0 = 0 ;
994141e6 8605 PyObject * obj1 = 0 ;
d14a1e28 8606 char *kwnames[] = {
36ed4f51 8607 (char *) "self",(char *) "fore", NULL
d14a1e28
RD
8608 };
8609
36ed4f51
RD
8610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
8611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8612 if (SWIG_arg_fail(1)) SWIG_fail;
8613 {
8614 arg2 = &temp2;
8615 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8616 }
d14a1e28
RD
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8619 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
d14a1e28
RD
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 Py_INCREF(Py_None); resultobj = Py_None;
8625 return resultobj;
8626 fail:
8627 return NULL;
8628}
8629
8630
36ed4f51 8631static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8632 PyObject *resultobj = NULL;
d14a1e28 8633 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8634 wxColour *arg2 = 0 ;
8635 wxColour temp2 ;
d14a1e28
RD
8636 PyObject * obj0 = 0 ;
8637 PyObject * obj1 = 0 ;
8638 char *kwnames[] = {
36ed4f51 8639 (char *) "self",(char *) "fore", NULL
d14a1e28
RD
8640 };
8641
36ed4f51
RD
8642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
8643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8644 if (SWIG_arg_fail(1)) SWIG_fail;
8645 {
8646 arg2 = &temp2;
8647 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8648 }
d14a1e28
RD
8649 {
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8651 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
d14a1e28
RD
8652
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 Py_INCREF(Py_None); resultobj = Py_None;
8657 return resultobj;
8658 fail:
8659 return NULL;
8660}
8661
8662
36ed4f51 8663static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8664 PyObject *resultobj = NULL;
d14a1e28 8665 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8666 int arg2 ;
8667 int result;
d14a1e28 8668 PyObject * obj0 = 0 ;
36ed4f51 8669 PyObject * obj1 = 0 ;
d14a1e28 8670 char *kwnames[] = {
36ed4f51 8671 (char *) "self",(char *) "line", NULL
d14a1e28
RD
8672 };
8673
36ed4f51
RD
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
8675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8676 if (SWIG_arg_fail(1)) SWIG_fail;
8677 {
32fe5131 8678 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8679 if (SWIG_arg_fail(2)) SWIG_fail;
8680 }
d14a1e28
RD
8681 {
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8683 result = (int)(arg1)->VisibleFromDocLine(arg2);
d14a1e28
RD
8684
8685 wxPyEndAllowThreads(__tstate);
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
4f89f6a3 8688 {
32fe5131 8689 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 8690 }
d14a1e28
RD
8691 return resultobj;
8692 fail:
8693 return NULL;
8694}
8695
8696
36ed4f51 8697static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8698 PyObject *resultobj = NULL;
d14a1e28 8699 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8700 int arg2 ;
8701 int result;
d14a1e28
RD
8702 PyObject * obj0 = 0 ;
8703 PyObject * obj1 = 0 ;
8704 char *kwnames[] = {
36ed4f51 8705 (char *) "self",(char *) "lineDisplay", NULL
d14a1e28
RD
8706 };
8707
36ed4f51
RD
8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
8709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8710 if (SWIG_arg_fail(1)) SWIG_fail;
8711 {
32fe5131 8712 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8713 if (SWIG_arg_fail(2)) SWIG_fail;
8714 }
d14a1e28
RD
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8717 result = (int)(arg1)->DocLineFromVisible(arg2);
d14a1e28
RD
8718
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
36ed4f51 8722 {
32fe5131 8723 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8724 }
d14a1e28
RD
8725 return resultobj;
8726 fail:
8727 return NULL;
8728}
8729
8730
36ed4f51 8731static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8732 PyObject *resultobj = NULL;
d14a1e28 8733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8734 int arg2 ;
8735 int arg3 ;
d14a1e28 8736 PyObject * obj0 = 0 ;
36ed4f51
RD
8737 PyObject * obj1 = 0 ;
8738 PyObject * obj2 = 0 ;
d14a1e28 8739 char *kwnames[] = {
36ed4f51 8740 (char *) "self",(char *) "line",(char *) "level", NULL
d14a1e28
RD
8741 };
8742
36ed4f51
RD
8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
8744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8745 if (SWIG_arg_fail(1)) SWIG_fail;
8746 {
32fe5131 8747 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8748 if (SWIG_arg_fail(2)) SWIG_fail;
8749 }
8750 {
32fe5131 8751 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8752 if (SWIG_arg_fail(3)) SWIG_fail;
8753 }
d14a1e28
RD
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8756 (arg1)->SetFoldLevel(arg2,arg3);
d14a1e28
RD
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
36ed4f51 8761 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8762 return resultobj;
8763 fail:
8764 return NULL;
8765}
8766
8767
36ed4f51 8768static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8769 PyObject *resultobj = NULL;
d14a1e28
RD
8770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8771 int arg2 ;
36ed4f51 8772 int result;
d14a1e28 8773 PyObject * obj0 = 0 ;
994141e6 8774 PyObject * obj1 = 0 ;
d14a1e28 8775 char *kwnames[] = {
36ed4f51 8776 (char *) "self",(char *) "line", NULL
d14a1e28
RD
8777 };
8778
36ed4f51
RD
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
8780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8781 if (SWIG_arg_fail(1)) SWIG_fail;
8782 {
32fe5131 8783 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8784 if (SWIG_arg_fail(2)) SWIG_fail;
8785 }
d14a1e28
RD
8786 {
8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8788 result = (int)(arg1)->GetFoldLevel(arg2);
d14a1e28
RD
8789
8790 wxPyEndAllowThreads(__tstate);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 }
36ed4f51 8793 {
32fe5131 8794 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8795 }
d14a1e28
RD
8796 return resultobj;
8797 fail:
8798 return NULL;
8799}
8800
8801
36ed4f51 8802static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8803 PyObject *resultobj = NULL;
d14a1e28 8804 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8805 int arg2 ;
8806 int arg3 ;
d14a1e28
RD
8807 int result;
8808 PyObject * obj0 = 0 ;
36ed4f51
RD
8809 PyObject * obj1 = 0 ;
8810 PyObject * obj2 = 0 ;
d14a1e28 8811 char *kwnames[] = {
36ed4f51 8812 (char *) "self",(char *) "line",(char *) "level", NULL
d14a1e28
RD
8813 };
8814
36ed4f51
RD
8815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
8816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8817 if (SWIG_arg_fail(1)) SWIG_fail;
8818 {
32fe5131 8819 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8820 if (SWIG_arg_fail(2)) SWIG_fail;
8821 }
8822 {
32fe5131 8823 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8824 if (SWIG_arg_fail(3)) SWIG_fail;
8825 }
d14a1e28
RD
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8828 result = (int)(arg1)->GetLastChild(arg2,arg3);
d14a1e28
RD
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
36ed4f51 8833 {
32fe5131 8834 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8835 }
d14a1e28
RD
8836 return resultobj;
8837 fail:
8838 return NULL;
8839}
8840
8841
36ed4f51 8842static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8843 PyObject *resultobj = NULL;
d14a1e28
RD
8844 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8845 int arg2 ;
d14a1e28
RD
8846 int result;
8847 PyObject * obj0 = 0 ;
994141e6 8848 PyObject * obj1 = 0 ;
d14a1e28 8849 char *kwnames[] = {
36ed4f51 8850 (char *) "self",(char *) "line", NULL
d14a1e28
RD
8851 };
8852
36ed4f51
RD
8853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
8854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8855 if (SWIG_arg_fail(1)) SWIG_fail;
8856 {
32fe5131 8857 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8858 if (SWIG_arg_fail(2)) SWIG_fail;
8859 }
d14a1e28
RD
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8862 result = (int)(arg1)->GetFoldParent(arg2);
d14a1e28
RD
8863
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
36ed4f51 8867 {
32fe5131 8868 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8869 }
d14a1e28
RD
8870 return resultobj;
8871 fail:
8872 return NULL;
8873}
8874
8875
36ed4f51 8876static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8877 PyObject *resultobj = NULL;
d14a1e28
RD
8878 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8879 int arg2 ;
36ed4f51 8880 int arg3 ;
d14a1e28 8881 PyObject * obj0 = 0 ;
994141e6 8882 PyObject * obj1 = 0 ;
d14a1e28
RD
8883 PyObject * obj2 = 0 ;
8884 char *kwnames[] = {
36ed4f51 8885 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
d14a1e28
RD
8886 };
8887
36ed4f51
RD
8888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8890 if (SWIG_arg_fail(1)) SWIG_fail;
8891 {
32fe5131 8892 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8893 if (SWIG_arg_fail(2)) SWIG_fail;
8894 }
8895 {
32fe5131 8896 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8897 if (SWIG_arg_fail(3)) SWIG_fail;
8898 }
d14a1e28
RD
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8901 (arg1)->ShowLines(arg2,arg3);
d14a1e28
RD
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
36ed4f51 8906 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8907 return resultobj;
8908 fail:
8909 return NULL;
8910}
8911
8912
36ed4f51 8913static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8914 PyObject *resultobj = NULL;
d14a1e28
RD
8915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8916 int arg2 ;
36ed4f51 8917 int arg3 ;
d14a1e28 8918 PyObject * obj0 = 0 ;
994141e6 8919 PyObject * obj1 = 0 ;
36ed4f51 8920 PyObject * obj2 = 0 ;
d14a1e28 8921 char *kwnames[] = {
36ed4f51 8922 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
d14a1e28
RD
8923 };
8924
36ed4f51
RD
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8927 if (SWIG_arg_fail(1)) SWIG_fail;
8928 {
32fe5131 8929 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8930 if (SWIG_arg_fail(2)) SWIG_fail;
8931 }
8932 {
32fe5131 8933 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8934 if (SWIG_arg_fail(3)) SWIG_fail;
8935 }
d14a1e28
RD
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8938 (arg1)->HideLines(arg2,arg3);
d14a1e28
RD
8939
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 Py_INCREF(Py_None); resultobj = Py_None;
8944 return resultobj;
8945 fail:
8946 return NULL;
8947}
8948
8949
36ed4f51 8950static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8951 PyObject *resultobj = NULL;
d14a1e28 8952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8953 int arg2 ;
8954 bool result;
d14a1e28 8955 PyObject * obj0 = 0 ;
36ed4f51 8956 PyObject * obj1 = 0 ;
d14a1e28 8957 char *kwnames[] = {
36ed4f51 8958 (char *) "self",(char *) "line", NULL
d14a1e28
RD
8959 };
8960
36ed4f51
RD
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
8962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8963 if (SWIG_arg_fail(1)) SWIG_fail;
8964 {
32fe5131 8965 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8966 if (SWIG_arg_fail(2)) SWIG_fail;
8967 }
d14a1e28
RD
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8970 result = (bool)(arg1)->GetLineVisible(arg2);
d14a1e28
RD
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
36ed4f51
RD
8975 {
8976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8977 }
d14a1e28
RD
8978 return resultobj;
8979 fail:
8980 return NULL;
8981}
8982
8983
36ed4f51 8984static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8985 PyObject *resultobj = NULL;
5e483524
RD
8986 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8987 int arg2 ;
36ed4f51 8988 bool arg3 ;
5e483524
RD
8989 PyObject * obj0 = 0 ;
8990 PyObject * obj1 = 0 ;
36ed4f51 8991 PyObject * obj2 = 0 ;
5e483524 8992 char *kwnames[] = {
36ed4f51 8993 (char *) "self",(char *) "line",(char *) "expanded", NULL
5e483524
RD
8994 };
8995
36ed4f51
RD
8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
8997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8998 if (SWIG_arg_fail(1)) SWIG_fail;
8999 {
32fe5131 9000 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9001 if (SWIG_arg_fail(2)) SWIG_fail;
9002 }
9003 {
32fe5131 9004 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
9005 if (SWIG_arg_fail(3)) SWIG_fail;
9006 }
5e483524
RD
9007 {
9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9009 (arg1)->SetFoldExpanded(arg2,arg3);
5e483524
RD
9010
9011 wxPyEndAllowThreads(__tstate);
9012 if (PyErr_Occurred()) SWIG_fail;
9013 }
9014 Py_INCREF(Py_None); resultobj = Py_None;
9015 return resultobj;
9016 fail:
9017 return NULL;
9018}
9019
9020
36ed4f51 9021static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9022 PyObject *resultobj = NULL;
5e483524 9023 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
9024 int arg2 ;
9025 bool result;
5e483524 9026 PyObject * obj0 = 0 ;
36ed4f51 9027 PyObject * obj1 = 0 ;
5e483524 9028 char *kwnames[] = {
36ed4f51 9029 (char *) "self",(char *) "line", NULL
5e483524
RD
9030 };
9031
36ed4f51
RD
9032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
9033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9034 if (SWIG_arg_fail(1)) SWIG_fail;
9035 {
32fe5131 9036 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9037 if (SWIG_arg_fail(2)) SWIG_fail;
9038 }
5e483524
RD
9039 {
9040 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9041 result = (bool)(arg1)->GetFoldExpanded(arg2);
5e483524
RD
9042
9043 wxPyEndAllowThreads(__tstate);
9044 if (PyErr_Occurred()) SWIG_fail;
9045 }
36ed4f51
RD
9046 {
9047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9048 }
5e483524
RD
9049 return resultobj;
9050 fail:
9051 return NULL;
9052}
9053
9054
36ed4f51 9055static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9056 PyObject *resultobj = NULL;
5e483524
RD
9057 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9058 int arg2 ;
9059 PyObject * obj0 = 0 ;
9060 PyObject * obj1 = 0 ;
9061 char *kwnames[] = {
36ed4f51 9062 (char *) "self",(char *) "line", NULL
5e483524
RD
9063 };
9064
36ed4f51
RD
9065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
9066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9067 if (SWIG_arg_fail(1)) SWIG_fail;
9068 {
32fe5131 9069 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9070 if (SWIG_arg_fail(2)) SWIG_fail;
9071 }
5e483524
RD
9072 {
9073 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9074 (arg1)->ToggleFold(arg2);
5e483524
RD
9075
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 }
9079 Py_INCREF(Py_None); resultobj = Py_None;
9080 return resultobj;
9081 fail:
9082 return NULL;
9083}
9084
9085
36ed4f51 9086static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9087 PyObject *resultobj = NULL;
5e483524 9088 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9089 int arg2 ;
5e483524 9090 PyObject * obj0 = 0 ;
36ed4f51 9091 PyObject * obj1 = 0 ;
5e483524 9092 char *kwnames[] = {
36ed4f51 9093 (char *) "self",(char *) "line", NULL
5e483524
RD
9094 };
9095
36ed4f51
RD
9096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
9097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9098 if (SWIG_arg_fail(1)) SWIG_fail;
9099 {
32fe5131 9100 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9101 if (SWIG_arg_fail(2)) SWIG_fail;
9102 }
5e483524
RD
9103 {
9104 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9105 (arg1)->EnsureVisible(arg2);
5e483524
RD
9106
9107 wxPyEndAllowThreads(__tstate);
9108 if (PyErr_Occurred()) SWIG_fail;
9109 }
36ed4f51 9110 Py_INCREF(Py_None); resultobj = Py_None;
5e483524
RD
9111 return resultobj;
9112 fail:
9113 return NULL;
9114}
9115
9116
36ed4f51 9117static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9118 PyObject *resultobj = NULL;
5e483524
RD
9119 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9120 int arg2 ;
9121 PyObject * obj0 = 0 ;
9122 PyObject * obj1 = 0 ;
9123 char *kwnames[] = {
36ed4f51 9124 (char *) "self",(char *) "flags", NULL
5e483524
RD
9125 };
9126
36ed4f51
RD
9127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
9128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9129 if (SWIG_arg_fail(1)) SWIG_fail;
9130 {
32fe5131 9131 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9132 if (SWIG_arg_fail(2)) SWIG_fail;
9133 }
5e483524
RD
9134 {
9135 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9136 (arg1)->SetFoldFlags(arg2);
5e483524
RD
9137
9138 wxPyEndAllowThreads(__tstate);
9139 if (PyErr_Occurred()) SWIG_fail;
9140 }
9141 Py_INCREF(Py_None); resultobj = Py_None;
9142 return resultobj;
9143 fail:
9144 return NULL;
9145}
9146
9147
36ed4f51 9148static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9149 PyObject *resultobj = NULL;
5e483524 9150 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9151 int arg2 ;
5e483524 9152 PyObject * obj0 = 0 ;
36ed4f51 9153 PyObject * obj1 = 0 ;
5e483524 9154 char *kwnames[] = {
36ed4f51 9155 (char *) "self",(char *) "line", NULL
5e483524
RD
9156 };
9157
36ed4f51
RD
9158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
9159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9160 if (SWIG_arg_fail(1)) SWIG_fail;
9161 {
32fe5131 9162 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9163 if (SWIG_arg_fail(2)) SWIG_fail;
9164 }
5e483524
RD
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9167 (arg1)->EnsureVisibleEnforcePolicy(arg2);
5e483524
RD
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
36ed4f51 9172 Py_INCREF(Py_None); resultobj = Py_None;
5e483524
RD
9173 return resultobj;
9174 fail:
9175 return NULL;
9176}
9177
9178
36ed4f51 9179static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9180 PyObject *resultobj = NULL;
d14a1e28 9181 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9182 bool arg2 ;
d14a1e28 9183 PyObject * obj0 = 0 ;
994141e6 9184 PyObject * obj1 = 0 ;
d14a1e28 9185 char *kwnames[] = {
36ed4f51 9186 (char *) "self",(char *) "tabIndents", NULL
d14a1e28
RD
9187 };
9188
36ed4f51
RD
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
9190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9191 if (SWIG_arg_fail(1)) SWIG_fail;
9192 {
32fe5131 9193 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
9194 if (SWIG_arg_fail(2)) SWIG_fail;
9195 }
d14a1e28
RD
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9198 (arg1)->SetTabIndents(arg2);
d14a1e28
RD
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 Py_INCREF(Py_None); resultobj = Py_None;
9204 return resultobj;
9205 fail:
9206 return NULL;
9207}
9208
9209
36ed4f51 9210static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9211 PyObject *resultobj = NULL;
d14a1e28 9212 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9213 bool result;
d14a1e28
RD
9214 PyObject * obj0 = 0 ;
9215 char *kwnames[] = {
9216 (char *) "self", NULL
9217 };
9218
36ed4f51
RD
9219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
9220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9221 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9222 {
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9224 result = (bool)(arg1)->GetTabIndents();
d14a1e28
RD
9225
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
36ed4f51
RD
9229 {
9230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9231 }
d14a1e28
RD
9232 return resultobj;
9233 fail:
9234 return NULL;
9235}
9236
9237
36ed4f51 9238static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9239 PyObject *resultobj = NULL;
d14a1e28 9240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9241 bool arg2 ;
d14a1e28 9242 PyObject * obj0 = 0 ;
994141e6 9243 PyObject * obj1 = 0 ;
d14a1e28 9244 char *kwnames[] = {
36ed4f51 9245 (char *) "self",(char *) "bsUnIndents", NULL
d14a1e28
RD
9246 };
9247
36ed4f51
RD
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
9249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9250 if (SWIG_arg_fail(1)) SWIG_fail;
9251 {
32fe5131 9252 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
9253 if (SWIG_arg_fail(2)) SWIG_fail;
9254 }
d14a1e28
RD
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9257 (arg1)->SetBackSpaceUnIndents(arg2);
d14a1e28
RD
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 Py_INCREF(Py_None); resultobj = Py_None;
9263 return resultobj;
9264 fail:
9265 return NULL;
9266}
9267
9268
36ed4f51 9269static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9270 PyObject *resultobj = NULL;
d14a1e28 9271 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9272 bool result;
d14a1e28
RD
9273 PyObject * obj0 = 0 ;
9274 char *kwnames[] = {
9275 (char *) "self", NULL
9276 };
9277
36ed4f51
RD
9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
9279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9283 result = (bool)(arg1)->GetBackSpaceUnIndents();
d14a1e28
RD
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
36ed4f51
RD
9288 {
9289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9290 }
d14a1e28
RD
9291 return resultobj;
9292 fail:
9293 return NULL;
9294}
9295
9296
36ed4f51 9297static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9298 PyObject *resultobj = NULL;
d14a1e28
RD
9299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9300 int arg2 ;
d14a1e28 9301 PyObject * obj0 = 0 ;
994141e6 9302 PyObject * obj1 = 0 ;
d14a1e28 9303 char *kwnames[] = {
36ed4f51 9304 (char *) "self",(char *) "periodMilliseconds", NULL
d14a1e28
RD
9305 };
9306
36ed4f51
RD
9307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
9308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9309 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 9310 {
32fe5131 9311 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 9312 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9313 }
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9316 (arg1)->SetMouseDwellTime(arg2);
d14a1e28
RD
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
36ed4f51 9321 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9322 return resultobj;
9323 fail:
d14a1e28
RD
9324 return NULL;
9325}
9326
9327
36ed4f51 9328static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9329 PyObject *resultobj = NULL;
d14a1e28 9330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9331 int result;
d14a1e28 9332 PyObject * obj0 = 0 ;
d14a1e28 9333 char *kwnames[] = {
36ed4f51 9334 (char *) "self", NULL
d14a1e28
RD
9335 };
9336
36ed4f51
RD
9337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
9338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9339 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9342 result = (int)(arg1)->GetMouseDwellTime();
d14a1e28
RD
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
36ed4f51 9347 {
32fe5131 9348 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9349 }
d14a1e28
RD
9350 return resultobj;
9351 fail:
9352 return NULL;
9353}
9354
9355
36ed4f51 9356static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9357 PyObject *resultobj = NULL;
d14a1e28 9358 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
9359 int arg2 ;
9360 bool arg3 ;
d14a1e28
RD
9361 int result;
9362 PyObject * obj0 = 0 ;
36ed4f51
RD
9363 PyObject * obj1 = 0 ;
9364 PyObject * obj2 = 0 ;
d14a1e28 9365 char *kwnames[] = {
36ed4f51 9366 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
d14a1e28
RD
9367 };
9368
36ed4f51
RD
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9371 if (SWIG_arg_fail(1)) SWIG_fail;
9372 {
32fe5131 9373 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9374 if (SWIG_arg_fail(2)) SWIG_fail;
9375 }
9376 {
32fe5131 9377 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
9378 if (SWIG_arg_fail(3)) SWIG_fail;
9379 }
d14a1e28
RD
9380 {
9381 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9382 result = (int)(arg1)->WordStartPosition(arg2,arg3);
d14a1e28
RD
9383
9384 wxPyEndAllowThreads(__tstate);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 }
36ed4f51 9387 {
32fe5131 9388 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9389 }
d14a1e28
RD
9390 return resultobj;
9391 fail:
9392 return NULL;
9393}
9394
9395
36ed4f51 9396static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9397 PyObject *resultobj = NULL;
d14a1e28
RD
9398 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9399 int arg2 ;
36ed4f51 9400 bool arg3 ;
d14a1e28
RD
9401 int result;
9402 PyObject * obj0 = 0 ;
994141e6 9403 PyObject * obj1 = 0 ;
36ed4f51 9404 PyObject * obj2 = 0 ;
d14a1e28 9405 char *kwnames[] = {
36ed4f51 9406 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
d14a1e28
RD
9407 };
9408
36ed4f51
RD
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9411 if (SWIG_arg_fail(1)) SWIG_fail;
9412 {
32fe5131 9413 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9414 if (SWIG_arg_fail(2)) SWIG_fail;
9415 }
9416 {
32fe5131 9417 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
9418 if (SWIG_arg_fail(3)) SWIG_fail;
9419 }
d14a1e28
RD
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9422 result = (int)(arg1)->WordEndPosition(arg2,arg3);
d14a1e28
RD
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
36ed4f51 9427 {
32fe5131 9428 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9429 }
d14a1e28
RD
9430 return resultobj;
9431 fail:
9432 return NULL;
9433}
9434
9435
36ed4f51 9436static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9437 PyObject *resultobj = NULL;
d14a1e28 9438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9439 int arg2 ;
d14a1e28
RD
9440 PyObject * obj0 = 0 ;
9441 PyObject * obj1 = 0 ;
9442 char *kwnames[] = {
36ed4f51 9443 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
9444 };
9445
36ed4f51
RD
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
9447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9448 if (SWIG_arg_fail(1)) SWIG_fail;
9449 {
32fe5131 9450 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9451 if (SWIG_arg_fail(2)) SWIG_fail;
9452 }
d14a1e28
RD
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9455 (arg1)->SetWrapMode(arg2);
d14a1e28
RD
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 Py_INCREF(Py_None); resultobj = Py_None;
9461 return resultobj;
9462 fail:
9463 return NULL;
9464}
9465
9466
36ed4f51 9467static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9468 PyObject *resultobj = NULL;
d14a1e28 9469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9470 int result;
d14a1e28
RD
9471 PyObject * obj0 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "self", NULL
9474 };
9475
36ed4f51
RD
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
9477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9478 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9481 result = (int)(arg1)->GetWrapMode();
d14a1e28
RD
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
4f89f6a3 9486 {
32fe5131 9487 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 9488 }
d14a1e28
RD
9489 return resultobj;
9490 fail:
9491 return NULL;
9492}
9493
9494
36ed4f51 9495static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9496 PyObject *resultobj = NULL;
d14a1e28
RD
9497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9498 int arg2 ;
d14a1e28 9499 PyObject * obj0 = 0 ;
994141e6 9500 PyObject * obj1 = 0 ;
d14a1e28 9501 char *kwnames[] = {
36ed4f51 9502 (char *) "self",(char *) "wrapVisualFlags", NULL
d14a1e28
RD
9503 };
9504
36ed4f51
RD
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail;
9506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 9508 {
32fe5131 9509 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 9510 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9511 }
9512 {
9513 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9514 (arg1)->SetWrapVisualFlags(arg2);
d14a1e28
RD
9515
9516 wxPyEndAllowThreads(__tstate);
9517 if (PyErr_Occurred()) SWIG_fail;
9518 }
9519 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9520 return resultobj;
9521 fail:
d14a1e28
RD
9522 return NULL;
9523}
9524
9525
36ed4f51 9526static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9527 PyObject *resultobj = NULL;
d14a1e28 9528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9529 int result;
d14a1e28
RD
9530 PyObject * obj0 = 0 ;
9531 char *kwnames[] = {
9532 (char *) "self", NULL
9533 };
9534
36ed4f51
RD
9535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail;
9536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9537 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9538 {
9539 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9540 result = (int)(arg1)->GetWrapVisualFlags();
d14a1e28
RD
9541
9542 wxPyEndAllowThreads(__tstate);
9543 if (PyErr_Occurred()) SWIG_fail;
9544 }
4f89f6a3 9545 {
32fe5131 9546 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 9547 }
d14a1e28
RD
9548 return resultobj;
9549 fail:
9550 return NULL;
9551}
9552
9553
36ed4f51 9554static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9555 PyObject *resultobj = NULL;
d14a1e28 9556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9557 int arg2 ;
d14a1e28
RD
9558 PyObject * obj0 = 0 ;
9559 PyObject * obj1 = 0 ;
9560 char *kwnames[] = {
36ed4f51 9561 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
d14a1e28
RD
9562 };
9563
36ed4f51
RD
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail;
9565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9566 if (SWIG_arg_fail(1)) SWIG_fail;
9567 {
32fe5131 9568 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9569 if (SWIG_arg_fail(2)) SWIG_fail;
9570 }
d14a1e28
RD
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9573 (arg1)->SetWrapVisualFlagsLocation(arg2);
d14a1e28
RD
9574
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 Py_INCREF(Py_None); resultobj = Py_None;
9579 return resultobj;
9580 fail:
9581 return NULL;
9582}
9583
9584
36ed4f51 9585static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9586 PyObject *resultobj = NULL;
d14a1e28 9587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9588 int result;
d14a1e28
RD
9589 PyObject * obj0 = 0 ;
9590 char *kwnames[] = {
9591 (char *) "self", NULL
9592 };
9593
36ed4f51
RD
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail;
9595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9596 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9599 result = (int)(arg1)->GetWrapVisualFlagsLocation();
d14a1e28
RD
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
36ed4f51 9604 {
32fe5131 9605 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9606 }
d14a1e28
RD
9607 return resultobj;
9608 fail:
9609 return NULL;
9610}
9611
9612
36ed4f51 9613static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9614 PyObject *resultobj = NULL;
d14a1e28 9615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9616 int arg2 ;
d14a1e28 9617 PyObject * obj0 = 0 ;
36ed4f51 9618 PyObject * obj1 = 0 ;
d14a1e28 9619 char *kwnames[] = {
36ed4f51 9620 (char *) "self",(char *) "indent", NULL
d14a1e28
RD
9621 };
9622
36ed4f51
RD
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail;
9624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9625 if (SWIG_arg_fail(1)) SWIG_fail;
9626 {
32fe5131 9627 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9628 if (SWIG_arg_fail(2)) SWIG_fail;
9629 }
d14a1e28
RD
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9632 (arg1)->SetWrapStartIndent(arg2);
d14a1e28
RD
9633
9634 wxPyEndAllowThreads(__tstate);
9635 if (PyErr_Occurred()) SWIG_fail;
9636 }
9637 Py_INCREF(Py_None); resultobj = Py_None;
9638 return resultobj;
9639 fail:
9640 return NULL;
9641}
9642
9643
36ed4f51 9644static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9645 PyObject *resultobj = NULL;
d14a1e28 9646 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9647 int result;
d14a1e28
RD
9648 PyObject * obj0 = 0 ;
9649 char *kwnames[] = {
36ed4f51 9650 (char *) "self", NULL
d14a1e28
RD
9651 };
9652
36ed4f51
RD
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail;
9654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9655 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9658 result = (int)(arg1)->GetWrapStartIndent();
d14a1e28
RD
9659
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
36ed4f51 9663 {
32fe5131 9664 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9665 }
d14a1e28
RD
9666 return resultobj;
9667 fail:
9668 return NULL;
9669}
9670
9671
36ed4f51 9672static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9673 PyObject *resultobj = NULL;
d14a1e28 9674 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9675 int arg2 ;
d14a1e28
RD
9676 PyObject * obj0 = 0 ;
9677 PyObject * obj1 = 0 ;
d14a1e28 9678 char *kwnames[] = {
36ed4f51 9679 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
9680 };
9681
36ed4f51
RD
9682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
9683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9684 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 9685 {
32fe5131 9686 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 9687 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9688 }
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9691 (arg1)->SetLayoutCache(arg2);
d14a1e28
RD
9692
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 Py_INCREF(Py_None); resultobj = Py_None;
9697 return resultobj;
9698 fail:
9699 return NULL;
9700}
9701
9702
36ed4f51 9703static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9704 PyObject *resultobj = NULL;
d14a1e28 9705 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9706 int result;
d14a1e28 9707 PyObject * obj0 = 0 ;
d14a1e28 9708 char *kwnames[] = {
36ed4f51 9709 (char *) "self", NULL
d14a1e28
RD
9710 };
9711
36ed4f51
RD
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
9713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9714 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9715 {
9716 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9717 result = (int)(arg1)->GetLayoutCache();
d14a1e28
RD
9718
9719 wxPyEndAllowThreads(__tstate);
9720 if (PyErr_Occurred()) SWIG_fail;
9721 }
36ed4f51 9722 {
32fe5131 9723 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9724 }
d14a1e28
RD
9725 return resultobj;
9726 fail:
9727 return NULL;
9728}
9729
9730
36ed4f51 9731static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9732 PyObject *resultobj = NULL;
d14a1e28 9733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9734 int arg2 ;
d14a1e28 9735 PyObject * obj0 = 0 ;
36ed4f51 9736 PyObject * obj1 = 0 ;
d14a1e28 9737 char *kwnames[] = {
36ed4f51 9738 (char *) "self",(char *) "pixelWidth", NULL
d14a1e28
RD
9739 };
9740
36ed4f51
RD
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
9742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9743 if (SWIG_arg_fail(1)) SWIG_fail;
9744 {
32fe5131 9745 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9746 if (SWIG_arg_fail(2)) SWIG_fail;
9747 }
d14a1e28
RD
9748 {
9749 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9750 (arg1)->SetScrollWidth(arg2);
d14a1e28
RD
9751
9752 wxPyEndAllowThreads(__tstate);
9753 if (PyErr_Occurred()) SWIG_fail;
9754 }
9755 Py_INCREF(Py_None); resultobj = Py_None;
9756 return resultobj;
9757 fail:
9758 return NULL;
9759}
9760
9761
36ed4f51 9762static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9763 PyObject *resultobj = NULL;
d14a1e28 9764 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9765 int result;
d14a1e28
RD
9766 PyObject * obj0 = 0 ;
9767 char *kwnames[] = {
9768 (char *) "self", NULL
9769 };
9770
36ed4f51
RD
9771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
9772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9773 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9776 result = (int)(arg1)->GetScrollWidth();
d14a1e28
RD
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
36ed4f51 9781 {
32fe5131 9782 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9783 }
d14a1e28
RD
9784 return resultobj;
9785 fail:
9786 return NULL;
9787}
9788
9789
36ed4f51 9790static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9791 PyObject *resultobj = NULL;
d14a1e28 9792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
9793 int arg2 ;
9794 wxString *arg3 = 0 ;
9795 int result;
9796 bool temp3 = false ;
d14a1e28 9797 PyObject * obj0 = 0 ;
36ed4f51
RD
9798 PyObject * obj1 = 0 ;
9799 PyObject * obj2 = 0 ;
d14a1e28 9800 char *kwnames[] = {
36ed4f51 9801 (char *) "self",(char *) "style",(char *) "text", NULL
d14a1e28
RD
9802 };
9803
36ed4f51
RD
9804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
9805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9806 if (SWIG_arg_fail(1)) SWIG_fail;
9807 {
32fe5131 9808 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9809 if (SWIG_arg_fail(2)) SWIG_fail;
9810 }
9811 {
9812 arg3 = wxString_in_helper(obj2);
9813 if (arg3 == NULL) SWIG_fail;
9814 temp3 = true;
9815 }
d14a1e28
RD
9816 {
9817 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9818 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
d14a1e28
RD
9819
9820 wxPyEndAllowThreads(__tstate);
9821 if (PyErr_Occurred()) SWIG_fail;
9822 }
36ed4f51 9823 {
32fe5131 9824 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
9825 }
9826 {
9827 if (temp3)
9828 delete arg3;
9829 }
d14a1e28
RD
9830 return resultobj;
9831 fail:
36ed4f51
RD
9832 {
9833 if (temp3)
9834 delete arg3;
9835 }
d14a1e28
RD
9836 return NULL;
9837}
9838
9839
36ed4f51 9840static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9841 PyObject *resultobj = NULL;
d14a1e28 9842 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9843 bool arg2 ;
d14a1e28 9844 PyObject * obj0 = 0 ;
36ed4f51 9845 PyObject * obj1 = 0 ;
d14a1e28 9846 char *kwnames[] = {
36ed4f51 9847 (char *) "self",(char *) "endAtLastLine", NULL
d14a1e28
RD
9848 };
9849
36ed4f51
RD
9850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
9851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9852 if (SWIG_arg_fail(1)) SWIG_fail;
9853 {
32fe5131 9854 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
9855 if (SWIG_arg_fail(2)) SWIG_fail;
9856 }
d14a1e28
RD
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9859 (arg1)->SetEndAtLastLine(arg2);
d14a1e28
RD
9860
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
9864 Py_INCREF(Py_None); resultobj = Py_None;
9865 return resultobj;
9866 fail:
9867 return NULL;
9868}
9869
9870
36ed4f51 9871static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9872 PyObject *resultobj = NULL;
d14a1e28 9873 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9874 int result;
d14a1e28
RD
9875 PyObject * obj0 = 0 ;
9876 char *kwnames[] = {
9877 (char *) "self", NULL
9878 };
9879
36ed4f51
RD
9880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
9881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9882 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9883 {
9884 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9885 result = (int)(arg1)->GetEndAtLastLine();
d14a1e28
RD
9886
9887 wxPyEndAllowThreads(__tstate);
9888 if (PyErr_Occurred()) SWIG_fail;
9889 }
36ed4f51 9890 {
32fe5131 9891 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9892 }
d14a1e28
RD
9893 return resultobj;
9894 fail:
9895 return NULL;
9896}
9897
9898
36ed4f51 9899static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9900 PyObject *resultobj = NULL;
d14a1e28 9901 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
9902 int arg2 ;
9903 int result;
d14a1e28 9904 PyObject * obj0 = 0 ;
36ed4f51 9905 PyObject * obj1 = 0 ;
d14a1e28 9906 char *kwnames[] = {
36ed4f51 9907 (char *) "self",(char *) "line", NULL
d14a1e28
RD
9908 };
9909
36ed4f51
RD
9910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
9911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9912 if (SWIG_arg_fail(1)) SWIG_fail;
9913 {
32fe5131 9914 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9915 if (SWIG_arg_fail(2)) SWIG_fail;
9916 }
d14a1e28
RD
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9919 result = (int)(arg1)->TextHeight(arg2);
d14a1e28
RD
9920
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
36ed4f51 9924 {
32fe5131 9925 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9926 }
d14a1e28
RD
9927 return resultobj;
9928 fail:
9929 return NULL;
9930}
9931
9932
36ed4f51 9933static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9934 PyObject *resultobj = NULL;
d14a1e28 9935 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9936 bool arg2 ;
d14a1e28 9937 PyObject * obj0 = 0 ;
36ed4f51 9938 PyObject * obj1 = 0 ;
d14a1e28 9939 char *kwnames[] = {
36ed4f51 9940 (char *) "self",(char *) "show", NULL
d14a1e28
RD
9941 };
9942
36ed4f51
RD
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
9944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9945 if (SWIG_arg_fail(1)) SWIG_fail;
9946 {
32fe5131 9947 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
9948 if (SWIG_arg_fail(2)) SWIG_fail;
9949 }
d14a1e28
RD
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9952 (arg1)->SetUseVerticalScrollBar(arg2);
d14a1e28
RD
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 Py_INCREF(Py_None); resultobj = Py_None;
9958 return resultobj;
9959 fail:
9960 return NULL;
9961}
9962
9963
36ed4f51 9964static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9965 PyObject *resultobj = NULL;
d14a1e28 9966 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9967 bool result;
d14a1e28
RD
9968 PyObject * obj0 = 0 ;
9969 char *kwnames[] = {
4276dc52 9970 (char *) "self", NULL
d14a1e28
RD
9971 };
9972
36ed4f51
RD
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
9974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9975 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9978 result = (bool)(arg1)->GetUseVerticalScrollBar();
d14a1e28
RD
9979
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
36ed4f51
RD
9983 {
9984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9985 }
d14a1e28
RD
9986 return resultobj;
9987 fail:
9988 return NULL;
9989}
9990
9991
36ed4f51 9992static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9993 PyObject *resultobj = NULL;
d14a1e28 9994 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
66af7a75
RD
9995 wxString *arg2 = 0 ;
9996 bool temp2 = false ;
d14a1e28 9997 PyObject * obj0 = 0 ;
36ed4f51 9998 PyObject * obj1 = 0 ;
d14a1e28 9999 char *kwnames[] = {
66af7a75 10000 (char *) "self",(char *) "text", NULL
d14a1e28
RD
10001 };
10002
66af7a75 10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10005 if (SWIG_arg_fail(1)) SWIG_fail;
10006 {
66af7a75
RD
10007 arg2 = wxString_in_helper(obj1);
10008 if (arg2 == NULL) SWIG_fail;
10009 temp2 = true;
36ed4f51 10010 }
d14a1e28
RD
10011 {
10012 PyThreadState* __tstate = wxPyBeginAllowThreads();
66af7a75 10013 (arg1)->AppendText((wxString const &)*arg2);
d14a1e28
RD
10014
10015 wxPyEndAllowThreads(__tstate);
10016 if (PyErr_Occurred()) SWIG_fail;
10017 }
10018 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51 10019 {
66af7a75
RD
10020 if (temp2)
10021 delete arg2;
36ed4f51 10022 }
d14a1e28
RD
10023 return resultobj;
10024 fail:
36ed4f51 10025 {
66af7a75
RD
10026 if (temp2)
10027 delete arg2;
36ed4f51 10028 }
d14a1e28
RD
10029 return NULL;
10030}
10031
10032
36ed4f51 10033static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10034 PyObject *resultobj = NULL;
d14a1e28 10035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 10036 bool result;
d14a1e28
RD
10037 PyObject * obj0 = 0 ;
10038 char *kwnames[] = {
4276dc52 10039 (char *) "self", NULL
d14a1e28
RD
10040 };
10041
36ed4f51
RD
10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
10043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10044 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10045 {
10046 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10047 result = (bool)(arg1)->GetTwoPhaseDraw();
d14a1e28
RD
10048
10049 wxPyEndAllowThreads(__tstate);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 }
36ed4f51
RD
10052 {
10053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10054 }
d14a1e28
RD
10055 return resultobj;
10056 fail:
10057 return NULL;
10058}
10059
10060
36ed4f51 10061static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10062 PyObject *resultobj = NULL;
d14a1e28 10063 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 10064 bool arg2 ;
d14a1e28 10065 PyObject * obj0 = 0 ;
36ed4f51 10066 PyObject * obj1 = 0 ;
d14a1e28 10067 char *kwnames[] = {
36ed4f51 10068 (char *) "self",(char *) "twoPhase", NULL
d14a1e28
RD
10069 };
10070
36ed4f51
RD
10071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
10072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10073 if (SWIG_arg_fail(1)) SWIG_fail;
10074 {
32fe5131 10075 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
10076 if (SWIG_arg_fail(2)) SWIG_fail;
10077 }
d14a1e28
RD
10078 {
10079 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10080 (arg1)->SetTwoPhaseDraw(arg2);
d14a1e28
RD
10081
10082 wxPyEndAllowThreads(__tstate);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 }
4276dc52 10085 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10086 return resultobj;
10087 fail:
10088 return NULL;
10089}
10090
10091
36ed4f51 10092static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10093 PyObject *resultobj = NULL;
d14a1e28 10094 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10095 PyObject * obj0 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self", NULL
10098 };
10099
36ed4f51
RD
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
10101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10102 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10105 (arg1)->TargetFromSelection();
d14a1e28
RD
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
4276dc52 10110 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10111 return resultobj;
10112 fail:
10113 return NULL;
10114}
10115
10116
36ed4f51 10117static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10118 PyObject *resultobj = NULL;
d14a1e28 10119 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10120 PyObject * obj0 = 0 ;
d14a1e28 10121 char *kwnames[] = {
4276dc52 10122 (char *) "self", NULL
d14a1e28
RD
10123 };
10124
36ed4f51
RD
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
10126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10127 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10130 (arg1)->LinesJoin();
d14a1e28
RD
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 Py_INCREF(Py_None); resultobj = Py_None;
10136 return resultobj;
10137 fail:
10138 return NULL;
10139}
10140
10141
36ed4f51 10142static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10143 PyObject *resultobj = NULL;
d14a1e28 10144 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 10145 int arg2 ;
d14a1e28 10146 PyObject * obj0 = 0 ;
36ed4f51 10147 PyObject * obj1 = 0 ;
d14a1e28 10148 char *kwnames[] = {
36ed4f51 10149 (char *) "self",(char *) "pixelWidth", NULL
d14a1e28
RD
10150 };
10151
36ed4f51
RD
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
10153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10154 if (SWIG_arg_fail(1)) SWIG_fail;
10155 {
32fe5131 10156 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10157 if (SWIG_arg_fail(2)) SWIG_fail;
10158 }
d14a1e28
RD
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10161 (arg1)->LinesSplit(arg2);
d14a1e28
RD
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
4276dc52 10166 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10167 return resultobj;
10168 fail:
10169 return NULL;
10170}
10171
10172
36ed4f51 10173static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10174 PyObject *resultobj = NULL;
d14a1e28 10175 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
10176 bool arg2 ;
10177 wxColour *arg3 = 0 ;
10178 wxColour temp3 ;
d14a1e28 10179 PyObject * obj0 = 0 ;
36ed4f51
RD
10180 PyObject * obj1 = 0 ;
10181 PyObject * obj2 = 0 ;
d14a1e28 10182 char *kwnames[] = {
36ed4f51 10183 (char *) "self",(char *) "useSetting",(char *) "back", NULL
d14a1e28
RD
10184 };
10185
36ed4f51
RD
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10188 if (SWIG_arg_fail(1)) SWIG_fail;
10189 {
32fe5131 10190 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
10191 if (SWIG_arg_fail(2)) SWIG_fail;
10192 }
10193 {
10194 arg3 = &temp3;
10195 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10196 }
d14a1e28
RD
10197 {
10198 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10199 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
d14a1e28
RD
10200
10201 wxPyEndAllowThreads(__tstate);
10202 if (PyErr_Occurred()) SWIG_fail;
10203 }
10204 Py_INCREF(Py_None); resultobj = Py_None;
10205 return resultobj;
10206 fail:
10207 return NULL;
10208}
10209
10210
36ed4f51 10211static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10212 PyObject *resultobj = NULL;
d14a1e28 10213 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
10214 bool arg2 ;
10215 wxColour *arg3 = 0 ;
10216 wxColour temp3 ;
d14a1e28 10217 PyObject * obj0 = 0 ;
36ed4f51
RD
10218 PyObject * obj1 = 0 ;
10219 PyObject * obj2 = 0 ;
d14a1e28 10220 char *kwnames[] = {
36ed4f51 10221 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
d14a1e28
RD
10222 };
10223
36ed4f51
RD
10224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10226 if (SWIG_arg_fail(1)) SWIG_fail;
10227 {
32fe5131 10228 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
10229 if (SWIG_arg_fail(2)) SWIG_fail;
10230 }
10231 {
10232 arg3 = &temp3;
10233 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10234 }
d14a1e28
RD
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10237 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
d14a1e28
RD
10238
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 Py_INCREF(Py_None); resultobj = Py_None;
10243 return resultobj;
10244 fail:
10245 return NULL;
10246}
10247
10248
36ed4f51 10249static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10250 PyObject *resultobj = NULL;
d14a1e28 10251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10252 PyObject * obj0 = 0 ;
10253 char *kwnames[] = {
10254 (char *) "self", NULL
10255 };
10256
36ed4f51
RD
10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail;
10258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10259 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10260 {
10261 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10262 (arg1)->LineDown();
d14a1e28
RD
10263
10264 wxPyEndAllowThreads(__tstate);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
4276dc52 10267 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10268 return resultobj;
10269 fail:
10270 return NULL;
10271}
10272
10273
36ed4f51 10274static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10275 PyObject *resultobj = NULL;
d14a1e28 10276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10277 PyObject * obj0 = 0 ;
10278 char *kwnames[] = {
4276dc52 10279 (char *) "self", NULL
d14a1e28
RD
10280 };
10281
36ed4f51
RD
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail;
10283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10284 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10287 (arg1)->LineDownExtend();
d14a1e28
RD
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 Py_INCREF(Py_None); resultobj = Py_None;
10293 return resultobj;
10294 fail:
10295 return NULL;
10296}
10297
10298
36ed4f51 10299static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10300 PyObject *resultobj = NULL;
d14a1e28 10301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10302 PyObject * obj0 = 0 ;
10303 char *kwnames[] = {
10304 (char *) "self", NULL
10305 };
10306
36ed4f51
RD
10307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail;
10308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10309 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10312 (arg1)->LineUp();
d14a1e28
RD
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
4276dc52 10317 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10318 return resultobj;
10319 fail:
10320 return NULL;
10321}
10322
10323
36ed4f51 10324static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10325 PyObject *resultobj = NULL;
d14a1e28 10326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10327 PyObject * obj0 = 0 ;
10328 char *kwnames[] = {
4276dc52 10329 (char *) "self", NULL
d14a1e28
RD
10330 };
10331
36ed4f51
RD
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail;
10333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10334 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10337 (arg1)->LineUpExtend();
d14a1e28
RD
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 Py_INCREF(Py_None); resultobj = Py_None;
10343 return resultobj;
10344 fail:
10345 return NULL;
10346}
10347
10348
36ed4f51 10349static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10350 PyObject *resultobj = NULL;
d14a1e28 10351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10352 PyObject * obj0 = 0 ;
10353 char *kwnames[] = {
10354 (char *) "self", NULL
10355 };
10356
36ed4f51
RD
10357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail;
10358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10362 (arg1)->CharLeft();
d14a1e28
RD
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
4276dc52 10367 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10368 return resultobj;
10369 fail:
10370 return NULL;
10371}
10372
10373
36ed4f51 10374static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10375 PyObject *resultobj = NULL;
d14a1e28 10376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10377 PyObject * obj0 = 0 ;
d14a1e28 10378 char *kwnames[] = {
4276dc52 10379 (char *) "self", NULL
d14a1e28
RD
10380 };
10381
36ed4f51
RD
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail;
10383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10384 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10387 (arg1)->CharLeftExtend();
d14a1e28
RD
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 Py_INCREF(Py_None); resultobj = Py_None;
10393 return resultobj;
10394 fail:
10395 return NULL;
10396}
10397
10398
36ed4f51 10399static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10400 PyObject *resultobj = NULL;
d14a1e28
RD
10401 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10402 PyObject * obj0 = 0 ;
10403 char *kwnames[] = {
10404 (char *) "self", NULL
10405 };
10406
36ed4f51
RD
10407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail;
10408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10409 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10412 (arg1)->CharRight();
d14a1e28
RD
10413
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 Py_INCREF(Py_None); resultobj = Py_None;
10418 return resultobj;
10419 fail:
10420 return NULL;
10421}
10422
10423
36ed4f51 10424static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10425 PyObject *resultobj = NULL;
d14a1e28 10426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10427 PyObject * obj0 = 0 ;
d14a1e28 10428 char *kwnames[] = {
4276dc52 10429 (char *) "self", NULL
d14a1e28
RD
10430 };
10431
36ed4f51
RD
10432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail;
10433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10434 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10437 (arg1)->CharRightExtend();
d14a1e28
RD
10438
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
4276dc52 10442 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10443 return resultobj;
10444 fail:
d14a1e28
RD
10445 return NULL;
10446}
10447
10448
36ed4f51 10449static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10450 PyObject *resultobj = NULL;
d14a1e28 10451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10452 PyObject * obj0 = 0 ;
d14a1e28 10453 char *kwnames[] = {
4276dc52 10454 (char *) "self", NULL
d14a1e28
RD
10455 };
10456
36ed4f51
RD
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail;
10458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10462 (arg1)->WordLeft();
d14a1e28
RD
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
4276dc52 10467 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10468 return resultobj;
10469 fail:
d14a1e28
RD
10470 return NULL;
10471}
10472
10473
36ed4f51 10474static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10475 PyObject *resultobj = NULL;
d14a1e28 10476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10477 PyObject * obj0 = 0 ;
10478 char *kwnames[] = {
10479 (char *) "self", NULL
10480 };
10481
36ed4f51
RD
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail;
10483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10484 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10487 (arg1)->WordLeftExtend();
d14a1e28
RD
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
4276dc52 10492 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10493 return resultobj;
10494 fail:
10495 return NULL;
10496}
10497
10498
36ed4f51 10499static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10500 PyObject *resultobj = NULL;
d14a1e28 10501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10502 PyObject * obj0 = 0 ;
d14a1e28 10503 char *kwnames[] = {
4276dc52 10504 (char *) "self", NULL
d14a1e28
RD
10505 };
10506
36ed4f51
RD
10507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail;
10508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10509 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10512 (arg1)->WordRight();
d14a1e28
RD
10513
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 Py_INCREF(Py_None); resultobj = Py_None;
10518 return resultobj;
10519 fail:
10520 return NULL;
10521}
10522
10523
36ed4f51 10524static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10525 PyObject *resultobj = NULL;
d14a1e28 10526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10527 PyObject * obj0 = 0 ;
10528 char *kwnames[] = {
10529 (char *) "self", NULL
10530 };
10531
36ed4f51
RD
10532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail;
10533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10534 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10537 (arg1)->WordRightExtend();
d14a1e28
RD
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
4276dc52 10542 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10543 return resultobj;
10544 fail:
10545 return NULL;
10546}
10547
10548
36ed4f51 10549static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10550 PyObject *resultobj = NULL;
d14a1e28 10551 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10552 PyObject * obj0 = 0 ;
10553 char *kwnames[] = {
4276dc52 10554 (char *) "self", NULL
d14a1e28
RD
10555 };
10556
36ed4f51
RD
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail;
10558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10559 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10562 (arg1)->Home();
d14a1e28
RD
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 Py_INCREF(Py_None); resultobj = Py_None;
10568 return resultobj;
10569 fail:
10570 return NULL;
10571}
10572
10573
36ed4f51 10574static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10575 PyObject *resultobj = NULL;
d14a1e28 10576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10577 PyObject * obj0 = 0 ;
10578 char *kwnames[] = {
10579 (char *) "self", NULL
10580 };
10581
36ed4f51
RD
10582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail;
10583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10584 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10587 (arg1)->HomeExtend();
d14a1e28
RD
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
4276dc52 10592 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10593 return resultobj;
10594 fail:
10595 return NULL;
10596}
10597
10598
36ed4f51 10599static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10600 PyObject *resultobj = NULL;
d14a1e28 10601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10602 PyObject * obj0 = 0 ;
10603 char *kwnames[] = {
10604 (char *) "self", NULL
10605 };
10606
36ed4f51
RD
10607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail;
10608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10609 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10612 (arg1)->LineEnd();
d14a1e28
RD
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
4276dc52 10617 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10618 return resultobj;
10619 fail:
10620 return NULL;
10621}
10622
10623
36ed4f51 10624static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10625 PyObject *resultobj = NULL;
d14a1e28 10626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10627 PyObject * obj0 = 0 ;
d14a1e28 10628 char *kwnames[] = {
4276dc52 10629 (char *) "self", NULL
d14a1e28
RD
10630 };
10631
36ed4f51
RD
10632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail;
10633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10634 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10637 (arg1)->LineEndExtend();
d14a1e28
RD
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 Py_INCREF(Py_None); resultobj = Py_None;
10643 return resultobj;
10644 fail:
10645 return NULL;
10646}
10647
10648
36ed4f51 10649static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10650 PyObject *resultobj = NULL;
d14a1e28 10651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10652 PyObject * obj0 = 0 ;
d14a1e28 10653 char *kwnames[] = {
4276dc52 10654 (char *) "self", NULL
d14a1e28
RD
10655 };
10656
36ed4f51
RD
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail;
10658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10662 (arg1)->DocumentStart();
d14a1e28
RD
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 Py_INCREF(Py_None); resultobj = Py_None;
10668 return resultobj;
10669 fail:
10670 return NULL;
10671}
10672
10673
36ed4f51 10674static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10675 PyObject *resultobj = NULL;
d14a1e28 10676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10677 PyObject * obj0 = 0 ;
10678 char *kwnames[] = {
10679 (char *) "self", NULL
10680 };
10681
36ed4f51
RD
10682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail;
10683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10684 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10687 (arg1)->DocumentStartExtend();
d14a1e28
RD
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
4276dc52 10692 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10693 return resultobj;
10694 fail:
10695 return NULL;
10696}
10697
10698
36ed4f51 10699static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10700 PyObject *resultobj = NULL;
d14a1e28 10701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10702 PyObject * obj0 = 0 ;
d14a1e28 10703 char *kwnames[] = {
4276dc52 10704 (char *) "self", NULL
d14a1e28
RD
10705 };
10706
36ed4f51
RD
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail;
10708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10709 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10712 (arg1)->DocumentEnd();
d14a1e28
RD
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 Py_INCREF(Py_None); resultobj = Py_None;
10718 return resultobj;
10719 fail:
10720 return NULL;
10721}
10722
10723
36ed4f51 10724static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10725 PyObject *resultobj = NULL;
d14a1e28 10726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10727 PyObject * obj0 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "self", NULL
10730 };
10731
36ed4f51
RD
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail;
10733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10734 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10737 (arg1)->DocumentEndExtend();
d14a1e28
RD
10738
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
4276dc52 10742 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10743 return resultobj;
10744 fail:
10745 return NULL;
10746}
10747
10748
36ed4f51 10749static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10750 PyObject *resultobj = NULL;
d14a1e28 10751 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10752 PyObject * obj0 = 0 ;
10753 char *kwnames[] = {
4276dc52 10754 (char *) "self", NULL
d14a1e28
RD
10755 };
10756
36ed4f51
RD
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail;
10758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10759 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10762 (arg1)->PageUp();
d14a1e28
RD
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 Py_INCREF(Py_None); resultobj = Py_None;
10768 return resultobj;
10769 fail:
10770 return NULL;
10771}
10772
10773
36ed4f51 10774static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10775 PyObject *resultobj = NULL;
d14a1e28 10776 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10777 PyObject * obj0 = 0 ;
10778 char *kwnames[] = {
10779 (char *) "self", NULL
10780 };
10781
36ed4f51
RD
10782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail;
10783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10784 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10787 (arg1)->PageUpExtend();
d14a1e28
RD
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
4276dc52 10792 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10793 return resultobj;
10794 fail:
10795 return NULL;
10796}
10797
10798
36ed4f51 10799static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10800 PyObject *resultobj = NULL;
d14a1e28 10801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10802 PyObject * obj0 = 0 ;
d14a1e28 10803 char *kwnames[] = {
4276dc52 10804 (char *) "self", NULL
d14a1e28
RD
10805 };
10806
36ed4f51
RD
10807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail;
10808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10812 (arg1)->PageDown();
d14a1e28
RD
10813
10814 wxPyEndAllowThreads(__tstate);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 Py_INCREF(Py_None); resultobj = Py_None;
10818 return resultobj;
10819 fail:
10820 return NULL;
10821}
10822
10823
36ed4f51 10824static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10825 PyObject *resultobj = NULL;
d14a1e28 10826 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10827 PyObject * obj0 = 0 ;
10828 char *kwnames[] = {
10829 (char *) "self", NULL
10830 };
10831
36ed4f51
RD
10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail;
10833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10834 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10835 {
10836 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10837 (arg1)->PageDownExtend();
d14a1e28
RD
10838
10839 wxPyEndAllowThreads(__tstate);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 }
4276dc52 10842 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10843 return resultobj;
10844 fail:
10845 return NULL;
10846}
10847
10848
36ed4f51 10849static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10850 PyObject *resultobj = NULL;
d14a1e28 10851 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10852 PyObject * obj0 = 0 ;
10853 char *kwnames[] = {
4276dc52 10854 (char *) "self", NULL
d14a1e28
RD
10855 };
10856
36ed4f51
RD
10857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail;
10858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10859 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10862 (arg1)->EditToggleOvertype();
d14a1e28
RD
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 Py_INCREF(Py_None); resultobj = Py_None;
10868 return resultobj;
10869 fail:
10870 return NULL;
10871}
10872
10873
36ed4f51 10874static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10875 PyObject *resultobj = NULL;
d14a1e28 10876 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10877 PyObject * obj0 = 0 ;
10878 char *kwnames[] = {
10879 (char *) "self", NULL
10880 };
10881
36ed4f51
RD
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail;
10883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10884 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10887 (arg1)->Cancel();
d14a1e28
RD
10888
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) SWIG_fail;
10891 }
4276dc52 10892 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10893 return resultobj;
10894 fail:
10895 return NULL;
10896}
10897
10898
36ed4f51 10899static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10900 PyObject *resultobj = NULL;
d14a1e28 10901 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10902 PyObject * obj0 = 0 ;
10903 char *kwnames[] = {
4276dc52 10904 (char *) "self", NULL
d14a1e28
RD
10905 };
10906
36ed4f51
RD
10907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail;
10908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10909 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10912 (arg1)->DeleteBack();
d14a1e28
RD
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 Py_INCREF(Py_None); resultobj = Py_None;
10918 return resultobj;
10919 fail:
10920 return NULL;
10921}
10922
10923
36ed4f51 10924static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10925 PyObject *resultobj = NULL;
d14a1e28 10926 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10927 PyObject * obj0 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self", NULL
10930 };
10931
36ed4f51
RD
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail;
10933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10934 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10937 (arg1)->Tab();
d14a1e28
RD
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
4276dc52 10942 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10943 return resultobj;
10944 fail:
10945 return NULL;
10946}
10947
10948
36ed4f51 10949static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10950 PyObject *resultobj = NULL;
d14a1e28
RD
10951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10952 PyObject * obj0 = 0 ;
10953 char *kwnames[] = {
10954 (char *) "self", NULL
10955 };
10956
36ed4f51
RD
10957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail;
10958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10959 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10962 (arg1)->BackTab();
d14a1e28
RD
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 Py_INCREF(Py_None); resultobj = Py_None;
10968 return resultobj;
10969 fail:
10970 return NULL;
10971}
10972
10973
36ed4f51 10974static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10975 PyObject *resultobj = NULL;
d14a1e28
RD
10976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10977 PyObject * obj0 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self", NULL
10980 };
10981
36ed4f51
RD
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail;
10983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10987 (arg1)->NewLine();
d14a1e28
RD
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 Py_INCREF(Py_None); resultobj = Py_None;
10993 return resultobj;
10994 fail:
10995 return NULL;
10996}
10997
10998
36ed4f51 10999static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11000 PyObject *resultobj = NULL;
d14a1e28
RD
11001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11002 PyObject * obj0 = 0 ;
11003 char *kwnames[] = {
11004 (char *) "self", NULL
11005 };
11006
36ed4f51
RD
11007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail;
11008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11009 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11012 (arg1)->FormFeed();
d14a1e28
RD
11013
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 Py_INCREF(Py_None); resultobj = Py_None;
11018 return resultobj;
11019 fail:
11020 return NULL;
11021}
11022
11023
36ed4f51 11024static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11025 PyObject *resultobj = NULL;
d14a1e28
RD
11026 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11027 PyObject * obj0 = 0 ;
11028 char *kwnames[] = {
11029 (char *) "self", NULL
11030 };
11031
36ed4f51
RD
11032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail;
11033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11034 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11037 (arg1)->VCHome();
d14a1e28
RD
11038
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 Py_INCREF(Py_None); resultobj = Py_None;
11043 return resultobj;
11044 fail:
11045 return NULL;
11046}
11047
11048
36ed4f51 11049static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11050 PyObject *resultobj = NULL;
d14a1e28 11051 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11052 PyObject * obj0 = 0 ;
11053 char *kwnames[] = {
4276dc52 11054 (char *) "self", NULL
d14a1e28
RD
11055 };
11056
36ed4f51
RD
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail;
11058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11059 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11062 (arg1)->VCHomeExtend();
d14a1e28
RD
11063
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 Py_INCREF(Py_None); resultobj = Py_None;
11068 return resultobj;
11069 fail:
11070 return NULL;
11071}
11072
11073
36ed4f51 11074static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11075 PyObject *resultobj = NULL;
d14a1e28
RD
11076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11077 PyObject * obj0 = 0 ;
11078 char *kwnames[] = {
11079 (char *) "self", NULL
11080 };
11081
36ed4f51
RD
11082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail;
11083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11084 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11085 {
11086 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11087 (arg1)->ZoomIn();
d14a1e28
RD
11088
11089 wxPyEndAllowThreads(__tstate);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 }
11092 Py_INCREF(Py_None); resultobj = Py_None;
11093 return resultobj;
11094 fail:
11095 return NULL;
11096}
11097
11098
36ed4f51 11099static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11100 PyObject *resultobj = NULL;
d14a1e28
RD
11101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11102 PyObject * obj0 = 0 ;
11103 char *kwnames[] = {
11104 (char *) "self", NULL
11105 };
11106
36ed4f51
RD
11107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail;
11108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11109 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11112 (arg1)->ZoomOut();
d14a1e28
RD
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 Py_INCREF(Py_None); resultobj = Py_None;
11118 return resultobj;
11119 fail:
11120 return NULL;
11121}
11122
11123
36ed4f51 11124static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11125 PyObject *resultobj = NULL;
d14a1e28 11126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11127 PyObject * obj0 = 0 ;
11128 char *kwnames[] = {
4276dc52 11129 (char *) "self", NULL
d14a1e28
RD
11130 };
11131
36ed4f51
RD
11132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail;
11133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11134 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11137 (arg1)->DelWordLeft();
d14a1e28
RD
11138
11139 wxPyEndAllowThreads(__tstate);
11140 if (PyErr_Occurred()) SWIG_fail;
11141 }
11142 Py_INCREF(Py_None); resultobj = Py_None;
11143 return resultobj;
11144 fail:
11145 return NULL;
11146}
11147
11148
36ed4f51 11149static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11150 PyObject *resultobj = NULL;
d14a1e28 11151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11152 PyObject * obj0 = 0 ;
11153 char *kwnames[] = {
11154 (char *) "self", NULL
11155 };
11156
36ed4f51
RD
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail;
11158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11159 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11160 {
11161 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11162 (arg1)->DelWordRight();
d14a1e28
RD
11163
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
4276dc52 11167 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11168 return resultobj;
11169 fail:
11170 return NULL;
11171}
11172
11173
36ed4f51 11174static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11175 PyObject *resultobj = NULL;
d14a1e28
RD
11176 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11177 PyObject * obj0 = 0 ;
11178 char *kwnames[] = {
11179 (char *) "self", NULL
11180 };
11181
36ed4f51
RD
11182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail;
11183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11187 (arg1)->LineCut();
d14a1e28
RD
11188
11189 wxPyEndAllowThreads(__tstate);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
11192 Py_INCREF(Py_None); resultobj = Py_None;
11193 return resultobj;
11194 fail:
11195 return NULL;
11196}
11197
11198
36ed4f51 11199static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11200 PyObject *resultobj = NULL;
d14a1e28 11201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11202 PyObject * obj0 = 0 ;
11203 char *kwnames[] = {
4276dc52 11204 (char *) "self", NULL
d14a1e28
RD
11205 };
11206
36ed4f51
RD
11207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail;
11208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11209 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11212 (arg1)->LineDelete();
d14a1e28
RD
11213
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
11217 Py_INCREF(Py_None); resultobj = Py_None;
11218 return resultobj;
11219 fail:
11220 return NULL;
11221}
11222
11223
36ed4f51 11224static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11225 PyObject *resultobj = NULL;
d14a1e28 11226 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11227 PyObject * obj0 = 0 ;
11228 char *kwnames[] = {
4276dc52 11229 (char *) "self", NULL
d14a1e28
RD
11230 };
11231
36ed4f51
RD
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail;
11233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11234 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11237 (arg1)->LineTranspose();
d14a1e28
RD
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 Py_INCREF(Py_None); resultobj = Py_None;
11243 return resultobj;
11244 fail:
11245 return NULL;
11246}
11247
11248
36ed4f51 11249static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11250 PyObject *resultobj = NULL;
d14a1e28 11251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11252 PyObject * obj0 = 0 ;
11253 char *kwnames[] = {
4276dc52 11254 (char *) "self", NULL
d14a1e28
RD
11255 };
11256
36ed4f51
RD
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
11258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11259 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11262 (arg1)->LineDuplicate();
d14a1e28
RD
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 Py_INCREF(Py_None); resultobj = Py_None;
11268 return resultobj;
11269 fail:
11270 return NULL;
11271}
11272
11273
36ed4f51 11274static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11275 PyObject *resultobj = NULL;
d14a1e28 11276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11277 PyObject * obj0 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self", NULL
11280 };
11281
36ed4f51
RD
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail;
11283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11284 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11287 (arg1)->LowerCase();
d14a1e28
RD
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
4276dc52 11292 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11293 return resultobj;
11294 fail:
11295 return NULL;
11296}
11297
11298
36ed4f51 11299static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11300 PyObject *resultobj = NULL;
d14a1e28 11301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 11302 PyObject * obj0 = 0 ;
d14a1e28 11303 char *kwnames[] = {
36ed4f51 11304 (char *) "self", NULL
d14a1e28
RD
11305 };
11306
36ed4f51
RD
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail;
11308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11309 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11312 (arg1)->UpperCase();
d14a1e28
RD
11313
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
36ed4f51 11317 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11318 return resultobj;
11319 fail:
11320 return NULL;
11321}
11322
11323
36ed4f51 11324static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11325 PyObject *resultobj = NULL;
d14a1e28 11326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 11327 PyObject * obj0 = 0 ;
d14a1e28 11328 char *kwnames[] = {
36ed4f51 11329 (char *) "self", NULL
d14a1e28
RD
11330 };
11331
36ed4f51
RD
11332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail;
11333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11334 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11337 (arg1)->LineScrollDown();
d14a1e28
RD
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 Py_INCREF(Py_None); resultobj = Py_None;
11343 return resultobj;
11344 fail:
11345 return NULL;
11346}
11347
11348
36ed4f51 11349static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11350 PyObject *resultobj = NULL;
d14a1e28 11351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 11352 PyObject * obj0 = 0 ;
d14a1e28 11353 char *kwnames[] = {
36ed4f51 11354 (char *) "self", NULL
d14a1e28
RD
11355 };
11356
36ed4f51
RD
11357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail;
11358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11360 {
11361 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11362 (arg1)->LineScrollUp();
d14a1e28
RD
11363
11364 wxPyEndAllowThreads(__tstate);
11365 if (PyErr_Occurred()) SWIG_fail;
11366 }
11367 Py_INCREF(Py_None); resultobj = Py_None;
11368 return resultobj;
11369 fail:
11370 return NULL;
11371}
11372
11373
36ed4f51 11374static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11375 PyObject *resultobj = NULL;
96b3fa7c 11376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c 11377 PyObject * obj0 = 0 ;
96b3fa7c 11378 char *kwnames[] = {
36ed4f51 11379 (char *) "self", NULL
96b3fa7c
RD
11380 };
11381
36ed4f51
RD
11382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail;
11383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11384 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11387 (arg1)->DeleteBackNotLine();
96b3fa7c
RD
11388
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
36ed4f51 11392 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
11393 return resultobj;
11394 fail:
11395 return NULL;
11396}
11397
11398
36ed4f51 11399static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11400 PyObject *resultobj = NULL;
d14a1e28 11401 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11402 PyObject * obj0 = 0 ;
11403 char *kwnames[] = {
4276dc52 11404 (char *) "self", NULL
d14a1e28
RD
11405 };
11406
36ed4f51
RD
11407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
11408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11409 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11412 (arg1)->HomeDisplay();
d14a1e28
RD
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
36ed4f51 11417 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11418 return resultobj;
11419 fail:
11420 return NULL;
11421}
11422
11423
36ed4f51 11424static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11425 PyObject *resultobj = NULL;
d14a1e28 11426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11427 PyObject * obj0 = 0 ;
11428 char *kwnames[] = {
36ed4f51 11429 (char *) "self", NULL
d14a1e28
RD
11430 };
11431
36ed4f51
RD
11432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
11433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11434 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11435 {
11436 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11437 (arg1)->HomeDisplayExtend();
d14a1e28
RD
11438
11439 wxPyEndAllowThreads(__tstate);
11440 if (PyErr_Occurred()) SWIG_fail;
11441 }
4276dc52 11442 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11443 return resultobj;
11444 fail:
11445 return NULL;
11446}
11447
11448
36ed4f51 11449static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11450 PyObject *resultobj = NULL;
d14a1e28 11451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
11452 PyObject * obj0 = 0 ;
11453 char *kwnames[] = {
11454 (char *) "self", NULL
11455 };
11456
36ed4f51
RD
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
11458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11462 (arg1)->LineEndDisplay();
4276dc52
RD
11463
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
36ed4f51 11467 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
11468 return resultobj;
11469 fail:
11470 return NULL;
11471}
11472
11473
36ed4f51 11474static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11475 PyObject *resultobj = NULL;
4276dc52 11476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11477 PyObject * obj0 = 0 ;
11478 char *kwnames[] = {
36ed4f51 11479 (char *) "self", NULL
d14a1e28
RD
11480 };
11481
36ed4f51
RD
11482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
11483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11487 (arg1)->LineEndDisplayExtend();
d14a1e28
RD
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 Py_INCREF(Py_None); resultobj = Py_None;
11493 return resultobj;
11494 fail:
11495 return NULL;
11496}
11497
11498
36ed4f51 11499static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11500 PyObject *resultobj = NULL;
d14a1e28 11501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 11502 PyObject * obj0 = 0 ;
d14a1e28 11503 char *kwnames[] = {
36ed4f51 11504 (char *) "self", NULL
d14a1e28
RD
11505 };
11506
36ed4f51
RD
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail;
11508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11512 (arg1)->HomeWrap();
d14a1e28
RD
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11518 return resultobj;
11519 fail:
4276dc52
RD
11520 return NULL;
11521}
11522
11523
36ed4f51 11524static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11525 PyObject *resultobj = NULL;
4276dc52 11526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
11527 PyObject * obj0 = 0 ;
11528 char *kwnames[] = {
11529 (char *) "self", NULL
11530 };
11531
36ed4f51
RD
11532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail;
11533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11534 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 11535 {
4276dc52 11536 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11537 (arg1)->HomeWrapExtend();
4276dc52
RD
11538
11539 wxPyEndAllowThreads(__tstate);
11540 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11541 }
36ed4f51 11542 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
11543 return resultobj;
11544 fail:
d14a1e28
RD
11545 return NULL;
11546}
11547
11548
36ed4f51 11549static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11550 PyObject *resultobj = NULL;
96b3fa7c 11551 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c 11552 PyObject * obj0 = 0 ;
96b3fa7c 11553 char *kwnames[] = {
36ed4f51 11554 (char *) "self", NULL
96b3fa7c
RD
11555 };
11556
36ed4f51
RD
11557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail;
11558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11559 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11562 (arg1)->LineEndWrap();
96b3fa7c
RD
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 Py_INCREF(Py_None); resultobj = Py_None;
11568 return resultobj;
11569 fail:
11570 return NULL;
11571}
11572
11573
36ed4f51 11574static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11575 PyObject *resultobj = NULL;
96b3fa7c 11576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c
RD
11577 PyObject * obj0 = 0 ;
11578 char *kwnames[] = {
11579 (char *) "self", NULL
11580 };
11581
36ed4f51
RD
11582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail;
11583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11584 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
11585 {
11586 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11587 (arg1)->LineEndWrapExtend();
96b3fa7c
RD
11588
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
36ed4f51 11592 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
11593 return resultobj;
11594 fail:
11595 return NULL;
11596}
11597
11598
36ed4f51 11599static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11600 PyObject *resultobj = NULL;
96b3fa7c 11601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c 11602 PyObject * obj0 = 0 ;
96b3fa7c 11603 char *kwnames[] = {
36ed4f51 11604 (char *) "self", NULL
96b3fa7c
RD
11605 };
11606
36ed4f51
RD
11607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail;
11608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11609 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11612 (arg1)->VCHomeWrap();
96b3fa7c
RD
11613
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
4276dc52 11617 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
11618 return resultobj;
11619 fail:
11620 return NULL;
11621}
11622
11623
36ed4f51 11624static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11625 PyObject *resultobj = NULL;
96b3fa7c 11626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
11627 PyObject * obj0 = 0 ;
11628 char *kwnames[] = {
11629 (char *) "self", NULL
11630 };
11631
36ed4f51
RD
11632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail;
11633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11634 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11635 {
11636 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11637 (arg1)->VCHomeWrapExtend();
4276dc52
RD
11638
11639 wxPyEndAllowThreads(__tstate);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 }
36ed4f51 11642 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
11643 return resultobj;
11644 fail:
11645 return NULL;
11646}
11647
11648
36ed4f51 11649static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11650 PyObject *resultobj = NULL;
4276dc52 11651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c 11652 PyObject * obj0 = 0 ;
96b3fa7c 11653 char *kwnames[] = {
36ed4f51 11654 (char *) "self", NULL
96b3fa7c
RD
11655 };
11656
36ed4f51
RD
11657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
11658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11659 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
11660 {
11661 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11662 (arg1)->LineCopy();
96b3fa7c
RD
11663
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) SWIG_fail;
11666 }
4276dc52
RD
11667 Py_INCREF(Py_None); resultobj = Py_None;
11668 return resultobj;
11669 fail:
11670 return NULL;
11671}
11672
11673
36ed4f51 11674static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11675 PyObject *resultobj = NULL;
4276dc52
RD
11676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11677 PyObject * obj0 = 0 ;
11678 char *kwnames[] = {
11679 (char *) "self", NULL
11680 };
11681
36ed4f51
RD
11682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
11683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11684 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11685 {
11686 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11687 (arg1)->MoveCaretInsideView();
4276dc52
RD
11688
11689 wxPyEndAllowThreads(__tstate);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 Py_INCREF(Py_None); resultobj = Py_None;
11693 return resultobj;
11694 fail:
11695 return NULL;
11696}
11697
11698
36ed4f51 11699static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11700 PyObject *resultobj = NULL;
4276dc52
RD
11701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11702 int arg2 ;
4276dc52 11703 int result;
4276dc52
RD
11704 PyObject * obj0 = 0 ;
11705 PyObject * obj1 = 0 ;
4276dc52 11706 char *kwnames[] = {
36ed4f51 11707 (char *) "self",(char *) "line", NULL
4276dc52
RD
11708 };
11709
36ed4f51
RD
11710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
11711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11712 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52 11713 {
32fe5131 11714 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 11715 if (SWIG_arg_fail(2)) SWIG_fail;
4276dc52
RD
11716 }
11717 {
11718 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11719 result = (int)(arg1)->LineLength(arg2);
4276dc52
RD
11720
11721 wxPyEndAllowThreads(__tstate);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 }
4276dc52 11724 {
32fe5131 11725 resultobj = SWIG_From_int(static_cast<int >(result));
4276dc52
RD
11726 }
11727 return resultobj;
11728 fail:
4276dc52
RD
11729 return NULL;
11730}
11731
11732
36ed4f51 11733static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11734 PyObject *resultobj = NULL;
4276dc52
RD
11735 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11736 int arg2 ;
36ed4f51 11737 int arg3 ;
4276dc52
RD
11738 PyObject * obj0 = 0 ;
11739 PyObject * obj1 = 0 ;
11740 PyObject * obj2 = 0 ;
11741 char *kwnames[] = {
36ed4f51 11742 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
4276dc52
RD
11743 };
11744
36ed4f51
RD
11745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
11746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11747 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52 11748 {
32fe5131 11749 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11750 if (SWIG_arg_fail(2)) SWIG_fail;
11751 }
11752 {
32fe5131 11753 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51 11754 if (SWIG_arg_fail(3)) SWIG_fail;
4276dc52
RD
11755 }
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11758 (arg1)->BraceHighlight(arg2,arg3);
4276dc52
RD
11759
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
36ed4f51 11763 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
11764 return resultobj;
11765 fail:
4276dc52
RD
11766 return NULL;
11767}
11768
11769
36ed4f51 11770static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11771 PyObject *resultobj = NULL;
4276dc52 11772 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 11773 int arg2 ;
4276dc52 11774 PyObject * obj0 = 0 ;
36ed4f51 11775 PyObject * obj1 = 0 ;
4276dc52 11776 char *kwnames[] = {
36ed4f51 11777 (char *) "self",(char *) "pos", NULL
4276dc52
RD
11778 };
11779
36ed4f51
RD
11780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
11781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11782 if (SWIG_arg_fail(1)) SWIG_fail;
11783 {
32fe5131 11784 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11785 if (SWIG_arg_fail(2)) SWIG_fail;
11786 }
4276dc52
RD
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11789 (arg1)->BraceBadLight(arg2);
4276dc52
RD
11790
11791 wxPyEndAllowThreads(__tstate);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 }
36ed4f51 11794 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
11795 return resultobj;
11796 fail:
11797 return NULL;
11798}
11799
11800
36ed4f51 11801static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11802 PyObject *resultobj = NULL;
4276dc52 11803 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
11804 int arg2 ;
11805 int result;
4276dc52
RD
11806 PyObject * obj0 = 0 ;
11807 PyObject * obj1 = 0 ;
11808 char *kwnames[] = {
36ed4f51 11809 (char *) "self",(char *) "pos", NULL
4276dc52
RD
11810 };
11811
36ed4f51
RD
11812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
11813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11814 if (SWIG_arg_fail(1)) SWIG_fail;
11815 {
32fe5131 11816 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11817 if (SWIG_arg_fail(2)) SWIG_fail;
11818 }
4276dc52
RD
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11821 result = (int)(arg1)->BraceMatch(arg2);
4276dc52
RD
11822
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
36ed4f51 11826 {
32fe5131 11827 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11828 }
4276dc52
RD
11829 return resultobj;
11830 fail:
11831 return NULL;
11832}
11833
11834
36ed4f51 11835static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11836 PyObject *resultobj = NULL;
4276dc52
RD
11837 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11838 bool result;
11839 PyObject * obj0 = 0 ;
11840 char *kwnames[] = {
11841 (char *) "self", NULL
11842 };
11843
36ed4f51
RD
11844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
11845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11846 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11847 {
11848 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11849 result = (bool)(arg1)->GetViewEOL();
4276dc52
RD
11850
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
4f89f6a3
RD
11854 {
11855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11856 }
4276dc52
RD
11857 return resultobj;
11858 fail:
11859 return NULL;
11860}
11861
11862
36ed4f51 11863static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11864 PyObject *resultobj = NULL;
4276dc52 11865 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 11866 bool arg2 ;
4276dc52
RD
11867 PyObject * obj0 = 0 ;
11868 PyObject * obj1 = 0 ;
11869 char *kwnames[] = {
36ed4f51 11870 (char *) "self",(char *) "visible", NULL
4276dc52
RD
11871 };
11872
36ed4f51
RD
11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
11874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11875 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52 11876 {
32fe5131 11877 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51 11878 if (SWIG_arg_fail(2)) SWIG_fail;
4276dc52 11879 }
4276dc52
RD
11880 {
11881 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11882 (arg1)->SetViewEOL(arg2);
4276dc52
RD
11883
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
36ed4f51 11887 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
11888 return resultobj;
11889 fail:
11890 return NULL;
11891}
11892
11893
36ed4f51 11894static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11895 PyObject *resultobj = NULL;
4276dc52
RD
11896 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11897 void *result;
11898 PyObject * obj0 = 0 ;
11899 char *kwnames[] = {
11900 (char *) "self", NULL
11901 };
11902
36ed4f51
RD
11903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
11904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11905 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11906 {
11907 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11908 result = (void *)(arg1)->GetDocPointer();
4276dc52
RD
11909
11910 wxPyEndAllowThreads(__tstate);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 }
11913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
11914 return resultobj;
11915 fail:
11916 return NULL;
11917}
11918
11919
36ed4f51 11920static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11921 PyObject *resultobj = NULL;
4276dc52
RD
11922 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11923 void *arg2 = (void *) 0 ;
11924 PyObject * obj0 = 0 ;
11925 PyObject * obj1 = 0 ;
11926 char *kwnames[] = {
11927 (char *) "self",(char *) "docPointer", NULL
11928 };
11929
36ed4f51
RD
11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
11931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11932 if (SWIG_arg_fail(1)) SWIG_fail;
11933 {
32fe5131 11934 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
36ed4f51
RD
11935 SWIG_arg_fail(2);SWIG_fail;
11936 }
11937 }
4276dc52
RD
11938 {
11939 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11940 (arg1)->SetDocPointer(arg2);
4276dc52
RD
11941
11942 wxPyEndAllowThreads(__tstate);
11943 if (PyErr_Occurred()) SWIG_fail;
11944 }
11945 Py_INCREF(Py_None); resultobj = Py_None;
11946 return resultobj;
11947 fail:
11948 return NULL;
11949}
11950
11951
36ed4f51 11952static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11953 PyObject *resultobj = NULL;
4276dc52 11954 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 11955 int arg2 ;
4276dc52
RD
11956 PyObject * obj0 = 0 ;
11957 PyObject * obj1 = 0 ;
11958 char *kwnames[] = {
36ed4f51 11959 (char *) "self",(char *) "mask", NULL
4276dc52
RD
11960 };
11961
36ed4f51
RD
11962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
11963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11964 if (SWIG_arg_fail(1)) SWIG_fail;
11965 {
32fe5131 11966 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11967 if (SWIG_arg_fail(2)) SWIG_fail;
11968 }
4276dc52
RD
11969 {
11970 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11971 (arg1)->SetModEventMask(arg2);
4276dc52
RD
11972
11973 wxPyEndAllowThreads(__tstate);
11974 if (PyErr_Occurred()) SWIG_fail;
11975 }
11976 Py_INCREF(Py_None); resultobj = Py_None;
11977 return resultobj;
11978 fail:
11979 return NULL;
11980}
11981
11982
36ed4f51 11983static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11984 PyObject *resultobj = NULL;
4276dc52
RD
11985 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11986 int result;
11987 PyObject * obj0 = 0 ;
11988 char *kwnames[] = {
11989 (char *) "self", NULL
11990 };
11991
36ed4f51
RD
11992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
11993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11994 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11995 {
11996 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11997 result = (int)(arg1)->GetEdgeColumn();
4276dc52
RD
11998
11999 wxPyEndAllowThreads(__tstate);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
36ed4f51 12002 {
32fe5131 12003 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12004 }
4276dc52
RD
12005 return resultobj;
12006 fail:
12007 return NULL;
12008}
12009
12010
36ed4f51 12011static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12012 PyObject *resultobj = NULL;
4276dc52 12013 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12014 int arg2 ;
4276dc52
RD
12015 PyObject * obj0 = 0 ;
12016 PyObject * obj1 = 0 ;
12017 char *kwnames[] = {
36ed4f51 12018 (char *) "self",(char *) "column", NULL
4276dc52
RD
12019 };
12020
36ed4f51
RD
12021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
12022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12023 if (SWIG_arg_fail(1)) SWIG_fail;
12024 {
32fe5131 12025 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12026 if (SWIG_arg_fail(2)) SWIG_fail;
12027 }
4276dc52
RD
12028 {
12029 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12030 (arg1)->SetEdgeColumn(arg2);
4276dc52
RD
12031
12032 wxPyEndAllowThreads(__tstate);
12033 if (PyErr_Occurred()) SWIG_fail;
12034 }
12035 Py_INCREF(Py_None); resultobj = Py_None;
12036 return resultobj;
12037 fail:
12038 return NULL;
12039}
12040
12041
36ed4f51 12042static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12043 PyObject *resultobj = NULL;
4276dc52 12044 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12045 int result;
4276dc52
RD
12046 PyObject * obj0 = 0 ;
12047 char *kwnames[] = {
12048 (char *) "self", NULL
12049 };
12050
36ed4f51
RD
12051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
12052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12053 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12054 {
12055 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12056 result = (int)(arg1)->GetEdgeMode();
4276dc52
RD
12057
12058 wxPyEndAllowThreads(__tstate);
12059 if (PyErr_Occurred()) SWIG_fail;
12060 }
4f89f6a3 12061 {
32fe5131 12062 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 12063 }
4276dc52
RD
12064 return resultobj;
12065 fail:
12066 return NULL;
12067}
12068
12069
36ed4f51 12070static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12071 PyObject *resultobj = NULL;
4276dc52
RD
12072 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12073 int arg2 ;
12074 PyObject * obj0 = 0 ;
12075 PyObject * obj1 = 0 ;
12076 char *kwnames[] = {
36ed4f51 12077 (char *) "self",(char *) "mode", NULL
4276dc52
RD
12078 };
12079
36ed4f51
RD
12080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
12081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail;
12083 {
32fe5131 12084 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12085 if (SWIG_arg_fail(2)) SWIG_fail;
12086 }
4276dc52
RD
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12089 (arg1)->SetEdgeMode(arg2);
4276dc52
RD
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 Py_INCREF(Py_None); resultobj = Py_None;
12095 return resultobj;
12096 fail:
12097 return NULL;
12098}
12099
12100
36ed4f51 12101static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12102 PyObject *resultobj = NULL;
4276dc52 12103 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12104 wxColour result;
4276dc52
RD
12105 PyObject * obj0 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "self", NULL
12108 };
12109
36ed4f51
RD
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
12111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12112 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12113 {
12114 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12115 result = (arg1)->GetEdgeColour();
4276dc52
RD
12116
12117 wxPyEndAllowThreads(__tstate);
12118 if (PyErr_Occurred()) SWIG_fail;
12119 }
36ed4f51
RD
12120 {
12121 wxColour * resultptr;
32fe5131 12122 resultptr = new wxColour(static_cast<wxColour & >(result));
36ed4f51
RD
12123 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12124 }
4276dc52
RD
12125 return resultobj;
12126 fail:
12127 return NULL;
12128}
12129
12130
36ed4f51 12131static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12132 PyObject *resultobj = NULL;
4276dc52 12133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
12134 wxColour *arg2 = 0 ;
12135 wxColour temp2 ;
4276dc52
RD
12136 PyObject * obj0 = 0 ;
12137 PyObject * obj1 = 0 ;
12138 char *kwnames[] = {
36ed4f51 12139 (char *) "self",(char *) "edgeColour", NULL
4276dc52
RD
12140 };
12141
36ed4f51
RD
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
12143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail;
12145 {
12146 arg2 = &temp2;
12147 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12148 }
4276dc52
RD
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12151 (arg1)->SetEdgeColour((wxColour const &)*arg2);
4276dc52
RD
12152
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 Py_INCREF(Py_None); resultobj = Py_None;
12157 return resultobj;
12158 fail:
12159 return NULL;
12160}
12161
12162
36ed4f51 12163static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12164 PyObject *resultobj = NULL;
4276dc52 12165 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
12166 PyObject * obj0 = 0 ;
12167 char *kwnames[] = {
12168 (char *) "self", NULL
12169 };
12170
36ed4f51
RD
12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
12172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12173 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12174 {
12175 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12176 (arg1)->SearchAnchor();
4276dc52
RD
12177
12178 wxPyEndAllowThreads(__tstate);
12179 if (PyErr_Occurred()) SWIG_fail;
12180 }
36ed4f51 12181 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
12182 return resultobj;
12183 fail:
12184 return NULL;
12185}
12186
12187
36ed4f51 12188static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12189 PyObject *resultobj = NULL;
4276dc52
RD
12190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12191 int arg2 ;
36ed4f51
RD
12192 wxString *arg3 = 0 ;
12193 int result;
12194 bool temp3 = false ;
4276dc52
RD
12195 PyObject * obj0 = 0 ;
12196 PyObject * obj1 = 0 ;
36ed4f51 12197 PyObject * obj2 = 0 ;
4276dc52 12198 char *kwnames[] = {
36ed4f51 12199 (char *) "self",(char *) "flags",(char *) "text", NULL
4276dc52
RD
12200 };
12201
36ed4f51
RD
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
12203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail;
12205 {
32fe5131 12206 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12207 if (SWIG_arg_fail(2)) SWIG_fail;
12208 }
12209 {
12210 arg3 = wxString_in_helper(obj2);
12211 if (arg3 == NULL) SWIG_fail;
12212 temp3 = true;
12213 }
4276dc52
RD
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12216 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
4276dc52
RD
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
36ed4f51 12221 {
32fe5131 12222 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
12223 }
12224 {
12225 if (temp3)
12226 delete arg3;
12227 }
4276dc52
RD
12228 return resultobj;
12229 fail:
36ed4f51
RD
12230 {
12231 if (temp3)
12232 delete arg3;
12233 }
4276dc52
RD
12234 return NULL;
12235}
12236
12237
36ed4f51 12238static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12239 PyObject *resultobj = NULL;
4276dc52 12240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
12241 int arg2 ;
12242 wxString *arg3 = 0 ;
4276dc52 12243 int result;
36ed4f51 12244 bool temp3 = false ;
4276dc52 12245 PyObject * obj0 = 0 ;
36ed4f51
RD
12246 PyObject * obj1 = 0 ;
12247 PyObject * obj2 = 0 ;
4276dc52 12248 char *kwnames[] = {
36ed4f51 12249 (char *) "self",(char *) "flags",(char *) "text", NULL
4276dc52
RD
12250 };
12251
36ed4f51
RD
12252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
12253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12254 if (SWIG_arg_fail(1)) SWIG_fail;
12255 {
32fe5131 12256 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12257 if (SWIG_arg_fail(2)) SWIG_fail;
12258 }
12259 {
12260 arg3 = wxString_in_helper(obj2);
12261 if (arg3 == NULL) SWIG_fail;
12262 temp3 = true;
12263 }
4276dc52
RD
12264 {
12265 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12266 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
4276dc52
RD
12267
12268 wxPyEndAllowThreads(__tstate);
12269 if (PyErr_Occurred()) SWIG_fail;
12270 }
36ed4f51 12271 {
32fe5131 12272 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
12273 }
12274 {
12275 if (temp3)
12276 delete arg3;
12277 }
4276dc52
RD
12278 return resultobj;
12279 fail:
36ed4f51
RD
12280 {
12281 if (temp3)
12282 delete arg3;
12283 }
4276dc52
RD
12284 return NULL;
12285}
12286
12287
36ed4f51 12288static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12289 PyObject *resultobj = NULL;
4276dc52 12290 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12291 int result;
4276dc52 12292 PyObject * obj0 = 0 ;
4276dc52 12293 char *kwnames[] = {
36ed4f51 12294 (char *) "self", NULL
4276dc52
RD
12295 };
12296
36ed4f51
RD
12297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
12298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12299 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12302 result = (int)(arg1)->LinesOnScreen();
4276dc52
RD
12303
12304 wxPyEndAllowThreads(__tstate);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
36ed4f51 12307 {
32fe5131 12308 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12309 }
4276dc52
RD
12310 return resultobj;
12311 fail:
12312 return NULL;
12313}
12314
12315
36ed4f51 12316static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12317 PyObject *resultobj = NULL;
4276dc52 12318 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12319 bool arg2 ;
4276dc52 12320 PyObject * obj0 = 0 ;
36ed4f51 12321 PyObject * obj1 = 0 ;
4276dc52 12322 char *kwnames[] = {
36ed4f51 12323 (char *) "self",(char *) "allowPopUp", NULL
4276dc52
RD
12324 };
12325
36ed4f51
RD
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
12327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail;
12329 {
32fe5131 12330 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
12331 if (SWIG_arg_fail(2)) SWIG_fail;
12332 }
4276dc52
RD
12333 {
12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12335 (arg1)->UsePopUp(arg2);
4276dc52
RD
12336
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
36ed4f51 12340 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
12341 return resultobj;
12342 fail:
12343 return NULL;
12344}
12345
12346
36ed4f51 12347static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12348 PyObject *resultobj = NULL;
4276dc52 12349 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12350 bool result;
4276dc52
RD
12351 PyObject * obj0 = 0 ;
12352 char *kwnames[] = {
12353 (char *) "self", NULL
12354 };
12355
36ed4f51
RD
12356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
12357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12358 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12359 {
12360 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12361 result = (bool)(arg1)->SelectionIsRectangle();
4276dc52
RD
12362
12363 wxPyEndAllowThreads(__tstate);
12364 if (PyErr_Occurred()) SWIG_fail;
12365 }
36ed4f51
RD
12366 {
12367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12368 }
4276dc52
RD
12369 return resultobj;
12370 fail:
12371 return NULL;
12372}
12373
12374
36ed4f51 12375static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12376 PyObject *resultobj = NULL;
4276dc52 12377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12378 int arg2 ;
4276dc52 12379 PyObject * obj0 = 0 ;
36ed4f51 12380 PyObject * obj1 = 0 ;
4276dc52 12381 char *kwnames[] = {
36ed4f51 12382 (char *) "self",(char *) "zoom", NULL
4276dc52
RD
12383 };
12384
36ed4f51
RD
12385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
12386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12387 if (SWIG_arg_fail(1)) SWIG_fail;
12388 {
32fe5131 12389 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12390 if (SWIG_arg_fail(2)) SWIG_fail;
12391 }
4276dc52
RD
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12394 (arg1)->SetZoom(arg2);
4276dc52
RD
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 Py_INCREF(Py_None); resultobj = Py_None;
12400 return resultobj;
12401 fail:
12402 return NULL;
12403}
12404
12405
36ed4f51 12406static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12407 PyObject *resultobj = NULL;
4276dc52 12408 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12409 int result;
4276dc52
RD
12410 PyObject * obj0 = 0 ;
12411 char *kwnames[] = {
12412 (char *) "self", NULL
12413 };
12414
36ed4f51
RD
12415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
12416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12417 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12418 {
12419 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12420 result = (int)(arg1)->GetZoom();
4276dc52
RD
12421
12422 wxPyEndAllowThreads(__tstate);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 }
36ed4f51 12425 {
32fe5131 12426 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12427 }
4276dc52
RD
12428 return resultobj;
12429 fail:
12430 return NULL;
12431}
12432
12433
36ed4f51 12434static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12435 PyObject *resultobj = NULL;
4276dc52 12436 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12437 void *result;
4276dc52
RD
12438 PyObject * obj0 = 0 ;
12439 char *kwnames[] = {
12440 (char *) "self", NULL
12441 };
12442
36ed4f51
RD
12443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
12444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12445 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12446 {
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12448 result = (void *)(arg1)->CreateDocument();
4276dc52
RD
12449
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
36ed4f51 12453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
4276dc52
RD
12454 return resultobj;
12455 fail:
12456 return NULL;
12457}
12458
12459
36ed4f51 12460static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12461 PyObject *resultobj = NULL;
4276dc52 12462 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12463 void *arg2 = (void *) 0 ;
4276dc52
RD
12464 PyObject * obj0 = 0 ;
12465 PyObject * obj1 = 0 ;
4276dc52 12466 char *kwnames[] = {
36ed4f51 12467 (char *) "self",(char *) "docPointer", NULL
4276dc52
RD
12468 };
12469
36ed4f51
RD
12470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
12471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12472 if (SWIG_arg_fail(1)) SWIG_fail;
12473 {
32fe5131 12474 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
36ed4f51
RD
12475 SWIG_arg_fail(2);SWIG_fail;
12476 }
12477 }
4276dc52
RD
12478 {
12479 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12480 (arg1)->AddRefDocument(arg2);
4276dc52
RD
12481
12482 wxPyEndAllowThreads(__tstate);
12483 if (PyErr_Occurred()) SWIG_fail;
12484 }
12485 Py_INCREF(Py_None); resultobj = Py_None;
12486 return resultobj;
12487 fail:
12488 return NULL;
12489}
12490
12491
36ed4f51 12492static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12493 PyObject *resultobj = NULL;
4276dc52 12494 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12495 void *arg2 = (void *) 0 ;
4276dc52 12496 PyObject * obj0 = 0 ;
36ed4f51 12497 PyObject * obj1 = 0 ;
4276dc52 12498 char *kwnames[] = {
36ed4f51 12499 (char *) "self",(char *) "docPointer", NULL
4276dc52
RD
12500 };
12501
36ed4f51
RD
12502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
12503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12504 if (SWIG_arg_fail(1)) SWIG_fail;
12505 {
32fe5131 12506 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
36ed4f51
RD
12507 SWIG_arg_fail(2);SWIG_fail;
12508 }
12509 }
4276dc52
RD
12510 {
12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12512 (arg1)->ReleaseDocument(arg2);
4276dc52
RD
12513
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
12517 Py_INCREF(Py_None); resultobj = Py_None;
12518 return resultobj;
12519 fail:
12520 return NULL;
12521}
12522
12523
36ed4f51 12524static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12525 PyObject *resultobj = NULL;
4276dc52 12526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12527 int result;
4276dc52
RD
12528 PyObject * obj0 = 0 ;
12529 char *kwnames[] = {
12530 (char *) "self", NULL
12531 };
12532
36ed4f51
RD
12533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
12534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12535 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12536 {
12537 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12538 result = (int)(arg1)->GetModEventMask();
4276dc52
RD
12539
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
36ed4f51 12543 {
32fe5131 12544 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12545 }
4276dc52
RD
12546 return resultobj;
12547 fail:
12548 return NULL;
12549}
12550
12551
36ed4f51 12552static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12553 PyObject *resultobj = NULL;
4276dc52 12554 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12555 bool arg2 ;
4276dc52
RD
12556 PyObject * obj0 = 0 ;
12557 PyObject * obj1 = 0 ;
12558 char *kwnames[] = {
36ed4f51 12559 (char *) "self",(char *) "focus", NULL
4276dc52
RD
12560 };
12561
36ed4f51
RD
12562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
12563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12564 if (SWIG_arg_fail(1)) SWIG_fail;
12565 {
32fe5131 12566 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
12567 if (SWIG_arg_fail(2)) SWIG_fail;
12568 }
4276dc52
RD
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12571 (arg1)->SetSTCFocus(arg2);
4276dc52
RD
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 Py_INCREF(Py_None); resultobj = Py_None;
12577 return resultobj;
12578 fail:
12579 return NULL;
12580}
12581
12582
36ed4f51 12583static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12584 PyObject *resultobj = NULL;
4276dc52 12585 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12586 bool result;
4276dc52
RD
12587 PyObject * obj0 = 0 ;
12588 char *kwnames[] = {
12589 (char *) "self", NULL
12590 };
12591
36ed4f51
RD
12592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
12593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12594 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12595 {
12596 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12597 result = (bool)(arg1)->GetSTCFocus();
4276dc52
RD
12598
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
36ed4f51
RD
12602 {
12603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12604 }
4276dc52
RD
12605 return resultobj;
12606 fail:
12607 return NULL;
12608}
12609
12610
36ed4f51 12611static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12612 PyObject *resultobj = NULL;
4276dc52 12613 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12614 int arg2 ;
4276dc52 12615 PyObject * obj0 = 0 ;
36ed4f51 12616 PyObject * obj1 = 0 ;
4276dc52 12617 char *kwnames[] = {
36ed4f51 12618 (char *) "self",(char *) "statusCode", NULL
4276dc52
RD
12619 };
12620
36ed4f51
RD
12621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
12622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12623 if (SWIG_arg_fail(1)) SWIG_fail;
12624 {
32fe5131 12625 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12626 if (SWIG_arg_fail(2)) SWIG_fail;
12627 }
4276dc52
RD
12628 {
12629 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12630 (arg1)->SetStatus(arg2);
4276dc52
RD
12631
12632 wxPyEndAllowThreads(__tstate);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 }
12635 Py_INCREF(Py_None); resultobj = Py_None;
12636 return resultobj;
12637 fail:
12638 return NULL;
12639}
12640
12641
36ed4f51 12642static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12643 PyObject *resultobj = NULL;
4276dc52 12644 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12645 int result;
4276dc52 12646 PyObject * obj0 = 0 ;
4276dc52 12647 char *kwnames[] = {
36ed4f51 12648 (char *) "self", NULL
4276dc52
RD
12649 };
12650
36ed4f51
RD
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
12652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12654 {
12655 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12656 result = (int)(arg1)->GetStatus();
4276dc52
RD
12657
12658 wxPyEndAllowThreads(__tstate);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
36ed4f51 12661 {
32fe5131 12662 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12663 }
4276dc52
RD
12664 return resultobj;
12665 fail:
12666 return NULL;
12667}
12668
12669
36ed4f51 12670static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12671 PyObject *resultobj = NULL;
4276dc52 12672 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12673 bool arg2 ;
4276dc52
RD
12674 PyObject * obj0 = 0 ;
12675 PyObject * obj1 = 0 ;
4276dc52 12676 char *kwnames[] = {
36ed4f51 12677 (char *) "self",(char *) "captures", NULL
4276dc52
RD
12678 };
12679
36ed4f51
RD
12680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
12681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12682 if (SWIG_arg_fail(1)) SWIG_fail;
12683 {
32fe5131 12684 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
12685 if (SWIG_arg_fail(2)) SWIG_fail;
12686 }
4276dc52
RD
12687 {
12688 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12689 (arg1)->SetMouseDownCaptures(arg2);
4276dc52
RD
12690
12691 wxPyEndAllowThreads(__tstate);
12692 if (PyErr_Occurred()) SWIG_fail;
12693 }
12694 Py_INCREF(Py_None); resultobj = Py_None;
12695 return resultobj;
12696 fail:
12697 return NULL;
12698}
12699
12700
36ed4f51 12701static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12702 PyObject *resultobj = NULL;
4276dc52 12703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12704 bool result;
4276dc52 12705 PyObject * obj0 = 0 ;
4276dc52 12706 char *kwnames[] = {
36ed4f51 12707 (char *) "self", NULL
4276dc52
RD
12708 };
12709
36ed4f51
RD
12710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
12711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12712 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12713 {
12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12715 result = (bool)(arg1)->GetMouseDownCaptures();
4276dc52
RD
12716
12717 wxPyEndAllowThreads(__tstate);
12718 if (PyErr_Occurred()) SWIG_fail;
12719 }
36ed4f51
RD
12720 {
12721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12722 }
4276dc52
RD
12723 return resultobj;
12724 fail:
12725 return NULL;
12726}
12727
12728
36ed4f51 12729static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12730 PyObject *resultobj = NULL;
4276dc52 12731 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12732 int arg2 ;
4276dc52 12733 PyObject * obj0 = 0 ;
36ed4f51 12734 PyObject * obj1 = 0 ;
4276dc52 12735 char *kwnames[] = {
36ed4f51 12736 (char *) "self",(char *) "cursorType", NULL
4276dc52
RD
12737 };
12738
36ed4f51
RD
12739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
12740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12741 if (SWIG_arg_fail(1)) SWIG_fail;
12742 {
32fe5131 12743 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12744 if (SWIG_arg_fail(2)) SWIG_fail;
12745 }
4276dc52
RD
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12748 (arg1)->SetSTCCursor(arg2);
4276dc52
RD
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
36ed4f51 12753 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
12754 return resultobj;
12755 fail:
12756 return NULL;
12757}
12758
12759
36ed4f51 12760static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12761 PyObject *resultobj = NULL;
4276dc52 12762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12763 int result;
4276dc52 12764 PyObject * obj0 = 0 ;
4276dc52 12765 char *kwnames[] = {
36ed4f51 12766 (char *) "self", NULL
4276dc52
RD
12767 };
12768
36ed4f51
RD
12769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
12770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12771 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12772 {
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12774 result = (int)(arg1)->GetSTCCursor();
4276dc52
RD
12775
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
36ed4f51 12779 {
32fe5131 12780 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12781 }
4276dc52
RD
12782 return resultobj;
12783 fail:
12784 return NULL;
12785}
12786
12787
36ed4f51 12788static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12789 PyObject *resultobj = NULL;
4276dc52 12790 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12791 int arg2 ;
4276dc52
RD
12792 PyObject * obj0 = 0 ;
12793 PyObject * obj1 = 0 ;
4276dc52 12794 char *kwnames[] = {
36ed4f51 12795 (char *) "self",(char *) "symbol", NULL
4276dc52
RD
12796 };
12797
36ed4f51
RD
12798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
12799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12800 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52 12801 {
32fe5131 12802 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 12803 if (SWIG_arg_fail(2)) SWIG_fail;
4276dc52
RD
12804 }
12805 {
12806 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12807 (arg1)->SetControlCharSymbol(arg2);
4276dc52
RD
12808
12809 wxPyEndAllowThreads(__tstate);
12810 if (PyErr_Occurred()) SWIG_fail;
12811 }
12812 Py_INCREF(Py_None); resultobj = Py_None;
12813 return resultobj;
12814 fail:
12815 return NULL;
12816}
12817
12818
36ed4f51 12819static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12820 PyObject *resultobj = NULL;
4276dc52 12821 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12822 int result;
4276dc52 12823 PyObject * obj0 = 0 ;
4276dc52 12824 char *kwnames[] = {
36ed4f51 12825 (char *) "self", NULL
4276dc52
RD
12826 };
12827
36ed4f51
RD
12828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
12829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12830 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12831 {
12832 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12833 result = (int)(arg1)->GetControlCharSymbol();
4276dc52
RD
12834
12835 wxPyEndAllowThreads(__tstate);
12836 if (PyErr_Occurred()) SWIG_fail;
12837 }
36ed4f51 12838 {
32fe5131 12839 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12840 }
4276dc52
RD
12841 return resultobj;
12842 fail:
12843 return NULL;
12844}
12845
12846
36ed4f51 12847static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12848 PyObject *resultobj = NULL;
4276dc52 12849 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 12850 PyObject * obj0 = 0 ;
4276dc52 12851 char *kwnames[] = {
36ed4f51 12852 (char *) "self", NULL
4276dc52
RD
12853 };
12854
36ed4f51
RD
12855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
12856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12857 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12860 (arg1)->WordPartLeft();
4276dc52
RD
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 Py_INCREF(Py_None); resultobj = Py_None;
12866 return resultobj;
12867 fail:
12868 return NULL;
12869}
12870
12871
36ed4f51 12872static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12873 PyObject *resultobj = NULL;
4276dc52
RD
12874 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12875 PyObject * obj0 = 0 ;
12876 char *kwnames[] = {
12877 (char *) "self", NULL
12878 };
12879
36ed4f51
RD
12880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
12881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12882 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12885 (arg1)->WordPartLeftExtend();
4276dc52
RD
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 Py_INCREF(Py_None); resultobj = Py_None;
12891 return resultobj;
12892 fail:
12893 return NULL;
12894}
12895
12896
36ed4f51 12897static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12898 PyObject *resultobj = NULL;
4276dc52
RD
12899 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12900 PyObject * obj0 = 0 ;
12901 char *kwnames[] = {
12902 (char *) "self", NULL
12903 };
12904
36ed4f51
RD
12905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
12906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12907 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12910 (arg1)->WordPartRight();
4276dc52
RD
12911
12912 wxPyEndAllowThreads(__tstate);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 Py_INCREF(Py_None); resultobj = Py_None;
12916 return resultobj;
12917 fail:
12918 return NULL;
12919}
12920
12921
36ed4f51 12922static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12923 PyObject *resultobj = NULL;
4276dc52
RD
12924 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12925 PyObject * obj0 = 0 ;
12926 char *kwnames[] = {
12927 (char *) "self", NULL
12928 };
12929
36ed4f51
RD
12930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
12931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12932 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12933 {
12934 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12935 (arg1)->WordPartRightExtend();
4276dc52
RD
12936
12937 wxPyEndAllowThreads(__tstate);
12938 if (PyErr_Occurred()) SWIG_fail;
12939 }
12940 Py_INCREF(Py_None); resultobj = Py_None;
12941 return resultobj;
12942 fail:
12943 return NULL;
12944}
12945
12946
36ed4f51 12947static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12948 PyObject *resultobj = NULL;
4276dc52 12949 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
12950 int arg2 ;
12951 int arg3 ;
4276dc52 12952 PyObject * obj0 = 0 ;
36ed4f51
RD
12953 PyObject * obj1 = 0 ;
12954 PyObject * obj2 = 0 ;
4276dc52 12955 char *kwnames[] = {
36ed4f51 12956 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
4276dc52
RD
12957 };
12958
36ed4f51
RD
12959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
12960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12961 if (SWIG_arg_fail(1)) SWIG_fail;
12962 {
32fe5131 12963 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12964 if (SWIG_arg_fail(2)) SWIG_fail;
12965 }
12966 {
32fe5131 12967 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12968 if (SWIG_arg_fail(3)) SWIG_fail;
12969 }
4276dc52
RD
12970 {
12971 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12972 (arg1)->SetVisiblePolicy(arg2,arg3);
4276dc52
RD
12973
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 Py_INCREF(Py_None); resultobj = Py_None;
12978 return resultobj;
12979 fail:
12980 return NULL;
12981}
12982
12983
36ed4f51 12984static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12985 PyObject *resultobj = NULL;
4276dc52 12986 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 12987 PyObject * obj0 = 0 ;
4276dc52 12988 char *kwnames[] = {
36ed4f51 12989 (char *) "self", NULL
4276dc52
RD
12990 };
12991
36ed4f51
RD
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
12993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12995 {
12996 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12997 (arg1)->DelLineLeft();
4276dc52
RD
12998
12999 wxPyEndAllowThreads(__tstate);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
36ed4f51 13002 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
13003 return resultobj;
13004 fail:
13005 return NULL;
13006}
13007
13008
36ed4f51 13009static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13010 PyObject *resultobj = NULL;
4276dc52 13011 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 13012 PyObject * obj0 = 0 ;
4276dc52 13013 char *kwnames[] = {
36ed4f51 13014 (char *) "self", NULL
4276dc52
RD
13015 };
13016
36ed4f51
RD
13017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
13018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13019 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13020 {
13021 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13022 (arg1)->DelLineRight();
4276dc52
RD
13023
13024 wxPyEndAllowThreads(__tstate);
13025 if (PyErr_Occurred()) SWIG_fail;
13026 }
36ed4f51 13027 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
13028 return resultobj;
13029 fail:
13030 return NULL;
13031}
13032
13033
36ed4f51 13034static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13035 PyObject *resultobj = NULL;
4276dc52
RD
13036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13037 int arg2 ;
4276dc52
RD
13038 PyObject * obj0 = 0 ;
13039 PyObject * obj1 = 0 ;
4276dc52 13040 char *kwnames[] = {
36ed4f51 13041 (char *) "self",(char *) "newOffset", NULL
4276dc52
RD
13042 };
13043
36ed4f51
RD
13044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
13045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13046 if (SWIG_arg_fail(1)) SWIG_fail;
13047 {
32fe5131 13048 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13049 if (SWIG_arg_fail(2)) SWIG_fail;
13050 }
4276dc52
RD
13051 {
13052 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13053 (arg1)->SetXOffset(arg2);
4276dc52
RD
13054
13055 wxPyEndAllowThreads(__tstate);
13056 if (PyErr_Occurred()) SWIG_fail;
13057 }
13058 Py_INCREF(Py_None); resultobj = Py_None;
13059 return resultobj;
13060 fail:
13061 return NULL;
13062}
13063
13064
36ed4f51 13065static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13066 PyObject *resultobj = NULL;
4276dc52 13067 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 13068 int result;
4276dc52 13069 PyObject * obj0 = 0 ;
4276dc52 13070 char *kwnames[] = {
36ed4f51 13071 (char *) "self", NULL
4276dc52
RD
13072 };
13073
36ed4f51
RD
13074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
13075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13076 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13077 {
13078 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13079 result = (int)(arg1)->GetXOffset();
4276dc52
RD
13080
13081 wxPyEndAllowThreads(__tstate);
13082 if (PyErr_Occurred()) SWIG_fail;
13083 }
4276dc52 13084 {
32fe5131 13085 resultobj = SWIG_From_int(static_cast<int >(result));
4276dc52
RD
13086 }
13087 return resultobj;
13088 fail:
4276dc52
RD
13089 return NULL;
13090}
13091
13092
36ed4f51 13093static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13094 PyObject *resultobj = NULL;
4276dc52 13095 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 13096 PyObject * obj0 = 0 ;
4276dc52 13097 char *kwnames[] = {
36ed4f51 13098 (char *) "self", NULL
4276dc52
RD
13099 };
13100
36ed4f51
RD
13101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
13102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13103 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13104 {
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13106 (arg1)->ChooseCaretX();
4276dc52
RD
13107
13108 wxPyEndAllowThreads(__tstate);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
13111 Py_INCREF(Py_None); resultobj = Py_None;
13112 return resultobj;
13113 fail:
13114 return NULL;
13115}
13116
13117
36ed4f51 13118static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13119 PyObject *resultobj = NULL;
4276dc52 13120 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13121 int arg2 ;
13122 int arg3 ;
4276dc52 13123 PyObject * obj0 = 0 ;
36ed4f51
RD
13124 PyObject * obj1 = 0 ;
13125 PyObject * obj2 = 0 ;
4276dc52 13126 char *kwnames[] = {
36ed4f51 13127 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
4276dc52
RD
13128 };
13129
36ed4f51
RD
13130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
13131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13132 if (SWIG_arg_fail(1)) SWIG_fail;
13133 {
32fe5131 13134 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13135 if (SWIG_arg_fail(2)) SWIG_fail;
13136 }
13137 {
32fe5131 13138 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13139 if (SWIG_arg_fail(3)) SWIG_fail;
13140 }
4276dc52
RD
13141 {
13142 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13143 (arg1)->SetXCaretPolicy(arg2,arg3);
4276dc52
RD
13144
13145 wxPyEndAllowThreads(__tstate);
13146 if (PyErr_Occurred()) SWIG_fail;
13147 }
36ed4f51 13148 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
13149 return resultobj;
13150 fail:
13151 return NULL;
13152}
13153
13154
36ed4f51 13155static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13156 PyObject *resultobj = NULL;
4276dc52
RD
13157 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13158 int arg2 ;
36ed4f51 13159 int arg3 ;
4276dc52
RD
13160 PyObject * obj0 = 0 ;
13161 PyObject * obj1 = 0 ;
36ed4f51 13162 PyObject * obj2 = 0 ;
4276dc52 13163 char *kwnames[] = {
36ed4f51 13164 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
4276dc52
RD
13165 };
13166
36ed4f51
RD
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
13168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13169 if (SWIG_arg_fail(1)) SWIG_fail;
13170 {
32fe5131 13171 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13172 if (SWIG_arg_fail(2)) SWIG_fail;
13173 }
13174 {
32fe5131 13175 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13176 if (SWIG_arg_fail(3)) SWIG_fail;
13177 }
4276dc52
RD
13178 {
13179 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13180 (arg1)->SetYCaretPolicy(arg2,arg3);
4276dc52
RD
13181
13182 wxPyEndAllowThreads(__tstate);
13183 if (PyErr_Occurred()) SWIG_fail;
13184 }
36ed4f51 13185 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
13186 return resultobj;
13187 fail:
13188 return NULL;
13189}
13190
13191
36ed4f51 13192static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13193 PyObject *resultobj = NULL;
4276dc52
RD
13194 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13195 int arg2 ;
4276dc52
RD
13196 PyObject * obj0 = 0 ;
13197 PyObject * obj1 = 0 ;
13198 char *kwnames[] = {
36ed4f51 13199 (char *) "self",(char *) "mode", NULL
4276dc52
RD
13200 };
13201
36ed4f51
RD
13202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
13203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13204 if (SWIG_arg_fail(1)) SWIG_fail;
13205 {
32fe5131 13206 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13207 if (SWIG_arg_fail(2)) SWIG_fail;
13208 }
4276dc52
RD
13209 {
13210 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13211 (arg1)->SetPrintWrapMode(arg2);
4276dc52
RD
13212
13213 wxPyEndAllowThreads(__tstate);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
36ed4f51 13216 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
13217 return resultobj;
13218 fail:
13219 return NULL;
13220}
13221
13222
36ed4f51 13223static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13224 PyObject *resultobj = NULL;
4276dc52 13225 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 13226 int result;
4276dc52
RD
13227 PyObject * obj0 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self", NULL
13230 };
13231
36ed4f51
RD
13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
13233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13235 {
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13237 result = (int)(arg1)->GetPrintWrapMode();
4276dc52
RD
13238
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
36ed4f51 13242 {
32fe5131 13243 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13244 }
4276dc52
RD
13245 return resultobj;
13246 fail:
13247 return NULL;
13248}
13249
13250
36ed4f51 13251static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13252 PyObject *resultobj = NULL;
4276dc52 13253 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13254 bool arg2 ;
13255 wxColour *arg3 = 0 ;
13256 wxColour temp3 ;
4276dc52 13257 PyObject * obj0 = 0 ;
36ed4f51
RD
13258 PyObject * obj1 = 0 ;
13259 PyObject * obj2 = 0 ;
4276dc52 13260 char *kwnames[] = {
36ed4f51 13261 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
4276dc52
RD
13262 };
13263
36ed4f51
RD
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
13265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13266 if (SWIG_arg_fail(1)) SWIG_fail;
13267 {
32fe5131 13268 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
13269 if (SWIG_arg_fail(2)) SWIG_fail;
13270 }
13271 {
13272 arg3 = &temp3;
13273 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13274 }
4276dc52
RD
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13277 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
4276dc52
RD
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 Py_INCREF(Py_None); resultobj = Py_None;
13283 return resultobj;
13284 fail:
13285 return NULL;
13286}
13287
13288
36ed4f51 13289static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13290 PyObject *resultobj = NULL;
4276dc52 13291 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13292 bool arg2 ;
13293 wxColour *arg3 = 0 ;
13294 wxColour temp3 ;
4276dc52 13295 PyObject * obj0 = 0 ;
36ed4f51
RD
13296 PyObject * obj1 = 0 ;
13297 PyObject * obj2 = 0 ;
4276dc52 13298 char *kwnames[] = {
36ed4f51 13299 (char *) "self",(char *) "useSetting",(char *) "back", NULL
4276dc52
RD
13300 };
13301
36ed4f51
RD
13302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
13303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13304 if (SWIG_arg_fail(1)) SWIG_fail;
13305 {
32fe5131 13306 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
13307 if (SWIG_arg_fail(2)) SWIG_fail;
13308 }
13309 {
13310 arg3 = &temp3;
13311 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13312 }
4276dc52
RD
13313 {
13314 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13315 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
4276dc52
RD
13316
13317 wxPyEndAllowThreads(__tstate);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
13320 Py_INCREF(Py_None); resultobj = Py_None;
13321 return resultobj;
13322 fail:
13323 return NULL;
13324}
13325
13326
36ed4f51 13327static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13328 PyObject *resultobj = NULL;
4276dc52 13329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 13330 bool arg2 ;
4276dc52 13331 PyObject * obj0 = 0 ;
36ed4f51 13332 PyObject * obj1 = 0 ;
4276dc52 13333 char *kwnames[] = {
36ed4f51 13334 (char *) "self",(char *) "underline", NULL
4276dc52
RD
13335 };
13336
36ed4f51
RD
13337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
13338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13339 if (SWIG_arg_fail(1)) SWIG_fail;
13340 {
32fe5131 13341 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
13342 if (SWIG_arg_fail(2)) SWIG_fail;
13343 }
4276dc52
RD
13344 {
13345 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13346 (arg1)->SetHotspotActiveUnderline(arg2);
4276dc52
RD
13347
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 Py_INCREF(Py_None); resultobj = Py_None;
13352 return resultobj;
13353 fail:
13354 return NULL;
13355}
13356
13357
36ed4f51 13358static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13359 PyObject *resultobj = NULL;
4276dc52 13360 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 13361 bool arg2 ;
4276dc52 13362 PyObject * obj0 = 0 ;
36ed4f51 13363 PyObject * obj1 = 0 ;
4276dc52 13364 char *kwnames[] = {
36ed4f51 13365 (char *) "self",(char *) "singleLine", NULL
4276dc52
RD
13366 };
13367
36ed4f51
RD
13368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
13369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13370 if (SWIG_arg_fail(1)) SWIG_fail;
13371 {
32fe5131 13372 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
13373 if (SWIG_arg_fail(2)) SWIG_fail;
13374 }
4276dc52
RD
13375 {
13376 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13377 (arg1)->SetHotspotSingleLine(arg2);
4276dc52
RD
13378
13379 wxPyEndAllowThreads(__tstate);
13380 if (PyErr_Occurred()) SWIG_fail;
13381 }
13382 Py_INCREF(Py_None); resultobj = Py_None;
13383 return resultobj;
13384 fail:
13385 return NULL;
13386}
13387
13388
36ed4f51 13389static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13390 PyObject *resultobj = NULL;
4276dc52
RD
13391 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13392 PyObject * obj0 = 0 ;
13393 char *kwnames[] = {
13394 (char *) "self", NULL
13395 };
13396
36ed4f51
RD
13397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail;
13398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13399 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13400 {
13401 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13402 (arg1)->ParaDown();
4276dc52
RD
13403
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
13407 Py_INCREF(Py_None); resultobj = Py_None;
13408 return resultobj;
13409 fail:
13410 return NULL;
13411}
13412
13413
36ed4f51 13414static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13415 PyObject *resultobj = NULL;
4276dc52
RD
13416 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13417 PyObject * obj0 = 0 ;
13418 char *kwnames[] = {
13419 (char *) "self", NULL
13420 };
13421
36ed4f51
RD
13422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail;
13423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13424 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13425 {
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13427 (arg1)->ParaDownExtend();
4276dc52
RD
13428
13429 wxPyEndAllowThreads(__tstate);
13430 if (PyErr_Occurred()) SWIG_fail;
13431 }
13432 Py_INCREF(Py_None); resultobj = Py_None;
13433 return resultobj;
13434 fail:
13435 return NULL;
13436}
13437
13438
36ed4f51 13439static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13440 PyObject *resultobj = NULL;
4276dc52
RD
13441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13442 PyObject * obj0 = 0 ;
13443 char *kwnames[] = {
13444 (char *) "self", NULL
13445 };
13446
36ed4f51
RD
13447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail;
13448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13449 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13450 {
13451 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13452 (arg1)->ParaUp();
4276dc52
RD
13453
13454 wxPyEndAllowThreads(__tstate);
13455 if (PyErr_Occurred()) SWIG_fail;
13456 }
13457 Py_INCREF(Py_None); resultobj = Py_None;
13458 return resultobj;
13459 fail:
13460 return NULL;
13461}
13462
13463
36ed4f51 13464static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13465 PyObject *resultobj = NULL;
4276dc52
RD
13466 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13467 PyObject * obj0 = 0 ;
13468 char *kwnames[] = {
13469 (char *) "self", NULL
13470 };
13471
36ed4f51
RD
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail;
13473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13474 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13477 (arg1)->ParaUpExtend();
4276dc52
RD
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 Py_INCREF(Py_None); resultobj = Py_None;
13483 return resultobj;
13484 fail:
13485 return NULL;
13486}
13487
13488
36ed4f51 13489static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13490 PyObject *resultobj = NULL;
4276dc52 13491 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13492 int arg2 ;
13493 int result;
4276dc52 13494 PyObject * obj0 = 0 ;
36ed4f51 13495 PyObject * obj1 = 0 ;
4276dc52 13496 char *kwnames[] = {
36ed4f51 13497 (char *) "self",(char *) "pos", NULL
4276dc52
RD
13498 };
13499
36ed4f51
RD
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
13501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13502 if (SWIG_arg_fail(1)) SWIG_fail;
13503 {
32fe5131 13504 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13505 if (SWIG_arg_fail(2)) SWIG_fail;
13506 }
4276dc52
RD
13507 {
13508 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13509 result = (int)(arg1)->PositionBefore(arg2);
4276dc52
RD
13510
13511 wxPyEndAllowThreads(__tstate);
13512 if (PyErr_Occurred()) SWIG_fail;
13513 }
36ed4f51 13514 {
32fe5131 13515 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13516 }
4276dc52
RD
13517 return resultobj;
13518 fail:
13519 return NULL;
13520}
13521
13522
36ed4f51 13523static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13524 PyObject *resultobj = NULL;
4276dc52 13525 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13526 int arg2 ;
13527 int result;
4276dc52 13528 PyObject * obj0 = 0 ;
36ed4f51 13529 PyObject * obj1 = 0 ;
4276dc52 13530 char *kwnames[] = {
36ed4f51 13531 (char *) "self",(char *) "pos", NULL
4276dc52
RD
13532 };
13533
36ed4f51
RD
13534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
13535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13536 if (SWIG_arg_fail(1)) SWIG_fail;
13537 {
32fe5131 13538 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13539 if (SWIG_arg_fail(2)) SWIG_fail;
13540 }
4276dc52
RD
13541 {
13542 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13543 result = (int)(arg1)->PositionAfter(arg2);
4276dc52
RD
13544
13545 wxPyEndAllowThreads(__tstate);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
36ed4f51 13548 {
32fe5131 13549 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13550 }
4276dc52
RD
13551 return resultobj;
13552 fail:
13553 return NULL;
13554}
13555
13556
36ed4f51 13557static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13558 PyObject *resultobj = NULL;
4276dc52 13559 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13560 int arg2 ;
13561 int arg3 ;
4276dc52 13562 PyObject * obj0 = 0 ;
36ed4f51
RD
13563 PyObject * obj1 = 0 ;
13564 PyObject * obj2 = 0 ;
4276dc52 13565 char *kwnames[] = {
36ed4f51 13566 (char *) "self",(char *) "start",(char *) "end", NULL
4276dc52
RD
13567 };
13568
36ed4f51
RD
13569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13571 if (SWIG_arg_fail(1)) SWIG_fail;
13572 {
32fe5131 13573 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13574 if (SWIG_arg_fail(2)) SWIG_fail;
13575 }
13576 {
32fe5131 13577 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13578 if (SWIG_arg_fail(3)) SWIG_fail;
13579 }
4276dc52
RD
13580 {
13581 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13582 (arg1)->CopyRange(arg2,arg3);
4276dc52
RD
13583
13584 wxPyEndAllowThreads(__tstate);
13585 if (PyErr_Occurred()) SWIG_fail;
13586 }
13587 Py_INCREF(Py_None); resultobj = Py_None;
13588 return resultobj;
13589 fail:
13590 return NULL;
13591}
13592
13593
36ed4f51 13594static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13595 PyObject *resultobj = NULL;
4276dc52 13596 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13597 int arg2 ;
13598 wxString *arg3 = 0 ;
13599 bool temp3 = false ;
4276dc52 13600 PyObject * obj0 = 0 ;
36ed4f51
RD
13601 PyObject * obj1 = 0 ;
13602 PyObject * obj2 = 0 ;
4276dc52 13603 char *kwnames[] = {
36ed4f51 13604 (char *) "self",(char *) "length",(char *) "text", NULL
4276dc52
RD
13605 };
13606
36ed4f51
RD
13607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13609 if (SWIG_arg_fail(1)) SWIG_fail;
13610 {
32fe5131 13611 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13612 if (SWIG_arg_fail(2)) SWIG_fail;
13613 }
13614 {
13615 arg3 = wxString_in_helper(obj2);
13616 if (arg3 == NULL) SWIG_fail;
13617 temp3 = true;
13618 }
4276dc52
RD
13619 {
13620 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13621 (arg1)->CopyText(arg2,(wxString const &)*arg3);
4276dc52
RD
13622
13623 wxPyEndAllowThreads(__tstate);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
13626 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
13627 {
13628 if (temp3)
13629 delete arg3;
13630 }
4276dc52
RD
13631 return resultobj;
13632 fail:
36ed4f51
RD
13633 {
13634 if (temp3)
13635 delete arg3;
13636 }
4276dc52
RD
13637 return NULL;
13638}
13639
13640
36ed4f51 13641static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13642 PyObject *resultobj = NULL;
4276dc52 13643 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 13644 int arg2 ;
4276dc52 13645 PyObject * obj0 = 0 ;
36ed4f51 13646 PyObject * obj1 = 0 ;
4276dc52 13647 char *kwnames[] = {
36ed4f51 13648 (char *) "self",(char *) "mode", NULL
4276dc52
RD
13649 };
13650
36ed4f51
RD
13651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
13652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13653 if (SWIG_arg_fail(1)) SWIG_fail;
13654 {
32fe5131 13655 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13656 if (SWIG_arg_fail(2)) SWIG_fail;
13657 }
4276dc52
RD
13658 {
13659 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13660 (arg1)->SetSelectionMode(arg2);
4276dc52
RD
13661
13662 wxPyEndAllowThreads(__tstate);
13663 if (PyErr_Occurred()) SWIG_fail;
13664 }
13665 Py_INCREF(Py_None); resultobj = Py_None;
13666 return resultobj;
13667 fail:
13668 return NULL;
13669}
13670
13671
36ed4f51 13672static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13673 PyObject *resultobj = NULL;
4276dc52 13674 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 13675 int result;
4276dc52
RD
13676 PyObject * obj0 = 0 ;
13677 char *kwnames[] = {
13678 (char *) "self", NULL
13679 };
13680
36ed4f51
RD
13681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
13682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13683 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13684 {
13685 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13686 result = (int)(arg1)->GetSelectionMode();
4276dc52
RD
13687
13688 wxPyEndAllowThreads(__tstate);
13689 if (PyErr_Occurred()) SWIG_fail;
13690 }
36ed4f51 13691 {
32fe5131 13692 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13693 }
4276dc52
RD
13694 return resultobj;
13695 fail:
13696 return NULL;
13697}
13698
13699
36ed4f51 13700static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13701 PyObject *resultobj = NULL;
4276dc52 13702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13703 int arg2 ;
13704 int result;
4276dc52 13705 PyObject * obj0 = 0 ;
36ed4f51 13706 PyObject * obj1 = 0 ;
4276dc52 13707 char *kwnames[] = {
36ed4f51 13708 (char *) "self",(char *) "line", NULL
4276dc52
RD
13709 };
13710
36ed4f51
RD
13711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
13712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13713 if (SWIG_arg_fail(1)) SWIG_fail;
13714 {
32fe5131 13715 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13716 if (SWIG_arg_fail(2)) SWIG_fail;
13717 }
4276dc52
RD
13718 {
13719 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13720 result = (int)(arg1)->GetLineSelStartPosition(arg2);
4276dc52
RD
13721
13722 wxPyEndAllowThreads(__tstate);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 }
36ed4f51 13725 {
32fe5131 13726 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13727 }
4276dc52
RD
13728 return resultobj;
13729 fail:
13730 return NULL;
13731}
13732
13733
36ed4f51 13734static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13735 PyObject *resultobj = NULL;
4276dc52 13736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13737 int arg2 ;
13738 int result;
4276dc52 13739 PyObject * obj0 = 0 ;
36ed4f51 13740 PyObject * obj1 = 0 ;
4276dc52 13741 char *kwnames[] = {
36ed4f51 13742 (char *) "self",(char *) "line", NULL
4276dc52
RD
13743 };
13744
36ed4f51
RD
13745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
13746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13747 if (SWIG_arg_fail(1)) SWIG_fail;
13748 {
32fe5131 13749 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13750 if (SWIG_arg_fail(2)) SWIG_fail;
13751 }
4276dc52
RD
13752 {
13753 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13754 result = (int)(arg1)->GetLineSelEndPosition(arg2);
4276dc52
RD
13755
13756 wxPyEndAllowThreads(__tstate);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 }
36ed4f51 13759 {
32fe5131 13760 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13761 }
96b3fa7c
RD
13762 return resultobj;
13763 fail:
13764 return NULL;
13765}
13766
13767
36ed4f51 13768static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13769 PyObject *resultobj = NULL;
96b3fa7c 13770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c 13771 PyObject * obj0 = 0 ;
96b3fa7c 13772 char *kwnames[] = {
36ed4f51 13773 (char *) "self", NULL
96b3fa7c
RD
13774 };
13775
36ed4f51
RD
13776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail;
13777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13778 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13781 (arg1)->LineDownRectExtend();
96b3fa7c
RD
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
13787 return resultobj;
13788 fail:
96b3fa7c
RD
13789 return NULL;
13790}
13791
13792
36ed4f51 13793static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13794 PyObject *resultobj = NULL;
96b3fa7c
RD
13795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13796 PyObject * obj0 = 0 ;
13797 char *kwnames[] = {
13798 (char *) "self", NULL
13799 };
13800
36ed4f51
RD
13801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail;
13802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13803 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13806 (arg1)->LineUpRectExtend();
96b3fa7c
RD
13807
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
13811 Py_INCREF(Py_None); resultobj = Py_None;
13812 return resultobj;
13813 fail:
13814 return NULL;
13815}
13816
13817
36ed4f51 13818static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13819 PyObject *resultobj = NULL;
96b3fa7c 13820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c
RD
13821 PyObject * obj0 = 0 ;
13822 char *kwnames[] = {
13823 (char *) "self", NULL
13824 };
13825
36ed4f51
RD
13826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail;
13827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13828 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
13829 {
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13831 (arg1)->CharLeftRectExtend();
96b3fa7c
RD
13832
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
36ed4f51 13836 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
13837 return resultobj;
13838 fail:
13839 return NULL;
13840}
13841
13842
36ed4f51 13843static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13844 PyObject *resultobj = NULL;
5e483524 13845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5e483524 13846 PyObject * obj0 = 0 ;
5e483524 13847 char *kwnames[] = {
36ed4f51 13848 (char *) "self", NULL
5e483524
RD
13849 };
13850
36ed4f51
RD
13851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail;
13852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13853 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13856 (arg1)->CharRightRectExtend();
5e483524
RD
13857
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 Py_INCREF(Py_None); resultobj = Py_None;
13862 return resultobj;
13863 fail:
13864 return NULL;
13865}
13866
13867
36ed4f51 13868static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13869 PyObject *resultobj = NULL;
d14a1e28
RD
13870 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13871 PyObject * obj0 = 0 ;
13872 char *kwnames[] = {
13873 (char *) "self", NULL
13874 };
13875
36ed4f51
RD
13876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail;
13877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13878 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13879 {
13880 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13881 (arg1)->HomeRectExtend();
d14a1e28
RD
13882
13883 wxPyEndAllowThreads(__tstate);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
13886 Py_INCREF(Py_None); resultobj = Py_None;
13887 return resultobj;
13888 fail:
13889 return NULL;
13890}
13891
13892
36ed4f51 13893static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13894 PyObject *resultobj = NULL;
d14a1e28
RD
13895 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13896 PyObject * obj0 = 0 ;
13897 char *kwnames[] = {
13898 (char *) "self", NULL
13899 };
13900
36ed4f51
RD
13901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail;
13902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13903 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13906 (arg1)->VCHomeRectExtend();
d14a1e28
RD
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 Py_INCREF(Py_None); resultobj = Py_None;
13912 return resultobj;
13913 fail:
13914 return NULL;
13915}
13916
13917
36ed4f51 13918static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13919 PyObject *resultobj = NULL;
d14a1e28 13920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
13921 PyObject * obj0 = 0 ;
13922 char *kwnames[] = {
36ed4f51 13923 (char *) "self", NULL
d14a1e28
RD
13924 };
13925
36ed4f51
RD
13926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail;
13927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13928 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13929 {
13930 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13931 (arg1)->LineEndRectExtend();
d14a1e28
RD
13932
13933 wxPyEndAllowThreads(__tstate);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 }
13936 Py_INCREF(Py_None); resultobj = Py_None;
13937 return resultobj;
13938 fail:
13939 return NULL;
13940}
13941
13942
36ed4f51 13943static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13944 PyObject *resultobj = NULL;
d14a1e28 13945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
13946 PyObject * obj0 = 0 ;
13947 char *kwnames[] = {
13948 (char *) "self", NULL
13949 };
13950
36ed4f51
RD
13951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail;
13952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13953 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13956 (arg1)->PageUpRectExtend();
d14a1e28
RD
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
36ed4f51 13961 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13962 return resultobj;
13963 fail:
13964 return NULL;
13965}
13966
13967
36ed4f51 13968static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13969 PyObject *resultobj = NULL;
d14a1e28 13970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
13971 PyObject * obj0 = 0 ;
13972 char *kwnames[] = {
36ed4f51 13973 (char *) "self", NULL
d14a1e28
RD
13974 };
13975
36ed4f51
RD
13976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail;
13977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13978 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13979 {
13980 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13981 (arg1)->PageDownRectExtend();
d14a1e28
RD
13982
13983 wxPyEndAllowThreads(__tstate);
13984 if (PyErr_Occurred()) SWIG_fail;
13985 }
13986 Py_INCREF(Py_None); resultobj = Py_None;
13987 return resultobj;
13988 fail:
13989 return NULL;
13990}
13991
13992
36ed4f51 13993static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13994 PyObject *resultobj = NULL;
d14a1e28 13995 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 13996 PyObject * obj0 = 0 ;
d14a1e28 13997 char *kwnames[] = {
36ed4f51 13998 (char *) "self", NULL
d14a1e28
RD
13999 };
14000
36ed4f51
RD
14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail;
14002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14003 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14006 (arg1)->StutteredPageUp();
d14a1e28
RD
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14012 return resultobj;
14013 fail:
d14a1e28
RD
14014 return NULL;
14015}
14016
14017
36ed4f51 14018static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14019 PyObject *resultobj = NULL;
d14a1e28 14020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 14021 PyObject * obj0 = 0 ;
d14a1e28 14022 char *kwnames[] = {
36ed4f51 14023 (char *) "self", NULL
d14a1e28
RD
14024 };
14025
36ed4f51
RD
14026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail;
14027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14028 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14029 {
14030 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14031 (arg1)->StutteredPageUpExtend();
d14a1e28
RD
14032
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
14036 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14037 return resultobj;
14038 fail:
d14a1e28
RD
14039 return NULL;
14040}
14041
14042
36ed4f51 14043static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14044 PyObject *resultobj = NULL;
d14a1e28 14045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 14046 PyObject * obj0 = 0 ;
d14a1e28 14047 char *kwnames[] = {
36ed4f51 14048 (char *) "self", NULL
d14a1e28
RD
14049 };
14050
36ed4f51
RD
14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail;
14052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14053 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14054 {
14055 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14056 (arg1)->StutteredPageDown();
d14a1e28
RD
14057
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14062 return resultobj;
14063 fail:
d14a1e28
RD
14064 return NULL;
14065}
14066
14067
36ed4f51 14068static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14069 PyObject *resultobj = NULL;
d14a1e28 14070 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
14071 PyObject * obj0 = 0 ;
14072 char *kwnames[] = {
14073 (char *) "self", NULL
14074 };
14075
36ed4f51
RD
14076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail;
14077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14078 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14079 {
14080 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14081 (arg1)->StutteredPageDownExtend();
d14a1e28
RD
14082
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
36ed4f51 14086 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14087 return resultobj;
14088 fail:
14089 return NULL;
14090}
14091
14092
36ed4f51 14093static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14094 PyObject *resultobj = NULL;
d14a1e28 14095 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 14096 PyObject * obj0 = 0 ;
d14a1e28 14097 char *kwnames[] = {
36ed4f51 14098 (char *) "self", NULL
d14a1e28
RD
14099 };
14100
36ed4f51
RD
14101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail;
14102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14103 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14104 {
14105 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14106 (arg1)->WordLeftEnd();
d14a1e28
RD
14107
14108 wxPyEndAllowThreads(__tstate);
14109 if (PyErr_Occurred()) SWIG_fail;
14110 }
14111 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14112 return resultobj;
14113 fail:
d14a1e28
RD
14114 return NULL;
14115}
14116
14117
36ed4f51 14118static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14119 PyObject *resultobj = NULL;
d14a1e28 14120 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 14121 PyObject * obj0 = 0 ;
d14a1e28 14122 char *kwnames[] = {
36ed4f51 14123 (char *) "self", NULL
d14a1e28
RD
14124 };
14125
36ed4f51
RD
14126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail;
14127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14128 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14129 {
14130 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14131 (arg1)->WordLeftEndExtend();
d14a1e28
RD
14132
14133 wxPyEndAllowThreads(__tstate);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 }
14136 Py_INCREF(Py_None); resultobj = Py_None;
14137 return resultobj;
14138 fail:
14139 return NULL;
14140}
14141
14142
36ed4f51 14143static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14144 PyObject *resultobj = NULL;
d14a1e28 14145 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 14146 PyObject * obj0 = 0 ;
d14a1e28 14147 char *kwnames[] = {
36ed4f51 14148 (char *) "self", NULL
d14a1e28
RD
14149 };
14150
36ed4f51
RD
14151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail;
14152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14153 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14154 {
14155 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14156 (arg1)->WordRightEnd();
d14a1e28
RD
14157
14158 wxPyEndAllowThreads(__tstate);
14159 if (PyErr_Occurred()) SWIG_fail;
14160 }
14161 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14162 return resultobj;
14163 fail:
d14a1e28
RD
14164 return NULL;
14165}
14166
14167
36ed4f51 14168static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14169 PyObject *resultobj = NULL;
d14a1e28 14170 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
14171 PyObject * obj0 = 0 ;
14172 char *kwnames[] = {
36ed4f51 14173 (char *) "self", NULL
d14a1e28
RD
14174 };
14175
36ed4f51
RD
14176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail;
14177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14178 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14179 {
14180 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14181 (arg1)->WordRightEndExtend();
d14a1e28
RD
14182
14183 wxPyEndAllowThreads(__tstate);
14184 if (PyErr_Occurred()) SWIG_fail;
14185 }
14186 Py_INCREF(Py_None); resultobj = Py_None;
14187 return resultobj;
14188 fail:
14189 return NULL;
14190}
14191
14192
36ed4f51 14193static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14194 PyObject *resultobj = NULL;
d14a1e28 14195 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14196 wxString *arg2 = 0 ;
14197 bool temp2 = false ;
d14a1e28 14198 PyObject * obj0 = 0 ;
994141e6 14199 PyObject * obj1 = 0 ;
d14a1e28 14200 char *kwnames[] = {
36ed4f51 14201 (char *) "self",(char *) "characters", NULL
d14a1e28
RD
14202 };
14203
36ed4f51
RD
14204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
14205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14206 if (SWIG_arg_fail(1)) SWIG_fail;
14207 {
14208 arg2 = wxString_in_helper(obj1);
14209 if (arg2 == NULL) SWIG_fail;
14210 temp2 = true;
14211 }
d14a1e28
RD
14212 {
14213 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14214 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
d14a1e28
RD
14215
14216 wxPyEndAllowThreads(__tstate);
14217 if (PyErr_Occurred()) SWIG_fail;
14218 }
14219 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
14220 {
14221 if (temp2)
14222 delete arg2;
14223 }
d14a1e28
RD
14224 return resultobj;
14225 fail:
36ed4f51
RD
14226 {
14227 if (temp2)
14228 delete arg2;
14229 }
d14a1e28
RD
14230 return NULL;
14231}
14232
14233
36ed4f51 14234static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14235 PyObject *resultobj = NULL;
d14a1e28 14236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
14237 PyObject * obj0 = 0 ;
14238 char *kwnames[] = {
14239 (char *) "self", NULL
14240 };
14241
36ed4f51
RD
14242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
14243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14244 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14245 {
14246 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14247 (arg1)->SetCharsDefault();
d14a1e28
RD
14248
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
14252 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14253 return resultobj;
14254 fail:
14255 return NULL;
14256}
14257
14258
36ed4f51 14259static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14260 PyObject *resultobj = NULL;
d14a1e28 14261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 14262 int result;
d14a1e28
RD
14263 PyObject * obj0 = 0 ;
14264 char *kwnames[] = {
36ed4f51 14265 (char *) "self", NULL
d14a1e28
RD
14266 };
14267
36ed4f51
RD
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
14269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14270 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14273 result = (int)(arg1)->AutoCompGetCurrent();
d14a1e28
RD
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 {
32fe5131 14279 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28
RD
14280 }
14281 return resultobj;
14282 fail:
14283 return NULL;
14284}
14285
14286
36ed4f51 14287static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14288 PyObject *resultobj = NULL;
d14a1e28
RD
14289 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14290 int arg2 ;
14291 PyObject * obj0 = 0 ;
994141e6 14292 PyObject * obj1 = 0 ;
d14a1e28 14293 char *kwnames[] = {
36ed4f51 14294 (char *) "self",(char *) "bytes", NULL
d14a1e28
RD
14295 };
14296
36ed4f51
RD
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail;
14298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14299 if (SWIG_arg_fail(1)) SWIG_fail;
14300 {
32fe5131 14301 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14302 if (SWIG_arg_fail(2)) SWIG_fail;
14303 }
d14a1e28
RD
14304 {
14305 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14306 (arg1)->Allocate(arg2);
d14a1e28
RD
14307
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 Py_INCREF(Py_None); resultobj = Py_None;
14312 return resultobj;
14313 fail:
14314 return NULL;
14315}
14316
14317
53aa7709 14318static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14319 PyObject *resultobj = NULL;
53aa7709
RD
14320 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14321 int arg2 ;
14322 int arg3 ;
14323 int result;
14324 PyObject * obj0 = 0 ;
14325 PyObject * obj1 = 0 ;
14326 PyObject * obj2 = 0 ;
14327 char *kwnames[] = {
14328 (char *) "self",(char *) "line",(char *) "column", NULL
14329 };
14330
14331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
14332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14333 if (SWIG_arg_fail(1)) SWIG_fail;
14334 {
32fe5131 14335 arg2 = static_cast<int >(SWIG_As_int(obj1));
53aa7709
RD
14336 if (SWIG_arg_fail(2)) SWIG_fail;
14337 }
14338 {
32fe5131 14339 arg3 = static_cast<int >(SWIG_As_int(obj2));
53aa7709
RD
14340 if (SWIG_arg_fail(3)) SWIG_fail;
14341 }
14342 {
14343 PyThreadState* __tstate = wxPyBeginAllowThreads();
14344 result = (int)(arg1)->FindColumn(arg2,arg3);
14345
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 {
32fe5131 14350 resultobj = SWIG_From_int(static_cast<int >(result));
53aa7709
RD
14351 }
14352 return resultobj;
14353 fail:
14354 return NULL;
14355}
14356
14357
36ed4f51 14358static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14359 PyObject *resultobj = NULL;
d14a1e28 14360 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
14361 PyObject * obj0 = 0 ;
14362 char *kwnames[] = {
36ed4f51 14363 (char *) "self", NULL
d14a1e28
RD
14364 };
14365
36ed4f51
RD
14366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
14367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14368 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14369 {
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14371 (arg1)->StartRecord();
d14a1e28
RD
14372
14373 wxPyEndAllowThreads(__tstate);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 Py_INCREF(Py_None); resultobj = Py_None;
14377 return resultobj;
14378 fail:
14379 return NULL;
14380}
14381
14382
36ed4f51 14383static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14384 PyObject *resultobj = NULL;
d14a1e28 14385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
14386 PyObject * obj0 = 0 ;
14387 char *kwnames[] = {
36ed4f51 14388 (char *) "self", NULL
d14a1e28
RD
14389 };
14390
36ed4f51
RD
14391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
14392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14393 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14394 {
14395 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14396 (arg1)->StopRecord();
d14a1e28
RD
14397
14398 wxPyEndAllowThreads(__tstate);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
36ed4f51 14401 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14402 return resultobj;
14403 fail:
14404 return NULL;
14405}
14406
14407
36ed4f51 14408static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14409 PyObject *resultobj = NULL;
d14a1e28 14410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 14411 int arg2 ;
d14a1e28
RD
14412 PyObject * obj0 = 0 ;
14413 PyObject * obj1 = 0 ;
14414 char *kwnames[] = {
36ed4f51 14415 (char *) "self",(char *) "lexer", NULL
d14a1e28
RD
14416 };
14417
36ed4f51
RD
14418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
14419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14420 if (SWIG_arg_fail(1)) SWIG_fail;
14421 {
32fe5131 14422 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14423 if (SWIG_arg_fail(2)) SWIG_fail;
14424 }
d14a1e28
RD
14425 {
14426 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14427 (arg1)->SetLexer(arg2);
d14a1e28
RD
14428
14429 wxPyEndAllowThreads(__tstate);
14430 if (PyErr_Occurred()) SWIG_fail;
14431 }
14432 Py_INCREF(Py_None); resultobj = Py_None;
14433 return resultobj;
14434 fail:
14435 return NULL;
14436}
14437
14438
36ed4f51 14439static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14440 PyObject *resultobj = NULL;
d14a1e28 14441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 14442 int result;
d14a1e28 14443 PyObject * obj0 = 0 ;
d14a1e28 14444 char *kwnames[] = {
36ed4f51 14445 (char *) "self", NULL
d14a1e28
RD
14446 };
14447
36ed4f51
RD
14448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
14449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14450 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14451 {
14452 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14453 result = (int)(arg1)->GetLexer();
d14a1e28
RD
14454
14455 wxPyEndAllowThreads(__tstate);
14456 if (PyErr_Occurred()) SWIG_fail;
14457 }
36ed4f51 14458 {
32fe5131 14459 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14460 }
d14a1e28
RD
14461 return resultobj;
14462 fail:
14463 return NULL;
14464}
14465
14466
36ed4f51 14467static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14468 PyObject *resultobj = NULL;
d14a1e28 14469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14470 int arg2 ;
14471 int arg3 ;
d14a1e28 14472 PyObject * obj0 = 0 ;
36ed4f51
RD
14473 PyObject * obj1 = 0 ;
14474 PyObject * obj2 = 0 ;
d14a1e28 14475 char *kwnames[] = {
36ed4f51 14476 (char *) "self",(char *) "start",(char *) "end", NULL
d14a1e28
RD
14477 };
14478
36ed4f51
RD
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
14480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14481 if (SWIG_arg_fail(1)) SWIG_fail;
14482 {
32fe5131 14483 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14484 if (SWIG_arg_fail(2)) SWIG_fail;
14485 }
14486 {
32fe5131 14487 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14488 if (SWIG_arg_fail(3)) SWIG_fail;
14489 }
d14a1e28
RD
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14492 (arg1)->Colourise(arg2,arg3);
d14a1e28
RD
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
36ed4f51 14497 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14498 return resultobj;
14499 fail:
14500 return NULL;
14501}
14502
14503
36ed4f51 14504static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14505 PyObject *resultobj = NULL;
d14a1e28 14506 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14507 wxString *arg2 = 0 ;
14508 wxString *arg3 = 0 ;
14509 bool temp2 = false ;
14510 bool temp3 = false ;
d14a1e28
RD
14511 PyObject * obj0 = 0 ;
14512 PyObject * obj1 = 0 ;
36ed4f51 14513 PyObject * obj2 = 0 ;
d14a1e28 14514 char *kwnames[] = {
36ed4f51 14515 (char *) "self",(char *) "key",(char *) "value", NULL
d14a1e28
RD
14516 };
14517
36ed4f51
RD
14518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
14519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14520 if (SWIG_arg_fail(1)) SWIG_fail;
14521 {
14522 arg2 = wxString_in_helper(obj1);
14523 if (arg2 == NULL) SWIG_fail;
14524 temp2 = true;
14525 }
14526 {
14527 arg3 = wxString_in_helper(obj2);
14528 if (arg3 == NULL) SWIG_fail;
14529 temp3 = true;
14530 }
d14a1e28
RD
14531 {
14532 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14533 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
d14a1e28
RD
14534
14535 wxPyEndAllowThreads(__tstate);
14536 if (PyErr_Occurred()) SWIG_fail;
14537 }
14538 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
14539 {
14540 if (temp2)
14541 delete arg2;
14542 }
14543 {
14544 if (temp3)
14545 delete arg3;
14546 }
d14a1e28
RD
14547 return resultobj;
14548 fail:
36ed4f51
RD
14549 {
14550 if (temp2)
14551 delete arg2;
14552 }
14553 {
14554 if (temp3)
14555 delete arg3;
14556 }
d14a1e28
RD
14557 return NULL;
14558}
14559
14560
36ed4f51 14561static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14562 PyObject *resultobj = NULL;
d14a1e28 14563 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14564 int arg2 ;
14565 wxString *arg3 = 0 ;
14566 bool temp3 = false ;
d14a1e28
RD
14567 PyObject * obj0 = 0 ;
14568 PyObject * obj1 = 0 ;
36ed4f51 14569 PyObject * obj2 = 0 ;
d14a1e28 14570 char *kwnames[] = {
36ed4f51 14571 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
d14a1e28
RD
14572 };
14573
36ed4f51
RD
14574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
14575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14576 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 14577 {
32fe5131 14578 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14579 if (SWIG_arg_fail(2)) SWIG_fail;
14580 }
14581 {
14582 arg3 = wxString_in_helper(obj2);
14583 if (arg3 == NULL) SWIG_fail;
14584 temp3 = true;
d14a1e28
RD
14585 }
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14588 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
d14a1e28
RD
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
36ed4f51 14593 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 14594 {
36ed4f51
RD
14595 if (temp3)
14596 delete arg3;
d14a1e28
RD
14597 }
14598 return resultobj;
14599 fail:
14600 {
36ed4f51
RD
14601 if (temp3)
14602 delete arg3;
d14a1e28
RD
14603 }
14604 return NULL;
14605}
14606
14607
36ed4f51 14608static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14609 PyObject *resultobj = NULL;
d14a1e28
RD
14610 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14611 wxString *arg2 = 0 ;
b411df4a 14612 bool temp2 = false ;
d14a1e28
RD
14613 PyObject * obj0 = 0 ;
14614 PyObject * obj1 = 0 ;
14615 char *kwnames[] = {
36ed4f51 14616 (char *) "self",(char *) "language", NULL
d14a1e28
RD
14617 };
14618
36ed4f51
RD
14619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
14620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14621 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14622 {
14623 arg2 = wxString_in_helper(obj1);
14624 if (arg2 == NULL) SWIG_fail;
b411df4a 14625 temp2 = true;
d14a1e28
RD
14626 }
14627 {
14628 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14629 (arg1)->SetLexerLanguage((wxString const &)*arg2);
d14a1e28
RD
14630
14631 wxPyEndAllowThreads(__tstate);
14632 if (PyErr_Occurred()) SWIG_fail;
14633 }
36ed4f51 14634 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14635 {
14636 if (temp2)
14637 delete arg2;
14638 }
14639 return resultobj;
14640 fail:
14641 {
14642 if (temp2)
14643 delete arg2;
14644 }
14645 return NULL;
14646}
14647
14648
36ed4f51 14649static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14650 PyObject *resultobj = NULL;
d14a1e28 14651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c 14652 int result;
d14a1e28 14653 PyObject * obj0 = 0 ;
d14a1e28 14654 char *kwnames[] = {
36ed4f51 14655 (char *) "self", NULL
d14a1e28
RD
14656 };
14657
36ed4f51
RD
14658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
14659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14660 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14661 {
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14663 result = (int)(arg1)->GetCurrentLine();
d14a1e28
RD
14664
14665 wxPyEndAllowThreads(__tstate);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 }
36ed4f51 14668 {
32fe5131 14669 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14670 }
d14a1e28
RD
14671 return resultobj;
14672 fail:
14673 return NULL;
14674}
14675
14676
36ed4f51 14677static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14678 PyObject *resultobj = NULL;
d14a1e28 14679 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14680 int arg2 ;
14681 wxString *arg3 = 0 ;
14682 bool temp3 = false ;
d14a1e28 14683 PyObject * obj0 = 0 ;
994141e6
RD
14684 PyObject * obj1 = 0 ;
14685 PyObject * obj2 = 0 ;
d14a1e28 14686 char *kwnames[] = {
36ed4f51 14687 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
d14a1e28
RD
14688 };
14689
36ed4f51
RD
14690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
14691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14692 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 14693 {
32fe5131 14694 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14695 if (SWIG_arg_fail(2)) SWIG_fail;
14696 }
14697 {
14698 arg3 = wxString_in_helper(obj2);
14699 if (arg3 == NULL) SWIG_fail;
14700 temp3 = true;
d14a1e28
RD
14701 }
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14704 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
d14a1e28
RD
14705
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
36ed4f51 14709 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 14710 {
36ed4f51
RD
14711 if (temp3)
14712 delete arg3;
d14a1e28
RD
14713 }
14714 return resultobj;
14715 fail:
14716 {
36ed4f51
RD
14717 if (temp3)
14718 delete arg3;
d14a1e28
RD
14719 }
14720 return NULL;
14721}
14722
14723
36ed4f51 14724static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14725 PyObject *resultobj = NULL;
db914595 14726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14727 int arg2 ;
14728 wxFont *arg3 = 0 ;
db914595
RD
14729 PyObject * obj0 = 0 ;
14730 PyObject * obj1 = 0 ;
36ed4f51 14731 PyObject * obj2 = 0 ;
db914595 14732 char *kwnames[] = {
36ed4f51 14733 (char *) "self",(char *) "styleNum",(char *) "font", NULL
db914595
RD
14734 };
14735
36ed4f51
RD
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
14737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14738 if (SWIG_arg_fail(1)) SWIG_fail;
14739 {
32fe5131 14740 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14741 if (SWIG_arg_fail(2)) SWIG_fail;
14742 }
14743 {
14744 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
14745 if (SWIG_arg_fail(3)) SWIG_fail;
14746 if (arg3 == NULL) {
14747 SWIG_null_ref("wxFont");
14748 }
14749 if (SWIG_arg_fail(3)) SWIG_fail;
14750 }
db914595
RD
14751 {
14752 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14753 (arg1)->StyleSetFont(arg2,*arg3);
db914595
RD
14754
14755 wxPyEndAllowThreads(__tstate);
14756 if (PyErr_Occurred()) SWIG_fail;
14757 }
14758 Py_INCREF(Py_None); resultobj = Py_None;
14759 return resultobj;
14760 fail:
14761 return NULL;
14762}
14763
14764
36ed4f51 14765static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14766 PyObject *resultobj = NULL;
db914595 14767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14768 int arg2 ;
14769 int arg3 ;
14770 wxString *arg4 = 0 ;
14771 bool arg5 ;
14772 bool arg6 ;
14773 bool arg7 ;
a1b6e73b 14774 wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
36ed4f51
RD
14775 bool temp4 = false ;
14776 PyObject * obj0 = 0 ;
14777 PyObject * obj1 = 0 ;
14778 PyObject * obj2 = 0 ;
14779 PyObject * obj3 = 0 ;
14780 PyObject * obj4 = 0 ;
14781 PyObject * obj5 = 0 ;
14782 PyObject * obj6 = 0 ;
a1b6e73b 14783 PyObject * obj7 = 0 ;
db914595 14784 char *kwnames[] = {
a1b6e73b 14785 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL
db914595
RD
14786 };
14787
a1b6e73b 14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
14789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14790 if (SWIG_arg_fail(1)) SWIG_fail;
14791 {
32fe5131 14792 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14793 if (SWIG_arg_fail(2)) SWIG_fail;
14794 }
14795 {
32fe5131 14796 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14797 if (SWIG_arg_fail(3)) SWIG_fail;
14798 }
14799 {
14800 arg4 = wxString_in_helper(obj3);
14801 if (arg4 == NULL) SWIG_fail;
14802 temp4 = true;
14803 }
14804 {
32fe5131 14805 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
36ed4f51
RD
14806 if (SWIG_arg_fail(5)) SWIG_fail;
14807 }
14808 {
32fe5131 14809 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
36ed4f51
RD
14810 if (SWIG_arg_fail(6)) SWIG_fail;
14811 }
14812 {
32fe5131 14813 arg7 = static_cast<bool >(SWIG_As_bool(obj6));
36ed4f51
RD
14814 if (SWIG_arg_fail(7)) SWIG_fail;
14815 }
a1b6e73b
RD
14816 if (obj7) {
14817 {
32fe5131 14818 arg8 = static_cast<wxFontEncoding >(SWIG_As_int(obj7));
a1b6e73b
RD
14819 if (SWIG_arg_fail(8)) SWIG_fail;
14820 }
14821 }
db914595
RD
14822 {
14823 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 14824 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8);
db914595
RD
14825
14826 wxPyEndAllowThreads(__tstate);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
36ed4f51 14829 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 14830 {
36ed4f51
RD
14831 if (temp4)
14832 delete arg4;
4f89f6a3 14833 }
db914595
RD
14834 return resultobj;
14835 fail:
36ed4f51
RD
14836 {
14837 if (temp4)
14838 delete arg4;
14839 }
db914595
RD
14840 return NULL;
14841}
14842
14843
a1b6e73b 14844static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14845 PyObject *resultobj = NULL;
a1b6e73b
RD
14846 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14847 int arg2 ;
14848 int arg3 ;
14849 PyObject * obj0 = 0 ;
14850 PyObject * obj1 = 0 ;
14851 PyObject * obj2 = 0 ;
14852 char *kwnames[] = {
14853 (char *) "self",(char *) "style",(char *) "characterSet", NULL
14854 };
14855
14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
14857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14858 if (SWIG_arg_fail(1)) SWIG_fail;
14859 {
32fe5131 14860 arg2 = static_cast<int >(SWIG_As_int(obj1));
a1b6e73b
RD
14861 if (SWIG_arg_fail(2)) SWIG_fail;
14862 }
14863 {
32fe5131 14864 arg3 = static_cast<int >(SWIG_As_int(obj2));
a1b6e73b
RD
14865 if (SWIG_arg_fail(3)) SWIG_fail;
14866 }
14867 {
14868 PyThreadState* __tstate = wxPyBeginAllowThreads();
14869 (arg1)->StyleSetCharacterSet(arg2,arg3);
14870
14871 wxPyEndAllowThreads(__tstate);
14872 if (PyErr_Occurred()) SWIG_fail;
14873 }
14874 Py_INCREF(Py_None); resultobj = Py_None;
14875 return resultobj;
14876 fail:
14877 return NULL;
14878}
14879
14880
14881static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14882 PyObject *resultobj = NULL;
a1b6e73b
RD
14883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14884 int arg2 ;
14885 wxFontEncoding arg3 ;
14886 PyObject * obj0 = 0 ;
14887 PyObject * obj1 = 0 ;
14888 PyObject * obj2 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self",(char *) "style",(char *) "encoding", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail;
14894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14895 if (SWIG_arg_fail(1)) SWIG_fail;
14896 {
32fe5131 14897 arg2 = static_cast<int >(SWIG_As_int(obj1));
a1b6e73b
RD
14898 if (SWIG_arg_fail(2)) SWIG_fail;
14899 }
14900 {
32fe5131 14901 arg3 = static_cast<wxFontEncoding >(SWIG_As_int(obj2));
a1b6e73b
RD
14902 if (SWIG_arg_fail(3)) SWIG_fail;
14903 }
14904 {
14905 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 14906 (arg1)->StyleSetFontEncoding(arg2,arg3);
a1b6e73b
RD
14907
14908 wxPyEndAllowThreads(__tstate);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
14911 Py_INCREF(Py_None); resultobj = Py_None;
14912 return resultobj;
14913 fail:
14914 return NULL;
14915}
14916
14917
36ed4f51 14918static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14919 PyObject *resultobj = NULL;
36ed4f51
RD
14920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14921 int arg2 ;
994141e6
RD
14922 PyObject * obj0 = 0 ;
14923 PyObject * obj1 = 0 ;
d14a1e28 14924 char *kwnames[] = {
36ed4f51 14925 (char *) "self",(char *) "cmd", NULL
d14a1e28
RD
14926 };
14927
36ed4f51
RD
14928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
14929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14930 if (SWIG_arg_fail(1)) SWIG_fail;
14931 {
32fe5131 14932 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 14933 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 14934 }
d14a1e28
RD
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14937 (arg1)->CmdKeyExecute(arg2);
d14a1e28
RD
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
36ed4f51 14942 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14943 return resultobj;
14944 fail:
14945 return NULL;
14946}
14947
14948
36ed4f51 14949static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14950 PyObject *resultobj = NULL;
36ed4f51
RD
14951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14952 int arg2 ;
14953 int arg3 ;
d14a1e28 14954 PyObject * obj0 = 0 ;
36ed4f51
RD
14955 PyObject * obj1 = 0 ;
14956 PyObject * obj2 = 0 ;
d14a1e28 14957 char *kwnames[] = {
36ed4f51 14958 (char *) "self",(char *) "left",(char *) "right", NULL
d14a1e28
RD
14959 };
14960
36ed4f51
RD
14961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
14962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14963 if (SWIG_arg_fail(1)) SWIG_fail;
14964 {
32fe5131 14965 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14966 if (SWIG_arg_fail(2)) SWIG_fail;
14967 }
14968 {
32fe5131 14969 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14970 if (SWIG_arg_fail(3)) SWIG_fail;
14971 }
d14a1e28
RD
14972 {
14973 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14974 (arg1)->SetMargins(arg2,arg3);
d14a1e28
RD
14975
14976 wxPyEndAllowThreads(__tstate);
14977 if (PyErr_Occurred()) SWIG_fail;
14978 }
14979 Py_INCREF(Py_None); resultobj = Py_None;
14980 return resultobj;
14981 fail:
14982 return NULL;
14983}
14984
14985
36ed4f51 14986static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14987 PyObject *resultobj = NULL;
36ed4f51
RD
14988 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14989 int *arg2 = (int *) 0 ;
14990 int *arg3 = (int *) 0 ;
14991 int temp2 ;
14992 int res2 = 0 ;
14993 int temp3 ;
14994 int res3 = 0 ;
d14a1e28
RD
14995 PyObject * obj0 = 0 ;
14996 char *kwnames[] = {
36ed4f51 14997 (char *) "self", NULL
d14a1e28
RD
14998 };
14999
36ed4f51
RD
15000 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15001 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
15003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15004 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15005 {
15006 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15007 (arg1)->GetSelection(arg2,arg3);
d14a1e28
RD
15008
15009 wxPyEndAllowThreads(__tstate);
15010 if (PyErr_Occurred()) SWIG_fail;
15011 }
15012 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
15013 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15014 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15015 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15016 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
15017 return resultobj;
15018 fail:
15019 return NULL;
15020}
15021
15022
36ed4f51 15023static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15024 PyObject *resultobj = NULL;
36ed4f51 15025 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 15026 int arg2 ;
36ed4f51 15027 wxPoint result;
d14a1e28 15028 PyObject * obj0 = 0 ;
994141e6 15029 PyObject * obj1 = 0 ;
d14a1e28 15030 char *kwnames[] = {
36ed4f51 15031 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
15032 };
15033
36ed4f51
RD
15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
15035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15036 if (SWIG_arg_fail(1)) SWIG_fail;
15037 {
32fe5131 15038 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15039 if (SWIG_arg_fail(2)) SWIG_fail;
15040 }
d14a1e28
RD
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15043 result = (arg1)->PointFromPosition(arg2);
d14a1e28
RD
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
36ed4f51
RD
15048 {
15049 wxPoint * resultptr;
32fe5131 15050 resultptr = new wxPoint(static_cast<wxPoint & >(result));
36ed4f51
RD
15051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
15052 }
d14a1e28
RD
15053 return resultobj;
15054 fail:
15055 return NULL;
15056}
15057
15058
36ed4f51 15059static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15060 PyObject *resultobj = NULL;
36ed4f51 15061 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
15062 int arg2 ;
15063 PyObject * obj0 = 0 ;
994141e6 15064 PyObject * obj1 = 0 ;
d14a1e28 15065 char *kwnames[] = {
36ed4f51 15066 (char *) "self",(char *) "line", NULL
d14a1e28
RD
15067 };
15068
36ed4f51
RD
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
15070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15071 if (SWIG_arg_fail(1)) SWIG_fail;
15072 {
32fe5131 15073 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15074 if (SWIG_arg_fail(2)) SWIG_fail;
15075 }
d14a1e28
RD
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15078 (arg1)->ScrollToLine(arg2);
d14a1e28
RD
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 Py_INCREF(Py_None); resultobj = Py_None;
15084 return resultobj;
15085 fail:
15086 return NULL;
15087}
15088
15089
36ed4f51 15090static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15091 PyObject *resultobj = NULL;
36ed4f51 15092 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
15093 int arg2 ;
15094 PyObject * obj0 = 0 ;
994141e6 15095 PyObject * obj1 = 0 ;
d14a1e28 15096 char *kwnames[] = {
36ed4f51 15097 (char *) "self",(char *) "column", NULL
d14a1e28
RD
15098 };
15099
36ed4f51
RD
15100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
15101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15102 if (SWIG_arg_fail(1)) SWIG_fail;
15103 {
32fe5131 15104 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15105 if (SWIG_arg_fail(2)) SWIG_fail;
15106 }
d14a1e28
RD
15107 {
15108 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15109 (arg1)->ScrollToColumn(arg2);
d14a1e28
RD
15110
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15114 Py_INCREF(Py_None); resultobj = Py_None;
15115 return resultobj;
15116 fail:
15117 return NULL;
15118}
15119
15120
36ed4f51 15121static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15122 PyObject *resultobj = NULL;
36ed4f51
RD
15123 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15124 int arg2 ;
15125 long arg3 = (long) 0 ;
15126 long arg4 = (long) 0 ;
15127 long result;
d14a1e28
RD
15128 PyObject * obj0 = 0 ;
15129 PyObject * obj1 = 0 ;
36ed4f51
RD
15130 PyObject * obj2 = 0 ;
15131 PyObject * obj3 = 0 ;
d14a1e28 15132 char *kwnames[] = {
36ed4f51 15133 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
d14a1e28
RD
15134 };
15135
36ed4f51
RD
15136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15138 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 15139 {
32fe5131 15140 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15141 if (SWIG_arg_fail(2)) SWIG_fail;
15142 }
15143 if (obj2) {
15144 {
32fe5131 15145 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
15146 if (SWIG_arg_fail(3)) SWIG_fail;
15147 }
15148 }
15149 if (obj3) {
15150 {
32fe5131 15151 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
15152 if (SWIG_arg_fail(4)) SWIG_fail;
15153 }
d14a1e28
RD
15154 }
15155 {
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15157 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
d14a1e28
RD
15158
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
d14a1e28 15162 {
32fe5131 15163 resultobj = SWIG_From_long(static_cast<long >(result));
d14a1e28
RD
15164 }
15165 return resultobj;
15166 fail:
d14a1e28
RD
15167 return NULL;
15168}
15169
15170
36ed4f51 15171static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15172 PyObject *resultobj = NULL;
36ed4f51
RD
15173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15174 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
d14a1e28 15175 PyObject * obj0 = 0 ;
994141e6 15176 PyObject * obj1 = 0 ;
d14a1e28 15177 char *kwnames[] = {
36ed4f51 15178 (char *) "self",(char *) "bar", NULL
d14a1e28
RD
15179 };
15180
36ed4f51
RD
15181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
15182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15183 if (SWIG_arg_fail(1)) SWIG_fail;
15184 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
15185 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15188 (arg1)->SetVScrollBar(arg2);
d14a1e28
RD
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 Py_INCREF(Py_None); resultobj = Py_None;
15194 return resultobj;
15195 fail:
15196 return NULL;
15197}
15198
15199
36ed4f51 15200static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15201 PyObject *resultobj = NULL;
36ed4f51
RD
15202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15203 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
d14a1e28 15204 PyObject * obj0 = 0 ;
994141e6 15205 PyObject * obj1 = 0 ;
d14a1e28 15206 char *kwnames[] = {
36ed4f51 15207 (char *) "self",(char *) "bar", NULL
d14a1e28
RD
15208 };
15209
36ed4f51
RD
15210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
15211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15212 if (SWIG_arg_fail(1)) SWIG_fail;
15213 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
15214 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15215 {
15216 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15217 (arg1)->SetHScrollBar(arg2);
d14a1e28
RD
15218
15219 wxPyEndAllowThreads(__tstate);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 }
15222 Py_INCREF(Py_None); resultobj = Py_None;
15223 return resultobj;
15224 fail:
15225 return NULL;
15226}
15227
15228
36ed4f51 15229static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15230 PyObject *resultobj = NULL;
36ed4f51
RD
15231 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15232 bool result;
d14a1e28
RD
15233 PyObject * obj0 = 0 ;
15234 char *kwnames[] = {
36ed4f51 15235 (char *) "self", NULL
d14a1e28
RD
15236 };
15237
36ed4f51
RD
15238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
15239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15240 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15241 {
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15243 result = (bool)(arg1)->GetLastKeydownProcessed();
d14a1e28
RD
15244
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
36ed4f51
RD
15248 {
15249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15250 }
d14a1e28
RD
15251 return resultobj;
15252 fail:
15253 return NULL;
15254}
15255
15256
36ed4f51 15257static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15258 PyObject *resultobj = NULL;
36ed4f51
RD
15259 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15260 bool arg2 ;
d14a1e28 15261 PyObject * obj0 = 0 ;
994141e6 15262 PyObject * obj1 = 0 ;
d14a1e28
RD
15263 char *kwnames[] = {
15264 (char *) "self",(char *) "val", NULL
15265 };
15266
36ed4f51
RD
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
15268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15269 if (SWIG_arg_fail(1)) SWIG_fail;
15270 {
32fe5131 15271 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
15272 if (SWIG_arg_fail(2)) SWIG_fail;
15273 }
d14a1e28
RD
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15276 (arg1)->SetLastKeydownProcessed(arg2);
d14a1e28
RD
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 Py_INCREF(Py_None); resultobj = Py_None;
15282 return resultobj;
15283 fail:
15284 return NULL;
15285}
15286
15287
36ed4f51 15288static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15289 PyObject *resultobj = NULL;
36ed4f51
RD
15290 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15291 wxString *arg2 = 0 ;
15292 bool result;
15293 bool temp2 = false ;
d14a1e28 15294 PyObject * obj0 = 0 ;
994141e6 15295 PyObject * obj1 = 0 ;
d14a1e28 15296 char *kwnames[] = {
36ed4f51 15297 (char *) "self",(char *) "filename", NULL
d14a1e28
RD
15298 };
15299
36ed4f51
RD
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
15301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15302 if (SWIG_arg_fail(1)) SWIG_fail;
15303 {
15304 arg2 = wxString_in_helper(obj1);
15305 if (arg2 == NULL) SWIG_fail;
15306 temp2 = true;
15307 }
d14a1e28
RD
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15310 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
d14a1e28
RD
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
36ed4f51
RD
15315 {
15316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15317 }
15318 {
15319 if (temp2)
15320 delete arg2;
15321 }
d14a1e28
RD
15322 return resultobj;
15323 fail:
36ed4f51
RD
15324 {
15325 if (temp2)
15326 delete arg2;
15327 }
d14a1e28
RD
15328 return NULL;
15329}
15330
15331
36ed4f51 15332static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15333 PyObject *resultobj = NULL;
36ed4f51
RD
15334 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15335 wxString *arg2 = 0 ;
15336 bool result;
15337 bool temp2 = false ;
d14a1e28 15338 PyObject * obj0 = 0 ;
994141e6 15339 PyObject * obj1 = 0 ;
d14a1e28 15340 char *kwnames[] = {
36ed4f51 15341 (char *) "self",(char *) "filename", NULL
d14a1e28
RD
15342 };
15343
36ed4f51
RD
15344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
15345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15346 if (SWIG_arg_fail(1)) SWIG_fail;
15347 {
15348 arg2 = wxString_in_helper(obj1);
15349 if (arg2 == NULL) SWIG_fail;
15350 temp2 = true;
15351 }
d14a1e28
RD
15352 {
15353 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15354 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
d14a1e28
RD
15355
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
36ed4f51
RD
15359 {
15360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15361 }
15362 {
15363 if (temp2)
15364 delete arg2;
15365 }
d14a1e28
RD
15366 return resultobj;
15367 fail:
36ed4f51
RD
15368 {
15369 if (temp2)
15370 delete arg2;
15371 }
d14a1e28
RD
15372 return NULL;
15373}
15374
15375
36ed4f51 15376static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15377 PyObject *resultobj = NULL;
36ed4f51 15378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 15379 int arg2 ;
36ed4f51
RD
15380 int arg3 ;
15381 wxDragResult arg4 ;
15382 wxDragResult result;
d14a1e28 15383 PyObject * obj0 = 0 ;
994141e6 15384 PyObject * obj1 = 0 ;
36ed4f51
RD
15385 PyObject * obj2 = 0 ;
15386 PyObject * obj3 = 0 ;
d14a1e28 15387 char *kwnames[] = {
36ed4f51 15388 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
d14a1e28
RD
15389 };
15390
36ed4f51
RD
15391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15393 if (SWIG_arg_fail(1)) SWIG_fail;
15394 {
32fe5131 15395 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15396 if (SWIG_arg_fail(2)) SWIG_fail;
15397 }
15398 {
32fe5131 15399 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15400 if (SWIG_arg_fail(3)) SWIG_fail;
15401 }
15402 {
32fe5131 15403 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
36ed4f51
RD
15404 if (SWIG_arg_fail(4)) SWIG_fail;
15405 }
d14a1e28
RD
15406 {
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 15408 result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4);
d14a1e28
RD
15409
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
36ed4f51 15413 resultobj = SWIG_From_int((result));
d14a1e28
RD
15414 return resultobj;
15415 fail:
15416 return NULL;
15417}
15418
15419
36ed4f51 15420static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15421 PyObject *resultobj = NULL;
36ed4f51
RD
15422 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15423 long arg2 ;
15424 long arg3 ;
15425 wxString *arg4 = 0 ;
15426 bool result;
15427 bool temp4 = false ;
d14a1e28 15428 PyObject * obj0 = 0 ;
994141e6 15429 PyObject * obj1 = 0 ;
36ed4f51
RD
15430 PyObject * obj2 = 0 ;
15431 PyObject * obj3 = 0 ;
d14a1e28 15432 char *kwnames[] = {
36ed4f51 15433 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
d14a1e28
RD
15434 };
15435
36ed4f51
RD
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15438 if (SWIG_arg_fail(1)) SWIG_fail;
15439 {
32fe5131 15440 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
15441 if (SWIG_arg_fail(2)) SWIG_fail;
15442 }
15443 {
32fe5131 15444 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
15445 if (SWIG_arg_fail(3)) SWIG_fail;
15446 }
15447 {
15448 arg4 = wxString_in_helper(obj3);
15449 if (arg4 == NULL) SWIG_fail;
15450 temp4 = true;
15451 }
d14a1e28
RD
15452 {
15453 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15454 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
d14a1e28
RD
15455
15456 wxPyEndAllowThreads(__tstate);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
36ed4f51
RD
15459 {
15460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15461 }
15462 {
15463 if (temp4)
15464 delete arg4;
15465 }
d14a1e28
RD
15466 return resultobj;
15467 fail:
36ed4f51
RD
15468 {
15469 if (temp4)
15470 delete arg4;
15471 }
d14a1e28
RD
15472 return NULL;
15473}
15474
15475
36ed4f51 15476static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15477 PyObject *resultobj = NULL;
36ed4f51
RD
15478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15479 bool arg2 ;
d14a1e28 15480 PyObject * obj0 = 0 ;
994141e6 15481 PyObject * obj1 = 0 ;
d14a1e28 15482 char *kwnames[] = {
36ed4f51 15483 (char *) "self",(char *) "useAA", NULL
d14a1e28
RD
15484 };
15485
36ed4f51
RD
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
15487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15488 if (SWIG_arg_fail(1)) SWIG_fail;
15489 {
32fe5131 15490 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
15491 if (SWIG_arg_fail(2)) SWIG_fail;
15492 }
d14a1e28
RD
15493 {
15494 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15495 (arg1)->SetUseAntiAliasing(arg2);
d14a1e28
RD
15496
15497 wxPyEndAllowThreads(__tstate);
15498 if (PyErr_Occurred()) SWIG_fail;
15499 }
15500 Py_INCREF(Py_None); resultobj = Py_None;
15501 return resultobj;
15502 fail:
15503 return NULL;
15504}
15505
15506
36ed4f51 15507static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15508 PyObject *resultobj = NULL;
36ed4f51
RD
15509 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15510 bool result;
d14a1e28
RD
15511 PyObject * obj0 = 0 ;
15512 char *kwnames[] = {
36ed4f51 15513 (char *) "self", NULL
d14a1e28
RD
15514 };
15515
36ed4f51
RD
15516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
15517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15518 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15521 result = (bool)(arg1)->GetUseAntiAliasing();
d14a1e28
RD
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
36ed4f51
RD
15526 {
15527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15528 }
d14a1e28
RD
15529 return resultobj;
15530 fail:
15531 return NULL;
15532}
15533
15534
66af7a75 15535static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15536 PyObject *resultobj = NULL;
66af7a75
RD
15537 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15538 char *arg2 = (char *) 0 ;
15539 PyObject * obj0 = 0 ;
15540 PyObject * obj1 = 0 ;
15541 char *kwnames[] = {
15542 (char *) "self",(char *) "text", NULL
15543 };
15544
15545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) goto fail;
15546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15547 if (SWIG_arg_fail(1)) SWIG_fail;
15548 if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
15549 SWIG_arg_fail(2);SWIG_fail;
15550 }
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 (arg1)->AddTextRaw((char const *)arg2);
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 Py_INCREF(Py_None); resultobj = Py_None;
15559 return resultobj;
15560 fail:
15561 return NULL;
15562}
15563
15564
15565static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15566 PyObject *resultobj = NULL;
66af7a75
RD
15567 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15568 int arg2 ;
15569 char *arg3 = (char *) 0 ;
15570 PyObject * obj0 = 0 ;
15571 PyObject * obj1 = 0 ;
15572 PyObject * obj2 = 0 ;
15573 char *kwnames[] = {
15574 (char *) "self",(char *) "pos",(char *) "text", NULL
15575 };
15576
15577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) goto fail;
15578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15579 if (SWIG_arg_fail(1)) SWIG_fail;
15580 {
32fe5131 15581 arg2 = static_cast<int >(SWIG_As_int(obj1));
66af7a75
RD
15582 if (SWIG_arg_fail(2)) SWIG_fail;
15583 }
15584 if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) {
15585 SWIG_arg_fail(3);SWIG_fail;
15586 }
15587 {
15588 PyThreadState* __tstate = wxPyBeginAllowThreads();
15589 (arg1)->InsertTextRaw(arg2,(char const *)arg3);
15590
15591 wxPyEndAllowThreads(__tstate);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15594 Py_INCREF(Py_None); resultobj = Py_None;
15595 return resultobj;
15596 fail:
15597 return NULL;
15598}
15599
15600
15601static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15602 PyObject *resultobj = NULL;
66af7a75
RD
15603 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15604 int *arg2 = (int *) 0 ;
15605 wxCharBuffer result;
15606 int temp2 ;
15607 int res2 = 0 ;
15608 PyObject * obj0 = 0 ;
15609 char *kwnames[] = {
15610 (char *) "self", NULL
15611 };
15612
15613 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLineRaw",kwnames,&obj0)) goto fail;
15615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15616 if (SWIG_arg_fail(1)) SWIG_fail;
15617 {
15618 PyThreadState* __tstate = wxPyBeginAllowThreads();
15619 result = (arg1)->GetCurLineRaw(arg2);
15620
15621 wxPyEndAllowThreads(__tstate);
15622 if (PyErr_Occurred()) SWIG_fail;
15623 }
15624 {
15625 resultobj = PyString_FromString((char*)(&result)->data());
15626 }
15627 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15628 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15629 return resultobj;
15630 fail:
15631 return NULL;
15632}
15633
15634
15635static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15636 PyObject *resultobj = NULL;
66af7a75
RD
15637 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15638 int arg2 ;
15639 wxCharBuffer result;
15640 PyObject * obj0 = 0 ;
15641 PyObject * obj1 = 0 ;
15642 char *kwnames[] = {
15643 (char *) "self",(char *) "line", NULL
15644 };
15645
15646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) goto fail;
15647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15648 if (SWIG_arg_fail(1)) SWIG_fail;
15649 {
32fe5131 15650 arg2 = static_cast<int >(SWIG_As_int(obj1));
66af7a75
RD
15651 if (SWIG_arg_fail(2)) SWIG_fail;
15652 }
15653 {
15654 PyThreadState* __tstate = wxPyBeginAllowThreads();
15655 result = (arg1)->GetLineRaw(arg2);
15656
15657 wxPyEndAllowThreads(__tstate);
15658 if (PyErr_Occurred()) SWIG_fail;
15659 }
15660 {
15661 resultobj = PyString_FromString((char*)(&result)->data());
15662 }
15663 return resultobj;
15664 fail:
15665 return NULL;
15666}
15667
15668
15669static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15670 PyObject *resultobj = NULL;
66af7a75
RD
15671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15672 wxCharBuffer result;
15673 PyObject * obj0 = 0 ;
15674 char *kwnames[] = {
15675 (char *) "self", NULL
15676 };
15677
15678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedTextRaw",kwnames,&obj0)) goto fail;
15679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15680 if (SWIG_arg_fail(1)) SWIG_fail;
15681 {
15682 PyThreadState* __tstate = wxPyBeginAllowThreads();
15683 result = (arg1)->GetSelectedTextRaw();
15684
15685 wxPyEndAllowThreads(__tstate);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 }
15688 {
15689 resultobj = PyString_FromString((char*)(&result)->data());
15690 }
15691 return resultobj;
15692 fail:
15693 return NULL;
15694}
15695
15696
15697static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15698 PyObject *resultobj = NULL;
66af7a75
RD
15699 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15700 int arg2 ;
15701 int arg3 ;
15702 wxCharBuffer result;
15703 PyObject * obj0 = 0 ;
15704 PyObject * obj1 = 0 ;
15705 PyObject * obj2 = 0 ;
15706 char *kwnames[] = {
15707 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
15708 };
15709
15710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) goto fail;
15711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15712 if (SWIG_arg_fail(1)) SWIG_fail;
15713 {
32fe5131 15714 arg2 = static_cast<int >(SWIG_As_int(obj1));
66af7a75
RD
15715 if (SWIG_arg_fail(2)) SWIG_fail;
15716 }
15717 {
32fe5131 15718 arg3 = static_cast<int >(SWIG_As_int(obj2));
66af7a75
RD
15719 if (SWIG_arg_fail(3)) SWIG_fail;
15720 }
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 result = (arg1)->GetTextRangeRaw(arg2,arg3);
15724
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 {
15729 resultobj = PyString_FromString((char*)(&result)->data());
15730 }
15731 return resultobj;
15732 fail:
15733 return NULL;
15734}
15735
15736
15737static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15738 PyObject *resultobj = NULL;
66af7a75
RD
15739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15740 char *arg2 = (char *) 0 ;
15741 PyObject * obj0 = 0 ;
15742 PyObject * obj1 = 0 ;
15743 char *kwnames[] = {
15744 (char *) "self",(char *) "text", NULL
15745 };
15746
15747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) goto fail;
15748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15749 if (SWIG_arg_fail(1)) SWIG_fail;
15750 if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
15751 SWIG_arg_fail(2);SWIG_fail;
15752 }
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 (arg1)->SetTextRaw((char const *)arg2);
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 Py_INCREF(Py_None); resultobj = Py_None;
15761 return resultobj;
15762 fail:
15763 return NULL;
15764}
15765
15766
15767static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15768 PyObject *resultobj = NULL;
66af7a75
RD
15769 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15770 wxCharBuffer result;
15771 PyObject * obj0 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextRaw",kwnames,&obj0)) goto fail;
15777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15778 if (SWIG_arg_fail(1)) SWIG_fail;
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 result = (arg1)->GetTextRaw();
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 {
15787 resultobj = PyString_FromString((char*)(&result)->data());
15788 }
15789 return resultobj;
15790 fail:
15791 return NULL;
15792}
15793
15794
15795static PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15796 PyObject *resultobj = NULL;
66af7a75
RD
15797 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15798 char *arg2 = (char *) 0 ;
15799 PyObject * obj0 = 0 ;
15800 PyObject * obj1 = 0 ;
15801 char *kwnames[] = {
15802 (char *) "self",(char *) "text", NULL
15803 };
15804
15805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) goto fail;
15806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15807 if (SWIG_arg_fail(1)) SWIG_fail;
15808 if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
15809 SWIG_arg_fail(2);SWIG_fail;
15810 }
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 (arg1)->AppendTextRaw((char const *)arg2);
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 Py_INCREF(Py_None); resultobj = Py_None;
15819 return resultobj;
15820 fail:
15821 return NULL;
15822}
15823
15824
36ed4f51
RD
15825static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) {
15826 PyObject *obj;
15827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15828 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
15829 Py_INCREF(obj);
15830 return Py_BuildValue((char *)"");
15831}
15832static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15833 PyObject *resultobj = NULL;
36ed4f51
RD
15834 wxEventType arg1 = (wxEventType) 0 ;
15835 int arg2 = (int) 0 ;
15836 wxStyledTextEvent *result;
d14a1e28 15837 PyObject * obj0 = 0 ;
994141e6 15838 PyObject * obj1 = 0 ;
d14a1e28 15839 char *kwnames[] = {
36ed4f51 15840 (char *) "commandType",(char *) "id", NULL
d14a1e28
RD
15841 };
15842
36ed4f51
RD
15843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
15844 if (obj0) {
15845 {
32fe5131 15846 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
15847 if (SWIG_arg_fail(1)) SWIG_fail;
15848 }
15849 }
15850 if (obj1) {
15851 {
32fe5131 15852 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15853 if (SWIG_arg_fail(2)) SWIG_fail;
15854 }
15855 }
d14a1e28
RD
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15858 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
d14a1e28
RD
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
36ed4f51 15863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
d14a1e28
RD
15864 return resultobj;
15865 fail:
15866 return NULL;
15867}
15868
15869
36ed4f51 15870static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15871 PyObject *resultobj = NULL;
d14a1e28 15872 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
d14a1e28
RD
15873 PyObject * obj0 = 0 ;
15874 char *kwnames[] = {
36ed4f51 15875 (char *) "self", NULL
d14a1e28
RD
15876 };
15877
36ed4f51
RD
15878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
15879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15880 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15881 {
15882 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15883 delete arg1;
d14a1e28
RD
15884
15885 wxPyEndAllowThreads(__tstate);
15886 if (PyErr_Occurred()) SWIG_fail;
15887 }
15888 Py_INCREF(Py_None); resultobj = Py_None;
15889 return resultobj;
15890 fail:
15891 return NULL;
15892}
15893
15894
36ed4f51 15895static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15896 PyObject *resultobj = NULL;
d14a1e28 15897 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 15898 int arg2 ;
d14a1e28
RD
15899 PyObject * obj0 = 0 ;
15900 PyObject * obj1 = 0 ;
15901 char *kwnames[] = {
36ed4f51 15902 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
15903 };
15904
36ed4f51
RD
15905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15907 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 15908 {
32fe5131 15909 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51 15910 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15911 }
15912 {
15913 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15914 (arg1)->SetPosition(arg2);
d14a1e28
RD
15915
15916 wxPyEndAllowThreads(__tstate);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 }
15919 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15920 return resultobj;
15921 fail:
d14a1e28
RD
15922 return NULL;
15923}
15924
15925
36ed4f51 15926static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15927 PyObject *resultobj = NULL;
d14a1e28 15928 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 15929 int arg2 ;
d14a1e28
RD
15930 PyObject * obj0 = 0 ;
15931 PyObject * obj1 = 0 ;
15932 char *kwnames[] = {
36ed4f51 15933 (char *) "self",(char *) "k", NULL
d14a1e28
RD
15934 };
15935
36ed4f51
RD
15936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
15937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15938 if (SWIG_arg_fail(1)) SWIG_fail;
15939 {
32fe5131 15940 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15941 if (SWIG_arg_fail(2)) SWIG_fail;
15942 }
d14a1e28
RD
15943 {
15944 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15945 (arg1)->SetKey(arg2);
d14a1e28
RD
15946
15947 wxPyEndAllowThreads(__tstate);
15948 if (PyErr_Occurred()) SWIG_fail;
15949 }
15950 Py_INCREF(Py_None); resultobj = Py_None;
15951 return resultobj;
15952 fail:
15953 return NULL;
15954}
15955
15956
36ed4f51 15957static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15958 PyObject *resultobj = NULL;
d14a1e28 15959 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
96b3fa7c 15960 int arg2 ;
d14a1e28
RD
15961 PyObject * obj0 = 0 ;
15962 PyObject * obj1 = 0 ;
15963 char *kwnames[] = {
36ed4f51 15964 (char *) "self",(char *) "m", NULL
d14a1e28
RD
15965 };
15966
36ed4f51
RD
15967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
15968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15969 if (SWIG_arg_fail(1)) SWIG_fail;
15970 {
32fe5131 15971 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15972 if (SWIG_arg_fail(2)) SWIG_fail;
15973 }
d14a1e28
RD
15974 {
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15976 (arg1)->SetModifiers(arg2);
d14a1e28
RD
15977
15978 wxPyEndAllowThreads(__tstate);
15979 if (PyErr_Occurred()) SWIG_fail;
15980 }
15981 Py_INCREF(Py_None); resultobj = Py_None;
15982 return resultobj;
15983 fail:
15984 return NULL;
15985}
15986
15987
36ed4f51 15988static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15989 PyObject *resultobj = NULL;
d14a1e28 15990 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 15991 int arg2 ;
d14a1e28 15992 PyObject * obj0 = 0 ;
36ed4f51 15993 PyObject * obj1 = 0 ;
d14a1e28 15994 char *kwnames[] = {
36ed4f51 15995 (char *) "self",(char *) "t", NULL
d14a1e28
RD
15996 };
15997
36ed4f51
RD
15998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
15999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16000 if (SWIG_arg_fail(1)) SWIG_fail;
16001 {
32fe5131 16002 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16003 if (SWIG_arg_fail(2)) SWIG_fail;
16004 }
d14a1e28
RD
16005 {
16006 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16007 (arg1)->SetModificationType(arg2);
d14a1e28
RD
16008
16009 wxPyEndAllowThreads(__tstate);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
36ed4f51 16012 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16013 return resultobj;
16014 fail:
16015 return NULL;
16016}
16017
16018
36ed4f51 16019static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16020 PyObject *resultobj = NULL;
d14a1e28 16021 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51
RD
16022 wxString *arg2 = 0 ;
16023 bool temp2 = false ;
d14a1e28 16024 PyObject * obj0 = 0 ;
36ed4f51 16025 PyObject * obj1 = 0 ;
d14a1e28 16026 char *kwnames[] = {
36ed4f51 16027 (char *) "self",(char *) "t", NULL
d14a1e28
RD
16028 };
16029
36ed4f51
RD
16030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
16031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16032 if (SWIG_arg_fail(1)) SWIG_fail;
16033 {
16034 arg2 = wxString_in_helper(obj1);
16035 if (arg2 == NULL) SWIG_fail;
16036 temp2 = true;
16037 }
d14a1e28
RD
16038 {
16039 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16040 (arg1)->SetText((wxString const &)*arg2);
d14a1e28
RD
16041
16042 wxPyEndAllowThreads(__tstate);
16043 if (PyErr_Occurred()) SWIG_fail;
16044 }
36ed4f51
RD
16045 Py_INCREF(Py_None); resultobj = Py_None;
16046 {
16047 if (temp2)
16048 delete arg2;
16049 }
16050 return resultobj;
16051 fail:
16052 {
16053 if (temp2)
16054 delete arg2;
16055 }
d14a1e28
RD
16056 return NULL;
16057}
16058
16059
36ed4f51 16060static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16061 PyObject *resultobj = NULL;
d14a1e28 16062 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16063 int arg2 ;
d14a1e28 16064 PyObject * obj0 = 0 ;
36ed4f51 16065 PyObject * obj1 = 0 ;
d14a1e28 16066 char *kwnames[] = {
36ed4f51 16067 (char *) "self",(char *) "len", NULL
d14a1e28
RD
16068 };
16069
36ed4f51
RD
16070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
16071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16072 if (SWIG_arg_fail(1)) SWIG_fail;
16073 {
32fe5131 16074 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16075 if (SWIG_arg_fail(2)) SWIG_fail;
16076 }
d14a1e28
RD
16077 {
16078 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16079 (arg1)->SetLength(arg2);
d14a1e28
RD
16080
16081 wxPyEndAllowThreads(__tstate);
16082 if (PyErr_Occurred()) SWIG_fail;
16083 }
36ed4f51 16084 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16085 return resultobj;
16086 fail:
16087 return NULL;
16088}
16089
16090
36ed4f51 16091static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16092 PyObject *resultobj = NULL;
d14a1e28 16093 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16094 int arg2 ;
d14a1e28 16095 PyObject * obj0 = 0 ;
36ed4f51 16096 PyObject * obj1 = 0 ;
d14a1e28 16097 char *kwnames[] = {
36ed4f51 16098 (char *) "self",(char *) "num", NULL
d14a1e28
RD
16099 };
16100
36ed4f51
RD
16101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
16102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16103 if (SWIG_arg_fail(1)) SWIG_fail;
16104 {
32fe5131 16105 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16106 if (SWIG_arg_fail(2)) SWIG_fail;
16107 }
d14a1e28
RD
16108 {
16109 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16110 (arg1)->SetLinesAdded(arg2);
d14a1e28
RD
16111
16112 wxPyEndAllowThreads(__tstate);
16113 if (PyErr_Occurred()) SWIG_fail;
16114 }
36ed4f51 16115 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16116 return resultobj;
16117 fail:
16118 return NULL;
16119}
16120
16121
36ed4f51 16122static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16123 PyObject *resultobj = NULL;
d14a1e28 16124 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16125 int arg2 ;
d14a1e28 16126 PyObject * obj0 = 0 ;
36ed4f51 16127 PyObject * obj1 = 0 ;
d14a1e28 16128 char *kwnames[] = {
36ed4f51 16129 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16130 };
16131
36ed4f51
RD
16132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
16133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16134 if (SWIG_arg_fail(1)) SWIG_fail;
16135 {
32fe5131 16136 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16137 if (SWIG_arg_fail(2)) SWIG_fail;
16138 }
d14a1e28
RD
16139 {
16140 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16141 (arg1)->SetLine(arg2);
d14a1e28
RD
16142
16143 wxPyEndAllowThreads(__tstate);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
36ed4f51 16146 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16147 return resultobj;
16148 fail:
16149 return NULL;
16150}
16151
16152
36ed4f51 16153static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16154 PyObject *resultobj = NULL;
d14a1e28 16155 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16156 int arg2 ;
d14a1e28 16157 PyObject * obj0 = 0 ;
36ed4f51 16158 PyObject * obj1 = 0 ;
d14a1e28 16159 char *kwnames[] = {
36ed4f51 16160 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16161 };
16162
36ed4f51
RD
16163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
16164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16165 if (SWIG_arg_fail(1)) SWIG_fail;
16166 {
32fe5131 16167 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16168 if (SWIG_arg_fail(2)) SWIG_fail;
16169 }
d14a1e28
RD
16170 {
16171 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16172 (arg1)->SetFoldLevelNow(arg2);
d14a1e28
RD
16173
16174 wxPyEndAllowThreads(__tstate);
16175 if (PyErr_Occurred()) SWIG_fail;
16176 }
36ed4f51 16177 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16178 return resultobj;
16179 fail:
16180 return NULL;
16181}
16182
16183
36ed4f51 16184static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16185 PyObject *resultobj = NULL;
d14a1e28 16186 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16187 int arg2 ;
d14a1e28 16188 PyObject * obj0 = 0 ;
36ed4f51 16189 PyObject * obj1 = 0 ;
d14a1e28 16190 char *kwnames[] = {
36ed4f51 16191 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16192 };
16193
36ed4f51
RD
16194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
16195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16196 if (SWIG_arg_fail(1)) SWIG_fail;
16197 {
32fe5131 16198 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16199 if (SWIG_arg_fail(2)) SWIG_fail;
16200 }
d14a1e28
RD
16201 {
16202 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16203 (arg1)->SetFoldLevelPrev(arg2);
d14a1e28
RD
16204
16205 wxPyEndAllowThreads(__tstate);
16206 if (PyErr_Occurred()) SWIG_fail;
16207 }
36ed4f51 16208 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16209 return resultobj;
16210 fail:
16211 return NULL;
16212}
16213
16214
36ed4f51 16215static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16216 PyObject *resultobj = NULL;
d14a1e28 16217 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16218 int arg2 ;
d14a1e28 16219 PyObject * obj0 = 0 ;
36ed4f51 16220 PyObject * obj1 = 0 ;
d14a1e28 16221 char *kwnames[] = {
36ed4f51 16222 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16223 };
16224
36ed4f51
RD
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
16226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16227 if (SWIG_arg_fail(1)) SWIG_fail;
16228 {
32fe5131 16229 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16230 if (SWIG_arg_fail(2)) SWIG_fail;
16231 }
d14a1e28
RD
16232 {
16233 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16234 (arg1)->SetMargin(arg2);
d14a1e28
RD
16235
16236 wxPyEndAllowThreads(__tstate);
16237 if (PyErr_Occurred()) SWIG_fail;
16238 }
36ed4f51 16239 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16240 return resultobj;
16241 fail:
16242 return NULL;
16243}
16244
16245
36ed4f51 16246static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16247 PyObject *resultobj = NULL;
d14a1e28 16248 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16249 int arg2 ;
d14a1e28 16250 PyObject * obj0 = 0 ;
36ed4f51 16251 PyObject * obj1 = 0 ;
d14a1e28 16252 char *kwnames[] = {
36ed4f51 16253 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16254 };
16255
36ed4f51
RD
16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
16257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16258 if (SWIG_arg_fail(1)) SWIG_fail;
16259 {
32fe5131 16260 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16261 if (SWIG_arg_fail(2)) SWIG_fail;
16262 }
d14a1e28
RD
16263 {
16264 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16265 (arg1)->SetMessage(arg2);
d14a1e28
RD
16266
16267 wxPyEndAllowThreads(__tstate);
16268 if (PyErr_Occurred()) SWIG_fail;
16269 }
36ed4f51 16270 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16271 return resultobj;
16272 fail:
16273 return NULL;
16274}
16275
16276
36ed4f51 16277static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16278 PyObject *resultobj = NULL;
d14a1e28 16279 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16280 int arg2 ;
d14a1e28 16281 PyObject * obj0 = 0 ;
36ed4f51 16282 PyObject * obj1 = 0 ;
d14a1e28 16283 char *kwnames[] = {
36ed4f51 16284 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16285 };
16286
36ed4f51
RD
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
16288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail;
16290 {
32fe5131 16291 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16292 if (SWIG_arg_fail(2)) SWIG_fail;
16293 }
d14a1e28
RD
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16296 (arg1)->SetWParam(arg2);
d14a1e28
RD
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
36ed4f51 16301 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16302 return resultobj;
16303 fail:
16304 return NULL;
16305}
16306
16307
36ed4f51 16308static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16309 PyObject *resultobj = NULL;
d14a1e28 16310 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16311 int arg2 ;
d14a1e28 16312 PyObject * obj0 = 0 ;
36ed4f51 16313 PyObject * obj1 = 0 ;
d14a1e28 16314 char *kwnames[] = {
36ed4f51 16315 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16316 };
16317
36ed4f51
RD
16318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
16319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16320 if (SWIG_arg_fail(1)) SWIG_fail;
16321 {
32fe5131 16322 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16323 if (SWIG_arg_fail(2)) SWIG_fail;
16324 }
d14a1e28
RD
16325 {
16326 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16327 (arg1)->SetLParam(arg2);
d14a1e28
RD
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
36ed4f51 16332 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16333 return resultobj;
16334 fail:
16335 return NULL;
16336}
16337
16338
36ed4f51 16339static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16340 PyObject *resultobj = NULL;
d14a1e28 16341 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16342 int arg2 ;
d14a1e28 16343 PyObject * obj0 = 0 ;
36ed4f51 16344 PyObject * obj1 = 0 ;
d14a1e28 16345 char *kwnames[] = {
36ed4f51 16346 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16347 };
16348
36ed4f51
RD
16349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
16350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16351 if (SWIG_arg_fail(1)) SWIG_fail;
16352 {
32fe5131 16353 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16354 if (SWIG_arg_fail(2)) SWIG_fail;
16355 }
d14a1e28
RD
16356 {
16357 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16358 (arg1)->SetListType(arg2);
d14a1e28
RD
16359
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
36ed4f51 16363 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16364 return resultobj;
16365 fail:
16366 return NULL;
16367}
16368
16369
36ed4f51 16370static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16371 PyObject *resultobj = NULL;
d14a1e28 16372 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16373 int arg2 ;
d14a1e28 16374 PyObject * obj0 = 0 ;
36ed4f51 16375 PyObject * obj1 = 0 ;
d14a1e28 16376 char *kwnames[] = {
36ed4f51 16377 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16378 };
16379
36ed4f51
RD
16380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
16381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16382 if (SWIG_arg_fail(1)) SWIG_fail;
16383 {
32fe5131 16384 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16385 if (SWIG_arg_fail(2)) SWIG_fail;
16386 }
d14a1e28
RD
16387 {
16388 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16389 (arg1)->SetX(arg2);
d14a1e28
RD
16390
16391 wxPyEndAllowThreads(__tstate);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
36ed4f51 16394 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16395 return resultobj;
16396 fail:
16397 return NULL;
16398}
16399
16400
36ed4f51 16401static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16402 PyObject *resultobj = NULL;
d14a1e28 16403 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16404 int arg2 ;
d14a1e28 16405 PyObject * obj0 = 0 ;
36ed4f51 16406 PyObject * obj1 = 0 ;
d14a1e28 16407 char *kwnames[] = {
36ed4f51 16408 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16409 };
16410
36ed4f51
RD
16411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
16412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16413 if (SWIG_arg_fail(1)) SWIG_fail;
16414 {
32fe5131 16415 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16416 if (SWIG_arg_fail(2)) SWIG_fail;
16417 }
d14a1e28
RD
16418 {
16419 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16420 (arg1)->SetY(arg2);
d14a1e28
RD
16421
16422 wxPyEndAllowThreads(__tstate);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 }
36ed4f51 16425 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16426 return resultobj;
16427 fail:
16428 return NULL;
16429}
16430
16431
36ed4f51 16432static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16433 PyObject *resultobj = NULL;
d14a1e28 16434 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51
RD
16435 wxString *arg2 = 0 ;
16436 bool temp2 = false ;
d14a1e28 16437 PyObject * obj0 = 0 ;
36ed4f51 16438 PyObject * obj1 = 0 ;
d14a1e28 16439 char *kwnames[] = {
36ed4f51 16440 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16441 };
16442
36ed4f51
RD
16443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
16444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16445 if (SWIG_arg_fail(1)) SWIG_fail;
16446 {
16447 arg2 = wxString_in_helper(obj1);
16448 if (arg2 == NULL) SWIG_fail;
16449 temp2 = true;
16450 }
d14a1e28
RD
16451 {
16452 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16453 (arg1)->SetDragText((wxString const &)*arg2);
d14a1e28
RD
16454
16455 wxPyEndAllowThreads(__tstate);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 }
36ed4f51
RD
16458 Py_INCREF(Py_None); resultobj = Py_None;
16459 {
16460 if (temp2)
16461 delete arg2;
16462 }
d14a1e28
RD
16463 return resultobj;
16464 fail:
36ed4f51
RD
16465 {
16466 if (temp2)
16467 delete arg2;
16468 }
d14a1e28
RD
16469 return NULL;
16470}
16471
16472
36ed4f51 16473static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16474 PyObject *resultobj = NULL;
d14a1e28 16475 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16476 bool arg2 ;
d14a1e28 16477 PyObject * obj0 = 0 ;
36ed4f51 16478 PyObject * obj1 = 0 ;
d14a1e28 16479 char *kwnames[] = {
36ed4f51 16480 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16481 };
16482
36ed4f51
RD
16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
16484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16485 if (SWIG_arg_fail(1)) SWIG_fail;
16486 {
32fe5131 16487 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
16488 if (SWIG_arg_fail(2)) SWIG_fail;
16489 }
d14a1e28
RD
16490 {
16491 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16492 (arg1)->SetDragAllowMove(arg2);
d14a1e28
RD
16493
16494 wxPyEndAllowThreads(__tstate);
16495 if (PyErr_Occurred()) SWIG_fail;
16496 }
36ed4f51 16497 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16498 return resultobj;
16499 fail:
16500 return NULL;
16501}
16502
16503
36ed4f51 16504static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16505 PyObject *resultobj = NULL;
d14a1e28 16506 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16507 wxDragResult arg2 ;
d14a1e28 16508 PyObject * obj0 = 0 ;
36ed4f51 16509 PyObject * obj1 = 0 ;
d14a1e28 16510 char *kwnames[] = {
36ed4f51 16511 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16512 };
16513
36ed4f51
RD
16514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
16515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16516 if (SWIG_arg_fail(1)) SWIG_fail;
16517 {
32fe5131 16518 arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
36ed4f51
RD
16519 if (SWIG_arg_fail(2)) SWIG_fail;
16520 }
d14a1e28
RD
16521 {
16522 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 16523 (arg1)->SetDragResult(arg2);
d14a1e28
RD
16524
16525 wxPyEndAllowThreads(__tstate);
16526 if (PyErr_Occurred()) SWIG_fail;
16527 }
36ed4f51 16528 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16529 return resultobj;
16530 fail:
16531 return NULL;
16532}
16533
16534
36ed4f51 16535static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16536 PyObject *resultobj = NULL;
d14a1e28 16537 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16538 int result;
d14a1e28
RD
16539 PyObject * obj0 = 0 ;
16540 char *kwnames[] = {
16541 (char *) "self", NULL
16542 };
16543
36ed4f51
RD
16544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
16545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16546 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16549 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
d14a1e28
RD
16550
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 {
32fe5131 16555 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28
RD
16556 }
16557 return resultobj;
16558 fail:
16559 return NULL;
16560}
16561
16562
36ed4f51 16563static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16564 PyObject *resultobj = NULL;
d14a1e28 16565 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16566 int result;
d14a1e28
RD
16567 PyObject * obj0 = 0 ;
16568 char *kwnames[] = {
16569 (char *) "self", NULL
16570 };
16571
36ed4f51
RD
16572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
16573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16574 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16575 {
16576 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16577 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
d14a1e28
RD
16578
16579 wxPyEndAllowThreads(__tstate);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
4f89f6a3 16582 {
32fe5131 16583 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 16584 }
d14a1e28
RD
16585 return resultobj;
16586 fail:
16587 return NULL;
16588}
16589
16590
36ed4f51 16591static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16592 PyObject *resultobj = NULL;
d14a1e28 16593 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
96b3fa7c 16594 int result;
d14a1e28
RD
16595 PyObject * obj0 = 0 ;
16596 char *kwnames[] = {
16597 (char *) "self", NULL
16598 };
16599
36ed4f51
RD
16600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
16601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16602 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16603 {
16604 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16605 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
d14a1e28
RD
16606
16607 wxPyEndAllowThreads(__tstate);
16608 if (PyErr_Occurred()) SWIG_fail;
16609 }
36ed4f51 16610 {
32fe5131 16611 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16612 }
d14a1e28
RD
16613 return resultobj;
16614 fail:
16615 return NULL;
16616}
16617
16618
36ed4f51 16619static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16620 PyObject *resultobj = NULL;
d14a1e28 16621 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16622 int result;
d14a1e28
RD
16623 PyObject * obj0 = 0 ;
16624 char *kwnames[] = {
16625 (char *) "self", NULL
16626 };
16627
36ed4f51
RD
16628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
16629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16630 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16631 {
16632 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16633 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
d14a1e28
RD
16634
16635 wxPyEndAllowThreads(__tstate);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 }
4f89f6a3 16638 {
32fe5131 16639 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 16640 }
d14a1e28
RD
16641 return resultobj;
16642 fail:
16643 return NULL;
16644}
16645
16646
36ed4f51 16647static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16648 PyObject *resultobj = NULL;
d14a1e28 16649 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16650 wxString result;
d14a1e28
RD
16651 PyObject * obj0 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "self", NULL
16654 };
16655
36ed4f51
RD
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
16657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16658 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16659 {
16660 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16661 result = ((wxStyledTextEvent const *)arg1)->GetText();
d14a1e28
RD
16662
16663 wxPyEndAllowThreads(__tstate);
16664 if (PyErr_Occurred()) SWIG_fail;
16665 }
4f89f6a3 16666 {
36ed4f51
RD
16667#if wxUSE_UNICODE
16668 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16669#else
16670 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16671#endif
4f89f6a3 16672 }
d14a1e28
RD
16673 return resultobj;
16674 fail:
16675 return NULL;
16676}
16677
16678
36ed4f51 16679static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16680 PyObject *resultobj = NULL;
d14a1e28 16681 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16682 int result;
d14a1e28
RD
16683 PyObject * obj0 = 0 ;
16684 char *kwnames[] = {
16685 (char *) "self", NULL
16686 };
16687
36ed4f51
RD
16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
16689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16690 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16691 {
16692 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16693 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
d14a1e28
RD
16694
16695 wxPyEndAllowThreads(__tstate);
16696 if (PyErr_Occurred()) SWIG_fail;
16697 }
4f89f6a3 16698 {
32fe5131 16699 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 16700 }
d14a1e28
RD
16701 return resultobj;
16702 fail:
16703 return NULL;
16704}
16705
16706
36ed4f51 16707static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16708 PyObject *resultobj = NULL;
d14a1e28 16709 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16710 int result;
d14a1e28
RD
16711 PyObject * obj0 = 0 ;
16712 char *kwnames[] = {
16713 (char *) "self", NULL
16714 };
16715
36ed4f51
RD
16716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
16717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16718 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16719 {
16720 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16721 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
d14a1e28
RD
16722
16723 wxPyEndAllowThreads(__tstate);
16724 if (PyErr_Occurred()) SWIG_fail;
16725 }
36ed4f51 16726 {
32fe5131 16727 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16728 }
d14a1e28
RD
16729 return resultobj;
16730 fail:
16731 return NULL;
16732}
16733
16734
36ed4f51 16735static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16736 PyObject *resultobj = NULL;
36ed4f51
RD
16737 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16738 int result;
16739 PyObject * obj0 = 0 ;
16740 char *kwnames[] = {
16741 (char *) "self", NULL
16742 };
16743
16744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
16745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16746 if (SWIG_arg_fail(1)) SWIG_fail;
16747 {
16748 PyThreadState* __tstate = wxPyBeginAllowThreads();
16749 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
16750
16751 wxPyEndAllowThreads(__tstate);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 }
16754 {
32fe5131 16755 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
16756 }
16757 return resultobj;
16758 fail:
16759 return NULL;
d14a1e28 16760}
d14a1e28
RD
16761
16762
36ed4f51 16763static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16764 PyObject *resultobj = NULL;
36ed4f51
RD
16765 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16766 int result;
16767 PyObject * obj0 = 0 ;
16768 char *kwnames[] = {
16769 (char *) "self", NULL
16770 };
16771
16772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
16773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16774 if (SWIG_arg_fail(1)) SWIG_fail;
16775 {
16776 PyThreadState* __tstate = wxPyBeginAllowThreads();
16777 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
16778
16779 wxPyEndAllowThreads(__tstate);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 }
16782 {
32fe5131 16783 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
16784 }
16785 return resultobj;
16786 fail:
16787 return NULL;
d14a1e28 16788}
36ed4f51
RD
16789
16790
16791static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16792 PyObject *resultobj = NULL;
36ed4f51
RD
16793 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16794 int result;
16795 PyObject * obj0 = 0 ;
16796 char *kwnames[] = {
16797 (char *) "self", NULL
16798 };
16799
16800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
16801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16802 if (SWIG_arg_fail(1)) SWIG_fail;
16803 {
16804 PyThreadState* __tstate = wxPyBeginAllowThreads();
16805 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
16806
16807 wxPyEndAllowThreads(__tstate);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 {
32fe5131 16811 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
16812 }
16813 return resultobj;
16814 fail:
16815 return NULL;
d14a1e28 16816}
36ed4f51
RD
16817
16818
16819static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16820 PyObject *resultobj = NULL;
36ed4f51
RD
16821 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16822 int result;
16823 PyObject * obj0 = 0 ;
16824 char *kwnames[] = {
16825 (char *) "self", NULL
16826 };
16827
16828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
16829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16830 if (SWIG_arg_fail(1)) SWIG_fail;
16831 {
16832 PyThreadState* __tstate = wxPyBeginAllowThreads();
16833 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
16834
16835 wxPyEndAllowThreads(__tstate);
16836 if (PyErr_Occurred()) SWIG_fail;
16837 }
16838 {
32fe5131 16839 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
16840 }
16841 return resultobj;
16842 fail:
16843 return NULL;
d14a1e28 16844}
36ed4f51
RD
16845
16846
16847static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16848 PyObject *resultobj = NULL;
36ed4f51
RD
16849 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16850 int result;
16851 PyObject * obj0 = 0 ;
16852 char *kwnames[] = {
16853 (char *) "self", NULL
16854 };
16855
16856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
16857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16858 if (SWIG_arg_fail(1)) SWIG_fail;
16859 {
16860 PyThreadState* __tstate = wxPyBeginAllowThreads();
16861 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
16862
16863 wxPyEndAllowThreads(__tstate);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 {
32fe5131 16867 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
16868 }
16869 return resultobj;
16870 fail:
16871 return NULL;
d14a1e28 16872}
36ed4f51
RD
16873
16874
16875static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16876 PyObject *resultobj = NULL;
36ed4f51
RD
16877 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16878 int result;
16879 PyObject * obj0 = 0 ;
16880 char *kwnames[] = {
16881 (char *) "self", NULL
16882 };
16883
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
16885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16886 if (SWIG_arg_fail(1)) SWIG_fail;
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 {
32fe5131 16895 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
16896 }
16897 return resultobj;
16898 fail:
16899 return NULL;
d14a1e28 16900}
36ed4f51
RD
16901
16902
16903static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16904 PyObject *resultobj = NULL;
36ed4f51
RD
16905 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16906 int result;
16907 PyObject * obj0 = 0 ;
16908 char *kwnames[] = {
16909 (char *) "self", NULL
16910 };
16911
16912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
16913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16914 if (SWIG_arg_fail(1)) SWIG_fail;
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
16917 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
16918
16919 wxPyEndAllowThreads(__tstate);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 {
32fe5131 16923 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
16924 }
16925 return resultobj;
16926 fail:
16927 return NULL;
96b3fa7c 16928}
36ed4f51
RD
16929
16930
16931static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16932 PyObject *resultobj = NULL;
36ed4f51
RD
16933 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16934 int result;
16935 PyObject * obj0 = 0 ;
16936 char *kwnames[] = {
16937 (char *) "self", NULL
16938 };
16939
16940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
16941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16942 if (SWIG_arg_fail(1)) SWIG_fail;
16943 {
16944 PyThreadState* __tstate = wxPyBeginAllowThreads();
16945 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
16946
16947 wxPyEndAllowThreads(__tstate);
16948 if (PyErr_Occurred()) SWIG_fail;
16949 }
16950 {
32fe5131 16951 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
16952 }
16953 return resultobj;
16954 fail:
16955 return NULL;
d14a1e28 16956}
36ed4f51
RD
16957
16958
16959static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16960 PyObject *resultobj = NULL;
36ed4f51
RD
16961 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16962 int result;
16963 PyObject * obj0 = 0 ;
16964 char *kwnames[] = {
16965 (char *) "self", NULL
16966 };
16967
16968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
16969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16970 if (SWIG_arg_fail(1)) SWIG_fail;
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 {
32fe5131 16979 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
16980 }
16981 return resultobj;
16982 fail:
16983 return NULL;
0df68c9f 16984}
36ed4f51
RD
16985
16986
16987static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16988 PyObject *resultobj = NULL;
36ed4f51
RD
16989 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16990 int result;
16991 PyObject * obj0 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "self", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
16997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16998 if (SWIG_arg_fail(1)) SWIG_fail;
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 {
32fe5131 17007 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
17008 }
17009 return resultobj;
17010 fail:
17011 return NULL;
d14a1e28 17012}
36ed4f51
RD
17013
17014
17015static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17016 PyObject *resultobj = NULL;
36ed4f51
RD
17017 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17018 wxString result;
17019 PyObject * obj0 = 0 ;
17020 char *kwnames[] = {
17021 (char *) "self", NULL
17022 };
17023
17024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
17025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17026 if (SWIG_arg_fail(1)) SWIG_fail;
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
17029 result = (arg1)->GetDragText();
17030
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 {
17035#if wxUSE_UNICODE
17036 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17037#else
17038 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17039#endif
17040 }
17041 return resultobj;
17042 fail:
17043 return NULL;
d14a1e28 17044}
36ed4f51
RD
17045
17046
17047static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17048 PyObject *resultobj = NULL;
36ed4f51
RD
17049 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17050 bool result;
17051 PyObject * obj0 = 0 ;
17052 char *kwnames[] = {
17053 (char *) "self", NULL
17054 };
17055
17056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
17057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17058 if (SWIG_arg_fail(1)) SWIG_fail;
17059 {
17060 PyThreadState* __tstate = wxPyBeginAllowThreads();
17061 result = (bool)(arg1)->GetDragAllowMove();
17062
17063 wxPyEndAllowThreads(__tstate);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
17066 {
17067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17068 }
17069 return resultobj;
17070 fail:
17071 return NULL;
d14a1e28 17072}
36ed4f51
RD
17073
17074
17075static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17076 PyObject *resultobj = NULL;
36ed4f51
RD
17077 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17078 wxDragResult result;
17079 PyObject * obj0 = 0 ;
17080 char *kwnames[] = {
17081 (char *) "self", NULL
17082 };
17083
17084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
17085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail;
17087 {
17088 PyThreadState* __tstate = wxPyBeginAllowThreads();
17089 result = (wxDragResult)(arg1)->GetDragResult();
17090
17091 wxPyEndAllowThreads(__tstate);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
17094 resultobj = SWIG_From_int((result));
17095 return resultobj;
17096 fail:
17097 return NULL;
d14a1e28 17098}
36ed4f51
RD
17099
17100
17101static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17102 PyObject *resultobj = NULL;
36ed4f51
RD
17103 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17104 bool result;
17105 PyObject * obj0 = 0 ;
17106 char *kwnames[] = {
17107 (char *) "self", NULL
17108 };
17109
17110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
17111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17112 if (SWIG_arg_fail(1)) SWIG_fail;
17113 {
17114 PyThreadState* __tstate = wxPyBeginAllowThreads();
17115 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
17116
17117 wxPyEndAllowThreads(__tstate);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 }
17120 {
17121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17122 }
17123 return resultobj;
17124 fail:
17125 return NULL;
d14a1e28 17126}
36ed4f51
RD
17127
17128
17129static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17130 PyObject *resultobj = NULL;
36ed4f51
RD
17131 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17132 bool result;
17133 PyObject * obj0 = 0 ;
17134 char *kwnames[] = {
17135 (char *) "self", NULL
17136 };
17137
17138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
17139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17140 if (SWIG_arg_fail(1)) SWIG_fail;
17141 {
17142 PyThreadState* __tstate = wxPyBeginAllowThreads();
17143 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
17144
17145 wxPyEndAllowThreads(__tstate);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 }
17148 {
17149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17150 }
17151 return resultobj;
17152 fail:
17153 return NULL;
d14a1e28 17154}
36ed4f51
RD
17155
17156
17157static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17158 PyObject *resultobj = NULL;
36ed4f51
RD
17159 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17160 bool result;
17161 PyObject * obj0 = 0 ;
17162 char *kwnames[] = {
17163 (char *) "self", NULL
17164 };
17165
17166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
17167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17168 if (SWIG_arg_fail(1)) SWIG_fail;
17169 {
17170 PyThreadState* __tstate = wxPyBeginAllowThreads();
17171 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
17172
17173 wxPyEndAllowThreads(__tstate);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 }
17176 {
17177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17178 }
17179 return resultobj;
17180 fail:
17181 return NULL;
96b3fa7c 17182}
36ed4f51
RD
17183
17184
17185static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17186 PyObject *resultobj = NULL;
36ed4f51
RD
17187 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17188 wxEvent *result;
17189 PyObject * obj0 = 0 ;
17190 char *kwnames[] = {
17191 (char *) "self", NULL
17192 };
17193
17194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
17195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17196 if (SWIG_arg_fail(1)) SWIG_fail;
17197 {
17198 PyThreadState* __tstate = wxPyBeginAllowThreads();
17199 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
17200
17201 wxPyEndAllowThreads(__tstate);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 }
17204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
17205 return resultobj;
17206 fail:
17207 return NULL;
17208}
17209
17210
17211static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) {
17212 PyObject *obj;
17213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17214 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
17215 Py_INCREF(obj);
17216 return Py_BuildValue((char *)"");
17217}
17218static PyMethodDef SwigMethods[] = {
17219 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
17220 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
17221 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17222 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
17223 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
17224 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
17225 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
17226 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17227 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17228 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
17229 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
17230 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17231 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
17232 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
17233 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
17234 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
17235 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL},
17236 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
17237 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
17238 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
17239 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
17240 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
17241 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
17242 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
17243 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
17244 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
17245 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
17246 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
17247 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17248 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL},
17249 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL},
17250 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
17251 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
17252 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
17253 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
17254 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
17255 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17256 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17257 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17258 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17259 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
17260 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
17261 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17262 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17263 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
17264 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
17265 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
17266 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
17267 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
17268 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
17269 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
17270 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
17271 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
17272 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17273 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17274 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
17275 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
17276 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
17277 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
17278 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
17279 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17280 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17281 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
17282 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
17283 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
17284 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
17285 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
17286 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
17287 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
17288 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
17289 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
17290 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17291 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17292 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17293 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
17294 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
17295 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
17296 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
17297 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17298 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
17299 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
17300 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
17301 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
17302 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
17303 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17304 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17305 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17306 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17307 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17308 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17309 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
17310 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
17311 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
17312 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
17313 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL},
17314 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17315 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17316 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
17317 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
17318 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
17319 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
17320 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL},
17321 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL},
17322 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL},
17323 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL},
17324 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
17325 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17326 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17327 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
17328 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
17329 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
17330 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
17331 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
17332 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
17333 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
17334 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
17335 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
17336 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
17337 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
17338 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
17339 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
17340 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
17341 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL},
17342 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17343 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17344 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17345 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17346 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
17347 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
17348 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
17349 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
17350 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17351 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17352 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17353 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17354 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
17355 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
17356 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
17357 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
17358 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17359 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
17360 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17361 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
17362 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
17363 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
17364 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
17365 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17366 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17367 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
17368 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
17369 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
17370 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
17371 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
17372 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
17373 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
17374 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17375 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
17376 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17377 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17378 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
17379 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
17380 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL},
17381 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17382 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL},
17383 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
17384 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17385 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17386 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
17387 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
17388 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17389 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17390 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
17391 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
17392 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
17393 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
17394 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
17395 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
17396 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
17397 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
17398 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
17399 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
17400 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
17401 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
17402 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
17403 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
17404 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17405 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17406 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17407 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17408 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17409 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17410 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
17411 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
17412 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
17413 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17414 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17415 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
17416 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL},
17417 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL},
17418 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
17419 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17420 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17421 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17422 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17423 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
17424 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17425 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
17426 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
17427 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
17428 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
17429 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
17430 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
17431 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17432 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
17433 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
17434 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
17435 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17436 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17437 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17438 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17439 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17440 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17441 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17442 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
17443 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
17444 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17445 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17446 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17447 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17448 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17449 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17450 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
17451 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
17452 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17453 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17454 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
17455 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
17456 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17457 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17458 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17459 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
17460 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
17461 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
17462 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17463 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17464 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
17465 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17466 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17467 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17468 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL},
17469 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
17470 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
17471 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
17472 { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL},
17473 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17474 { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL},
17475 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17476 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17477 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17478 { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL},
17479 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17480 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17481 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17482 { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL},
17483 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17484 { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL},
17485 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17486 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17487 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17488 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL},
17489 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17490 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17491 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17492 { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
17493 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17494 { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
17495 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17496 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
17497 { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL},
17498 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL},
17499 { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL},
17500 { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL},
17501 { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL},
17502 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL},
17503 { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL},
17504 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17505 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL},
17506 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL},
17507 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17508 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL},
17509 { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL},
17510 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL},
17511 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL},
17512 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL},
17513 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL},
17514 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL},
17515 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL},
17516 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL},
17517 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL},
17518 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
17519 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17520 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
17521 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17522 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17523 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17524 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17525 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17526 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17527 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17528 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL},
17529 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL},
17530 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
17531 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17532 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
17533 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
17534 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
17535 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
17536 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
17537 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
17538 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
17539 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17540 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17541 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
17542 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
17543 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
17544 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
17545 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17546 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
17547 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17548 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
17549 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
17550 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
17551 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
17552 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
17553 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17554 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17555 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17556 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
17557 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
17558 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
17559 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
17560 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
17561 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
17562 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
17563 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17564 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17565 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
17566 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
17567 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17568 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17569 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL},
17570 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17571 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17572 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17573 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL},
17574 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
17575 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
17576 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL},
17577 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17578 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17579 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17580 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17581 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17582 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17583 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
17584 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
17585 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL},
17586 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17587 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL},
17588 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17589 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17590 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
17591 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
17592 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
17593 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
17594 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
17595 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17596 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17597 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17598 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17599 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17600 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17601 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17602 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17603 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17604 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17605 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17606 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL},
17607 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17608 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL},
17609 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17610 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17611 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17612 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17613 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17614 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
17615 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
17616 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
17617 { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 17618 { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
17619 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17620 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17621 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
17622 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
17623 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
17624 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
17625 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
17626 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
17627 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL},
17628 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
17629 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
17630 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
a1b6e73b
RD
17631 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
17632 { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
17633 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
17634 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17635 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17636 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17637 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
17638 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17639 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
17640 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17641 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17642 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
17643 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
17644 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
17645 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17646 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
17647 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
17648 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
17649 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
66af7a75
RD
17650 { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17651 { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17652 { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetCurLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17653 { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17654 { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17655 { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17656 { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17657 { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17658 { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
17659 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
17660 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17661 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17662 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17663 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
17664 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
17665 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
17666 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
17667 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17668 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
17669 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17670 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
17671 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17672 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
17673 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
17674 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
17675 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
17676 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
17677 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
17678 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
17679 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
17680 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
17681 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
17682 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17683 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL},
17684 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
17685 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
17686 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
17687 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17688 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
17689 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17690 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
17691 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17692 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
17693 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
17694 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
17695 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
17696 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL},
17697 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
17698 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
17699 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
17700 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
17701 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
17702 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL},
17703 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
17704 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL},
17705 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
17706 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
17707 { NULL, NULL, 0, NULL }
17708};
17709
17710
17711/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17712
17713static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
17714 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
17715}
17716static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
17717 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
17718}
17719static void *_p_wxSizerItemTo_p_wxObject(void *x) {
17720 return (void *)((wxObject *) ((wxSizerItem *) x));
17721}
17722static void *_p_wxScrollEventTo_p_wxObject(void *x) {
17723 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
17724}
17725static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
17726 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
17727}
17728static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
17729 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
17730}
17731static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
17732 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
17733}
17734static void *_p_wxSizerTo_p_wxObject(void *x) {
17735 return (void *)((wxObject *) ((wxSizer *) x));
17736}
17737static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
17738 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
17739}
17740static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
17741 return (void *)((wxObject *) ((wxFileHistory *) x));
17742}
17743static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
17744 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
17745}
17746static void *_p_wxEventTo_p_wxObject(void *x) {
17747 return (void *)((wxObject *) ((wxEvent *) x));
17748}
17749static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
17750 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
17751}
17752static void *_p_wxGridSizerTo_p_wxObject(void *x) {
17753 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
17754}
17755static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
17756 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
17757}
17758static void *_p_wxPaintEventTo_p_wxObject(void *x) {
17759 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
17760}
17761static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
17762 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
17763}
17764static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
17765 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
17766}
17767static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
17768 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
17769}
17770static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
17771 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
17772}
17773static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
17774 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17775}
17776static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
17777 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
17778}
17779static void *_p_wxControlTo_p_wxObject(void *x) {
17780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
17781}
17782static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
17783 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
17784}
17785static void *_p_wxTimerEventTo_p_wxObject(void *x) {
17786 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
17787}
17788static void *_p_wxFSFileTo_p_wxObject(void *x) {
d14a1e28
RD
17789 return (void *)((wxObject *) ((wxFSFile *) x));
17790}
96b3fa7c
RD
17791static void *_p_wxClipboardTo_p_wxObject(void *x) {
17792 return (void *)((wxObject *) ((wxClipboard *) x));
17793}
d14a1e28
RD
17794static void *_p_wxPySizerTo_p_wxObject(void *x) {
17795 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
17796}
17797static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
17798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
17799}
17800static void *_p_wxPyEventTo_p_wxObject(void *x) {
17801 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
17802}
17803static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
17804 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
17805}
17806static void *_p_wxShowEventTo_p_wxObject(void *x) {
17807 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
17808}
96b3fa7c
RD
17809static void *_p_wxToolTipTo_p_wxObject(void *x) {
17810 return (void *)((wxObject *) ((wxToolTip *) x));
17811}
d14a1e28
RD
17812static void *_p_wxMenuItemTo_p_wxObject(void *x) {
17813 return (void *)((wxObject *) ((wxMenuItem *) x));
17814}
53aa7709
RD
17815static void *_p_wxDateEventTo_p_wxObject(void *x) {
17816 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
17817}
d14a1e28
RD
17818static void *_p_wxIdleEventTo_p_wxObject(void *x) {
17819 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
17820}
17821static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
17822 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
17823}
17824static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
17825 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
17826}
17827static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
17828 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
17829}
17830static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
17831 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
17832}
17833static void *_p_wxSizeEventTo_p_wxObject(void *x) {
17834 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
17835}
17836static void *_p_wxMoveEventTo_p_wxObject(void *x) {
17837 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
17838}
17839static void *_p_wxActivateEventTo_p_wxObject(void *x) {
17840 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
17841}
d14a1e28
RD
17842static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
17843 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
17844}
17845static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
17846 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
17847}
17848static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
17849 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
17850}
17851static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
17852 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
17853}
17854static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
17855 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
17856}
17857static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
17858 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
17859}
17860static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
17861 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
17862}
17863static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
17864 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
17865}
17866static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
17867 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
17868}
943e8dfd
RD
17869static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
17870 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
17871}
d14a1e28
RD
17872static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
17873 return (void *)((wxObject *) ((wxImageHandler *) x));
17874}
943e8dfd
RD
17875static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
17876 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
17877}
d14a1e28
RD
17878static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
17879 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
17880}
17881static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
17882 return (void *)((wxObject *) ((wxEvtHandler *) x));
17883}
51b83b37
RD
17884static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
17885 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
17886}
0df68c9f
RD
17887static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
17888 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
17889}
d14a1e28
RD
17890static void *_p_wxImageTo_p_wxObject(void *x) {
17891 return (void *)((wxObject *) ((wxImage *) x));
17892}
17893static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
17894 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
17895}
96b3fa7c
RD
17896static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
17897 return (void *)((wxObject *) ((wxSystemOptions *) x));
17898}
17899static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
17900 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
17901}
d14a1e28
RD
17902static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
17903 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17904}
17905static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
17906 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
17907}
17908static void *_p_wxKeyEventTo_p_wxObject(void *x) {
17909 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
17910}
17911static void *_p_wxWindowTo_p_wxObject(void *x) {
17912 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
17913}
17914static void *_p_wxMenuTo_p_wxObject(void *x) {
17915 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
17916}
17917static void *_p_wxMenuBarTo_p_wxObject(void *x) {
17918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
17919}
96b3fa7c
RD
17920static void *_p_wxPyProcessTo_p_wxObject(void *x) {
17921 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
17922}
d14a1e28
RD
17923static void *_p_wxFileSystemTo_p_wxObject(void *x) {
17924 return (void *)((wxObject *) ((wxFileSystem *) x));
17925}
17926static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
17927 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
17928}
17929static void *_p_wxMenuEventTo_p_wxObject(void *x) {
17930 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
17931}
17932static void *_p_wxPyAppTo_p_wxObject(void *x) {
17933 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
17934}
17935static void *_p_wxCloseEventTo_p_wxObject(void *x) {
17936 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
17937}
17938static void *_p_wxMouseEventTo_p_wxObject(void *x) {
17939 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
17940}
17941static void *_p_wxEraseEventTo_p_wxObject(void *x) {
17942 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
17943}
96b3fa7c
RD
17944static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
17945 return (void *)((wxObject *) ((wxBusyInfo *) x));
17946}
d14a1e28
RD
17947static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
17948 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
17949}
17950static void *_p_wxCommandEventTo_p_wxObject(void *x) {
17951 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
17952}
17953static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
17954 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
17955}
17956static void *_p_wxFocusEventTo_p_wxObject(void *x) {
17957 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
17958}
17959static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
17960 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
17961}
96b3fa7c
RD
17962static void *_p_wxProcessEventTo_p_wxObject(void *x) {
17963 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
17964}
d14a1e28
RD
17965static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
17966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17967}
17968static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
17969 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
17970}
17971static void *_p_wxValidatorTo_p_wxObject(void *x) {
17972 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
17973}
96b3fa7c
RD
17974static void *_p_wxPyTimerTo_p_wxObject(void *x) {
17975 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
17976}
d14a1e28
RD
17977static void *_p_wxControlTo_p_wxWindow(void *x) {
17978 return (void *)((wxWindow *) ((wxControl *) x));
17979}
17980static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
17981 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
17982}
17983static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
17984 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
17985}
17986static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
17987 return (void *)((wxWindow *) ((wxMenuBar *) x));
17988}
17989static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17990 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17991}
17992static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17993 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17994}
17995static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17996 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17997}
53aa7709
RD
17998static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
17999 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
18000}
d14a1e28
RD
18001static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
18002 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
18003}
18004static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
18005 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
18006}
18007static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
18008 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18009}
18010static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
18011 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
18012}
18013static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
18014 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
18015}
18016static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
18017 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
18018}
18019static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
18020 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
18021}
18022static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
18023 return (void *)((wxEvtHandler *) ((wxWindow *) x));
18024}
18025static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
18026 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18027}
18028static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
18029 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
18030}
96b3fa7c
RD
18031static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
18032 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
18033}
d14a1e28
RD
18034static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
18035 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
18036}
18037static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
18038 return (void *)((wxEvtHandler *) ((wxValidator *) x));
18039}
18040static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
18041 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
18042}
18043static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
18044 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
18045}
18046static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
18047 return (void *)((wxEvtHandler *) ((wxMenu *) x));
18048}
96b3fa7c
RD
18049static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
18050 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
18051}
d14a1e28
RD
18052static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
18053 return (void *)((wxControl *) ((wxControlWithItems *) x));
18054}
18055static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
18056 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
18057}
18058static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
18059 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
18060}
18061static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
18062 return (void *)((wxEvent *) ((wxMenuEvent *) x));
18063}
18064static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
18065 return (void *)((wxEvent *) ((wxCloseEvent *) x));
18066}
18067static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
18068 return (void *)((wxEvent *) ((wxMouseEvent *) x));
18069}
18070static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
18071 return (void *)((wxEvent *) ((wxEraseEvent *) x));
18072}
18073static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
18074 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
18075}
96b3fa7c
RD
18076static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
18077 return (void *)((wxEvent *) ((wxTimerEvent *) x));
18078}
d14a1e28
RD
18079static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
18080 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
18081}
18082static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
18083 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
18084}
18085static void *_p_wxPyEventTo_p_wxEvent(void *x) {
18086 return (void *)((wxEvent *) ((wxPyEvent *) x));
18087}
18088static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
18089 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
18090}
96b3fa7c
RD
18091static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
18092 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
18093}
d14a1e28
RD
18094static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
18095 return (void *)((wxEvent *) ((wxIdleEvent *) x));
18096}
18097static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
18098 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
18099}
18100static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
18101 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
18102}
18103static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
18104 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
18105}
18106static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
18107 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
18108}
18109static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
18110 return (void *)((wxEvent *) ((wxActivateEvent *) x));
18111}
18112static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
18113 return (void *)((wxEvent *) ((wxSizeEvent *) x));
18114}
18115static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
18116 return (void *)((wxEvent *) ((wxMoveEvent *) x));
18117}
53aa7709
RD
18118static void *_p_wxDateEventTo_p_wxEvent(void *x) {
18119 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
18120}
d14a1e28
RD
18121static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
18122 return (void *)((wxEvent *) ((wxPaintEvent *) x));
18123}
18124static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
18125 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
18126}
18127static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
18128 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
18129}
18130static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
18131 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
18132}
18133static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
18134 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
18135}
18136static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
18137 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
18138}
18139static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
18140 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18141}
18142static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
18143 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
18144}
18145static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
18146 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
18147}
18148static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
18149 return (void *)((wxEvent *) ((wxFocusEvent *) x));
18150}
18151static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
18152 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
18153}
96b3fa7c
RD
18154static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
18155 return (void *)((wxEvent *) ((wxProcessEvent *) x));
18156}
d14a1e28
RD
18157static void *_p_wxShowEventTo_p_wxEvent(void *x) {
18158 return (void *)((wxEvent *) ((wxShowEvent *) x));
18159}
18160static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
18161 return (void *)((wxEvent *) ((wxCommandEvent *) x));
18162}
18163static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
18164 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
18165}
18166static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
18167 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18168}
18169static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
18170 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
18171}
18172static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
18173 return (void *)((wxEvent *) ((wxKeyEvent *) x));
18174}
18175static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
18176 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
18177}
32fe5131
RD
18178static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
18179static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
18180static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
18181static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
18182static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
18183static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
18184static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
18185static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
18186static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
18187static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
18188static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
18189static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
18190static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
18191static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
18192static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
18193static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
18194static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
18195static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0};
18196static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
18197static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
18198static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
18199static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
18200static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
18201static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
18202static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
18203static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
18204static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
18205static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
18206static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
18207static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", 0, 0, 0, 0};
18208static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
18209static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
18210static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", 0, 0, 0, 0};
18211static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
18212static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
18213static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
18214static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
18215static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
18216static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
18217static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
18218static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
18219static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
18220static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
18221static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
18222static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
18223static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
18224static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
18225static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
18226static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", 0, 0, 0, 0};
18227static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
18228static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
18229static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
18230static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
18231static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
18232static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
18233static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0};
18234static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
18235static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
18236static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
18237static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
18238static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0};
18239static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
18240static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, 0};
18241static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
18242static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
18243static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
18244static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
18245static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
18246static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
18247static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
18248static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
18249static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
18250static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", 0, 0, 0, 0};
18251static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
18252static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
18253static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
18254static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0};
18255static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
18256static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0};
18257static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
18258static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
18259static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
18260static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
18261static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
18262static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
18263static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
18264static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
18265static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
18266static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
18267static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
18268static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
18269static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
18270static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
18271static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
18272static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
18273static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
18274static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0};
18275static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
18276static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0};
18277static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
18278static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
18279static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
18280static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
18281static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, 0};
18282static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, 0};
18283static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
18284static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
18285static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
18286static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
18287
18288static swig_type_info *swig_type_initial[] = {
18289 &_swigt__p_char,
18290 &_swigt__p_form_ops_t,
18291 &_swigt__p_int,
18292 &_swigt__p_unsigned_char,
18293 &_swigt__p_unsigned_int,
18294 &_swigt__p_unsigned_long,
18295 &_swigt__p_void,
18296 &_swigt__p_wxANIHandler,
18297 &_swigt__p_wxAcceleratorTable,
18298 &_swigt__p_wxActivateEvent,
18299 &_swigt__p_wxBMPHandler,
18300 &_swigt__p_wxBitmap,
18301 &_swigt__p_wxBoxSizer,
18302 &_swigt__p_wxBusyInfo,
18303 &_swigt__p_wxCURHandler,
18304 &_swigt__p_wxChildFocusEvent,
18305 &_swigt__p_wxClipboard,
18306 &_swigt__p_wxCloseEvent,
18307 &_swigt__p_wxColour,
18308 &_swigt__p_wxCommandEvent,
18309 &_swigt__p_wxContextMenuEvent,
18310 &_swigt__p_wxControl,
18311 &_swigt__p_wxControlWithItems,
18312 &_swigt__p_wxDC,
18313 &_swigt__p_wxDateEvent,
18314 &_swigt__p_wxDisplayChangedEvent,
18315 &_swigt__p_wxDropFilesEvent,
18316 &_swigt__p_wxDuplexMode,
18317 &_swigt__p_wxEraseEvent,
18318 &_swigt__p_wxEvent,
18319 &_swigt__p_wxEvtHandler,
18320 &_swigt__p_wxFSFile,
18321 &_swigt__p_wxFileHistory,
18322 &_swigt__p_wxFileSystem,
18323 &_swigt__p_wxFlexGridSizer,
18324 &_swigt__p_wxFocusEvent,
18325 &_swigt__p_wxFont,
18326 &_swigt__p_wxGBSizerItem,
18327 &_swigt__p_wxGIFHandler,
18328 &_swigt__p_wxGridBagSizer,
18329 &_swigt__p_wxGridSizer,
18330 &_swigt__p_wxICOHandler,
18331 &_swigt__p_wxIconizeEvent,
18332 &_swigt__p_wxIdleEvent,
18333 &_swigt__p_wxImage,
18334 &_swigt__p_wxImageHandler,
18335 &_swigt__p_wxIndividualLayoutConstraint,
18336 &_swigt__p_wxInitDialogEvent,
18337 &_swigt__p_wxJPEGHandler,
18338 &_swigt__p_wxJoystickEvent,
18339 &_swigt__p_wxKeyEvent,
18340 &_swigt__p_wxLayoutConstraints,
18341 &_swigt__p_wxMaximizeEvent,
18342 &_swigt__p_wxMemoryBuffer,
18343 &_swigt__p_wxMenu,
18344 &_swigt__p_wxMenuBar,
18345 &_swigt__p_wxMenuEvent,
18346 &_swigt__p_wxMenuItem,
18347 &_swigt__p_wxMouseCaptureChangedEvent,
18348 &_swigt__p_wxMouseEvent,
18349 &_swigt__p_wxMoveEvent,
18350 &_swigt__p_wxNavigationKeyEvent,
18351 &_swigt__p_wxNcPaintEvent,
18352 &_swigt__p_wxNotifyEvent,
18353 &_swigt__p_wxObject,
18354 &_swigt__p_wxPCXHandler,
18355 &_swigt__p_wxPNGHandler,
18356 &_swigt__p_wxPNMHandler,
18357 &_swigt__p_wxPaintEvent,
18358 &_swigt__p_wxPaletteChangedEvent,
18359 &_swigt__p_wxPaperSize,
18360 &_swigt__p_wxPoint,
18361 &_swigt__p_wxProcessEvent,
18362 &_swigt__p_wxPyApp,
18363 &_swigt__p_wxPyCommandEvent,
18364 &_swigt__p_wxPyEvent,
18365 &_swigt__p_wxPyImageHandler,
18366 &_swigt__p_wxPyProcess,
18367 &_swigt__p_wxPySizer,
18368 &_swigt__p_wxPyTimer,
18369 &_swigt__p_wxPyValidator,
18370 &_swigt__p_wxQueryNewPaletteEvent,
18371 &_swigt__p_wxRect,
18372 &_swigt__p_wxScrollBar,
18373 &_swigt__p_wxScrollEvent,
18374 &_swigt__p_wxScrollWinEvent,
18375 &_swigt__p_wxSetCursorEvent,
18376 &_swigt__p_wxShowEvent,
18377 &_swigt__p_wxSizeEvent,
18378 &_swigt__p_wxSizer,
18379 &_swigt__p_wxSizerItem,
18380 &_swigt__p_wxStaticBoxSizer,
18381 &_swigt__p_wxStdDialogButtonSizer,
18382 &_swigt__p_wxStyledTextCtrl,
18383 &_swigt__p_wxStyledTextEvent,
18384 &_swigt__p_wxSysColourChangedEvent,
18385 &_swigt__p_wxSystemOptions,
18386 &_swigt__p_wxTIFFHandler,
18387 &_swigt__p_wxTimerEvent,
18388 &_swigt__p_wxToolTip,
18389 &_swigt__p_wxUpdateUIEvent,
18390 &_swigt__p_wxValidator,
18391 &_swigt__p_wxWindow,
18392 &_swigt__p_wxWindowCreateEvent,
18393 &_swigt__p_wxWindowDestroyEvent,
18394 &_swigt__p_wxXPMHandler,
18395 &_swigt__ptrdiff_t,
18396 &_swigt__std__ptrdiff_t,
18397 &_swigt__unsigned_int,
18398};
18399
18400static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
18401static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
18402static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
18403static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
18404static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
18405static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
18406static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
18407static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
18408static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
18409static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
18410static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
18411static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
18412static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
18413static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
18414static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
18415static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
18416static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
18417static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
18418static 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}};
18419static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
18420static 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}};
18421static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
18422static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
18423static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
18424static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
18425static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
18426static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
18427static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
18428static swig_cast_info _swigc__p_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
18429static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
18430static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
18431static swig_cast_info _swigc__p_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
18432static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
18433static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
18434static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
18435static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
18436static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
18437static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
18438static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
18439static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
18440static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
18441static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
18442static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
18443static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
18444static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
18445static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
18446static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
18447static swig_cast_info _swigc__p_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
18448static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
18449static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
18450static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
18451static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
18452static 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}};
18453static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
18454static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
18455static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
18456static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
18457static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
18458static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
18459static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
18460static 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}};
18461static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
18462static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 0, 0, 0},{0, 0, 0, 0}};
18463static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
18464static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
18465static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
18466static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
18467static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
18468static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
18469static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
18470static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
18471static swig_cast_info _swigc__p_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
18472static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
18473static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
18474static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
18475static swig_cast_info _swigc__p_wxClipboard[] = {{&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
18476static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
18477static swig_cast_info _swigc__p_wxToolTip[] = {{&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
18478static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
18479static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
18480static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
18481static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
18482static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
18483static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
18484static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
18485static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
18486static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
18487static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
18488static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
18489static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
18490static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
18491static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
18492static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
18493static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
18494static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
18495static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
18496static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
18497static swig_cast_info _swigc__p_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
18498static 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}};
18499static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
18500static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
18501static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
18502static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
18503static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
18504static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}};
18505static 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}};
18506static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
18507static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
18508static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
18509
18510static swig_cast_info *swig_cast_initial[] = {
18511 _swigc__p_char,
18512 _swigc__p_form_ops_t,
18513 _swigc__p_int,
18514 _swigc__p_unsigned_char,
18515 _swigc__p_unsigned_int,
18516 _swigc__p_unsigned_long,
18517 _swigc__p_void,
18518 _swigc__p_wxANIHandler,
18519 _swigc__p_wxAcceleratorTable,
18520 _swigc__p_wxActivateEvent,
18521 _swigc__p_wxBMPHandler,
18522 _swigc__p_wxBitmap,
18523 _swigc__p_wxBoxSizer,
18524 _swigc__p_wxBusyInfo,
18525 _swigc__p_wxCURHandler,
18526 _swigc__p_wxChildFocusEvent,
18527 _swigc__p_wxClipboard,
18528 _swigc__p_wxCloseEvent,
18529 _swigc__p_wxColour,
18530 _swigc__p_wxCommandEvent,
18531 _swigc__p_wxContextMenuEvent,
18532 _swigc__p_wxControl,
18533 _swigc__p_wxControlWithItems,
18534 _swigc__p_wxDC,
18535 _swigc__p_wxDateEvent,
18536 _swigc__p_wxDisplayChangedEvent,
18537 _swigc__p_wxDropFilesEvent,
18538 _swigc__p_wxDuplexMode,
18539 _swigc__p_wxEraseEvent,
18540 _swigc__p_wxEvent,
18541 _swigc__p_wxEvtHandler,
18542 _swigc__p_wxFSFile,
18543 _swigc__p_wxFileHistory,
18544 _swigc__p_wxFileSystem,
18545 _swigc__p_wxFlexGridSizer,
18546 _swigc__p_wxFocusEvent,
18547 _swigc__p_wxFont,
18548 _swigc__p_wxGBSizerItem,
18549 _swigc__p_wxGIFHandler,
18550 _swigc__p_wxGridBagSizer,
18551 _swigc__p_wxGridSizer,
18552 _swigc__p_wxICOHandler,
18553 _swigc__p_wxIconizeEvent,
18554 _swigc__p_wxIdleEvent,
18555 _swigc__p_wxImage,
18556 _swigc__p_wxImageHandler,
18557 _swigc__p_wxIndividualLayoutConstraint,
18558 _swigc__p_wxInitDialogEvent,
18559 _swigc__p_wxJPEGHandler,
18560 _swigc__p_wxJoystickEvent,
18561 _swigc__p_wxKeyEvent,
18562 _swigc__p_wxLayoutConstraints,
18563 _swigc__p_wxMaximizeEvent,
18564 _swigc__p_wxMemoryBuffer,
18565 _swigc__p_wxMenu,
18566 _swigc__p_wxMenuBar,
18567 _swigc__p_wxMenuEvent,
18568 _swigc__p_wxMenuItem,
18569 _swigc__p_wxMouseCaptureChangedEvent,
18570 _swigc__p_wxMouseEvent,
18571 _swigc__p_wxMoveEvent,
18572 _swigc__p_wxNavigationKeyEvent,
18573 _swigc__p_wxNcPaintEvent,
18574 _swigc__p_wxNotifyEvent,
18575 _swigc__p_wxObject,
18576 _swigc__p_wxPCXHandler,
18577 _swigc__p_wxPNGHandler,
18578 _swigc__p_wxPNMHandler,
18579 _swigc__p_wxPaintEvent,
18580 _swigc__p_wxPaletteChangedEvent,
18581 _swigc__p_wxPaperSize,
18582 _swigc__p_wxPoint,
18583 _swigc__p_wxProcessEvent,
18584 _swigc__p_wxPyApp,
18585 _swigc__p_wxPyCommandEvent,
18586 _swigc__p_wxPyEvent,
18587 _swigc__p_wxPyImageHandler,
18588 _swigc__p_wxPyProcess,
18589 _swigc__p_wxPySizer,
18590 _swigc__p_wxPyTimer,
18591 _swigc__p_wxPyValidator,
18592 _swigc__p_wxQueryNewPaletteEvent,
18593 _swigc__p_wxRect,
18594 _swigc__p_wxScrollBar,
18595 _swigc__p_wxScrollEvent,
18596 _swigc__p_wxScrollWinEvent,
18597 _swigc__p_wxSetCursorEvent,
18598 _swigc__p_wxShowEvent,
18599 _swigc__p_wxSizeEvent,
18600 _swigc__p_wxSizer,
18601 _swigc__p_wxSizerItem,
18602 _swigc__p_wxStaticBoxSizer,
18603 _swigc__p_wxStdDialogButtonSizer,
18604 _swigc__p_wxStyledTextCtrl,
18605 _swigc__p_wxStyledTextEvent,
18606 _swigc__p_wxSysColourChangedEvent,
18607 _swigc__p_wxSystemOptions,
18608 _swigc__p_wxTIFFHandler,
18609 _swigc__p_wxTimerEvent,
18610 _swigc__p_wxToolTip,
18611 _swigc__p_wxUpdateUIEvent,
18612 _swigc__p_wxValidator,
18613 _swigc__p_wxWindow,
18614 _swigc__p_wxWindowCreateEvent,
18615 _swigc__p_wxWindowDestroyEvent,
18616 _swigc__p_wxXPMHandler,
18617 _swigc__ptrdiff_t,
18618 _swigc__std__ptrdiff_t,
18619 _swigc__unsigned_int,
d14a1e28
RD
18620};
18621
18622
18623/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18624
18625static swig_const_info swig_const_table[] = {
c370783e 18626{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
18627
18628#ifdef __cplusplus
18629}
18630#endif
32fe5131
RD
18631/*************************************************************************
18632 * Type initialization:
18633 * This problem is tough by the requirement that no dynamic
18634 * memory is used. Also, since swig_type_info structures store pointers to
18635 * swig_cast_info structures and swig_cast_info structures store pointers back
18636 * to swig_type_info structures, we need some lookup code at initialization.
18637 * The idea is that swig generates all the structures that are needed.
18638 * The runtime then collects these partially filled structures.
18639 * The SWIG_InitializeModule function takes these initial arrays out of
18640 * swig_module, and does all the lookup, filling in the swig_module.types
18641 * array with the correct data and linking the correct swig_cast_info
18642 * structures together.
18643
18644 * The generated swig_type_info structures are assigned staticly to an initial
18645 * array. We just loop though that array, and handle each type individually.
18646 * First we lookup if this type has been already loaded, and if so, use the
18647 * loaded structure instead of the generated one. Then we have to fill in the
18648 * cast linked list. The cast data is initially stored in something like a
18649 * two-dimensional array. Each row corresponds to a type (there are the same
18650 * number of rows as there are in the swig_type_initial array). Each entry in
18651 * a column is one of the swig_cast_info structures for that type.
18652 * The cast_initial array is actually an array of arrays, because each row has
18653 * a variable number of columns. So to actually build the cast linked list,
18654 * we find the array of casts associated with the type, and loop through it
18655 * adding the casts to the list. The one last trick we need to do is making
18656 * sure the type pointer in the swig_cast_info struct is correct.
18657
18658 * First off, we lookup the cast->type name to see if it is already loaded.
18659 * There are three cases to handle:
18660 * 1) If the cast->type has already been loaded AND the type we are adding
18661 * casting info to has not been loaded (it is in this module), THEN we
18662 * replace the cast->type pointer with the type pointer that has already
18663 * been loaded.
18664 * 2) If BOTH types (the one we are adding casting info to, and the
18665 * cast->type) are loaded, THEN the cast info has already been loaded by
18666 * the previous module so we just ignore it.
18667 * 3) Finally, if cast->type has not already been loaded, then we add that
18668 * swig_cast_info to the linked list (because the cast->type) pointer will
18669 * be correct.
18670**/
18671
18672#ifdef __cplusplus
18673extern "C" {
18674#if 0
18675} /* c-mode */
18676#endif
18677#endif
18678
18679#if 0
18680#define SWIGRUNTIME_DEBUG
18681#endif
18682
18683SWIGRUNTIME void
18684SWIG_InitializeModule(void *clientdata) {
18685 size_t i;
18686 swig_module_info *module_head;
18687 static int init_run = 0;
18688
18689 clientdata = clientdata;
18690
18691 if (init_run) return;
18692 init_run = 1;
18693
18694 /* Initialize the swig_module */
18695 swig_module.type_initial = swig_type_initial;
18696 swig_module.cast_initial = swig_cast_initial;
18697
18698 /* Try and load any already created modules */
18699 module_head = SWIG_GetModule(clientdata);
18700 if (module_head) {
18701 swig_module.next = module_head->next;
18702 module_head->next = &swig_module;
18703 } else {
18704 /* This is the first module loaded */
18705 swig_module.next = &swig_module;
18706 SWIG_SetModule(clientdata, &swig_module);
18707 }
18708
18709 /* Now work on filling in swig_module.types */
18710#ifdef SWIGRUNTIME_DEBUG
18711 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
18712#endif
18713 for (i = 0; i < swig_module.size; ++i) {
18714 swig_type_info *type = 0;
18715 swig_type_info *ret;
18716 swig_cast_info *cast;
18717
18718#ifdef SWIGRUNTIME_DEBUG
18719 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
18720#endif
18721
18722 /* if there is another module already loaded */
18723 if (swig_module.next != &swig_module) {
18724 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
18725 }
18726 if (type) {
18727 /* Overwrite clientdata field */
18728#ifdef SWIGRUNTIME_DEBUG
18729 printf("SWIG_InitializeModule: found type %s\n", type->name);
18730#endif
18731 if (swig_module.type_initial[i]->clientdata) {
18732 type->clientdata = swig_module.type_initial[i]->clientdata;
18733#ifdef SWIGRUNTIME_DEBUG
18734 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
18735#endif
18736 }
18737 } else {
18738 type = swig_module.type_initial[i];
18739 }
18740
18741 /* Insert casting types */
18742 cast = swig_module.cast_initial[i];
18743 while (cast->type) {
18744 /* Don't need to add information already in the list */
18745 ret = 0;
18746#ifdef SWIGRUNTIME_DEBUG
18747 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
18748#endif
18749 if (swig_module.next != &swig_module) {
18750 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
18751#ifdef SWIGRUNTIME_DEBUG
18752 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
18753#endif
18754 }
18755 if (ret) {
18756 if (type == swig_module.type_initial[i]) {
18757#ifdef SWIGRUNTIME_DEBUG
18758 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
18759#endif
18760 cast->type = ret;
18761 ret = 0;
18762 } else {
18763 /* Check for casting already in the list */
18764 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
18765#ifdef SWIGRUNTIME_DEBUG
18766 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
18767#endif
18768 if (!ocast) ret = 0;
18769 }
18770 }
18771
18772 if (!ret) {
18773#ifdef SWIGRUNTIME_DEBUG
18774 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
18775#endif
18776 if (type->cast) {
18777 type->cast->prev = cast;
18778 cast->next = type->cast;
18779 }
18780 type->cast = cast;
18781 }
18782 cast++;
18783 }
18784 /* Set entry in modules->types array equal to the type */
18785 swig_module.types[i] = type;
18786 }
18787 swig_module.types[i] = 0;
18788
18789#ifdef SWIGRUNTIME_DEBUG
18790 printf("**** SWIG_InitializeModule: Cast List ******\n");
18791 for (i = 0; i < swig_module.size; ++i) {
18792 int j = 0;
18793 swig_cast_info *cast = swig_module.cast_initial[i];
18794 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
18795 while (cast->type) {
18796 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
18797 cast++;
18798 ++j;
18799 }
18800 printf("---- Total casts: %d\n",j);
18801 }
18802 printf("**** SWIG_InitializeModule: Cast List ******\n");
18803#endif
18804}
18805
18806/* This function will propagate the clientdata field of type to
18807* any new swig_type_info structures that have been added into the list
18808* of equivalent types. It is like calling
18809* SWIG_TypeClientData(type, clientdata) a second time.
18810*/
18811SWIGRUNTIME void
18812SWIG_PropagateClientData(void) {
18813 size_t i;
18814 swig_cast_info *equiv;
18815 static int init_run = 0;
18816
18817 if (init_run) return;
18818 init_run = 1;
18819
18820 for (i = 0; i < swig_module.size; i++) {
18821 if (swig_module.types[i]->clientdata) {
18822 equiv = swig_module.types[i]->cast;
18823 while (equiv) {
18824 if (!equiv->converter) {
18825 if (equiv->type && !equiv->type->clientdata)
18826 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
18827 }
18828 equiv = equiv->next;
18829 }
18830 }
18831 }
18832}
18833
18834#ifdef __cplusplus
18835#if 0
18836{
18837 /* c-mode */
18838#endif
18839}
18840#endif
18841
d14a1e28 18842
36ed4f51
RD
18843
18844#ifdef __cplusplus
18845extern "C" {
18846#endif
18847
18848 /* Python-specific SWIG API */
18849#define SWIG_newvarlink() SWIG_Python_newvarlink()
18850#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
18851#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
18852
18853 /* -----------------------------------------------------------------------------
18854 * global variable support code.
18855 * ----------------------------------------------------------------------------- */
18856
18857 typedef struct swig_globalvar {
18858 char *name; /* Name of global variable */
32fe5131 18859 PyObject *(*get_attr)(void); /* Return the current value */
36ed4f51
RD
18860 int (*set_attr)(PyObject *); /* Set the value */
18861 struct swig_globalvar *next;
18862 } swig_globalvar;
18863
18864 typedef struct swig_varlinkobject {
18865 PyObject_HEAD
18866 swig_globalvar *vars;
18867 } swig_varlinkobject;
18868
32fe5131 18869 SWIGINTERN PyObject *
36ed4f51
RD
18870 swig_varlink_repr(swig_varlinkobject *v) {
18871 v = v;
18872 return PyString_FromString("<Swig global variables>");
18873 }
18874
32fe5131 18875 SWIGINTERN int
36ed4f51
RD
18876 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
18877 swig_globalvar *var;
18878 flags = flags;
18879 fprintf(fp,"Swig global variables { ");
18880 for (var = v->vars; var; var=var->next) {
18881 fprintf(fp,"%s", var->name);
18882 if (var->next) fprintf(fp,", ");
18883 }
18884 fprintf(fp," }\n");
18885 return 0;
18886 }
18887
32fe5131 18888 SWIGINTERN PyObject *
36ed4f51
RD
18889 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
18890 swig_globalvar *var = v->vars;
18891 while (var) {
18892 if (strcmp(var->name,n) == 0) {
18893 return (*var->get_attr)();
18894 }
18895 var = var->next;
18896 }
18897 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
18898 return NULL;
18899 }
18900
32fe5131 18901 SWIGINTERN int
36ed4f51
RD
18902 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
18903 swig_globalvar *var = v->vars;
18904 while (var) {
18905 if (strcmp(var->name,n) == 0) {
18906 return (*var->set_attr)(p);
18907 }
18908 var = var->next;
18909 }
18910 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
18911 return 1;
18912 }
18913
32fe5131
RD
18914 SWIGINTERN PyTypeObject*
18915 swig_varlink_type(void) {
18916 static char varlink__doc__[] = "Swig var link object";
18917 static PyTypeObject varlink_type
18918#if !defined(__cplusplus)
18919 ;
18920 static int type_init = 0;
18921 if (!type_init) {
18922 PyTypeObject tmp
18923#endif
18924 = {
18925 PyObject_HEAD_INIT(&PyType_Type)
18926 0, /* Number of items in variable part (ob_size) */
18927 (char *)"swigvarlink", /* Type name (tp_name) */
18928 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
18929 0, /* Itemsize (tp_itemsize) */
18930 0, /* Deallocator (tp_dealloc) */
18931 (printfunc) swig_varlink_print, /* Print (tp_print) */
18932 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
18933 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
18934 0, /* tp_compare */
18935 (reprfunc) swig_varlink_repr, /* tp_repr */
18936 0, /* tp_as_number */
18937 0, /* tp_as_sequence */
18938 0, /* tp_as_mapping */
18939 0, /* tp_hash */
18940 0, /* tp_call */
18941 0, /* tp_str */
18942 0, /* tp_getattro */
18943 0, /* tp_setattro */
18944 0, /* tp_as_buffer */
18945 0, /* tp_flags */
18946 varlink__doc__, /* tp_doc */
36ed4f51 18947#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
18948 0, /* tp_traverse */
18949 0, /* tp_clear */
36ed4f51
RD
18950#endif
18951#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
18952 0, /* tp_richcompare */
18953 0, /* tp_weaklistoffset */
36ed4f51
RD
18954#endif
18955#if PY_VERSION_HEX >= 0x02020000
32fe5131 18956 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36ed4f51
RD
18957#endif
18958#if PY_VERSION_HEX >= 0x02030000
32fe5131 18959 0, /* tp_del */
36ed4f51
RD
18960#endif
18961#ifdef COUNT_ALLOCS
32fe5131 18962 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 18963#endif
32fe5131
RD
18964 };
18965#if !defined(__cplusplus)
18966 varlink_type = tmp;
18967 type_init = 1;
18968 }
18969#endif
18970 return &varlink_type;
18971 }
36ed4f51
RD
18972
18973 /* Create a variable linking object for use later */
32fe5131 18974 SWIGINTERN PyObject *
36ed4f51 18975 SWIG_Python_newvarlink(void) {
32fe5131
RD
18976 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
18977 if (result) {
18978 result->vars = 0;
18979 }
36ed4f51
RD
18980 return ((PyObject*) result);
18981 }
18982
32fe5131 18983 SWIGINTERN void
36ed4f51 18984 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
18985 swig_varlinkobject *v = (swig_varlinkobject *) p;
18986 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
18987 if (gv) {
18988 size_t size = strlen(name)+1;
18989 gv->name = (char *)malloc(size);
18990 if (gv->name) {
18991 strncpy(gv->name,name,size);
18992 gv->get_attr = get_attr;
18993 gv->set_attr = set_attr;
18994 gv->next = v->vars;
18995 }
18996 }
36ed4f51
RD
18997 v->vars = gv;
18998 }
18999
19000 /* -----------------------------------------------------------------------------
19001 * constants/methods manipulation
19002 * ----------------------------------------------------------------------------- */
19003
19004 /* Install Constants */
32fe5131 19005 SWIGINTERN void
36ed4f51
RD
19006 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
19007 PyObject *obj = 0;
19008 size_t i;
32fe5131 19009 for (i = 0; constants[i].type; ++i) {
36ed4f51
RD
19010 switch(constants[i].type) {
19011 case SWIG_PY_INT:
19012 obj = PyInt_FromLong(constants[i].lvalue);
19013 break;
19014 case SWIG_PY_FLOAT:
19015 obj = PyFloat_FromDouble(constants[i].dvalue);
19016 break;
19017 case SWIG_PY_STRING:
19018 if (constants[i].pvalue) {
19019 obj = PyString_FromString((char *) constants[i].pvalue);
19020 } else {
19021 Py_INCREF(Py_None);
19022 obj = Py_None;
19023 }
19024 break;
19025 case SWIG_PY_POINTER:
19026 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
19027 break;
19028 case SWIG_PY_BINARY:
19029 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
19030 break;
19031 default:
19032 obj = 0;
19033 break;
19034 }
19035 if (obj) {
19036 PyDict_SetItemString(d,constants[i].name,obj);
19037 Py_DECREF(obj);
19038 }
19039 }
19040 }
19041
19042 /* -----------------------------------------------------------------------------*/
19043 /* Fix SwigMethods to carry the callback ptrs when needed */
19044 /* -----------------------------------------------------------------------------*/
19045
32fe5131 19046 SWIGINTERN void
36ed4f51
RD
19047 SWIG_Python_FixMethods(PyMethodDef *methods,
19048 swig_const_info *const_table,
19049 swig_type_info **types,
19050 swig_type_info **types_initial) {
19051 size_t i;
19052 for (i = 0; methods[i].ml_name; ++i) {
19053 char *c = methods[i].ml_doc;
19054 if (c && (c = strstr(c, "swig_ptr: "))) {
19055 int j;
19056 swig_const_info *ci = 0;
19057 char *name = c + 10;
32fe5131 19058 for (j = 0; const_table[j].type; ++j) {
36ed4f51
RD
19059 if (strncmp(const_table[j].name, name,
19060 strlen(const_table[j].name)) == 0) {
19061 ci = &(const_table[j]);
19062 break;
19063 }
19064 }
19065 if (ci) {
19066 size_t shift = (ci->ptype) - types;
19067 swig_type_info *ty = types_initial[shift];
19068 size_t ldoc = (c - methods[i].ml_doc);
19069 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
19070 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
19071 if (ndoc) {
19072 char *buff = ndoc;
19073 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
19074 if (ptr) {
19075 strncpy(buff, methods[i].ml_doc, ldoc);
19076 buff += ldoc;
19077 strncpy(buff, "swig_ptr: ", 10);
19078 buff += 10;
19079 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
19080 methods[i].ml_doc = ndoc;
19081 }
19082 }
36ed4f51
RD
19083 }
19084 }
19085 }
19086 }
19087
19088 /* -----------------------------------------------------------------------------*
19089 * Initialize type list
19090 * -----------------------------------------------------------------------------*/
19091
36ed4f51
RD
19092#ifdef __cplusplus
19093}
19094#endif
19095
19096/* -----------------------------------------------------------------------------*
19097 * Partial Init method
19098 * -----------------------------------------------------------------------------*/
19099
d14a1e28
RD
19100#ifdef __cplusplus
19101extern "C"
19102#endif
32fe5131 19103SWIGEXPORT void SWIG_init(void) {
d14a1e28 19104 static PyObject *SWIG_globals = 0;
d14a1e28 19105 PyObject *m, *d;
d14a1e28 19106 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
19107
19108 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 19109 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
36ed4f51 19110
d14a1e28
RD
19111 m = Py_InitModule((char *) SWIG_name, SwigMethods);
19112 d = PyModule_GetDict(m);
19113
32fe5131 19114 SWIG_InitializeModule(0);
d14a1e28
RD
19115 SWIG_InstallConstants(d,swig_const_table);
19116
b2dc1044
RD
19117 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
19118 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
36ed4f51 19119 {
32fe5131 19120 PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19121 }
19122 {
32fe5131 19123 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19124 }
19125 {
32fe5131 19126 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int(static_cast<int >(-1)));
36ed4f51
RD
19127 }
19128 {
32fe5131 19129 PyDict_SetItemString(d,"STC_START", SWIG_From_int(static_cast<int >(2000)));
36ed4f51
RD
19130 }
19131 {
32fe5131 19132 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int(static_cast<int >(3000)));
36ed4f51
RD
19133 }
19134 {
32fe5131 19135 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int(static_cast<int >(4000)));
36ed4f51
RD
19136 }
19137 {
32fe5131 19138 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19139 }
19140 {
32fe5131 19141 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19142 }
19143 {
32fe5131 19144 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19145 }
19146 {
32fe5131 19147 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19148 }
19149 {
32fe5131 19150 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19151 }
19152 {
32fe5131 19153 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19154 }
19155 {
32fe5131 19156 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int(static_cast<int >(65001)));
36ed4f51
RD
19157 }
19158 {
32fe5131 19159 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19160 }
19161 {
32fe5131 19162 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int(static_cast<int >(31)));
36ed4f51
RD
19163 }
19164 {
32fe5131 19165 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19166 }
19167 {
32fe5131 19168 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19169 }
19170 {
32fe5131 19171 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19172 }
19173 {
32fe5131 19174 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
19175 }
19176 {
32fe5131 19177 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
19178 }
19179 {
32fe5131 19180 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
19181 }
19182 {
32fe5131 19183 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
19184 }
19185 {
32fe5131 19186 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
19187 }
19188 {
32fe5131 19189 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
19190 }
19191 {
32fe5131 19192 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
19193 }
19194 {
32fe5131 19195 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
19196 }
19197 {
32fe5131 19198 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
19199 }
19200 {
32fe5131 19201 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
19202 }
19203 {
32fe5131 19204 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
19205 }
19206 {
32fe5131 19207 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
19208 }
19209 {
32fe5131 19210 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
19211 }
19212 {
32fe5131 19213 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int(static_cast<int >(16)));
36ed4f51
RD
19214 }
19215 {
32fe5131 19216 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int(static_cast<int >(17)));
36ed4f51
RD
19217 }
19218 {
32fe5131 19219 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int(static_cast<int >(18)));
36ed4f51
RD
19220 }
19221 {
32fe5131 19222 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int(static_cast<int >(19)));
36ed4f51
RD
19223 }
19224 {
32fe5131 19225 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int(static_cast<int >(20)));
36ed4f51
RD
19226 }
19227 {
32fe5131 19228 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int(static_cast<int >(21)));
36ed4f51
RD
19229 }
19230 {
32fe5131 19231 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int(static_cast<int >(22)));
36ed4f51
RD
19232 }
19233 {
32fe5131 19234 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int(static_cast<int >(23)));
36ed4f51
RD
19235 }
19236 {
32fe5131 19237 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int(static_cast<int >(24)));
36ed4f51
RD
19238 }
19239 {
32fe5131 19240 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int(static_cast<int >(25)));
36ed4f51
RD
19241 }
19242 {
32fe5131 19243 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int(static_cast<int >(10000)));
36ed4f51
RD
19244 }
19245 {
32fe5131 19246 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int(static_cast<int >(25)));
36ed4f51
RD
19247 }
19248 {
32fe5131 19249 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int(static_cast<int >(26)));
36ed4f51
RD
19250 }
19251 {
32fe5131 19252 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int(static_cast<int >(27)));
36ed4f51
RD
19253 }
19254 {
32fe5131 19255 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int(static_cast<int >(28)));
36ed4f51
RD
19256 }
19257 {
32fe5131 19258 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int(static_cast<int >(29)));
36ed4f51
RD
19259 }
19260 {
32fe5131 19261 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int(static_cast<int >(30)));
36ed4f51
RD
19262 }
19263 {
32fe5131 19264 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int(static_cast<int >(31)));
36ed4f51
RD
19265 }
19266 {
32fe5131 19267 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int(static_cast<int >(0xFE000000)));
36ed4f51
RD
19268 }
19269 {
32fe5131 19270 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19271 }
19272 {
32fe5131 19273 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19274 }
19275 {
32fe5131 19276 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int(static_cast<int >(32)));
36ed4f51
RD
19277 }
19278 {
32fe5131 19279 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int(static_cast<int >(33)));
36ed4f51
RD
19280 }
19281 {
32fe5131 19282 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int(static_cast<int >(34)));
36ed4f51
RD
19283 }
19284 {
32fe5131 19285 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int(static_cast<int >(35)));
36ed4f51
RD
19286 }
19287 {
32fe5131 19288 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int(static_cast<int >(36)));
36ed4f51
RD
19289 }
19290 {
32fe5131 19291 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int(static_cast<int >(37)));
36ed4f51
RD
19292 }
19293 {
32fe5131 19294 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int(static_cast<int >(39)));
36ed4f51
RD
19295 }
19296 {
32fe5131 19297 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int(static_cast<int >(127)));
36ed4f51
RD
19298 }
19299 {
32fe5131 19300 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19301 }
19302 {
32fe5131 19303 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19304 }
19305 {
32fe5131 19306 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int(static_cast<int >(186)));
36ed4f51
RD
19307 }
19308 {
32fe5131 19309 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int(static_cast<int >(136)));
36ed4f51
RD
19310 }
19311 {
32fe5131 19312 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int(static_cast<int >(238)));
36ed4f51
RD
19313 }
19314 {
32fe5131 19315 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int(static_cast<int >(134)));
36ed4f51
RD
19316 }
19317 {
32fe5131 19318 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int(static_cast<int >(161)));
36ed4f51
RD
19319 }
19320 {
32fe5131 19321 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int(static_cast<int >(129)));
36ed4f51
RD
19322 }
19323 {
32fe5131 19324 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int(static_cast<int >(77)));
36ed4f51
RD
19325 }
19326 {
32fe5131 19327 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int(static_cast<int >(255)));
36ed4f51
RD
19328 }
19329 {
32fe5131 19330 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int(static_cast<int >(204)));
36ed4f51
RD
19331 }
19332 {
32fe5131 19333 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int(static_cast<int >(128)));
36ed4f51
RD
19334 }
19335 {
32fe5131 19336 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19337 }
19338 {
32fe5131 19339 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int(static_cast<int >(162)));
36ed4f51
RD
19340 }
19341 {
32fe5131 19342 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int(static_cast<int >(130)));
36ed4f51
RD
19343 }
19344 {
32fe5131 19345 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int(static_cast<int >(177)));
36ed4f51
RD
19346 }
19347 {
32fe5131 19348 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int(static_cast<int >(178)));
36ed4f51
RD
19349 }
19350 {
32fe5131 19351 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int(static_cast<int >(163)));
36ed4f51
RD
19352 }
19353 {
32fe5131 19354 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int(static_cast<int >(222)));
36ed4f51
RD
19355 }
19356 {
32fe5131 19357 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19358 }
19359 {
32fe5131 19360 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19361 }
19362 {
32fe5131 19363 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19364 }
19365 {
32fe5131 19366 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
19367 }
19368 {
32fe5131 19369 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19370 }
19371 {
32fe5131 19372 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19373 }
19374 {
32fe5131 19375 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19376 }
19377 {
32fe5131 19378 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
19379 }
19380 {
32fe5131 19381 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
19382 }
19383 {
32fe5131 19384 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
19385 }
19386 {
32fe5131 19387 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
19388 }
19389 {
32fe5131 19390 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int(static_cast<int >(0x20)));
36ed4f51
RD
19391 }
19392 {
32fe5131 19393 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int(static_cast<int >(0x40)));
36ed4f51
RD
19394 }
19395 {
32fe5131 19396 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int(static_cast<int >(0x80)));
36ed4f51
RD
19397 }
19398 {
32fe5131 19399 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int(static_cast<int >(0xE0)));
36ed4f51
RD
19400 }
19401 {
32fe5131 19402 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19403 }
19404 {
32fe5131 19405 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19406 }
19407 {
32fe5131 19408 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19409 }
19410 {
32fe5131 19411 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
19412 }
19413 {
32fe5131 19414 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
19415 }
19416 {
32fe5131 19417 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19418 }
19419 {
32fe5131 19420 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
19421 }
19422 {
32fe5131 19423 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int(static_cast<int >(0x00100000)));
36ed4f51
RD
19424 }
19425 {
32fe5131 19426 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int(static_cast<int >(0x00200000)));
36ed4f51
RD
19427 }
19428 {
32fe5131 19429 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int(static_cast<int >(0x00400000)));
36ed4f51
RD
19430 }
19431 {
32fe5131 19432 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int(static_cast<int >(0x400)));
36ed4f51
RD
19433 }
19434 {
32fe5131 19435 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int(static_cast<int >(0x1000)));
36ed4f51
RD
19436 }
19437 {
32fe5131 19438 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int(static_cast<int >(0x2000)));
36ed4f51
RD
19439 }
19440 {
32fe5131 19441 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int(static_cast<int >(0x4000)));
36ed4f51
RD
19442 }
19443 {
32fe5131 19444 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int(static_cast<int >(0x8000)));
36ed4f51
RD
19445 }
19446 {
32fe5131 19447 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int(static_cast<int >(0x10000)));
36ed4f51
RD
19448 }
19449 {
32fe5131 19450 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int(static_cast<int >(0x20000)));
36ed4f51
RD
19451 }
19452 {
32fe5131 19453 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int(static_cast<int >(0x0FFF)));
36ed4f51
RD
19454 }
19455 {
32fe5131 19456 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int(static_cast<int >(0x0002)));
36ed4f51
RD
19457 }
19458 {
32fe5131 19459 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int(static_cast<int >(0x0004)));
36ed4f51
RD
19460 }
19461 {
32fe5131 19462 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int(static_cast<int >(0x0008)));
36ed4f51
RD
19463 }
19464 {
32fe5131 19465 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int(static_cast<int >(0x0010)));
36ed4f51
RD
19466 }
19467 {
32fe5131 19468 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int(static_cast<int >(0x0040)));
36ed4f51
RD
19469 }
19470 {
32fe5131 19471 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int(static_cast<int >(0x0001)));
36ed4f51
RD
19472 }
19473 {
32fe5131 19474 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int(static_cast<int >(10000000)));
36ed4f51
RD
19475 }
19476 {
32fe5131 19477 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19478 }
19479 {
32fe5131 19480 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19481 }
19482 {
32fe5131 19483 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int(static_cast<int >(0x0000)));
36ed4f51
RD
19484 }
19485 {
32fe5131 19486 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int(static_cast<int >(0x0001)));
36ed4f51
RD
19487 }
19488 {
32fe5131 19489 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int(static_cast<int >(0x0002)));
36ed4f51
RD
19490 }
19491 {
32fe5131 19492 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int(static_cast<int >(0x0000)));
36ed4f51
RD
19493 }
19494 {
32fe5131 19495 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int(static_cast<int >(0x0001)));
36ed4f51
RD
19496 }
19497 {
32fe5131 19498 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int(static_cast<int >(0x0002)));
36ed4f51
RD
19499 }
19500 {
32fe5131 19501 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19502 }
19503 {
32fe5131 19504 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19505 }
19506 {
32fe5131 19507 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19508 }
19509 {
32fe5131 19510 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
19511 }
19512 {
32fe5131 19513 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19514 }
19515 {
32fe5131 19516 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19517 }
19518 {
32fe5131 19519 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19520 }
19521 {
32fe5131 19522 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int(static_cast<int >(-1)));
36ed4f51
RD
19523 }
19524 {
32fe5131 19525 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
19526 }
19527 {
32fe5131 19528 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int(static_cast<int >(0x01)));
36ed4f51
RD
19529 }
19530 {
32fe5131 19531 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int(static_cast<int >(0x04)));
36ed4f51
RD
19532 }
19533 {
32fe5131 19534 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int(static_cast<int >(0x01)));
36ed4f51
RD
19535 }
19536 {
32fe5131 19537 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int(static_cast<int >(0x04)));
36ed4f51
RD
19538 }
19539 {
32fe5131 19540 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int(static_cast<int >(0x10)));
36ed4f51
RD
19541 }
19542 {
32fe5131 19543 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int(static_cast<int >(0x08)));
36ed4f51
RD
19544 }
19545 {
32fe5131 19546 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19547 }
19548 {
32fe5131 19549 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19550 }
19551 {
32fe5131 19552 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19553 }
19554 {
32fe5131 19555 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
19556 }
19557 {
32fe5131 19558 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int(static_cast<int >(0x1)));
36ed4f51
RD
19559 }
19560 {
32fe5131 19561 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int(static_cast<int >(0x2)));
36ed4f51
RD
19562 }
19563 {
32fe5131 19564 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int(static_cast<int >(0x4)));
36ed4f51
RD
19565 }
19566 {
32fe5131 19567 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int(static_cast<int >(0x8)));
36ed4f51
RD
19568 }
19569 {
32fe5131 19570 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int(static_cast<int >(0x10)));
36ed4f51
RD
19571 }
19572 {
32fe5131 19573 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int(static_cast<int >(0x20)));
36ed4f51
RD
19574 }
19575 {
32fe5131 19576 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int(static_cast<int >(0x40)));
36ed4f51
RD
19577 }
19578 {
32fe5131 19579 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int(static_cast<int >(0x100)));
36ed4f51
RD
19580 }
19581 {
32fe5131 19582 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int(static_cast<int >(0x200)));
36ed4f51
RD
19583 }
19584 {
32fe5131 19585 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int(static_cast<int >(0x400)));
36ed4f51
RD
19586 }
19587 {
32fe5131 19588 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int(static_cast<int >(0x800)));
36ed4f51
RD
19589 }
19590 {
32fe5131 19591 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int(static_cast<int >(0xF77)));
36ed4f51
RD
19592 }
19593 {
32fe5131 19594 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int(static_cast<int >(300)));
36ed4f51
RD
19595 }
19596 {
32fe5131 19597 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int(static_cast<int >(301)));
36ed4f51
RD
19598 }
19599 {
32fe5131 19600 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int(static_cast<int >(302)));
36ed4f51
RD
19601 }
19602 {
32fe5131 19603 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int(static_cast<int >(303)));
36ed4f51
RD
19604 }
19605 {
32fe5131 19606 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int(static_cast<int >(304)));
36ed4f51
RD
19607 }
19608 {
32fe5131 19609 PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int(static_cast<int >(305)));
36ed4f51
RD
19610 }
19611 {
32fe5131 19612 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int(static_cast<int >(306)));
36ed4f51
RD
19613 }
19614 {
32fe5131 19615 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int(static_cast<int >(307)));
36ed4f51
RD
19616 }
19617 {
32fe5131 19618 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int(static_cast<int >(308)));
36ed4f51
RD
19619 }
19620 {
32fe5131 19621 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int(static_cast<int >(309)));
36ed4f51
RD
19622 }
19623 {
32fe5131 19624 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
19625 }
19626 {
32fe5131 19627 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
19628 }
19629 {
32fe5131 19630 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
19631 }
19632 {
32fe5131 19633 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
19634 }
19635 {
32fe5131 19636 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int(static_cast<int >(310)));
36ed4f51
RD
19637 }
19638 {
32fe5131 19639 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int(static_cast<int >(311)));
36ed4f51
RD
19640 }
19641 {
32fe5131 19642 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int(static_cast<int >(312)));
36ed4f51
RD
19643 }
19644 {
32fe5131 19645 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19646 }
19647 {
32fe5131 19648 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19649 }
19650 {
32fe5131 19651 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
19652 }
19653 {
32fe5131 19654 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19655 }
19656 {
32fe5131 19657 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19658 }
19659 {
32fe5131 19660 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19661 }
19662 {
32fe5131 19663 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
19664 }
19665 {
32fe5131 19666 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
19667 }
19668 {
32fe5131 19669 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
19670 }
19671 {
32fe5131 19672 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
19673 }
19674 {
32fe5131 19675 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
19676 }
19677 {
32fe5131 19678 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
19679 }
19680 {
32fe5131 19681 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
19682 }
19683 {
32fe5131 19684 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
19685 }
19686 {
32fe5131 19687 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
19688 }
19689 {
32fe5131 19690 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
19691 }
19692 {
32fe5131 19693 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
19694 }
19695 {
32fe5131 19696 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
19697 }
19698 {
32fe5131 19699 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
19700 }
19701 {
32fe5131 19702 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int(static_cast<int >(16)));
36ed4f51
RD
19703 }
19704 {
32fe5131 19705 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int(static_cast<int >(17)));
36ed4f51
RD
19706 }
19707 {
32fe5131 19708 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int(static_cast<int >(18)));
36ed4f51
RD
19709 }
19710 {
32fe5131 19711 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int(static_cast<int >(19)));
36ed4f51
RD
19712 }
19713 {
32fe5131 19714 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int(static_cast<int >(20)));
36ed4f51
RD
19715 }
19716 {
32fe5131 19717 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int(static_cast<int >(21)));
36ed4f51
RD
19718 }
19719 {
32fe5131 19720 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int(static_cast<int >(22)));
36ed4f51
RD
19721 }
19722 {
32fe5131 19723 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int(static_cast<int >(23)));
36ed4f51
RD
19724 }
19725 {
32fe5131 19726 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int(static_cast<int >(24)));
36ed4f51
RD
19727 }
19728 {
32fe5131 19729 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int(static_cast<int >(25)));
36ed4f51
RD
19730 }
19731 {
32fe5131 19732 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int(static_cast<int >(26)));
36ed4f51
RD
19733 }
19734 {
32fe5131 19735 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int(static_cast<int >(27)));
36ed4f51
RD
19736 }
19737 {
32fe5131 19738 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int(static_cast<int >(28)));
36ed4f51
RD
19739 }
19740 {
32fe5131 19741 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int(static_cast<int >(29)));
36ed4f51
RD
19742 }
19743 {
32fe5131 19744 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int(static_cast<int >(30)));
36ed4f51
RD
19745 }
19746 {
32fe5131 19747 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int(static_cast<int >(31)));
36ed4f51
RD
19748 }
19749 {
32fe5131 19750 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int(static_cast<int >(32)));
36ed4f51
RD
19751 }
19752 {
32fe5131 19753 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int(static_cast<int >(33)));
36ed4f51
RD
19754 }
19755 {
32fe5131 19756 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int(static_cast<int >(34)));
36ed4f51
RD
19757 }
19758 {
32fe5131 19759 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int(static_cast<int >(35)));
36ed4f51
RD
19760 }
19761 {
32fe5131 19762 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int(static_cast<int >(36)));
36ed4f51
RD
19763 }
19764 {
32fe5131 19765 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int(static_cast<int >(37)));
36ed4f51
RD
19766 }
19767 {
32fe5131 19768 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int(static_cast<int >(38)));
36ed4f51
RD
19769 }
19770 {
32fe5131 19771 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int(static_cast<int >(39)));
36ed4f51
RD
19772 }
19773 {
32fe5131 19774 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int(static_cast<int >(40)));
36ed4f51
RD
19775 }
19776 {
32fe5131 19777 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int(static_cast<int >(41)));
36ed4f51
RD
19778 }
19779 {
32fe5131 19780 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int(static_cast<int >(42)));
36ed4f51
RD
19781 }
19782 {
32fe5131 19783 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int(static_cast<int >(43)));
36ed4f51
RD
19784 }
19785 {
32fe5131 19786 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int(static_cast<int >(44)));
36ed4f51
RD
19787 }
19788 {
32fe5131 19789 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int(static_cast<int >(45)));
36ed4f51
RD
19790 }
19791 {
32fe5131 19792 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int(static_cast<int >(46)));
36ed4f51
RD
19793 }
19794 {
32fe5131 19795 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int(static_cast<int >(47)));
36ed4f51
RD
19796 }
19797 {
32fe5131 19798 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int(static_cast<int >(48)));
36ed4f51
RD
19799 }
19800 {
32fe5131 19801 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int(static_cast<int >(49)));
36ed4f51
RD
19802 }
19803 {
32fe5131 19804 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int(static_cast<int >(50)));
36ed4f51
RD
19805 }
19806 {
32fe5131 19807 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int(static_cast<int >(51)));
36ed4f51
RD
19808 }
19809 {
32fe5131 19810 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int(static_cast<int >(52)));
36ed4f51
RD
19811 }
19812 {
32fe5131 19813 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int(static_cast<int >(53)));
36ed4f51
RD
19814 }
19815 {
32fe5131 19816 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int(static_cast<int >(54)));
36ed4f51
RD
19817 }
19818 {
32fe5131 19819 PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int(static_cast<int >(55)));
36ed4f51
RD
19820 }
19821 {
32fe5131 19822 PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int(static_cast<int >(56)));
36ed4f51
RD
19823 }
19824 {
32fe5131 19825 PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int(static_cast<int >(57)));
36ed4f51
RD
19826 }
19827 {
32fe5131 19828 PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int(static_cast<int >(58)));
36ed4f51
RD
19829 }
19830 {
32fe5131 19831 PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int(static_cast<int >(59)));
36ed4f51
RD
19832 }
19833 {
32fe5131 19834 PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int(static_cast<int >(60)));
36ed4f51
RD
19835 }
19836 {
32fe5131 19837 PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int(static_cast<int >(61)));
36ed4f51
RD
19838 }
19839 {
32fe5131 19840 PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int(static_cast<int >(62)));
36ed4f51 19841 }
53aa7709 19842 {
32fe5131 19843 PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int(static_cast<int >(63)));
53aa7709
RD
19844 }
19845 {
32fe5131 19846 PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int(static_cast<int >(64)));
53aa7709 19847 }
36ed4f51 19848 {
32fe5131 19849 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int(static_cast<int >(1000)));
36ed4f51
RD
19850 }
19851 {
32fe5131 19852 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19853 }
19854 {
32fe5131 19855 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19856 }
19857 {
32fe5131 19858 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19859 }
19860 {
32fe5131 19861 PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
19862 }
19863 {
32fe5131 19864 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
19865 }
19866 {
32fe5131 19867 PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
19868 }
19869 {
32fe5131 19870 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
19871 }
19872 {
32fe5131 19873 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
19874 }
19875 {
32fe5131 19876 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
19877 }
19878 {
32fe5131 19879 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
19880 }
19881 {
32fe5131 19882 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
19883 }
19884 {
32fe5131 19885 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
19886 }
19887 {
32fe5131 19888 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
19889 }
19890 {
32fe5131 19891 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
19892 }
19893 {
32fe5131 19894 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19895 }
19896 {
32fe5131 19897 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19898 }
19899 {
32fe5131 19900 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19901 }
19902 {
32fe5131 19903 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
19904 }
19905 {
32fe5131 19906 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
19907 }
19908 {
32fe5131 19909 PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
19910 }
19911 {
32fe5131 19912 PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
19913 }
19914 {
32fe5131 19915 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
19916 }
19917 {
32fe5131 19918 PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
19919 }
19920 {
32fe5131 19921 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
19922 }
19923 {
32fe5131 19924 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
19925 }
19926 {
32fe5131 19927 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
19928 }
19929 {
32fe5131 19930 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
19931 }
19932 {
32fe5131 19933 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
19934 }
19935 {
32fe5131 19936 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
19937 }
19938 {
32fe5131 19939 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
19940 }
19941 {
32fe5131 19942 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int(static_cast<int >(16)));
36ed4f51
RD
19943 }
19944 {
32fe5131 19945 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int(static_cast<int >(17)));
36ed4f51
RD
19946 }
19947 {
32fe5131 19948 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int(static_cast<int >(18)));
36ed4f51
RD
19949 }
19950 {
32fe5131 19951 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int(static_cast<int >(19)));
36ed4f51
RD
19952 }
19953 {
32fe5131 19954 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
19955 }
19956 {
32fe5131 19957 PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
19958 }
19959 {
32fe5131 19960 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
19961 }
19962 {
32fe5131 19963 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
19964 }
19965 {
32fe5131 19966 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
19967 }
19968 {
32fe5131 19969 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
19970 }
19971 {
32fe5131 19972 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
19973 }
19974 {
32fe5131 19975 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
19976 }
19977 {
32fe5131 19978 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
19979 }
19980 {
32fe5131 19981 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
19982 }
19983 {
32fe5131 19984 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
19985 }
19986 {
32fe5131 19987 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
19988 }
19989 {
32fe5131 19990 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
19991 }
19992 {
32fe5131 19993 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
19994 }
19995 {
32fe5131 19996 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
19997 }
19998 {
32fe5131 19999 PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
20000 }
20001 {
32fe5131 20002 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int(static_cast<int >(16)));
36ed4f51
RD
20003 }
20004 {
32fe5131 20005 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int(static_cast<int >(17)));
36ed4f51
RD
20006 }
20007 {
32fe5131 20008 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int(static_cast<int >(18)));
36ed4f51
RD
20009 }
20010 {
32fe5131 20011 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int(static_cast<int >(19)));
36ed4f51
RD
20012 }
20013 {
32fe5131 20014 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int(static_cast<int >(20)));
36ed4f51
RD
20015 }
20016 {
32fe5131 20017 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int(static_cast<int >(21)));
36ed4f51
RD
20018 }
20019 {
32fe5131 20020 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int(static_cast<int >(22)));
36ed4f51
RD
20021 }
20022 {
32fe5131 20023 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int(static_cast<int >(23)));
36ed4f51
RD
20024 }
20025 {
32fe5131 20026 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int(static_cast<int >(24)));
36ed4f51
RD
20027 }
20028 {
32fe5131 20029 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int(static_cast<int >(25)));
36ed4f51
RD
20030 }
20031 {
32fe5131 20032 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int(static_cast<int >(26)));
36ed4f51
RD
20033 }
20034 {
32fe5131 20035 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int(static_cast<int >(27)));
36ed4f51
RD
20036 }
20037 {
32fe5131 20038 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int(static_cast<int >(28)));
36ed4f51
RD
20039 }
20040 {
32fe5131 20041 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int(static_cast<int >(29)));
36ed4f51
RD
20042 }
20043 {
32fe5131 20044 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int(static_cast<int >(30)));
36ed4f51
RD
20045 }
20046 {
32fe5131 20047 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int(static_cast<int >(31)));
36ed4f51
RD
20048 }
20049 {
32fe5131 20050 PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int(static_cast<int >(40)));
36ed4f51
RD
20051 }
20052 {
32fe5131 20053 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int(static_cast<int >(41)));
36ed4f51
RD
20054 }
20055 {
32fe5131 20056 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int(static_cast<int >(42)));
36ed4f51
RD
20057 }
20058 {
32fe5131 20059 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int(static_cast<int >(43)));
36ed4f51
RD
20060 }
20061 {
32fe5131 20062 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int(static_cast<int >(44)));
36ed4f51
RD
20063 }
20064 {
32fe5131 20065 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int(static_cast<int >(45)));
36ed4f51
RD
20066 }
20067 {
32fe5131 20068 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int(static_cast<int >(46)));
36ed4f51
RD
20069 }
20070 {
32fe5131 20071 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int(static_cast<int >(47)));
36ed4f51
RD
20072 }
20073 {
32fe5131 20074 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int(static_cast<int >(48)));
36ed4f51
RD
20075 }
20076 {
32fe5131 20077 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int(static_cast<int >(49)));
36ed4f51
RD
20078 }
20079 {
32fe5131 20080 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int(static_cast<int >(50)));
36ed4f51
RD
20081 }
20082 {
32fe5131 20083 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int(static_cast<int >(51)));
36ed4f51
RD
20084 }
20085 {
32fe5131 20086 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int(static_cast<int >(52)));
36ed4f51
RD
20087 }
20088 {
32fe5131 20089 PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int(static_cast<int >(55)));
36ed4f51
RD
20090 }
20091 {
32fe5131 20092 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int(static_cast<int >(56)));
36ed4f51
RD
20093 }
20094 {
32fe5131 20095 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int(static_cast<int >(57)));
36ed4f51
RD
20096 }
20097 {
32fe5131 20098 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int(static_cast<int >(58)));
36ed4f51
RD
20099 }
20100 {
32fe5131 20101 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int(static_cast<int >(59)));
36ed4f51
RD
20102 }
20103 {
32fe5131 20104 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int(static_cast<int >(60)));
36ed4f51
RD
20105 }
20106 {
32fe5131 20107 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int(static_cast<int >(61)));
36ed4f51
RD
20108 }
20109 {
32fe5131 20110 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int(static_cast<int >(62)));
36ed4f51
RD
20111 }
20112 {
32fe5131 20113 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int(static_cast<int >(63)));
36ed4f51
RD
20114 }
20115 {
32fe5131 20116 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int(static_cast<int >(64)));
36ed4f51
RD
20117 }
20118 {
32fe5131 20119 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int(static_cast<int >(65)));
36ed4f51
RD
20120 }
20121 {
32fe5131 20122 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int(static_cast<int >(66)));
36ed4f51
RD
20123 }
20124 {
32fe5131 20125 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int(static_cast<int >(67)));
36ed4f51
RD
20126 }
20127 {
32fe5131 20128 PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int(static_cast<int >(70)));
36ed4f51
RD
20129 }
20130 {
32fe5131 20131 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int(static_cast<int >(71)));
36ed4f51
RD
20132 }
20133 {
32fe5131 20134 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int(static_cast<int >(72)));
36ed4f51
RD
20135 }
20136 {
32fe5131 20137 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int(static_cast<int >(73)));
36ed4f51
RD
20138 }
20139 {
32fe5131 20140 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int(static_cast<int >(74)));
36ed4f51
RD
20141 }
20142 {
32fe5131 20143 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int(static_cast<int >(75)));
36ed4f51
RD
20144 }
20145 {
32fe5131 20146 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int(static_cast<int >(76)));
36ed4f51
RD
20147 }
20148 {
32fe5131 20149 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int(static_cast<int >(77)));
36ed4f51
RD
20150 }
20151 {
32fe5131 20152 PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int(static_cast<int >(80)));
36ed4f51
RD
20153 }
20154 {
32fe5131 20155 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int(static_cast<int >(81)));
36ed4f51
RD
20156 }
20157 {
32fe5131 20158 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int(static_cast<int >(82)));
36ed4f51
RD
20159 }
20160 {
32fe5131 20161 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int(static_cast<int >(83)));
36ed4f51
RD
20162 }
20163 {
32fe5131 20164 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int(static_cast<int >(84)));
36ed4f51
RD
20165 }
20166 {
32fe5131 20167 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int(static_cast<int >(85)));
36ed4f51
RD
20168 }
20169 {
32fe5131 20170 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int(static_cast<int >(86)));
36ed4f51
RD
20171 }
20172 {
32fe5131 20173 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int(static_cast<int >(87)));
36ed4f51
RD
20174 }
20175 {
32fe5131 20176 PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int(static_cast<int >(90)));
36ed4f51
RD
20177 }
20178 {
32fe5131 20179 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int(static_cast<int >(91)));
36ed4f51
RD
20180 }
20181 {
32fe5131 20182 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int(static_cast<int >(92)));
36ed4f51
RD
20183 }
20184 {
32fe5131 20185 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int(static_cast<int >(93)));
36ed4f51
RD
20186 }
20187 {
32fe5131 20188 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int(static_cast<int >(94)));
36ed4f51
RD
20189 }
20190 {
32fe5131 20191 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int(static_cast<int >(95)));
36ed4f51
RD
20192 }
20193 {
32fe5131 20194 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int(static_cast<int >(96)));
36ed4f51
RD
20195 }
20196 {
32fe5131 20197 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int(static_cast<int >(97)));
36ed4f51
RD
20198 }
20199 {
32fe5131 20200 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(98)));
36ed4f51
RD
20201 }
20202 {
32fe5131 20203 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int(static_cast<int >(99)));
36ed4f51
RD
20204 }
20205 {
32fe5131 20206 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int(static_cast<int >(100)));
36ed4f51
RD
20207 }
20208 {
32fe5131 20209 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int(static_cast<int >(101)));
36ed4f51
RD
20210 }
20211 {
32fe5131 20212 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int(static_cast<int >(102)));
36ed4f51
RD
20213 }
20214 {
32fe5131 20215 PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int(static_cast<int >(104)));
36ed4f51
RD
20216 }
20217 {
32fe5131 20218 PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int(static_cast<int >(105)));
36ed4f51
RD
20219 }
20220 {
32fe5131 20221 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int(static_cast<int >(106)));
36ed4f51
RD
20222 }
20223 {
32fe5131 20224 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int(static_cast<int >(107)));
36ed4f51
RD
20225 }
20226 {
32fe5131 20227 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int(static_cast<int >(108)));
36ed4f51
RD
20228 }
20229 {
32fe5131 20230 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int(static_cast<int >(109)));
36ed4f51
RD
20231 }
20232 {
32fe5131 20233 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int(static_cast<int >(110)));
36ed4f51
RD
20234 }
20235 {
32fe5131 20236 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int(static_cast<int >(111)));
36ed4f51
RD
20237 }
20238 {
32fe5131 20239 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int(static_cast<int >(112)));
36ed4f51
RD
20240 }
20241 {
32fe5131 20242 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(113)));
36ed4f51
RD
20243 }
20244 {
32fe5131 20245 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int(static_cast<int >(114)));
36ed4f51
RD
20246 }
20247 {
32fe5131 20248 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int(static_cast<int >(115)));
36ed4f51
RD
20249 }
20250 {
32fe5131 20251 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int(static_cast<int >(116)));
36ed4f51
RD
20252 }
20253 {
32fe5131 20254 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int(static_cast<int >(117)));
36ed4f51
RD
20255 }
20256 {
32fe5131 20257 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int(static_cast<int >(118)));
36ed4f51
RD
20258 }
20259 {
32fe5131 20260 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int(static_cast<int >(119)));
36ed4f51
RD
20261 }
20262 {
32fe5131 20263 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int(static_cast<int >(120)));
36ed4f51
RD
20264 }
20265 {
32fe5131 20266 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int(static_cast<int >(121)));
36ed4f51
RD
20267 }
20268 {
32fe5131 20269 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int(static_cast<int >(122)));
36ed4f51
RD
20270 }
20271 {
32fe5131 20272 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int(static_cast<int >(123)));
36ed4f51
RD
20273 }
20274 {
32fe5131 20275 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int(static_cast<int >(124)));
36ed4f51
RD
20276 }
20277 {
32fe5131 20278 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int(static_cast<int >(125)));
36ed4f51
RD
20279 }
20280 {
32fe5131 20281 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int(static_cast<int >(126)));
36ed4f51
RD
20282 }
20283 {
32fe5131 20284 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int(static_cast<int >(127)));
36ed4f51
RD
20285 }
20286 {
32fe5131 20287 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20288 }
20289 {
32fe5131 20290 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20291 }
20292 {
32fe5131 20293 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20294 }
20295 {
32fe5131 20296 PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20297 }
20298 {
32fe5131 20299 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20300 }
20301 {
32fe5131 20302 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20303 }
20304 {
32fe5131 20305 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20306 }
20307 {
32fe5131 20308 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20309 }
20310 {
32fe5131 20311 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20312 }
20313 {
32fe5131 20314 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20315 }
20316 {
32fe5131 20317 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
20318 }
20319 {
32fe5131 20320 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
20321 }
20322 {
32fe5131 20323 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
20324 }
20325 {
32fe5131 20326 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
20327 }
20328 {
32fe5131 20329 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
20330 }
20331 {
32fe5131 20332 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
20333 }
20334 {
32fe5131 20335 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int(static_cast<int >(17)));
36ed4f51
RD
20336 }
20337 {
32fe5131 20338 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int(static_cast<int >(18)));
36ed4f51
RD
20339 }
20340 {
32fe5131 20341 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int(static_cast<int >(19)));
36ed4f51
RD
20342 }
20343 {
32fe5131 20344 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int(static_cast<int >(20)));
36ed4f51
RD
20345 }
20346 {
32fe5131 20347 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int(static_cast<int >(21)));
36ed4f51
RD
20348 }
20349 {
32fe5131 20350 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int(static_cast<int >(22)));
36ed4f51
RD
20351 }
20352 {
32fe5131 20353 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int(static_cast<int >(23)));
36ed4f51
RD
20354 }
20355 {
32fe5131 20356 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int(static_cast<int >(24)));
36ed4f51
RD
20357 }
20358 {
32fe5131 20359 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int(static_cast<int >(25)));
36ed4f51
RD
20360 }
20361 {
32fe5131 20362 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int(static_cast<int >(26)));
36ed4f51
RD
20363 }
20364 {
32fe5131 20365 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int(static_cast<int >(27)));
36ed4f51
RD
20366 }
20367 {
32fe5131 20368 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int(static_cast<int >(28)));
36ed4f51
RD
20369 }
20370 {
32fe5131 20371 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int(static_cast<int >(29)));
36ed4f51
RD
20372 }
20373 {
32fe5131 20374 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int(static_cast<int >(30)));
36ed4f51
RD
20375 }
20376 {
32fe5131 20377 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20378 }
20379 {
32fe5131 20380 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20381 }
20382 {
32fe5131 20383 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20384 }
20385 {
32fe5131 20386 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20387 }
20388 {
32fe5131 20389 PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20390 }
20391 {
32fe5131 20392 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20393 }
20394 {
32fe5131 20395 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20396 }
20397 {
32fe5131 20398 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20399 }
20400 {
32fe5131 20401 PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20402 }
20403 {
32fe5131 20404 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20405 }
20406 {
32fe5131 20407 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
20408 }
20409 {
32fe5131 20410 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
20411 }
20412 {
32fe5131 20413 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
20414 }
20415 {
32fe5131 20416 PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
20417 }
20418 {
32fe5131 20419 PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
20420 }
20421 {
32fe5131 20422 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20423 }
20424 {
32fe5131 20425 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20426 }
20427 {
32fe5131 20428 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20429 }
20430 {
32fe5131 20431 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20432 }
20433 {
32fe5131 20434 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20435 }
20436 {
32fe5131 20437 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20438 }
20439 {
32fe5131 20440 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20441 }
20442 {
32fe5131 20443 PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20444 }
20445 {
32fe5131 20446 PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20447 }
20448 {
32fe5131 20449 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20450 }
20451 {
32fe5131 20452 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20453 }
20454 {
32fe5131 20455 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20456 }
20457 {
32fe5131 20458 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20459 }
20460 {
32fe5131 20461 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20462 }
20463 {
32fe5131 20464 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20465 }
20466 {
32fe5131 20467 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20468 }
20469 {
32fe5131 20470 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20471 }
20472 {
32fe5131 20473 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20474 }
20475 {
32fe5131 20476 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20477 }
20478 {
32fe5131 20479 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20480 }
20481 {
32fe5131 20482 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
20483 }
20484 {
32fe5131 20485 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
20486 }
20487 {
32fe5131 20488 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
20489 }
20490 {
32fe5131 20491 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
20492 }
20493 {
32fe5131 20494 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
20495 }
20496 {
32fe5131 20497 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
20498 }
20499 {
32fe5131 20500 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int(static_cast<int >(16)));
36ed4f51
RD
20501 }
20502 {
32fe5131 20503 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int(static_cast<int >(17)));
36ed4f51
RD
20504 }
20505 {
32fe5131 20506 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int(static_cast<int >(18)));
36ed4f51
RD
20507 }
20508 {
32fe5131 20509 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int(static_cast<int >(19)));
36ed4f51
RD
20510 }
20511 {
32fe5131 20512 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20513 }
20514 {
32fe5131 20515 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20516 }
20517 {
32fe5131 20518 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20519 }
20520 {
32fe5131 20521 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20522 }
20523 {
32fe5131 20524 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20525 }
20526 {
32fe5131 20527 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20528 }
20529 {
32fe5131 20530 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20531 }
20532 {
32fe5131 20533 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20534 }
20535 {
32fe5131 20536 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20537 }
20538 {
32fe5131 20539 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20540 }
20541 {
32fe5131 20542 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
20543 }
20544 {
32fe5131 20545 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
20546 }
20547 {
32fe5131 20548 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
20549 }
20550 {
32fe5131 20551 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
20552 }
20553 {
32fe5131 20554 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
20555 }
20556 {
32fe5131 20557 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
20558 }
20559 {
32fe5131 20560 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int(static_cast<int >(16)));
36ed4f51
RD
20561 }
20562 {
32fe5131 20563 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int(static_cast<int >(17)));
36ed4f51
RD
20564 }
20565 {
32fe5131 20566 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int(static_cast<int >(18)));
36ed4f51
RD
20567 }
20568 {
32fe5131 20569 PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int(static_cast<int >(19)));
36ed4f51 20570 }
53aa7709 20571 {
32fe5131 20572 PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int(static_cast<int >(20)));
53aa7709 20573 }
36ed4f51 20574 {
32fe5131 20575 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20576 }
20577 {
32fe5131 20578 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20579 }
20580 {
32fe5131 20581 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20582 }
20583 {
32fe5131 20584 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20585 }
20586 {
32fe5131 20587 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20588 }
20589 {
32fe5131 20590 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20591 }
20592 {
32fe5131 20593 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20594 }
20595 {
32fe5131 20596 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20597 }
20598 {
32fe5131 20599 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20600 }
20601 {
32fe5131 20602 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20603 }
20604 {
32fe5131 20605 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20606 }
20607 {
32fe5131 20608 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20609 }
20610 {
32fe5131 20611 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20612 }
20613 {
32fe5131 20614 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20615 }
20616 {
32fe5131 20617 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20618 }
20619 {
32fe5131 20620 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20621 }
20622 {
32fe5131 20623 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20624 }
20625 {
32fe5131 20626 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20627 }
20628 {
32fe5131 20629 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20630 }
20631 {
32fe5131 20632 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20633 }
20634 {
32fe5131 20635 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20636 }
20637 {
32fe5131 20638 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20639 }
20640 {
32fe5131 20641 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20642 }
20643 {
32fe5131 20644 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20645 }
20646 {
32fe5131 20647 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20648 }
20649 {
32fe5131 20650 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20651 }
20652 {
32fe5131 20653 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20654 }
20655 {
32fe5131 20656 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20657 }
20658 {
32fe5131 20659 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20660 }
20661 {
32fe5131 20662 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20663 }
20664 {
32fe5131 20665 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20666 }
20667 {
32fe5131 20668 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20669 }
20670 {
32fe5131 20671 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20672 }
20673 {
32fe5131 20674 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20675 }
20676 {
32fe5131 20677 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20678 }
20679 {
32fe5131 20680 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20681 }
20682 {
32fe5131 20683 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20684 }
20685 {
32fe5131 20686 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20687 }
20688 {
32fe5131 20689 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20690 }
20691 {
32fe5131 20692 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20693 }
20694 {
32fe5131 20695 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
20696 }
20697 {
32fe5131 20698 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
20699 }
20700 {
32fe5131 20701 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
20702 }
20703 {
32fe5131 20704 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
20705 }
20706 {
32fe5131 20707 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
20708 }
20709 {
32fe5131 20710 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
20711 }
20712 {
32fe5131 20713 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int(static_cast<int >(16)));
36ed4f51
RD
20714 }
20715 {
32fe5131 20716 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20717 }
20718 {
32fe5131 20719 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20720 }
20721 {
32fe5131 20722 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20723 }
20724 {
32fe5131 20725 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20726 }
20727 {
32fe5131 20728 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20729 }
20730 {
32fe5131 20731 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20732 }
20733 {
32fe5131 20734 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20735 }
20736 {
32fe5131 20737 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20738 }
20739 {
32fe5131 20740 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20741 }
20742 {
32fe5131 20743 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20744 }
20745 {
32fe5131 20746 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
20747 }
20748 {
32fe5131 20749 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
20750 }
20751 {
32fe5131 20752 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20753 }
20754 {
32fe5131 20755 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20756 }
20757 {
32fe5131 20758 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20759 }
20760 {
32fe5131 20761 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20762 }
20763 {
32fe5131 20764 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20765 }
20766 {
32fe5131 20767 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20768 }
20769 {
32fe5131 20770 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20771 }
20772 {
32fe5131 20773 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20774 }
20775 {
32fe5131 20776 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20777 }
20778 {
32fe5131 20779 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20780 }
20781 {
32fe5131 20782 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
20783 }
20784 {
32fe5131 20785 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20786 }
20787 {
32fe5131 20788 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20789 }
20790 {
32fe5131 20791 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20792 }
20793 {
32fe5131 20794 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20795 }
20796 {
32fe5131 20797 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20798 }
20799 {
32fe5131 20800 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20801 }
20802 {
32fe5131 20803 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20804 }
20805 {
32fe5131 20806 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
20807 }
20808 {
32fe5131 20809 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20810 }
20811 {
32fe5131 20812 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20813 }
20814 {
32fe5131 20815 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20816 }
20817 {
32fe5131 20818 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20819 }
20820 {
32fe5131 20821 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20822 }
20823 {
32fe5131 20824 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20825 }
20826 {
32fe5131 20827 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20828 }
20829 {
32fe5131 20830 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20831 }
20832 {
32fe5131 20833 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20834 }
20835 {
32fe5131 20836 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20837 }
20838 {
32fe5131 20839 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20840 }
20841 {
32fe5131 20842 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20843 }
20844 {
32fe5131 20845 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20846 }
20847 {
32fe5131 20848 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20849 }
20850 {
32fe5131 20851 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20852 }
20853 {
32fe5131 20854 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20855 }
20856 {
32fe5131 20857 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20858 }
20859 {
32fe5131 20860 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20861 }
20862 {
32fe5131 20863 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20864 }
20865 {
32fe5131 20866 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
20867 }
20868 {
32fe5131 20869 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20870 }
20871 {
32fe5131 20872 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20873 }
20874 {
32fe5131 20875 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20876 }
20877 {
32fe5131 20878 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20879 }
20880 {
32fe5131 20881 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20882 }
20883 {
32fe5131 20884 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20885 }
20886 {
32fe5131 20887 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20888 }
20889 {
32fe5131 20890 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20891 }
20892 {
32fe5131 20893 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20894 }
20895 {
32fe5131 20896 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20897 }
20898 {
32fe5131 20899 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
20900 }
20901 {
32fe5131 20902 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
20903 }
20904 {
32fe5131 20905 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20906 }
20907 {
32fe5131 20908 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20909 }
20910 {
32fe5131 20911 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20912 }
20913 {
32fe5131 20914 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20915 }
20916 {
32fe5131 20917 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20918 }
20919 {
32fe5131 20920 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20921 }
20922 {
32fe5131 20923 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20924 }
20925 {
32fe5131 20926 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20927 }
20928 {
32fe5131 20929 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20930 }
20931 {
32fe5131 20932 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20933 }
20934 {
32fe5131 20935 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20936 }
20937 {
32fe5131 20938 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20939 }
20940 {
32fe5131 20941 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20942 }
20943 {
32fe5131 20944 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20945 }
20946 {
32fe5131 20947 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20948 }
20949 {
32fe5131 20950 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20951 }
20952 {
32fe5131 20953 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
20954 }
20955 {
32fe5131 20956 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
20957 }
20958 {
32fe5131 20959 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
20960 }
20961 {
32fe5131 20962 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
20963 }
20964 {
32fe5131 20965 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
20966 }
20967 {
32fe5131 20968 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
20969 }
20970 {
32fe5131 20971 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
20972 }
20973 {
32fe5131 20974 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
20975 }
20976 {
32fe5131 20977 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
20978 }
20979 {
32fe5131 20980 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
20981 }
20982 {
32fe5131 20983 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
20984 }
20985 {
32fe5131 20986 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
20987 }
20988 {
32fe5131 20989 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
20990 }
20991 {
32fe5131 20992 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
20993 }
20994 {
32fe5131 20995 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
20996 }
20997 {
32fe5131 20998 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
20999 }
21000 {
32fe5131 21001 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21002 }
21003 {
32fe5131 21004 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21005 }
21006 {
32fe5131 21007 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21008 }
21009 {
32fe5131 21010 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21011 }
21012 {
32fe5131 21013 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21014 }
21015 {
32fe5131 21016 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21017 }
21018 {
32fe5131 21019 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
21020 }
21021 {
32fe5131 21022 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
21023 }
21024 {
32fe5131 21025 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21026 }
21027 {
32fe5131 21028 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21029 }
21030 {
32fe5131 21031 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21032 }
21033 {
32fe5131 21034 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21035 }
21036 {
32fe5131 21037 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21038 }
21039 {
32fe5131 21040 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21041 }
21042 {
32fe5131 21043 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21044 }
21045 {
32fe5131 21046 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21047 }
21048 {
32fe5131 21049 PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21050 }
21051 {
32fe5131 21052 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21053 }
21054 {
32fe5131 21055 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21056 }
21057 {
32fe5131 21058 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21059 }
21060 {
32fe5131 21061 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21062 }
21063 {
32fe5131 21064 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
21065 }
21066 {
32fe5131 21067 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
21068 }
21069 {
32fe5131 21070 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21071 }
21072 {
32fe5131 21073 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21074 }
21075 {
32fe5131 21076 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21077 }
21078 {
32fe5131 21079 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21080 }
21081 {
32fe5131 21082 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21083 }
21084 {
32fe5131 21085 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21086 }
21087 {
32fe5131 21088 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21089 }
21090 {
32fe5131 21091 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21092 }
21093 {
32fe5131 21094 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21095 }
21096 {
32fe5131 21097 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21098 }
21099 {
32fe5131 21100 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21101 }
21102 {
32fe5131 21103 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21104 }
21105 {
32fe5131 21106 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21107 }
21108 {
32fe5131 21109 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
21110 }
21111 {
32fe5131 21112 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int(static_cast<int >(14)));
36ed4f51 21113 }
53aa7709 21114 {
32fe5131 21115 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int(static_cast<int >(15)));
53aa7709 21116 }
36ed4f51 21117 {
32fe5131 21118 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21119 }
21120 {
32fe5131 21121 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21122 }
21123 {
32fe5131 21124 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21125 }
21126 {
32fe5131 21127 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21128 }
21129 {
32fe5131 21130 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21131 }
21132 {
32fe5131 21133 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21134 }
21135 {
32fe5131 21136 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21137 }
21138 {
32fe5131 21139 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21140 }
21141 {
32fe5131 21142 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21143 }
21144 {
32fe5131 21145 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21146 }
21147 {
32fe5131 21148 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21149 }
21150 {
32fe5131 21151 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21152 }
21153 {
32fe5131 21154 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21155 }
21156 {
32fe5131 21157 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
21158 }
21159 {
32fe5131 21160 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
21161 }
21162 {
32fe5131 21163 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
21164 }
21165 {
32fe5131 21166 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int(static_cast<int >(16)));
36ed4f51
RD
21167 }
21168 {
32fe5131 21169 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21170 }
21171 {
32fe5131 21172 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21173 }
21174 {
32fe5131 21175 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21176 }
21177 {
32fe5131 21178 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21179 }
21180 {
32fe5131 21181 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21182 }
21183 {
32fe5131 21184 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21185 }
21186 {
32fe5131 21187 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21188 }
21189 {
32fe5131 21190 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21191 }
21192 {
32fe5131 21193 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21194 }
21195 {
32fe5131 21196 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21197 }
21198 {
32fe5131 21199 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21200 }
21201 {
32fe5131 21202 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21203 }
21204 {
32fe5131 21205 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21206 }
21207 {
32fe5131 21208 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21209 }
21210 {
32fe5131 21211 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21212 }
21213 {
32fe5131 21214 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21215 }
21216 {
32fe5131 21217 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21218 }
21219 {
32fe5131 21220 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21221 }
21222 {
32fe5131 21223 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21224 }
21225 {
32fe5131 21226 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21227 }
21228 {
32fe5131 21229 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21230 }
21231 {
32fe5131 21232 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21233 }
21234 {
32fe5131 21235 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21236 }
21237 {
32fe5131 21238 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21239 }
21240 {
32fe5131 21241 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21242 }
21243 {
32fe5131 21244 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21245 }
21246 {
32fe5131 21247 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21248 }
21249 {
32fe5131 21250 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21251 }
21252 {
32fe5131 21253 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21254 }
21255 {
32fe5131 21256 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21257 }
21258 {
32fe5131 21259 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21260 }
21261 {
32fe5131 21262 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21263 }
21264 {
32fe5131 21265 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21266 }
21267 {
32fe5131 21268 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21269 }
21270 {
32fe5131 21271 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21272 }
21273 {
32fe5131 21274 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21275 }
21276 {
32fe5131 21277 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
21278 }
21279 {
32fe5131 21280 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
21281 }
21282 {
32fe5131 21283 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
21284 }
21285 {
32fe5131 21286 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21287 }
21288 {
32fe5131 21289 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21290 }
21291 {
32fe5131 21292 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21293 }
21294 {
32fe5131 21295 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21296 }
21297 {
32fe5131 21298 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21299 }
21300 {
32fe5131 21301 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21302 }
21303 {
32fe5131 21304 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21305 }
21306 {
32fe5131 21307 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21308 }
21309 {
32fe5131 21310 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21311 }
21312 {
32fe5131 21313 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21314 }
21315 {
32fe5131 21316 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21317 }
21318 {
32fe5131 21319 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21320 }
21321 {
32fe5131 21322 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21323 }
21324 {
32fe5131 21325 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
21326 }
21327 {
32fe5131 21328 PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
21329 }
21330 {
32fe5131 21331 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21332 }
21333 {
32fe5131 21334 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21335 }
21336 {
32fe5131 21337 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21338 }
21339 {
32fe5131 21340 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21341 }
21342 {
32fe5131 21343 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21344 }
21345 {
32fe5131 21346 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21347 }
21348 {
32fe5131 21349 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21350 }
21351 {
32fe5131 21352 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21353 }
21354 {
32fe5131 21355 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21356 }
21357 {
32fe5131 21358 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21359 }
21360 {
32fe5131 21361 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21362 }
21363 {
32fe5131 21364 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21365 }
21366 {
32fe5131 21367 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21368 }
21369 {
32fe5131 21370 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
21371 }
21372 {
32fe5131 21373 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
21374 }
21375 {
32fe5131 21376 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
21377 }
21378 {
32fe5131 21379 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int(static_cast<int >(16)));
36ed4f51
RD
21380 }
21381 {
32fe5131 21382 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int(static_cast<int >(17)));
36ed4f51
RD
21383 }
21384 {
32fe5131 21385 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21386 }
21387 {
32fe5131 21388 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21389 }
21390 {
32fe5131 21391 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21392 }
21393 {
32fe5131 21394 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21395 }
21396 {
32fe5131 21397 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21398 }
21399 {
32fe5131 21400 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21401 }
21402 {
32fe5131 21403 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21404 }
21405 {
32fe5131 21406 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21407 }
21408 {
32fe5131 21409 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21410 }
21411 {
32fe5131 21412 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21413 }
21414 {
32fe5131 21415 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21416 }
21417 {
32fe5131 21418 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21419 }
21420 {
32fe5131 21421 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21422 }
21423 {
32fe5131 21424 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
21425 }
21426 {
32fe5131 21427 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
21428 }
21429 {
32fe5131 21430 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21431 }
21432 {
32fe5131 21433 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21434 }
21435 {
32fe5131 21436 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21437 }
21438 {
32fe5131 21439 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21440 }
21441 {
32fe5131 21442 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21443 }
21444 {
32fe5131 21445 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21446 }
21447 {
32fe5131 21448 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21449 }
21450 {
32fe5131 21451 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21452 }
21453 {
32fe5131 21454 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21455 }
21456 {
32fe5131 21457 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21458 }
21459 {
32fe5131 21460 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21461 }
21462 {
32fe5131 21463 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21464 }
21465 {
32fe5131 21466 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21467 }
21468 {
32fe5131 21469 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21470 }
21471 {
32fe5131 21472 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21473 }
21474 {
32fe5131 21475 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21476 }
21477 {
32fe5131 21478 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21479 }
21480 {
32fe5131 21481 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21482 }
21483 {
32fe5131 21484 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21485 }
21486 {
32fe5131 21487 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21488 }
21489 {
32fe5131 21490 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21491 }
21492 {
32fe5131 21493 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21494 }
21495 {
32fe5131 21496 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21497 }
21498 {
32fe5131 21499 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21500 }
21501 {
32fe5131 21502 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21503 }
21504 {
32fe5131 21505 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21506 }
21507 {
32fe5131 21508 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21509 }
21510 {
32fe5131 21511 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21512 }
21513 {
32fe5131 21514 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21515 }
21516 {
32fe5131 21517 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21518 }
21519 {
32fe5131 21520 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21521 }
21522 {
32fe5131 21523 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21524 }
21525 {
32fe5131 21526 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21527 }
21528 {
32fe5131 21529 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21530 }
21531 {
32fe5131 21532 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21533 }
21534 {
32fe5131 21535 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21536 }
21537 {
32fe5131 21538 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21539 }
21540 {
32fe5131 21541 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21542 }
21543 {
32fe5131 21544 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21545 }
21546 {
32fe5131 21547 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21548 }
21549 {
32fe5131 21550 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21551 }
21552 {
32fe5131 21553 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21554 }
21555 {
32fe5131 21556 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
21557 }
21558 {
32fe5131 21559 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int(static_cast<int >(31)));
36ed4f51
RD
21560 }
21561 {
32fe5131 21562 PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21563 }
21564 {
32fe5131 21565 PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21566 }
21567 {
32fe5131 21568 PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21569 }
21570 {
32fe5131 21571 PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21572 }
21573 {
32fe5131 21574 PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21575 }
21576 {
32fe5131 21577 PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21578 }
21579 {
32fe5131 21580 PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21581 }
21582 {
32fe5131 21583 PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21584 }
21585 {
32fe5131 21586 PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21587 }
21588 {
32fe5131 21589 PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21590 }
21591 {
32fe5131 21592 PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21593 }
21594 {
32fe5131 21595 PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21596 }
21597 {
32fe5131 21598 PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21599 }
21600 {
32fe5131 21601 PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
21602 }
21603 {
32fe5131 21604 PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
21605 }
21606 {
32fe5131 21607 PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int(static_cast<int >(15)));
36ed4f51
RD
21608 }
21609 {
32fe5131 21610 PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int(static_cast<int >(16)));
36ed4f51
RD
21611 }
21612 {
32fe5131 21613 PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21614 }
21615 {
32fe5131 21616 PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21617 }
21618 {
32fe5131 21619 PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21620 }
21621 {
32fe5131 21622 PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21623 }
21624 {
32fe5131 21625 PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21626 }
21627 {
32fe5131 21628 PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21629 }
21630 {
32fe5131 21631 PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21632 }
21633 {
32fe5131 21634 PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21635 }
21636 {
32fe5131 21637 PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21638 }
21639 {
32fe5131 21640 PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21641 }
21642 {
32fe5131 21643 PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21644 }
21645 {
32fe5131 21646 PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21647 }
21648 {
32fe5131 21649 PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21650 }
21651 {
32fe5131 21652 PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int(static_cast<int >(19)));
36ed4f51
RD
21653 }
21654 {
32fe5131 21655 PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21656 }
21657 {
32fe5131 21658 PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21659 }
21660 {
32fe5131 21661 PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21662 }
21663 {
32fe5131 21664 PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21665 }
21666 {
32fe5131 21667 PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21668 }
21669 {
32fe5131 21670 PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21671 }
21672 {
32fe5131 21673 PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21674 }
21675 {
32fe5131 21676 PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21677 }
21678 {
32fe5131 21679 PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21680 }
21681 {
32fe5131 21682 PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21683 }
21684 {
32fe5131 21685 PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int(static_cast<int >(31)));
36ed4f51
RD
21686 }
21687 {
32fe5131 21688 PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21689 }
21690 {
32fe5131 21691 PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21692 }
21693 {
32fe5131 21694 PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21695 }
21696 {
32fe5131 21697 PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21698 }
21699 {
32fe5131 21700 PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21701 }
21702 {
32fe5131 21703 PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21704 }
21705 {
32fe5131 21706 PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21707 }
21708 {
32fe5131 21709 PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21710 }
21711 {
32fe5131 21712 PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21713 }
21714 {
32fe5131 21715 PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21716 }
21717 {
32fe5131 21718 PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21719 }
21720 {
32fe5131 21721 PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21722 }
21723 {
32fe5131 21724 PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21725 }
21726 {
32fe5131 21727 PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21728 }
21729 {
32fe5131 21730 PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21731 }
21732 {
32fe5131 21733 PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21734 }
21735 {
32fe5131 21736 PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21737 }
21738 {
32fe5131 21739 PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21740 }
21741 {
32fe5131 21742 PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21743 }
21744 {
32fe5131 21745 PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21746 }
21747 {
32fe5131 21748 PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21749 }
21750 {
32fe5131 21751 PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21752 }
21753 {
32fe5131 21754 PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21755 }
21756 {
32fe5131 21757 PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int(static_cast<int >(13)));
36ed4f51
RD
21758 }
21759 {
32fe5131 21760 PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int(static_cast<int >(14)));
36ed4f51
RD
21761 }
21762 {
32fe5131 21763 PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int(static_cast<int >(19)));
36ed4f51
RD
21764 }
21765 {
32fe5131 21766 PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21767 }
21768 {
32fe5131 21769 PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21770 }
21771 {
32fe5131 21772 PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21773 }
21774 {
32fe5131 21775 PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21776 }
21777 {
32fe5131 21778 PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21779 }
21780 {
32fe5131 21781 PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21782 }
21783 {
32fe5131 21784 PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21785 }
21786 {
32fe5131 21787 PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21788 }
21789 {
32fe5131 21790 PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21791 }
21792 {
32fe5131 21793 PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21794 }
21795 {
32fe5131 21796 PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21797 }
21798 {
32fe5131 21799 PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int(static_cast<int >(11)));
36ed4f51 21800 }
53aa7709 21801 {
32fe5131 21802 PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int(static_cast<int >(12)));
53aa7709 21803 }
36ed4f51 21804 {
32fe5131 21805 PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21806 }
21807 {
32fe5131 21808 PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21809 }
21810 {
32fe5131 21811 PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21812 }
21813 {
32fe5131 21814 PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21815 }
21816 {
32fe5131 21817 PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21818 }
21819 {
32fe5131 21820 PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21821 }
21822 {
32fe5131 21823 PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21824 }
21825 {
32fe5131 21826 PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21827 }
21828 {
32fe5131 21829 PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int(static_cast<int >(8)));
53aa7709
RD
21830 }
21831 {
32fe5131 21832 PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int(static_cast<int >(9)));
53aa7709
RD
21833 }
21834 {
32fe5131 21835 PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int(static_cast<int >(10)));
53aa7709
RD
21836 }
21837 {
32fe5131 21838 PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int(static_cast<int >(11)));
53aa7709
RD
21839 }
21840 {
32fe5131 21841 PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21842 }
21843 {
32fe5131 21844 PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int(static_cast<int >(0)));
36ed4f51
RD
21845 }
21846 {
32fe5131 21847 PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int(static_cast<int >(1)));
36ed4f51
RD
21848 }
21849 {
32fe5131 21850 PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
36ed4f51
RD
21851 }
21852 {
32fe5131 21853 PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int(static_cast<int >(3)));
36ed4f51
RD
21854 }
21855 {
32fe5131 21856 PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int(static_cast<int >(4)));
36ed4f51
RD
21857 }
21858 {
32fe5131 21859 PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int(static_cast<int >(5)));
36ed4f51
RD
21860 }
21861 {
32fe5131 21862 PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int(static_cast<int >(6)));
36ed4f51
RD
21863 }
21864 {
32fe5131 21865 PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int(static_cast<int >(7)));
36ed4f51
RD
21866 }
21867 {
32fe5131 21868 PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int(static_cast<int >(8)));
36ed4f51
RD
21869 }
21870 {
32fe5131 21871 PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int(static_cast<int >(9)));
36ed4f51
RD
21872 }
21873 {
32fe5131 21874 PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int(static_cast<int >(10)));
36ed4f51
RD
21875 }
21876 {
32fe5131 21877 PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int(static_cast<int >(11)));
36ed4f51
RD
21878 }
21879 {
32fe5131 21880 PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int(static_cast<int >(12)));
36ed4f51
RD
21881 }
21882 {
32fe5131 21883 PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int(static_cast<int >(13)));
36ed4f51 21884 }
53aa7709 21885 {
32fe5131 21886 PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int(static_cast<int >(0)));
53aa7709
RD
21887 }
21888 {
32fe5131 21889 PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int(static_cast<int >(1)));
53aa7709
RD
21890 }
21891 {
32fe5131 21892 PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int(static_cast<int >(2)));
53aa7709
RD
21893 }
21894 {
32fe5131 21895 PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int(static_cast<int >(3)));
53aa7709
RD
21896 }
21897 {
32fe5131 21898 PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int(static_cast<int >(4)));
53aa7709
RD
21899 }
21900 {
32fe5131 21901 PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int(static_cast<int >(5)));
53aa7709
RD
21902 }
21903 {
32fe5131 21904 PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int(static_cast<int >(6)));
53aa7709
RD
21905 }
21906 {
32fe5131 21907 PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int(static_cast<int >(7)));
53aa7709
RD
21908 }
21909 {
32fe5131 21910 PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int(static_cast<int >(8)));
53aa7709
RD
21911 }
21912 {
32fe5131 21913 PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int(static_cast<int >(9)));
53aa7709
RD
21914 }
21915 {
32fe5131 21916 PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int(static_cast<int >(10)));
53aa7709
RD
21917 }
21918 {
32fe5131 21919 PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
53aa7709
RD
21920 }
21921 {
32fe5131 21922 PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int(static_cast<int >(1)));
53aa7709
RD
21923 }
21924 {
32fe5131 21925 PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(2)));
53aa7709
RD
21926 }
21927 {
32fe5131 21928 PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int(static_cast<int >(3)));
53aa7709
RD
21929 }
21930 {
32fe5131 21931 PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int(static_cast<int >(4)));
53aa7709
RD
21932 }
21933 {
32fe5131 21934 PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int(static_cast<int >(5)));
53aa7709
RD
21935 }
21936 {
32fe5131 21937 PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int(static_cast<int >(6)));
53aa7709
RD
21938 }
21939 {
32fe5131 21940 PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int(static_cast<int >(7)));
53aa7709
RD
21941 }
21942 {
32fe5131 21943 PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int(static_cast<int >(8)));
53aa7709
RD
21944 }
21945 {
32fe5131 21946 PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int(static_cast<int >(9)));
53aa7709
RD
21947 }
21948 {
32fe5131 21949 PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int(static_cast<int >(10)));
53aa7709
RD
21950 }
21951 {
32fe5131 21952 PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int(static_cast<int >(11)));
53aa7709
RD
21953 }
21954 {
32fe5131 21955 PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int(static_cast<int >(12)));
53aa7709
RD
21956 }
21957 {
32fe5131 21958 PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int(static_cast<int >(13)));
53aa7709
RD
21959 }
21960 {
32fe5131 21961 PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int(static_cast<int >(14)));
53aa7709 21962 }
36ed4f51 21963 {
32fe5131 21964 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int(static_cast<int >(2011)));
36ed4f51
RD
21965 }
21966 {
32fe5131 21967 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int(static_cast<int >(2013)));
36ed4f51
RD
21968 }
21969 {
32fe5131 21970 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int(static_cast<int >(2176)));
36ed4f51
RD
21971 }
21972 {
32fe5131 21973 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int(static_cast<int >(2177)));
36ed4f51
RD
21974 }
21975 {
32fe5131 21976 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int(static_cast<int >(2178)));
36ed4f51
RD
21977 }
21978 {
32fe5131 21979 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int(static_cast<int >(2179)));
36ed4f51
RD
21980 }
21981 {
32fe5131 21982 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int(static_cast<int >(2180)));
36ed4f51
RD
21983 }
21984 {
32fe5131 21985 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int(static_cast<int >(2300)));
36ed4f51
RD
21986 }
21987 {
32fe5131 21988 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int(static_cast<int >(2301)));
36ed4f51
RD
21989 }
21990 {
32fe5131 21991 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int(static_cast<int >(2302)));
36ed4f51
RD
21992 }
21993 {
32fe5131 21994 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int(static_cast<int >(2303)));
36ed4f51
RD
21995 }
21996 {
32fe5131 21997 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int(static_cast<int >(2304)));
36ed4f51
RD
21998 }
21999 {
32fe5131 22000 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int(static_cast<int >(2305)));
36ed4f51
RD
22001 }
22002 {
32fe5131 22003 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int(static_cast<int >(2306)));
36ed4f51
RD
22004 }
22005 {
32fe5131 22006 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int(static_cast<int >(2307)));
36ed4f51
RD
22007 }
22008 {
32fe5131 22009 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int(static_cast<int >(2308)));
36ed4f51
RD
22010 }
22011 {
32fe5131 22012 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int(static_cast<int >(2309)));
36ed4f51
RD
22013 }
22014 {
32fe5131 22015 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int(static_cast<int >(2310)));
36ed4f51
RD
22016 }
22017 {
32fe5131 22018 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int(static_cast<int >(2311)));
36ed4f51
RD
22019 }
22020 {
32fe5131 22021 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int(static_cast<int >(2312)));
36ed4f51
RD
22022 }
22023 {
32fe5131 22024 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int(static_cast<int >(2313)));
36ed4f51
RD
22025 }
22026 {
32fe5131 22027 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int(static_cast<int >(2314)));
36ed4f51
RD
22028 }
22029 {
32fe5131 22030 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int(static_cast<int >(2315)));
36ed4f51
RD
22031 }
22032 {
32fe5131 22033 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int(static_cast<int >(2316)));
36ed4f51
RD
22034 }
22035 {
32fe5131 22036 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int(static_cast<int >(2317)));
36ed4f51
RD
22037 }
22038 {
32fe5131 22039 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int(static_cast<int >(2318)));
36ed4f51
RD
22040 }
22041 {
32fe5131 22042 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int(static_cast<int >(2319)));
36ed4f51
RD
22043 }
22044 {
32fe5131 22045 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int(static_cast<int >(2320)));
36ed4f51
RD
22046 }
22047 {
32fe5131 22048 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int(static_cast<int >(2321)));
36ed4f51
RD
22049 }
22050 {
32fe5131 22051 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int(static_cast<int >(2322)));
36ed4f51
RD
22052 }
22053 {
32fe5131 22054 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int(static_cast<int >(2323)));
36ed4f51
RD
22055 }
22056 {
32fe5131 22057 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int(static_cast<int >(2324)));
36ed4f51
RD
22058 }
22059 {
32fe5131 22060 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int(static_cast<int >(2325)));
36ed4f51
RD
22061 }
22062 {
32fe5131 22063 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int(static_cast<int >(2326)));
36ed4f51
RD
22064 }
22065 {
32fe5131 22066 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int(static_cast<int >(2327)));
36ed4f51
RD
22067 }
22068 {
32fe5131 22069 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int(static_cast<int >(2328)));
36ed4f51
RD
22070 }
22071 {
32fe5131 22072 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int(static_cast<int >(2329)));
36ed4f51
RD
22073 }
22074 {
32fe5131 22075 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int(static_cast<int >(2330)));
36ed4f51
RD
22076 }
22077 {
32fe5131 22078 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int(static_cast<int >(2331)));
36ed4f51
RD
22079 }
22080 {
32fe5131 22081 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int(static_cast<int >(2332)));
36ed4f51
RD
22082 }
22083 {
32fe5131 22084 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int(static_cast<int >(2333)));
36ed4f51
RD
22085 }
22086 {
32fe5131 22087 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int(static_cast<int >(2334)));
36ed4f51
RD
22088 }
22089 {
32fe5131 22090 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int(static_cast<int >(2335)));
36ed4f51
RD
22091 }
22092 {
32fe5131 22093 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int(static_cast<int >(2336)));
36ed4f51
RD
22094 }
22095 {
32fe5131 22096 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int(static_cast<int >(2337)));
36ed4f51
RD
22097 }
22098 {
32fe5131 22099 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int(static_cast<int >(2338)));
36ed4f51
RD
22100 }
22101 {
32fe5131 22102 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int(static_cast<int >(2339)));
36ed4f51
RD
22103 }
22104 {
32fe5131 22105 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int(static_cast<int >(2404)));
36ed4f51
RD
22106 }
22107 {
32fe5131 22108 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int(static_cast<int >(2340)));
36ed4f51
RD
22109 }
22110 {
32fe5131 22111 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int(static_cast<int >(2341)));
36ed4f51
RD
22112 }
22113 {
32fe5131 22114 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int(static_cast<int >(2342)));
36ed4f51
RD
22115 }
22116 {
32fe5131 22117 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int(static_cast<int >(2343)));
36ed4f51
RD
22118 }
22119 {
32fe5131 22120 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int(static_cast<int >(2344)));
36ed4f51
RD
22121 }
22122 {
32fe5131 22123 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int(static_cast<int >(2345)));
36ed4f51
RD
22124 }
22125 {
32fe5131 22126 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int(static_cast<int >(2346)));
36ed4f51
RD
22127 }
22128 {
32fe5131 22129 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int(static_cast<int >(2347)));
36ed4f51
RD
22130 }
22131 {
32fe5131 22132 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int(static_cast<int >(2348)));
36ed4f51
RD
22133 }
22134 {
32fe5131 22135 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int(static_cast<int >(2349)));
36ed4f51
RD
22136 }
22137 {
32fe5131 22138 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int(static_cast<int >(2450)));
36ed4f51
RD
22139 }
22140 {
32fe5131 22141 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int(static_cast<int >(2451)));
36ed4f51
RD
22142 }
22143 {
32fe5131 22144 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int(static_cast<int >(2452)));
36ed4f51
RD
22145 }
22146 {
32fe5131 22147 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int(static_cast<int >(2453)));
36ed4f51
RD
22148 }
22149 {
32fe5131 22150 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int(static_cast<int >(2454)));
36ed4f51
RD
22151 }
22152 {
32fe5131 22153 PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int(static_cast<int >(2455)));
36ed4f51
RD
22154 }
22155 {
32fe5131 22156 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int(static_cast<int >(2390)));
36ed4f51
RD
22157 }
22158 {
32fe5131 22159 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int(static_cast<int >(2391)));
36ed4f51
RD
22160 }
22161 {
32fe5131 22162 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int(static_cast<int >(2392)));
36ed4f51
RD
22163 }
22164 {
32fe5131 22165 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int(static_cast<int >(2393)));
36ed4f51
RD
22166 }
22167 {
32fe5131 22168 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int(static_cast<int >(2395)));
36ed4f51
RD
22169 }
22170 {
32fe5131 22171 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int(static_cast<int >(2396)));
36ed4f51
RD
22172 }
22173 {
32fe5131 22174 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int(static_cast<int >(2413)));
36ed4f51
RD
22175 }
22176 {
32fe5131 22177 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int(static_cast<int >(2414)));
36ed4f51
RD
22178 }
22179 {
32fe5131 22180 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int(static_cast<int >(2415)));
36ed4f51
RD
22181 }
22182 {
32fe5131 22183 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int(static_cast<int >(2416)));
36ed4f51
RD
22184 }
22185 {
32fe5131 22186 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int(static_cast<int >(2426)));
36ed4f51
RD
22187 }
22188 {
32fe5131 22189 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int(static_cast<int >(2427)));
36ed4f51
RD
22190 }
22191 {
32fe5131 22192 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int(static_cast<int >(2428)));
36ed4f51
RD
22193 }
22194 {
32fe5131 22195 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int(static_cast<int >(2429)));
36ed4f51
RD
22196 }
22197 {
32fe5131 22198 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int(static_cast<int >(2430)));
36ed4f51
RD
22199 }
22200 {
32fe5131 22201 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int(static_cast<int >(2431)));
36ed4f51
RD
22202 }
22203 {
32fe5131 22204 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int(static_cast<int >(2432)));
36ed4f51
RD
22205 }
22206 {
32fe5131 22207 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int(static_cast<int >(2433)));
36ed4f51
RD
22208 }
22209 {
32fe5131 22210 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int(static_cast<int >(2434)));
36ed4f51
RD
22211 }
22212 {
32fe5131 22213 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int(static_cast<int >(2435)));
36ed4f51
RD
22214 }
22215 {
32fe5131 22216 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int(static_cast<int >(2436)));
36ed4f51
RD
22217 }
22218 {
32fe5131 22219 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int(static_cast<int >(2437)));
36ed4f51
RD
22220 }
22221 {
32fe5131 22222 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int(static_cast<int >(2438)));
36ed4f51
RD
22223 }
22224 {
32fe5131 22225 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int(static_cast<int >(2439)));
36ed4f51
RD
22226 }
22227 {
32fe5131 22228 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int(static_cast<int >(2440)));
36ed4f51
RD
22229 }
22230 {
32fe5131 22231 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int(static_cast<int >(2441)));
36ed4f51
RD
22232 }
22233 {
32fe5131 22234 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int(static_cast<int >(2442)));
36ed4f51
RD
22235 }
22236 {
32fe5131 22237 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int(static_cast<int >(wxEVT_STC_CHANGE)));
36ed4f51
RD
22238 }
22239 {
32fe5131 22240 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int(static_cast<int >(wxEVT_STC_STYLENEEDED)));
36ed4f51
RD
22241 }
22242 {
32fe5131 22243 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int(static_cast<int >(wxEVT_STC_CHARADDED)));
36ed4f51
RD
22244 }
22245 {
32fe5131 22246 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int(static_cast<int >(wxEVT_STC_SAVEPOINTREACHED)));
36ed4f51
RD
22247 }
22248 {
32fe5131 22249 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int(static_cast<int >(wxEVT_STC_SAVEPOINTLEFT)));
36ed4f51
RD
22250 }
22251 {
32fe5131 22252 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int(static_cast<int >(wxEVT_STC_ROMODIFYATTEMPT)));
36ed4f51
RD
22253 }
22254 {
32fe5131 22255 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int(static_cast<int >(wxEVT_STC_KEY)));
36ed4f51
RD
22256 }
22257 {
32fe5131 22258 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_DOUBLECLICK)));
36ed4f51
RD
22259 }
22260 {
32fe5131 22261 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int(static_cast<int >(wxEVT_STC_UPDATEUI)));
36ed4f51
RD
22262 }
22263 {
32fe5131 22264 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int(static_cast<int >(wxEVT_STC_MODIFIED)));
36ed4f51
RD
22265 }
22266 {
32fe5131 22267 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int(static_cast<int >(wxEVT_STC_MACRORECORD)));
36ed4f51
RD
22268 }
22269 {
32fe5131 22270 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_MARGINCLICK)));
36ed4f51
RD
22271 }
22272 {
32fe5131 22273 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int(static_cast<int >(wxEVT_STC_NEEDSHOWN)));
36ed4f51
RD
22274 }
22275 {
32fe5131 22276 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int(static_cast<int >(wxEVT_STC_PAINTED)));
36ed4f51
RD
22277 }
22278 {
32fe5131 22279 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int(static_cast<int >(wxEVT_STC_USERLISTSELECTION)));
36ed4f51
RD
22280 }
22281 {
32fe5131 22282 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int(static_cast<int >(wxEVT_STC_URIDROPPED)));
36ed4f51
RD
22283 }
22284 {
32fe5131 22285 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int(static_cast<int >(wxEVT_STC_DWELLSTART)));
36ed4f51
RD
22286 }
22287 {
32fe5131 22288 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int(static_cast<int >(wxEVT_STC_DWELLEND)));
36ed4f51
RD
22289 }
22290 {
32fe5131 22291 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int(static_cast<int >(wxEVT_STC_START_DRAG)));
36ed4f51
RD
22292 }
22293 {
32fe5131 22294 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int(static_cast<int >(wxEVT_STC_DRAG_OVER)));
36ed4f51
RD
22295 }
22296 {
32fe5131 22297 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int(static_cast<int >(wxEVT_STC_DO_DROP)));
36ed4f51
RD
22298 }
22299 {
32fe5131 22300 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int(static_cast<int >(wxEVT_STC_ZOOM)));
36ed4f51
RD
22301 }
22302 {
32fe5131 22303 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_HOTSPOT_CLICK)));
36ed4f51
RD
22304 }
22305 {
32fe5131 22306 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_HOTSPOT_DCLICK)));
36ed4f51
RD
22307 }
22308 {
32fe5131 22309 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_CALLTIP_CLICK)));
36ed4f51 22310 }
d14a1e28
RD
22311
22312
22313}
22314