]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/stc/msw/stc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / stc / msw / stc_wrap.cpp
CommitLineData
cfe5e918
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
554f62e9 3 * Version 1.3.29
cfe5e918
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
554f62e9 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
cfe5e918
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 27};
cfe5e918
RD
28#endif
29
554f62e9 30/* -----------------------------------------------------------------------------
7449af73
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
554f62e9 33 * ----------------------------------------------------------------------------- */
cfe5e918 34
7449af73
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
554f62e9
RD
37# if defined(__SUNPRO_CC)
38# if (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
093d3ff1 46#endif
cfe5e918 47
7449af73
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
554f62e9
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
7449af73
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
554f62e9
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
7449af73
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
554f62e9
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
7449af73
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
554f62e9
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
7449af73
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
554f62e9
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
7449af73 126
cfe5e918 127
554f62e9 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
cfe5e918 130
554f62e9 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
cfe5e918 133 *
554f62e9
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
cfe5e918 137
093d3ff1
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
7449af73 140#define SWIG_RUNTIME_VERSION "2"
cfe5e918 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
7449af73
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
cfe5e918 147#else
7449af73 148# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
7449af73 159
093d3ff1 160#ifndef SWIGRUNTIME
7449af73 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
7449af73 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
7449af73 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
cfe5e918
RD
166#endif
167
554f62e9
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
7449af73
RD
309#include <string.h>
310
cfe5e918
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
7449af73 318/* Structure to store inforomation on one type */
cfe5e918 319typedef struct swig_type_info {
7449af73
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
554f62e9 325 int owndata; /* flag if the structure owns the clientdata */
cfe5e918
RD
326} swig_type_info;
327
7449af73
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
093d3ff1
RD
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
554f62e9 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
093d3ff1
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
7449af73 368 Return 0 if not equal, 1 if equal
093d3ff1
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
7449af73 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
7449af73
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 388*/
7449af73
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
093d3ff1 397 }
7449af73
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
7449af73
RD
401 return equiv;
402}
093d3ff1 403
093d3ff1 404
7449af73
RD
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
093d3ff1
RD
426
427/*
428 Check the typename
429*/
7449af73 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
7449af73 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
554f62e9 481 if (!type) return NULL;
093d3ff1
RD
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
093d3ff1
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
7449af73
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
093d3ff1
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
7449af73
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
093d3ff1 507 }
7449af73
RD
508 }
509 cast = cast->next;
510 }
511}
554f62e9
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
7449af73
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
093d3ff1 556 }
7449af73
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
093d3ff1 591 }
7449af73
RD
592
593 /* neither found a match */
594 return 0;
093d3ff1
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
7449af73
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
093d3ff1 605 for (; u != eu; ++u) {
7449af73 606 register unsigned char uu = *u;
093d3ff1
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
7449af73 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
7449af73 621 register char d = *(c++);
554f62e9 622 register unsigned char uu;
093d3ff1
RD
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
093d3ff1
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
cfe5e918 682
093d3ff1
RD
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
cfe5e918
RD
695
696#ifdef __cplusplus
697}
698#endif
699
554f62e9
RD
700/* Errors in SWIG */
701#define SWIG_UnknownError -1
702#define SWIG_IOError -2
703#define SWIG_RuntimeError -3
704#define SWIG_IndexError -4
705#define SWIG_TypeError -5
706#define SWIG_DivisionByZero -6
707#define SWIG_OverflowError -7
708#define SWIG_SyntaxError -8
709#define SWIG_ValueError -9
710#define SWIG_SystemError -10
711#define SWIG_AttributeError -11
712#define SWIG_MemoryError -12
713#define SWIG_NullReferenceError -13
cfe5e918 714
554f62e9
RD
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
720/* Add PyOS_snprintf for old Pythons */
721#if PY_VERSION_HEX < 0x02020000
722# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723# define PyOS_snprintf _snprintf
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
756/* A crude PyExc_StopIteration exception for old Pythons */
757#if PY_VERSION_HEX < 0x02020000
758# ifndef PyExc_StopIteration
759# define PyExc_StopIteration PyExc_RuntimeError
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
093d3ff1 764#endif
554f62e9
RD
765/* Py_NotImplemented is defined in 2.1 and up. */
766#if PY_VERSION_HEX < 0x02010000
767# ifndef Py_NotImplemented
768# define Py_NotImplemented PyExc_RuntimeError
769# endif
770#endif
771
772
773/* A crude PyString_AsStringAndSize implementation for old Pythons */
774#if PY_VERSION_HEX < 0x02010000
775# ifndef PyString_AsStringAndSize
776# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
c32bde28 799
093d3ff1 800/* -----------------------------------------------------------------------------
554f62e9 801 * error manipulation
093d3ff1 802 * ----------------------------------------------------------------------------- */
cfe5e918 803
554f62e9
RD
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
cfe5e918 846
554f62e9
RD
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
875#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878# define SWIG_PYTHON_USE_GIL
879# endif
880# endif
881# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882# ifndef SWIG_PYTHON_INITIALIZE_THREADS
883# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906# else /* C code */
907# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
929#else /* No thread support */
930# define SWIG_PYTHON_INITIALIZE_THREADS
931# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932# define SWIG_PYTHON_THREAD_END_BLOCK
933# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934# define SWIG_PYTHON_THREAD_END_ALLOW
093d3ff1 935#endif
cfe5e918 936
554f62e9
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
554f62e9
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
cfe5e918 951
093d3ff1 952/* Constant Types */
093d3ff1
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
554f62e9
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
093d3ff1 964} swig_const_info;
cfe5e918 965
cfe5e918 966#ifdef __cplusplus
554f62e9
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
cfe5e918 972
cfe5e918 973
554f62e9
RD
974/* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
093d3ff1
RD
978 * pyrun.swg
979 *
554f62e9
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
093d3ff1 983 *
554f62e9 984 * ----------------------------------------------------------------------------- */
cfe5e918 985
093d3ff1 986/* Common SWIG API */
cfe5e918 987
96221a45
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
554f62e9
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
cfe5e918 1000
554f62e9
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
cfe5e918 1004
554f62e9
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
cfe5e918 1008
554f62e9
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
cfe5e918 1012
554f62e9
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
7449af73 1016
cfe5e918 1017
554f62e9 1018/* Runtime API */
cfe5e918 1019
554f62e9
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
7449af73 1023
554f62e9
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
7449af73 1029
cfe5e918 1030
554f62e9 1031/* Runtime API implementation */
cfe5e918 1032
554f62e9 1033/* Error manipulation */
cfe5e918 1034
554f62e9
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
c32bde28 1041}
cfe5e918 1042
554f62e9
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
cfe5e918
RD
1048}
1049
554f62e9 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
7449af73 1051
554f62e9 1052/* Set a constant value */
cfe5e918 1053
554f62e9
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
c32bde28 1058}
cfe5e918 1059
554f62e9 1060/* Append a value to the result obj */
cfe5e918 1061
554f62e9
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
093d3ff1 1088 } else {
554f62e9
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c32bde28 1100 }
554f62e9
RD
1101 return result;
1102#endif
093d3ff1
RD
1103}
1104
554f62e9 1105/* Unpack the argument tuple */
093d3ff1 1106
554f62e9
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 1609#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1613#endif
1614 };
1615
554f62e9 1616 static PyTypeObject pyswigobject_type;
7449af73 1617 static int type_init = 0;
093d3ff1 1618 if (!type_init) {
554f62e9
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
093d3ff1 1632#endif
554f62e9
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
093d3ff1 1651#if PY_VERSION_HEX >= 0x02020000
554f62e9
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
093d3ff1
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
554f62e9 1674 0, /* tp_del */
093d3ff1
RD
1675#endif
1676#ifdef COUNT_ALLOCS
554f62e9 1677 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1678#endif
554f62e9 1679 };
7449af73 1680 pyswigobject_type = tmp;
554f62e9 1681 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1 1682 type_init = 1;
c32bde28 1683 }
7449af73 1684 return &pyswigobject_type;
093d3ff1
RD
1685}
1686
1687SWIGRUNTIME PyObject *
554f62e9 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
093d3ff1 1689{
554f62e9
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
7449af73 1696 }
554f62e9 1697 return (PyObject *)sobj;
093d3ff1
RD
1698}
1699
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
554f62e9 1707 swig_type_info *ty;
093d3ff1
RD
1708 size_t size;
1709} PySwigPacked;
1710
1711SWIGRUNTIME int
554f62e9 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
093d3ff1
RD
1713{
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
c32bde28 1719 }
554f62e9 1720 fputs(v->ty->name,fp);
093d3ff1
RD
1721 fputs(">", fp);
1722 return 0;
1723}
9d7dfdff 1724
093d3ff1
RD
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
554f62e9 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1731 } else {
554f62e9 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1 1733 }
c32bde28
RD
1734}
1735
093d3ff1
RD
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
554f62e9 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1742 } else {
554f62e9 1743 return PyString_FromString(v->ty->name);
093d3ff1
RD
1744 }
1745}
c32bde28 1746
093d3ff1
RD
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
c32bde28 1749{
554f62e9
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c32bde28
RD
1754}
1755
554f62e9 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
cfe5e918 1757
093d3ff1 1758SWIGRUNTIME PyTypeObject*
7449af73 1759PySwigPacked_type(void) {
554f62e9
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
093d3ff1
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
554f62e9 1837 0, /* tp_del */
093d3ff1
RD
1838#endif
1839#ifdef COUNT_ALLOCS
554f62e9 1840 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1841#endif
554f62e9 1842 };
7449af73 1843 pyswigpacked_type = tmp;
554f62e9 1844 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1845 type_init = 1;
1846 }
7449af73 1847 return &pyswigpacked_type;
093d3ff1
RD
1848}
1849
1850SWIGRUNTIME PyObject *
554f62e9 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1852{
554f62e9
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
093d3ff1 1855 void *pack = malloc(size);
7449af73
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
554f62e9
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
7449af73 1864 }
7e63a440 1865 }
554f62e9 1866 return (PyObject *) sobj;
093d3ff1
RD
1867}
1868
554f62e9 1869SWIGRUNTIME swig_type_info *
093d3ff1
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
554f62e9
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
093d3ff1 1880}
cfe5e918 1881
093d3ff1 1882/* -----------------------------------------------------------------------------
554f62e9 1883 * pointers/data manipulation
093d3ff1 1884 * ----------------------------------------------------------------------------- */
cfe5e918 1885
554f62e9
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
093d3ff1 1891
554f62e9
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
093d3ff1 1898
554f62e9 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
093d3ff1 1900
554f62e9
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
cfe5e918 1903{
554f62e9
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
093d3ff1 1926 } else {
554f62e9
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
c32bde28
RD
1929 }
1930 }
554f62e9
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
cfe5e918
RD
1947 }
1948}
1949
554f62e9
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
093d3ff1 1961 }
554f62e9 1962 return 0;
093d3ff1 1963}
cfe5e918 1964
554f62e9
RD
1965/* Convert a pointer value */
1966
093d3ff1 1967SWIGRUNTIME int
554f62e9
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
093d3ff1 1992 } else {
554f62e9
RD
1993 if (ptr) *ptr = vptr;
1994 break;
093d3ff1 1995 }
093d3ff1 1996 }
554f62e9
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
c32bde28 2042 }
cfe5e918
RD
2043}
2044
554f62e9
RD
2045/* Convert a function ptr value */
2046
093d3ff1 2047SWIGRUNTIME int
554f62e9
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2051 } else {
554f62e9
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
96221a45 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
554f62e9
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
093d3ff1 2069 }
cfe5e918
RD
2070}
2071
554f62e9 2072/* Convert a packed value value */
cfe5e918 2073
093d3ff1 2074SWIGRUNTIME int
554f62e9
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
093d3ff1 2084 }
554f62e9
RD
2085 return SWIG_OK;
2086}
093d3ff1 2087
554f62e9
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
cfe5e918 2091
554f62e9
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
093d3ff1 2096
554f62e9
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
093d3ff1 2115 }
554f62e9
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
cfe5e918 2120 }
554f62e9
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
093d3ff1 2126 }
554f62e9
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
093d3ff1 2140 }
554f62e9
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
093d3ff1 2147 }
554f62e9
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
cfe5e918
RD
2158}
2159
554f62e9
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
093d3ff1 2175#endif
554f62e9
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
093d3ff1 2180
554f62e9
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2191 } else {
554f62e9 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
cfe5e918 2193 }
554f62e9 2194 return SWIG_Py_Void();
093d3ff1 2195 }
554f62e9
RD
2196}
2197
2198/* Create a new pointer object */
093d3ff1 2199
093d3ff1 2200SWIGRUNTIME PyObject *
554f62e9 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
7bdb1bc4 2202 if (!ptr) {
554f62e9
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
7bdb1bc4 2213 }
7bdb1bc4 2214 }
554f62e9 2215 return robj;
7bdb1bc4 2216 }
7bdb1bc4
RD
2217}
2218
554f62e9
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
7bdb1bc4 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
554f62e9 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
7bdb1bc4
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248#endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251}
2252
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
554f62e9 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
7bdb1bc4
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
554f62e9 2263 return SWIG_ERROR;
7bdb1bc4
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
554f62e9 2268 return SWIG_ERROR;
7bdb1bc4
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
554f62e9 2276 return SWIG_ERROR;
7bdb1bc4
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
554f62e9 2279 return SWIG_ERROR;
7bdb1bc4 2280 Py_DECREF(o);
554f62e9 2281 return SWIG_OK;
7bdb1bc4
RD
2282}
2283#endif
2284
554f62e9
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
7bdb1bc4
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
554f62e9 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
7bdb1bc4
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
554f62e9
RD
2310 } else {
2311 Py_XDECREF(pointer);
7bdb1bc4
RD
2312 }
2313}
2314
554f62e9
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
7bdb1bc4 2320}
7bdb1bc4 2321
554f62e9
RD
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2466#define SWIGTYPE_p_char swig_types[0]
2467#define SWIGTYPE_p_form_ops_t swig_types[1]
2468#define SWIGTYPE_p_int swig_types[2]
7bdb1bc4
RD
2469#define SWIGTYPE_p_unsigned_char swig_types[3]
2470#define SWIGTYPE_p_unsigned_int swig_types[4]
2471#define SWIGTYPE_p_unsigned_long swig_types[5]
2472#define SWIGTYPE_p_void swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxBMPHandler swig_types[10]
2477#define SWIGTYPE_p_wxBitmap swig_types[11]
2478#define SWIGTYPE_p_wxBoxSizer swig_types[12]
2479#define SWIGTYPE_p_wxBusyInfo swig_types[13]
2480#define SWIGTYPE_p_wxCURHandler swig_types[14]
2481#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2482#define SWIGTYPE_p_wxClipboard swig_types[16]
2131d850
RD
2483#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484#define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485#define SWIGTYPE_p_wxColour swig_types[19]
2486#define SWIGTYPE_p_wxCommandEvent swig_types[20]
2487#define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2488#define SWIGTYPE_p_wxControl swig_types[22]
2489#define SWIGTYPE_p_wxControlWithItems swig_types[23]
2490#define SWIGTYPE_p_wxDC swig_types[24]
2491#define SWIGTYPE_p_wxDateEvent swig_types[25]
2492#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26]
2493#define SWIGTYPE_p_wxDropFilesEvent swig_types[27]
2494#define SWIGTYPE_p_wxDuplexMode swig_types[28]
2495#define SWIGTYPE_p_wxEraseEvent swig_types[29]
2496#define SWIGTYPE_p_wxEvent swig_types[30]
2497#define SWIGTYPE_p_wxEvtHandler swig_types[31]
2498#define SWIGTYPE_p_wxFSFile swig_types[32]
2499#define SWIGTYPE_p_wxFileHistory swig_types[33]
2500#define SWIGTYPE_p_wxFileSystem swig_types[34]
2501#define SWIGTYPE_p_wxFlexGridSizer swig_types[35]
2502#define SWIGTYPE_p_wxFocusEvent swig_types[36]
2503#define SWIGTYPE_p_wxFont swig_types[37]
2504#define SWIGTYPE_p_wxGBSizerItem swig_types[38]
2505#define SWIGTYPE_p_wxGIFHandler swig_types[39]
2506#define SWIGTYPE_p_wxGridBagSizer swig_types[40]
2507#define SWIGTYPE_p_wxGridSizer swig_types[41]
2508#define SWIGTYPE_p_wxICOHandler swig_types[42]
2509#define SWIGTYPE_p_wxIconizeEvent swig_types[43]
2510#define SWIGTYPE_p_wxIdleEvent swig_types[44]
2511#define SWIGTYPE_p_wxImage swig_types[45]
2512#define SWIGTYPE_p_wxImageHandler swig_types[46]
2513#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[47]
2514#define SWIGTYPE_p_wxInitDialogEvent swig_types[48]
2515#define SWIGTYPE_p_wxJPEGHandler swig_types[49]
2516#define SWIGTYPE_p_wxJoystickEvent swig_types[50]
2517#define SWIGTYPE_p_wxKeyEvent swig_types[51]
2518#define SWIGTYPE_p_wxLayoutConstraints swig_types[52]
2519#define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
2520#define SWIGTYPE_p_wxMemoryBuffer swig_types[54]
2521#define SWIGTYPE_p_wxMenu swig_types[55]
2522#define SWIGTYPE_p_wxMenuBar swig_types[56]
2523#define SWIGTYPE_p_wxMenuEvent swig_types[57]
2524#define SWIGTYPE_p_wxMenuItem swig_types[58]
2525#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[59]
2526#define SWIGTYPE_p_wxMouseEvent swig_types[60]
2527#define SWIGTYPE_p_wxMoveEvent swig_types[61]
2528#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[62]
2529#define SWIGTYPE_p_wxNcPaintEvent swig_types[63]
2530#define SWIGTYPE_p_wxNotifyEvent swig_types[64]
2531#define SWIGTYPE_p_wxObject swig_types[65]
2532#define SWIGTYPE_p_wxPCXHandler swig_types[66]
2533#define SWIGTYPE_p_wxPNGHandler swig_types[67]
2534#define SWIGTYPE_p_wxPNMHandler swig_types[68]
2535#define SWIGTYPE_p_wxPaintEvent swig_types[69]
2536#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[70]
2537#define SWIGTYPE_p_wxPaperSize swig_types[71]
2538#define SWIGTYPE_p_wxPoint swig_types[72]
092f0ed7
RD
2539#define SWIGTYPE_p_wxPowerEvent swig_types[73]
2540#define SWIGTYPE_p_wxProcessEvent swig_types[74]
2541#define SWIGTYPE_p_wxPyApp swig_types[75]
2542#define SWIGTYPE_p_wxPyCommandEvent swig_types[76]
2543#define SWIGTYPE_p_wxPyEvent swig_types[77]
2544#define SWIGTYPE_p_wxPyImageHandler swig_types[78]
2545#define SWIGTYPE_p_wxPyProcess swig_types[79]
2546#define SWIGTYPE_p_wxPySizer swig_types[80]
2547#define SWIGTYPE_p_wxPyTimer swig_types[81]
2548#define SWIGTYPE_p_wxPyValidator swig_types[82]
2549#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[83]
2550#define SWIGTYPE_p_wxRect swig_types[84]
2551#define SWIGTYPE_p_wxScrollBar swig_types[85]
2552#define SWIGTYPE_p_wxScrollEvent swig_types[86]
2553#define SWIGTYPE_p_wxScrollWinEvent swig_types[87]
2554#define SWIGTYPE_p_wxSetCursorEvent swig_types[88]
2555#define SWIGTYPE_p_wxShowEvent swig_types[89]
2556#define SWIGTYPE_p_wxSizeEvent swig_types[90]
2557#define SWIGTYPE_p_wxSizer swig_types[91]
2558#define SWIGTYPE_p_wxSizerItem swig_types[92]
2559#define SWIGTYPE_p_wxStaticBoxSizer swig_types[93]
2560#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[94]
2561#define SWIGTYPE_p_wxStyledTextCtrl swig_types[95]
2562#define SWIGTYPE_p_wxStyledTextEvent swig_types[96]
2563#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[97]
2564#define SWIGTYPE_p_wxSystemOptions swig_types[98]
2565#define SWIGTYPE_p_wxTIFFHandler swig_types[99]
2566#define SWIGTYPE_p_wxTimerEvent swig_types[100]
2567#define SWIGTYPE_p_wxToolTip swig_types[101]
2568#define SWIGTYPE_p_wxUpdateUIEvent swig_types[102]
2569#define SWIGTYPE_p_wxValidator swig_types[103]
2570#define SWIGTYPE_p_wxWindow swig_types[104]
2571#define SWIGTYPE_p_wxWindowCreateEvent swig_types[105]
2572#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[106]
2573#define SWIGTYPE_p_wxXPMHandler swig_types[107]
2574static swig_type_info *swig_types[109];
2575static swig_module_info swig_module = {swig_types, 108, 0, 0, 0, 0};
7bdb1bc4
RD
2576#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2577#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2578
2579/* -------- TYPES TABLE (END) -------- */
2580
554f62e9
RD
2581#if (PY_VERSION_HEX <= 0x02000000)
2582# if !defined(SWIG_PYTHON_CLASSIC)
2583# error "This python version requires to use swig with the '-classic' option"
2584# endif
2585#endif
2586#if (PY_VERSION_HEX <= 0x02020000)
2587# error "This python version requires to use swig with the '-nomodern' option"
2588#endif
2589#if (PY_VERSION_HEX <= 0x02020000)
2590# error "This python version requires to use swig with the '-nomodernargs' option"
2591#endif
2592#ifndef METH_O
2593# error "This python version requires to use swig with the '-nofastunpack' option"
2594#endif
7bdb1bc4
RD
2595
2596/*-----------------------------------------------
2597 @(target):= _stc.so
2598 ------------------------------------------------*/
2599#define SWIG_init init_stc
2600
2601#define SWIG_name "_stc"
2602
554f62e9 2603#define SWIGVERSION 0x010329
7bdb1bc4
RD
2604
2605
554f62e9
RD
2606#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2607#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
7bdb1bc4 2608
7bdb1bc4 2609
554f62e9 2610#include <stdexcept>
7bdb1bc4 2611
7bdb1bc4 2612
554f62e9
RD
2613namespace swig {
2614 class PyObject_ptr {
2615 protected:
2616 PyObject *_obj;
7bdb1bc4 2617
554f62e9
RD
2618 public:
2619 PyObject_ptr() :_obj(0)
2620 {
7bdb1bc4 2621 }
7bdb1bc4 2622
554f62e9
RD
2623 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2624 {
2625 Py_XINCREF(_obj);
7bdb1bc4 2626 }
554f62e9
RD
2627
2628 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2629 {
2630 if (initial_ref) Py_XINCREF(_obj);
7bdb1bc4 2631 }
554f62e9
RD
2632
2633 PyObject_ptr & operator=(const PyObject_ptr& item)
2634 {
2635 Py_XINCREF(item._obj);
2636 Py_XDECREF(_obj);
2637 _obj = item._obj;
2638 return *this;
2639 }
2640
2641 ~PyObject_ptr()
2642 {
2643 Py_XDECREF(_obj);
2644 }
2645
2646 operator PyObject *() const
2647 {
2648 return _obj;
2649 }
2650
2651 PyObject *operator->() const
2652 {
2653 return _obj;
2654 }
2655 };
7bdb1bc4
RD
2656}
2657
2658
554f62e9
RD
2659namespace swig {
2660 struct PyObject_var : PyObject_ptr {
2661 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2662
2663 PyObject_var & operator = (PyObject* obj)
2664 {
2665 Py_XDECREF(_obj);
2666 _obj = obj;
2667 return *this;
7bdb1bc4 2668 }
554f62e9 2669 };
7bdb1bc4 2670}
7bdb1bc4
RD
2671
2672
554f62e9
RD
2673#include "wx/wxPython/wxPython.h"
2674#include "wx/wxPython/pyclasses.h"
2675#include <wx/stc/stc.h>
7bdb1bc4
RD
2676
2677
554f62e9
RD
2678 static const wxString wxPySTCNameStr(wxSTCNameStr);
2679
2680 #define SWIG_From_long PyInt_FromLong
2681
2682
2683SWIGINTERNINLINE PyObject *
2684SWIG_From_int (int value)
2685{
2686 return SWIG_From_long (value);
7bdb1bc4
RD
2687}
2688
554f62e9
RD
2689
2690#include <limits.h>
2691#ifndef LLONG_MIN
2692# define LLONG_MIN LONG_LONG_MIN
2693#endif
2694#ifndef LLONG_MAX
2695# define LLONG_MAX LONG_LONG_MAX
2696#endif
2697#ifndef ULLONG_MAX
2698# define ULLONG_MAX ULONG_LONG_MAX
2699#endif
2700
2701
2702SWIGINTERN int
2703SWIG_AsVal_long (PyObject* obj, long* val)
7bdb1bc4 2704{
554f62e9
RD
2705 if (PyNumber_Check(obj)) {
2706 if (val) *val = PyInt_AsLong(obj);
2707 return SWIG_OK;
2708 }
2709 return SWIG_TypeError;
7bdb1bc4
RD
2710}
2711
554f62e9
RD
2712
2713SWIGINTERN int
2714SWIG_AsVal_int (PyObject * obj, int *val)
7bdb1bc4 2715{
554f62e9
RD
2716 long v;
2717 int res = SWIG_AsVal_long (obj, &v);
2718 if (SWIG_IsOK(res)) {
2719 if ((v < INT_MIN || v > INT_MAX)) {
2720 return SWIG_OverflowError;
2721 } else {
2722 if (val) *val = static_cast< int >(v);
2723 }
2724 }
2725 return res;
7bdb1bc4
RD
2726}
2727
2728
2729SWIGINTERN int
554f62e9 2730SWIG_AsVal_bool (PyObject *obj, bool *val)
7bdb1bc4
RD
2731{
2732 if (obj == Py_True) {
2733 if (val) *val = true;
554f62e9
RD
2734 return SWIG_OK;
2735 } else if (obj == Py_False) {
7bdb1bc4 2736 if (val) *val = false;
554f62e9 2737 return SWIG_OK;
7bdb1bc4 2738 } else {
554f62e9
RD
2739 long v = 0;
2740 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2741 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2742 return res;
7bdb1bc4 2743 }
7bdb1bc4
RD
2744}
2745
2746
554f62e9
RD
2747SWIGINTERN swig_type_info*
2748SWIG_pchar_descriptor()
7bdb1bc4 2749{
554f62e9
RD
2750 static int init = 0;
2751 static swig_type_info* info = 0;
2752 if (!init) {
2753 info = SWIG_TypeQuery("_p_char");
2754 init = 1;
7bdb1bc4 2755 }
554f62e9 2756 return info;
7bdb1bc4
RD
2757}
2758
2759
7bdb1bc4 2760SWIGINTERN int
554f62e9 2761SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
7bdb1bc4 2762{
554f62e9 2763 if (PyString_Check(obj)) {
96221a45 2764 char *cstr; Py_ssize_t len;
554f62e9
RD
2765 PyString_AsStringAndSize(obj, &cstr, &len);
2766 if (cptr) {
2767 if (alloc) {
2768 /*
2769 In python the user should not be able to modify the inner
2770 string representation. To warranty that, if you define
2771 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2772 buffer is always returned.
2773
2774 The default behavior is just to return the pointer value,
2775 so, be careful.
2776 */
2777#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2778 if (*alloc != SWIG_OLDOBJ)
2779#else
2780 if (*alloc == SWIG_NEWOBJ)
2781#endif
2782 {
2783 *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
2784 *alloc = SWIG_NEWOBJ;
2785 }
2786 else {
2787 *cptr = cstr;
2788 *alloc = SWIG_OLDOBJ;
7bdb1bc4 2789 }
554f62e9
RD
2790 } else {
2791 *cptr = PyString_AsString(obj);
2792 }
2793 }
2794 if (psize) *psize = len + 1;
2795 return SWIG_OK;
2796 } else {
2797 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2798 if (pchar_descriptor) {
2799 void* vptr = 0;
2800 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
2801 if (cptr) *cptr = (char *) vptr;
2802 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
2803 if (alloc) *alloc = SWIG_OLDOBJ;
2804 return SWIG_OK;
7bdb1bc4 2805 }
7bdb1bc4
RD
2806 }
2807 }
554f62e9 2808 return SWIG_TypeError;
7bdb1bc4
RD
2809}
2810
2811
7bdb1bc4 2812
7bdb1bc4
RD
2813
2814#ifdef __cplusplus
2815extern "C" {
2816#endif
554f62e9
RD
2817SWIGINTERN int STCNameStr_set(PyObject *) {
2818 SWIG_Error(SWIG_AttributeError,"Variable STCNameStr is read-only.");
2819 return 1;
7bdb1bc4
RD
2820}
2821
2822
554f62e9
RD
2823SWIGINTERN PyObject *STCNameStr_get(void) {
2824 PyObject *pyobj = 0;
2825
2826 {
7bdb1bc4 2827#if wxUSE_UNICODE
554f62e9 2828 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
7bdb1bc4 2829#else
554f62e9 2830 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
7bdb1bc4 2831#endif
554f62e9
RD
2832 }
2833 return pyobj;
2834}
2835
2836
2837SWIGINTERN PyObject *_wrap_new_StyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2838 PyObject *resultobj = 0;
2839 wxWindow *arg1 = (wxWindow *) 0 ;
2840 int arg2 = (int) wxID_ANY ;
2841 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2842 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2843 wxSize const &arg4_defvalue = wxDefaultSize ;
2844 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2845 long arg5 = (long) 0 ;
2846 wxString const &arg6_defvalue = wxPySTCNameStr ;
2847 wxString *arg6 = (wxString *) &arg6_defvalue ;
2848 wxStyledTextCtrl *result = 0 ;
2849 void *argp1 = 0 ;
2850 int res1 = 0 ;
2851 int val2 ;
2852 int ecode2 = 0 ;
2853 wxPoint temp3 ;
2854 wxSize temp4 ;
2855 long val5 ;
2856 int ecode5 = 0 ;
2857 bool temp6 = false ;
2858 PyObject * obj0 = 0 ;
2859 PyObject * obj1 = 0 ;
2860 PyObject * obj2 = 0 ;
2861 PyObject * obj3 = 0 ;
2862 PyObject * obj4 = 0 ;
2863 PyObject * obj5 = 0 ;
2864 char * kwnames[] = {
2865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2866 };
2867
2868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
2869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
2870 if (!SWIG_IsOK(res1)) {
2871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StyledTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
2872 }
2873 arg1 = reinterpret_cast< wxWindow * >(argp1);
2874 if (obj1) {
2875 ecode2 = SWIG_AsVal_int(obj1, &val2);
2876 if (!SWIG_IsOK(ecode2)) {
2877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextCtrl" "', expected argument " "2"" of type '" "int""'");
2878 }
2879 arg2 = static_cast< int >(val2);
2880 }
2881 if (obj2) {
7bdb1bc4 2882 {
554f62e9
RD
2883 arg3 = &temp3;
2884 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7bdb1bc4 2885 }
554f62e9
RD
2886 }
2887 if (obj3) {
7bdb1bc4 2888 {
554f62e9
RD
2889 arg4 = &temp4;
2890 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7bdb1bc4 2891 }
554f62e9
RD
2892 }
2893 if (obj4) {
2894 ecode5 = SWIG_AsVal_long(obj4, &val5);
2895 if (!SWIG_IsOK(ecode5)) {
2896 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StyledTextCtrl" "', expected argument " "5"" of type '" "long""'");
2897 }
2898 arg5 = static_cast< long >(val5);
2899 }
2900 if (obj5) {
7bdb1bc4 2901 {
554f62e9
RD
2902 arg6 = wxString_in_helper(obj5);
2903 if (arg6 == NULL) SWIG_fail;
2904 temp6 = true;
7bdb1bc4 2905 }
554f62e9
RD
2906 }
2907 {
2908 if (!wxPyCheckForApp()) SWIG_fail;
2909 PyThreadState* __tstate = wxPyBeginAllowThreads();
2910 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_NEW | 0 );
2915 {
2916 if (temp6)
2917 delete arg6;
2918 }
2919 return resultobj;
2920fail:
2921 {
2922 if (temp6)
2923 delete arg6;
2924 }
2925 return NULL;
7bdb1bc4
RD
2926}
2927
2928
554f62e9
RD
2929SWIGINTERN PyObject *_wrap_new_PreStyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2930 PyObject *resultobj = 0;
2931 wxStyledTextCtrl *result = 0 ;
2932
2933 if (!SWIG_Python_UnpackTuple(args,"new_PreStyledTextCtrl",0,0,0)) SWIG_fail;
2934 {
2935 if (!wxPyCheckForApp()) SWIG_fail;
2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
2937 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
2938 wxPyEndAllowThreads(__tstate);
2939 if (PyErr_Occurred()) SWIG_fail;
2940 }
2941 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_OWN | 0 );
2942 return resultobj;
2943fail:
2944 return NULL;
2945}
2946
2947
2948SWIGINTERN PyObject *_wrap_StyledTextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2949 PyObject *resultobj = 0;
2950 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2951 wxWindow *arg2 = (wxWindow *) 0 ;
2952 int arg3 = (int) wxID_ANY ;
2953 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2954 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2955 wxSize const &arg5_defvalue = wxDefaultSize ;
2956 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2957 long arg6 = (long) 0 ;
2958 wxString const &arg7_defvalue = wxSTCNameStr ;
2959 wxString *arg7 = (wxString *) &arg7_defvalue ;
2960 bool result;
2961 void *argp1 = 0 ;
2962 int res1 = 0 ;
2963 void *argp2 = 0 ;
2964 int res2 = 0 ;
2965 int val3 ;
2966 int ecode3 = 0 ;
2967 wxPoint temp4 ;
2968 wxSize temp5 ;
2969 long val6 ;
2970 int ecode6 = 0 ;
2971 bool temp7 = false ;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 PyObject * obj2 = 0 ;
2975 PyObject * obj3 = 0 ;
2976 PyObject * obj4 = 0 ;
2977 PyObject * obj5 = 0 ;
2978 PyObject * obj6 = 0 ;
2979 char * kwnames[] = {
2980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2981 };
2982
2983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
2984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
2985 if (!SWIG_IsOK(res1)) {
2986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Create" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
2987 }
2988 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
2989 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
2990 if (!SWIG_IsOK(res2)) {
2991 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
2992 }
2993 arg2 = reinterpret_cast< wxWindow * >(argp2);
2994 if (obj2) {
2995 ecode3 = SWIG_AsVal_int(obj2, &val3);
2996 if (!SWIG_IsOK(ecode3)) {
2997 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
2998 }
2999 arg3 = static_cast< int >(val3);
3000 }
3001 if (obj3) {
7bdb1bc4 3002 {
554f62e9
RD
3003 arg4 = &temp4;
3004 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7bdb1bc4 3005 }
554f62e9
RD
3006 }
3007 if (obj4) {
7bdb1bc4 3008 {
554f62e9
RD
3009 arg5 = &temp5;
3010 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7bdb1bc4 3011 }
554f62e9
RD
3012 }
3013 if (obj5) {
3014 ecode6 = SWIG_AsVal_long(obj5, &val6);
3015 if (!SWIG_IsOK(ecode6)) {
3016 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_Create" "', expected argument " "6"" of type '" "long""'");
3017 }
3018 arg6 = static_cast< long >(val6);
3019 }
3020 if (obj6) {
7bdb1bc4 3021 {
554f62e9
RD
3022 arg7 = wxString_in_helper(obj6);
3023 if (arg7 == NULL) SWIG_fail;
3024 temp7 = true;
7bdb1bc4 3025 }
554f62e9
RD
3026 }
3027 {
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3030 wxPyEndAllowThreads(__tstate);
3031 if (PyErr_Occurred()) SWIG_fail;
3032 }
3033 {
3034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3035 }
3036 {
3037 if (temp7)
3038 delete arg7;
3039 }
3040 return resultobj;
3041fail:
3042 {
3043 if (temp7)
3044 delete arg7;
3045 }
3046 return NULL;
7bdb1bc4
RD
3047}
3048
3049
554f62e9
RD
3050SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3051 PyObject *resultobj = 0;
3052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3053 wxString *arg2 = 0 ;
3054 void *argp1 = 0 ;
3055 int res1 = 0 ;
3056 bool temp2 = false ;
3057 PyObject * obj0 = 0 ;
3058 PyObject * obj1 = 0 ;
3059 char * kwnames[] = {
3060 (char *) "self",(char *) "text", NULL
3061 };
3062
3063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) SWIG_fail;
3064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3065 if (!SWIG_IsOK(res1)) {
3066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3067 }
3068 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3069 {
3070 arg2 = wxString_in_helper(obj1);
3071 if (arg2 == NULL) SWIG_fail;
3072 temp2 = true;
3073 }
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 (arg1)->AddText((wxString const &)*arg2);
3077 wxPyEndAllowThreads(__tstate);
3078 if (PyErr_Occurred()) SWIG_fail;
3079 }
3080 resultobj = SWIG_Py_Void();
3081 {
3082 if (temp2)
3083 delete arg2;
3084 }
3085 return resultobj;
3086fail:
3087 {
3088 if (temp2)
3089 delete arg2;
3090 }
3091 return NULL;
7bdb1bc4
RD
3092}
3093
3094
554f62e9
RD
3095SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3096 PyObject *resultobj = 0;
3097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3098 wxMemoryBuffer *arg2 = 0 ;
3099 void *argp1 = 0 ;
3100 int res1 = 0 ;
3101 bool temp2 = false ;
3102 PyObject * obj0 = 0 ;
3103 PyObject * obj1 = 0 ;
3104 char * kwnames[] = {
3105 (char *) "self",(char *) "data", NULL
3106 };
3107
3108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) SWIG_fail;
3109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3110 if (!SWIG_IsOK(res1)) {
3111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3112 }
3113 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3114 {
3115 if (!PyString_Check(obj1)) {
3116 PyErr_SetString(PyExc_TypeError, "String buffer expected");
3117 SWIG_fail;
3118 }
3119 char* str = PyString_AS_STRING(obj1);
3120 int len = PyString_GET_SIZE(obj1);
3121 arg2 = new wxMemoryBuffer(len);
3122 temp2 = true;
3123 memcpy(arg2->GetData(), str, len);
3124 arg2->SetDataLen(len);
3125 }
3126 {
3127 PyThreadState* __tstate = wxPyBeginAllowThreads();
3128 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
3129 wxPyEndAllowThreads(__tstate);
3130 if (PyErr_Occurred()) SWIG_fail;
3131 }
3132 resultobj = SWIG_Py_Void();
3133 {
3134 if (temp2) delete arg2;
3135 }
3136 return resultobj;
3137fail:
3138 {
3139 if (temp2) delete arg2;
3140 }
3141 return NULL;
3142}
3143
3144
3145SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3146 PyObject *resultobj = 0;
3147 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3148 int arg2 ;
3149 wxString *arg3 = 0 ;
3150 void *argp1 = 0 ;
3151 int res1 = 0 ;
3152 int val2 ;
3153 int ecode2 = 0 ;
3154 bool temp3 = false ;
3155 PyObject * obj0 = 0 ;
3156 PyObject * obj1 = 0 ;
3157 PyObject * obj2 = 0 ;
3158 char * kwnames[] = {
3159 (char *) "self",(char *) "pos",(char *) "text", NULL
3160 };
3161
3162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3164 if (!SWIG_IsOK(res1)) {
3165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3166 }
3167 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3168 ecode2 = SWIG_AsVal_int(obj1, &val2);
3169 if (!SWIG_IsOK(ecode2)) {
3170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "2"" of type '" "int""'");
3171 }
3172 arg2 = static_cast< int >(val2);
3173 {
3174 arg3 = wxString_in_helper(obj2);
3175 if (arg3 == NULL) SWIG_fail;
3176 temp3 = true;
3177 }
3178 {
3179 PyThreadState* __tstate = wxPyBeginAllowThreads();
3180 (arg1)->InsertText(arg2,(wxString const &)*arg3);
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 resultobj = SWIG_Py_Void();
3185 {
3186 if (temp3)
3187 delete arg3;
3188 }
3189 return resultobj;
3190fail:
3191 {
3192 if (temp3)
3193 delete arg3;
3194 }
3195 return NULL;
7bdb1bc4
RD
3196}
3197
3198
554f62e9
RD
3199SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3200 PyObject *resultobj = 0;
3201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3202 void *argp1 = 0 ;
3203 int res1 = 0 ;
3204 PyObject *swig_obj[1] ;
3205
3206 if (!args) SWIG_fail;
3207 swig_obj[0] = args;
3208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3209 if (!SWIG_IsOK(res1)) {
3210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3211 }
3212 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 (arg1)->ClearAll();
3216 wxPyEndAllowThreads(__tstate);
3217 if (PyErr_Occurred()) SWIG_fail;
3218 }
3219 resultobj = SWIG_Py_Void();
3220 return resultobj;
3221fail:
3222 return NULL;
7bdb1bc4
RD
3223}
3224
3225
554f62e9
RD
3226SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3227 PyObject *resultobj = 0;
3228 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3229 void *argp1 = 0 ;
3230 int res1 = 0 ;
3231 PyObject *swig_obj[1] ;
3232
3233 if (!args) SWIG_fail;
3234 swig_obj[0] = args;
3235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3236 if (!SWIG_IsOK(res1)) {
3237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearDocumentStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3238 }
3239 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 (arg1)->ClearDocumentStyle();
3243 wxPyEndAllowThreads(__tstate);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 }
3246 resultobj = SWIG_Py_Void();
3247 return resultobj;
3248fail:
3249 return NULL;
7bdb1bc4
RD
3250}
3251
3252
554f62e9
RD
3253SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3254 PyObject *resultobj = 0;
3255 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3256 int result;
3257 void *argp1 = 0 ;
3258 int res1 = 0 ;
3259 PyObject *swig_obj[1] ;
3260
3261 if (!args) SWIG_fail;
3262 swig_obj[0] = args;
3263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3264 if (!SWIG_IsOK(res1)) {
3265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3266 }
3267 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3268 {
3269 PyThreadState* __tstate = wxPyBeginAllowThreads();
3270 result = (int)(arg1)->GetLength();
3271 wxPyEndAllowThreads(__tstate);
3272 if (PyErr_Occurred()) SWIG_fail;
3273 }
3274 resultobj = SWIG_From_int(static_cast< int >(result));
3275 return resultobj;
3276fail:
3277 return NULL;
3278}
3279
3280
3281SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3282 PyObject *resultobj = 0;
3283 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3284 int arg2 ;
3285 int result;
3286 void *argp1 = 0 ;
3287 int res1 = 0 ;
3288 int val2 ;
3289 int ecode2 = 0 ;
3290 PyObject * obj0 = 0 ;
3291 PyObject * obj1 = 0 ;
3292 char * kwnames[] = {
3293 (char *) "self",(char *) "pos", NULL
3294 };
3295
3296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) SWIG_fail;
3297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3298 if (!SWIG_IsOK(res1)) {
3299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3300 }
3301 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3302 ecode2 = SWIG_AsVal_int(obj1, &val2);
3303 if (!SWIG_IsOK(ecode2)) {
3304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "2"" of type '" "int""'");
3305 }
3306 arg2 = static_cast< int >(val2);
3307 {
3308 PyThreadState* __tstate = wxPyBeginAllowThreads();
3309 result = (int)(arg1)->GetCharAt(arg2);
3310 wxPyEndAllowThreads(__tstate);
3311 if (PyErr_Occurred()) SWIG_fail;
3312 }
3313 resultobj = SWIG_From_int(static_cast< int >(result));
3314 return resultobj;
3315fail:
3316 return NULL;
7bdb1bc4
RD
3317}
3318
3319
554f62e9
RD
3320SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3321 PyObject *resultobj = 0;
3322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3323 int result;
3324 void *argp1 = 0 ;
3325 int res1 = 0 ;
3326 PyObject *swig_obj[1] ;
3327
3328 if (!args) SWIG_fail;
3329 swig_obj[0] = args;
3330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3331 if (!SWIG_IsOK(res1)) {
3332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3333 }
3334 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 result = (int)(arg1)->GetCurrentPos();
3338 wxPyEndAllowThreads(__tstate);
3339 if (PyErr_Occurred()) SWIG_fail;
3340 }
3341 resultobj = SWIG_From_int(static_cast< int >(result));
3342 return resultobj;
3343fail:
3344 return NULL;
7bdb1bc4
RD
3345}
3346
3347
554f62e9
RD
3348SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3349 PyObject *resultobj = 0;
3350 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3351 int result;
3352 void *argp1 = 0 ;
3353 int res1 = 0 ;
3354 PyObject *swig_obj[1] ;
3355
3356 if (!args) SWIG_fail;
3357 swig_obj[0] = args;
3358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3359 if (!SWIG_IsOK(res1)) {
3360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3361 }
3362 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 result = (int)(arg1)->GetAnchor();
3366 wxPyEndAllowThreads(__tstate);
3367 if (PyErr_Occurred()) SWIG_fail;
3368 }
3369 resultobj = SWIG_From_int(static_cast< int >(result));
3370 return resultobj;
3371fail:
3372 return NULL;
3373}
3374
3375
3376SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3377 PyObject *resultobj = 0;
3378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3379 int arg2 ;
3380 int result;
3381 void *argp1 = 0 ;
3382 int res1 = 0 ;
3383 int val2 ;
3384 int ecode2 = 0 ;
3385 PyObject * obj0 = 0 ;
3386 PyObject * obj1 = 0 ;
3387 char * kwnames[] = {
3388 (char *) "self",(char *) "pos", NULL
3389 };
3390
3391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) SWIG_fail;
3392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3393 if (!SWIG_IsOK(res1)) {
3394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3395 }
3396 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3397 ecode2 = SWIG_AsVal_int(obj1, &val2);
3398 if (!SWIG_IsOK(ecode2)) {
3399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "2"" of type '" "int""'");
3400 }
3401 arg2 = static_cast< int >(val2);
3402 {
3403 PyThreadState* __tstate = wxPyBeginAllowThreads();
3404 result = (int)(arg1)->GetStyleAt(arg2);
3405 wxPyEndAllowThreads(__tstate);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 }
3408 resultobj = SWIG_From_int(static_cast< int >(result));
3409 return resultobj;
3410fail:
3411 return NULL;
7bdb1bc4
RD
3412}
3413
3414
554f62e9
RD
3415SWIGINTERN PyObject *_wrap_StyledTextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3416 PyObject *resultobj = 0;
3417 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3418 void *argp1 = 0 ;
3419 int res1 = 0 ;
3420 PyObject *swig_obj[1] ;
3421
3422 if (!args) SWIG_fail;
3423 swig_obj[0] = args;
3424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3425 if (!SWIG_IsOK(res1)) {
3426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Redo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3427 }
3428 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3429 {
3430 PyThreadState* __tstate = wxPyBeginAllowThreads();
3431 (arg1)->Redo();
3432 wxPyEndAllowThreads(__tstate);
3433 if (PyErr_Occurred()) SWIG_fail;
3434 }
3435 resultobj = SWIG_Py_Void();
3436 return resultobj;
3437fail:
3438 return NULL;
3439}
3440
3441
3442SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3443 PyObject *resultobj = 0;
3444 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3445 bool arg2 ;
3446 void *argp1 = 0 ;
3447 int res1 = 0 ;
3448 bool val2 ;
3449 int ecode2 = 0 ;
3450 PyObject * obj0 = 0 ;
3451 PyObject * obj1 = 0 ;
3452 char * kwnames[] = {
3453 (char *) "self",(char *) "collectUndo", NULL
3454 };
3455
3456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) SWIG_fail;
3457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3458 if (!SWIG_IsOK(res1)) {
3459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3460 }
3461 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3462 ecode2 = SWIG_AsVal_bool(obj1, &val2);
3463 if (!SWIG_IsOK(ecode2)) {
3464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "2"" of type '" "bool""'");
3465 }
3466 arg2 = static_cast< bool >(val2);
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 (arg1)->SetUndoCollection(arg2);
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 resultobj = SWIG_Py_Void();
3474 return resultobj;
3475fail:
3476 return NULL;
7bdb1bc4
RD
3477}
3478
3479
554f62e9
RD
3480SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3481 PyObject *resultobj = 0;
3482 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3483 void *argp1 = 0 ;
3484 int res1 = 0 ;
3485 PyObject *swig_obj[1] ;
3486
3487 if (!args) SWIG_fail;
3488 swig_obj[0] = args;
3489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3490 if (!SWIG_IsOK(res1)) {
3491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3492 }
3493 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3494 {
3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
3496 (arg1)->SelectAll();
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 resultobj = SWIG_Py_Void();
3501 return resultobj;
3502fail:
3503 return NULL;
7bdb1bc4
RD
3504}
3505
3506
554f62e9
RD
3507SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3508 PyObject *resultobj = 0;
3509 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3510 void *argp1 = 0 ;
3511 int res1 = 0 ;
3512 PyObject *swig_obj[1] ;
3513
3514 if (!args) SWIG_fail;
3515 swig_obj[0] = args;
3516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3517 if (!SWIG_IsOK(res1)) {
3518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSavePoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3519 }
3520 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 (arg1)->SetSavePoint();
3524 wxPyEndAllowThreads(__tstate);
3525 if (PyErr_Occurred()) SWIG_fail;
3526 }
3527 resultobj = SWIG_Py_Void();
3528 return resultobj;
3529fail:
3530 return NULL;
3531}
3532
3533
3534SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3535 PyObject *resultobj = 0;
3536 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3537 int arg2 ;
3538 int arg3 ;
3539 wxMemoryBuffer result;
3540 void *argp1 = 0 ;
3541 int res1 = 0 ;
3542 int val2 ;
3543 int ecode2 = 0 ;
3544 int val3 ;
3545 int ecode3 = 0 ;
3546 PyObject * obj0 = 0 ;
3547 PyObject * obj1 = 0 ;
3548 PyObject * obj2 = 0 ;
3549 char * kwnames[] = {
3550 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
3551 };
3552
3553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3555 if (!SWIG_IsOK(res1)) {
3556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3557 }
3558 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3559 ecode2 = SWIG_AsVal_int(obj1, &val2);
3560 if (!SWIG_IsOK(ecode2)) {
3561 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "2"" of type '" "int""'");
3562 }
3563 arg2 = static_cast< int >(val2);
3564 ecode3 = SWIG_AsVal_int(obj2, &val3);
3565 if (!SWIG_IsOK(ecode3)) {
3566 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "3"" of type '" "int""'");
3567 }
3568 arg3 = static_cast< int >(val3);
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 result = (arg1)->GetStyledText(arg2,arg3);
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 {
3576 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
3577 }
3578 return resultobj;
3579fail:
3580 return NULL;
7bdb1bc4
RD
3581}
3582
3583
554f62e9
RD
3584SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3585 PyObject *resultobj = 0;
3586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3587 bool result;
3588 void *argp1 = 0 ;
3589 int res1 = 0 ;
3590 PyObject *swig_obj[1] ;
3591
3592 if (!args) SWIG_fail;
3593 swig_obj[0] = args;
3594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3595 if (!SWIG_IsOK(res1)) {
3596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3597 }
3598 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = (bool)(arg1)->CanRedo();
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 {
3606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3607 }
3608 return resultobj;
3609fail:
3610 return NULL;
3611}
3612
3613
3614SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3615 PyObject *resultobj = 0;
3616 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3617 int arg2 ;
3618 int result;
3619 void *argp1 = 0 ;
3620 int res1 = 0 ;
3621 int val2 ;
3622 int ecode2 = 0 ;
3623 PyObject * obj0 = 0 ;
3624 PyObject * obj1 = 0 ;
3625 char * kwnames[] = {
3626 (char *) "self",(char *) "handle", NULL
3627 };
3628
3629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) SWIG_fail;
3630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3631 if (!SWIG_IsOK(res1)) {
3632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3633 }
3634 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3635 ecode2 = SWIG_AsVal_int(obj1, &val2);
3636 if (!SWIG_IsOK(ecode2)) {
3637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "2"" of type '" "int""'");
3638 }
3639 arg2 = static_cast< int >(val2);
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 result = (int)(arg1)->MarkerLineFromHandle(arg2);
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 resultobj = SWIG_From_int(static_cast< int >(result));
3647 return resultobj;
3648fail:
3649 return NULL;
3650}
3651
3652
3653SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3654 PyObject *resultobj = 0;
3655 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3656 int arg2 ;
3657 void *argp1 = 0 ;
3658 int res1 = 0 ;
3659 int val2 ;
3660 int ecode2 = 0 ;
3661 PyObject * obj0 = 0 ;
3662 PyObject * obj1 = 0 ;
3663 char * kwnames[] = {
3664 (char *) "self",(char *) "handle", NULL
3665 };
3666
3667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) SWIG_fail;
3668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3669 if (!SWIG_IsOK(res1)) {
3670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3671 }
3672 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3673 ecode2 = SWIG_AsVal_int(obj1, &val2);
3674 if (!SWIG_IsOK(ecode2)) {
3675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "2"" of type '" "int""'");
3676 }
3677 arg2 = static_cast< int >(val2);
3678 {
3679 PyThreadState* __tstate = wxPyBeginAllowThreads();
3680 (arg1)->MarkerDeleteHandle(arg2);
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 resultobj = SWIG_Py_Void();
3685 return resultobj;
3686fail:
3687 return NULL;
7bdb1bc4
RD
3688}
3689
3690
554f62e9
RD
3691SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3692 PyObject *resultobj = 0;
3693 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3694 bool result;
3695 void *argp1 = 0 ;
3696 int res1 = 0 ;
3697 PyObject *swig_obj[1] ;
3698
3699 if (!args) SWIG_fail;
3700 swig_obj[0] = args;
3701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3702 if (!SWIG_IsOK(res1)) {
3703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3704 }
3705 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3706 {
3707 PyThreadState* __tstate = wxPyBeginAllowThreads();
3708 result = (bool)(arg1)->GetUndoCollection();
3709 wxPyEndAllowThreads(__tstate);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 }
3712 {
3713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3714 }
3715 return resultobj;
3716fail:
3717 return NULL;
7bdb1bc4
RD
3718}
3719
3720
554f62e9
RD
3721SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3722 PyObject *resultobj = 0;
3723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3724 int result;
3725 void *argp1 = 0 ;
3726 int res1 = 0 ;
3727 PyObject *swig_obj[1] ;
3728
3729 if (!args) SWIG_fail;
3730 swig_obj[0] = args;
3731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3732 if (!SWIG_IsOK(res1)) {
3733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3734 }
3735 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3736 {
3737 PyThreadState* __tstate = wxPyBeginAllowThreads();
3738 result = (int)(arg1)->GetViewWhiteSpace();
3739 wxPyEndAllowThreads(__tstate);
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 resultobj = SWIG_From_int(static_cast< int >(result));
3743 return resultobj;
3744fail:
3745 return NULL;
3746}
3747
3748
3749SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj = 0;
3751 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3752 int arg2 ;
3753 void *argp1 = 0 ;
3754 int res1 = 0 ;
3755 int val2 ;
3756 int ecode2 = 0 ;
3757 PyObject * obj0 = 0 ;
3758 PyObject * obj1 = 0 ;
3759 char * kwnames[] = {
3760 (char *) "self",(char *) "viewWS", NULL
3761 };
3762
3763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) SWIG_fail;
3764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3765 if (!SWIG_IsOK(res1)) {
3766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3767 }
3768 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3769 ecode2 = SWIG_AsVal_int(obj1, &val2);
3770 if (!SWIG_IsOK(ecode2)) {
3771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "2"" of type '" "int""'");
3772 }
3773 arg2 = static_cast< int >(val2);
3774 {
3775 PyThreadState* __tstate = wxPyBeginAllowThreads();
3776 (arg1)->SetViewWhiteSpace(arg2);
3777 wxPyEndAllowThreads(__tstate);
3778 if (PyErr_Occurred()) SWIG_fail;
3779 }
3780 resultobj = SWIG_Py_Void();
3781 return resultobj;
3782fail:
3783 return NULL;
3784}
3785
3786
3787SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3788 PyObject *resultobj = 0;
3789 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3790 wxPoint arg2 ;
3791 int result;
3792 void *argp1 = 0 ;
3793 int res1 = 0 ;
3794 void *argp2 ;
3795 int res2 = 0 ;
3796 PyObject * obj0 = 0 ;
3797 PyObject * obj1 = 0 ;
3798 char * kwnames[] = {
3799 (char *) "self",(char *) "pt", NULL
3800 };
3801
3802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) SWIG_fail;
3803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3804 if (!SWIG_IsOK(res1)) {
3805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3806 }
3807 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3808 {
3809 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPoint, 0 | 0);
3810 if (!SWIG_IsOK(res2)) {
3811 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3812 }
3813 if (!argp2) {
3814 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3815 } else {
3816 wxPoint * temp = reinterpret_cast< wxPoint * >(argp2);
3817 arg2 = *temp;
3818 if (SWIG_IsNewObj(res2)) delete temp;
7bdb1bc4 3819 }
554f62e9
RD
3820 }
3821 {
3822 PyThreadState* __tstate = wxPyBeginAllowThreads();
3823 result = (int)(arg1)->PositionFromPoint(arg2);
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 resultobj = SWIG_From_int(static_cast< int >(result));
3828 return resultobj;
3829fail:
3830 return NULL;
3831}
3832
3833
3834SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj = 0;
3836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3837 int arg2 ;
3838 int arg3 ;
3839 int result;
3840 void *argp1 = 0 ;
3841 int res1 = 0 ;
3842 int val2 ;
3843 int ecode2 = 0 ;
3844 int val3 ;
3845 int ecode3 = 0 ;
3846 PyObject * obj0 = 0 ;
3847 PyObject * obj1 = 0 ;
3848 PyObject * obj2 = 0 ;
3849 char * kwnames[] = {
3850 (char *) "self",(char *) "x",(char *) "y", NULL
3851 };
3852
3853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3855 if (!SWIG_IsOK(res1)) {
3856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3857 }
3858 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3859 ecode2 = SWIG_AsVal_int(obj1, &val2);
3860 if (!SWIG_IsOK(ecode2)) {
3861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "2"" of type '" "int""'");
3862 }
3863 arg2 = static_cast< int >(val2);
3864 ecode3 = SWIG_AsVal_int(obj2, &val3);
3865 if (!SWIG_IsOK(ecode3)) {
3866 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "3"" of type '" "int""'");
3867 }
3868 arg3 = static_cast< int >(val3);
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
3872 wxPyEndAllowThreads(__tstate);
3873 if (PyErr_Occurred()) SWIG_fail;
3874 }
3875 resultobj = SWIG_From_int(static_cast< int >(result));
3876 return resultobj;
3877fail:
3878 return NULL;
3879}
3880
3881
3882SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3883 PyObject *resultobj = 0;
3884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3885 int arg2 ;
3886 void *argp1 = 0 ;
3887 int res1 = 0 ;
3888 int val2 ;
3889 int ecode2 = 0 ;
3890 PyObject * obj0 = 0 ;
3891 PyObject * obj1 = 0 ;
3892 char * kwnames[] = {
3893 (char *) "self",(char *) "line", NULL
3894 };
3895
3896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) SWIG_fail;
3897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3898 if (!SWIG_IsOK(res1)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3900 }
3901 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3902 ecode2 = SWIG_AsVal_int(obj1, &val2);
3903 if (!SWIG_IsOK(ecode2)) {
3904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "2"" of type '" "int""'");
3905 }
3906 arg2 = static_cast< int >(val2);
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 (arg1)->GotoLine(arg2);
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 resultobj = SWIG_Py_Void();
3914 return resultobj;
3915fail:
3916 return NULL;
3917}
3918
3919
3920SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3921 PyObject *resultobj = 0;
3922 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3923 int arg2 ;
3924 void *argp1 = 0 ;
3925 int res1 = 0 ;
3926 int val2 ;
3927 int ecode2 = 0 ;
3928 PyObject * obj0 = 0 ;
3929 PyObject * obj1 = 0 ;
3930 char * kwnames[] = {
3931 (char *) "self",(char *) "pos", NULL
3932 };
3933
3934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) SWIG_fail;
3935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3936 if (!SWIG_IsOK(res1)) {
3937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3938 }
3939 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3940 ecode2 = SWIG_AsVal_int(obj1, &val2);
3941 if (!SWIG_IsOK(ecode2)) {
3942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "2"" of type '" "int""'");
3943 }
3944 arg2 = static_cast< int >(val2);
3945 {
3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
3947 (arg1)->GotoPos(arg2);
3948 wxPyEndAllowThreads(__tstate);
3949 if (PyErr_Occurred()) SWIG_fail;
3950 }
3951 resultobj = SWIG_Py_Void();
3952 return resultobj;
3953fail:
3954 return NULL;
3955}
3956
3957
3958SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3959 PyObject *resultobj = 0;
3960 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3961 int arg2 ;
3962 void *argp1 = 0 ;
3963 int res1 = 0 ;
3964 int val2 ;
3965 int ecode2 = 0 ;
3966 PyObject * obj0 = 0 ;
3967 PyObject * obj1 = 0 ;
3968 char * kwnames[] = {
3969 (char *) "self",(char *) "posAnchor", NULL
3970 };
3971
3972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
3973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3974 if (!SWIG_IsOK(res1)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3976 }
3977 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3978 ecode2 = SWIG_AsVal_int(obj1, &val2);
3979 if (!SWIG_IsOK(ecode2)) {
3980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "2"" of type '" "int""'");
3981 }
3982 arg2 = static_cast< int >(val2);
3983 {
3984 PyThreadState* __tstate = wxPyBeginAllowThreads();
3985 (arg1)->SetAnchor(arg2);
3986 wxPyEndAllowThreads(__tstate);
3987 if (PyErr_Occurred()) SWIG_fail;
3988 }
3989 resultobj = SWIG_Py_Void();
3990 return resultobj;
3991fail:
3992 return NULL;
3993}
3994
3995
3996SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3997 PyObject *resultobj = 0;
3998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3999 int *arg2 = (int *) 0 ;
4000 wxString result;
4001 void *argp1 = 0 ;
4002 int res1 = 0 ;
4003 int temp2 ;
4004 int res2 = SWIG_TMPOBJ ;
4005 PyObject *swig_obj[1] ;
4006
4007 arg2 = &temp2;
4008 if (!args) SWIG_fail;
4009 swig_obj[0] = args;
4010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4011 if (!SWIG_IsOK(res1)) {
4012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4013 }
4014 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 result = (arg1)->GetCurLine(arg2);
4018 wxPyEndAllowThreads(__tstate);
4019 if (PyErr_Occurred()) SWIG_fail;
4020 }
4021 {
4022#if wxUSE_UNICODE
4023 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4024#else
4025 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4026#endif
4027 }
4028 if (SWIG_IsTmpObj(res2)) {
4029 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4030 } else {
4031 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4032 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4033 }
4034 return resultobj;
4035fail:
4036 return NULL;
7bdb1bc4
RD
4037}
4038
4039
554f62e9
RD
4040SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4041 PyObject *resultobj = 0;
4042 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4043 int result;
4044 void *argp1 = 0 ;
4045 int res1 = 0 ;
4046 PyObject *swig_obj[1] ;
4047
4048 if (!args) SWIG_fail;
4049 swig_obj[0] = args;
4050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4051 if (!SWIG_IsOK(res1)) {
4052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndStyled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4053 }
4054 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4055 {
4056 PyThreadState* __tstate = wxPyBeginAllowThreads();
4057 result = (int)(arg1)->GetEndStyled();
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 resultobj = SWIG_From_int(static_cast< int >(result));
4062 return resultobj;
4063fail:
4064 return NULL;
4065}
4066
4067
4068SWIGINTERN PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4069 PyObject *resultobj = 0;
4070 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4071 int arg2 ;
4072 void *argp1 = 0 ;
4073 int res1 = 0 ;
4074 int val2 ;
4075 int ecode2 = 0 ;
4076 PyObject * obj0 = 0 ;
4077 PyObject * obj1 = 0 ;
4078 char * kwnames[] = {
4079 (char *) "self",(char *) "eolMode", NULL
4080 };
4081
4082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) SWIG_fail;
4083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4084 if (!SWIG_IsOK(res1)) {
4085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4086 }
4087 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4088 ecode2 = SWIG_AsVal_int(obj1, &val2);
4089 if (!SWIG_IsOK(ecode2)) {
4090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "2"" of type '" "int""'");
4091 }
4092 arg2 = static_cast< int >(val2);
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 (arg1)->ConvertEOLs(arg2);
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 resultobj = SWIG_Py_Void();
4100 return resultobj;
4101fail:
4102 return NULL;
7bdb1bc4
RD
4103}
4104
4105
554f62e9
RD
4106SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4107 PyObject *resultobj = 0;
4108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4109 int result;
4110 void *argp1 = 0 ;
4111 int res1 = 0 ;
4112 PyObject *swig_obj[1] ;
4113
4114 if (!args) SWIG_fail;
4115 swig_obj[0] = args;
4116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4117 if (!SWIG_IsOK(res1)) {
4118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4119 }
4120 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 result = (int)(arg1)->GetEOLMode();
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 resultobj = SWIG_From_int(static_cast< int >(result));
4128 return resultobj;
4129fail:
4130 return NULL;
4131}
4132
4133
4134SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj = 0;
4136 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4137 int arg2 ;
4138 void *argp1 = 0 ;
4139 int res1 = 0 ;
4140 int val2 ;
4141 int ecode2 = 0 ;
4142 PyObject * obj0 = 0 ;
4143 PyObject * obj1 = 0 ;
4144 char * kwnames[] = {
4145 (char *) "self",(char *) "eolMode", NULL
4146 };
4147
4148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) SWIG_fail;
4149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4150 if (!SWIG_IsOK(res1)) {
4151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4152 }
4153 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4154 ecode2 = SWIG_AsVal_int(obj1, &val2);
4155 if (!SWIG_IsOK(ecode2)) {
4156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "2"" of type '" "int""'");
4157 }
4158 arg2 = static_cast< int >(val2);
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 (arg1)->SetEOLMode(arg2);
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
4165 resultobj = SWIG_Py_Void();
4166 return resultobj;
4167fail:
4168 return NULL;
4169}
4170
4171
4172SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4173 PyObject *resultobj = 0;
4174 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4175 int arg2 ;
4176 int arg3 ;
4177 void *argp1 = 0 ;
4178 int res1 = 0 ;
4179 int val2 ;
4180 int ecode2 = 0 ;
4181 int val3 ;
4182 int ecode3 = 0 ;
4183 PyObject * obj0 = 0 ;
4184 PyObject * obj1 = 0 ;
4185 PyObject * obj2 = 0 ;
4186 char * kwnames[] = {
4187 (char *) "self",(char *) "pos",(char *) "mask", NULL
4188 };
4189
4190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4192 if (!SWIG_IsOK(res1)) {
4193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4194 }
4195 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4196 ecode2 = SWIG_AsVal_int(obj1, &val2);
4197 if (!SWIG_IsOK(ecode2)) {
4198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "2"" of type '" "int""'");
4199 }
4200 arg2 = static_cast< int >(val2);
4201 ecode3 = SWIG_AsVal_int(obj2, &val3);
4202 if (!SWIG_IsOK(ecode3)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "3"" of type '" "int""'");
4204 }
4205 arg3 = static_cast< int >(val3);
4206 {
4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
4208 (arg1)->StartStyling(arg2,arg3);
4209 wxPyEndAllowThreads(__tstate);
4210 if (PyErr_Occurred()) SWIG_fail;
4211 }
4212 resultobj = SWIG_Py_Void();
4213 return resultobj;
4214fail:
4215 return NULL;
4216}
4217
4218
4219SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4220 PyObject *resultobj = 0;
4221 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4222 int arg2 ;
4223 int arg3 ;
4224 void *argp1 = 0 ;
4225 int res1 = 0 ;
4226 int val2 ;
4227 int ecode2 = 0 ;
4228 int val3 ;
4229 int ecode3 = 0 ;
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj1 = 0 ;
4232 PyObject * obj2 = 0 ;
4233 char * kwnames[] = {
4234 (char *) "self",(char *) "length",(char *) "style", NULL
4235 };
4236
4237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4239 if (!SWIG_IsOK(res1)) {
4240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4241 }
4242 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4243 ecode2 = SWIG_AsVal_int(obj1, &val2);
4244 if (!SWIG_IsOK(ecode2)) {
4245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "2"" of type '" "int""'");
4246 }
4247 arg2 = static_cast< int >(val2);
4248 ecode3 = SWIG_AsVal_int(obj2, &val3);
4249 if (!SWIG_IsOK(ecode3)) {
4250 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "3"" of type '" "int""'");
4251 }
4252 arg3 = static_cast< int >(val3);
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 (arg1)->SetStyling(arg2,arg3);
4256 wxPyEndAllowThreads(__tstate);
4257 if (PyErr_Occurred()) SWIG_fail;
4258 }
4259 resultobj = SWIG_Py_Void();
4260 return resultobj;
4261fail:
4262 return NULL;
7bdb1bc4
RD
4263}
4264
4265
554f62e9
RD
4266SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4267 PyObject *resultobj = 0;
4268 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4269 bool result;
4270 void *argp1 = 0 ;
4271 int res1 = 0 ;
4272 PyObject *swig_obj[1] ;
4273
4274 if (!args) SWIG_fail;
4275 swig_obj[0] = args;
4276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4277 if (!SWIG_IsOK(res1)) {
4278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4279 }
4280 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 result = (bool)(arg1)->GetBufferedDraw();
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) SWIG_fail;
4286 }
4287 {
4288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4289 }
4290 return resultobj;
4291fail:
4292 return NULL;
4293}
4294
4295
4296SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4297 PyObject *resultobj = 0;
4298 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4299 bool arg2 ;
4300 void *argp1 = 0 ;
4301 int res1 = 0 ;
4302 bool val2 ;
4303 int ecode2 = 0 ;
4304 PyObject * obj0 = 0 ;
4305 PyObject * obj1 = 0 ;
4306 char * kwnames[] = {
4307 (char *) "self",(char *) "buffered", NULL
4308 };
4309
4310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) SWIG_fail;
4311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4312 if (!SWIG_IsOK(res1)) {
4313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4314 }
4315 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4316 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4317 if (!SWIG_IsOK(ecode2)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "2"" of type '" "bool""'");
4319 }
4320 arg2 = static_cast< bool >(val2);
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 (arg1)->SetBufferedDraw(arg2);
4324 wxPyEndAllowThreads(__tstate);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 }
4327 resultobj = SWIG_Py_Void();
4328 return resultobj;
4329fail:
4330 return NULL;
4331}
4332
4333
4334SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4335 PyObject *resultobj = 0;
4336 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4337 int arg2 ;
4338 void *argp1 = 0 ;
4339 int res1 = 0 ;
4340 int val2 ;
4341 int ecode2 = 0 ;
4342 PyObject * obj0 = 0 ;
4343 PyObject * obj1 = 0 ;
4344 char * kwnames[] = {
4345 (char *) "self",(char *) "tabWidth", NULL
4346 };
4347
4348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) SWIG_fail;
4349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4350 if (!SWIG_IsOK(res1)) {
4351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4352 }
4353 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4354 ecode2 = SWIG_AsVal_int(obj1, &val2);
4355 if (!SWIG_IsOK(ecode2)) {
4356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "2"" of type '" "int""'");
4357 }
4358 arg2 = static_cast< int >(val2);
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 (arg1)->SetTabWidth(arg2);
4362 wxPyEndAllowThreads(__tstate);
4363 if (PyErr_Occurred()) SWIG_fail;
4364 }
4365 resultobj = SWIG_Py_Void();
4366 return resultobj;
4367fail:
4368 return NULL;
7bdb1bc4
RD
4369}
4370
4371
554f62e9
RD
4372SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4373 PyObject *resultobj = 0;
4374 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4375 int result;
4376 void *argp1 = 0 ;
4377 int res1 = 0 ;
4378 PyObject *swig_obj[1] ;
4379
4380 if (!args) SWIG_fail;
4381 swig_obj[0] = args;
4382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4383 if (!SWIG_IsOK(res1)) {
4384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4385 }
4386 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 result = (int)(arg1)->GetTabWidth();
4390 wxPyEndAllowThreads(__tstate);
4391 if (PyErr_Occurred()) SWIG_fail;
4392 }
4393 resultobj = SWIG_From_int(static_cast< int >(result));
4394 return resultobj;
4395fail:
4396 return NULL;
4397}
4398
4399
4400SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4401 PyObject *resultobj = 0;
4402 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4403 int arg2 ;
4404 void *argp1 = 0 ;
4405 int res1 = 0 ;
4406 int val2 ;
4407 int ecode2 = 0 ;
4408 PyObject * obj0 = 0 ;
4409 PyObject * obj1 = 0 ;
4410 char * kwnames[] = {
4411 (char *) "self",(char *) "codePage", NULL
4412 };
4413
4414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) SWIG_fail;
4415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4416 if (!SWIG_IsOK(res1)) {
4417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4418 }
4419 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4420 ecode2 = SWIG_AsVal_int(obj1, &val2);
4421 if (!SWIG_IsOK(ecode2)) {
4422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "2"" of type '" "int""'");
4423 }
4424 arg2 = static_cast< int >(val2);
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 (arg1)->SetCodePage(arg2);
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 resultobj = SWIG_Py_Void();
4432 return resultobj;
4433fail:
4434 return NULL;
4435}
4436
4437
4438SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4439 PyObject *resultobj = 0;
4440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4441 int arg2 ;
4442 int arg3 ;
4443 wxColour const &arg4_defvalue = wxNullColour ;
4444 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
4445 wxColour const &arg5_defvalue = wxNullColour ;
4446 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
4447 void *argp1 = 0 ;
4448 int res1 = 0 ;
4449 int val2 ;
4450 int ecode2 = 0 ;
4451 int val3 ;
4452 int ecode3 = 0 ;
4453 wxColour temp4 ;
4454 wxColour temp5 ;
4455 PyObject * obj0 = 0 ;
4456 PyObject * obj1 = 0 ;
4457 PyObject * obj2 = 0 ;
4458 PyObject * obj3 = 0 ;
4459 PyObject * obj4 = 0 ;
4460 char * kwnames[] = {
4461 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
4462 };
4463
4464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4466 if (!SWIG_IsOK(res1)) {
4467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4468 }
4469 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4470 ecode2 = SWIG_AsVal_int(obj1, &val2);
4471 if (!SWIG_IsOK(ecode2)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "2"" of type '" "int""'");
4473 }
4474 arg2 = static_cast< int >(val2);
4475 ecode3 = SWIG_AsVal_int(obj2, &val3);
4476 if (!SWIG_IsOK(ecode3)) {
4477 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "3"" of type '" "int""'");
4478 }
4479 arg3 = static_cast< int >(val3);
4480 if (obj3) {
7bdb1bc4 4481 {
554f62e9
RD
4482 arg4 = &temp4;
4483 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
7bdb1bc4 4484 }
554f62e9
RD
4485 }
4486 if (obj4) {
7bdb1bc4 4487 {
554f62e9
RD
4488 arg5 = &temp5;
4489 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
7bdb1bc4 4490 }
554f62e9
RD
4491 }
4492 {
4493 PyThreadState* __tstate = wxPyBeginAllowThreads();
4494 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
4495 wxPyEndAllowThreads(__tstate);
4496 if (PyErr_Occurred()) SWIG_fail;
4497 }
4498 resultobj = SWIG_Py_Void();
4499 return resultobj;
4500fail:
4501 return NULL;
4502}
4503
4504
4505SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4506 PyObject *resultobj = 0;
4507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4508 int arg2 ;
4509 wxColour *arg3 = 0 ;
4510 void *argp1 = 0 ;
4511 int res1 = 0 ;
4512 int val2 ;
4513 int ecode2 = 0 ;
4514 wxColour temp3 ;
4515 PyObject * obj0 = 0 ;
4516 PyObject * obj1 = 0 ;
4517 PyObject * obj2 = 0 ;
4518 char * kwnames[] = {
4519 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
4520 };
4521
4522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4524 if (!SWIG_IsOK(res1)) {
4525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4526 }
4527 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4528 ecode2 = SWIG_AsVal_int(obj1, &val2);
4529 if (!SWIG_IsOK(ecode2)) {
4530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "2"" of type '" "int""'");
4531 }
4532 arg2 = static_cast< int >(val2);
4533 {
4534 arg3 = &temp3;
4535 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4536 }
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
4540 wxPyEndAllowThreads(__tstate);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 }
4543 resultobj = SWIG_Py_Void();
4544 return resultobj;
4545fail:
4546 return NULL;
4547}
4548
4549
4550SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4551 PyObject *resultobj = 0;
4552 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4553 int arg2 ;
4554 wxColour *arg3 = 0 ;
4555 void *argp1 = 0 ;
4556 int res1 = 0 ;
4557 int val2 ;
4558 int ecode2 = 0 ;
4559 wxColour temp3 ;
4560 PyObject * obj0 = 0 ;
4561 PyObject * obj1 = 0 ;
4562 PyObject * obj2 = 0 ;
4563 char * kwnames[] = {
4564 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
4565 };
4566
4567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4569 if (!SWIG_IsOK(res1)) {
4570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4571 }
4572 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4573 ecode2 = SWIG_AsVal_int(obj1, &val2);
4574 if (!SWIG_IsOK(ecode2)) {
4575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "2"" of type '" "int""'");
4576 }
4577 arg2 = static_cast< int >(val2);
4578 {
4579 arg3 = &temp3;
4580 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4581 }
4582 {
4583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4584 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 resultobj = SWIG_Py_Void();
4589 return resultobj;
4590fail:
4591 return NULL;
4592}
4593
4594
4595SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4596 PyObject *resultobj = 0;
4597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4598 int arg2 ;
4599 int arg3 ;
4600 int result;
4601 void *argp1 = 0 ;
4602 int res1 = 0 ;
4603 int val2 ;
4604 int ecode2 = 0 ;
4605 int val3 ;
4606 int ecode3 = 0 ;
4607 PyObject * obj0 = 0 ;
4608 PyObject * obj1 = 0 ;
4609 PyObject * obj2 = 0 ;
4610 char * kwnames[] = {
4611 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4612 };
4613
4614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4616 if (!SWIG_IsOK(res1)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4618 }
4619 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4620 ecode2 = SWIG_AsVal_int(obj1, &val2);
4621 if (!SWIG_IsOK(ecode2)) {
4622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "2"" of type '" "int""'");
4623 }
4624 arg2 = static_cast< int >(val2);
4625 ecode3 = SWIG_AsVal_int(obj2, &val3);
4626 if (!SWIG_IsOK(ecode3)) {
4627 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "3"" of type '" "int""'");
4628 }
4629 arg3 = static_cast< int >(val3);
4630 {
4631 PyThreadState* __tstate = wxPyBeginAllowThreads();
4632 result = (int)(arg1)->MarkerAdd(arg2,arg3);
4633 wxPyEndAllowThreads(__tstate);
4634 if (PyErr_Occurred()) SWIG_fail;
4635 }
4636 resultobj = SWIG_From_int(static_cast< int >(result));
4637 return resultobj;
4638fail:
4639 return NULL;
4640}
4641
4642
4643SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4644 PyObject *resultobj = 0;
4645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4646 int arg2 ;
4647 int arg3 ;
4648 void *argp1 = 0 ;
4649 int res1 = 0 ;
4650 int val2 ;
4651 int ecode2 = 0 ;
4652 int val3 ;
4653 int ecode3 = 0 ;
4654 PyObject * obj0 = 0 ;
4655 PyObject * obj1 = 0 ;
4656 PyObject * obj2 = 0 ;
4657 char * kwnames[] = {
4658 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4659 };
4660
4661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4663 if (!SWIG_IsOK(res1)) {
4664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4665 }
4666 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4667 ecode2 = SWIG_AsVal_int(obj1, &val2);
4668 if (!SWIG_IsOK(ecode2)) {
4669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "2"" of type '" "int""'");
4670 }
4671 arg2 = static_cast< int >(val2);
4672 ecode3 = SWIG_AsVal_int(obj2, &val3);
4673 if (!SWIG_IsOK(ecode3)) {
4674 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "3"" of type '" "int""'");
4675 }
4676 arg3 = static_cast< int >(val3);
4677 {
4678 PyThreadState* __tstate = wxPyBeginAllowThreads();
4679 (arg1)->MarkerDelete(arg2,arg3);
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 resultobj = SWIG_Py_Void();
4684 return resultobj;
4685fail:
4686 return NULL;
4687}
4688
4689
4690SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj = 0;
4692 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4693 int arg2 ;
4694 void *argp1 = 0 ;
4695 int res1 = 0 ;
4696 int val2 ;
4697 int ecode2 = 0 ;
4698 PyObject * obj0 = 0 ;
4699 PyObject * obj1 = 0 ;
4700 char * kwnames[] = {
4701 (char *) "self",(char *) "markerNumber", NULL
4702 };
4703
4704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) SWIG_fail;
4705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4706 if (!SWIG_IsOK(res1)) {
4707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4708 }
4709 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4710 ecode2 = SWIG_AsVal_int(obj1, &val2);
4711 if (!SWIG_IsOK(ecode2)) {
4712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "2"" of type '" "int""'");
4713 }
4714 arg2 = static_cast< int >(val2);
4715 {
4716 PyThreadState* __tstate = wxPyBeginAllowThreads();
4717 (arg1)->MarkerDeleteAll(arg2);
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4721 resultobj = SWIG_Py_Void();
4722 return resultobj;
4723fail:
4724 return NULL;
4725}
4726
4727
4728SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4729 PyObject *resultobj = 0;
4730 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4731 int arg2 ;
4732 int result;
4733 void *argp1 = 0 ;
4734 int res1 = 0 ;
4735 int val2 ;
4736 int ecode2 = 0 ;
4737 PyObject * obj0 = 0 ;
4738 PyObject * obj1 = 0 ;
4739 char * kwnames[] = {
4740 (char *) "self",(char *) "line", NULL
4741 };
4742
4743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) SWIG_fail;
4744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4745 if (!SWIG_IsOK(res1)) {
4746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4747 }
4748 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4749 ecode2 = SWIG_AsVal_int(obj1, &val2);
4750 if (!SWIG_IsOK(ecode2)) {
4751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "2"" of type '" "int""'");
4752 }
4753 arg2 = static_cast< int >(val2);
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 result = (int)(arg1)->MarkerGet(arg2);
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 resultobj = SWIG_From_int(static_cast< int >(result));
4761 return resultobj;
4762fail:
4763 return NULL;
4764}
4765
4766
4767SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4768 PyObject *resultobj = 0;
4769 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4770 int arg2 ;
4771 int arg3 ;
4772 int result;
4773 void *argp1 = 0 ;
4774 int res1 = 0 ;
4775 int val2 ;
4776 int ecode2 = 0 ;
4777 int val3 ;
4778 int ecode3 = 0 ;
4779 PyObject * obj0 = 0 ;
4780 PyObject * obj1 = 0 ;
4781 PyObject * obj2 = 0 ;
4782 char * kwnames[] = {
4783 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4784 };
4785
4786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4788 if (!SWIG_IsOK(res1)) {
4789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4790 }
4791 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4792 ecode2 = SWIG_AsVal_int(obj1, &val2);
4793 if (!SWIG_IsOK(ecode2)) {
4794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "2"" of type '" "int""'");
4795 }
4796 arg2 = static_cast< int >(val2);
4797 ecode3 = SWIG_AsVal_int(obj2, &val3);
4798 if (!SWIG_IsOK(ecode3)) {
4799 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "3"" of type '" "int""'");
4800 }
4801 arg3 = static_cast< int >(val3);
4802 {
4803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4804 result = (int)(arg1)->MarkerNext(arg2,arg3);
4805 wxPyEndAllowThreads(__tstate);
4806 if (PyErr_Occurred()) SWIG_fail;
4807 }
4808 resultobj = SWIG_From_int(static_cast< int >(result));
4809 return resultobj;
4810fail:
4811 return NULL;
4812}
4813
4814
4815SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4816 PyObject *resultobj = 0;
4817 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4818 int arg2 ;
4819 int arg3 ;
4820 int result;
4821 void *argp1 = 0 ;
4822 int res1 = 0 ;
4823 int val2 ;
4824 int ecode2 = 0 ;
4825 int val3 ;
4826 int ecode3 = 0 ;
4827 PyObject * obj0 = 0 ;
4828 PyObject * obj1 = 0 ;
4829 PyObject * obj2 = 0 ;
4830 char * kwnames[] = {
4831 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4832 };
4833
4834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4836 if (!SWIG_IsOK(res1)) {
4837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4838 }
4839 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4840 ecode2 = SWIG_AsVal_int(obj1, &val2);
4841 if (!SWIG_IsOK(ecode2)) {
4842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "2"" of type '" "int""'");
4843 }
4844 arg2 = static_cast< int >(val2);
4845 ecode3 = SWIG_AsVal_int(obj2, &val3);
4846 if (!SWIG_IsOK(ecode3)) {
4847 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "3"" of type '" "int""'");
4848 }
4849 arg3 = static_cast< int >(val3);
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
4853 wxPyEndAllowThreads(__tstate);
4854 if (PyErr_Occurred()) SWIG_fail;
4855 }
4856 resultobj = SWIG_From_int(static_cast< int >(result));
4857 return resultobj;
4858fail:
4859 return NULL;
4860}
4861
4862
4863SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4864 PyObject *resultobj = 0;
4865 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4866 int arg2 ;
4867 wxBitmap *arg3 = 0 ;
4868 void *argp1 = 0 ;
4869 int res1 = 0 ;
4870 int val2 ;
4871 int ecode2 = 0 ;
4872 void *argp3 = 0 ;
4873 int res3 = 0 ;
4874 PyObject * obj0 = 0 ;
4875 PyObject * obj1 = 0 ;
4876 PyObject * obj2 = 0 ;
4877 char * kwnames[] = {
4878 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
4879 };
4880
4881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4883 if (!SWIG_IsOK(res1)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4885 }
4886 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4887 ecode2 = SWIG_AsVal_int(obj1, &val2);
4888 if (!SWIG_IsOK(ecode2)) {
4889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "2"" of type '" "int""'");
4890 }
4891 arg2 = static_cast< int >(val2);
4892 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
4893 if (!SWIG_IsOK(res3)) {
4894 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4895 }
4896 if (!argp3) {
4897 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4898 }
4899 arg3 = reinterpret_cast< wxBitmap * >(argp3);
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 resultobj = SWIG_Py_Void();
4907 return resultobj;
4908fail:
4909 return NULL;
4910}
4911
4912
4913SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAddSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4914 PyObject *resultobj = 0;
4915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4916 int arg2 ;
4917 int arg3 ;
4918 void *argp1 = 0 ;
4919 int res1 = 0 ;
4920 int val2 ;
4921 int ecode2 = 0 ;
4922 int val3 ;
4923 int ecode3 = 0 ;
4924 PyObject * obj0 = 0 ;
4925 PyObject * obj1 = 0 ;
4926 PyObject * obj2 = 0 ;
4927 char * kwnames[] = {
4928 (char *) "self",(char *) "line",(char *) "set", NULL
4929 };
4930
4931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAddSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4933 if (!SWIG_IsOK(res1)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4935 }
4936 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4937 ecode2 = SWIG_AsVal_int(obj1, &val2);
4938 if (!SWIG_IsOK(ecode2)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "2"" of type '" "int""'");
4940 }
4941 arg2 = static_cast< int >(val2);
4942 ecode3 = SWIG_AsVal_int(obj2, &val3);
4943 if (!SWIG_IsOK(ecode3)) {
4944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "3"" of type '" "int""'");
4945 }
4946 arg3 = static_cast< int >(val3);
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 (arg1)->MarkerAddSet(arg2,arg3);
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 resultobj = SWIG_Py_Void();
4954 return resultobj;
4955fail:
4956 return NULL;
4957}
4958
4959
10044bf1
RD
4960SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4961 PyObject *resultobj = 0;
4962 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4963 int arg2 ;
4964 int arg3 ;
4965 void *argp1 = 0 ;
4966 int res1 = 0 ;
4967 int val2 ;
4968 int ecode2 = 0 ;
4969 int val3 ;
4970 int ecode3 = 0 ;
4971 PyObject * obj0 = 0 ;
4972 PyObject * obj1 = 0 ;
4973 PyObject * obj2 = 0 ;
4974 char * kwnames[] = {
4975 (char *) "self",(char *) "markerNumber",(char *) "alpha", NULL
4976 };
4977
4978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetAlpha",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4980 if (!SWIG_IsOK(res1)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4982 }
4983 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4984 ecode2 = SWIG_AsVal_int(obj1, &val2);
4985 if (!SWIG_IsOK(ecode2)) {
4986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "2"" of type '" "int""'");
4987 }
4988 arg2 = static_cast< int >(val2);
4989 ecode3 = SWIG_AsVal_int(obj2, &val3);
4990 if (!SWIG_IsOK(ecode3)) {
4991 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "3"" of type '" "int""'");
4992 }
4993 arg3 = static_cast< int >(val3);
4994 {
4995 PyThreadState* __tstate = wxPyBeginAllowThreads();
4996 (arg1)->MarkerSetAlpha(arg2,arg3);
4997 wxPyEndAllowThreads(__tstate);
4998 if (PyErr_Occurred()) SWIG_fail;
4999 }
5000 resultobj = SWIG_Py_Void();
5001 return resultobj;
5002fail:
5003 return NULL;
5004}
5005
5006
554f62e9
RD
5007SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5008 PyObject *resultobj = 0;
5009 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5010 int arg2 ;
5011 int arg3 ;
5012 void *argp1 = 0 ;
5013 int res1 = 0 ;
5014 int val2 ;
5015 int ecode2 = 0 ;
5016 int val3 ;
5017 int ecode3 = 0 ;
5018 PyObject * obj0 = 0 ;
5019 PyObject * obj1 = 0 ;
5020 PyObject * obj2 = 0 ;
5021 char * kwnames[] = {
5022 (char *) "self",(char *) "margin",(char *) "marginType", NULL
5023 };
5024
5025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5027 if (!SWIG_IsOK(res1)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5029 }
5030 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5031 ecode2 = SWIG_AsVal_int(obj1, &val2);
5032 if (!SWIG_IsOK(ecode2)) {
5033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "2"" of type '" "int""'");
5034 }
5035 arg2 = static_cast< int >(val2);
5036 ecode3 = SWIG_AsVal_int(obj2, &val3);
5037 if (!SWIG_IsOK(ecode3)) {
5038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "3"" of type '" "int""'");
5039 }
5040 arg3 = static_cast< int >(val3);
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 (arg1)->SetMarginType(arg2,arg3);
5044 wxPyEndAllowThreads(__tstate);
5045 if (PyErr_Occurred()) SWIG_fail;
5046 }
5047 resultobj = SWIG_Py_Void();
5048 return resultobj;
5049fail:
5050 return NULL;
5051}
5052
5053
5054SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5055 PyObject *resultobj = 0;
5056 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5057 int arg2 ;
5058 int result;
5059 void *argp1 = 0 ;
5060 int res1 = 0 ;
5061 int val2 ;
5062 int ecode2 = 0 ;
5063 PyObject * obj0 = 0 ;
5064 PyObject * obj1 = 0 ;
5065 char * kwnames[] = {
5066 (char *) "self",(char *) "margin", NULL
5067 };
5068
5069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) SWIG_fail;
5070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5071 if (!SWIG_IsOK(res1)) {
5072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5073 }
5074 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5075 ecode2 = SWIG_AsVal_int(obj1, &val2);
5076 if (!SWIG_IsOK(ecode2)) {
5077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "2"" of type '" "int""'");
5078 }
5079 arg2 = static_cast< int >(val2);
5080 {
5081 PyThreadState* __tstate = wxPyBeginAllowThreads();
5082 result = (int)(arg1)->GetMarginType(arg2);
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) SWIG_fail;
5085 }
5086 resultobj = SWIG_From_int(static_cast< int >(result));
5087 return resultobj;
5088fail:
5089 return NULL;
5090}
5091
5092
5093SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5094 PyObject *resultobj = 0;
5095 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5096 int arg2 ;
5097 int arg3 ;
5098 void *argp1 = 0 ;
5099 int res1 = 0 ;
5100 int val2 ;
5101 int ecode2 = 0 ;
5102 int val3 ;
5103 int ecode3 = 0 ;
5104 PyObject * obj0 = 0 ;
5105 PyObject * obj1 = 0 ;
5106 PyObject * obj2 = 0 ;
5107 char * kwnames[] = {
5108 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
5109 };
5110
5111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5113 if (!SWIG_IsOK(res1)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5115 }
5116 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5117 ecode2 = SWIG_AsVal_int(obj1, &val2);
5118 if (!SWIG_IsOK(ecode2)) {
5119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5120 }
5121 arg2 = static_cast< int >(val2);
5122 ecode3 = SWIG_AsVal_int(obj2, &val3);
5123 if (!SWIG_IsOK(ecode3)) {
5124 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "3"" of type '" "int""'");
5125 }
5126 arg3 = static_cast< int >(val3);
5127 {
5128 PyThreadState* __tstate = wxPyBeginAllowThreads();
5129 (arg1)->SetMarginWidth(arg2,arg3);
5130 wxPyEndAllowThreads(__tstate);
5131 if (PyErr_Occurred()) SWIG_fail;
5132 }
5133 resultobj = SWIG_Py_Void();
5134 return resultobj;
5135fail:
5136 return NULL;
5137}
5138
5139
5140SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5141 PyObject *resultobj = 0;
5142 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5143 int arg2 ;
5144 int result;
5145 void *argp1 = 0 ;
5146 int res1 = 0 ;
5147 int val2 ;
5148 int ecode2 = 0 ;
5149 PyObject * obj0 = 0 ;
5150 PyObject * obj1 = 0 ;
5151 char * kwnames[] = {
5152 (char *) "self",(char *) "margin", NULL
5153 };
5154
5155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5157 if (!SWIG_IsOK(res1)) {
5158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5159 }
5160 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5161 ecode2 = SWIG_AsVal_int(obj1, &val2);
5162 if (!SWIG_IsOK(ecode2)) {
5163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5164 }
5165 arg2 = static_cast< int >(val2);
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
5168 result = (int)(arg1)->GetMarginWidth(arg2);
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 resultobj = SWIG_From_int(static_cast< int >(result));
5173 return resultobj;
5174fail:
5175 return NULL;
5176}
5177
5178
5179SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5180 PyObject *resultobj = 0;
5181 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5182 int arg2 ;
5183 int arg3 ;
5184 void *argp1 = 0 ;
5185 int res1 = 0 ;
5186 int val2 ;
5187 int ecode2 = 0 ;
5188 int val3 ;
5189 int ecode3 = 0 ;
5190 PyObject * obj0 = 0 ;
5191 PyObject * obj1 = 0 ;
5192 PyObject * obj2 = 0 ;
5193 char * kwnames[] = {
5194 (char *) "self",(char *) "margin",(char *) "mask", NULL
5195 };
5196
5197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5199 if (!SWIG_IsOK(res1)) {
5200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5201 }
5202 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5203 ecode2 = SWIG_AsVal_int(obj1, &val2);
5204 if (!SWIG_IsOK(ecode2)) {
5205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "2"" of type '" "int""'");
5206 }
5207 arg2 = static_cast< int >(val2);
5208 ecode3 = SWIG_AsVal_int(obj2, &val3);
5209 if (!SWIG_IsOK(ecode3)) {
5210 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "3"" of type '" "int""'");
5211 }
5212 arg3 = static_cast< int >(val3);
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 (arg1)->SetMarginMask(arg2,arg3);
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 resultobj = SWIG_Py_Void();
5220 return resultobj;
5221fail:
5222 return NULL;
5223}
5224
5225
5226SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj = 0;
5228 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5229 int arg2 ;
5230 int result;
5231 void *argp1 = 0 ;
5232 int res1 = 0 ;
5233 int val2 ;
5234 int ecode2 = 0 ;
5235 PyObject * obj0 = 0 ;
5236 PyObject * obj1 = 0 ;
5237 char * kwnames[] = {
5238 (char *) "self",(char *) "margin", NULL
5239 };
5240
5241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) SWIG_fail;
5242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5243 if (!SWIG_IsOK(res1)) {
5244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5245 }
5246 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5247 ecode2 = SWIG_AsVal_int(obj1, &val2);
5248 if (!SWIG_IsOK(ecode2)) {
5249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "2"" of type '" "int""'");
5250 }
5251 arg2 = static_cast< int >(val2);
5252 {
5253 PyThreadState* __tstate = wxPyBeginAllowThreads();
5254 result = (int)(arg1)->GetMarginMask(arg2);
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 resultobj = SWIG_From_int(static_cast< int >(result));
5259 return resultobj;
5260fail:
5261 return NULL;
5262}
5263
5264
5265SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5266 PyObject *resultobj = 0;
5267 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5268 int arg2 ;
5269 bool arg3 ;
5270 void *argp1 = 0 ;
5271 int res1 = 0 ;
5272 int val2 ;
5273 int ecode2 = 0 ;
5274 bool val3 ;
5275 int ecode3 = 0 ;
5276 PyObject * obj0 = 0 ;
5277 PyObject * obj1 = 0 ;
5278 PyObject * obj2 = 0 ;
5279 char * kwnames[] = {
5280 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
5281 };
5282
5283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5285 if (!SWIG_IsOK(res1)) {
5286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5287 }
5288 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5289 ecode2 = SWIG_AsVal_int(obj1, &val2);
5290 if (!SWIG_IsOK(ecode2)) {
5291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5292 }
5293 arg2 = static_cast< int >(val2);
5294 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5295 if (!SWIG_IsOK(ecode3)) {
5296 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "3"" of type '" "bool""'");
5297 }
5298 arg3 = static_cast< bool >(val3);
5299 {
5300 PyThreadState* __tstate = wxPyBeginAllowThreads();
5301 (arg1)->SetMarginSensitive(arg2,arg3);
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
5305 resultobj = SWIG_Py_Void();
5306 return resultobj;
5307fail:
5308 return NULL;
5309}
5310
5311
5312SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5313 PyObject *resultobj = 0;
5314 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5315 int arg2 ;
5316 bool result;
5317 void *argp1 = 0 ;
5318 int res1 = 0 ;
5319 int val2 ;
5320 int ecode2 = 0 ;
5321 PyObject * obj0 = 0 ;
5322 PyObject * obj1 = 0 ;
5323 char * kwnames[] = {
5324 (char *) "self",(char *) "margin", NULL
5325 };
5326
5327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) SWIG_fail;
5328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5329 if (!SWIG_IsOK(res1)) {
5330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5331 }
5332 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5333 ecode2 = SWIG_AsVal_int(obj1, &val2);
5334 if (!SWIG_IsOK(ecode2)) {
5335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5336 }
5337 arg2 = static_cast< int >(val2);
5338 {
5339 PyThreadState* __tstate = wxPyBeginAllowThreads();
5340 result = (bool)(arg1)->GetMarginSensitive(arg2);
5341 wxPyEndAllowThreads(__tstate);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 }
5344 {
5345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5346 }
5347 return resultobj;
5348fail:
5349 return NULL;
7bdb1bc4
RD
5350}
5351
5352
554f62e9
RD
5353SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5354 PyObject *resultobj = 0;
5355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5356 void *argp1 = 0 ;
5357 int res1 = 0 ;
5358 PyObject *swig_obj[1] ;
5359
5360 if (!args) SWIG_fail;
5361 swig_obj[0] = args;
5362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5363 if (!SWIG_IsOK(res1)) {
5364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5365 }
5366 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5367 {
5368 PyThreadState* __tstate = wxPyBeginAllowThreads();
5369 (arg1)->StyleClearAll();
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 resultobj = SWIG_Py_Void();
5374 return resultobj;
5375fail:
5376 return NULL;
5377}
5378
5379
5380SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5381 PyObject *resultobj = 0;
5382 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5383 int arg2 ;
5384 wxColour *arg3 = 0 ;
5385 void *argp1 = 0 ;
5386 int res1 = 0 ;
5387 int val2 ;
5388 int ecode2 = 0 ;
5389 wxColour temp3 ;
5390 PyObject * obj0 = 0 ;
5391 PyObject * obj1 = 0 ;
5392 PyObject * obj2 = 0 ;
5393 char * kwnames[] = {
5394 (char *) "self",(char *) "style",(char *) "fore", NULL
5395 };
5396
5397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5399 if (!SWIG_IsOK(res1)) {
5400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5401 }
5402 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5403 ecode2 = SWIG_AsVal_int(obj1, &val2);
5404 if (!SWIG_IsOK(ecode2)) {
5405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "2"" of type '" "int""'");
5406 }
5407 arg2 = static_cast< int >(val2);
5408 {
5409 arg3 = &temp3;
5410 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5411 }
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 resultobj = SWIG_Py_Void();
5419 return resultobj;
5420fail:
5421 return NULL;
5422}
5423
5424
5425SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj = 0;
5427 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5428 int arg2 ;
5429 wxColour *arg3 = 0 ;
5430 void *argp1 = 0 ;
5431 int res1 = 0 ;
5432 int val2 ;
5433 int ecode2 = 0 ;
5434 wxColour temp3 ;
5435 PyObject * obj0 = 0 ;
5436 PyObject * obj1 = 0 ;
5437 PyObject * obj2 = 0 ;
5438 char * kwnames[] = {
5439 (char *) "self",(char *) "style",(char *) "back", NULL
5440 };
5441
5442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5444 if (!SWIG_IsOK(res1)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5446 }
5447 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5448 ecode2 = SWIG_AsVal_int(obj1, &val2);
5449 if (!SWIG_IsOK(ecode2)) {
5450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "2"" of type '" "int""'");
5451 }
5452 arg2 = static_cast< int >(val2);
5453 {
5454 arg3 = &temp3;
5455 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5456 }
5457 {
5458 PyThreadState* __tstate = wxPyBeginAllowThreads();
5459 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
5463 resultobj = SWIG_Py_Void();
5464 return resultobj;
5465fail:
5466 return NULL;
5467}
5468
5469
5470SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5471 PyObject *resultobj = 0;
5472 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5473 int arg2 ;
5474 bool arg3 ;
5475 void *argp1 = 0 ;
5476 int res1 = 0 ;
5477 int val2 ;
5478 int ecode2 = 0 ;
5479 bool val3 ;
5480 int ecode3 = 0 ;
5481 PyObject * obj0 = 0 ;
5482 PyObject * obj1 = 0 ;
5483 PyObject * obj2 = 0 ;
5484 char * kwnames[] = {
5485 (char *) "self",(char *) "style",(char *) "bold", NULL
5486 };
5487
5488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5490 if (!SWIG_IsOK(res1)) {
5491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5492 }
5493 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5494 ecode2 = SWIG_AsVal_int(obj1, &val2);
5495 if (!SWIG_IsOK(ecode2)) {
5496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "2"" of type '" "int""'");
5497 }
5498 arg2 = static_cast< int >(val2);
5499 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5500 if (!SWIG_IsOK(ecode3)) {
5501 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "3"" of type '" "bool""'");
5502 }
5503 arg3 = static_cast< bool >(val3);
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 (arg1)->StyleSetBold(arg2,arg3);
5507 wxPyEndAllowThreads(__tstate);
5508 if (PyErr_Occurred()) SWIG_fail;
5509 }
5510 resultobj = SWIG_Py_Void();
5511 return resultobj;
5512fail:
5513 return NULL;
5514}
5515
5516
5517SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5518 PyObject *resultobj = 0;
5519 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5520 int arg2 ;
5521 bool arg3 ;
5522 void *argp1 = 0 ;
5523 int res1 = 0 ;
5524 int val2 ;
5525 int ecode2 = 0 ;
5526 bool val3 ;
5527 int ecode3 = 0 ;
5528 PyObject * obj0 = 0 ;
5529 PyObject * obj1 = 0 ;
5530 PyObject * obj2 = 0 ;
5531 char * kwnames[] = {
5532 (char *) "self",(char *) "style",(char *) "italic", NULL
5533 };
5534
5535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5537 if (!SWIG_IsOK(res1)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5539 }
5540 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5541 ecode2 = SWIG_AsVal_int(obj1, &val2);
5542 if (!SWIG_IsOK(ecode2)) {
5543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "2"" of type '" "int""'");
5544 }
5545 arg2 = static_cast< int >(val2);
5546 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5547 if (!SWIG_IsOK(ecode3)) {
5548 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "3"" of type '" "bool""'");
5549 }
5550 arg3 = static_cast< bool >(val3);
5551 {
5552 PyThreadState* __tstate = wxPyBeginAllowThreads();
5553 (arg1)->StyleSetItalic(arg2,arg3);
5554 wxPyEndAllowThreads(__tstate);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 }
5557 resultobj = SWIG_Py_Void();
5558 return resultobj;
5559fail:
5560 return NULL;
5561}
5562
5563
5564SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5565 PyObject *resultobj = 0;
5566 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5567 int arg2 ;
5568 int arg3 ;
5569 void *argp1 = 0 ;
5570 int res1 = 0 ;
5571 int val2 ;
5572 int ecode2 = 0 ;
5573 int val3 ;
5574 int ecode3 = 0 ;
5575 PyObject * obj0 = 0 ;
5576 PyObject * obj1 = 0 ;
5577 PyObject * obj2 = 0 ;
5578 char * kwnames[] = {
5579 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
5580 };
5581
5582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5584 if (!SWIG_IsOK(res1)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5586 }
5587 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5588 ecode2 = SWIG_AsVal_int(obj1, &val2);
5589 if (!SWIG_IsOK(ecode2)) {
5590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "2"" of type '" "int""'");
5591 }
5592 arg2 = static_cast< int >(val2);
5593 ecode3 = SWIG_AsVal_int(obj2, &val3);
5594 if (!SWIG_IsOK(ecode3)) {
5595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "3"" of type '" "int""'");
5596 }
5597 arg3 = static_cast< int >(val3);
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 (arg1)->StyleSetSize(arg2,arg3);
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 resultobj = SWIG_Py_Void();
5605 return resultobj;
5606fail:
5607 return NULL;
5608}
5609
5610
5611SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5612 PyObject *resultobj = 0;
5613 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5614 int arg2 ;
5615 wxString *arg3 = 0 ;
5616 void *argp1 = 0 ;
5617 int res1 = 0 ;
5618 int val2 ;
5619 int ecode2 = 0 ;
5620 bool temp3 = false ;
5621 PyObject * obj0 = 0 ;
5622 PyObject * obj1 = 0 ;
5623 PyObject * obj2 = 0 ;
5624 char * kwnames[] = {
5625 (char *) "self",(char *) "style",(char *) "fontName", NULL
5626 };
5627
5628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5630 if (!SWIG_IsOK(res1)) {
5631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5632 }
5633 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5634 ecode2 = SWIG_AsVal_int(obj1, &val2);
5635 if (!SWIG_IsOK(ecode2)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "2"" of type '" "int""'");
5637 }
5638 arg2 = static_cast< int >(val2);
5639 {
5640 arg3 = wxString_in_helper(obj2);
5641 if (arg3 == NULL) SWIG_fail;
5642 temp3 = true;
5643 }
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 resultobj = SWIG_Py_Void();
5651 {
5652 if (temp3)
5653 delete arg3;
5654 }
5655 return resultobj;
5656fail:
5657 {
5658 if (temp3)
5659 delete arg3;
5660 }
5661 return NULL;
5662}
5663
5664
5665SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5666 PyObject *resultobj = 0;
5667 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5668 int arg2 ;
5669 bool arg3 ;
5670 void *argp1 = 0 ;
5671 int res1 = 0 ;
5672 int val2 ;
5673 int ecode2 = 0 ;
5674 bool val3 ;
5675 int ecode3 = 0 ;
5676 PyObject * obj0 = 0 ;
5677 PyObject * obj1 = 0 ;
5678 PyObject * obj2 = 0 ;
5679 char * kwnames[] = {
5680 (char *) "self",(char *) "style",(char *) "filled", NULL
5681 };
5682
5683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5685 if (!SWIG_IsOK(res1)) {
5686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5687 }
5688 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5689 ecode2 = SWIG_AsVal_int(obj1, &val2);
5690 if (!SWIG_IsOK(ecode2)) {
5691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "2"" of type '" "int""'");
5692 }
5693 arg2 = static_cast< int >(val2);
5694 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5695 if (!SWIG_IsOK(ecode3)) {
5696 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "3"" of type '" "bool""'");
5697 }
5698 arg3 = static_cast< bool >(val3);
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 (arg1)->StyleSetEOLFilled(arg2,arg3);
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 resultobj = SWIG_Py_Void();
5706 return resultobj;
5707fail:
5708 return NULL;
7bdb1bc4
RD
5709}
5710
5711
554f62e9
RD
5712SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5713 PyObject *resultobj = 0;
5714 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5715 void *argp1 = 0 ;
5716 int res1 = 0 ;
5717 PyObject *swig_obj[1] ;
5718
5719 if (!args) SWIG_fail;
5720 swig_obj[0] = args;
5721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5722 if (!SWIG_IsOK(res1)) {
5723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleResetDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5724 }
5725 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5726 {
5727 PyThreadState* __tstate = wxPyBeginAllowThreads();
5728 (arg1)->StyleResetDefault();
5729 wxPyEndAllowThreads(__tstate);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 }
5732 resultobj = SWIG_Py_Void();
5733 return resultobj;
5734fail:
5735 return NULL;
5736}
5737
5738
5739SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5740 PyObject *resultobj = 0;
5741 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5742 int arg2 ;
5743 bool arg3 ;
5744 void *argp1 = 0 ;
5745 int res1 = 0 ;
5746 int val2 ;
5747 int ecode2 = 0 ;
5748 bool val3 ;
5749 int ecode3 = 0 ;
5750 PyObject * obj0 = 0 ;
5751 PyObject * obj1 = 0 ;
5752 PyObject * obj2 = 0 ;
5753 char * kwnames[] = {
5754 (char *) "self",(char *) "style",(char *) "underline", NULL
5755 };
5756
5757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5759 if (!SWIG_IsOK(res1)) {
5760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5761 }
5762 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5763 ecode2 = SWIG_AsVal_int(obj1, &val2);
5764 if (!SWIG_IsOK(ecode2)) {
5765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "2"" of type '" "int""'");
5766 }
5767 arg2 = static_cast< int >(val2);
5768 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5769 if (!SWIG_IsOK(ecode3)) {
5770 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "3"" of type '" "bool""'");
5771 }
5772 arg3 = static_cast< bool >(val3);
5773 {
5774 PyThreadState* __tstate = wxPyBeginAllowThreads();
5775 (arg1)->StyleSetUnderline(arg2,arg3);
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 resultobj = SWIG_Py_Void();
5780 return resultobj;
5781fail:
5782 return NULL;
5783}
5784
5785
5786SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5787 PyObject *resultobj = 0;
5788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5789 int arg2 ;
5790 int arg3 ;
5791 void *argp1 = 0 ;
5792 int res1 = 0 ;
5793 int val2 ;
5794 int ecode2 = 0 ;
5795 int val3 ;
5796 int ecode3 = 0 ;
5797 PyObject * obj0 = 0 ;
5798 PyObject * obj1 = 0 ;
5799 PyObject * obj2 = 0 ;
5800 char * kwnames[] = {
5801 (char *) "self",(char *) "style",(char *) "caseForce", NULL
5802 };
5803
5804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5806 if (!SWIG_IsOK(res1)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5808 }
5809 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5810 ecode2 = SWIG_AsVal_int(obj1, &val2);
5811 if (!SWIG_IsOK(ecode2)) {
5812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "2"" of type '" "int""'");
5813 }
5814 arg2 = static_cast< int >(val2);
5815 ecode3 = SWIG_AsVal_int(obj2, &val3);
5816 if (!SWIG_IsOK(ecode3)) {
5817 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "3"" of type '" "int""'");
5818 }
5819 arg3 = static_cast< int >(val3);
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 (arg1)->StyleSetCase(arg2,arg3);
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 resultobj = SWIG_Py_Void();
5827 return resultobj;
5828fail:
5829 return NULL;
5830}
5831
5832
5833SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5834 PyObject *resultobj = 0;
5835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5836 int arg2 ;
5837 bool arg3 ;
5838 void *argp1 = 0 ;
5839 int res1 = 0 ;
5840 int val2 ;
5841 int ecode2 = 0 ;
5842 bool val3 ;
5843 int ecode3 = 0 ;
5844 PyObject * obj0 = 0 ;
5845 PyObject * obj1 = 0 ;
5846 PyObject * obj2 = 0 ;
5847 char * kwnames[] = {
5848 (char *) "self",(char *) "style",(char *) "hotspot", NULL
5849 };
5850
5851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5853 if (!SWIG_IsOK(res1)) {
5854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5855 }
5856 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5857 ecode2 = SWIG_AsVal_int(obj1, &val2);
5858 if (!SWIG_IsOK(ecode2)) {
5859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "2"" of type '" "int""'");
5860 }
5861 arg2 = static_cast< int >(val2);
5862 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5863 if (!SWIG_IsOK(ecode3)) {
5864 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "3"" of type '" "bool""'");
5865 }
5866 arg3 = static_cast< bool >(val3);
5867 {
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 (arg1)->StyleSetHotSpot(arg2,arg3);
5870 wxPyEndAllowThreads(__tstate);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
5873 resultobj = SWIG_Py_Void();
5874 return resultobj;
5875fail:
5876 return NULL;
5877}
5878
5879
5880SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5881 PyObject *resultobj = 0;
5882 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5883 bool arg2 ;
5884 wxColour *arg3 = 0 ;
5885 void *argp1 = 0 ;
5886 int res1 = 0 ;
5887 bool val2 ;
5888 int ecode2 = 0 ;
5889 wxColour temp3 ;
5890 PyObject * obj0 = 0 ;
5891 PyObject * obj1 = 0 ;
5892 PyObject * obj2 = 0 ;
5893 char * kwnames[] = {
5894 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
5895 };
5896
5897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5899 if (!SWIG_IsOK(res1)) {
5900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5901 }
5902 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5903 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5904 if (!SWIG_IsOK(ecode2)) {
5905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "2"" of type '" "bool""'");
5906 }
5907 arg2 = static_cast< bool >(val2);
5908 {
5909 arg3 = &temp3;
5910 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5911 }
5912 {
5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
5914 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
5918 resultobj = SWIG_Py_Void();
5919 return resultobj;
5920fail:
5921 return NULL;
5922}
5923
5924
5925SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj = 0;
5927 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5928 bool arg2 ;
5929 wxColour *arg3 = 0 ;
5930 void *argp1 = 0 ;
5931 int res1 = 0 ;
5932 bool val2 ;
5933 int ecode2 = 0 ;
5934 wxColour temp3 ;
5935 PyObject * obj0 = 0 ;
5936 PyObject * obj1 = 0 ;
5937 PyObject * obj2 = 0 ;
5938 char * kwnames[] = {
5939 (char *) "self",(char *) "useSetting",(char *) "back", NULL
5940 };
5941
5942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5944 if (!SWIG_IsOK(res1)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5946 }
5947 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5948 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5949 if (!SWIG_IsOK(ecode2)) {
5950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "2"" of type '" "bool""'");
5951 }
5952 arg2 = static_cast< bool >(val2);
5953 {
5954 arg3 = &temp3;
5955 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5956 }
5957 {
5958 PyThreadState* __tstate = wxPyBeginAllowThreads();
5959 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
5960 wxPyEndAllowThreads(__tstate);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
5963 resultobj = SWIG_Py_Void();
5964 return resultobj;
5965fail:
5966 return NULL;
5967}
5968
5969
10044bf1
RD
5970SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5971 PyObject *resultobj = 0;
5972 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5973 int result;
5974 void *argp1 = 0 ;
5975 int res1 = 0 ;
5976 PyObject *swig_obj[1] ;
5977
5978 if (!args) SWIG_fail;
5979 swig_obj[0] = args;
5980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5981 if (!SWIG_IsOK(res1)) {
5982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5983 }
5984 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5985 {
5986 PyThreadState* __tstate = wxPyBeginAllowThreads();
5987 result = (int)(arg1)->GetSelAlpha();
5988 wxPyEndAllowThreads(__tstate);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 }
5991 resultobj = SWIG_From_int(static_cast< int >(result));
5992 return resultobj;
5993fail:
5994 return NULL;
5995}
5996
5997
5998SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5999 PyObject *resultobj = 0;
6000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6001 int arg2 ;
6002 void *argp1 = 0 ;
6003 int res1 = 0 ;
6004 int val2 ;
6005 int ecode2 = 0 ;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 char * kwnames[] = {
6009 (char *) "self",(char *) "alpha", NULL
6010 };
6011
6012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelAlpha",kwnames,&obj0,&obj1)) SWIG_fail;
6013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6014 if (!SWIG_IsOK(res1)) {
6015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6016 }
6017 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6018 ecode2 = SWIG_AsVal_int(obj1, &val2);
6019 if (!SWIG_IsOK(ecode2)) {
6020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelAlpha" "', expected argument " "2"" of type '" "int""'");
6021 }
6022 arg2 = static_cast< int >(val2);
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 (arg1)->SetSelAlpha(arg2);
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 resultobj = SWIG_Py_Void();
6030 return resultobj;
6031fail:
6032 return NULL;
6033}
6034
6035
554f62e9
RD
6036SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj = 0;
6038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6039 wxColour *arg2 = 0 ;
6040 void *argp1 = 0 ;
6041 int res1 = 0 ;
6042 wxColour temp2 ;
6043 PyObject * obj0 = 0 ;
6044 PyObject * obj1 = 0 ;
6045 char * kwnames[] = {
6046 (char *) "self",(char *) "fore", NULL
6047 };
6048
6049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) SWIG_fail;
6050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6051 if (!SWIG_IsOK(res1)) {
6052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6053 }
6054 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6055 {
6056 arg2 = &temp2;
6057 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6058 }
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 (arg1)->SetCaretForeground((wxColour const &)*arg2);
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 resultobj = SWIG_Py_Void();
6066 return resultobj;
6067fail:
6068 return NULL;
6069}
6070
6071
6072SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6073 PyObject *resultobj = 0;
6074 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6075 int arg2 ;
6076 int arg3 ;
6077 int arg4 ;
6078 void *argp1 = 0 ;
6079 int res1 = 0 ;
6080 int val2 ;
6081 int ecode2 = 0 ;
6082 int val3 ;
6083 int ecode3 = 0 ;
6084 int val4 ;
6085 int ecode4 = 0 ;
6086 PyObject * obj0 = 0 ;
6087 PyObject * obj1 = 0 ;
6088 PyObject * obj2 = 0 ;
6089 PyObject * obj3 = 0 ;
6090 char * kwnames[] = {
6091 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
6092 };
6093
6094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6096 if (!SWIG_IsOK(res1)) {
6097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6098 }
6099 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6100 ecode2 = SWIG_AsVal_int(obj1, &val2);
6101 if (!SWIG_IsOK(ecode2)) {
6102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "2"" of type '" "int""'");
6103 }
6104 arg2 = static_cast< int >(val2);
6105 ecode3 = SWIG_AsVal_int(obj2, &val3);
6106 if (!SWIG_IsOK(ecode3)) {
6107 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "3"" of type '" "int""'");
6108 }
6109 arg3 = static_cast< int >(val3);
6110 ecode4 = SWIG_AsVal_int(obj3, &val4);
6111 if (!SWIG_IsOK(ecode4)) {
6112 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "4"" of type '" "int""'");
6113 }
6114 arg4 = static_cast< int >(val4);
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 resultobj = SWIG_Py_Void();
6122 return resultobj;
6123fail:
6124 return NULL;
6125}
6126
6127
6128SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6129 PyObject *resultobj = 0;
6130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6131 int arg2 ;
6132 int arg3 ;
6133 void *argp1 = 0 ;
6134 int res1 = 0 ;
6135 int val2 ;
6136 int ecode2 = 0 ;
6137 int val3 ;
6138 int ecode3 = 0 ;
6139 PyObject * obj0 = 0 ;
6140 PyObject * obj1 = 0 ;
6141 PyObject * obj2 = 0 ;
6142 char * kwnames[] = {
6143 (char *) "self",(char *) "key",(char *) "modifiers", NULL
6144 };
6145
6146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6148 if (!SWIG_IsOK(res1)) {
6149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6150 }
6151 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6152 ecode2 = SWIG_AsVal_int(obj1, &val2);
6153 if (!SWIG_IsOK(ecode2)) {
6154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "2"" of type '" "int""'");
6155 }
6156 arg2 = static_cast< int >(val2);
6157 ecode3 = SWIG_AsVal_int(obj2, &val3);
6158 if (!SWIG_IsOK(ecode3)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "3"" of type '" "int""'");
6160 }
6161 arg3 = static_cast< int >(val3);
6162 {
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 (arg1)->CmdKeyClear(arg2,arg3);
6165 wxPyEndAllowThreads(__tstate);
6166 if (PyErr_Occurred()) SWIG_fail;
6167 }
6168 resultobj = SWIG_Py_Void();
6169 return resultobj;
6170fail:
6171 return NULL;
7bdb1bc4
RD
6172}
6173
6174
554f62e9
RD
6175SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6176 PyObject *resultobj = 0;
6177 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6178 void *argp1 = 0 ;
6179 int res1 = 0 ;
6180 PyObject *swig_obj[1] ;
6181
6182 if (!args) SWIG_fail;
6183 swig_obj[0] = args;
6184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6185 if (!SWIG_IsOK(res1)) {
6186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6187 }
6188 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6189 {
6190 PyThreadState* __tstate = wxPyBeginAllowThreads();
6191 (arg1)->CmdKeyClearAll();
6192 wxPyEndAllowThreads(__tstate);
6193 if (PyErr_Occurred()) SWIG_fail;
6194 }
6195 resultobj = SWIG_Py_Void();
6196 return resultobj;
6197fail:
6198 return NULL;
6199}
6200
6201
6202SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6203 PyObject *resultobj = 0;
6204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6205 int arg2 ;
6206 char *arg3 = (char *) 0 ;
6207 void *argp1 = 0 ;
6208 int res1 = 0 ;
6209 int val2 ;
6210 int ecode2 = 0 ;
6211 int res3 ;
6212 char *buf3 = 0 ;
6213 int alloc3 = 0 ;
6214 PyObject * obj0 = 0 ;
6215 PyObject * obj1 = 0 ;
6216 PyObject * obj2 = 0 ;
6217 char * kwnames[] = {
6218 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
6219 };
6220
6221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6223 if (!SWIG_IsOK(res1)) {
6224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6225 }
6226 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6227 ecode2 = SWIG_AsVal_int(obj1, &val2);
6228 if (!SWIG_IsOK(ecode2)) {
6229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "2"" of type '" "int""'");
6230 }
6231 arg2 = static_cast< int >(val2);
6232 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
6233 if (!SWIG_IsOK(res3)) {
6234 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "3"" of type '" "char *""'");
6235 }
6236 arg3 = buf3;
6237 {
6238 PyThreadState* __tstate = wxPyBeginAllowThreads();
6239 (arg1)->SetStyleBytes(arg2,arg3);
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 resultobj = SWIG_Py_Void();
6244 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
6245 return resultobj;
6246fail:
6247 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
6248 return NULL;
6249}
6250
6251
6252SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6253 PyObject *resultobj = 0;
6254 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6255 int arg2 ;
6256 bool arg3 ;
6257 void *argp1 = 0 ;
6258 int res1 = 0 ;
6259 int val2 ;
6260 int ecode2 = 0 ;
6261 bool val3 ;
6262 int ecode3 = 0 ;
6263 PyObject * obj0 = 0 ;
6264 PyObject * obj1 = 0 ;
6265 PyObject * obj2 = 0 ;
6266 char * kwnames[] = {
6267 (char *) "self",(char *) "style",(char *) "visible", NULL
6268 };
6269
6270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6272 if (!SWIG_IsOK(res1)) {
6273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6274 }
6275 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6276 ecode2 = SWIG_AsVal_int(obj1, &val2);
6277 if (!SWIG_IsOK(ecode2)) {
6278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "2"" of type '" "int""'");
6279 }
6280 arg2 = static_cast< int >(val2);
6281 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6282 if (!SWIG_IsOK(ecode3)) {
6283 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "3"" of type '" "bool""'");
6284 }
6285 arg3 = static_cast< bool >(val3);
6286 {
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 (arg1)->StyleSetVisible(arg2,arg3);
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 resultobj = SWIG_Py_Void();
6293 return resultobj;
6294fail:
6295 return NULL;
7bdb1bc4
RD
6296}
6297
6298
554f62e9
RD
6299SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6300 PyObject *resultobj = 0;
6301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6302 int result;
6303 void *argp1 = 0 ;
6304 int res1 = 0 ;
6305 PyObject *swig_obj[1] ;
6306
6307 if (!args) SWIG_fail;
6308 swig_obj[0] = args;
6309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6310 if (!SWIG_IsOK(res1)) {
6311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6312 }
6313 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6314 {
6315 PyThreadState* __tstate = wxPyBeginAllowThreads();
6316 result = (int)(arg1)->GetCaretPeriod();
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 resultobj = SWIG_From_int(static_cast< int >(result));
6321 return resultobj;
6322fail:
6323 return NULL;
6324}
6325
6326
6327SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6328 PyObject *resultobj = 0;
6329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6330 int arg2 ;
6331 void *argp1 = 0 ;
6332 int res1 = 0 ;
6333 int val2 ;
6334 int ecode2 = 0 ;
6335 PyObject * obj0 = 0 ;
6336 PyObject * obj1 = 0 ;
6337 char * kwnames[] = {
6338 (char *) "self",(char *) "periodMilliseconds", NULL
6339 };
6340
6341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) SWIG_fail;
6342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6343 if (!SWIG_IsOK(res1)) {
6344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6345 }
6346 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6347 ecode2 = SWIG_AsVal_int(obj1, &val2);
6348 if (!SWIG_IsOK(ecode2)) {
6349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "2"" of type '" "int""'");
6350 }
6351 arg2 = static_cast< int >(val2);
6352 {
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 (arg1)->SetCaretPeriod(arg2);
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 resultobj = SWIG_Py_Void();
6359 return resultobj;
6360fail:
6361 return NULL;
6362}
6363
6364
6365SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6366 PyObject *resultobj = 0;
6367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6368 wxString *arg2 = 0 ;
6369 void *argp1 = 0 ;
6370 int res1 = 0 ;
6371 bool temp2 = false ;
6372 PyObject * obj0 = 0 ;
6373 PyObject * obj1 = 0 ;
6374 char * kwnames[] = {
6375 (char *) "self",(char *) "characters", NULL
6376 };
6377
6378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) SWIG_fail;
6379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6380 if (!SWIG_IsOK(res1)) {
6381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWordChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6382 }
6383 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6384 {
6385 arg2 = wxString_in_helper(obj1);
6386 if (arg2 == NULL) SWIG_fail;
6387 temp2 = true;
6388 }
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 (arg1)->SetWordChars((wxString const &)*arg2);
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 resultobj = SWIG_Py_Void();
6396 {
6397 if (temp2)
6398 delete arg2;
6399 }
6400 return resultobj;
6401fail:
6402 {
6403 if (temp2)
6404 delete arg2;
6405 }
6406 return NULL;
7bdb1bc4
RD
6407}
6408
6409
554f62e9
RD
6410SWIGINTERN PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6411 PyObject *resultobj = 0;
6412 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6413 void *argp1 = 0 ;
6414 int res1 = 0 ;
6415 PyObject *swig_obj[1] ;
6416
6417 if (!args) SWIG_fail;
6418 swig_obj[0] = args;
6419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6420 if (!SWIG_IsOK(res1)) {
6421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BeginUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6422 }
6423 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 (arg1)->BeginUndoAction();
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 resultobj = SWIG_Py_Void();
6431 return resultobj;
6432fail:
6433 return NULL;
7bdb1bc4
RD
6434}
6435
6436
554f62e9
RD
6437SWIGINTERN PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6438 PyObject *resultobj = 0;
6439 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6440 void *argp1 = 0 ;
6441 int res1 = 0 ;
6442 PyObject *swig_obj[1] ;
6443
6444 if (!args) SWIG_fail;
6445 swig_obj[0] = args;
6446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6447 if (!SWIG_IsOK(res1)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EndUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6449 }
6450 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 (arg1)->EndUndoAction();
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 resultobj = SWIG_Py_Void();
6458 return resultobj;
6459fail:
6460 return NULL;
6461}
6462
6463
6464SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6465 PyObject *resultobj = 0;
6466 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6467 int arg2 ;
6468 int arg3 ;
6469 void *argp1 = 0 ;
6470 int res1 = 0 ;
6471 int val2 ;
6472 int ecode2 = 0 ;
6473 int val3 ;
6474 int ecode3 = 0 ;
6475 PyObject * obj0 = 0 ;
6476 PyObject * obj1 = 0 ;
6477 PyObject * obj2 = 0 ;
6478 char * kwnames[] = {
6479 (char *) "self",(char *) "indic",(char *) "style", NULL
6480 };
6481
6482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6484 if (!SWIG_IsOK(res1)) {
6485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6486 }
6487 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6488 ecode2 = SWIG_AsVal_int(obj1, &val2);
6489 if (!SWIG_IsOK(ecode2)) {
6490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "2"" of type '" "int""'");
6491 }
6492 arg2 = static_cast< int >(val2);
6493 ecode3 = SWIG_AsVal_int(obj2, &val3);
6494 if (!SWIG_IsOK(ecode3)) {
6495 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "3"" of type '" "int""'");
6496 }
6497 arg3 = static_cast< int >(val3);
6498 {
6499 PyThreadState* __tstate = wxPyBeginAllowThreads();
6500 (arg1)->IndicatorSetStyle(arg2,arg3);
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 resultobj = SWIG_Py_Void();
6505 return resultobj;
6506fail:
6507 return NULL;
6508}
6509
6510
6511SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj = 0;
6513 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6514 int arg2 ;
6515 int result;
6516 void *argp1 = 0 ;
6517 int res1 = 0 ;
6518 int val2 ;
6519 int ecode2 = 0 ;
6520 PyObject * obj0 = 0 ;
6521 PyObject * obj1 = 0 ;
6522 char * kwnames[] = {
6523 (char *) "self",(char *) "indic", NULL
6524 };
6525
6526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6528 if (!SWIG_IsOK(res1)) {
6529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6530 }
6531 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6532 ecode2 = SWIG_AsVal_int(obj1, &val2);
6533 if (!SWIG_IsOK(ecode2)) {
6534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "2"" of type '" "int""'");
6535 }
6536 arg2 = static_cast< int >(val2);
6537 {
6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6539 result = (int)(arg1)->IndicatorGetStyle(arg2);
6540 wxPyEndAllowThreads(__tstate);
6541 if (PyErr_Occurred()) SWIG_fail;
6542 }
6543 resultobj = SWIG_From_int(static_cast< int >(result));
6544 return resultobj;
6545fail:
6546 return NULL;
6547}
6548
6549
6550SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6551 PyObject *resultobj = 0;
6552 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6553 int arg2 ;
6554 wxColour *arg3 = 0 ;
6555 void *argp1 = 0 ;
6556 int res1 = 0 ;
6557 int val2 ;
6558 int ecode2 = 0 ;
6559 wxColour temp3 ;
6560 PyObject * obj0 = 0 ;
6561 PyObject * obj1 = 0 ;
6562 PyObject * obj2 = 0 ;
6563 char * kwnames[] = {
6564 (char *) "self",(char *) "indic",(char *) "fore", NULL
6565 };
6566
6567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6569 if (!SWIG_IsOK(res1)) {
6570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6571 }
6572 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6573 ecode2 = SWIG_AsVal_int(obj1, &val2);
6574 if (!SWIG_IsOK(ecode2)) {
6575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "2"" of type '" "int""'");
6576 }
6577 arg2 = static_cast< int >(val2);
6578 {
6579 arg3 = &temp3;
6580 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6581 }
6582 {
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
6585 wxPyEndAllowThreads(__tstate);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 resultobj = SWIG_Py_Void();
6589 return resultobj;
6590fail:
6591 return NULL;
6592}
6593
6594
6595SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6596 PyObject *resultobj = 0;
6597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6598 int arg2 ;
6599 wxColour result;
6600 void *argp1 = 0 ;
6601 int res1 = 0 ;
6602 int val2 ;
6603 int ecode2 = 0 ;
6604 PyObject * obj0 = 0 ;
6605 PyObject * obj1 = 0 ;
6606 char * kwnames[] = {
6607 (char *) "self",(char *) "indic", NULL
6608 };
6609
6610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
6611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6612 if (!SWIG_IsOK(res1)) {
6613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6614 }
6615 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6616 ecode2 = SWIG_AsVal_int(obj1, &val2);
6617 if (!SWIG_IsOK(ecode2)) {
6618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "2"" of type '" "int""'");
6619 }
6620 arg2 = static_cast< int >(val2);
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 result = (arg1)->IndicatorGetForeground(arg2);
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6628 return resultobj;
6629fail:
6630 return NULL;
6631}
6632
6633
6634SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj = 0;
6636 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6637 bool arg2 ;
6638 wxColour *arg3 = 0 ;
6639 void *argp1 = 0 ;
6640 int res1 = 0 ;
6641 bool val2 ;
6642 int ecode2 = 0 ;
6643 wxColour temp3 ;
6644 PyObject * obj0 = 0 ;
6645 PyObject * obj1 = 0 ;
6646 PyObject * obj2 = 0 ;
6647 char * kwnames[] = {
6648 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
6649 };
6650
6651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6653 if (!SWIG_IsOK(res1)) {
6654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6655 }
6656 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6657 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6658 if (!SWIG_IsOK(ecode2)) {
6659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "2"" of type '" "bool""'");
6660 }
6661 arg2 = static_cast< bool >(val2);
6662 {
6663 arg3 = &temp3;
6664 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6665 }
6666 {
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 resultobj = SWIG_Py_Void();
6673 return resultobj;
6674fail:
6675 return NULL;
6676}
6677
6678
6679SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj = 0;
6681 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6682 bool arg2 ;
6683 wxColour *arg3 = 0 ;
6684 void *argp1 = 0 ;
6685 int res1 = 0 ;
6686 bool val2 ;
6687 int ecode2 = 0 ;
6688 wxColour temp3 ;
6689 PyObject * obj0 = 0 ;
6690 PyObject * obj1 = 0 ;
6691 PyObject * obj2 = 0 ;
6692 char * kwnames[] = {
6693 (char *) "self",(char *) "useSetting",(char *) "back", NULL
6694 };
6695
6696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6698 if (!SWIG_IsOK(res1)) {
6699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6700 }
6701 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6702 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6703 if (!SWIG_IsOK(ecode2)) {
6704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "2"" of type '" "bool""'");
6705 }
6706 arg2 = static_cast< bool >(val2);
6707 {
6708 arg3 = &temp3;
6709 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6710 }
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 resultobj = SWIG_Py_Void();
6718 return resultobj;
6719fail:
6720 return NULL;
6721}
6722
6723
6724SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6725 PyObject *resultobj = 0;
6726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6727 int arg2 ;
6728 void *argp1 = 0 ;
6729 int res1 = 0 ;
6730 int val2 ;
6731 int ecode2 = 0 ;
6732 PyObject * obj0 = 0 ;
6733 PyObject * obj1 = 0 ;
6734 char * kwnames[] = {
6735 (char *) "self",(char *) "bits", NULL
6736 };
6737
6738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) SWIG_fail;
6739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6740 if (!SWIG_IsOK(res1)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6742 }
6743 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6744 ecode2 = SWIG_AsVal_int(obj1, &val2);
6745 if (!SWIG_IsOK(ecode2)) {
6746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "2"" of type '" "int""'");
6747 }
6748 arg2 = static_cast< int >(val2);
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 (arg1)->SetStyleBits(arg2);
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
6755 resultobj = SWIG_Py_Void();
6756 return resultobj;
6757fail:
6758 return NULL;
7bdb1bc4
RD
6759}
6760
6761
554f62e9
RD
6762SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6763 PyObject *resultobj = 0;
6764 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6765 int result;
6766 void *argp1 = 0 ;
6767 int res1 = 0 ;
6768 PyObject *swig_obj[1] ;
6769
6770 if (!args) SWIG_fail;
6771 swig_obj[0] = args;
6772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6773 if (!SWIG_IsOK(res1)) {
6774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6775 }
6776 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = (int)(arg1)->GetStyleBits();
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 resultobj = SWIG_From_int(static_cast< int >(result));
6784 return resultobj;
6785fail:
6786 return NULL;
6787}
6788
6789
6790SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj = 0;
6792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6793 int arg2 ;
6794 int arg3 ;
6795 void *argp1 = 0 ;
6796 int res1 = 0 ;
6797 int val2 ;
6798 int ecode2 = 0 ;
6799 int val3 ;
6800 int ecode3 = 0 ;
6801 PyObject * obj0 = 0 ;
6802 PyObject * obj1 = 0 ;
6803 PyObject * obj2 = 0 ;
6804 char * kwnames[] = {
6805 (char *) "self",(char *) "line",(char *) "state", NULL
6806 };
6807
6808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6810 if (!SWIG_IsOK(res1)) {
6811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6812 }
6813 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6814 ecode2 = SWIG_AsVal_int(obj1, &val2);
6815 if (!SWIG_IsOK(ecode2)) {
6816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "2"" of type '" "int""'");
6817 }
6818 arg2 = static_cast< int >(val2);
6819 ecode3 = SWIG_AsVal_int(obj2, &val3);
6820 if (!SWIG_IsOK(ecode3)) {
6821 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "3"" of type '" "int""'");
6822 }
6823 arg3 = static_cast< int >(val3);
6824 {
6825 PyThreadState* __tstate = wxPyBeginAllowThreads();
6826 (arg1)->SetLineState(arg2,arg3);
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 resultobj = SWIG_Py_Void();
6831 return resultobj;
6832fail:
6833 return NULL;
6834}
6835
6836
6837SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6838 PyObject *resultobj = 0;
6839 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6840 int arg2 ;
6841 int result;
6842 void *argp1 = 0 ;
6843 int res1 = 0 ;
6844 int val2 ;
6845 int ecode2 = 0 ;
6846 PyObject * obj0 = 0 ;
6847 PyObject * obj1 = 0 ;
6848 char * kwnames[] = {
6849 (char *) "self",(char *) "line", NULL
6850 };
6851
6852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) SWIG_fail;
6853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6854 if (!SWIG_IsOK(res1)) {
6855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6856 }
6857 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6858 ecode2 = SWIG_AsVal_int(obj1, &val2);
6859 if (!SWIG_IsOK(ecode2)) {
6860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "2"" of type '" "int""'");
6861 }
6862 arg2 = static_cast< int >(val2);
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = (int)(arg1)->GetLineState(arg2);
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 resultobj = SWIG_From_int(static_cast< int >(result));
6870 return resultobj;
6871fail:
6872 return NULL;
7bdb1bc4
RD
6873}
6874
6875
554f62e9
RD
6876SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6877 PyObject *resultobj = 0;
6878 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6879 int result;
6880 void *argp1 = 0 ;
6881 int res1 = 0 ;
6882 PyObject *swig_obj[1] ;
6883
6884 if (!args) SWIG_fail;
6885 swig_obj[0] = args;
6886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6887 if (!SWIG_IsOK(res1)) {
6888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMaxLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6889 }
6890 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6891 {
6892 PyThreadState* __tstate = wxPyBeginAllowThreads();
6893 result = (int)(arg1)->GetMaxLineState();
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 resultobj = SWIG_From_int(static_cast< int >(result));
6898 return resultobj;
6899fail:
6900 return NULL;
7bdb1bc4
RD
6901}
6902
6903
554f62e9
RD
6904SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6905 PyObject *resultobj = 0;
6906 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6907 bool result;
6908 void *argp1 = 0 ;
6909 int res1 = 0 ;
6910 PyObject *swig_obj[1] ;
6911
6912 if (!args) SWIG_fail;
6913 swig_obj[0] = args;
6914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6915 if (!SWIG_IsOK(res1)) {
6916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6917 }
6918 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 result = (bool)(arg1)->GetCaretLineVisible();
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 {
6926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6927 }
6928 return resultobj;
6929fail:
6930 return NULL;
6931}
6932
6933
6934SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6935 PyObject *resultobj = 0;
6936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6937 bool arg2 ;
6938 void *argp1 = 0 ;
6939 int res1 = 0 ;
6940 bool val2 ;
6941 int ecode2 = 0 ;
6942 PyObject * obj0 = 0 ;
6943 PyObject * obj1 = 0 ;
6944 char * kwnames[] = {
6945 (char *) "self",(char *) "show", NULL
6946 };
6947
6948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
6949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6950 if (!SWIG_IsOK(res1)) {
6951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6952 }
6953 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6954 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6955 if (!SWIG_IsOK(ecode2)) {
6956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "2"" of type '" "bool""'");
6957 }
6958 arg2 = static_cast< bool >(val2);
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 (arg1)->SetCaretLineVisible(arg2);
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 resultobj = SWIG_Py_Void();
6966 return resultobj;
6967fail:
6968 return NULL;
7bdb1bc4
RD
6969}
6970
6971
554f62e9
RD
6972SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6973 PyObject *resultobj = 0;
6974 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6975 wxColour result;
6976 void *argp1 = 0 ;
6977 int res1 = 0 ;
6978 PyObject *swig_obj[1] ;
6979
6980 if (!args) SWIG_fail;
6981 swig_obj[0] = args;
6982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6983 if (!SWIG_IsOK(res1)) {
6984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6985 }
6986 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6987 {
6988 PyThreadState* __tstate = wxPyBeginAllowThreads();
6989 result = (arg1)->GetCaretLineBack();
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6994 return resultobj;
6995fail:
6996 return NULL;
6997}
6998
6999
7000SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7001 PyObject *resultobj = 0;
7002 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7003 wxColour *arg2 = 0 ;
7004 void *argp1 = 0 ;
7005 int res1 = 0 ;
7006 wxColour temp2 ;
7007 PyObject * obj0 = 0 ;
7008 PyObject * obj1 = 0 ;
7009 char * kwnames[] = {
7010 (char *) "self",(char *) "back", NULL
7011 };
7012
7013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) SWIG_fail;
7014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7015 if (!SWIG_IsOK(res1)) {
7016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7017 }
7018 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7019 {
7020 arg2 = &temp2;
7021 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7022 }
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 resultobj = SWIG_Py_Void();
7030 return resultobj;
7031fail:
7032 return NULL;
7033}
7034
7035
7036SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7037 PyObject *resultobj = 0;
7038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7039 int arg2 ;
7040 bool arg3 ;
7041 void *argp1 = 0 ;
7042 int res1 = 0 ;
7043 int val2 ;
7044 int ecode2 = 0 ;
7045 bool val3 ;
7046 int ecode3 = 0 ;
7047 PyObject * obj0 = 0 ;
7048 PyObject * obj1 = 0 ;
7049 PyObject * obj2 = 0 ;
7050 char * kwnames[] = {
7051 (char *) "self",(char *) "style",(char *) "changeable", NULL
7052 };
7053
7054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7056 if (!SWIG_IsOK(res1)) {
7057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7058 }
7059 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7060 ecode2 = SWIG_AsVal_int(obj1, &val2);
7061 if (!SWIG_IsOK(ecode2)) {
7062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "2"" of type '" "int""'");
7063 }
7064 arg2 = static_cast< int >(val2);
7065 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7066 if (!SWIG_IsOK(ecode3)) {
7067 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "3"" of type '" "bool""'");
7068 }
7069 arg3 = static_cast< bool >(val3);
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 (arg1)->StyleSetChangeable(arg2,arg3);
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = SWIG_Py_Void();
7077 return resultobj;
7078fail:
7079 return NULL;
7080}
7081
7082
7083SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj = 0;
7085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7086 int arg2 ;
7087 wxString *arg3 = 0 ;
7088 void *argp1 = 0 ;
7089 int res1 = 0 ;
7090 int val2 ;
7091 int ecode2 = 0 ;
7092 bool temp3 = false ;
7093 PyObject * obj0 = 0 ;
7094 PyObject * obj1 = 0 ;
7095 PyObject * obj2 = 0 ;
7096 char * kwnames[] = {
7097 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
7098 };
7099
7100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7102 if (!SWIG_IsOK(res1)) {
7103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7104 }
7105 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7106 ecode2 = SWIG_AsVal_int(obj1, &val2);
7107 if (!SWIG_IsOK(ecode2)) {
7108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "2"" of type '" "int""'");
7109 }
7110 arg2 = static_cast< int >(val2);
7111 {
7112 arg3 = wxString_in_helper(obj2);
7113 if (arg3 == NULL) SWIG_fail;
7114 temp3 = true;
7115 }
7116 {
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 resultobj = SWIG_Py_Void();
7123 {
7124 if (temp3)
7125 delete arg3;
7126 }
7127 return resultobj;
7128fail:
7129 {
7130 if (temp3)
7131 delete arg3;
7132 }
7133 return NULL;
7bdb1bc4
RD
7134}
7135
7136
554f62e9
RD
7137SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7138 PyObject *resultobj = 0;
7139 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7140 void *argp1 = 0 ;
7141 int res1 = 0 ;
7142 PyObject *swig_obj[1] ;
7143
7144 if (!args) SWIG_fail;
7145 swig_obj[0] = args;
7146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7147 if (!SWIG_IsOK(res1)) {
7148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7149 }
7150 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7151 {
7152 PyThreadState* __tstate = wxPyBeginAllowThreads();
7153 (arg1)->AutoCompCancel();
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 resultobj = SWIG_Py_Void();
7158 return resultobj;
7159fail:
7160 return NULL;
7bdb1bc4
RD
7161}
7162
7163
554f62e9
RD
7164SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7165 PyObject *resultobj = 0;
7166 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7167 bool result;
7168 void *argp1 = 0 ;
7169 int res1 = 0 ;
7170 PyObject *swig_obj[1] ;
7171
7172 if (!args) SWIG_fail;
7173 swig_obj[0] = args;
7174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7175 if (!SWIG_IsOK(res1)) {
7176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7177 }
7178 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 result = (bool)(arg1)->AutoCompActive();
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 {
7186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7187 }
7188 return resultobj;
7189fail:
7190 return NULL;
7bdb1bc4
RD
7191}
7192
7193
554f62e9
RD
7194SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7195 PyObject *resultobj = 0;
7196 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7197 int result;
7198 void *argp1 = 0 ;
7199 int res1 = 0 ;
7200 PyObject *swig_obj[1] ;
7201
7202 if (!args) SWIG_fail;
7203 swig_obj[0] = args;
7204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7205 if (!SWIG_IsOK(res1)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompPosStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7207 }
7208 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 result = (int)(arg1)->AutoCompPosStart();
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 resultobj = SWIG_From_int(static_cast< int >(result));
7216 return resultobj;
7217fail:
7218 return NULL;
7bdb1bc4
RD
7219}
7220
7221
554f62e9
RD
7222SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7223 PyObject *resultobj = 0;
7224 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7225 void *argp1 = 0 ;
7226 int res1 = 0 ;
7227 PyObject *swig_obj[1] ;
7228
7229 if (!args) SWIG_fail;
7230 swig_obj[0] = args;
7231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7232 if (!SWIG_IsOK(res1)) {
7233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompComplete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7234 }
7235 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 (arg1)->AutoCompComplete();
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 resultobj = SWIG_Py_Void();
7243 return resultobj;
7244fail:
7245 return NULL;
7246}
7247
7248
7249SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7250 PyObject *resultobj = 0;
7251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7252 wxString *arg2 = 0 ;
7253 void *argp1 = 0 ;
7254 int res1 = 0 ;
7255 bool temp2 = false ;
7256 PyObject * obj0 = 0 ;
7257 PyObject * obj1 = 0 ;
7258 char * kwnames[] = {
7259 (char *) "self",(char *) "characterSet", NULL
7260 };
7261
7262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) SWIG_fail;
7263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7264 if (!SWIG_IsOK(res1)) {
7265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompStops" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7266 }
7267 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7268 {
7269 arg2 = wxString_in_helper(obj1);
7270 if (arg2 == NULL) SWIG_fail;
7271 temp2 = true;
7272 }
7273 {
7274 PyThreadState* __tstate = wxPyBeginAllowThreads();
7275 (arg1)->AutoCompStops((wxString const &)*arg2);
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 resultobj = SWIG_Py_Void();
7280 {
7281 if (temp2)
7282 delete arg2;
7283 }
7284 return resultobj;
7285fail:
7286 {
7287 if (temp2)
7288 delete arg2;
7289 }
7290 return NULL;
7291}
7292
7293
7294SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7295 PyObject *resultobj = 0;
7296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7297 int arg2 ;
7298 void *argp1 = 0 ;
7299 int res1 = 0 ;
7300 int val2 ;
7301 int ecode2 = 0 ;
7302 PyObject * obj0 = 0 ;
7303 PyObject * obj1 = 0 ;
7304 char * kwnames[] = {
7305 (char *) "self",(char *) "separatorCharacter", NULL
7306 };
7307
7308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
7309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7310 if (!SWIG_IsOK(res1)) {
7311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7312 }
7313 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7314 ecode2 = SWIG_AsVal_int(obj1, &val2);
7315 if (!SWIG_IsOK(ecode2)) {
7316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "2"" of type '" "int""'");
7317 }
7318 arg2 = static_cast< int >(val2);
7319 {
7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7321 (arg1)->AutoCompSetSeparator(arg2);
7322 wxPyEndAllowThreads(__tstate);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 resultobj = SWIG_Py_Void();
7326 return resultobj;
7327fail:
7328 return NULL;
7bdb1bc4
RD
7329}
7330
7331
554f62e9
RD
7332SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7333 PyObject *resultobj = 0;
7334 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7335 int result;
7336 void *argp1 = 0 ;
7337 int res1 = 0 ;
7338 PyObject *swig_obj[1] ;
7339
7340 if (!args) SWIG_fail;
7341 swig_obj[0] = args;
7342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7343 if (!SWIG_IsOK(res1)) {
7344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7345 }
7346 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 result = (int)(arg1)->AutoCompGetSeparator();
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 resultobj = SWIG_From_int(static_cast< int >(result));
7354 return resultobj;
7355fail:
7356 return NULL;
7357}
7358
7359
7360SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj = 0;
7362 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7363 wxString *arg2 = 0 ;
7364 void *argp1 = 0 ;
7365 int res1 = 0 ;
7366 bool temp2 = false ;
7367 PyObject * obj0 = 0 ;
7368 PyObject * obj1 = 0 ;
7369 char * kwnames[] = {
7370 (char *) "self",(char *) "text", NULL
7371 };
7372
7373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) SWIG_fail;
7374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7375 if (!SWIG_IsOK(res1)) {
7376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSelect" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7377 }
7378 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7379 {
7380 arg2 = wxString_in_helper(obj1);
7381 if (arg2 == NULL) SWIG_fail;
7382 temp2 = true;
7383 }
7384 {
7385 PyThreadState* __tstate = wxPyBeginAllowThreads();
7386 (arg1)->AutoCompSelect((wxString const &)*arg2);
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 }
7390 resultobj = SWIG_Py_Void();
7391 {
7392 if (temp2)
7393 delete arg2;
7394 }
7395 return resultobj;
7396fail:
7397 {
7398 if (temp2)
7399 delete arg2;
7400 }
7401 return NULL;
7402}
7403
7404
7405SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7406 PyObject *resultobj = 0;
7407 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7408 bool arg2 ;
7409 void *argp1 = 0 ;
7410 int res1 = 0 ;
7411 bool val2 ;
7412 int ecode2 = 0 ;
7413 PyObject * obj0 = 0 ;
7414 PyObject * obj1 = 0 ;
7415 char * kwnames[] = {
7416 (char *) "self",(char *) "cancel", NULL
7417 };
7418
7419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) SWIG_fail;
7420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7421 if (!SWIG_IsOK(res1)) {
7422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7423 }
7424 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7425 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7426 if (!SWIG_IsOK(ecode2)) {
7427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "2"" of type '" "bool""'");
7428 }
7429 arg2 = static_cast< bool >(val2);
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 (arg1)->AutoCompSetCancelAtStart(arg2);
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 resultobj = SWIG_Py_Void();
7437 return resultobj;
7438fail:
7439 return NULL;
7bdb1bc4
RD
7440}
7441
7442
554f62e9
RD
7443SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7444 PyObject *resultobj = 0;
7445 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7446 bool result;
7447 void *argp1 = 0 ;
7448 int res1 = 0 ;
7449 PyObject *swig_obj[1] ;
7450
7451 if (!args) SWIG_fail;
7452 swig_obj[0] = args;
7453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7454 if (!SWIG_IsOK(res1)) {
7455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7456 }
7457 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 result = (bool)(arg1)->AutoCompGetCancelAtStart();
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 {
7465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7466 }
7467 return resultobj;
7468fail:
7469 return NULL;
7470}
7471
7472
7473SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7474 PyObject *resultobj = 0;
7475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7476 wxString *arg2 = 0 ;
7477 void *argp1 = 0 ;
7478 int res1 = 0 ;
7479 bool temp2 = false ;
7480 PyObject * obj0 = 0 ;
7481 PyObject * obj1 = 0 ;
7482 char * kwnames[] = {
7483 (char *) "self",(char *) "characterSet", NULL
7484 };
7485
7486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) SWIG_fail;
7487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7488 if (!SWIG_IsOK(res1)) {
7489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetFillUps" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7490 }
7491 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7492 {
7493 arg2 = wxString_in_helper(obj1);
7494 if (arg2 == NULL) SWIG_fail;
7495 temp2 = true;
7496 }
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
7503 resultobj = SWIG_Py_Void();
7504 {
7505 if (temp2)
7506 delete arg2;
7507 }
7508 return resultobj;
7509fail:
7510 {
7511 if (temp2)
7512 delete arg2;
7513 }
7514 return NULL;
7515}
7516
7517
7518SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7519 PyObject *resultobj = 0;
7520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7521 bool arg2 ;
7522 void *argp1 = 0 ;
7523 int res1 = 0 ;
7524 bool val2 ;
7525 int ecode2 = 0 ;
7526 PyObject * obj0 = 0 ;
7527 PyObject * obj1 = 0 ;
7528 char * kwnames[] = {
7529 (char *) "self",(char *) "chooseSingle", NULL
7530 };
7531
7532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) SWIG_fail;
7533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7534 if (!SWIG_IsOK(res1)) {
7535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7536 }
7537 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7538 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7539 if (!SWIG_IsOK(ecode2)) {
7540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "2"" of type '" "bool""'");
7541 }
7542 arg2 = static_cast< bool >(val2);
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 (arg1)->AutoCompSetChooseSingle(arg2);
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 resultobj = SWIG_Py_Void();
7550 return resultobj;
7551fail:
7552 return NULL;
7bdb1bc4
RD
7553}
7554
7555
554f62e9
RD
7556SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7557 PyObject *resultobj = 0;
7558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7559 bool result;
7560 void *argp1 = 0 ;
7561 int res1 = 0 ;
7562 PyObject *swig_obj[1] ;
7563
7564 if (!args) SWIG_fail;
7565 swig_obj[0] = args;
7566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7567 if (!SWIG_IsOK(res1)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7569 }
7570 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (bool)(arg1)->AutoCompGetChooseSingle();
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 {
7578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7579 }
7580 return resultobj;
7581fail:
7582 return NULL;
7583}
7584
7585
7586SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj = 0;
7588 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7589 bool arg2 ;
7590 void *argp1 = 0 ;
7591 int res1 = 0 ;
7592 bool val2 ;
7593 int ecode2 = 0 ;
7594 PyObject * obj0 = 0 ;
7595 PyObject * obj1 = 0 ;
7596 char * kwnames[] = {
7597 (char *) "self",(char *) "ignoreCase", NULL
7598 };
7599
7600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) SWIG_fail;
7601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7602 if (!SWIG_IsOK(res1)) {
7603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7604 }
7605 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7606 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7607 if (!SWIG_IsOK(ecode2)) {
7608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "2"" of type '" "bool""'");
7609 }
7610 arg2 = static_cast< bool >(val2);
7611 {
7612 PyThreadState* __tstate = wxPyBeginAllowThreads();
7613 (arg1)->AutoCompSetIgnoreCase(arg2);
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 resultobj = SWIG_Py_Void();
7618 return resultobj;
7619fail:
7620 return NULL;
7bdb1bc4
RD
7621}
7622
7623
554f62e9
RD
7624SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7625 PyObject *resultobj = 0;
7626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7627 bool result;
7628 void *argp1 = 0 ;
7629 int res1 = 0 ;
7630 PyObject *swig_obj[1] ;
7631
7632 if (!args) SWIG_fail;
7633 swig_obj[0] = args;
7634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7635 if (!SWIG_IsOK(res1)) {
7636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7637 }
7638 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7639 {
7640 PyThreadState* __tstate = wxPyBeginAllowThreads();
7641 result = (bool)(arg1)->AutoCompGetIgnoreCase();
7642 wxPyEndAllowThreads(__tstate);
7643 if (PyErr_Occurred()) SWIG_fail;
7644 }
7645 {
7646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7647 }
7648 return resultobj;
7649fail:
7650 return NULL;
7651}
7652
7653
7654SWIGINTERN PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj = 0;
7656 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7657 int arg2 ;
7658 wxString *arg3 = 0 ;
7659 void *argp1 = 0 ;
7660 int res1 = 0 ;
7661 int val2 ;
7662 int ecode2 = 0 ;
7663 bool temp3 = false ;
7664 PyObject * obj0 = 0 ;
7665 PyObject * obj1 = 0 ;
7666 PyObject * obj2 = 0 ;
7667 char * kwnames[] = {
7668 (char *) "self",(char *) "listType",(char *) "itemList", NULL
7669 };
7670
7671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7673 if (!SWIG_IsOK(res1)) {
7674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7675 }
7676 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7677 ecode2 = SWIG_AsVal_int(obj1, &val2);
7678 if (!SWIG_IsOK(ecode2)) {
7679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "2"" of type '" "int""'");
7680 }
7681 arg2 = static_cast< int >(val2);
7682 {
7683 arg3 = wxString_in_helper(obj2);
7684 if (arg3 == NULL) SWIG_fail;
7685 temp3 = true;
7686 }
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 }
7693 resultobj = SWIG_Py_Void();
7694 {
7695 if (temp3)
7696 delete arg3;
7697 }
7698 return resultobj;
7699fail:
7700 {
7701 if (temp3)
7702 delete arg3;
7703 }
7704 return NULL;
7705}
7706
7707
7708SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7709 PyObject *resultobj = 0;
7710 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7711 bool arg2 ;
7712 void *argp1 = 0 ;
7713 int res1 = 0 ;
7714 bool val2 ;
7715 int ecode2 = 0 ;
7716 PyObject * obj0 = 0 ;
7717 PyObject * obj1 = 0 ;
7718 char * kwnames[] = {
7719 (char *) "self",(char *) "autoHide", NULL
7720 };
7721
7722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) SWIG_fail;
7723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7724 if (!SWIG_IsOK(res1)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7726 }
7727 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7728 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7729 if (!SWIG_IsOK(ecode2)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "2"" of type '" "bool""'");
7731 }
7732 arg2 = static_cast< bool >(val2);
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 (arg1)->AutoCompSetAutoHide(arg2);
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 resultobj = SWIG_Py_Void();
7740 return resultobj;
7741fail:
7742 return NULL;
7bdb1bc4
RD
7743}
7744
7745
554f62e9
RD
7746SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7747 PyObject *resultobj = 0;
7748 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7749 bool result;
7750 void *argp1 = 0 ;
7751 int res1 = 0 ;
7752 PyObject *swig_obj[1] ;
7753
7754 if (!args) SWIG_fail;
7755 swig_obj[0] = args;
7756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7757 if (!SWIG_IsOK(res1)) {
7758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7759 }
7760 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7761 {
7762 PyThreadState* __tstate = wxPyBeginAllowThreads();
7763 result = (bool)(arg1)->AutoCompGetAutoHide();
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 {
7768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7769 }
7770 return resultobj;
7771fail:
7772 return NULL;
7773}
7774
7775
7776SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7777 PyObject *resultobj = 0;
7778 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7779 bool arg2 ;
7780 void *argp1 = 0 ;
7781 int res1 = 0 ;
7782 bool val2 ;
7783 int ecode2 = 0 ;
7784 PyObject * obj0 = 0 ;
7785 PyObject * obj1 = 0 ;
7786 char * kwnames[] = {
7787 (char *) "self",(char *) "dropRestOfWord", NULL
7788 };
7789
7790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) SWIG_fail;
7791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7792 if (!SWIG_IsOK(res1)) {
7793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7794 }
7795 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7796 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7797 if (!SWIG_IsOK(ecode2)) {
7798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "2"" of type '" "bool""'");
7799 }
7800 arg2 = static_cast< bool >(val2);
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 (arg1)->AutoCompSetDropRestOfWord(arg2);
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 resultobj = SWIG_Py_Void();
7808 return resultobj;
7809fail:
7810 return NULL;
7bdb1bc4
RD
7811}
7812
7813
554f62e9
RD
7814SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7815 PyObject *resultobj = 0;
7816 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7817 bool result;
7818 void *argp1 = 0 ;
7819 int res1 = 0 ;
7820 PyObject *swig_obj[1] ;
7821
7822 if (!args) SWIG_fail;
7823 swig_obj[0] = args;
7824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7825 if (!SWIG_IsOK(res1)) {
7826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7827 }
7828 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7829 {
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 {
7836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7837 }
7838 return resultobj;
7839fail:
7840 return NULL;
7841}
7842
7843
7844SWIGINTERN PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7845 PyObject *resultobj = 0;
7846 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7847 int arg2 ;
7848 wxBitmap *arg3 = 0 ;
7849 void *argp1 = 0 ;
7850 int res1 = 0 ;
7851 int val2 ;
7852 int ecode2 = 0 ;
7853 void *argp3 = 0 ;
7854 int res3 = 0 ;
7855 PyObject * obj0 = 0 ;
7856 PyObject * obj1 = 0 ;
7857 PyObject * obj2 = 0 ;
7858 char * kwnames[] = {
7859 (char *) "self",(char *) "type",(char *) "bmp", NULL
7860 };
7861
7862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7864 if (!SWIG_IsOK(res1)) {
7865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7866 }
7867 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7868 ecode2 = SWIG_AsVal_int(obj1, &val2);
7869 if (!SWIG_IsOK(ecode2)) {
7870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "2"" of type '" "int""'");
7871 }
7872 arg2 = static_cast< int >(val2);
7873 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
7874 if (!SWIG_IsOK(res3)) {
7875 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7876 }
7877 if (!argp3) {
7878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7879 }
7880 arg3 = reinterpret_cast< wxBitmap * >(argp3);
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 resultobj = SWIG_Py_Void();
7888 return resultobj;
7889fail:
7890 return NULL;
7bdb1bc4
RD
7891}
7892
7893
554f62e9
RD
7894SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7895 PyObject *resultobj = 0;
7896 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7897 void *argp1 = 0 ;
7898 int res1 = 0 ;
7899 PyObject *swig_obj[1] ;
7900
7901 if (!args) SWIG_fail;
7902 swig_obj[0] = args;
7903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7904 if (!SWIG_IsOK(res1)) {
7905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearRegisteredImages" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7906 }
7907 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7908 {
7909 PyThreadState* __tstate = wxPyBeginAllowThreads();
7910 (arg1)->ClearRegisteredImages();
7911 wxPyEndAllowThreads(__tstate);
7912 if (PyErr_Occurred()) SWIG_fail;
7913 }
7914 resultobj = SWIG_Py_Void();
7915 return resultobj;
7916fail:
7917 return NULL;
7bdb1bc4
RD
7918}
7919
7920
554f62e9
RD
7921SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7922 PyObject *resultobj = 0;
7923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7924 int result;
7925 void *argp1 = 0 ;
7926 int res1 = 0 ;
7927 PyObject *swig_obj[1] ;
7928
7929 if (!args) SWIG_fail;
7930 swig_obj[0] = args;
7931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7932 if (!SWIG_IsOK(res1)) {
7933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7934 }
7935 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 result = (int)(arg1)->AutoCompGetTypeSeparator();
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 resultobj = SWIG_From_int(static_cast< int >(result));
7943 return resultobj;
7944fail:
7945 return NULL;
7946}
7947
7948
7949SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj = 0;
7951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7952 int arg2 ;
7953 void *argp1 = 0 ;
7954 int res1 = 0 ;
7955 int val2 ;
7956 int ecode2 = 0 ;
7957 PyObject * obj0 = 0 ;
7958 PyObject * obj1 = 0 ;
7959 char * kwnames[] = {
7960 (char *) "self",(char *) "separatorCharacter", NULL
7961 };
7962
7963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
7964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7965 if (!SWIG_IsOK(res1)) {
7966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7967 }
7968 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7969 ecode2 = SWIG_AsVal_int(obj1, &val2);
7970 if (!SWIG_IsOK(ecode2)) {
7971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "2"" of type '" "int""'");
7972 }
7973 arg2 = static_cast< int >(val2);
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 (arg1)->AutoCompSetTypeSeparator(arg2);
7977 wxPyEndAllowThreads(__tstate);
7978 if (PyErr_Occurred()) SWIG_fail;
7979 }
7980 resultobj = SWIG_Py_Void();
7981 return resultobj;
7982fail:
7983 return NULL;
7984}
7985
7986
7987SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7988 PyObject *resultobj = 0;
7989 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7990 int arg2 ;
7991 void *argp1 = 0 ;
7992 int res1 = 0 ;
7993 int val2 ;
7994 int ecode2 = 0 ;
7995 PyObject * obj0 = 0 ;
7996 PyObject * obj1 = 0 ;
7997 char * kwnames[] = {
7998 (char *) "self",(char *) "characterCount", NULL
7999 };
8000
8001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxWidth",kwnames,&obj0,&obj1)) SWIG_fail;
8002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8003 if (!SWIG_IsOK(res1)) {
8004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8005 }
8006 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8007 ecode2 = SWIG_AsVal_int(obj1, &val2);
8008 if (!SWIG_IsOK(ecode2)) {
8009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "2"" of type '" "int""'");
8010 }
8011 arg2 = static_cast< int >(val2);
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 (arg1)->AutoCompSetMaxWidth(arg2);
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 resultobj = SWIG_Py_Void();
8019 return resultobj;
8020fail:
8021 return NULL;
7bdb1bc4
RD
8022}
8023
8024
554f62e9
RD
8025SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8026 PyObject *resultobj = 0;
8027 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8028 int result;
8029 void *argp1 = 0 ;
8030 int res1 = 0 ;
8031 PyObject *swig_obj[1] ;
8032
8033 if (!args) SWIG_fail;
8034 swig_obj[0] = args;
8035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8036 if (!SWIG_IsOK(res1)) {
8037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8038 }
8039 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8040 {
8041 PyThreadState* __tstate = wxPyBeginAllowThreads();
8042 result = (int)(arg1)->AutoCompGetMaxWidth();
8043 wxPyEndAllowThreads(__tstate);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 }
8046 resultobj = SWIG_From_int(static_cast< int >(result));
8047 return resultobj;
8048fail:
8049 return NULL;
8050}
8051
8052
8053SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8054 PyObject *resultobj = 0;
8055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8056 int arg2 ;
8057 void *argp1 = 0 ;
8058 int res1 = 0 ;
8059 int val2 ;
8060 int ecode2 = 0 ;
8061 PyObject * obj0 = 0 ;
8062 PyObject * obj1 = 0 ;
8063 char * kwnames[] = {
8064 (char *) "self",(char *) "rowCount", NULL
8065 };
8066
8067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxHeight",kwnames,&obj0,&obj1)) SWIG_fail;
8068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8069 if (!SWIG_IsOK(res1)) {
8070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8071 }
8072 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8073 ecode2 = SWIG_AsVal_int(obj1, &val2);
8074 if (!SWIG_IsOK(ecode2)) {
8075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "2"" of type '" "int""'");
8076 }
8077 arg2 = static_cast< int >(val2);
8078 {
8079 PyThreadState* __tstate = wxPyBeginAllowThreads();
8080 (arg1)->AutoCompSetMaxHeight(arg2);
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
8084 resultobj = SWIG_Py_Void();
8085 return resultobj;
8086fail:
8087 return NULL;
7bdb1bc4
RD
8088}
8089
8090
554f62e9
RD
8091SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8092 PyObject *resultobj = 0;
8093 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8094 int result;
8095 void *argp1 = 0 ;
8096 int res1 = 0 ;
8097 PyObject *swig_obj[1] ;
8098
8099 if (!args) SWIG_fail;
8100 swig_obj[0] = args;
8101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8102 if (!SWIG_IsOK(res1)) {
8103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8104 }
8105 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8106 {
8107 PyThreadState* __tstate = wxPyBeginAllowThreads();
8108 result = (int)(arg1)->AutoCompGetMaxHeight();
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 resultobj = SWIG_From_int(static_cast< int >(result));
8113 return resultobj;
8114fail:
8115 return NULL;
8116}
8117
8118
8119SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj = 0;
8121 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8122 int arg2 ;
8123 void *argp1 = 0 ;
8124 int res1 = 0 ;
8125 int val2 ;
8126 int ecode2 = 0 ;
8127 PyObject * obj0 = 0 ;
8128 PyObject * obj1 = 0 ;
8129 char * kwnames[] = {
8130 (char *) "self",(char *) "indentSize", NULL
8131 };
8132
8133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8135 if (!SWIG_IsOK(res1)) {
8136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8137 }
8138 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8139 ecode2 = SWIG_AsVal_int(obj1, &val2);
8140 if (!SWIG_IsOK(ecode2)) {
8141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "2"" of type '" "int""'");
8142 }
8143 arg2 = static_cast< int >(val2);
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 (arg1)->SetIndent(arg2);
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 resultobj = SWIG_Py_Void();
8151 return resultobj;
8152fail:
8153 return NULL;
7bdb1bc4
RD
8154}
8155
8156
554f62e9
RD
8157SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8158 PyObject *resultobj = 0;
8159 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8160 int result;
8161 void *argp1 = 0 ;
8162 int res1 = 0 ;
8163 PyObject *swig_obj[1] ;
8164
8165 if (!args) SWIG_fail;
8166 swig_obj[0] = args;
8167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8168 if (!SWIG_IsOK(res1)) {
8169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8170 }
8171 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8172 {
8173 PyThreadState* __tstate = wxPyBeginAllowThreads();
8174 result = (int)(arg1)->GetIndent();
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 resultobj = SWIG_From_int(static_cast< int >(result));
8179 return resultobj;
8180fail:
8181 return NULL;
8182}
8183
8184
8185SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8186 PyObject *resultobj = 0;
8187 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8188 bool arg2 ;
8189 void *argp1 = 0 ;
8190 int res1 = 0 ;
8191 bool val2 ;
8192 int ecode2 = 0 ;
8193 PyObject * obj0 = 0 ;
8194 PyObject * obj1 = 0 ;
8195 char * kwnames[] = {
8196 (char *) "self",(char *) "useTabs", NULL
8197 };
8198
8199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) SWIG_fail;
8200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8201 if (!SWIG_IsOK(res1)) {
8202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8203 }
8204 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8205 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8206 if (!SWIG_IsOK(ecode2)) {
8207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "2"" of type '" "bool""'");
8208 }
8209 arg2 = static_cast< bool >(val2);
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 (arg1)->SetUseTabs(arg2);
8213 wxPyEndAllowThreads(__tstate);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
8216 resultobj = SWIG_Py_Void();
8217 return resultobj;
8218fail:
8219 return NULL;
7bdb1bc4
RD
8220}
8221
8222
554f62e9
RD
8223SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8224 PyObject *resultobj = 0;
8225 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8226 bool result;
8227 void *argp1 = 0 ;
8228 int res1 = 0 ;
8229 PyObject *swig_obj[1] ;
8230
8231 if (!args) SWIG_fail;
8232 swig_obj[0] = args;
8233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8234 if (!SWIG_IsOK(res1)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8236 }
8237 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 result = (bool)(arg1)->GetUseTabs();
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 {
8245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8246 }
8247 return resultobj;
8248fail:
8249 return NULL;
8250}
8251
8252
8253SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8254 PyObject *resultobj = 0;
8255 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8256 int arg2 ;
8257 int arg3 ;
8258 void *argp1 = 0 ;
8259 int res1 = 0 ;
8260 int val2 ;
8261 int ecode2 = 0 ;
8262 int val3 ;
8263 int ecode3 = 0 ;
8264 PyObject * obj0 = 0 ;
8265 PyObject * obj1 = 0 ;
8266 PyObject * obj2 = 0 ;
8267 char * kwnames[] = {
8268 (char *) "self",(char *) "line",(char *) "indentSize", NULL
8269 };
8270
8271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8273 if (!SWIG_IsOK(res1)) {
8274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8275 }
8276 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8277 ecode2 = SWIG_AsVal_int(obj1, &val2);
8278 if (!SWIG_IsOK(ecode2)) {
8279 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8280 }
8281 arg2 = static_cast< int >(val2);
8282 ecode3 = SWIG_AsVal_int(obj2, &val3);
8283 if (!SWIG_IsOK(ecode3)) {
8284 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "3"" of type '" "int""'");
8285 }
8286 arg3 = static_cast< int >(val3);
8287 {
8288 PyThreadState* __tstate = wxPyBeginAllowThreads();
8289 (arg1)->SetLineIndentation(arg2,arg3);
8290 wxPyEndAllowThreads(__tstate);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 }
8293 resultobj = SWIG_Py_Void();
8294 return resultobj;
8295fail:
8296 return NULL;
8297}
8298
8299
8300SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8301 PyObject *resultobj = 0;
8302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8303 int arg2 ;
8304 int result;
8305 void *argp1 = 0 ;
8306 int res1 = 0 ;
8307 int val2 ;
8308 int ecode2 = 0 ;
8309 PyObject * obj0 = 0 ;
8310 PyObject * obj1 = 0 ;
8311 char * kwnames[] = {
8312 (char *) "self",(char *) "line", NULL
8313 };
8314
8315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) SWIG_fail;
8316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8317 if (!SWIG_IsOK(res1)) {
8318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8319 }
8320 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8321 ecode2 = SWIG_AsVal_int(obj1, &val2);
8322 if (!SWIG_IsOK(ecode2)) {
8323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8324 }
8325 arg2 = static_cast< int >(val2);
8326 {
8327 PyThreadState* __tstate = wxPyBeginAllowThreads();
8328 result = (int)(arg1)->GetLineIndentation(arg2);
8329 wxPyEndAllowThreads(__tstate);
8330 if (PyErr_Occurred()) SWIG_fail;
8331 }
8332 resultobj = SWIG_From_int(static_cast< int >(result));
8333 return resultobj;
8334fail:
8335 return NULL;
8336}
8337
8338
8339SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj = 0;
8341 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8342 int arg2 ;
8343 int result;
8344 void *argp1 = 0 ;
8345 int res1 = 0 ;
8346 int val2 ;
8347 int ecode2 = 0 ;
8348 PyObject * obj0 = 0 ;
8349 PyObject * obj1 = 0 ;
8350 char * kwnames[] = {
8351 (char *) "self",(char *) "line", NULL
8352 };
8353
8354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) SWIG_fail;
8355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8356 if (!SWIG_IsOK(res1)) {
8357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8358 }
8359 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8360 ecode2 = SWIG_AsVal_int(obj1, &val2);
8361 if (!SWIG_IsOK(ecode2)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "2"" of type '" "int""'");
8363 }
8364 arg2 = static_cast< int >(val2);
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (int)(arg1)->GetLineIndentPosition(arg2);
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 resultobj = SWIG_From_int(static_cast< int >(result));
8372 return resultobj;
8373fail:
8374 return NULL;
8375}
8376
8377
8378SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8379 PyObject *resultobj = 0;
8380 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8381 int arg2 ;
8382 int result;
8383 void *argp1 = 0 ;
8384 int res1 = 0 ;
8385 int val2 ;
8386 int ecode2 = 0 ;
8387 PyObject * obj0 = 0 ;
8388 PyObject * obj1 = 0 ;
8389 char * kwnames[] = {
8390 (char *) "self",(char *) "pos", NULL
8391 };
8392
8393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
8394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8395 if (!SWIG_IsOK(res1)) {
8396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8397 }
8398 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8399 ecode2 = SWIG_AsVal_int(obj1, &val2);
8400 if (!SWIG_IsOK(ecode2)) {
8401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
8402 }
8403 arg2 = static_cast< int >(val2);
8404 {
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 result = (int)(arg1)->GetColumn(arg2);
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 resultobj = SWIG_From_int(static_cast< int >(result));
8411 return resultobj;
8412fail:
8413 return NULL;
8414}
8415
8416
8417SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj = 0;
8419 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8420 bool arg2 ;
8421 void *argp1 = 0 ;
8422 int res1 = 0 ;
8423 bool val2 ;
8424 int ecode2 = 0 ;
8425 PyObject * obj0 = 0 ;
8426 PyObject * obj1 = 0 ;
8427 char * kwnames[] = {
8428 (char *) "self",(char *) "show", NULL
8429 };
8430
8431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
8432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8433 if (!SWIG_IsOK(res1)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8435 }
8436 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8437 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8438 if (!SWIG_IsOK(ecode2)) {
8439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "2"" of type '" "bool""'");
8440 }
8441 arg2 = static_cast< bool >(val2);
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 (arg1)->SetUseHorizontalScrollBar(arg2);
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 resultobj = SWIG_Py_Void();
8449 return resultobj;
8450fail:
8451 return NULL;
7bdb1bc4
RD
8452}
8453
8454
554f62e9
RD
8455SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8456 PyObject *resultobj = 0;
8457 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8458 bool result;
8459 void *argp1 = 0 ;
8460 int res1 = 0 ;
8461 PyObject *swig_obj[1] ;
8462
8463 if (!args) SWIG_fail;
8464 swig_obj[0] = args;
8465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8466 if (!SWIG_IsOK(res1)) {
8467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8468 }
8469 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = (bool)(arg1)->GetUseHorizontalScrollBar();
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 {
8477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8478 }
8479 return resultobj;
8480fail:
8481 return NULL;
8482}
8483
8484
8485SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8486 PyObject *resultobj = 0;
8487 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8488 bool arg2 ;
8489 void *argp1 = 0 ;
8490 int res1 = 0 ;
8491 bool val2 ;
8492 int ecode2 = 0 ;
8493 PyObject * obj0 = 0 ;
8494 PyObject * obj1 = 0 ;
8495 char * kwnames[] = {
8496 (char *) "self",(char *) "show", NULL
8497 };
8498
8499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) SWIG_fail;
8500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8501 if (!SWIG_IsOK(res1)) {
8502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8503 }
8504 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8505 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8506 if (!SWIG_IsOK(ecode2)) {
8507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "2"" of type '" "bool""'");
8508 }
8509 arg2 = static_cast< bool >(val2);
8510 {
8511 PyThreadState* __tstate = wxPyBeginAllowThreads();
8512 (arg1)->SetIndentationGuides(arg2);
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 resultobj = SWIG_Py_Void();
8517 return resultobj;
8518fail:
8519 return NULL;
7bdb1bc4
RD
8520}
8521
8522
554f62e9
RD
8523SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8524 PyObject *resultobj = 0;
8525 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8526 bool result;
8527 void *argp1 = 0 ;
8528 int res1 = 0 ;
8529 PyObject *swig_obj[1] ;
8530
8531 if (!args) SWIG_fail;
8532 swig_obj[0] = args;
8533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8534 if (!SWIG_IsOK(res1)) {
8535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8536 }
8537 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8538 {
8539 PyThreadState* __tstate = wxPyBeginAllowThreads();
8540 result = (bool)(arg1)->GetIndentationGuides();
8541 wxPyEndAllowThreads(__tstate);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 {
8545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8546 }
8547 return resultobj;
8548fail:
8549 return NULL;
8550}
8551
8552
8553SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8554 PyObject *resultobj = 0;
8555 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8556 int arg2 ;
8557 void *argp1 = 0 ;
8558 int res1 = 0 ;
8559 int val2 ;
8560 int ecode2 = 0 ;
8561 PyObject * obj0 = 0 ;
8562 PyObject * obj1 = 0 ;
8563 char * kwnames[] = {
8564 (char *) "self",(char *) "column", NULL
8565 };
8566
8567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) SWIG_fail;
8568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8569 if (!SWIG_IsOK(res1)) {
8570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8571 }
8572 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8573 ecode2 = SWIG_AsVal_int(obj1, &val2);
8574 if (!SWIG_IsOK(ecode2)) {
8575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "2"" of type '" "int""'");
8576 }
8577 arg2 = static_cast< int >(val2);
8578 {
8579 PyThreadState* __tstate = wxPyBeginAllowThreads();
8580 (arg1)->SetHighlightGuide(arg2);
8581 wxPyEndAllowThreads(__tstate);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 }
8584 resultobj = SWIG_Py_Void();
8585 return resultobj;
8586fail:
8587 return NULL;
7bdb1bc4
RD
8588}
8589
8590
554f62e9
RD
8591SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8592 PyObject *resultobj = 0;
8593 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8594 int result;
8595 void *argp1 = 0 ;
8596 int res1 = 0 ;
8597 PyObject *swig_obj[1] ;
8598
8599 if (!args) SWIG_fail;
8600 swig_obj[0] = args;
8601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8602 if (!SWIG_IsOK(res1)) {
8603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8604 }
8605 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 result = (int)(arg1)->GetHighlightGuide();
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 resultobj = SWIG_From_int(static_cast< int >(result));
8613 return resultobj;
8614fail:
8615 return NULL;
8616}
8617
8618
8619SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8620 PyObject *resultobj = 0;
8621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8622 int arg2 ;
8623 int result;
8624 void *argp1 = 0 ;
8625 int res1 = 0 ;
8626 int val2 ;
8627 int ecode2 = 0 ;
8628 PyObject * obj0 = 0 ;
8629 PyObject * obj1 = 0 ;
8630 char * kwnames[] = {
8631 (char *) "self",(char *) "line", NULL
8632 };
8633
8634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
8635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8636 if (!SWIG_IsOK(res1)) {
8637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8638 }
8639 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8640 ecode2 = SWIG_AsVal_int(obj1, &val2);
8641 if (!SWIG_IsOK(ecode2)) {
8642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "2"" of type '" "int""'");
8643 }
8644 arg2 = static_cast< int >(val2);
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 result = (int)(arg1)->GetLineEndPosition(arg2);
8648 wxPyEndAllowThreads(__tstate);
8649 if (PyErr_Occurred()) SWIG_fail;
8650 }
8651 resultobj = SWIG_From_int(static_cast< int >(result));
8652 return resultobj;
8653fail:
8654 return NULL;
7bdb1bc4
RD
8655}
8656
8657
554f62e9
RD
8658SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8659 PyObject *resultobj = 0;
8660 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8661 int result;
8662 void *argp1 = 0 ;
8663 int res1 = 0 ;
8664 PyObject *swig_obj[1] ;
8665
8666 if (!args) SWIG_fail;
8667 swig_obj[0] = args;
8668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8669 if (!SWIG_IsOK(res1)) {
8670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8671 }
8672 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8673 {
8674 PyThreadState* __tstate = wxPyBeginAllowThreads();
8675 result = (int)(arg1)->GetCodePage();
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 resultobj = SWIG_From_int(static_cast< int >(result));
8680 return resultobj;
8681fail:
8682 return NULL;
7bdb1bc4
RD
8683}
8684
8685
554f62e9
RD
8686SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8687 PyObject *resultobj = 0;
8688 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8689 wxColour result;
8690 void *argp1 = 0 ;
8691 int res1 = 0 ;
8692 PyObject *swig_obj[1] ;
8693
8694 if (!args) SWIG_fail;
8695 swig_obj[0] = args;
8696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8697 if (!SWIG_IsOK(res1)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8699 }
8700 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 result = (arg1)->GetCaretForeground();
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8708 return resultobj;
8709fail:
8710 return NULL;
7bdb1bc4
RD
8711}
8712
8713
554f62e9
RD
8714SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8715 PyObject *resultobj = 0;
8716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8717 bool result;
8718 void *argp1 = 0 ;
8719 int res1 = 0 ;
8720 PyObject *swig_obj[1] ;
8721
8722 if (!args) SWIG_fail;
8723 swig_obj[0] = args;
8724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8725 if (!SWIG_IsOK(res1)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8727 }
8728 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 result = (bool)(arg1)->GetReadOnly();
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) SWIG_fail;
8734 }
8735 {
8736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8737 }
8738 return resultobj;
8739fail:
8740 return NULL;
8741}
8742
8743
8744SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8745 PyObject *resultobj = 0;
8746 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8747 int arg2 ;
8748 void *argp1 = 0 ;
8749 int res1 = 0 ;
8750 int val2 ;
8751 int ecode2 = 0 ;
8752 PyObject * obj0 = 0 ;
8753 PyObject * obj1 = 0 ;
8754 char * kwnames[] = {
8755 (char *) "self",(char *) "pos", NULL
8756 };
8757
8758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) SWIG_fail;
8759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8760 if (!SWIG_IsOK(res1)) {
8761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8762 }
8763 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8764 ecode2 = SWIG_AsVal_int(obj1, &val2);
8765 if (!SWIG_IsOK(ecode2)) {
8766 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "2"" of type '" "int""'");
8767 }
8768 arg2 = static_cast< int >(val2);
8769 {
8770 PyThreadState* __tstate = wxPyBeginAllowThreads();
8771 (arg1)->SetCurrentPos(arg2);
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 resultobj = SWIG_Py_Void();
8776 return resultobj;
8777fail:
8778 return NULL;
8779}
8780
8781
8782SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj = 0;
8784 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8785 int arg2 ;
8786 void *argp1 = 0 ;
8787 int res1 = 0 ;
8788 int val2 ;
8789 int ecode2 = 0 ;
8790 PyObject * obj0 = 0 ;
8791 PyObject * obj1 = 0 ;
8792 char * kwnames[] = {
8793 (char *) "self",(char *) "pos", NULL
8794 };
8795
8796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) SWIG_fail;
8797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8798 if (!SWIG_IsOK(res1)) {
8799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8800 }
8801 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8802 ecode2 = SWIG_AsVal_int(obj1, &val2);
8803 if (!SWIG_IsOK(ecode2)) {
8804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "2"" of type '" "int""'");
8805 }
8806 arg2 = static_cast< int >(val2);
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 (arg1)->SetSelectionStart(arg2);
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 resultobj = SWIG_Py_Void();
8814 return resultobj;
8815fail:
8816 return NULL;
7bdb1bc4
RD
8817}
8818
8819
554f62e9
RD
8820SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8821 PyObject *resultobj = 0;
8822 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8823 int result;
8824 void *argp1 = 0 ;
8825 int res1 = 0 ;
8826 PyObject *swig_obj[1] ;
8827
8828 if (!args) SWIG_fail;
8829 swig_obj[0] = args;
8830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8831 if (!SWIG_IsOK(res1)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8833 }
8834 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
8837 result = (int)(arg1)->GetSelectionStart();
8838 wxPyEndAllowThreads(__tstate);
8839 if (PyErr_Occurred()) SWIG_fail;
8840 }
8841 resultobj = SWIG_From_int(static_cast< int >(result));
8842 return resultobj;
8843fail:
8844 return NULL;
8845}
8846
8847
8848SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8849 PyObject *resultobj = 0;
8850 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8851 int arg2 ;
8852 void *argp1 = 0 ;
8853 int res1 = 0 ;
8854 int val2 ;
8855 int ecode2 = 0 ;
8856 PyObject * obj0 = 0 ;
8857 PyObject * obj1 = 0 ;
8858 char * kwnames[] = {
8859 (char *) "self",(char *) "pos", NULL
8860 };
8861
8862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) SWIG_fail;
8863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8864 if (!SWIG_IsOK(res1)) {
8865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8866 }
8867 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8868 ecode2 = SWIG_AsVal_int(obj1, &val2);
8869 if (!SWIG_IsOK(ecode2)) {
8870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "2"" of type '" "int""'");
8871 }
8872 arg2 = static_cast< int >(val2);
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 (arg1)->SetSelectionEnd(arg2);
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 resultobj = SWIG_Py_Void();
8880 return resultobj;
8881fail:
8882 return NULL;
7bdb1bc4
RD
8883}
8884
8885
554f62e9
RD
8886SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8887 PyObject *resultobj = 0;
8888 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8889 int result;
8890 void *argp1 = 0 ;
8891 int res1 = 0 ;
8892 PyObject *swig_obj[1] ;
8893
8894 if (!args) SWIG_fail;
8895 swig_obj[0] = args;
8896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8897 if (!SWIG_IsOK(res1)) {
8898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8899 }
8900 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 result = (int)(arg1)->GetSelectionEnd();
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 resultobj = SWIG_From_int(static_cast< int >(result));
8908 return resultobj;
8909fail:
8910 return NULL;
8911}
8912
8913
8914SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj = 0;
8916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8917 int arg2 ;
8918 void *argp1 = 0 ;
8919 int res1 = 0 ;
8920 int val2 ;
8921 int ecode2 = 0 ;
8922 PyObject * obj0 = 0 ;
8923 PyObject * obj1 = 0 ;
8924 char * kwnames[] = {
8925 (char *) "self",(char *) "magnification", NULL
8926 };
8927
8928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) SWIG_fail;
8929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8930 if (!SWIG_IsOK(res1)) {
8931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8932 }
8933 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8934 ecode2 = SWIG_AsVal_int(obj1, &val2);
8935 if (!SWIG_IsOK(ecode2)) {
8936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "2"" of type '" "int""'");
8937 }
8938 arg2 = static_cast< int >(val2);
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 (arg1)->SetPrintMagnification(arg2);
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
8945 resultobj = SWIG_Py_Void();
8946 return resultobj;
8947fail:
8948 return NULL;
7bdb1bc4
RD
8949}
8950
8951
554f62e9
RD
8952SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8953 PyObject *resultobj = 0;
8954 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8955 int result;
8956 void *argp1 = 0 ;
8957 int res1 = 0 ;
8958 PyObject *swig_obj[1] ;
8959
8960 if (!args) SWIG_fail;
8961 swig_obj[0] = args;
8962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8963 if (!SWIG_IsOK(res1)) {
8964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8965 }
8966 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8967 {
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
8969 result = (int)(arg1)->GetPrintMagnification();
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 resultobj = SWIG_From_int(static_cast< int >(result));
8974 return resultobj;
8975fail:
8976 return NULL;
8977}
8978
8979
8980SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj = 0;
8982 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8983 int arg2 ;
8984 void *argp1 = 0 ;
8985 int res1 = 0 ;
8986 int val2 ;
8987 int ecode2 = 0 ;
8988 PyObject * obj0 = 0 ;
8989 PyObject * obj1 = 0 ;
8990 char * kwnames[] = {
8991 (char *) "self",(char *) "mode", NULL
8992 };
8993
8994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) SWIG_fail;
8995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8996 if (!SWIG_IsOK(res1)) {
8997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8998 }
8999 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9000 ecode2 = SWIG_AsVal_int(obj1, &val2);
9001 if (!SWIG_IsOK(ecode2)) {
9002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "2"" of type '" "int""'");
9003 }
9004 arg2 = static_cast< int >(val2);
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 (arg1)->SetPrintColourMode(arg2);
9008 wxPyEndAllowThreads(__tstate);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 resultobj = SWIG_Py_Void();
9012 return resultobj;
9013fail:
9014 return NULL;
7bdb1bc4
RD
9015}
9016
9017
554f62e9
RD
9018SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9019 PyObject *resultobj = 0;
9020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9021 int result;
9022 void *argp1 = 0 ;
9023 int res1 = 0 ;
9024 PyObject *swig_obj[1] ;
9025
9026 if (!args) SWIG_fail;
9027 swig_obj[0] = args;
9028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9029 if (!SWIG_IsOK(res1)) {
9030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9031 }
9032 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 result = (int)(arg1)->GetPrintColourMode();
9036 wxPyEndAllowThreads(__tstate);
9037 if (PyErr_Occurred()) SWIG_fail;
9038 }
9039 resultobj = SWIG_From_int(static_cast< int >(result));
9040 return resultobj;
9041fail:
9042 return NULL;
9043}
9044
9045
9046SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9047 PyObject *resultobj = 0;
9048 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9049 int arg2 ;
9050 int arg3 ;
9051 wxString *arg4 = 0 ;
9052 int arg5 = (int) 0 ;
9053 int result;
9054 void *argp1 = 0 ;
9055 int res1 = 0 ;
9056 int val2 ;
9057 int ecode2 = 0 ;
9058 int val3 ;
9059 int ecode3 = 0 ;
9060 bool temp4 = false ;
9061 int val5 ;
9062 int ecode5 = 0 ;
9063 PyObject * obj0 = 0 ;
9064 PyObject * obj1 = 0 ;
9065 PyObject * obj2 = 0 ;
9066 PyObject * obj3 = 0 ;
9067 PyObject * obj4 = 0 ;
9068 char * kwnames[] = {
9069 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
9070 };
9071
9072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9074 if (!SWIG_IsOK(res1)) {
9075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9076 }
9077 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9078 ecode2 = SWIG_AsVal_int(obj1, &val2);
9079 if (!SWIG_IsOK(ecode2)) {
9080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindText" "', expected argument " "2"" of type '" "int""'");
9081 }
9082 arg2 = static_cast< int >(val2);
9083 ecode3 = SWIG_AsVal_int(obj2, &val3);
9084 if (!SWIG_IsOK(ecode3)) {
9085 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindText" "', expected argument " "3"" of type '" "int""'");
9086 }
9087 arg3 = static_cast< int >(val3);
9088 {
9089 arg4 = wxString_in_helper(obj3);
9090 if (arg4 == NULL) SWIG_fail;
9091 temp4 = true;
9092 }
9093 if (obj4) {
9094 ecode5 = SWIG_AsVal_int(obj4, &val5);
9095 if (!SWIG_IsOK(ecode5)) {
9096 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_FindText" "', expected argument " "5"" of type '" "int""'");
9097 }
9098 arg5 = static_cast< int >(val5);
9099 }
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
9103 wxPyEndAllowThreads(__tstate);
9104 if (PyErr_Occurred()) SWIG_fail;
9105 }
9106 resultobj = SWIG_From_int(static_cast< int >(result));
9107 {
9108 if (temp4)
9109 delete arg4;
9110 }
9111 return resultobj;
9112fail:
9113 {
9114 if (temp4)
9115 delete arg4;
9116 }
9117 return NULL;
9118}
9119
9120
9121SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9122 PyObject *resultobj = 0;
9123 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9124 bool arg2 ;
9125 int arg3 ;
9126 int arg4 ;
9127 wxDC *arg5 = (wxDC *) 0 ;
9128 wxDC *arg6 = (wxDC *) 0 ;
9129 wxRect arg7 ;
9130 wxRect arg8 ;
9131 int result;
9132 void *argp1 = 0 ;
9133 int res1 = 0 ;
9134 bool val2 ;
9135 int ecode2 = 0 ;
9136 int val3 ;
9137 int ecode3 = 0 ;
9138 int val4 ;
9139 int ecode4 = 0 ;
9140 void *argp5 = 0 ;
9141 int res5 = 0 ;
9142 void *argp6 = 0 ;
9143 int res6 = 0 ;
9144 void *argp7 ;
9145 int res7 = 0 ;
9146 void *argp8 ;
9147 int res8 = 0 ;
9148 PyObject * obj0 = 0 ;
9149 PyObject * obj1 = 0 ;
9150 PyObject * obj2 = 0 ;
9151 PyObject * obj3 = 0 ;
9152 PyObject * obj4 = 0 ;
9153 PyObject * obj5 = 0 ;
9154 PyObject * obj6 = 0 ;
9155 PyObject * obj7 = 0 ;
9156 char * kwnames[] = {
9157 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
9158 };
9159
9160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
9161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9162 if (!SWIG_IsOK(res1)) {
9163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9164 }
9165 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9166 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9167 if (!SWIG_IsOK(ecode2)) {
9168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "2"" of type '" "bool""'");
9169 }
9170 arg2 = static_cast< bool >(val2);
9171 ecode3 = SWIG_AsVal_int(obj2, &val3);
9172 if (!SWIG_IsOK(ecode3)) {
9173 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "3"" of type '" "int""'");
9174 }
9175 arg3 = static_cast< int >(val3);
9176 ecode4 = SWIG_AsVal_int(obj3, &val4);
9177 if (!SWIG_IsOK(ecode4)) {
9178 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "4"" of type '" "int""'");
9179 }
9180 arg4 = static_cast< int >(val4);
9181 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxDC, 0 | 0 );
9182 if (!SWIG_IsOK(res5)) {
9183 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "5"" of type '" "wxDC *""'");
9184 }
9185 arg5 = reinterpret_cast< wxDC * >(argp5);
9186 res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxDC, 0 | 0 );
9187 if (!SWIG_IsOK(res6)) {
9188 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "6"" of type '" "wxDC *""'");
9189 }
9190 arg6 = reinterpret_cast< wxDC * >(argp6);
9191 {
9192 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxRect, 0 | 0);
9193 if (!SWIG_IsOK(res7)) {
9194 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9195 }
9196 if (!argp7) {
9197 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9198 } else {
9199 wxRect * temp = reinterpret_cast< wxRect * >(argp7);
9200 arg7 = *temp;
9201 if (SWIG_IsNewObj(res7)) delete temp;
7bdb1bc4 9202 }
554f62e9
RD
9203 }
9204 {
9205 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxRect, 0 | 0);
9206 if (!SWIG_IsOK(res8)) {
9207 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9208 }
9209 if (!argp8) {
9210 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9211 } else {
9212 wxRect * temp = reinterpret_cast< wxRect * >(argp8);
9213 arg8 = *temp;
9214 if (SWIG_IsNewObj(res8)) delete temp;
7bdb1bc4 9215 }
554f62e9
RD
9216 }
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 resultobj = SWIG_From_int(static_cast< int >(result));
9224 return resultobj;
9225fail:
9226 return NULL;
7bdb1bc4
RD
9227}
9228
9229
554f62e9
RD
9230SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9231 PyObject *resultobj = 0;
9232 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9233 int result;
9234 void *argp1 = 0 ;
9235 int res1 = 0 ;
9236 PyObject *swig_obj[1] ;
9237
9238 if (!args) SWIG_fail;
9239 swig_obj[0] = args;
9240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9241 if (!SWIG_IsOK(res1)) {
9242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9243 }
9244 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 result = (int)(arg1)->GetFirstVisibleLine();
9248 wxPyEndAllowThreads(__tstate);
9249 if (PyErr_Occurred()) SWIG_fail;
9250 }
9251 resultobj = SWIG_From_int(static_cast< int >(result));
9252 return resultobj;
9253fail:
9254 return NULL;
9255}
9256
9257
9258SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9259 PyObject *resultobj = 0;
9260 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9261 int arg2 ;
9262 wxString result;
9263 void *argp1 = 0 ;
9264 int res1 = 0 ;
9265 int val2 ;
9266 int ecode2 = 0 ;
9267 PyObject * obj0 = 0 ;
9268 PyObject * obj1 = 0 ;
9269 char * kwnames[] = {
9270 (char *) "self",(char *) "line", NULL
9271 };
9272
9273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) SWIG_fail;
9274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9275 if (!SWIG_IsOK(res1)) {
9276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9277 }
9278 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9279 ecode2 = SWIG_AsVal_int(obj1, &val2);
9280 if (!SWIG_IsOK(ecode2)) {
9281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "2"" of type '" "int""'");
9282 }
9283 arg2 = static_cast< int >(val2);
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 result = (arg1)->GetLine(arg2);
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 {
9291#if wxUSE_UNICODE
9292 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9293#else
9294 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9295#endif
9296 }
9297 return resultobj;
9298fail:
9299 return NULL;
7bdb1bc4
RD
9300}
9301
9302
554f62e9
RD
9303SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9304 PyObject *resultobj = 0;
9305 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9306 int result;
9307 void *argp1 = 0 ;
9308 int res1 = 0 ;
9309 PyObject *swig_obj[1] ;
9310
9311 if (!args) SWIG_fail;
9312 swig_obj[0] = args;
9313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9314 if (!SWIG_IsOK(res1)) {
9315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9316 }
9317 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9318 {
9319 PyThreadState* __tstate = wxPyBeginAllowThreads();
9320 result = (int)(arg1)->GetLineCount();
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 }
9324 resultobj = SWIG_From_int(static_cast< int >(result));
9325 return resultobj;
9326fail:
9327 return NULL;
9328}
9329
9330
9331SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj = 0;
9333 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9334 int arg2 ;
9335 void *argp1 = 0 ;
9336 int res1 = 0 ;
9337 int val2 ;
9338 int ecode2 = 0 ;
9339 PyObject * obj0 = 0 ;
9340 PyObject * obj1 = 0 ;
9341 char * kwnames[] = {
9342 (char *) "self",(char *) "pixelWidth", NULL
9343 };
9344
9345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) SWIG_fail;
9346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9347 if (!SWIG_IsOK(res1)) {
9348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9349 }
9350 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9351 ecode2 = SWIG_AsVal_int(obj1, &val2);
9352 if (!SWIG_IsOK(ecode2)) {
9353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "2"" of type '" "int""'");
9354 }
9355 arg2 = static_cast< int >(val2);
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 (arg1)->SetMarginLeft(arg2);
9359 wxPyEndAllowThreads(__tstate);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 }
9362 resultobj = SWIG_Py_Void();
9363 return resultobj;
9364fail:
9365 return NULL;
7bdb1bc4
RD
9366}
9367
9368
554f62e9
RD
9369SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9370 PyObject *resultobj = 0;
9371 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9372 int result;
9373 void *argp1 = 0 ;
9374 int res1 = 0 ;
9375 PyObject *swig_obj[1] ;
9376
9377 if (!args) SWIG_fail;
9378 swig_obj[0] = args;
9379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9380 if (!SWIG_IsOK(res1)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9382 }
9383 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9384 {
9385 PyThreadState* __tstate = wxPyBeginAllowThreads();
9386 result = (int)(arg1)->GetMarginLeft();
9387 wxPyEndAllowThreads(__tstate);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 }
9390 resultobj = SWIG_From_int(static_cast< int >(result));
9391 return resultobj;
9392fail:
9393 return NULL;
9394}
9395
9396
9397SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9398 PyObject *resultobj = 0;
9399 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9400 int arg2 ;
9401 void *argp1 = 0 ;
9402 int res1 = 0 ;
9403 int val2 ;
9404 int ecode2 = 0 ;
9405 PyObject * obj0 = 0 ;
9406 PyObject * obj1 = 0 ;
9407 char * kwnames[] = {
9408 (char *) "self",(char *) "pixelWidth", NULL
9409 };
9410
9411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) SWIG_fail;
9412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9413 if (!SWIG_IsOK(res1)) {
9414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9415 }
9416 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9417 ecode2 = SWIG_AsVal_int(obj1, &val2);
9418 if (!SWIG_IsOK(ecode2)) {
9419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "2"" of type '" "int""'");
9420 }
9421 arg2 = static_cast< int >(val2);
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 (arg1)->SetMarginRight(arg2);
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 resultobj = SWIG_Py_Void();
9429 return resultobj;
9430fail:
9431 return NULL;
7bdb1bc4
RD
9432}
9433
9434
554f62e9
RD
9435SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9436 PyObject *resultobj = 0;
9437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9438 int result;
9439 void *argp1 = 0 ;
9440 int res1 = 0 ;
9441 PyObject *swig_obj[1] ;
9442
9443 if (!args) SWIG_fail;
9444 swig_obj[0] = args;
9445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9446 if (!SWIG_IsOK(res1)) {
9447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9448 }
9449 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = (int)(arg1)->GetMarginRight();
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 resultobj = SWIG_From_int(static_cast< int >(result));
9457 return resultobj;
9458fail:
9459 return NULL;
7bdb1bc4
RD
9460}
9461
9462
554f62e9
RD
9463SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9464 PyObject *resultobj = 0;
9465 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9466 bool result;
9467 void *argp1 = 0 ;
9468 int res1 = 0 ;
9469 PyObject *swig_obj[1] ;
9470
9471 if (!args) SWIG_fail;
9472 swig_obj[0] = args;
9473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9474 if (!SWIG_IsOK(res1)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModify" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9476 }
9477 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 result = (bool)(arg1)->GetModify();
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
9484 {
9485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9486 }
9487 return resultobj;
9488fail:
9489 return NULL;
9490}
9491
9492
9493SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9494 PyObject *resultobj = 0;
9495 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9496 int arg2 ;
9497 int arg3 ;
9498 void *argp1 = 0 ;
9499 int res1 = 0 ;
9500 int val2 ;
9501 int ecode2 = 0 ;
9502 int val3 ;
9503 int ecode3 = 0 ;
9504 PyObject * obj0 = 0 ;
9505 PyObject * obj1 = 0 ;
9506 PyObject * obj2 = 0 ;
9507 char * kwnames[] = {
9508 (char *) "self",(char *) "start",(char *) "end", NULL
9509 };
9510
9511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9513 if (!SWIG_IsOK(res1)) {
9514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9515 }
9516 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9517 ecode2 = SWIG_AsVal_int(obj1, &val2);
9518 if (!SWIG_IsOK(ecode2)) {
9519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "2"" of type '" "int""'");
9520 }
9521 arg2 = static_cast< int >(val2);
9522 ecode3 = SWIG_AsVal_int(obj2, &val3);
9523 if (!SWIG_IsOK(ecode3)) {
9524 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "3"" of type '" "int""'");
9525 }
9526 arg3 = static_cast< int >(val3);
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 (arg1)->SetSelection(arg2,arg3);
9530 wxPyEndAllowThreads(__tstate);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 resultobj = SWIG_Py_Void();
9534 return resultobj;
9535fail:
9536 return NULL;
7bdb1bc4
RD
9537}
9538
9539
554f62e9
RD
9540SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9541 PyObject *resultobj = 0;
9542 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9543 wxString result;
9544 void *argp1 = 0 ;
9545 int res1 = 0 ;
9546 PyObject *swig_obj[1] ;
9547
9548 if (!args) SWIG_fail;
9549 swig_obj[0] = args;
9550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9551 if (!SWIG_IsOK(res1)) {
9552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9553 }
9554 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9555 {
9556 PyThreadState* __tstate = wxPyBeginAllowThreads();
9557 result = (arg1)->GetSelectedText();
9558 wxPyEndAllowThreads(__tstate);
9559 if (PyErr_Occurred()) SWIG_fail;
9560 }
9561 {
9562#if wxUSE_UNICODE
9563 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9564#else
9565 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9566#endif
9567 }
9568 return resultobj;
9569fail:
9570 return NULL;
9571}
9572
9573
9574SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9575 PyObject *resultobj = 0;
9576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9577 int arg2 ;
9578 int arg3 ;
9579 wxString result;
9580 void *argp1 = 0 ;
9581 int res1 = 0 ;
9582 int val2 ;
9583 int ecode2 = 0 ;
9584 int val3 ;
9585 int ecode3 = 0 ;
9586 PyObject * obj0 = 0 ;
9587 PyObject * obj1 = 0 ;
9588 PyObject * obj2 = 0 ;
9589 char * kwnames[] = {
9590 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
9591 };
9592
9593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9595 if (!SWIG_IsOK(res1)) {
9596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9597 }
9598 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9599 ecode2 = SWIG_AsVal_int(obj1, &val2);
9600 if (!SWIG_IsOK(ecode2)) {
9601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "2"" of type '" "int""'");
9602 }
9603 arg2 = static_cast< int >(val2);
9604 ecode3 = SWIG_AsVal_int(obj2, &val3);
9605 if (!SWIG_IsOK(ecode3)) {
9606 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "3"" of type '" "int""'");
9607 }
9608 arg3 = static_cast< int >(val3);
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 result = (arg1)->GetTextRange(arg2,arg3);
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
9615 {
9616#if wxUSE_UNICODE
9617 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9618#else
9619 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9620#endif
9621 }
9622 return resultobj;
9623fail:
9624 return NULL;
9625}
9626
9627
9628SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9629 PyObject *resultobj = 0;
9630 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9631 bool arg2 ;
9632 void *argp1 = 0 ;
9633 int res1 = 0 ;
9634 bool val2 ;
9635 int ecode2 = 0 ;
9636 PyObject * obj0 = 0 ;
9637 PyObject * obj1 = 0 ;
9638 char * kwnames[] = {
9639 (char *) "self",(char *) "normal", NULL
9640 };
9641
9642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) SWIG_fail;
9643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9644 if (!SWIG_IsOK(res1)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9646 }
9647 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9648 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9649 if (!SWIG_IsOK(ecode2)) {
9650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "2"" of type '" "bool""'");
9651 }
9652 arg2 = static_cast< bool >(val2);
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 (arg1)->HideSelection(arg2);
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 resultobj = SWIG_Py_Void();
9660 return resultobj;
9661fail:
9662 return NULL;
9663}
9664
9665
9666SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj = 0;
9668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9669 int arg2 ;
9670 int result;
9671 void *argp1 = 0 ;
9672 int res1 = 0 ;
9673 int val2 ;
9674 int ecode2 = 0 ;
9675 PyObject * obj0 = 0 ;
9676 PyObject * obj1 = 0 ;
9677 char * kwnames[] = {
9678 (char *) "self",(char *) "pos", NULL
9679 };
9680
9681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
9682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9683 if (!SWIG_IsOK(res1)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9685 }
9686 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9687 ecode2 = SWIG_AsVal_int(obj1, &val2);
9688 if (!SWIG_IsOK(ecode2)) {
9689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "2"" of type '" "int""'");
9690 }
9691 arg2 = static_cast< int >(val2);
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 result = (int)(arg1)->LineFromPosition(arg2);
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = SWIG_From_int(static_cast< int >(result));
9699 return resultobj;
9700fail:
9701 return NULL;
9702}
9703
9704
9705SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj = 0;
9707 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9708 int arg2 ;
9709 int result;
9710 void *argp1 = 0 ;
9711 int res1 = 0 ;
9712 int val2 ;
9713 int ecode2 = 0 ;
9714 PyObject * obj0 = 0 ;
9715 PyObject * obj1 = 0 ;
9716 char * kwnames[] = {
9717 (char *) "self",(char *) "line", NULL
9718 };
9719
9720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) SWIG_fail;
9721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9722 if (!SWIG_IsOK(res1)) {
9723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9724 }
9725 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9726 ecode2 = SWIG_AsVal_int(obj1, &val2);
9727 if (!SWIG_IsOK(ecode2)) {
9728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "2"" of type '" "int""'");
9729 }
9730 arg2 = static_cast< int >(val2);
9731 {
9732 PyThreadState* __tstate = wxPyBeginAllowThreads();
9733 result = (int)(arg1)->PositionFromLine(arg2);
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 }
9737 resultobj = SWIG_From_int(static_cast< int >(result));
9738 return resultobj;
9739fail:
9740 return NULL;
9741}
9742
9743
9744SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj = 0;
9746 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9747 int arg2 ;
9748 int arg3 ;
9749 void *argp1 = 0 ;
9750 int res1 = 0 ;
9751 int val2 ;
9752 int ecode2 = 0 ;
9753 int val3 ;
9754 int ecode3 = 0 ;
9755 PyObject * obj0 = 0 ;
9756 PyObject * obj1 = 0 ;
9757 PyObject * obj2 = 0 ;
9758 char * kwnames[] = {
9759 (char *) "self",(char *) "columns",(char *) "lines", NULL
9760 };
9761
9762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9764 if (!SWIG_IsOK(res1)) {
9765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9766 }
9767 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9768 ecode2 = SWIG_AsVal_int(obj1, &val2);
9769 if (!SWIG_IsOK(ecode2)) {
9770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "2"" of type '" "int""'");
9771 }
9772 arg2 = static_cast< int >(val2);
9773 ecode3 = SWIG_AsVal_int(obj2, &val3);
9774 if (!SWIG_IsOK(ecode3)) {
9775 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "3"" of type '" "int""'");
9776 }
9777 arg3 = static_cast< int >(val3);
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 (arg1)->LineScroll(arg2,arg3);
9781 wxPyEndAllowThreads(__tstate);
9782 if (PyErr_Occurred()) SWIG_fail;
9783 }
9784 resultobj = SWIG_Py_Void();
9785 return resultobj;
9786fail:
9787 return NULL;
7bdb1bc4
RD
9788}
9789
9790
554f62e9
RD
9791SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9792 PyObject *resultobj = 0;
9793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9794 void *argp1 = 0 ;
9795 int res1 = 0 ;
9796 PyObject *swig_obj[1] ;
9797
9798 if (!args) SWIG_fail;
9799 swig_obj[0] = args;
9800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9801 if (!SWIG_IsOK(res1)) {
9802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureCaretVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9803 }
9804 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
9807 (arg1)->EnsureCaretVisible();
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
9811 resultobj = SWIG_Py_Void();
9812 return resultobj;
9813fail:
9814 return NULL;
9815}
9816
9817
9818SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9819 PyObject *resultobj = 0;
9820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9821 wxString *arg2 = 0 ;
9822 void *argp1 = 0 ;
9823 int res1 = 0 ;
9824 bool temp2 = false ;
9825 PyObject * obj0 = 0 ;
9826 PyObject * obj1 = 0 ;
9827 char * kwnames[] = {
9828 (char *) "self",(char *) "text", NULL
9829 };
9830
9831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
9832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9833 if (!SWIG_IsOK(res1)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9835 }
9836 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9837 {
9838 arg2 = wxString_in_helper(obj1);
9839 if (arg2 == NULL) SWIG_fail;
9840 temp2 = true;
9841 }
9842 {
9843 PyThreadState* __tstate = wxPyBeginAllowThreads();
9844 (arg1)->ReplaceSelection((wxString const &)*arg2);
9845 wxPyEndAllowThreads(__tstate);
9846 if (PyErr_Occurred()) SWIG_fail;
9847 }
9848 resultobj = SWIG_Py_Void();
9849 {
9850 if (temp2)
9851 delete arg2;
9852 }
9853 return resultobj;
9854fail:
9855 {
9856 if (temp2)
9857 delete arg2;
9858 }
9859 return NULL;
9860}
9861
9862
9863SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj = 0;
9865 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9866 bool arg2 ;
9867 void *argp1 = 0 ;
9868 int res1 = 0 ;
9869 bool val2 ;
9870 int ecode2 = 0 ;
9871 PyObject * obj0 = 0 ;
9872 PyObject * obj1 = 0 ;
9873 char * kwnames[] = {
9874 (char *) "self",(char *) "readOnly", NULL
9875 };
9876
9877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) SWIG_fail;
9878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9879 if (!SWIG_IsOK(res1)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9881 }
9882 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9883 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9884 if (!SWIG_IsOK(ecode2)) {
9885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
9886 }
9887 arg2 = static_cast< bool >(val2);
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 (arg1)->SetReadOnly(arg2);
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
9894 resultobj = SWIG_Py_Void();
9895 return resultobj;
9896fail:
9897 return NULL;
7bdb1bc4
RD
9898}
9899
9900
554f62e9
RD
9901SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9902 PyObject *resultobj = 0;
9903 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9904 bool result;
9905 void *argp1 = 0 ;
9906 int res1 = 0 ;
9907 PyObject *swig_obj[1] ;
9908
9909 if (!args) SWIG_fail;
9910 swig_obj[0] = args;
9911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9912 if (!SWIG_IsOK(res1)) {
9913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9914 }
9915 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 result = (bool)(arg1)->CanPaste();
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) SWIG_fail;
9921 }
9922 {
9923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9924 }
9925 return resultobj;
9926fail:
9927 return NULL;
7bdb1bc4
RD
9928}
9929
9930
554f62e9
RD
9931SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9932 PyObject *resultobj = 0;
9933 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9934 bool result;
9935 void *argp1 = 0 ;
9936 int res1 = 0 ;
9937 PyObject *swig_obj[1] ;
9938
9939 if (!args) SWIG_fail;
9940 swig_obj[0] = args;
9941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9942 if (!SWIG_IsOK(res1)) {
9943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9944 }
9945 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9946 {
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
9948 result = (bool)(arg1)->CanUndo();
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
9952 {
9953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9954 }
9955 return resultobj;
9956fail:
9957 return NULL;
7bdb1bc4
RD
9958}
9959
9960
554f62e9
RD
9961SWIGINTERN PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9962 PyObject *resultobj = 0;
9963 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9964 void *argp1 = 0 ;
9965 int res1 = 0 ;
9966 PyObject *swig_obj[1] ;
9967
9968 if (!args) SWIG_fail;
9969 swig_obj[0] = args;
9970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9971 if (!SWIG_IsOK(res1)) {
9972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EmptyUndoBuffer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9973 }
9974 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 (arg1)->EmptyUndoBuffer();
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 resultobj = SWIG_Py_Void();
9982 return resultobj;
9983fail:
9984 return NULL;
7bdb1bc4
RD
9985}
9986
9987
554f62e9
RD
9988SWIGINTERN PyObject *_wrap_StyledTextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9989 PyObject *resultobj = 0;
9990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9991 void *argp1 = 0 ;
9992 int res1 = 0 ;
9993 PyObject *swig_obj[1] ;
9994
9995 if (!args) SWIG_fail;
9996 swig_obj[0] = args;
9997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9998 if (!SWIG_IsOK(res1)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Undo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10000 }
10001 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10002 {
10003 PyThreadState* __tstate = wxPyBeginAllowThreads();
10004 (arg1)->Undo();
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
10008 resultobj = SWIG_Py_Void();
10009 return resultobj;
10010fail:
10011 return NULL;
7bdb1bc4
RD
10012}
10013
10014
554f62e9
RD
10015SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10016 PyObject *resultobj = 0;
10017 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10018 void *argp1 = 0 ;
10019 int res1 = 0 ;
10020 PyObject *swig_obj[1] ;
10021
10022 if (!args) SWIG_fail;
10023 swig_obj[0] = args;
10024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10025 if (!SWIG_IsOK(res1)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10027 }
10028 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
10031 (arg1)->Cut();
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 resultobj = SWIG_Py_Void();
10036 return resultobj;
10037fail:
10038 return NULL;
7bdb1bc4
RD
10039}
10040
10041
554f62e9
RD
10042SWIGINTERN PyObject *_wrap_StyledTextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10043 PyObject *resultobj = 0;
10044 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10045 void *argp1 = 0 ;
10046 int res1 = 0 ;
10047 PyObject *swig_obj[1] ;
10048
10049 if (!args) SWIG_fail;
10050 swig_obj[0] = args;
10051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10052 if (!SWIG_IsOK(res1)) {
10053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Copy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10054 }
10055 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10056 {
10057 PyThreadState* __tstate = wxPyBeginAllowThreads();
10058 (arg1)->Copy();
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 resultobj = SWIG_Py_Void();
10063 return resultobj;
10064fail:
10065 return NULL;
7bdb1bc4
RD
10066}
10067
10068
554f62e9
RD
10069SWIGINTERN PyObject *_wrap_StyledTextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10070 PyObject *resultobj = 0;
10071 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10072 void *argp1 = 0 ;
10073 int res1 = 0 ;
10074 PyObject *swig_obj[1] ;
10075
10076 if (!args) SWIG_fail;
10077 swig_obj[0] = args;
10078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10079 if (!SWIG_IsOK(res1)) {
10080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Paste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10081 }
10082 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 (arg1)->Paste();
10086 wxPyEndAllowThreads(__tstate);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 resultobj = SWIG_Py_Void();
10090 return resultobj;
10091fail:
10092 return NULL;
7bdb1bc4
RD
10093}
10094
10095
554f62e9
RD
10096SWIGINTERN PyObject *_wrap_StyledTextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10097 PyObject *resultobj = 0;
10098 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10099 void *argp1 = 0 ;
10100 int res1 = 0 ;
10101 PyObject *swig_obj[1] ;
10102
10103 if (!args) SWIG_fail;
10104 swig_obj[0] = args;
10105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10106 if (!SWIG_IsOK(res1)) {
10107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Clear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10108 }
10109 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 (arg1)->Clear();
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 resultobj = SWIG_Py_Void();
10117 return resultobj;
10118fail:
10119 return NULL;
10120}
10121
10122
10123SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10124 PyObject *resultobj = 0;
10125 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10126 wxString *arg2 = 0 ;
10127 void *argp1 = 0 ;
10128 int res1 = 0 ;
10129 bool temp2 = false ;
10130 PyObject * obj0 = 0 ;
10131 PyObject * obj1 = 0 ;
10132 char * kwnames[] = {
10133 (char *) "self",(char *) "text", NULL
10134 };
10135
10136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
10137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10138 if (!SWIG_IsOK(res1)) {
10139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10140 }
10141 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10142 {
10143 arg2 = wxString_in_helper(obj1);
10144 if (arg2 == NULL) SWIG_fail;
10145 temp2 = true;
10146 }
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 (arg1)->SetText((wxString const &)*arg2);
10150 wxPyEndAllowThreads(__tstate);
10151 if (PyErr_Occurred()) SWIG_fail;
10152 }
10153 resultobj = SWIG_Py_Void();
10154 {
10155 if (temp2)
10156 delete arg2;
10157 }
10158 return resultobj;
10159fail:
10160 {
10161 if (temp2)
10162 delete arg2;
10163 }
10164 return NULL;
7bdb1bc4
RD
10165}
10166
10167
554f62e9
RD
10168SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10169 PyObject *resultobj = 0;
10170 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10171 wxString result;
10172 void *argp1 = 0 ;
10173 int res1 = 0 ;
10174 PyObject *swig_obj[1] ;
10175
10176 if (!args) SWIG_fail;
10177 swig_obj[0] = args;
10178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10179 if (!SWIG_IsOK(res1)) {
10180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10181 }
10182 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10183 {
10184 PyThreadState* __tstate = wxPyBeginAllowThreads();
10185 result = (arg1)->GetText();
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 {
10190#if wxUSE_UNICODE
10191 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10192#else
10193 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10194#endif
10195 }
10196 return resultobj;
10197fail:
10198 return NULL;
7bdb1bc4
RD
10199}
10200
10201
554f62e9
RD
10202SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10203 PyObject *resultobj = 0;
10204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10205 int result;
10206 void *argp1 = 0 ;
10207 int res1 = 0 ;
10208 PyObject *swig_obj[1] ;
10209
10210 if (!args) SWIG_fail;
10211 swig_obj[0] = args;
10212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10213 if (!SWIG_IsOK(res1)) {
10214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10215 }
10216 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 result = (int)(arg1)->GetTextLength();
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 resultobj = SWIG_From_int(static_cast< int >(result));
10224 return resultobj;
10225fail:
10226 return NULL;
10227}
10228
10229
10230SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10231 PyObject *resultobj = 0;
10232 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10233 bool arg2 ;
10234 void *argp1 = 0 ;
10235 int res1 = 0 ;
10236 bool val2 ;
10237 int ecode2 = 0 ;
10238 PyObject * obj0 = 0 ;
10239 PyObject * obj1 = 0 ;
10240 char * kwnames[] = {
10241 (char *) "self",(char *) "overtype", NULL
10242 };
10243
10244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) SWIG_fail;
10245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10246 if (!SWIG_IsOK(res1)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10248 }
10249 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10250 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10251 if (!SWIG_IsOK(ecode2)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "2"" of type '" "bool""'");
10253 }
10254 arg2 = static_cast< bool >(val2);
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 (arg1)->SetOvertype(arg2);
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 resultobj = SWIG_Py_Void();
10262 return resultobj;
10263fail:
10264 return NULL;
7bdb1bc4
RD
10265}
10266
10267
554f62e9
RD
10268SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10269 PyObject *resultobj = 0;
10270 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10271 bool result;
10272 void *argp1 = 0 ;
10273 int res1 = 0 ;
10274 PyObject *swig_obj[1] ;
10275
10276 if (!args) SWIG_fail;
10277 swig_obj[0] = args;
10278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10279 if (!SWIG_IsOK(res1)) {
10280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10281 }
10282 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10283 {
10284 PyThreadState* __tstate = wxPyBeginAllowThreads();
10285 result = (bool)(arg1)->GetOvertype();
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 {
10290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10291 }
10292 return resultobj;
10293fail:
10294 return NULL;
10295}
10296
10297
10298SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10299 PyObject *resultobj = 0;
10300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10301 int arg2 ;
10302 void *argp1 = 0 ;
10303 int res1 = 0 ;
10304 int val2 ;
10305 int ecode2 = 0 ;
10306 PyObject * obj0 = 0 ;
10307 PyObject * obj1 = 0 ;
10308 char * kwnames[] = {
10309 (char *) "self",(char *) "pixelWidth", NULL
10310 };
10311
10312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) SWIG_fail;
10313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10314 if (!SWIG_IsOK(res1)) {
10315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10316 }
10317 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10318 ecode2 = SWIG_AsVal_int(obj1, &val2);
10319 if (!SWIG_IsOK(ecode2)) {
10320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "2"" of type '" "int""'");
10321 }
10322 arg2 = static_cast< int >(val2);
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 (arg1)->SetCaretWidth(arg2);
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 resultobj = SWIG_Py_Void();
10330 return resultobj;
10331fail:
10332 return NULL;
7bdb1bc4
RD
10333}
10334
10335
554f62e9
RD
10336SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10337 PyObject *resultobj = 0;
10338 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10339 int result;
10340 void *argp1 = 0 ;
10341 int res1 = 0 ;
10342 PyObject *swig_obj[1] ;
10343
10344 if (!args) SWIG_fail;
10345 swig_obj[0] = args;
10346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10347 if (!SWIG_IsOK(res1)) {
10348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10349 }
10350 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 result = (int)(arg1)->GetCaretWidth();
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 resultobj = SWIG_From_int(static_cast< int >(result));
10358 return resultobj;
10359fail:
10360 return NULL;
10361}
10362
10363
10364SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10365 PyObject *resultobj = 0;
10366 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10367 int arg2 ;
10368 void *argp1 = 0 ;
10369 int res1 = 0 ;
10370 int val2 ;
10371 int ecode2 = 0 ;
10372 PyObject * obj0 = 0 ;
10373 PyObject * obj1 = 0 ;
10374 char * kwnames[] = {
10375 (char *) "self",(char *) "pos", NULL
10376 };
10377
10378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) SWIG_fail;
10379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10380 if (!SWIG_IsOK(res1)) {
10381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10382 }
10383 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10384 ecode2 = SWIG_AsVal_int(obj1, &val2);
10385 if (!SWIG_IsOK(ecode2)) {
10386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "2"" of type '" "int""'");
10387 }
10388 arg2 = static_cast< int >(val2);
10389 {
10390 PyThreadState* __tstate = wxPyBeginAllowThreads();
10391 (arg1)->SetTargetStart(arg2);
10392 wxPyEndAllowThreads(__tstate);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 resultobj = SWIG_Py_Void();
10396 return resultobj;
10397fail:
10398 return NULL;
7bdb1bc4
RD
10399}
10400
10401
554f62e9
RD
10402SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10403 PyObject *resultobj = 0;
10404 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10405 int result;
10406 void *argp1 = 0 ;
10407 int res1 = 0 ;
10408 PyObject *swig_obj[1] ;
10409
10410 if (!args) SWIG_fail;
10411 swig_obj[0] = args;
10412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10413 if (!SWIG_IsOK(res1)) {
10414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10415 }
10416 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10417 {
10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
10419 result = (int)(arg1)->GetTargetStart();
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 resultobj = SWIG_From_int(static_cast< int >(result));
10424 return resultobj;
10425fail:
10426 return NULL;
10427}
10428
10429
10430SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10431 PyObject *resultobj = 0;
10432 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10433 int arg2 ;
10434 void *argp1 = 0 ;
10435 int res1 = 0 ;
10436 int val2 ;
10437 int ecode2 = 0 ;
10438 PyObject * obj0 = 0 ;
10439 PyObject * obj1 = 0 ;
10440 char * kwnames[] = {
10441 (char *) "self",(char *) "pos", NULL
10442 };
10443
10444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10446 if (!SWIG_IsOK(res1)) {
10447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10448 }
10449 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10450 ecode2 = SWIG_AsVal_int(obj1, &val2);
10451 if (!SWIG_IsOK(ecode2)) {
10452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "2"" of type '" "int""'");
10453 }
10454 arg2 = static_cast< int >(val2);
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 (arg1)->SetTargetEnd(arg2);
10458 wxPyEndAllowThreads(__tstate);
10459 if (PyErr_Occurred()) SWIG_fail;
10460 }
10461 resultobj = SWIG_Py_Void();
10462 return resultobj;
10463fail:
10464 return NULL;
7bdb1bc4
RD
10465}
10466
10467
554f62e9
RD
10468SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10469 PyObject *resultobj = 0;
10470 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10471 int result;
10472 void *argp1 = 0 ;
10473 int res1 = 0 ;
10474 PyObject *swig_obj[1] ;
10475
10476 if (!args) SWIG_fail;
10477 swig_obj[0] = args;
10478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10479 if (!SWIG_IsOK(res1)) {
10480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10481 }
10482 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 result = (int)(arg1)->GetTargetEnd();
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 resultobj = SWIG_From_int(static_cast< int >(result));
10490 return resultobj;
10491fail:
10492 return NULL;
10493}
10494
10495
10496SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10497 PyObject *resultobj = 0;
10498 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10499 wxString *arg2 = 0 ;
10500 int result;
10501 void *argp1 = 0 ;
10502 int res1 = 0 ;
10503 bool temp2 = false ;
10504 PyObject * obj0 = 0 ;
10505 PyObject * obj1 = 0 ;
10506 char * kwnames[] = {
10507 (char *) "self",(char *) "text", NULL
10508 };
10509
10510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) SWIG_fail;
10511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10512 if (!SWIG_IsOK(res1)) {
10513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10514 }
10515 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10516 {
10517 arg2 = wxString_in_helper(obj1);
10518 if (arg2 == NULL) SWIG_fail;
10519 temp2 = true;
10520 }
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 resultobj = SWIG_From_int(static_cast< int >(result));
10528 {
10529 if (temp2)
10530 delete arg2;
10531 }
10532 return resultobj;
10533fail:
10534 {
10535 if (temp2)
10536 delete arg2;
10537 }
10538 return NULL;
10539}
10540
10541
10542SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10543 PyObject *resultobj = 0;
10544 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10545 wxString *arg2 = 0 ;
10546 int result;
10547 void *argp1 = 0 ;
10548 int res1 = 0 ;
10549 bool temp2 = false ;
10550 PyObject * obj0 = 0 ;
10551 PyObject * obj1 = 0 ;
10552 char * kwnames[] = {
10553 (char *) "self",(char *) "text", NULL
10554 };
10555
10556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) SWIG_fail;
10557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10558 if (!SWIG_IsOK(res1)) {
10559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTargetRE" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10560 }
10561 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10562 {
10563 arg2 = wxString_in_helper(obj1);
10564 if (arg2 == NULL) SWIG_fail;
10565 temp2 = true;
10566 }
10567 {
10568 PyThreadState* __tstate = wxPyBeginAllowThreads();
10569 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
10570 wxPyEndAllowThreads(__tstate);
10571 if (PyErr_Occurred()) SWIG_fail;
10572 }
10573 resultobj = SWIG_From_int(static_cast< int >(result));
10574 {
10575 if (temp2)
10576 delete arg2;
10577 }
10578 return resultobj;
10579fail:
10580 {
10581 if (temp2)
10582 delete arg2;
10583 }
10584 return NULL;
10585}
10586
10587
10588SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10589 PyObject *resultobj = 0;
10590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10591 wxString *arg2 = 0 ;
10592 int result;
10593 void *argp1 = 0 ;
10594 int res1 = 0 ;
10595 bool temp2 = false ;
10596 PyObject * obj0 = 0 ;
10597 PyObject * obj1 = 0 ;
10598 char * kwnames[] = {
10599 (char *) "self",(char *) "text", NULL
10600 };
10601
10602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) SWIG_fail;
10603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10604 if (!SWIG_IsOK(res1)) {
10605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchInTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10606 }
10607 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10608 {
10609 arg2 = wxString_in_helper(obj1);
10610 if (arg2 == NULL) SWIG_fail;
10611 temp2 = true;
10612 }
10613 {
10614 PyThreadState* __tstate = wxPyBeginAllowThreads();
10615 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 resultobj = SWIG_From_int(static_cast< int >(result));
10620 {
10621 if (temp2)
10622 delete arg2;
10623 }
10624 return resultobj;
10625fail:
10626 {
10627 if (temp2)
10628 delete arg2;
10629 }
10630 return NULL;
10631}
10632
10633
10634SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj = 0;
10636 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10637 int arg2 ;
10638 void *argp1 = 0 ;
10639 int res1 = 0 ;
10640 int val2 ;
10641 int ecode2 = 0 ;
10642 PyObject * obj0 = 0 ;
10643 PyObject * obj1 = 0 ;
10644 char * kwnames[] = {
10645 (char *) "self",(char *) "flags", NULL
10646 };
10647
10648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10650 if (!SWIG_IsOK(res1)) {
10651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10652 }
10653 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10654 ecode2 = SWIG_AsVal_int(obj1, &val2);
10655 if (!SWIG_IsOK(ecode2)) {
10656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "2"" of type '" "int""'");
10657 }
10658 arg2 = static_cast< int >(val2);
10659 {
10660 PyThreadState* __tstate = wxPyBeginAllowThreads();
10661 (arg1)->SetSearchFlags(arg2);
10662 wxPyEndAllowThreads(__tstate);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 resultobj = SWIG_Py_Void();
10666 return resultobj;
10667fail:
10668 return NULL;
7bdb1bc4
RD
10669}
10670
10671
554f62e9
RD
10672SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10673 PyObject *resultobj = 0;
10674 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10675 int result;
10676 void *argp1 = 0 ;
10677 int res1 = 0 ;
10678 PyObject *swig_obj[1] ;
10679
10680 if (!args) SWIG_fail;
10681 swig_obj[0] = args;
10682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10683 if (!SWIG_IsOK(res1)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10685 }
10686 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10687 {
10688 PyThreadState* __tstate = wxPyBeginAllowThreads();
10689 result = (int)(arg1)->GetSearchFlags();
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 resultobj = SWIG_From_int(static_cast< int >(result));
10694 return resultobj;
10695fail:
10696 return NULL;
10697}
10698
10699
10700SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10701 PyObject *resultobj = 0;
10702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10703 int arg2 ;
10704 wxString *arg3 = 0 ;
10705 void *argp1 = 0 ;
10706 int res1 = 0 ;
10707 int val2 ;
10708 int ecode2 = 0 ;
10709 bool temp3 = false ;
10710 PyObject * obj0 = 0 ;
10711 PyObject * obj1 = 0 ;
10712 PyObject * obj2 = 0 ;
10713 char * kwnames[] = {
10714 (char *) "self",(char *) "pos",(char *) "definition", NULL
10715 };
10716
10717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10719 if (!SWIG_IsOK(res1)) {
10720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10721 }
10722 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10723 ecode2 = SWIG_AsVal_int(obj1, &val2);
10724 if (!SWIG_IsOK(ecode2)) {
10725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "2"" of type '" "int""'");
10726 }
10727 arg2 = static_cast< int >(val2);
10728 {
10729 arg3 = wxString_in_helper(obj2);
10730 if (arg3 == NULL) SWIG_fail;
10731 temp3 = true;
10732 }
10733 {
10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
10735 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
10736 wxPyEndAllowThreads(__tstate);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 resultobj = SWIG_Py_Void();
10740 {
10741 if (temp3)
10742 delete arg3;
10743 }
10744 return resultobj;
10745fail:
10746 {
10747 if (temp3)
10748 delete arg3;
10749 }
10750 return NULL;
7bdb1bc4
RD
10751}
10752
10753
554f62e9
RD
10754SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10755 PyObject *resultobj = 0;
10756 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10757 void *argp1 = 0 ;
10758 int res1 = 0 ;
10759 PyObject *swig_obj[1] ;
10760
10761 if (!args) SWIG_fail;
10762 swig_obj[0] = args;
10763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10764 if (!SWIG_IsOK(res1)) {
10765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10766 }
10767 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10768 {
10769 PyThreadState* __tstate = wxPyBeginAllowThreads();
10770 (arg1)->CallTipCancel();
10771 wxPyEndAllowThreads(__tstate);
10772 if (PyErr_Occurred()) SWIG_fail;
10773 }
10774 resultobj = SWIG_Py_Void();
10775 return resultobj;
10776fail:
10777 return NULL;
7bdb1bc4
RD
10778}
10779
10780
554f62e9
RD
10781SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10782 PyObject *resultobj = 0;
10783 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10784 bool result;
10785 void *argp1 = 0 ;
10786 int res1 = 0 ;
10787 PyObject *swig_obj[1] ;
10788
10789 if (!args) SWIG_fail;
10790 swig_obj[0] = args;
10791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10792 if (!SWIG_IsOK(res1)) {
10793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10794 }
10795 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10796 {
10797 PyThreadState* __tstate = wxPyBeginAllowThreads();
10798 result = (bool)(arg1)->CallTipActive();
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 {
10803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10804 }
10805 return resultobj;
10806fail:
10807 return NULL;
7bdb1bc4
RD
10808}
10809
10810
554f62e9
RD
10811SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10812 PyObject *resultobj = 0;
10813 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10814 int result;
10815 void *argp1 = 0 ;
10816 int res1 = 0 ;
10817 PyObject *swig_obj[1] ;
10818
10819 if (!args) SWIG_fail;
10820 swig_obj[0] = args;
10821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10822 if (!SWIG_IsOK(res1)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipPosAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10824 }
10825 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 result = (int)(arg1)->CallTipPosAtStart();
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 resultobj = SWIG_From_int(static_cast< int >(result));
10833 return resultobj;
10834fail:
10835 return NULL;
10836}
10837
10838
10839SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10840 PyObject *resultobj = 0;
10841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10842 int arg2 ;
10843 int arg3 ;
10844 void *argp1 = 0 ;
10845 int res1 = 0 ;
10846 int val2 ;
10847 int ecode2 = 0 ;
10848 int val3 ;
10849 int ecode3 = 0 ;
10850 PyObject * obj0 = 0 ;
10851 PyObject * obj1 = 0 ;
10852 PyObject * obj2 = 0 ;
10853 char * kwnames[] = {
10854 (char *) "self",(char *) "start",(char *) "end", NULL
10855 };
10856
10857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10859 if (!SWIG_IsOK(res1)) {
10860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10861 }
10862 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10863 ecode2 = SWIG_AsVal_int(obj1, &val2);
10864 if (!SWIG_IsOK(ecode2)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "2"" of type '" "int""'");
10866 }
10867 arg2 = static_cast< int >(val2);
10868 ecode3 = SWIG_AsVal_int(obj2, &val3);
10869 if (!SWIG_IsOK(ecode3)) {
10870 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "3"" of type '" "int""'");
10871 }
10872 arg3 = static_cast< int >(val3);
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 (arg1)->CallTipSetHighlight(arg2,arg3);
10876 wxPyEndAllowThreads(__tstate);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 }
10879 resultobj = SWIG_Py_Void();
10880 return resultobj;
10881fail:
10882 return NULL;
10883}
10884
10885
10886SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10887 PyObject *resultobj = 0;
10888 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10889 wxColour *arg2 = 0 ;
10890 void *argp1 = 0 ;
10891 int res1 = 0 ;
10892 wxColour temp2 ;
10893 PyObject * obj0 = 0 ;
10894 PyObject * obj1 = 0 ;
10895 char * kwnames[] = {
10896 (char *) "self",(char *) "back", NULL
10897 };
10898
10899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) SWIG_fail;
10900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10901 if (!SWIG_IsOK(res1)) {
10902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10903 }
10904 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10905 {
10906 arg2 = &temp2;
10907 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10908 }
10909 {
10910 PyThreadState* __tstate = wxPyBeginAllowThreads();
10911 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
10912 wxPyEndAllowThreads(__tstate);
10913 if (PyErr_Occurred()) SWIG_fail;
10914 }
10915 resultobj = SWIG_Py_Void();
10916 return resultobj;
10917fail:
10918 return NULL;
10919}
10920
10921
10922SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10923 PyObject *resultobj = 0;
10924 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10925 wxColour *arg2 = 0 ;
10926 void *argp1 = 0 ;
10927 int res1 = 0 ;
10928 wxColour temp2 ;
10929 PyObject * obj0 = 0 ;
10930 PyObject * obj1 = 0 ;
10931 char * kwnames[] = {
10932 (char *) "self",(char *) "fore", NULL
10933 };
10934
10935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
10936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10937 if (!SWIG_IsOK(res1)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10939 }
10940 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10941 {
10942 arg2 = &temp2;
10943 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10944 }
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
10951 resultobj = SWIG_Py_Void();
10952 return resultobj;
10953fail:
10954 return NULL;
10955}
10956
10957
10958SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10959 PyObject *resultobj = 0;
10960 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10961 wxColour *arg2 = 0 ;
10962 void *argp1 = 0 ;
10963 int res1 = 0 ;
10964 wxColour temp2 ;
10965 PyObject * obj0 = 0 ;
10966 PyObject * obj1 = 0 ;
10967 char * kwnames[] = {
10968 (char *) "self",(char *) "fore", NULL
10969 };
10970
10971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) SWIG_fail;
10972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10973 if (!SWIG_IsOK(res1)) {
10974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForegroundHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10975 }
10976 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10977 {
10978 arg2 = &temp2;
10979 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10980 }
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
10984 wxPyEndAllowThreads(__tstate);
10985 if (PyErr_Occurred()) SWIG_fail;
10986 }
10987 resultobj = SWIG_Py_Void();
10988 return resultobj;
10989fail:
10990 return NULL;
10991}
10992
10993
10044bf1
RD
10994SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipUseStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj = 0;
10996 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10997 int arg2 ;
10998 void *argp1 = 0 ;
10999 int res1 = 0 ;
11000 int val2 ;
11001 int ecode2 = 0 ;
11002 PyObject * obj0 = 0 ;
11003 PyObject * obj1 = 0 ;
11004 char * kwnames[] = {
11005 (char *) "self",(char *) "tabSize", NULL
11006 };
11007
11008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipUseStyle",kwnames,&obj0,&obj1)) SWIG_fail;
11009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11010 if (!SWIG_IsOK(res1)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipUseStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11012 }
11013 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11014 ecode2 = SWIG_AsVal_int(obj1, &val2);
11015 if (!SWIG_IsOK(ecode2)) {
11016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipUseStyle" "', expected argument " "2"" of type '" "int""'");
11017 }
11018 arg2 = static_cast< int >(val2);
11019 {
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 (arg1)->CallTipUseStyle(arg2);
11022 wxPyEndAllowThreads(__tstate);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 }
11025 resultobj = SWIG_Py_Void();
11026 return resultobj;
11027fail:
11028 return NULL;
11029}
11030
11031
554f62e9
RD
11032SWIGINTERN PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11033 PyObject *resultobj = 0;
11034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11035 int arg2 ;
11036 int result;
11037 void *argp1 = 0 ;
11038 int res1 = 0 ;
11039 int val2 ;
11040 int ecode2 = 0 ;
11041 PyObject * obj0 = 0 ;
11042 PyObject * obj1 = 0 ;
11043 char * kwnames[] = {
11044 (char *) "self",(char *) "line", NULL
11045 };
11046
11047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) SWIG_fail;
11048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11049 if (!SWIG_IsOK(res1)) {
11050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11051 }
11052 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11053 ecode2 = SWIG_AsVal_int(obj1, &val2);
11054 if (!SWIG_IsOK(ecode2)) {
11055 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "2"" of type '" "int""'");
11056 }
11057 arg2 = static_cast< int >(val2);
11058 {
11059 PyThreadState* __tstate = wxPyBeginAllowThreads();
11060 result = (int)(arg1)->VisibleFromDocLine(arg2);
11061 wxPyEndAllowThreads(__tstate);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 }
11064 resultobj = SWIG_From_int(static_cast< int >(result));
11065 return resultobj;
11066fail:
11067 return NULL;
11068}
11069
11070
11071SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11072 PyObject *resultobj = 0;
11073 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11074 int arg2 ;
11075 int result;
11076 void *argp1 = 0 ;
11077 int res1 = 0 ;
11078 int val2 ;
11079 int ecode2 = 0 ;
11080 PyObject * obj0 = 0 ;
11081 PyObject * obj1 = 0 ;
11082 char * kwnames[] = {
11083 (char *) "self",(char *) "lineDisplay", NULL
11084 };
11085
11086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11088 if (!SWIG_IsOK(res1)) {
11089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11090 }
11091 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11092 ecode2 = SWIG_AsVal_int(obj1, &val2);
11093 if (!SWIG_IsOK(ecode2)) {
11094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "2"" of type '" "int""'");
11095 }
11096 arg2 = static_cast< int >(val2);
11097 {
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 result = (int)(arg1)->DocLineFromVisible(arg2);
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 resultobj = SWIG_From_int(static_cast< int >(result));
11104 return resultobj;
11105fail:
11106 return NULL;
11107}
11108
11109
11110SWIGINTERN PyObject *_wrap_StyledTextCtrl_WrapCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11111 PyObject *resultobj = 0;
11112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11113 int arg2 ;
11114 int result;
11115 void *argp1 = 0 ;
11116 int res1 = 0 ;
11117 int val2 ;
11118 int ecode2 = 0 ;
11119 PyObject * obj0 = 0 ;
11120 PyObject * obj1 = 0 ;
11121 char * kwnames[] = {
11122 (char *) "self",(char *) "line", NULL
11123 };
11124
11125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_WrapCount",kwnames,&obj0,&obj1)) SWIG_fail;
11126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11127 if (!SWIG_IsOK(res1)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11129 }
11130 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11131 ecode2 = SWIG_AsVal_int(obj1, &val2);
11132 if (!SWIG_IsOK(ecode2)) {
11133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "2"" of type '" "int""'");
11134 }
11135 arg2 = static_cast< int >(val2);
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 result = (int)(arg1)->WrapCount(arg2);
11139 wxPyEndAllowThreads(__tstate);
11140 if (PyErr_Occurred()) SWIG_fail;
11141 }
11142 resultobj = SWIG_From_int(static_cast< int >(result));
11143 return resultobj;
11144fail:
11145 return NULL;
11146}
11147
11148
11149SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11150 PyObject *resultobj = 0;
11151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11152 int arg2 ;
11153 int arg3 ;
11154 void *argp1 = 0 ;
11155 int res1 = 0 ;
11156 int val2 ;
11157 int ecode2 = 0 ;
11158 int val3 ;
11159 int ecode3 = 0 ;
11160 PyObject * obj0 = 0 ;
11161 PyObject * obj1 = 0 ;
11162 PyObject * obj2 = 0 ;
11163 char * kwnames[] = {
11164 (char *) "self",(char *) "line",(char *) "level", NULL
11165 };
11166
11167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11169 if (!SWIG_IsOK(res1)) {
11170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11171 }
11172 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11173 ecode2 = SWIG_AsVal_int(obj1, &val2);
11174 if (!SWIG_IsOK(ecode2)) {
11175 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11176 }
11177 arg2 = static_cast< int >(val2);
11178 ecode3 = SWIG_AsVal_int(obj2, &val3);
11179 if (!SWIG_IsOK(ecode3)) {
11180 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "3"" of type '" "int""'");
11181 }
11182 arg3 = static_cast< int >(val3);
11183 {
11184 PyThreadState* __tstate = wxPyBeginAllowThreads();
11185 (arg1)->SetFoldLevel(arg2,arg3);
11186 wxPyEndAllowThreads(__tstate);
11187 if (PyErr_Occurred()) SWIG_fail;
11188 }
11189 resultobj = SWIG_Py_Void();
11190 return resultobj;
11191fail:
11192 return NULL;
11193}
11194
11195
11196SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11197 PyObject *resultobj = 0;
11198 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11199 int arg2 ;
11200 int result;
11201 void *argp1 = 0 ;
11202 int res1 = 0 ;
11203 int val2 ;
11204 int ecode2 = 0 ;
11205 PyObject * obj0 = 0 ;
11206 PyObject * obj1 = 0 ;
11207 char * kwnames[] = {
11208 (char *) "self",(char *) "line", NULL
11209 };
11210
11211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) SWIG_fail;
11212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11213 if (!SWIG_IsOK(res1)) {
11214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11215 }
11216 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11217 ecode2 = SWIG_AsVal_int(obj1, &val2);
11218 if (!SWIG_IsOK(ecode2)) {
11219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11220 }
11221 arg2 = static_cast< int >(val2);
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 result = (int)(arg1)->GetFoldLevel(arg2);
11225 wxPyEndAllowThreads(__tstate);
11226 if (PyErr_Occurred()) SWIG_fail;
11227 }
11228 resultobj = SWIG_From_int(static_cast< int >(result));
11229 return resultobj;
11230fail:
11231 return NULL;
11232}
11233
11234
11235SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11236 PyObject *resultobj = 0;
11237 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11238 int arg2 ;
11239 int arg3 ;
11240 int result;
11241 void *argp1 = 0 ;
11242 int res1 = 0 ;
11243 int val2 ;
11244 int ecode2 = 0 ;
11245 int val3 ;
11246 int ecode3 = 0 ;
11247 PyObject * obj0 = 0 ;
11248 PyObject * obj1 = 0 ;
11249 PyObject * obj2 = 0 ;
11250 char * kwnames[] = {
11251 (char *) "self",(char *) "line",(char *) "level", NULL
11252 };
11253
11254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11256 if (!SWIG_IsOK(res1)) {
11257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11258 }
11259 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11260 ecode2 = SWIG_AsVal_int(obj1, &val2);
11261 if (!SWIG_IsOK(ecode2)) {
11262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "2"" of type '" "int""'");
11263 }
11264 arg2 = static_cast< int >(val2);
11265 ecode3 = SWIG_AsVal_int(obj2, &val3);
11266 if (!SWIG_IsOK(ecode3)) {
11267 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "3"" of type '" "int""'");
11268 }
11269 arg3 = static_cast< int >(val3);
11270 {
11271 PyThreadState* __tstate = wxPyBeginAllowThreads();
11272 result = (int)(arg1)->GetLastChild(arg2,arg3);
11273 wxPyEndAllowThreads(__tstate);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 resultobj = SWIG_From_int(static_cast< int >(result));
11277 return resultobj;
11278fail:
11279 return NULL;
11280}
11281
11282
11283SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11284 PyObject *resultobj = 0;
11285 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11286 int arg2 ;
11287 int result;
11288 void *argp1 = 0 ;
11289 int res1 = 0 ;
11290 int val2 ;
11291 int ecode2 = 0 ;
11292 PyObject * obj0 = 0 ;
11293 PyObject * obj1 = 0 ;
11294 char * kwnames[] = {
11295 (char *) "self",(char *) "line", NULL
11296 };
11297
11298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) SWIG_fail;
11299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11300 if (!SWIG_IsOK(res1)) {
11301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11302 }
11303 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11304 ecode2 = SWIG_AsVal_int(obj1, &val2);
11305 if (!SWIG_IsOK(ecode2)) {
11306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "2"" of type '" "int""'");
11307 }
11308 arg2 = static_cast< int >(val2);
11309 {
11310 PyThreadState* __tstate = wxPyBeginAllowThreads();
11311 result = (int)(arg1)->GetFoldParent(arg2);
11312 wxPyEndAllowThreads(__tstate);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 }
11315 resultobj = SWIG_From_int(static_cast< int >(result));
11316 return resultobj;
11317fail:
11318 return NULL;
11319}
11320
11321
11322SWIGINTERN PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11323 PyObject *resultobj = 0;
11324 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11325 int arg2 ;
11326 int arg3 ;
11327 void *argp1 = 0 ;
11328 int res1 = 0 ;
11329 int val2 ;
11330 int ecode2 = 0 ;
11331 int val3 ;
11332 int ecode3 = 0 ;
11333 PyObject * obj0 = 0 ;
11334 PyObject * obj1 = 0 ;
11335 PyObject * obj2 = 0 ;
11336 char * kwnames[] = {
11337 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11338 };
11339
11340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11342 if (!SWIG_IsOK(res1)) {
11343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11344 }
11345 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11346 ecode2 = SWIG_AsVal_int(obj1, &val2);
11347 if (!SWIG_IsOK(ecode2)) {
11348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "2"" of type '" "int""'");
11349 }
11350 arg2 = static_cast< int >(val2);
11351 ecode3 = SWIG_AsVal_int(obj2, &val3);
11352 if (!SWIG_IsOK(ecode3)) {
11353 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "3"" of type '" "int""'");
11354 }
11355 arg3 = static_cast< int >(val3);
11356 {
11357 PyThreadState* __tstate = wxPyBeginAllowThreads();
11358 (arg1)->ShowLines(arg2,arg3);
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
11362 resultobj = SWIG_Py_Void();
11363 return resultobj;
11364fail:
11365 return NULL;
11366}
11367
11368
11369SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11370 PyObject *resultobj = 0;
11371 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11372 int arg2 ;
11373 int arg3 ;
11374 void *argp1 = 0 ;
11375 int res1 = 0 ;
11376 int val2 ;
11377 int ecode2 = 0 ;
11378 int val3 ;
11379 int ecode3 = 0 ;
11380 PyObject * obj0 = 0 ;
11381 PyObject * obj1 = 0 ;
11382 PyObject * obj2 = 0 ;
11383 char * kwnames[] = {
11384 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11385 };
11386
11387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11389 if (!SWIG_IsOK(res1)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11391 }
11392 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11393 ecode2 = SWIG_AsVal_int(obj1, &val2);
11394 if (!SWIG_IsOK(ecode2)) {
11395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "2"" of type '" "int""'");
11396 }
11397 arg2 = static_cast< int >(val2);
11398 ecode3 = SWIG_AsVal_int(obj2, &val3);
11399 if (!SWIG_IsOK(ecode3)) {
11400 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "3"" of type '" "int""'");
11401 }
11402 arg3 = static_cast< int >(val3);
11403 {
11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
11405 (arg1)->HideLines(arg2,arg3);
11406 wxPyEndAllowThreads(__tstate);
11407 if (PyErr_Occurred()) SWIG_fail;
11408 }
11409 resultobj = SWIG_Py_Void();
11410 return resultobj;
11411fail:
11412 return NULL;
11413}
11414
11415
11416SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11417 PyObject *resultobj = 0;
11418 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11419 int arg2 ;
11420 bool result;
11421 void *argp1 = 0 ;
11422 int res1 = 0 ;
11423 int val2 ;
11424 int ecode2 = 0 ;
11425 PyObject * obj0 = 0 ;
11426 PyObject * obj1 = 0 ;
11427 char * kwnames[] = {
11428 (char *) "self",(char *) "line", NULL
11429 };
11430
11431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11433 if (!SWIG_IsOK(res1)) {
11434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11435 }
11436 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11437 ecode2 = SWIG_AsVal_int(obj1, &val2);
11438 if (!SWIG_IsOK(ecode2)) {
11439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "2"" of type '" "int""'");
11440 }
11441 arg2 = static_cast< int >(val2);
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 result = (bool)(arg1)->GetLineVisible(arg2);
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 {
11449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11450 }
11451 return resultobj;
11452fail:
11453 return NULL;
11454}
11455
11456
11457SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11458 PyObject *resultobj = 0;
11459 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11460 int arg2 ;
11461 bool arg3 ;
11462 void *argp1 = 0 ;
11463 int res1 = 0 ;
11464 int val2 ;
11465 int ecode2 = 0 ;
11466 bool val3 ;
11467 int ecode3 = 0 ;
11468 PyObject * obj0 = 0 ;
11469 PyObject * obj1 = 0 ;
11470 PyObject * obj2 = 0 ;
11471 char * kwnames[] = {
11472 (char *) "self",(char *) "line",(char *) "expanded", NULL
11473 };
11474
11475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11477 if (!SWIG_IsOK(res1)) {
11478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11479 }
11480 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11481 ecode2 = SWIG_AsVal_int(obj1, &val2);
11482 if (!SWIG_IsOK(ecode2)) {
11483 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11484 }
11485 arg2 = static_cast< int >(val2);
11486 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11487 if (!SWIG_IsOK(ecode3)) {
11488 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "3"" of type '" "bool""'");
11489 }
11490 arg3 = static_cast< bool >(val3);
11491 {
11492 PyThreadState* __tstate = wxPyBeginAllowThreads();
11493 (arg1)->SetFoldExpanded(arg2,arg3);
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 resultobj = SWIG_Py_Void();
11498 return resultobj;
11499fail:
11500 return NULL;
11501}
11502
11503
11504SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11505 PyObject *resultobj = 0;
11506 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11507 int arg2 ;
11508 bool result;
11509 void *argp1 = 0 ;
11510 int res1 = 0 ;
11511 int val2 ;
11512 int ecode2 = 0 ;
11513 PyObject * obj0 = 0 ;
11514 PyObject * obj1 = 0 ;
11515 char * kwnames[] = {
11516 (char *) "self",(char *) "line", NULL
11517 };
11518
11519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
11520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11521 if (!SWIG_IsOK(res1)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11523 }
11524 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11525 ecode2 = SWIG_AsVal_int(obj1, &val2);
11526 if (!SWIG_IsOK(ecode2)) {
11527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11528 }
11529 arg2 = static_cast< int >(val2);
11530 {
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 result = (bool)(arg1)->GetFoldExpanded(arg2);
11533 wxPyEndAllowThreads(__tstate);
11534 if (PyErr_Occurred()) SWIG_fail;
11535 }
11536 {
11537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11538 }
11539 return resultobj;
11540fail:
11541 return NULL;
11542}
11543
11544
11545SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11546 PyObject *resultobj = 0;
11547 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11548 int arg2 ;
11549 void *argp1 = 0 ;
11550 int res1 = 0 ;
11551 int val2 ;
11552 int ecode2 = 0 ;
11553 PyObject * obj0 = 0 ;
11554 PyObject * obj1 = 0 ;
11555 char * kwnames[] = {
11556 (char *) "self",(char *) "line", NULL
11557 };
11558
11559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) SWIG_fail;
11560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11561 if (!SWIG_IsOK(res1)) {
11562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11563 }
11564 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11565 ecode2 = SWIG_AsVal_int(obj1, &val2);
11566 if (!SWIG_IsOK(ecode2)) {
11567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "2"" of type '" "int""'");
11568 }
11569 arg2 = static_cast< int >(val2);
11570 {
11571 PyThreadState* __tstate = wxPyBeginAllowThreads();
11572 (arg1)->ToggleFold(arg2);
11573 wxPyEndAllowThreads(__tstate);
11574 if (PyErr_Occurred()) SWIG_fail;
11575 }
11576 resultobj = SWIG_Py_Void();
11577 return resultobj;
11578fail:
11579 return NULL;
11580}
11581
11582
11583SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11584 PyObject *resultobj = 0;
11585 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11586 int arg2 ;
11587 void *argp1 = 0 ;
11588 int res1 = 0 ;
11589 int val2 ;
11590 int ecode2 = 0 ;
11591 PyObject * obj0 = 0 ;
11592 PyObject * obj1 = 0 ;
11593 char * kwnames[] = {
11594 (char *) "self",(char *) "line", NULL
11595 };
11596
11597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11599 if (!SWIG_IsOK(res1)) {
11600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11601 }
11602 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11603 ecode2 = SWIG_AsVal_int(obj1, &val2);
11604 if (!SWIG_IsOK(ecode2)) {
11605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
11606 }
11607 arg2 = static_cast< int >(val2);
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 (arg1)->EnsureVisible(arg2);
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 resultobj = SWIG_Py_Void();
11615 return resultobj;
11616fail:
11617 return NULL;
11618}
11619
11620
11621SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj = 0;
11623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11624 int arg2 ;
11625 void *argp1 = 0 ;
11626 int res1 = 0 ;
11627 int val2 ;
11628 int ecode2 = 0 ;
11629 PyObject * obj0 = 0 ;
11630 PyObject * obj1 = 0 ;
11631 char * kwnames[] = {
11632 (char *) "self",(char *) "flags", NULL
11633 };
11634
11635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11637 if (!SWIG_IsOK(res1)) {
11638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11639 }
11640 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11641 ecode2 = SWIG_AsVal_int(obj1, &val2);
11642 if (!SWIG_IsOK(ecode2)) {
11643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "2"" of type '" "int""'");
11644 }
11645 arg2 = static_cast< int >(val2);
11646 {
11647 PyThreadState* __tstate = wxPyBeginAllowThreads();
11648 (arg1)->SetFoldFlags(arg2);
11649 wxPyEndAllowThreads(__tstate);
11650 if (PyErr_Occurred()) SWIG_fail;
11651 }
11652 resultobj = SWIG_Py_Void();
11653 return resultobj;
11654fail:
11655 return NULL;
11656}
11657
11658
11659SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11660 PyObject *resultobj = 0;
11661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11662 int arg2 ;
11663 void *argp1 = 0 ;
11664 int res1 = 0 ;
11665 int val2 ;
11666 int ecode2 = 0 ;
11667 PyObject * obj0 = 0 ;
11668 PyObject * obj1 = 0 ;
11669 char * kwnames[] = {
11670 (char *) "self",(char *) "line", NULL
11671 };
11672
11673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) SWIG_fail;
11674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11675 if (!SWIG_IsOK(res1)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11677 }
11678 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11679 ecode2 = SWIG_AsVal_int(obj1, &val2);
11680 if (!SWIG_IsOK(ecode2)) {
11681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "2"" of type '" "int""'");
11682 }
11683 arg2 = static_cast< int >(val2);
11684 {
11685 PyThreadState* __tstate = wxPyBeginAllowThreads();
11686 (arg1)->EnsureVisibleEnforcePolicy(arg2);
11687 wxPyEndAllowThreads(__tstate);
11688 if (PyErr_Occurred()) SWIG_fail;
11689 }
11690 resultobj = SWIG_Py_Void();
11691 return resultobj;
11692fail:
11693 return NULL;
11694}
11695
11696
11697SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11698 PyObject *resultobj = 0;
11699 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11700 bool arg2 ;
11701 void *argp1 = 0 ;
11702 int res1 = 0 ;
11703 bool val2 ;
11704 int ecode2 = 0 ;
11705 PyObject * obj0 = 0 ;
11706 PyObject * obj1 = 0 ;
11707 char * kwnames[] = {
11708 (char *) "self",(char *) "tabIndents", NULL
11709 };
11710
11711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) SWIG_fail;
11712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11713 if (!SWIG_IsOK(res1)) {
11714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11715 }
11716 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11717 ecode2 = SWIG_AsVal_bool(obj1, &val2);
11718 if (!SWIG_IsOK(ecode2)) {
11719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "2"" of type '" "bool""'");
11720 }
11721 arg2 = static_cast< bool >(val2);
11722 {
11723 PyThreadState* __tstate = wxPyBeginAllowThreads();
11724 (arg1)->SetTabIndents(arg2);
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 }
11728 resultobj = SWIG_Py_Void();
11729 return resultobj;
11730fail:
11731 return NULL;
7bdb1bc4
RD
11732}
11733
11734
554f62e9
RD
11735SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11736 PyObject *resultobj = 0;
11737 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11738 bool result;
11739 void *argp1 = 0 ;
11740 int res1 = 0 ;
11741 PyObject *swig_obj[1] ;
11742
11743 if (!args) SWIG_fail;
11744 swig_obj[0] = args;
11745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11746 if (!SWIG_IsOK(res1)) {
11747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11748 }
11749 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11750 {
11751 PyThreadState* __tstate = wxPyBeginAllowThreads();
11752 result = (bool)(arg1)->GetTabIndents();
11753 wxPyEndAllowThreads(__tstate);
11754 if (PyErr_Occurred()) SWIG_fail;
11755 }
11756 {
11757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11758 }
11759 return resultobj;
11760fail:
11761 return NULL;
11762}
11763
11764
11765SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11766 PyObject *resultobj = 0;
11767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11768 bool arg2 ;
11769 void *argp1 = 0 ;
11770 int res1 = 0 ;
11771 bool val2 ;
11772 int ecode2 = 0 ;
11773 PyObject * obj0 = 0 ;
11774 PyObject * obj1 = 0 ;
11775 char * kwnames[] = {
11776 (char *) "self",(char *) "bsUnIndents", NULL
11777 };
11778
11779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) SWIG_fail;
11780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11781 if (!SWIG_IsOK(res1)) {
11782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11783 }
11784 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11785 ecode2 = SWIG_AsVal_bool(obj1, &val2);
11786 if (!SWIG_IsOK(ecode2)) {
11787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "2"" of type '" "bool""'");
11788 }
11789 arg2 = static_cast< bool >(val2);
11790 {
11791 PyThreadState* __tstate = wxPyBeginAllowThreads();
11792 (arg1)->SetBackSpaceUnIndents(arg2);
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
11796 resultobj = SWIG_Py_Void();
11797 return resultobj;
11798fail:
11799 return NULL;
7bdb1bc4
RD
11800}
11801
11802
554f62e9
RD
11803SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11804 PyObject *resultobj = 0;
11805 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11806 bool result;
11807 void *argp1 = 0 ;
11808 int res1 = 0 ;
11809 PyObject *swig_obj[1] ;
11810
11811 if (!args) SWIG_fail;
11812 swig_obj[0] = args;
11813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11814 if (!SWIG_IsOK(res1)) {
11815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11816 }
11817 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 result = (bool)(arg1)->GetBackSpaceUnIndents();
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 {
11825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11826 }
11827 return resultobj;
11828fail:
11829 return NULL;
11830}
11831
11832
11833SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj = 0;
11835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11836 int arg2 ;
11837 void *argp1 = 0 ;
11838 int res1 = 0 ;
11839 int val2 ;
11840 int ecode2 = 0 ;
11841 PyObject * obj0 = 0 ;
11842 PyObject * obj1 = 0 ;
11843 char * kwnames[] = {
11844 (char *) "self",(char *) "periodMilliseconds", NULL
11845 };
11846
11847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) SWIG_fail;
11848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11849 if (!SWIG_IsOK(res1)) {
11850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11851 }
11852 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11853 ecode2 = SWIG_AsVal_int(obj1, &val2);
11854 if (!SWIG_IsOK(ecode2)) {
11855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "2"" of type '" "int""'");
11856 }
11857 arg2 = static_cast< int >(val2);
11858 {
11859 PyThreadState* __tstate = wxPyBeginAllowThreads();
11860 (arg1)->SetMouseDwellTime(arg2);
11861 wxPyEndAllowThreads(__tstate);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 resultobj = SWIG_Py_Void();
11865 return resultobj;
11866fail:
11867 return NULL;
7bdb1bc4
RD
11868}
11869
11870
554f62e9
RD
11871SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11872 PyObject *resultobj = 0;
11873 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11874 int result;
11875 void *argp1 = 0 ;
11876 int res1 = 0 ;
11877 PyObject *swig_obj[1] ;
11878
11879 if (!args) SWIG_fail;
11880 swig_obj[0] = args;
11881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11882 if (!SWIG_IsOK(res1)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11884 }
11885 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (int)(arg1)->GetMouseDwellTime();
11889 wxPyEndAllowThreads(__tstate);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 resultobj = SWIG_From_int(static_cast< int >(result));
11893 return resultobj;
11894fail:
11895 return NULL;
11896}
11897
11898
11899SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11900 PyObject *resultobj = 0;
11901 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11902 int arg2 ;
11903 bool arg3 ;
11904 int result;
11905 void *argp1 = 0 ;
11906 int res1 = 0 ;
11907 int val2 ;
11908 int ecode2 = 0 ;
11909 bool val3 ;
11910 int ecode3 = 0 ;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 PyObject * obj2 = 0 ;
11914 char * kwnames[] = {
11915 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11916 };
11917
11918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11920 if (!SWIG_IsOK(res1)) {
11921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11922 }
11923 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11924 ecode2 = SWIG_AsVal_int(obj1, &val2);
11925 if (!SWIG_IsOK(ecode2)) {
11926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "2"" of type '" "int""'");
11927 }
11928 arg2 = static_cast< int >(val2);
11929 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11930 if (!SWIG_IsOK(ecode3)) {
11931 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "3"" of type '" "bool""'");
11932 }
11933 arg3 = static_cast< bool >(val3);
11934 {
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 result = (int)(arg1)->WordStartPosition(arg2,arg3);
11937 wxPyEndAllowThreads(__tstate);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
11940 resultobj = SWIG_From_int(static_cast< int >(result));
11941 return resultobj;
11942fail:
11943 return NULL;
11944}
11945
11946
11947SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11948 PyObject *resultobj = 0;
11949 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11950 int arg2 ;
11951 bool arg3 ;
11952 int result;
11953 void *argp1 = 0 ;
11954 int res1 = 0 ;
11955 int val2 ;
11956 int ecode2 = 0 ;
11957 bool val3 ;
11958 int ecode3 = 0 ;
11959 PyObject * obj0 = 0 ;
11960 PyObject * obj1 = 0 ;
11961 PyObject * obj2 = 0 ;
11962 char * kwnames[] = {
11963 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11964 };
11965
11966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11968 if (!SWIG_IsOK(res1)) {
11969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11970 }
11971 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11972 ecode2 = SWIG_AsVal_int(obj1, &val2);
11973 if (!SWIG_IsOK(ecode2)) {
11974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "2"" of type '" "int""'");
11975 }
11976 arg2 = static_cast< int >(val2);
11977 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11978 if (!SWIG_IsOK(ecode3)) {
11979 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "3"" of type '" "bool""'");
11980 }
11981 arg3 = static_cast< bool >(val3);
11982 {
11983 PyThreadState* __tstate = wxPyBeginAllowThreads();
11984 result = (int)(arg1)->WordEndPosition(arg2,arg3);
11985 wxPyEndAllowThreads(__tstate);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 }
11988 resultobj = SWIG_From_int(static_cast< int >(result));
11989 return resultobj;
11990fail:
11991 return NULL;
11992}
11993
11994
11995SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj = 0;
11997 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11998 int arg2 ;
11999 void *argp1 = 0 ;
12000 int res1 = 0 ;
12001 int val2 ;
12002 int ecode2 = 0 ;
12003 PyObject * obj0 = 0 ;
12004 PyObject * obj1 = 0 ;
12005 char * kwnames[] = {
12006 (char *) "self",(char *) "mode", NULL
12007 };
12008
12009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
12010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12011 if (!SWIG_IsOK(res1)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12013 }
12014 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12015 ecode2 = SWIG_AsVal_int(obj1, &val2);
12016 if (!SWIG_IsOK(ecode2)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "2"" of type '" "int""'");
12018 }
12019 arg2 = static_cast< int >(val2);
12020 {
12021 PyThreadState* __tstate = wxPyBeginAllowThreads();
12022 (arg1)->SetWrapMode(arg2);
12023 wxPyEndAllowThreads(__tstate);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
12026 resultobj = SWIG_Py_Void();
12027 return resultobj;
12028fail:
12029 return NULL;
7bdb1bc4
RD
12030}
12031
12032
554f62e9
RD
12033SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12034 PyObject *resultobj = 0;
12035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12036 int result;
12037 void *argp1 = 0 ;
12038 int res1 = 0 ;
12039 PyObject *swig_obj[1] ;
12040
12041 if (!args) SWIG_fail;
12042 swig_obj[0] = args;
12043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12044 if (!SWIG_IsOK(res1)) {
12045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12046 }
12047 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 result = (int)(arg1)->GetWrapMode();
12051 wxPyEndAllowThreads(__tstate);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 }
12054 resultobj = SWIG_From_int(static_cast< int >(result));
12055 return resultobj;
12056fail:
12057 return NULL;
12058}
12059
12060
12061SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12062 PyObject *resultobj = 0;
12063 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12064 int arg2 ;
12065 void *argp1 = 0 ;
12066 int res1 = 0 ;
12067 int val2 ;
12068 int ecode2 = 0 ;
12069 PyObject * obj0 = 0 ;
12070 PyObject * obj1 = 0 ;
12071 char * kwnames[] = {
12072 (char *) "self",(char *) "wrapVisualFlags", NULL
12073 };
12074
12075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12077 if (!SWIG_IsOK(res1)) {
12078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12079 }
12080 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12081 ecode2 = SWIG_AsVal_int(obj1, &val2);
12082 if (!SWIG_IsOK(ecode2)) {
12083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "2"" of type '" "int""'");
12084 }
12085 arg2 = static_cast< int >(val2);
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 (arg1)->SetWrapVisualFlags(arg2);
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
12092 resultobj = SWIG_Py_Void();
12093 return resultobj;
12094fail:
12095 return NULL;
7bdb1bc4
RD
12096}
12097
12098
554f62e9
RD
12099SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12100 PyObject *resultobj = 0;
12101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12102 int result;
12103 void *argp1 = 0 ;
12104 int res1 = 0 ;
12105 PyObject *swig_obj[1] ;
12106
12107 if (!args) SWIG_fail;
12108 swig_obj[0] = args;
12109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12110 if (!SWIG_IsOK(res1)) {
12111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12112 }
12113 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 result = (int)(arg1)->GetWrapVisualFlags();
12117 wxPyEndAllowThreads(__tstate);
12118 if (PyErr_Occurred()) SWIG_fail;
12119 }
12120 resultobj = SWIG_From_int(static_cast< int >(result));
12121 return resultobj;
12122fail:
12123 return NULL;
12124}
12125
12126
12127SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12128 PyObject *resultobj = 0;
12129 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12130 int arg2 ;
12131 void *argp1 = 0 ;
12132 int res1 = 0 ;
12133 int val2 ;
12134 int ecode2 = 0 ;
12135 PyObject * obj0 = 0 ;
12136 PyObject * obj1 = 0 ;
12137 char * kwnames[] = {
12138 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
12139 };
12140
12141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) SWIG_fail;
12142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12143 if (!SWIG_IsOK(res1)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12145 }
12146 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12147 ecode2 = SWIG_AsVal_int(obj1, &val2);
12148 if (!SWIG_IsOK(ecode2)) {
12149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "2"" of type '" "int""'");
12150 }
12151 arg2 = static_cast< int >(val2);
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 (arg1)->SetWrapVisualFlagsLocation(arg2);
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 resultobj = SWIG_Py_Void();
12159 return resultobj;
12160fail:
12161 return NULL;
7bdb1bc4
RD
12162}
12163
12164
554f62e9
RD
12165SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12166 PyObject *resultobj = 0;
12167 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12168 int result;
12169 void *argp1 = 0 ;
12170 int res1 = 0 ;
12171 PyObject *swig_obj[1] ;
12172
12173 if (!args) SWIG_fail;
12174 swig_obj[0] = args;
12175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12176 if (!SWIG_IsOK(res1)) {
12177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12178 }
12179 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12180 {
12181 PyThreadState* __tstate = wxPyBeginAllowThreads();
12182 result = (int)(arg1)->GetWrapVisualFlagsLocation();
12183 wxPyEndAllowThreads(__tstate);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 resultobj = SWIG_From_int(static_cast< int >(result));
12187 return resultobj;
12188fail:
12189 return NULL;
12190}
12191
12192
12193SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12194 PyObject *resultobj = 0;
12195 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12196 int arg2 ;
12197 void *argp1 = 0 ;
12198 int res1 = 0 ;
12199 int val2 ;
12200 int ecode2 = 0 ;
12201 PyObject * obj0 = 0 ;
12202 PyObject * obj1 = 0 ;
12203 char * kwnames[] = {
12204 (char *) "self",(char *) "indent", NULL
12205 };
12206
12207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) SWIG_fail;
12208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12209 if (!SWIG_IsOK(res1)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12211 }
12212 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12213 ecode2 = SWIG_AsVal_int(obj1, &val2);
12214 if (!SWIG_IsOK(ecode2)) {
12215 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "2"" of type '" "int""'");
12216 }
12217 arg2 = static_cast< int >(val2);
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 (arg1)->SetWrapStartIndent(arg2);
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 resultobj = SWIG_Py_Void();
12225 return resultobj;
12226fail:
12227 return NULL;
7bdb1bc4
RD
12228}
12229
12230
554f62e9
RD
12231SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12232 PyObject *resultobj = 0;
12233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12234 int result;
12235 void *argp1 = 0 ;
12236 int res1 = 0 ;
12237 PyObject *swig_obj[1] ;
12238
12239 if (!args) SWIG_fail;
12240 swig_obj[0] = args;
12241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12242 if (!SWIG_IsOK(res1)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12244 }
12245 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12246 {
12247 PyThreadState* __tstate = wxPyBeginAllowThreads();
12248 result = (int)(arg1)->GetWrapStartIndent();
12249 wxPyEndAllowThreads(__tstate);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
12252 resultobj = SWIG_From_int(static_cast< int >(result));
12253 return resultobj;
12254fail:
12255 return NULL;
12256}
12257
12258
12259SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12260 PyObject *resultobj = 0;
12261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12262 int arg2 ;
12263 void *argp1 = 0 ;
12264 int res1 = 0 ;
12265 int val2 ;
12266 int ecode2 = 0 ;
12267 PyObject * obj0 = 0 ;
12268 PyObject * obj1 = 0 ;
12269 char * kwnames[] = {
12270 (char *) "self",(char *) "mode", NULL
12271 };
12272
12273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) SWIG_fail;
12274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12275 if (!SWIG_IsOK(res1)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12277 }
12278 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12279 ecode2 = SWIG_AsVal_int(obj1, &val2);
12280 if (!SWIG_IsOK(ecode2)) {
12281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "2"" of type '" "int""'");
12282 }
12283 arg2 = static_cast< int >(val2);
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
12286 (arg1)->SetLayoutCache(arg2);
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 resultobj = SWIG_Py_Void();
12291 return resultobj;
12292fail:
12293 return NULL;
7bdb1bc4
RD
12294}
12295
12296
554f62e9
RD
12297SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12298 PyObject *resultobj = 0;
12299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12300 int result;
12301 void *argp1 = 0 ;
12302 int res1 = 0 ;
12303 PyObject *swig_obj[1] ;
12304
12305 if (!args) SWIG_fail;
12306 swig_obj[0] = args;
12307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12308 if (!SWIG_IsOK(res1)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12310 }
12311 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 result = (int)(arg1)->GetLayoutCache();
12315 wxPyEndAllowThreads(__tstate);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 }
12318 resultobj = SWIG_From_int(static_cast< int >(result));
12319 return resultobj;
12320fail:
12321 return NULL;
12322}
12323
12324
12325SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12326 PyObject *resultobj = 0;
12327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12328 int arg2 ;
12329 void *argp1 = 0 ;
12330 int res1 = 0 ;
12331 int val2 ;
12332 int ecode2 = 0 ;
12333 PyObject * obj0 = 0 ;
12334 PyObject * obj1 = 0 ;
12335 char * kwnames[] = {
12336 (char *) "self",(char *) "pixelWidth", NULL
12337 };
12338
12339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) SWIG_fail;
12340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12341 if (!SWIG_IsOK(res1)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12343 }
12344 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12345 ecode2 = SWIG_AsVal_int(obj1, &val2);
12346 if (!SWIG_IsOK(ecode2)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "2"" of type '" "int""'");
12348 }
12349 arg2 = static_cast< int >(val2);
12350 {
12351 PyThreadState* __tstate = wxPyBeginAllowThreads();
12352 (arg1)->SetScrollWidth(arg2);
12353 wxPyEndAllowThreads(__tstate);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 }
12356 resultobj = SWIG_Py_Void();
12357 return resultobj;
12358fail:
12359 return NULL;
7bdb1bc4
RD
12360}
12361
12362
554f62e9
RD
12363SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12364 PyObject *resultobj = 0;
12365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12366 int result;
12367 void *argp1 = 0 ;
12368 int res1 = 0 ;
12369 PyObject *swig_obj[1] ;
12370
12371 if (!args) SWIG_fail;
12372 swig_obj[0] = args;
12373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12374 if (!SWIG_IsOK(res1)) {
12375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12376 }
12377 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 result = (int)(arg1)->GetScrollWidth();
12381 wxPyEndAllowThreads(__tstate);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
12384 resultobj = SWIG_From_int(static_cast< int >(result));
12385 return resultobj;
12386fail:
12387 return NULL;
12388}
12389
12390
12391SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12392 PyObject *resultobj = 0;
12393 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12394 int arg2 ;
12395 wxString *arg3 = 0 ;
12396 int result;
12397 void *argp1 = 0 ;
12398 int res1 = 0 ;
12399 int val2 ;
12400 int ecode2 = 0 ;
12401 bool temp3 = false ;
12402 PyObject * obj0 = 0 ;
12403 PyObject * obj1 = 0 ;
12404 PyObject * obj2 = 0 ;
12405 char * kwnames[] = {
12406 (char *) "self",(char *) "style",(char *) "text", NULL
12407 };
12408
12409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12411 if (!SWIG_IsOK(res1)) {
12412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12413 }
12414 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12415 ecode2 = SWIG_AsVal_int(obj1, &val2);
12416 if (!SWIG_IsOK(ecode2)) {
12417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "2"" of type '" "int""'");
12418 }
12419 arg2 = static_cast< int >(val2);
12420 {
12421 arg3 = wxString_in_helper(obj2);
12422 if (arg3 == NULL) SWIG_fail;
12423 temp3 = true;
12424 }
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 resultobj = SWIG_From_int(static_cast< int >(result));
12432 {
12433 if (temp3)
12434 delete arg3;
12435 }
12436 return resultobj;
12437fail:
12438 {
12439 if (temp3)
12440 delete arg3;
12441 }
12442 return NULL;
12443}
12444
12445
12446SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12447 PyObject *resultobj = 0;
12448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12449 bool arg2 ;
12450 void *argp1 = 0 ;
12451 int res1 = 0 ;
12452 bool val2 ;
12453 int ecode2 = 0 ;
12454 PyObject * obj0 = 0 ;
12455 PyObject * obj1 = 0 ;
12456 char * kwnames[] = {
12457 (char *) "self",(char *) "endAtLastLine", NULL
12458 };
12459
12460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) SWIG_fail;
12461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12462 if (!SWIG_IsOK(res1)) {
12463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12464 }
12465 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12466 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12467 if (!SWIG_IsOK(ecode2)) {
12468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "2"" of type '" "bool""'");
12469 }
12470 arg2 = static_cast< bool >(val2);
12471 {
12472 PyThreadState* __tstate = wxPyBeginAllowThreads();
12473 (arg1)->SetEndAtLastLine(arg2);
12474 wxPyEndAllowThreads(__tstate);
12475 if (PyErr_Occurred()) SWIG_fail;
12476 }
12477 resultobj = SWIG_Py_Void();
12478 return resultobj;
12479fail:
12480 return NULL;
7bdb1bc4
RD
12481}
12482
12483
554f62e9
RD
12484SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12485 PyObject *resultobj = 0;
12486 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12487 bool result;
12488 void *argp1 = 0 ;
12489 int res1 = 0 ;
12490 PyObject *swig_obj[1] ;
12491
12492 if (!args) SWIG_fail;
12493 swig_obj[0] = args;
12494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12495 if (!SWIG_IsOK(res1)) {
12496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12497 }
12498 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12499 {
12500 PyThreadState* __tstate = wxPyBeginAllowThreads();
12501 result = (bool)(arg1)->GetEndAtLastLine();
12502 wxPyEndAllowThreads(__tstate);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 }
12505 {
12506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12507 }
12508 return resultobj;
12509fail:
12510 return NULL;
12511}
12512
12513
12514SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12515 PyObject *resultobj = 0;
12516 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12517 int arg2 ;
12518 int result;
12519 void *argp1 = 0 ;
12520 int res1 = 0 ;
12521 int val2 ;
12522 int ecode2 = 0 ;
12523 PyObject * obj0 = 0 ;
12524 PyObject * obj1 = 0 ;
12525 char * kwnames[] = {
12526 (char *) "self",(char *) "line", NULL
12527 };
12528
12529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) SWIG_fail;
12530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12531 if (!SWIG_IsOK(res1)) {
12532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12533 }
12534 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12535 ecode2 = SWIG_AsVal_int(obj1, &val2);
12536 if (!SWIG_IsOK(ecode2)) {
12537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "2"" of type '" "int""'");
12538 }
12539 arg2 = static_cast< int >(val2);
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 result = (int)(arg1)->TextHeight(arg2);
12543 wxPyEndAllowThreads(__tstate);
12544 if (PyErr_Occurred()) SWIG_fail;
12545 }
12546 resultobj = SWIG_From_int(static_cast< int >(result));
12547 return resultobj;
12548fail:
12549 return NULL;
12550}
12551
12552
12553SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12554 PyObject *resultobj = 0;
12555 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12556 bool arg2 ;
12557 void *argp1 = 0 ;
12558 int res1 = 0 ;
12559 bool val2 ;
12560 int ecode2 = 0 ;
12561 PyObject * obj0 = 0 ;
12562 PyObject * obj1 = 0 ;
12563 char * kwnames[] = {
12564 (char *) "self",(char *) "show", NULL
12565 };
12566
12567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
12568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12569 if (!SWIG_IsOK(res1)) {
12570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12571 }
12572 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12573 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12574 if (!SWIG_IsOK(ecode2)) {
12575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "2"" of type '" "bool""'");
12576 }
12577 arg2 = static_cast< bool >(val2);
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 (arg1)->SetUseVerticalScrollBar(arg2);
12581 wxPyEndAllowThreads(__tstate);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 }
12584 resultobj = SWIG_Py_Void();
12585 return resultobj;
12586fail:
12587 return NULL;
7bdb1bc4
RD
12588}
12589
12590
554f62e9
RD
12591SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12592 PyObject *resultobj = 0;
12593 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12594 bool result;
12595 void *argp1 = 0 ;
12596 int res1 = 0 ;
12597 PyObject *swig_obj[1] ;
12598
12599 if (!args) SWIG_fail;
12600 swig_obj[0] = args;
12601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12602 if (!SWIG_IsOK(res1)) {
12603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12604 }
12605 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 result = (bool)(arg1)->GetUseVerticalScrollBar();
12609 wxPyEndAllowThreads(__tstate);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 {
12613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12614 }
12615 return resultobj;
12616fail:
12617 return NULL;
12618}
12619
12620
12621SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj = 0;
12623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12624 wxString *arg2 = 0 ;
12625 void *argp1 = 0 ;
12626 int res1 = 0 ;
12627 bool temp2 = false ;
12628 PyObject * obj0 = 0 ;
12629 PyObject * obj1 = 0 ;
12630 char * kwnames[] = {
12631 (char *) "self",(char *) "text", NULL
12632 };
12633
12634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12636 if (!SWIG_IsOK(res1)) {
12637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12638 }
12639 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12640 {
12641 arg2 = wxString_in_helper(obj1);
12642 if (arg2 == NULL) SWIG_fail;
12643 temp2 = true;
12644 }
12645 {
12646 PyThreadState* __tstate = wxPyBeginAllowThreads();
12647 (arg1)->AppendText((wxString const &)*arg2);
12648 wxPyEndAllowThreads(__tstate);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 resultobj = SWIG_Py_Void();
12652 {
12653 if (temp2)
12654 delete arg2;
12655 }
12656 return resultobj;
12657fail:
12658 {
12659 if (temp2)
12660 delete arg2;
12661 }
12662 return NULL;
7bdb1bc4
RD
12663}
12664
12665
554f62e9
RD
12666SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12667 PyObject *resultobj = 0;
12668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12669 bool result;
12670 void *argp1 = 0 ;
12671 int res1 = 0 ;
12672 PyObject *swig_obj[1] ;
12673
12674 if (!args) SWIG_fail;
12675 swig_obj[0] = args;
12676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12677 if (!SWIG_IsOK(res1)) {
12678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12679 }
12680 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12681 {
12682 PyThreadState* __tstate = wxPyBeginAllowThreads();
12683 result = (bool)(arg1)->GetTwoPhaseDraw();
12684 wxPyEndAllowThreads(__tstate);
12685 if (PyErr_Occurred()) SWIG_fail;
12686 }
12687 {
12688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12689 }
12690 return resultobj;
12691fail:
12692 return NULL;
12693}
12694
12695
12696SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12697 PyObject *resultobj = 0;
12698 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12699 bool arg2 ;
12700 void *argp1 = 0 ;
12701 int res1 = 0 ;
12702 bool val2 ;
12703 int ecode2 = 0 ;
12704 PyObject * obj0 = 0 ;
12705 PyObject * obj1 = 0 ;
12706 char * kwnames[] = {
12707 (char *) "self",(char *) "twoPhase", NULL
12708 };
12709
12710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) SWIG_fail;
12711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12712 if (!SWIG_IsOK(res1)) {
12713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12714 }
12715 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12716 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12717 if (!SWIG_IsOK(ecode2)) {
12718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "2"" of type '" "bool""'");
12719 }
12720 arg2 = static_cast< bool >(val2);
12721 {
12722 PyThreadState* __tstate = wxPyBeginAllowThreads();
12723 (arg1)->SetTwoPhaseDraw(arg2);
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 resultobj = SWIG_Py_Void();
12728 return resultobj;
12729fail:
12730 return NULL;
7bdb1bc4
RD
12731}
12732
12733
554f62e9
RD
12734SWIGINTERN PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12735 PyObject *resultobj = 0;
12736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12737 void *argp1 = 0 ;
12738 int res1 = 0 ;
12739 PyObject *swig_obj[1] ;
12740
12741 if (!args) SWIG_fail;
12742 swig_obj[0] = args;
12743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12744 if (!SWIG_IsOK(res1)) {
12745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TargetFromSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12746 }
12747 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12748 {
12749 PyThreadState* __tstate = wxPyBeginAllowThreads();
12750 (arg1)->TargetFromSelection();
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 resultobj = SWIG_Py_Void();
12755 return resultobj;
12756fail:
12757 return NULL;
7bdb1bc4
RD
12758}
12759
12760
554f62e9
RD
12761SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12762 PyObject *resultobj = 0;
12763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12764 void *argp1 = 0 ;
12765 int res1 = 0 ;
12766 PyObject *swig_obj[1] ;
12767
12768 if (!args) SWIG_fail;
12769 swig_obj[0] = args;
12770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12771 if (!SWIG_IsOK(res1)) {
12772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesJoin" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12773 }
12774 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12775 {
12776 PyThreadState* __tstate = wxPyBeginAllowThreads();
12777 (arg1)->LinesJoin();
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 resultobj = SWIG_Py_Void();
12782 return resultobj;
12783fail:
12784 return NULL;
12785}
12786
12787
12788SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12789 PyObject *resultobj = 0;
12790 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12791 int arg2 ;
12792 void *argp1 = 0 ;
12793 int res1 = 0 ;
12794 int val2 ;
12795 int ecode2 = 0 ;
12796 PyObject * obj0 = 0 ;
12797 PyObject * obj1 = 0 ;
12798 char * kwnames[] = {
12799 (char *) "self",(char *) "pixelWidth", NULL
12800 };
12801
12802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) SWIG_fail;
12803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12804 if (!SWIG_IsOK(res1)) {
12805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12806 }
12807 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12808 ecode2 = SWIG_AsVal_int(obj1, &val2);
12809 if (!SWIG_IsOK(ecode2)) {
12810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "2"" of type '" "int""'");
12811 }
12812 arg2 = static_cast< int >(val2);
12813 {
12814 PyThreadState* __tstate = wxPyBeginAllowThreads();
12815 (arg1)->LinesSplit(arg2);
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 resultobj = SWIG_Py_Void();
12820 return resultobj;
12821fail:
12822 return NULL;
12823}
12824
12825
12826SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12827 PyObject *resultobj = 0;
12828 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12829 bool arg2 ;
12830 wxColour *arg3 = 0 ;
12831 void *argp1 = 0 ;
12832 int res1 = 0 ;
12833 bool val2 ;
12834 int ecode2 = 0 ;
12835 wxColour temp3 ;
12836 PyObject * obj0 = 0 ;
12837 PyObject * obj1 = 0 ;
12838 PyObject * obj2 = 0 ;
12839 char * kwnames[] = {
12840 (char *) "self",(char *) "useSetting",(char *) "back", NULL
12841 };
12842
12843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12845 if (!SWIG_IsOK(res1)) {
12846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12847 }
12848 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12849 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12850 if (!SWIG_IsOK(ecode2)) {
12851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "2"" of type '" "bool""'");
12852 }
12853 arg2 = static_cast< bool >(val2);
12854 {
12855 arg3 = &temp3;
12856 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12857 }
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
12861 wxPyEndAllowThreads(__tstate);
12862 if (PyErr_Occurred()) SWIG_fail;
12863 }
12864 resultobj = SWIG_Py_Void();
12865 return resultobj;
12866fail:
12867 return NULL;
12868}
12869
12870
12871SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12872 PyObject *resultobj = 0;
12873 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12874 bool arg2 ;
12875 wxColour *arg3 = 0 ;
12876 void *argp1 = 0 ;
12877 int res1 = 0 ;
12878 bool val2 ;
12879 int ecode2 = 0 ;
12880 wxColour temp3 ;
12881 PyObject * obj0 = 0 ;
12882 PyObject * obj1 = 0 ;
12883 PyObject * obj2 = 0 ;
12884 char * kwnames[] = {
12885 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
12886 };
12887
12888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12890 if (!SWIG_IsOK(res1)) {
12891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12892 }
12893 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12894 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12895 if (!SWIG_IsOK(ecode2)) {
12896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "2"" of type '" "bool""'");
12897 }
12898 arg2 = static_cast< bool >(val2);
12899 {
12900 arg3 = &temp3;
12901 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12902 }
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 resultobj = SWIG_Py_Void();
12910 return resultobj;
12911fail:
12912 return NULL;
7bdb1bc4
RD
12913}
12914
12915
554f62e9
RD
12916SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12917 PyObject *resultobj = 0;
12918 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12919 void *argp1 = 0 ;
12920 int res1 = 0 ;
12921 PyObject *swig_obj[1] ;
12922
12923 if (!args) SWIG_fail;
12924 swig_obj[0] = args;
12925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12926 if (!SWIG_IsOK(res1)) {
12927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12928 }
12929 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 (arg1)->LineDown();
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 resultobj = SWIG_Py_Void();
12937 return resultobj;
12938fail:
12939 return NULL;
7bdb1bc4
RD
12940}
12941
12942
554f62e9
RD
12943SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12944 PyObject *resultobj = 0;
12945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12946 void *argp1 = 0 ;
12947 int res1 = 0 ;
12948 PyObject *swig_obj[1] ;
12949
12950 if (!args) SWIG_fail;
12951 swig_obj[0] = args;
12952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12953 if (!SWIG_IsOK(res1)) {
12954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12955 }
12956 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12957 {
12958 PyThreadState* __tstate = wxPyBeginAllowThreads();
12959 (arg1)->LineDownExtend();
12960 wxPyEndAllowThreads(__tstate);
12961 if (PyErr_Occurred()) SWIG_fail;
12962 }
12963 resultobj = SWIG_Py_Void();
12964 return resultobj;
12965fail:
12966 return NULL;
7bdb1bc4
RD
12967}
12968
12969
554f62e9
RD
12970SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12971 PyObject *resultobj = 0;
12972 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12973 void *argp1 = 0 ;
12974 int res1 = 0 ;
12975 PyObject *swig_obj[1] ;
12976
12977 if (!args) SWIG_fail;
12978 swig_obj[0] = args;
12979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12980 if (!SWIG_IsOK(res1)) {
12981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12982 }
12983 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 (arg1)->LineUp();
12987 wxPyEndAllowThreads(__tstate);
12988 if (PyErr_Occurred()) SWIG_fail;
12989 }
12990 resultobj = SWIG_Py_Void();
12991 return resultobj;
12992fail:
12993 return NULL;
7bdb1bc4
RD
12994}
12995
12996
554f62e9
RD
12997SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12998 PyObject *resultobj = 0;
12999 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13000 void *argp1 = 0 ;
13001 int res1 = 0 ;
13002 PyObject *swig_obj[1] ;
13003
13004 if (!args) SWIG_fail;
13005 swig_obj[0] = args;
13006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13007 if (!SWIG_IsOK(res1)) {
13008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13009 }
13010 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13011 {
13012 PyThreadState* __tstate = wxPyBeginAllowThreads();
13013 (arg1)->LineUpExtend();
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 resultobj = SWIG_Py_Void();
13018 return resultobj;
13019fail:
13020 return NULL;
7bdb1bc4
RD
13021}
13022
13023
554f62e9
RD
13024SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13025 PyObject *resultobj = 0;
13026 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13027 void *argp1 = 0 ;
13028 int res1 = 0 ;
13029 PyObject *swig_obj[1] ;
13030
13031 if (!args) SWIG_fail;
13032 swig_obj[0] = args;
13033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13034 if (!SWIG_IsOK(res1)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13036 }
13037 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13038 {
13039 PyThreadState* __tstate = wxPyBeginAllowThreads();
13040 (arg1)->CharLeft();
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
13044 resultobj = SWIG_Py_Void();
13045 return resultobj;
13046fail:
13047 return NULL;
7bdb1bc4
RD
13048}
13049
13050
554f62e9
RD
13051SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13052 PyObject *resultobj = 0;
13053 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13054 void *argp1 = 0 ;
13055 int res1 = 0 ;
13056 PyObject *swig_obj[1] ;
13057
13058 if (!args) SWIG_fail;
13059 swig_obj[0] = args;
13060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13061 if (!SWIG_IsOK(res1)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13063 }
13064 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 (arg1)->CharLeftExtend();
13068 wxPyEndAllowThreads(__tstate);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 }
13071 resultobj = SWIG_Py_Void();
13072 return resultobj;
13073fail:
13074 return NULL;
7bdb1bc4
RD
13075}
13076
13077
554f62e9
RD
13078SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13079 PyObject *resultobj = 0;
13080 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13081 void *argp1 = 0 ;
13082 int res1 = 0 ;
13083 PyObject *swig_obj[1] ;
13084
13085 if (!args) SWIG_fail;
13086 swig_obj[0] = args;
13087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13088 if (!SWIG_IsOK(res1)) {
13089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13090 }
13091 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 (arg1)->CharRight();
13095 wxPyEndAllowThreads(__tstate);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 }
13098 resultobj = SWIG_Py_Void();
13099 return resultobj;
13100fail:
13101 return NULL;
7bdb1bc4
RD
13102}
13103
13104
554f62e9
RD
13105SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13106 PyObject *resultobj = 0;
13107 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13108 void *argp1 = 0 ;
13109 int res1 = 0 ;
13110 PyObject *swig_obj[1] ;
13111
13112 if (!args) SWIG_fail;
13113 swig_obj[0] = args;
13114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13115 if (!SWIG_IsOK(res1)) {
13116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13117 }
13118 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13119 {
13120 PyThreadState* __tstate = wxPyBeginAllowThreads();
13121 (arg1)->CharRightExtend();
13122 wxPyEndAllowThreads(__tstate);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 }
13125 resultobj = SWIG_Py_Void();
13126 return resultobj;
13127fail:
13128 return NULL;
7bdb1bc4
RD
13129}
13130
13131
554f62e9
RD
13132SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13133 PyObject *resultobj = 0;
13134 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13135 void *argp1 = 0 ;
13136 int res1 = 0 ;
13137 PyObject *swig_obj[1] ;
13138
13139 if (!args) SWIG_fail;
13140 swig_obj[0] = args;
13141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13142 if (!SWIG_IsOK(res1)) {
13143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13144 }
13145 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13146 {
13147 PyThreadState* __tstate = wxPyBeginAllowThreads();
13148 (arg1)->WordLeft();
13149 wxPyEndAllowThreads(__tstate);
13150 if (PyErr_Occurred()) SWIG_fail;
13151 }
13152 resultobj = SWIG_Py_Void();
13153 return resultobj;
13154fail:
13155 return NULL;
7bdb1bc4
RD
13156}
13157
13158
554f62e9
RD
13159SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13160 PyObject *resultobj = 0;
13161 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13162 void *argp1 = 0 ;
13163 int res1 = 0 ;
13164 PyObject *swig_obj[1] ;
13165
13166 if (!args) SWIG_fail;
13167 swig_obj[0] = args;
13168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13169 if (!SWIG_IsOK(res1)) {
13170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13171 }
13172 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 (arg1)->WordLeftExtend();
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 resultobj = SWIG_Py_Void();
13180 return resultobj;
13181fail:
13182 return NULL;
7bdb1bc4
RD
13183}
13184
13185
554f62e9
RD
13186SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13187 PyObject *resultobj = 0;
13188 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13189 void *argp1 = 0 ;
13190 int res1 = 0 ;
13191 PyObject *swig_obj[1] ;
13192
13193 if (!args) SWIG_fail;
13194 swig_obj[0] = args;
13195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13196 if (!SWIG_IsOK(res1)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13198 }
13199 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 (arg1)->WordRight();
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 resultobj = SWIG_Py_Void();
13207 return resultobj;
13208fail:
13209 return NULL;
7bdb1bc4
RD
13210}
13211
13212
554f62e9
RD
13213SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13214 PyObject *resultobj = 0;
13215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13216 void *argp1 = 0 ;
13217 int res1 = 0 ;
13218 PyObject *swig_obj[1] ;
13219
13220 if (!args) SWIG_fail;
13221 swig_obj[0] = args;
13222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13223 if (!SWIG_IsOK(res1)) {
13224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13225 }
13226 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13227 {
13228 PyThreadState* __tstate = wxPyBeginAllowThreads();
13229 (arg1)->WordRightExtend();
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 resultobj = SWIG_Py_Void();
13234 return resultobj;
13235fail:
13236 return NULL;
7bdb1bc4
RD
13237}
13238
13239
554f62e9
RD
13240SWIGINTERN PyObject *_wrap_StyledTextCtrl_Home(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13241 PyObject *resultobj = 0;
13242 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13243 void *argp1 = 0 ;
13244 int res1 = 0 ;
13245 PyObject *swig_obj[1] ;
13246
13247 if (!args) SWIG_fail;
13248 swig_obj[0] = args;
13249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13250 if (!SWIG_IsOK(res1)) {
13251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Home" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13252 }
13253 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13254 {
13255 PyThreadState* __tstate = wxPyBeginAllowThreads();
13256 (arg1)->Home();
13257 wxPyEndAllowThreads(__tstate);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 resultobj = SWIG_Py_Void();
13261 return resultobj;
13262fail:
13263 return NULL;
7bdb1bc4
RD
13264}
13265
13266
554f62e9
RD
13267SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13268 PyObject *resultobj = 0;
13269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13270 void *argp1 = 0 ;
13271 int res1 = 0 ;
13272 PyObject *swig_obj[1] ;
13273
13274 if (!args) SWIG_fail;
13275 swig_obj[0] = args;
13276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13277 if (!SWIG_IsOK(res1)) {
13278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13279 }
13280 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13281 {
13282 PyThreadState* __tstate = wxPyBeginAllowThreads();
13283 (arg1)->HomeExtend();
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 resultobj = SWIG_Py_Void();
13288 return resultobj;
13289fail:
13290 return NULL;
7bdb1bc4
RD
13291}
13292
13293
554f62e9
RD
13294SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13295 PyObject *resultobj = 0;
13296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13297 void *argp1 = 0 ;
13298 int res1 = 0 ;
13299 PyObject *swig_obj[1] ;
13300
13301 if (!args) SWIG_fail;
13302 swig_obj[0] = args;
13303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13304 if (!SWIG_IsOK(res1)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13306 }
13307 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13308 {
13309 PyThreadState* __tstate = wxPyBeginAllowThreads();
13310 (arg1)->LineEnd();
13311 wxPyEndAllowThreads(__tstate);
13312 if (PyErr_Occurred()) SWIG_fail;
13313 }
13314 resultobj = SWIG_Py_Void();
13315 return resultobj;
13316fail:
13317 return NULL;
7bdb1bc4
RD
13318}
13319
13320
554f62e9
RD
13321SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13322 PyObject *resultobj = 0;
13323 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13324 void *argp1 = 0 ;
13325 int res1 = 0 ;
13326 PyObject *swig_obj[1] ;
13327
13328 if (!args) SWIG_fail;
13329 swig_obj[0] = args;
13330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13331 if (!SWIG_IsOK(res1)) {
13332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13333 }
13334 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 (arg1)->LineEndExtend();
13338 wxPyEndAllowThreads(__tstate);
13339 if (PyErr_Occurred()) SWIG_fail;
13340 }
13341 resultobj = SWIG_Py_Void();
13342 return resultobj;
13343fail:
13344 return NULL;
7bdb1bc4
RD
13345}
13346
13347
554f62e9
RD
13348SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13349 PyObject *resultobj = 0;
13350 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13351 void *argp1 = 0 ;
13352 int res1 = 0 ;
13353 PyObject *swig_obj[1] ;
13354
13355 if (!args) SWIG_fail;
13356 swig_obj[0] = args;
13357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13358 if (!SWIG_IsOK(res1)) {
13359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13360 }
13361 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 (arg1)->DocumentStart();
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 resultobj = SWIG_Py_Void();
13369 return resultobj;
13370fail:
13371 return NULL;
7bdb1bc4
RD
13372}
13373
13374
554f62e9
RD
13375SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13376 PyObject *resultobj = 0;
13377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13378 void *argp1 = 0 ;
13379 int res1 = 0 ;
13380 PyObject *swig_obj[1] ;
13381
13382 if (!args) SWIG_fail;
13383 swig_obj[0] = args;
13384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13385 if (!SWIG_IsOK(res1)) {
13386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStartExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13387 }
13388 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13389 {
13390 PyThreadState* __tstate = wxPyBeginAllowThreads();
13391 (arg1)->DocumentStartExtend();
13392 wxPyEndAllowThreads(__tstate);
13393 if (PyErr_Occurred()) SWIG_fail;
13394 }
13395 resultobj = SWIG_Py_Void();
13396 return resultobj;
13397fail:
13398 return NULL;
7bdb1bc4
RD
13399}
13400
13401
554f62e9
RD
13402SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13403 PyObject *resultobj = 0;
13404 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13405 void *argp1 = 0 ;
13406 int res1 = 0 ;
13407 PyObject *swig_obj[1] ;
13408
13409 if (!args) SWIG_fail;
13410 swig_obj[0] = args;
13411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13412 if (!SWIG_IsOK(res1)) {
13413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13414 }
13415 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13416 {
13417 PyThreadState* __tstate = wxPyBeginAllowThreads();
13418 (arg1)->DocumentEnd();
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 resultobj = SWIG_Py_Void();
13423 return resultobj;
13424fail:
13425 return NULL;
7bdb1bc4
RD
13426}
13427
13428
554f62e9
RD
13429SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13430 PyObject *resultobj = 0;
13431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13432 void *argp1 = 0 ;
13433 int res1 = 0 ;
13434 PyObject *swig_obj[1] ;
13435
13436 if (!args) SWIG_fail;
13437 swig_obj[0] = args;
13438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13439 if (!SWIG_IsOK(res1)) {
13440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13441 }
13442 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 (arg1)->DocumentEndExtend();
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 resultobj = SWIG_Py_Void();
13450 return resultobj;
13451fail:
13452 return NULL;
7bdb1bc4
RD
13453}
13454
13455
554f62e9
RD
13456SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13457 PyObject *resultobj = 0;
13458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13459 void *argp1 = 0 ;
13460 int res1 = 0 ;
13461 PyObject *swig_obj[1] ;
13462
13463 if (!args) SWIG_fail;
13464 swig_obj[0] = args;
13465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13466 if (!SWIG_IsOK(res1)) {
13467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13468 }
13469 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13470 {
13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
13472 (arg1)->PageUp();
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 resultobj = SWIG_Py_Void();
13477 return resultobj;
13478fail:
13479 return NULL;
7bdb1bc4
RD
13480}
13481
13482
554f62e9
RD
13483SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13484 PyObject *resultobj = 0;
13485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13486 void *argp1 = 0 ;
13487 int res1 = 0 ;
13488 PyObject *swig_obj[1] ;
13489
13490 if (!args) SWIG_fail;
13491 swig_obj[0] = args;
13492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13493 if (!SWIG_IsOK(res1)) {
13494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13495 }
13496 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13497 {
13498 PyThreadState* __tstate = wxPyBeginAllowThreads();
13499 (arg1)->PageUpExtend();
13500 wxPyEndAllowThreads(__tstate);
13501 if (PyErr_Occurred()) SWIG_fail;
13502 }
13503 resultobj = SWIG_Py_Void();
13504 return resultobj;
13505fail:
13506 return NULL;
7bdb1bc4
RD
13507}
13508
13509
554f62e9
RD
13510SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13511 PyObject *resultobj = 0;
13512 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13513 void *argp1 = 0 ;
13514 int res1 = 0 ;
13515 PyObject *swig_obj[1] ;
13516
13517 if (!args) SWIG_fail;
13518 swig_obj[0] = args;
13519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13520 if (!SWIG_IsOK(res1)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13522 }
13523 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 (arg1)->PageDown();
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
13530 resultobj = SWIG_Py_Void();
13531 return resultobj;
13532fail:
13533 return NULL;
7bdb1bc4
RD
13534}
13535
13536
554f62e9
RD
13537SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13538 PyObject *resultobj = 0;
13539 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13540 void *argp1 = 0 ;
13541 int res1 = 0 ;
13542 PyObject *swig_obj[1] ;
13543
13544 if (!args) SWIG_fail;
13545 swig_obj[0] = args;
13546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13547 if (!SWIG_IsOK(res1)) {
13548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13549 }
13550 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13551 {
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 (arg1)->PageDownExtend();
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 resultobj = SWIG_Py_Void();
13558 return resultobj;
13559fail:
13560 return NULL;
7bdb1bc4
RD
13561}
13562
13563
554f62e9
RD
13564SWIGINTERN PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13565 PyObject *resultobj = 0;
13566 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13567 void *argp1 = 0 ;
13568 int res1 = 0 ;
13569 PyObject *swig_obj[1] ;
13570
13571 if (!args) SWIG_fail;
13572 swig_obj[0] = args;
13573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13574 if (!SWIG_IsOK(res1)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EditToggleOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13576 }
13577 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13578 {
13579 PyThreadState* __tstate = wxPyBeginAllowThreads();
13580 (arg1)->EditToggleOvertype();
13581 wxPyEndAllowThreads(__tstate);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 }
13584 resultobj = SWIG_Py_Void();
13585 return resultobj;
13586fail:
13587 return NULL;
7bdb1bc4
RD
13588}
13589
13590
554f62e9
RD
13591SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13592 PyObject *resultobj = 0;
13593 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13594 void *argp1 = 0 ;
13595 int res1 = 0 ;
13596 PyObject *swig_obj[1] ;
13597
13598 if (!args) SWIG_fail;
13599 swig_obj[0] = args;
13600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13601 if (!SWIG_IsOK(res1)) {
13602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13603 }
13604 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13605 {
13606 PyThreadState* __tstate = wxPyBeginAllowThreads();
13607 (arg1)->Cancel();
13608 wxPyEndAllowThreads(__tstate);
13609 if (PyErr_Occurred()) SWIG_fail;
13610 }
13611 resultobj = SWIG_Py_Void();
13612 return resultobj;
13613fail:
13614 return NULL;
7bdb1bc4
RD
13615}
13616
13617
554f62e9
RD
13618SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13619 PyObject *resultobj = 0;
13620 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13621 void *argp1 = 0 ;
13622 int res1 = 0 ;
13623 PyObject *swig_obj[1] ;
13624
13625 if (!args) SWIG_fail;
13626 swig_obj[0] = args;
13627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13628 if (!SWIG_IsOK(res1)) {
13629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13630 }
13631 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13632 {
13633 PyThreadState* __tstate = wxPyBeginAllowThreads();
13634 (arg1)->DeleteBack();
13635 wxPyEndAllowThreads(__tstate);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 resultobj = SWIG_Py_Void();
13639 return resultobj;
13640fail:
13641 return NULL;
7bdb1bc4
RD
13642}
13643
13644
554f62e9
RD
13645SWIGINTERN PyObject *_wrap_StyledTextCtrl_Tab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13646 PyObject *resultobj = 0;
13647 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13648 void *argp1 = 0 ;
13649 int res1 = 0 ;
13650 PyObject *swig_obj[1] ;
13651
13652 if (!args) SWIG_fail;
13653 swig_obj[0] = args;
13654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13655 if (!SWIG_IsOK(res1)) {
13656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Tab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13657 }
13658 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13659 {
13660 PyThreadState* __tstate = wxPyBeginAllowThreads();
13661 (arg1)->Tab();
13662 wxPyEndAllowThreads(__tstate);
13663 if (PyErr_Occurred()) SWIG_fail;
13664 }
13665 resultobj = SWIG_Py_Void();
13666 return resultobj;
13667fail:
13668 return NULL;
7bdb1bc4
RD
13669}
13670
13671
554f62e9
RD
13672SWIGINTERN PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13673 PyObject *resultobj = 0;
13674 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13675 void *argp1 = 0 ;
13676 int res1 = 0 ;
13677 PyObject *swig_obj[1] ;
13678
13679 if (!args) SWIG_fail;
13680 swig_obj[0] = args;
13681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13682 if (!SWIG_IsOK(res1)) {
13683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BackTab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13684 }
13685 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13686 {
13687 PyThreadState* __tstate = wxPyBeginAllowThreads();
13688 (arg1)->BackTab();
13689 wxPyEndAllowThreads(__tstate);
13690 if (PyErr_Occurred()) SWIG_fail;
13691 }
13692 resultobj = SWIG_Py_Void();
13693 return resultobj;
13694fail:
13695 return NULL;
7bdb1bc4
RD
13696}
13697
13698
554f62e9
RD
13699SWIGINTERN PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13700 PyObject *resultobj = 0;
13701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13702 void *argp1 = 0 ;
13703 int res1 = 0 ;
13704 PyObject *swig_obj[1] ;
13705
13706 if (!args) SWIG_fail;
13707 swig_obj[0] = args;
13708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13709 if (!SWIG_IsOK(res1)) {
13710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_NewLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13711 }
13712 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 (arg1)->NewLine();
13716 wxPyEndAllowThreads(__tstate);
13717 if (PyErr_Occurred()) SWIG_fail;
13718 }
13719 resultobj = SWIG_Py_Void();
13720 return resultobj;
13721fail:
13722 return NULL;
7bdb1bc4
RD
13723}
13724
13725
554f62e9
RD
13726SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13727 PyObject *resultobj = 0;
13728 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13729 void *argp1 = 0 ;
13730 int res1 = 0 ;
13731 PyObject *swig_obj[1] ;
13732
13733 if (!args) SWIG_fail;
13734 swig_obj[0] = args;
13735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13736 if (!SWIG_IsOK(res1)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormFeed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13738 }
13739 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13740 {
13741 PyThreadState* __tstate = wxPyBeginAllowThreads();
13742 (arg1)->FormFeed();
13743 wxPyEndAllowThreads(__tstate);
13744 if (PyErr_Occurred()) SWIG_fail;
13745 }
13746 resultobj = SWIG_Py_Void();
13747 return resultobj;
13748fail:
13749 return NULL;
7bdb1bc4
RD
13750}
13751
13752
554f62e9
RD
13753SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13754 PyObject *resultobj = 0;
13755 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13756 void *argp1 = 0 ;
13757 int res1 = 0 ;
13758 PyObject *swig_obj[1] ;
13759
13760 if (!args) SWIG_fail;
13761 swig_obj[0] = args;
13762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13763 if (!SWIG_IsOK(res1)) {
13764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHome" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13765 }
13766 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 (arg1)->VCHome();
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 resultobj = SWIG_Py_Void();
13774 return resultobj;
13775fail:
13776 return NULL;
7bdb1bc4
RD
13777}
13778
13779
554f62e9
RD
13780SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13781 PyObject *resultobj = 0;
13782 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13783 void *argp1 = 0 ;
13784 int res1 = 0 ;
13785 PyObject *swig_obj[1] ;
13786
13787 if (!args) SWIG_fail;
13788 swig_obj[0] = args;
13789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13790 if (!SWIG_IsOK(res1)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13792 }
13793 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13794 {
13795 PyThreadState* __tstate = wxPyBeginAllowThreads();
13796 (arg1)->VCHomeExtend();
13797 wxPyEndAllowThreads(__tstate);
13798 if (PyErr_Occurred()) SWIG_fail;
13799 }
13800 resultobj = SWIG_Py_Void();
13801 return resultobj;
13802fail:
13803 return NULL;
7bdb1bc4
RD
13804}
13805
13806
554f62e9
RD
13807SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13808 PyObject *resultobj = 0;
13809 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13810 void *argp1 = 0 ;
13811 int res1 = 0 ;
13812 PyObject *swig_obj[1] ;
13813
13814 if (!args) SWIG_fail;
13815 swig_obj[0] = args;
13816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13817 if (!SWIG_IsOK(res1)) {
13818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomIn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13819 }
13820 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13821 {
13822 PyThreadState* __tstate = wxPyBeginAllowThreads();
13823 (arg1)->ZoomIn();
13824 wxPyEndAllowThreads(__tstate);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 resultobj = SWIG_Py_Void();
13828 return resultobj;
13829fail:
13830 return NULL;
7bdb1bc4
RD
13831}
13832
13833
554f62e9
RD
13834SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13835 PyObject *resultobj = 0;
13836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13837 void *argp1 = 0 ;
13838 int res1 = 0 ;
13839 PyObject *swig_obj[1] ;
13840
13841 if (!args) SWIG_fail;
13842 swig_obj[0] = args;
13843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13844 if (!SWIG_IsOK(res1)) {
13845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomOut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13846 }
13847 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13848 {
13849 PyThreadState* __tstate = wxPyBeginAllowThreads();
13850 (arg1)->ZoomOut();
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 resultobj = SWIG_Py_Void();
13855 return resultobj;
13856fail:
13857 return NULL;
7bdb1bc4
RD
13858}
13859
13860
554f62e9
RD
13861SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13862 PyObject *resultobj = 0;
13863 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13864 void *argp1 = 0 ;
13865 int res1 = 0 ;
13866 PyObject *swig_obj[1] ;
13867
13868 if (!args) SWIG_fail;
13869 swig_obj[0] = args;
13870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13871 if (!SWIG_IsOK(res1)) {
13872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13873 }
13874 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 (arg1)->DelWordLeft();
13878 wxPyEndAllowThreads(__tstate);
13879 if (PyErr_Occurred()) SWIG_fail;
13880 }
13881 resultobj = SWIG_Py_Void();
13882 return resultobj;
13883fail:
13884 return NULL;
7bdb1bc4
RD
13885}
13886
13887
554f62e9
RD
13888SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13889 PyObject *resultobj = 0;
13890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13891 void *argp1 = 0 ;
13892 int res1 = 0 ;
13893 PyObject *swig_obj[1] ;
13894
13895 if (!args) SWIG_fail;
13896 swig_obj[0] = args;
13897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13898 if (!SWIG_IsOK(res1)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13900 }
13901 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13902 {
13903 PyThreadState* __tstate = wxPyBeginAllowThreads();
13904 (arg1)->DelWordRight();
13905 wxPyEndAllowThreads(__tstate);
13906 if (PyErr_Occurred()) SWIG_fail;
13907 }
13908 resultobj = SWIG_Py_Void();
13909 return resultobj;
13910fail:
13911 return NULL;
7bdb1bc4
RD
13912}
13913
13914
554f62e9
RD
13915SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13916 PyObject *resultobj = 0;
13917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13918 void *argp1 = 0 ;
13919 int res1 = 0 ;
13920 PyObject *swig_obj[1] ;
13921
13922 if (!args) SWIG_fail;
13923 swig_obj[0] = args;
13924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13925 if (!SWIG_IsOK(res1)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13927 }
13928 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13929 {
13930 PyThreadState* __tstate = wxPyBeginAllowThreads();
13931 (arg1)->LineCut();
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 resultobj = SWIG_Py_Void();
13936 return resultobj;
13937fail:
13938 return NULL;
7bdb1bc4
RD
13939}
13940
13941
554f62e9
RD
13942SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13943 PyObject *resultobj = 0;
13944 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13945 void *argp1 = 0 ;
13946 int res1 = 0 ;
13947 PyObject *swig_obj[1] ;
13948
13949 if (!args) SWIG_fail;
13950 swig_obj[0] = args;
13951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13952 if (!SWIG_IsOK(res1)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13954 }
13955 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13956 {
13957 PyThreadState* __tstate = wxPyBeginAllowThreads();
13958 (arg1)->LineDelete();
13959 wxPyEndAllowThreads(__tstate);
13960 if (PyErr_Occurred()) SWIG_fail;
13961 }
13962 resultobj = SWIG_Py_Void();
13963 return resultobj;
13964fail:
13965 return NULL;
7bdb1bc4
RD
13966}
13967
13968
554f62e9
RD
13969SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13970 PyObject *resultobj = 0;
13971 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13972 void *argp1 = 0 ;
13973 int res1 = 0 ;
13974 PyObject *swig_obj[1] ;
13975
13976 if (!args) SWIG_fail;
13977 swig_obj[0] = args;
13978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13979 if (!SWIG_IsOK(res1)) {
13980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineTranspose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13981 }
13982 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13983 {
13984 PyThreadState* __tstate = wxPyBeginAllowThreads();
13985 (arg1)->LineTranspose();
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
13989 resultobj = SWIG_Py_Void();
13990 return resultobj;
13991fail:
13992 return NULL;
7bdb1bc4
RD
13993}
13994
13995
554f62e9
RD
13996SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13997 PyObject *resultobj = 0;
13998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13999 void *argp1 = 0 ;
14000 int res1 = 0 ;
14001 PyObject *swig_obj[1] ;
14002
14003 if (!args) SWIG_fail;
14004 swig_obj[0] = args;
14005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14006 if (!SWIG_IsOK(res1)) {
14007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14008 }
14009 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14010 {
14011 PyThreadState* __tstate = wxPyBeginAllowThreads();
14012 (arg1)->LineDuplicate();
14013 wxPyEndAllowThreads(__tstate);
14014 if (PyErr_Occurred()) SWIG_fail;
14015 }
14016 resultobj = SWIG_Py_Void();
14017 return resultobj;
14018fail:
14019 return NULL;
7bdb1bc4
RD
14020}
14021
14022
554f62e9
RD
14023SWIGINTERN PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14024 PyObject *resultobj = 0;
14025 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14026 void *argp1 = 0 ;
14027 int res1 = 0 ;
14028 PyObject *swig_obj[1] ;
14029
14030 if (!args) SWIG_fail;
14031 swig_obj[0] = args;
14032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14033 if (!SWIG_IsOK(res1)) {
14034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LowerCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14035 }
14036 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 (arg1)->LowerCase();
14040 wxPyEndAllowThreads(__tstate);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 resultobj = SWIG_Py_Void();
14044 return resultobj;
14045fail:
14046 return NULL;
7bdb1bc4
RD
14047}
14048
14049
554f62e9
RD
14050SWIGINTERN PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14051 PyObject *resultobj = 0;
14052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14053 void *argp1 = 0 ;
14054 int res1 = 0 ;
14055 PyObject *swig_obj[1] ;
14056
14057 if (!args) SWIG_fail;
14058 swig_obj[0] = args;
14059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14060 if (!SWIG_IsOK(res1)) {
14061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UpperCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14062 }
14063 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 (arg1)->UpperCase();
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
14070 resultobj = SWIG_Py_Void();
14071 return resultobj;
14072fail:
14073 return NULL;
7bdb1bc4
RD
14074}
14075
14076
554f62e9
RD
14077SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14078 PyObject *resultobj = 0;
14079 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14080 void *argp1 = 0 ;
14081 int res1 = 0 ;
14082 PyObject *swig_obj[1] ;
14083
14084 if (!args) SWIG_fail;
14085 swig_obj[0] = args;
14086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14087 if (!SWIG_IsOK(res1)) {
14088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14089 }
14090 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14091 {
14092 PyThreadState* __tstate = wxPyBeginAllowThreads();
14093 (arg1)->LineScrollDown();
14094 wxPyEndAllowThreads(__tstate);
14095 if (PyErr_Occurred()) SWIG_fail;
14096 }
14097 resultobj = SWIG_Py_Void();
14098 return resultobj;
14099fail:
14100 return NULL;
7bdb1bc4
RD
14101}
14102
14103
554f62e9
RD
14104SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14105 PyObject *resultobj = 0;
14106 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14107 void *argp1 = 0 ;
14108 int res1 = 0 ;
14109 PyObject *swig_obj[1] ;
14110
14111 if (!args) SWIG_fail;
14112 swig_obj[0] = args;
14113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14114 if (!SWIG_IsOK(res1)) {
14115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14116 }
14117 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14118 {
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 (arg1)->LineScrollUp();
14121 wxPyEndAllowThreads(__tstate);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 resultobj = SWIG_Py_Void();
14125 return resultobj;
14126fail:
14127 return NULL;
7bdb1bc4
RD
14128}
14129
14130
554f62e9
RD
14131SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14132 PyObject *resultobj = 0;
14133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14134 void *argp1 = 0 ;
14135 int res1 = 0 ;
14136 PyObject *swig_obj[1] ;
14137
14138 if (!args) SWIG_fail;
14139 swig_obj[0] = args;
14140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14141 if (!SWIG_IsOK(res1)) {
14142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBackNotLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14143 }
14144 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14145 {
14146 PyThreadState* __tstate = wxPyBeginAllowThreads();
14147 (arg1)->DeleteBackNotLine();
14148 wxPyEndAllowThreads(__tstate);
14149 if (PyErr_Occurred()) SWIG_fail;
14150 }
14151 resultobj = SWIG_Py_Void();
14152 return resultobj;
14153fail:
14154 return NULL;
7bdb1bc4
RD
14155}
14156
14157
554f62e9
RD
14158SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14159 PyObject *resultobj = 0;
14160 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14161 void *argp1 = 0 ;
14162 int res1 = 0 ;
14163 PyObject *swig_obj[1] ;
14164
14165 if (!args) SWIG_fail;
14166 swig_obj[0] = args;
14167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14168 if (!SWIG_IsOK(res1)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14170 }
14171 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14172 {
14173 PyThreadState* __tstate = wxPyBeginAllowThreads();
14174 (arg1)->HomeDisplay();
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 resultobj = SWIG_Py_Void();
14179 return resultobj;
14180fail:
14181 return NULL;
7bdb1bc4
RD
14182}
14183
14184
554f62e9
RD
14185SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14186 PyObject *resultobj = 0;
14187 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14188 void *argp1 = 0 ;
14189 int res1 = 0 ;
14190 PyObject *swig_obj[1] ;
14191
14192 if (!args) SWIG_fail;
14193 swig_obj[0] = args;
14194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14195 if (!SWIG_IsOK(res1)) {
14196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14197 }
14198 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14199 {
14200 PyThreadState* __tstate = wxPyBeginAllowThreads();
14201 (arg1)->HomeDisplayExtend();
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 resultobj = SWIG_Py_Void();
14206 return resultobj;
14207fail:
14208 return NULL;
7bdb1bc4
RD
14209}
14210
14211
554f62e9
RD
14212SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14213 PyObject *resultobj = 0;
14214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14215 void *argp1 = 0 ;
14216 int res1 = 0 ;
14217 PyObject *swig_obj[1] ;
14218
14219 if (!args) SWIG_fail;
14220 swig_obj[0] = args;
14221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14222 if (!SWIG_IsOK(res1)) {
14223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14224 }
14225 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14226 {
14227 PyThreadState* __tstate = wxPyBeginAllowThreads();
14228 (arg1)->LineEndDisplay();
14229 wxPyEndAllowThreads(__tstate);
14230 if (PyErr_Occurred()) SWIG_fail;
14231 }
14232 resultobj = SWIG_Py_Void();
14233 return resultobj;
14234fail:
14235 return NULL;
7bdb1bc4
RD
14236}
14237
14238
554f62e9
RD
14239SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14240 PyObject *resultobj = 0;
14241 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14242 void *argp1 = 0 ;
14243 int res1 = 0 ;
14244 PyObject *swig_obj[1] ;
14245
14246 if (!args) SWIG_fail;
14247 swig_obj[0] = args;
14248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14249 if (!SWIG_IsOK(res1)) {
14250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14251 }
14252 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14253 {
14254 PyThreadState* __tstate = wxPyBeginAllowThreads();
14255 (arg1)->LineEndDisplayExtend();
14256 wxPyEndAllowThreads(__tstate);
14257 if (PyErr_Occurred()) SWIG_fail;
14258 }
14259 resultobj = SWIG_Py_Void();
14260 return resultobj;
14261fail:
14262 return NULL;
7bdb1bc4
RD
14263}
14264
14265
554f62e9
RD
14266SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14267 PyObject *resultobj = 0;
14268 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14269 void *argp1 = 0 ;
14270 int res1 = 0 ;
14271 PyObject *swig_obj[1] ;
14272
14273 if (!args) SWIG_fail;
14274 swig_obj[0] = args;
14275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14276 if (!SWIG_IsOK(res1)) {
14277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14278 }
14279 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14280 {
14281 PyThreadState* __tstate = wxPyBeginAllowThreads();
14282 (arg1)->HomeWrap();
14283 wxPyEndAllowThreads(__tstate);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 resultobj = SWIG_Py_Void();
14287 return resultobj;
14288fail:
14289 return NULL;
7bdb1bc4
RD
14290}
14291
14292
554f62e9
RD
14293SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14294 PyObject *resultobj = 0;
14295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14296 void *argp1 = 0 ;
14297 int res1 = 0 ;
14298 PyObject *swig_obj[1] ;
14299
14300 if (!args) SWIG_fail;
14301 swig_obj[0] = args;
14302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14303 if (!SWIG_IsOK(res1)) {
14304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14305 }
14306 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14307 {
14308 PyThreadState* __tstate = wxPyBeginAllowThreads();
14309 (arg1)->HomeWrapExtend();
14310 wxPyEndAllowThreads(__tstate);
14311 if (PyErr_Occurred()) SWIG_fail;
14312 }
14313 resultobj = SWIG_Py_Void();
14314 return resultobj;
14315fail:
14316 return NULL;
7bdb1bc4
RD
14317}
14318
14319
554f62e9
RD
14320SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14321 PyObject *resultobj = 0;
14322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14323 void *argp1 = 0 ;
14324 int res1 = 0 ;
14325 PyObject *swig_obj[1] ;
14326
14327 if (!args) SWIG_fail;
14328 swig_obj[0] = args;
14329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14330 if (!SWIG_IsOK(res1)) {
14331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14332 }
14333 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14334 {
14335 PyThreadState* __tstate = wxPyBeginAllowThreads();
14336 (arg1)->LineEndWrap();
14337 wxPyEndAllowThreads(__tstate);
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
14340 resultobj = SWIG_Py_Void();
14341 return resultobj;
14342fail:
14343 return NULL;
7bdb1bc4
RD
14344}
14345
14346
554f62e9
RD
14347SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14348 PyObject *resultobj = 0;
14349 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14350 void *argp1 = 0 ;
14351 int res1 = 0 ;
14352 PyObject *swig_obj[1] ;
14353
14354 if (!args) SWIG_fail;
14355 swig_obj[0] = args;
14356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14357 if (!SWIG_IsOK(res1)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14359 }
14360 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 (arg1)->LineEndWrapExtend();
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 resultobj = SWIG_Py_Void();
14368 return resultobj;
14369fail:
14370 return NULL;
7bdb1bc4
RD
14371}
14372
14373
554f62e9
RD
14374SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14375 PyObject *resultobj = 0;
14376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14377 void *argp1 = 0 ;
14378 int res1 = 0 ;
14379 PyObject *swig_obj[1] ;
14380
14381 if (!args) SWIG_fail;
14382 swig_obj[0] = args;
14383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14384 if (!SWIG_IsOK(res1)) {
14385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14386 }
14387 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14388 {
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 (arg1)->VCHomeWrap();
14391 wxPyEndAllowThreads(__tstate);
14392 if (PyErr_Occurred()) SWIG_fail;
14393 }
14394 resultobj = SWIG_Py_Void();
14395 return resultobj;
14396fail:
14397 return NULL;
7bdb1bc4
RD
14398}
14399
14400
554f62e9
RD
14401SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14402 PyObject *resultobj = 0;
14403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14404 void *argp1 = 0 ;
14405 int res1 = 0 ;
14406 PyObject *swig_obj[1] ;
14407
14408 if (!args) SWIG_fail;
14409 swig_obj[0] = args;
14410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14411 if (!SWIG_IsOK(res1)) {
14412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14413 }
14414 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 (arg1)->VCHomeWrapExtend();
14418 wxPyEndAllowThreads(__tstate);
14419 if (PyErr_Occurred()) SWIG_fail;
14420 }
14421 resultobj = SWIG_Py_Void();
14422 return resultobj;
14423fail:
14424 return NULL;
7bdb1bc4
RD
14425}
14426
14427
554f62e9
RD
14428SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14429 PyObject *resultobj = 0;
14430 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14431 void *argp1 = 0 ;
14432 int res1 = 0 ;
14433 PyObject *swig_obj[1] ;
14434
14435 if (!args) SWIG_fail;
14436 swig_obj[0] = args;
14437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14438 if (!SWIG_IsOK(res1)) {
14439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCopy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14440 }
14441 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 (arg1)->LineCopy();
14445 wxPyEndAllowThreads(__tstate);
14446 if (PyErr_Occurred()) SWIG_fail;
14447 }
14448 resultobj = SWIG_Py_Void();
14449 return resultobj;
14450fail:
14451 return NULL;
7bdb1bc4
RD
14452}
14453
14454
554f62e9
RD
14455SWIGINTERN PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14456 PyObject *resultobj = 0;
14457 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14458 void *argp1 = 0 ;
14459 int res1 = 0 ;
14460 PyObject *swig_obj[1] ;
14461
14462 if (!args) SWIG_fail;
14463 swig_obj[0] = args;
14464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14465 if (!SWIG_IsOK(res1)) {
14466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MoveCaretInsideView" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14467 }
14468 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14469 {
14470 PyThreadState* __tstate = wxPyBeginAllowThreads();
14471 (arg1)->MoveCaretInsideView();
14472 wxPyEndAllowThreads(__tstate);
14473 if (PyErr_Occurred()) SWIG_fail;
14474 }
14475 resultobj = SWIG_Py_Void();
14476 return resultobj;
14477fail:
14478 return NULL;
14479}
14480
14481
14482SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14483 PyObject *resultobj = 0;
14484 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14485 int arg2 ;
14486 int result;
14487 void *argp1 = 0 ;
14488 int res1 = 0 ;
14489 int val2 ;
14490 int ecode2 = 0 ;
14491 PyObject * obj0 = 0 ;
14492 PyObject * obj1 = 0 ;
14493 char * kwnames[] = {
14494 (char *) "self",(char *) "line", NULL
14495 };
14496
14497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) SWIG_fail;
14498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14499 if (!SWIG_IsOK(res1)) {
14500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14501 }
14502 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14503 ecode2 = SWIG_AsVal_int(obj1, &val2);
14504 if (!SWIG_IsOK(ecode2)) {
14505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "2"" of type '" "int""'");
14506 }
14507 arg2 = static_cast< int >(val2);
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (int)(arg1)->LineLength(arg2);
14511 wxPyEndAllowThreads(__tstate);
14512 if (PyErr_Occurred()) SWIG_fail;
14513 }
14514 resultobj = SWIG_From_int(static_cast< int >(result));
14515 return resultobj;
14516fail:
14517 return NULL;
14518}
14519
14520
14521SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14522 PyObject *resultobj = 0;
14523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14524 int arg2 ;
14525 int arg3 ;
14526 void *argp1 = 0 ;
14527 int res1 = 0 ;
14528 int val2 ;
14529 int ecode2 = 0 ;
14530 int val3 ;
14531 int ecode3 = 0 ;
14532 PyObject * obj0 = 0 ;
14533 PyObject * obj1 = 0 ;
14534 PyObject * obj2 = 0 ;
14535 char * kwnames[] = {
14536 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
14537 };
14538
14539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14541 if (!SWIG_IsOK(res1)) {
14542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14543 }
14544 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14545 ecode2 = SWIG_AsVal_int(obj1, &val2);
14546 if (!SWIG_IsOK(ecode2)) {
14547 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "2"" of type '" "int""'");
14548 }
14549 arg2 = static_cast< int >(val2);
14550 ecode3 = SWIG_AsVal_int(obj2, &val3);
14551 if (!SWIG_IsOK(ecode3)) {
14552 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "3"" of type '" "int""'");
14553 }
14554 arg3 = static_cast< int >(val3);
14555 {
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 (arg1)->BraceHighlight(arg2,arg3);
14558 wxPyEndAllowThreads(__tstate);
14559 if (PyErr_Occurred()) SWIG_fail;
14560 }
14561 resultobj = SWIG_Py_Void();
14562 return resultobj;
14563fail:
14564 return NULL;
14565}
14566
14567
14568SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14569 PyObject *resultobj = 0;
14570 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14571 int arg2 ;
14572 void *argp1 = 0 ;
14573 int res1 = 0 ;
14574 int val2 ;
14575 int ecode2 = 0 ;
14576 PyObject * obj0 = 0 ;
14577 PyObject * obj1 = 0 ;
14578 char * kwnames[] = {
14579 (char *) "self",(char *) "pos", NULL
14580 };
14581
14582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) SWIG_fail;
14583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14584 if (!SWIG_IsOK(res1)) {
14585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14586 }
14587 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14588 ecode2 = SWIG_AsVal_int(obj1, &val2);
14589 if (!SWIG_IsOK(ecode2)) {
14590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "2"" of type '" "int""'");
14591 }
14592 arg2 = static_cast< int >(val2);
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 (arg1)->BraceBadLight(arg2);
14596 wxPyEndAllowThreads(__tstate);
14597 if (PyErr_Occurred()) SWIG_fail;
14598 }
14599 resultobj = SWIG_Py_Void();
14600 return resultobj;
14601fail:
14602 return NULL;
14603}
14604
14605
14606SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14607 PyObject *resultobj = 0;
14608 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14609 int arg2 ;
14610 int result;
14611 void *argp1 = 0 ;
14612 int res1 = 0 ;
14613 int val2 ;
14614 int ecode2 = 0 ;
14615 PyObject * obj0 = 0 ;
14616 PyObject * obj1 = 0 ;
14617 char * kwnames[] = {
14618 (char *) "self",(char *) "pos", NULL
14619 };
14620
14621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) SWIG_fail;
14622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14623 if (!SWIG_IsOK(res1)) {
14624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14625 }
14626 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14627 ecode2 = SWIG_AsVal_int(obj1, &val2);
14628 if (!SWIG_IsOK(ecode2)) {
14629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "2"" of type '" "int""'");
14630 }
14631 arg2 = static_cast< int >(val2);
14632 {
14633 PyThreadState* __tstate = wxPyBeginAllowThreads();
14634 result = (int)(arg1)->BraceMatch(arg2);
14635 wxPyEndAllowThreads(__tstate);
14636 if (PyErr_Occurred()) SWIG_fail;
14637 }
14638 resultobj = SWIG_From_int(static_cast< int >(result));
14639 return resultobj;
14640fail:
14641 return NULL;
7bdb1bc4
RD
14642}
14643
14644
554f62e9
RD
14645SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14646 PyObject *resultobj = 0;
14647 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14648 bool result;
14649 void *argp1 = 0 ;
14650 int res1 = 0 ;
14651 PyObject *swig_obj[1] ;
14652
14653 if (!args) SWIG_fail;
14654 swig_obj[0] = args;
14655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14656 if (!SWIG_IsOK(res1)) {
14657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14658 }
14659 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14660 {
14661 PyThreadState* __tstate = wxPyBeginAllowThreads();
14662 result = (bool)(arg1)->GetViewEOL();
14663 wxPyEndAllowThreads(__tstate);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
14666 {
14667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14668 }
14669 return resultobj;
14670fail:
14671 return NULL;
14672}
14673
14674
14675SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14676 PyObject *resultobj = 0;
14677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14678 bool arg2 ;
14679 void *argp1 = 0 ;
14680 int res1 = 0 ;
14681 bool val2 ;
14682 int ecode2 = 0 ;
14683 PyObject * obj0 = 0 ;
14684 PyObject * obj1 = 0 ;
14685 char * kwnames[] = {
14686 (char *) "self",(char *) "visible", NULL
14687 };
14688
14689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) SWIG_fail;
14690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14691 if (!SWIG_IsOK(res1)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14693 }
14694 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14695 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14696 if (!SWIG_IsOK(ecode2)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "2"" of type '" "bool""'");
14698 }
14699 arg2 = static_cast< bool >(val2);
14700 {
14701 PyThreadState* __tstate = wxPyBeginAllowThreads();
14702 (arg1)->SetViewEOL(arg2);
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 resultobj = SWIG_Py_Void();
14707 return resultobj;
14708fail:
14709 return NULL;
7bdb1bc4
RD
14710}
14711
14712
554f62e9
RD
14713SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14714 PyObject *resultobj = 0;
14715 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14716 void *result = 0 ;
14717 void *argp1 = 0 ;
14718 int res1 = 0 ;
14719 PyObject *swig_obj[1] ;
14720
14721 if (!args) SWIG_fail;
14722 swig_obj[0] = args;
14723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14724 if (!SWIG_IsOK(res1)) {
14725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14726 }
14727 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 result = (void *)(arg1)->GetDocPointer();
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
14735 return resultobj;
14736fail:
14737 return NULL;
14738}
14739
14740
14741SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14742 PyObject *resultobj = 0;
14743 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14744 void *arg2 = (void *) 0 ;
14745 void *argp1 = 0 ;
14746 int res1 = 0 ;
14747 int res2 ;
14748 PyObject * obj0 = 0 ;
14749 PyObject * obj1 = 0 ;
14750 char * kwnames[] = {
14751 (char *) "self",(char *) "docPointer", NULL
14752 };
14753
14754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) SWIG_fail;
14755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14756 if (!SWIG_IsOK(res1)) {
14757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14758 }
14759 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14760 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
14761 if (!SWIG_IsOK(res2)) {
14762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "2"" of type '" "void *""'");
14763 }
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 (arg1)->SetDocPointer(arg2);
14767 wxPyEndAllowThreads(__tstate);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
14770 resultobj = SWIG_Py_Void();
14771 return resultobj;
14772fail:
14773 return NULL;
14774}
14775
14776
14777SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14778 PyObject *resultobj = 0;
14779 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14780 int arg2 ;
14781 void *argp1 = 0 ;
14782 int res1 = 0 ;
14783 int val2 ;
14784 int ecode2 = 0 ;
14785 PyObject * obj0 = 0 ;
14786 PyObject * obj1 = 0 ;
14787 char * kwnames[] = {
14788 (char *) "self",(char *) "mask", NULL
14789 };
14790
14791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) SWIG_fail;
14792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14793 if (!SWIG_IsOK(res1)) {
14794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14795 }
14796 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14797 ecode2 = SWIG_AsVal_int(obj1, &val2);
14798 if (!SWIG_IsOK(ecode2)) {
14799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "2"" of type '" "int""'");
14800 }
14801 arg2 = static_cast< int >(val2);
14802 {
14803 PyThreadState* __tstate = wxPyBeginAllowThreads();
14804 (arg1)->SetModEventMask(arg2);
14805 wxPyEndAllowThreads(__tstate);
14806 if (PyErr_Occurred()) SWIG_fail;
14807 }
14808 resultobj = SWIG_Py_Void();
14809 return resultobj;
14810fail:
14811 return NULL;
7bdb1bc4
RD
14812}
14813
14814
554f62e9
RD
14815SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14816 PyObject *resultobj = 0;
14817 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14818 int result;
14819 void *argp1 = 0 ;
14820 int res1 = 0 ;
14821 PyObject *swig_obj[1] ;
14822
14823 if (!args) SWIG_fail;
14824 swig_obj[0] = args;
14825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14826 if (!SWIG_IsOK(res1)) {
14827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14828 }
14829 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 result = (int)(arg1)->GetEdgeColumn();
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
14836 resultobj = SWIG_From_int(static_cast< int >(result));
14837 return resultobj;
14838fail:
14839 return NULL;
14840}
14841
14842
14843SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14844 PyObject *resultobj = 0;
14845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14846 int arg2 ;
14847 void *argp1 = 0 ;
14848 int res1 = 0 ;
14849 int val2 ;
14850 int ecode2 = 0 ;
14851 PyObject * obj0 = 0 ;
14852 PyObject * obj1 = 0 ;
14853 char * kwnames[] = {
14854 (char *) "self",(char *) "column", NULL
14855 };
14856
14857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14859 if (!SWIG_IsOK(res1)) {
14860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14861 }
14862 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14863 ecode2 = SWIG_AsVal_int(obj1, &val2);
14864 if (!SWIG_IsOK(ecode2)) {
14865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "2"" of type '" "int""'");
14866 }
14867 arg2 = static_cast< int >(val2);
14868 {
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 (arg1)->SetEdgeColumn(arg2);
14871 wxPyEndAllowThreads(__tstate);
14872 if (PyErr_Occurred()) SWIG_fail;
14873 }
14874 resultobj = SWIG_Py_Void();
14875 return resultobj;
14876fail:
14877 return NULL;
7bdb1bc4
RD
14878}
14879
14880
554f62e9
RD
14881SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14882 PyObject *resultobj = 0;
14883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14884 int result;
14885 void *argp1 = 0 ;
14886 int res1 = 0 ;
14887 PyObject *swig_obj[1] ;
14888
14889 if (!args) SWIG_fail;
14890 swig_obj[0] = args;
14891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14892 if (!SWIG_IsOK(res1)) {
14893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14894 }
14895 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14896 {
14897 PyThreadState* __tstate = wxPyBeginAllowThreads();
14898 result = (int)(arg1)->GetEdgeMode();
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 resultobj = SWIG_From_int(static_cast< int >(result));
14903 return resultobj;
14904fail:
14905 return NULL;
14906}
14907
14908
14909SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj = 0;
14911 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14912 int arg2 ;
14913 void *argp1 = 0 ;
14914 int res1 = 0 ;
14915 int val2 ;
14916 int ecode2 = 0 ;
14917 PyObject * obj0 = 0 ;
14918 PyObject * obj1 = 0 ;
14919 char * kwnames[] = {
14920 (char *) "self",(char *) "mode", NULL
14921 };
14922
14923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) SWIG_fail;
14924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14925 if (!SWIG_IsOK(res1)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14927 }
14928 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14929 ecode2 = SWIG_AsVal_int(obj1, &val2);
14930 if (!SWIG_IsOK(ecode2)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "2"" of type '" "int""'");
14932 }
14933 arg2 = static_cast< int >(val2);
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 (arg1)->SetEdgeMode(arg2);
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 resultobj = SWIG_Py_Void();
14941 return resultobj;
14942fail:
14943 return NULL;
7bdb1bc4
RD
14944}
14945
14946
554f62e9
RD
14947SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14948 PyObject *resultobj = 0;
14949 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14950 wxColour result;
14951 void *argp1 = 0 ;
14952 int res1 = 0 ;
14953 PyObject *swig_obj[1] ;
14954
14955 if (!args) SWIG_fail;
14956 swig_obj[0] = args;
14957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14958 if (!SWIG_IsOK(res1)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14960 }
14961 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14962 {
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 result = (arg1)->GetEdgeColour();
14965 wxPyEndAllowThreads(__tstate);
14966 if (PyErr_Occurred()) SWIG_fail;
14967 }
14968 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
14969 return resultobj;
14970fail:
14971 return NULL;
14972}
14973
14974
14975SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14976 PyObject *resultobj = 0;
14977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14978 wxColour *arg2 = 0 ;
14979 void *argp1 = 0 ;
14980 int res1 = 0 ;
14981 wxColour temp2 ;
14982 PyObject * obj0 = 0 ;
14983 PyObject * obj1 = 0 ;
14984 char * kwnames[] = {
14985 (char *) "self",(char *) "edgeColour", NULL
14986 };
14987
14988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) SWIG_fail;
14989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14990 if (!SWIG_IsOK(res1)) {
14991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14992 }
14993 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14994 {
14995 arg2 = &temp2;
14996 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14997 }
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 (arg1)->SetEdgeColour((wxColour const &)*arg2);
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 resultobj = SWIG_Py_Void();
15005 return resultobj;
15006fail:
15007 return NULL;
7bdb1bc4
RD
15008}
15009
15010
554f62e9
RD
15011SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15012 PyObject *resultobj = 0;
15013 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15014 void *argp1 = 0 ;
15015 int res1 = 0 ;
15016 PyObject *swig_obj[1] ;
15017
15018 if (!args) SWIG_fail;
15019 swig_obj[0] = args;
15020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15021 if (!SWIG_IsOK(res1)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15023 }
15024 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15025 {
15026 PyThreadState* __tstate = wxPyBeginAllowThreads();
15027 (arg1)->SearchAnchor();
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 resultobj = SWIG_Py_Void();
15032 return resultobj;
15033fail:
15034 return NULL;
15035}
15036
15037
15038SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15039 PyObject *resultobj = 0;
15040 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15041 int arg2 ;
15042 wxString *arg3 = 0 ;
15043 int result;
15044 void *argp1 = 0 ;
15045 int res1 = 0 ;
15046 int val2 ;
15047 int ecode2 = 0 ;
15048 bool temp3 = false ;
15049 PyObject * obj0 = 0 ;
15050 PyObject * obj1 = 0 ;
15051 PyObject * obj2 = 0 ;
15052 char * kwnames[] = {
15053 (char *) "self",(char *) "flags",(char *) "text", NULL
15054 };
15055
15056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15058 if (!SWIG_IsOK(res1)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15060 }
15061 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15062 ecode2 = SWIG_AsVal_int(obj1, &val2);
15063 if (!SWIG_IsOK(ecode2)) {
15064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "2"" of type '" "int""'");
15065 }
15066 arg2 = static_cast< int >(val2);
15067 {
15068 arg3 = wxString_in_helper(obj2);
15069 if (arg3 == NULL) SWIG_fail;
15070 temp3 = true;
15071 }
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 resultobj = SWIG_From_int(static_cast< int >(result));
15079 {
15080 if (temp3)
15081 delete arg3;
15082 }
15083 return resultobj;
15084fail:
15085 {
15086 if (temp3)
15087 delete arg3;
15088 }
15089 return NULL;
15090}
15091
15092
15093SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15094 PyObject *resultobj = 0;
15095 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15096 int arg2 ;
15097 wxString *arg3 = 0 ;
15098 int result;
15099 void *argp1 = 0 ;
15100 int res1 = 0 ;
15101 int val2 ;
15102 int ecode2 = 0 ;
15103 bool temp3 = false ;
15104 PyObject * obj0 = 0 ;
15105 PyObject * obj1 = 0 ;
15106 PyObject * obj2 = 0 ;
15107 char * kwnames[] = {
15108 (char *) "self",(char *) "flags",(char *) "text", NULL
15109 };
15110
15111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15113 if (!SWIG_IsOK(res1)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15115 }
15116 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15117 ecode2 = SWIG_AsVal_int(obj1, &val2);
15118 if (!SWIG_IsOK(ecode2)) {
15119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "2"" of type '" "int""'");
15120 }
15121 arg2 = static_cast< int >(val2);
15122 {
15123 arg3 = wxString_in_helper(obj2);
15124 if (arg3 == NULL) SWIG_fail;
15125 temp3 = true;
15126 }
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 resultobj = SWIG_From_int(static_cast< int >(result));
15134 {
15135 if (temp3)
15136 delete arg3;
15137 }
15138 return resultobj;
15139fail:
15140 {
15141 if (temp3)
15142 delete arg3;
15143 }
15144 return NULL;
7bdb1bc4
RD
15145}
15146
15147
554f62e9
RD
15148SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15149 PyObject *resultobj = 0;
15150 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15151 int result;
15152 void *argp1 = 0 ;
15153 int res1 = 0 ;
15154 PyObject *swig_obj[1] ;
15155
15156 if (!args) SWIG_fail;
15157 swig_obj[0] = args;
15158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15159 if (!SWIG_IsOK(res1)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesOnScreen" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15161 }
15162 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15163 {
15164 PyThreadState* __tstate = wxPyBeginAllowThreads();
15165 result = (int)(arg1)->LinesOnScreen();
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 resultobj = SWIG_From_int(static_cast< int >(result));
15170 return resultobj;
15171fail:
15172 return NULL;
15173}
15174
15175
15176SWIGINTERN PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj = 0;
15178 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15179 bool arg2 ;
15180 void *argp1 = 0 ;
15181 int res1 = 0 ;
15182 bool val2 ;
15183 int ecode2 = 0 ;
15184 PyObject * obj0 = 0 ;
15185 PyObject * obj1 = 0 ;
15186 char * kwnames[] = {
15187 (char *) "self",(char *) "allowPopUp", NULL
15188 };
15189
15190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) SWIG_fail;
15191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15192 if (!SWIG_IsOK(res1)) {
15193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15194 }
15195 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15196 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15197 if (!SWIG_IsOK(ecode2)) {
15198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "2"" of type '" "bool""'");
15199 }
15200 arg2 = static_cast< bool >(val2);
15201 {
15202 PyThreadState* __tstate = wxPyBeginAllowThreads();
15203 (arg1)->UsePopUp(arg2);
15204 wxPyEndAllowThreads(__tstate);
15205 if (PyErr_Occurred()) SWIG_fail;
15206 }
15207 resultobj = SWIG_Py_Void();
15208 return resultobj;
15209fail:
15210 return NULL;
7bdb1bc4
RD
15211}
15212
15213
554f62e9
RD
15214SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15215 PyObject *resultobj = 0;
15216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15217 bool result;
15218 void *argp1 = 0 ;
15219 int res1 = 0 ;
15220 PyObject *swig_obj[1] ;
15221
15222 if (!args) SWIG_fail;
15223 swig_obj[0] = args;
15224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15225 if (!SWIG_IsOK(res1)) {
15226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionIsRectangle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15227 }
15228 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 result = (bool)(arg1)->SelectionIsRectangle();
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 {
15236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15237 }
15238 return resultobj;
15239fail:
15240 return NULL;
15241}
15242
15243
15244SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15245 PyObject *resultobj = 0;
15246 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15247 int arg2 ;
15248 void *argp1 = 0 ;
15249 int res1 = 0 ;
15250 int val2 ;
15251 int ecode2 = 0 ;
15252 PyObject * obj0 = 0 ;
15253 PyObject * obj1 = 0 ;
15254 char * kwnames[] = {
15255 (char *) "self",(char *) "zoom", NULL
15256 };
15257
15258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
15259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15260 if (!SWIG_IsOK(res1)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15262 }
15263 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15264 ecode2 = SWIG_AsVal_int(obj1, &val2);
15265 if (!SWIG_IsOK(ecode2)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "2"" of type '" "int""'");
15267 }
15268 arg2 = static_cast< int >(val2);
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 (arg1)->SetZoom(arg2);
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 resultobj = SWIG_Py_Void();
15276 return resultobj;
15277fail:
15278 return NULL;
7bdb1bc4
RD
15279}
15280
15281
554f62e9
RD
15282SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15283 PyObject *resultobj = 0;
15284 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15285 int result;
15286 void *argp1 = 0 ;
15287 int res1 = 0 ;
15288 PyObject *swig_obj[1] ;
15289
15290 if (!args) SWIG_fail;
15291 swig_obj[0] = args;
15292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15293 if (!SWIG_IsOK(res1)) {
15294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15295 }
15296 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15297 {
15298 PyThreadState* __tstate = wxPyBeginAllowThreads();
15299 result = (int)(arg1)->GetZoom();
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 resultobj = SWIG_From_int(static_cast< int >(result));
15304 return resultobj;
15305fail:
15306 return NULL;
7bdb1bc4
RD
15307}
15308
15309
554f62e9
RD
15310SWIGINTERN PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15311 PyObject *resultobj = 0;
15312 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15313 void *result = 0 ;
15314 void *argp1 = 0 ;
15315 int res1 = 0 ;
15316 PyObject *swig_obj[1] ;
15317
15318 if (!args) SWIG_fail;
15319 swig_obj[0] = args;
15320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15321 if (!SWIG_IsOK(res1)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CreateDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15323 }
15324 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 result = (void *)(arg1)->CreateDocument();
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
15332 return resultobj;
15333fail:
15334 return NULL;
15335}
15336
15337
15338SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15339 PyObject *resultobj = 0;
15340 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15341 void *arg2 = (void *) 0 ;
15342 void *argp1 = 0 ;
15343 int res1 = 0 ;
15344 int res2 ;
15345 PyObject * obj0 = 0 ;
15346 PyObject * obj1 = 0 ;
15347 char * kwnames[] = {
15348 (char *) "self",(char *) "docPointer", NULL
15349 };
15350
15351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) SWIG_fail;
15352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15353 if (!SWIG_IsOK(res1)) {
15354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15355 }
15356 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15357 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
15358 if (!SWIG_IsOK(res2)) {
15359 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "2"" of type '" "void *""'");
15360 }
15361 {
15362 PyThreadState* __tstate = wxPyBeginAllowThreads();
15363 (arg1)->AddRefDocument(arg2);
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 resultobj = SWIG_Py_Void();
15368 return resultobj;
15369fail:
15370 return NULL;
15371}
15372
15373
15374SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15375 PyObject *resultobj = 0;
15376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15377 void *arg2 = (void *) 0 ;
15378 void *argp1 = 0 ;
15379 int res1 = 0 ;
15380 int res2 ;
15381 PyObject * obj0 = 0 ;
15382 PyObject * obj1 = 0 ;
15383 char * kwnames[] = {
15384 (char *) "self",(char *) "docPointer", NULL
15385 };
15386
15387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) SWIG_fail;
15388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15389 if (!SWIG_IsOK(res1)) {
15390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15391 }
15392 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15393 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
15394 if (!SWIG_IsOK(res2)) {
15395 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "2"" of type '" "void *""'");
15396 }
15397 {
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 (arg1)->ReleaseDocument(arg2);
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
15403 resultobj = SWIG_Py_Void();
15404 return resultobj;
15405fail:
15406 return NULL;
7bdb1bc4
RD
15407}
15408
15409
554f62e9
RD
15410SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15411 PyObject *resultobj = 0;
15412 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15413 int result;
15414 void *argp1 = 0 ;
15415 int res1 = 0 ;
15416 PyObject *swig_obj[1] ;
15417
15418 if (!args) SWIG_fail;
15419 swig_obj[0] = args;
15420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15421 if (!SWIG_IsOK(res1)) {
15422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15423 }
15424 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15425 {
15426 PyThreadState* __tstate = wxPyBeginAllowThreads();
15427 result = (int)(arg1)->GetModEventMask();
15428 wxPyEndAllowThreads(__tstate);
15429 if (PyErr_Occurred()) SWIG_fail;
15430 }
15431 resultobj = SWIG_From_int(static_cast< int >(result));
15432 return resultobj;
15433fail:
15434 return NULL;
15435}
15436
15437
15438SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15439 PyObject *resultobj = 0;
15440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15441 bool arg2 ;
15442 void *argp1 = 0 ;
15443 int res1 = 0 ;
15444 bool val2 ;
15445 int ecode2 = 0 ;
15446 PyObject * obj0 = 0 ;
15447 PyObject * obj1 = 0 ;
15448 char * kwnames[] = {
15449 (char *) "self",(char *) "focus", NULL
15450 };
15451
15452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) SWIG_fail;
15453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15454 if (!SWIG_IsOK(res1)) {
15455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15456 }
15457 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15458 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15459 if (!SWIG_IsOK(ecode2)) {
15460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "2"" of type '" "bool""'");
15461 }
15462 arg2 = static_cast< bool >(val2);
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 (arg1)->SetSTCFocus(arg2);
15466 wxPyEndAllowThreads(__tstate);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 }
15469 resultobj = SWIG_Py_Void();
15470 return resultobj;
15471fail:
15472 return NULL;
7bdb1bc4
RD
15473}
15474
15475
554f62e9
RD
15476SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15477 PyObject *resultobj = 0;
15478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15479 bool result;
15480 void *argp1 = 0 ;
15481 int res1 = 0 ;
15482 PyObject *swig_obj[1] ;
15483
15484 if (!args) SWIG_fail;
15485 swig_obj[0] = args;
15486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15487 if (!SWIG_IsOK(res1)) {
15488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15489 }
15490 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15491 {
15492 PyThreadState* __tstate = wxPyBeginAllowThreads();
15493 result = (bool)(arg1)->GetSTCFocus();
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
15497 {
15498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15499 }
15500 return resultobj;
15501fail:
15502 return NULL;
15503}
15504
15505
15506SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15507 PyObject *resultobj = 0;
15508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15509 int arg2 ;
15510 void *argp1 = 0 ;
15511 int res1 = 0 ;
15512 int val2 ;
15513 int ecode2 = 0 ;
15514 PyObject * obj0 = 0 ;
15515 PyObject * obj1 = 0 ;
15516 char * kwnames[] = {
15517 (char *) "self",(char *) "statusCode", NULL
15518 };
15519
15520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) SWIG_fail;
15521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15522 if (!SWIG_IsOK(res1)) {
15523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15524 }
15525 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15526 ecode2 = SWIG_AsVal_int(obj1, &val2);
15527 if (!SWIG_IsOK(ecode2)) {
15528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "2"" of type '" "int""'");
15529 }
15530 arg2 = static_cast< int >(val2);
15531 {
15532 PyThreadState* __tstate = wxPyBeginAllowThreads();
15533 (arg1)->SetStatus(arg2);
15534 wxPyEndAllowThreads(__tstate);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
15537 resultobj = SWIG_Py_Void();
15538 return resultobj;
15539fail:
15540 return NULL;
7bdb1bc4
RD
15541}
15542
15543
554f62e9
RD
15544SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15545 PyObject *resultobj = 0;
15546 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15547 int result;
15548 void *argp1 = 0 ;
15549 int res1 = 0 ;
15550 PyObject *swig_obj[1] ;
15551
15552 if (!args) SWIG_fail;
15553 swig_obj[0] = args;
15554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15555 if (!SWIG_IsOK(res1)) {
15556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15557 }
15558 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15559 {
15560 PyThreadState* __tstate = wxPyBeginAllowThreads();
15561 result = (int)(arg1)->GetStatus();
15562 wxPyEndAllowThreads(__tstate);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
15565 resultobj = SWIG_From_int(static_cast< int >(result));
15566 return resultobj;
15567fail:
15568 return NULL;
15569}
15570
15571
15572SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15573 PyObject *resultobj = 0;
15574 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15575 bool arg2 ;
15576 void *argp1 = 0 ;
15577 int res1 = 0 ;
15578 bool val2 ;
15579 int ecode2 = 0 ;
15580 PyObject * obj0 = 0 ;
15581 PyObject * obj1 = 0 ;
15582 char * kwnames[] = {
15583 (char *) "self",(char *) "captures", NULL
15584 };
15585
15586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) SWIG_fail;
15587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15588 if (!SWIG_IsOK(res1)) {
15589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15590 }
15591 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15592 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15593 if (!SWIG_IsOK(ecode2)) {
15594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "2"" of type '" "bool""'");
15595 }
15596 arg2 = static_cast< bool >(val2);
15597 {
15598 PyThreadState* __tstate = wxPyBeginAllowThreads();
15599 (arg1)->SetMouseDownCaptures(arg2);
15600 wxPyEndAllowThreads(__tstate);
15601 if (PyErr_Occurred()) SWIG_fail;
15602 }
15603 resultobj = SWIG_Py_Void();
15604 return resultobj;
15605fail:
15606 return NULL;
7bdb1bc4
RD
15607}
15608
15609
554f62e9
RD
15610SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15611 PyObject *resultobj = 0;
15612 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15613 bool result;
15614 void *argp1 = 0 ;
15615 int res1 = 0 ;
15616 PyObject *swig_obj[1] ;
15617
15618 if (!args) SWIG_fail;
15619 swig_obj[0] = args;
15620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15621 if (!SWIG_IsOK(res1)) {
15622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15623 }
15624 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 result = (bool)(arg1)->GetMouseDownCaptures();
15628 wxPyEndAllowThreads(__tstate);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 {
15632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15633 }
15634 return resultobj;
15635fail:
15636 return NULL;
15637}
15638
15639
15640SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj = 0;
15642 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15643 int arg2 ;
15644 void *argp1 = 0 ;
15645 int res1 = 0 ;
15646 int val2 ;
15647 int ecode2 = 0 ;
15648 PyObject * obj0 = 0 ;
15649 PyObject * obj1 = 0 ;
15650 char * kwnames[] = {
15651 (char *) "self",(char *) "cursorType", NULL
15652 };
15653
15654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) SWIG_fail;
15655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15656 if (!SWIG_IsOK(res1)) {
15657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15658 }
15659 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15660 ecode2 = SWIG_AsVal_int(obj1, &val2);
15661 if (!SWIG_IsOK(ecode2)) {
15662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "2"" of type '" "int""'");
15663 }
15664 arg2 = static_cast< int >(val2);
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 (arg1)->SetSTCCursor(arg2);
15668 wxPyEndAllowThreads(__tstate);
15669 if (PyErr_Occurred()) SWIG_fail;
15670 }
15671 resultobj = SWIG_Py_Void();
15672 return resultobj;
15673fail:
15674 return NULL;
7bdb1bc4
RD
15675}
15676
15677
554f62e9
RD
15678SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15679 PyObject *resultobj = 0;
15680 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15681 int result;
15682 void *argp1 = 0 ;
15683 int res1 = 0 ;
15684 PyObject *swig_obj[1] ;
15685
15686 if (!args) SWIG_fail;
15687 swig_obj[0] = args;
15688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15689 if (!SWIG_IsOK(res1)) {
15690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15691 }
15692 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15693 {
15694 PyThreadState* __tstate = wxPyBeginAllowThreads();
15695 result = (int)(arg1)->GetSTCCursor();
15696 wxPyEndAllowThreads(__tstate);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 }
15699 resultobj = SWIG_From_int(static_cast< int >(result));
15700 return resultobj;
15701fail:
15702 return NULL;
15703}
15704
15705
15706SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj = 0;
15708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15709 int arg2 ;
15710 void *argp1 = 0 ;
15711 int res1 = 0 ;
15712 int val2 ;
15713 int ecode2 = 0 ;
15714 PyObject * obj0 = 0 ;
15715 PyObject * obj1 = 0 ;
15716 char * kwnames[] = {
15717 (char *) "self",(char *) "symbol", NULL
15718 };
15719
15720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) SWIG_fail;
15721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15722 if (!SWIG_IsOK(res1)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15724 }
15725 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15726 ecode2 = SWIG_AsVal_int(obj1, &val2);
15727 if (!SWIG_IsOK(ecode2)) {
15728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "2"" of type '" "int""'");
15729 }
15730 arg2 = static_cast< int >(val2);
15731 {
15732 PyThreadState* __tstate = wxPyBeginAllowThreads();
15733 (arg1)->SetControlCharSymbol(arg2);
15734 wxPyEndAllowThreads(__tstate);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 }
15737 resultobj = SWIG_Py_Void();
15738 return resultobj;
15739fail:
15740 return NULL;
7bdb1bc4
RD
15741}
15742
15743
554f62e9
RD
15744SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15745 PyObject *resultobj = 0;
15746 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15747 int result;
15748 void *argp1 = 0 ;
15749 int res1 = 0 ;
15750 PyObject *swig_obj[1] ;
15751
15752 if (!args) SWIG_fail;
15753 swig_obj[0] = args;
15754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15755 if (!SWIG_IsOK(res1)) {
15756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15757 }
15758 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15759 {
15760 PyThreadState* __tstate = wxPyBeginAllowThreads();
15761 result = (int)(arg1)->GetControlCharSymbol();
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 resultobj = SWIG_From_int(static_cast< int >(result));
15766 return resultobj;
15767fail:
15768 return NULL;
7bdb1bc4
RD
15769}
15770
15771
554f62e9
RD
15772SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15773 PyObject *resultobj = 0;
15774 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15775 void *argp1 = 0 ;
15776 int res1 = 0 ;
15777 PyObject *swig_obj[1] ;
15778
15779 if (!args) SWIG_fail;
15780 swig_obj[0] = args;
15781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15782 if (!SWIG_IsOK(res1)) {
15783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15784 }
15785 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15786 {
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 (arg1)->WordPartLeft();
15789 wxPyEndAllowThreads(__tstate);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 }
15792 resultobj = SWIG_Py_Void();
15793 return resultobj;
15794fail:
15795 return NULL;
7bdb1bc4
RD
15796}
15797
15798
554f62e9
RD
15799SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15800 PyObject *resultobj = 0;
15801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15802 void *argp1 = 0 ;
15803 int res1 = 0 ;
15804 PyObject *swig_obj[1] ;
15805
15806 if (!args) SWIG_fail;
15807 swig_obj[0] = args;
15808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15809 if (!SWIG_IsOK(res1)) {
15810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15811 }
15812 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15813 {
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 (arg1)->WordPartLeftExtend();
15816 wxPyEndAllowThreads(__tstate);
15817 if (PyErr_Occurred()) SWIG_fail;
15818 }
15819 resultobj = SWIG_Py_Void();
15820 return resultobj;
15821fail:
15822 return NULL;
7bdb1bc4
RD
15823}
15824
15825
554f62e9
RD
15826SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15827 PyObject *resultobj = 0;
15828 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15829 void *argp1 = 0 ;
15830 int res1 = 0 ;
15831 PyObject *swig_obj[1] ;
15832
15833 if (!args) SWIG_fail;
15834 swig_obj[0] = args;
15835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15836 if (!SWIG_IsOK(res1)) {
15837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15838 }
15839 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15840 {
15841 PyThreadState* __tstate = wxPyBeginAllowThreads();
15842 (arg1)->WordPartRight();
15843 wxPyEndAllowThreads(__tstate);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 resultobj = SWIG_Py_Void();
15847 return resultobj;
15848fail:
15849 return NULL;
7bdb1bc4
RD
15850}
15851
15852
554f62e9
RD
15853SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15854 PyObject *resultobj = 0;
15855 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15856 void *argp1 = 0 ;
15857 int res1 = 0 ;
15858 PyObject *swig_obj[1] ;
15859
15860 if (!args) SWIG_fail;
15861 swig_obj[0] = args;
15862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15863 if (!SWIG_IsOK(res1)) {
15864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15865 }
15866 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15867 {
15868 PyThreadState* __tstate = wxPyBeginAllowThreads();
15869 (arg1)->WordPartRightExtend();
15870 wxPyEndAllowThreads(__tstate);
15871 if (PyErr_Occurred()) SWIG_fail;
15872 }
15873 resultobj = SWIG_Py_Void();
15874 return resultobj;
15875fail:
15876 return NULL;
15877}
15878
15879
15880SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15881 PyObject *resultobj = 0;
15882 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15883 int arg2 ;
15884 int arg3 ;
15885 void *argp1 = 0 ;
15886 int res1 = 0 ;
15887 int val2 ;
15888 int ecode2 = 0 ;
15889 int val3 ;
15890 int ecode3 = 0 ;
15891 PyObject * obj0 = 0 ;
15892 PyObject * obj1 = 0 ;
15893 PyObject * obj2 = 0 ;
15894 char * kwnames[] = {
15895 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
15896 };
15897
15898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15900 if (!SWIG_IsOK(res1)) {
15901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15902 }
15903 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15904 ecode2 = SWIG_AsVal_int(obj1, &val2);
15905 if (!SWIG_IsOK(ecode2)) {
15906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "2"" of type '" "int""'");
15907 }
15908 arg2 = static_cast< int >(val2);
15909 ecode3 = SWIG_AsVal_int(obj2, &val3);
15910 if (!SWIG_IsOK(ecode3)) {
15911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "3"" of type '" "int""'");
15912 }
15913 arg3 = static_cast< int >(val3);
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 (arg1)->SetVisiblePolicy(arg2,arg3);
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 resultobj = SWIG_Py_Void();
15921 return resultobj;
15922fail:
15923 return NULL;
7bdb1bc4
RD
15924}
15925
15926
554f62e9
RD
15927SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15928 PyObject *resultobj = 0;
15929 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15930 void *argp1 = 0 ;
15931 int res1 = 0 ;
15932 PyObject *swig_obj[1] ;
15933
15934 if (!args) SWIG_fail;
15935 swig_obj[0] = args;
15936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15937 if (!SWIG_IsOK(res1)) {
15938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15939 }
15940 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15941 {
15942 PyThreadState* __tstate = wxPyBeginAllowThreads();
15943 (arg1)->DelLineLeft();
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 resultobj = SWIG_Py_Void();
15948 return resultobj;
15949fail:
15950 return NULL;
7bdb1bc4
RD
15951}
15952
15953
554f62e9
RD
15954SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15955 PyObject *resultobj = 0;
15956 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15957 void *argp1 = 0 ;
15958 int res1 = 0 ;
15959 PyObject *swig_obj[1] ;
15960
15961 if (!args) SWIG_fail;
15962 swig_obj[0] = args;
15963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15964 if (!SWIG_IsOK(res1)) {
15965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15966 }
15967 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15968 {
15969 PyThreadState* __tstate = wxPyBeginAllowThreads();
15970 (arg1)->DelLineRight();
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 resultobj = SWIG_Py_Void();
15975 return resultobj;
15976fail:
15977 return NULL;
15978}
15979
15980
15981SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15982 PyObject *resultobj = 0;
15983 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15984 int arg2 ;
15985 void *argp1 = 0 ;
15986 int res1 = 0 ;
15987 int val2 ;
15988 int ecode2 = 0 ;
15989 PyObject * obj0 = 0 ;
15990 PyObject * obj1 = 0 ;
15991 char * kwnames[] = {
15992 (char *) "self",(char *) "newOffset", NULL
15993 };
15994
15995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) SWIG_fail;
15996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15997 if (!SWIG_IsOK(res1)) {
15998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15999 }
16000 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16001 ecode2 = SWIG_AsVal_int(obj1, &val2);
16002 if (!SWIG_IsOK(ecode2)) {
16003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "2"" of type '" "int""'");
16004 }
16005 arg2 = static_cast< int >(val2);
16006 {
16007 PyThreadState* __tstate = wxPyBeginAllowThreads();
16008 (arg1)->SetXOffset(arg2);
16009 wxPyEndAllowThreads(__tstate);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
16012 resultobj = SWIG_Py_Void();
16013 return resultobj;
16014fail:
16015 return NULL;
7bdb1bc4
RD
16016}
16017
16018
554f62e9
RD
16019SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16020 PyObject *resultobj = 0;
16021 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16022 int result;
16023 void *argp1 = 0 ;
16024 int res1 = 0 ;
16025 PyObject *swig_obj[1] ;
16026
16027 if (!args) SWIG_fail;
16028 swig_obj[0] = args;
16029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16030 if (!SWIG_IsOK(res1)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16032 }
16033 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16034 {
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 result = (int)(arg1)->GetXOffset();
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 resultobj = SWIG_From_int(static_cast< int >(result));
16041 return resultobj;
16042fail:
16043 return NULL;
7bdb1bc4
RD
16044}
16045
16046
554f62e9
RD
16047SWIGINTERN PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16048 PyObject *resultobj = 0;
16049 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16050 void *argp1 = 0 ;
16051 int res1 = 0 ;
16052 PyObject *swig_obj[1] ;
16053
16054 if (!args) SWIG_fail;
16055 swig_obj[0] = args;
16056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16057 if (!SWIG_IsOK(res1)) {
16058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ChooseCaretX" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16059 }
16060 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 (arg1)->ChooseCaretX();
16064 wxPyEndAllowThreads(__tstate);
16065 if (PyErr_Occurred()) SWIG_fail;
16066 }
16067 resultobj = SWIG_Py_Void();
16068 return resultobj;
16069fail:
16070 return NULL;
16071}
16072
16073
16074SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16075 PyObject *resultobj = 0;
16076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16077 int arg2 ;
16078 int arg3 ;
16079 void *argp1 = 0 ;
16080 int res1 = 0 ;
16081 int val2 ;
16082 int ecode2 = 0 ;
16083 int val3 ;
16084 int ecode3 = 0 ;
16085 PyObject * obj0 = 0 ;
16086 PyObject * obj1 = 0 ;
16087 PyObject * obj2 = 0 ;
16088 char * kwnames[] = {
16089 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
16090 };
16091
16092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16094 if (!SWIG_IsOK(res1)) {
16095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16096 }
16097 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16098 ecode2 = SWIG_AsVal_int(obj1, &val2);
16099 if (!SWIG_IsOK(ecode2)) {
16100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "2"" of type '" "int""'");
16101 }
16102 arg2 = static_cast< int >(val2);
16103 ecode3 = SWIG_AsVal_int(obj2, &val3);
16104 if (!SWIG_IsOK(ecode3)) {
16105 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "3"" of type '" "int""'");
16106 }
16107 arg3 = static_cast< int >(val3);
16108 {
16109 PyThreadState* __tstate = wxPyBeginAllowThreads();
16110 (arg1)->SetXCaretPolicy(arg2,arg3);
16111 wxPyEndAllowThreads(__tstate);
16112 if (PyErr_Occurred()) SWIG_fail;
16113 }
16114 resultobj = SWIG_Py_Void();
16115 return resultobj;
16116fail:
16117 return NULL;
16118}
16119
16120
16121SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16122 PyObject *resultobj = 0;
16123 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16124 int arg2 ;
16125 int arg3 ;
16126 void *argp1 = 0 ;
16127 int res1 = 0 ;
16128 int val2 ;
16129 int ecode2 = 0 ;
16130 int val3 ;
16131 int ecode3 = 0 ;
16132 PyObject * obj0 = 0 ;
16133 PyObject * obj1 = 0 ;
16134 PyObject * obj2 = 0 ;
16135 char * kwnames[] = {
16136 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
16137 };
16138
16139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16141 if (!SWIG_IsOK(res1)) {
16142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16143 }
16144 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16145 ecode2 = SWIG_AsVal_int(obj1, &val2);
16146 if (!SWIG_IsOK(ecode2)) {
16147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "2"" of type '" "int""'");
16148 }
16149 arg2 = static_cast< int >(val2);
16150 ecode3 = SWIG_AsVal_int(obj2, &val3);
16151 if (!SWIG_IsOK(ecode3)) {
16152 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "3"" of type '" "int""'");
16153 }
16154 arg3 = static_cast< int >(val3);
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 (arg1)->SetYCaretPolicy(arg2,arg3);
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 resultobj = SWIG_Py_Void();
16162 return resultobj;
16163fail:
16164 return NULL;
16165}
16166
16167
16168SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj = 0;
16170 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16171 int arg2 ;
16172 void *argp1 = 0 ;
16173 int res1 = 0 ;
16174 int val2 ;
16175 int ecode2 = 0 ;
16176 PyObject * obj0 = 0 ;
16177 PyObject * obj1 = 0 ;
16178 char * kwnames[] = {
16179 (char *) "self",(char *) "mode", NULL
16180 };
16181
16182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
16183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16184 if (!SWIG_IsOK(res1)) {
16185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16186 }
16187 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16188 ecode2 = SWIG_AsVal_int(obj1, &val2);
16189 if (!SWIG_IsOK(ecode2)) {
16190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "2"" of type '" "int""'");
16191 }
16192 arg2 = static_cast< int >(val2);
16193 {
16194 PyThreadState* __tstate = wxPyBeginAllowThreads();
16195 (arg1)->SetPrintWrapMode(arg2);
16196 wxPyEndAllowThreads(__tstate);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
16199 resultobj = SWIG_Py_Void();
16200 return resultobj;
16201fail:
16202 return NULL;
7bdb1bc4
RD
16203}
16204
16205
554f62e9
RD
16206SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16207 PyObject *resultobj = 0;
16208 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16209 int result;
16210 void *argp1 = 0 ;
16211 int res1 = 0 ;
16212 PyObject *swig_obj[1] ;
16213
16214 if (!args) SWIG_fail;
16215 swig_obj[0] = args;
16216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16217 if (!SWIG_IsOK(res1)) {
16218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16219 }
16220 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 result = (int)(arg1)->GetPrintWrapMode();
16224 wxPyEndAllowThreads(__tstate);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
16227 resultobj = SWIG_From_int(static_cast< int >(result));
16228 return resultobj;
16229fail:
16230 return NULL;
16231}
16232
16233
16234SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16235 PyObject *resultobj = 0;
16236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16237 bool arg2 ;
16238 wxColour *arg3 = 0 ;
16239 void *argp1 = 0 ;
16240 int res1 = 0 ;
16241 bool val2 ;
16242 int ecode2 = 0 ;
16243 wxColour temp3 ;
16244 PyObject * obj0 = 0 ;
16245 PyObject * obj1 = 0 ;
16246 PyObject * obj2 = 0 ;
16247 char * kwnames[] = {
16248 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
16249 };
16250
16251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16253 if (!SWIG_IsOK(res1)) {
16254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16255 }
16256 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16257 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16258 if (!SWIG_IsOK(ecode2)) {
16259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "2"" of type '" "bool""'");
16260 }
16261 arg2 = static_cast< bool >(val2);
16262 {
16263 arg3 = &temp3;
16264 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16265 }
16266 {
16267 PyThreadState* __tstate = wxPyBeginAllowThreads();
16268 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
16269 wxPyEndAllowThreads(__tstate);
16270 if (PyErr_Occurred()) SWIG_fail;
16271 }
16272 resultobj = SWIG_Py_Void();
16273 return resultobj;
16274fail:
16275 return NULL;
16276}
16277
16278
16279SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16280 PyObject *resultobj = 0;
16281 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16282 bool arg2 ;
16283 wxColour *arg3 = 0 ;
16284 void *argp1 = 0 ;
16285 int res1 = 0 ;
16286 bool val2 ;
16287 int ecode2 = 0 ;
16288 wxColour temp3 ;
16289 PyObject * obj0 = 0 ;
16290 PyObject * obj1 = 0 ;
16291 PyObject * obj2 = 0 ;
16292 char * kwnames[] = {
16293 (char *) "self",(char *) "useSetting",(char *) "back", NULL
16294 };
16295
16296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16298 if (!SWIG_IsOK(res1)) {
16299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16300 }
16301 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16302 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16303 if (!SWIG_IsOK(ecode2)) {
16304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "2"" of type '" "bool""'");
16305 }
16306 arg2 = static_cast< bool >(val2);
16307 {
16308 arg3 = &temp3;
16309 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16310 }
16311 {
16312 PyThreadState* __tstate = wxPyBeginAllowThreads();
16313 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
16314 wxPyEndAllowThreads(__tstate);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 }
16317 resultobj = SWIG_Py_Void();
16318 return resultobj;
16319fail:
16320 return NULL;
16321}
16322
16323
16324SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16325 PyObject *resultobj = 0;
16326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16327 bool arg2 ;
16328 void *argp1 = 0 ;
16329 int res1 = 0 ;
16330 bool val2 ;
16331 int ecode2 = 0 ;
16332 PyObject * obj0 = 0 ;
16333 PyObject * obj1 = 0 ;
16334 char * kwnames[] = {
16335 (char *) "self",(char *) "underline", NULL
16336 };
16337
16338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) SWIG_fail;
16339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16340 if (!SWIG_IsOK(res1)) {
16341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16342 }
16343 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16344 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16345 if (!SWIG_IsOK(ecode2)) {
16346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "2"" of type '" "bool""'");
16347 }
16348 arg2 = static_cast< bool >(val2);
16349 {
16350 PyThreadState* __tstate = wxPyBeginAllowThreads();
16351 (arg1)->SetHotspotActiveUnderline(arg2);
16352 wxPyEndAllowThreads(__tstate);
16353 if (PyErr_Occurred()) SWIG_fail;
16354 }
16355 resultobj = SWIG_Py_Void();
16356 return resultobj;
16357fail:
16358 return NULL;
16359}
16360
16361
16362SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16363 PyObject *resultobj = 0;
16364 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16365 bool arg2 ;
16366 void *argp1 = 0 ;
16367 int res1 = 0 ;
16368 bool val2 ;
16369 int ecode2 = 0 ;
16370 PyObject * obj0 = 0 ;
16371 PyObject * obj1 = 0 ;
16372 char * kwnames[] = {
16373 (char *) "self",(char *) "singleLine", NULL
16374 };
16375
16376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) SWIG_fail;
16377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16378 if (!SWIG_IsOK(res1)) {
16379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16380 }
16381 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16382 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16383 if (!SWIG_IsOK(ecode2)) {
16384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "2"" of type '" "bool""'");
16385 }
16386 arg2 = static_cast< bool >(val2);
16387 {
16388 PyThreadState* __tstate = wxPyBeginAllowThreads();
16389 (arg1)->SetHotspotSingleLine(arg2);
16390 wxPyEndAllowThreads(__tstate);
16391 if (PyErr_Occurred()) SWIG_fail;
16392 }
16393 resultobj = SWIG_Py_Void();
16394 return resultobj;
16395fail:
16396 return NULL;
7bdb1bc4
RD
16397}
16398
16399
554f62e9
RD
16400SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16401 PyObject *resultobj = 0;
16402 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16403 void *argp1 = 0 ;
16404 int res1 = 0 ;
16405 PyObject *swig_obj[1] ;
16406
16407 if (!args) SWIG_fail;
16408 swig_obj[0] = args;
16409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16410 if (!SWIG_IsOK(res1)) {
16411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16412 }
16413 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 (arg1)->ParaDown();
16417 wxPyEndAllowThreads(__tstate);
16418 if (PyErr_Occurred()) SWIG_fail;
16419 }
16420 resultobj = SWIG_Py_Void();
16421 return resultobj;
16422fail:
16423 return NULL;
7bdb1bc4
RD
16424}
16425
16426
554f62e9
RD
16427SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16428 PyObject *resultobj = 0;
16429 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16430 void *argp1 = 0 ;
16431 int res1 = 0 ;
16432 PyObject *swig_obj[1] ;
16433
16434 if (!args) SWIG_fail;
16435 swig_obj[0] = args;
16436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16437 if (!SWIG_IsOK(res1)) {
16438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16439 }
16440 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16441 {
16442 PyThreadState* __tstate = wxPyBeginAllowThreads();
16443 (arg1)->ParaDownExtend();
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 resultobj = SWIG_Py_Void();
16448 return resultobj;
16449fail:
16450 return NULL;
7bdb1bc4
RD
16451}
16452
16453
554f62e9
RD
16454SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16455 PyObject *resultobj = 0;
16456 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16457 void *argp1 = 0 ;
16458 int res1 = 0 ;
16459 PyObject *swig_obj[1] ;
16460
16461 if (!args) SWIG_fail;
16462 swig_obj[0] = args;
16463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16464 if (!SWIG_IsOK(res1)) {
16465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16466 }
16467 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16468 {
16469 PyThreadState* __tstate = wxPyBeginAllowThreads();
16470 (arg1)->ParaUp();
16471 wxPyEndAllowThreads(__tstate);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 }
16474 resultobj = SWIG_Py_Void();
16475 return resultobj;
16476fail:
16477 return NULL;
7bdb1bc4
RD
16478}
16479
16480
554f62e9
RD
16481SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16482 PyObject *resultobj = 0;
16483 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16484 void *argp1 = 0 ;
16485 int res1 = 0 ;
16486 PyObject *swig_obj[1] ;
16487
16488 if (!args) SWIG_fail;
16489 swig_obj[0] = args;
16490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16491 if (!SWIG_IsOK(res1)) {
16492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16493 }
16494 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16495 {
16496 PyThreadState* __tstate = wxPyBeginAllowThreads();
16497 (arg1)->ParaUpExtend();
16498 wxPyEndAllowThreads(__tstate);
16499 if (PyErr_Occurred()) SWIG_fail;
16500 }
16501 resultobj = SWIG_Py_Void();
16502 return resultobj;
16503fail:
16504 return NULL;
16505}
16506
16507
16508SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16509 PyObject *resultobj = 0;
16510 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16511 int arg2 ;
16512 int result;
16513 void *argp1 = 0 ;
16514 int res1 = 0 ;
16515 int val2 ;
16516 int ecode2 = 0 ;
16517 PyObject * obj0 = 0 ;
16518 PyObject * obj1 = 0 ;
16519 char * kwnames[] = {
16520 (char *) "self",(char *) "pos", NULL
16521 };
16522
16523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) SWIG_fail;
16524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16525 if (!SWIG_IsOK(res1)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16527 }
16528 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16529 ecode2 = SWIG_AsVal_int(obj1, &val2);
16530 if (!SWIG_IsOK(ecode2)) {
16531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "2"" of type '" "int""'");
16532 }
16533 arg2 = static_cast< int >(val2);
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 result = (int)(arg1)->PositionBefore(arg2);
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 resultobj = SWIG_From_int(static_cast< int >(result));
16541 return resultobj;
16542fail:
16543 return NULL;
16544}
16545
16546
16547SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj = 0;
16549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16550 int arg2 ;
16551 int result;
16552 void *argp1 = 0 ;
16553 int res1 = 0 ;
16554 int val2 ;
16555 int ecode2 = 0 ;
16556 PyObject * obj0 = 0 ;
16557 PyObject * obj1 = 0 ;
16558 char * kwnames[] = {
16559 (char *) "self",(char *) "pos", NULL
16560 };
16561
16562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) SWIG_fail;
16563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16564 if (!SWIG_IsOK(res1)) {
16565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16566 }
16567 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16568 ecode2 = SWIG_AsVal_int(obj1, &val2);
16569 if (!SWIG_IsOK(ecode2)) {
16570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "2"" of type '" "int""'");
16571 }
16572 arg2 = static_cast< int >(val2);
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 result = (int)(arg1)->PositionAfter(arg2);
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 resultobj = SWIG_From_int(static_cast< int >(result));
16580 return resultobj;
16581fail:
16582 return NULL;
16583}
16584
16585
16586SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16587 PyObject *resultobj = 0;
16588 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16589 int arg2 ;
16590 int arg3 ;
16591 void *argp1 = 0 ;
16592 int res1 = 0 ;
16593 int val2 ;
16594 int ecode2 = 0 ;
16595 int val3 ;
16596 int ecode3 = 0 ;
16597 PyObject * obj0 = 0 ;
16598 PyObject * obj1 = 0 ;
16599 PyObject * obj2 = 0 ;
16600 char * kwnames[] = {
16601 (char *) "self",(char *) "start",(char *) "end", NULL
16602 };
16603
16604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16606 if (!SWIG_IsOK(res1)) {
16607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16608 }
16609 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16610 ecode2 = SWIG_AsVal_int(obj1, &val2);
16611 if (!SWIG_IsOK(ecode2)) {
16612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "2"" of type '" "int""'");
16613 }
16614 arg2 = static_cast< int >(val2);
16615 ecode3 = SWIG_AsVal_int(obj2, &val3);
16616 if (!SWIG_IsOK(ecode3)) {
16617 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "3"" of type '" "int""'");
16618 }
16619 arg3 = static_cast< int >(val3);
16620 {
16621 PyThreadState* __tstate = wxPyBeginAllowThreads();
16622 (arg1)->CopyRange(arg2,arg3);
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 resultobj = SWIG_Py_Void();
16627 return resultobj;
16628fail:
16629 return NULL;
16630}
16631
16632
16633SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16634 PyObject *resultobj = 0;
16635 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16636 int arg2 ;
16637 wxString *arg3 = 0 ;
16638 void *argp1 = 0 ;
16639 int res1 = 0 ;
16640 int val2 ;
16641 int ecode2 = 0 ;
16642 bool temp3 = false ;
16643 PyObject * obj0 = 0 ;
16644 PyObject * obj1 = 0 ;
16645 PyObject * obj2 = 0 ;
16646 char * kwnames[] = {
16647 (char *) "self",(char *) "length",(char *) "text", NULL
16648 };
16649
16650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16652 if (!SWIG_IsOK(res1)) {
16653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16654 }
16655 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16656 ecode2 = SWIG_AsVal_int(obj1, &val2);
16657 if (!SWIG_IsOK(ecode2)) {
16658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "2"" of type '" "int""'");
16659 }
16660 arg2 = static_cast< int >(val2);
16661 {
16662 arg3 = wxString_in_helper(obj2);
16663 if (arg3 == NULL) SWIG_fail;
16664 temp3 = true;
16665 }
16666 {
16667 PyThreadState* __tstate = wxPyBeginAllowThreads();
16668 (arg1)->CopyText(arg2,(wxString const &)*arg3);
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 resultobj = SWIG_Py_Void();
16673 {
16674 if (temp3)
16675 delete arg3;
16676 }
16677 return resultobj;
16678fail:
16679 {
16680 if (temp3)
16681 delete arg3;
16682 }
16683 return NULL;
16684}
16685
16686
16687SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16688 PyObject *resultobj = 0;
16689 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16690 int arg2 ;
16691 void *argp1 = 0 ;
16692 int res1 = 0 ;
16693 int val2 ;
16694 int ecode2 = 0 ;
16695 PyObject * obj0 = 0 ;
16696 PyObject * obj1 = 0 ;
16697 char * kwnames[] = {
16698 (char *) "self",(char *) "mode", NULL
16699 };
16700
16701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) SWIG_fail;
16702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16703 if (!SWIG_IsOK(res1)) {
16704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16705 }
16706 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16707 ecode2 = SWIG_AsVal_int(obj1, &val2);
16708 if (!SWIG_IsOK(ecode2)) {
16709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "2"" of type '" "int""'");
16710 }
16711 arg2 = static_cast< int >(val2);
16712 {
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 (arg1)->SetSelectionMode(arg2);
16715 wxPyEndAllowThreads(__tstate);
16716 if (PyErr_Occurred()) SWIG_fail;
16717 }
16718 resultobj = SWIG_Py_Void();
16719 return resultobj;
16720fail:
16721 return NULL;
7bdb1bc4
RD
16722}
16723
16724
554f62e9
RD
16725SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16726 PyObject *resultobj = 0;
16727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16728 int result;
16729 void *argp1 = 0 ;
16730 int res1 = 0 ;
16731 PyObject *swig_obj[1] ;
16732
16733 if (!args) SWIG_fail;
16734 swig_obj[0] = args;
16735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16736 if (!SWIG_IsOK(res1)) {
16737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16738 }
16739 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16740 {
16741 PyThreadState* __tstate = wxPyBeginAllowThreads();
16742 result = (int)(arg1)->GetSelectionMode();
16743 wxPyEndAllowThreads(__tstate);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 }
16746 resultobj = SWIG_From_int(static_cast< int >(result));
16747 return resultobj;
16748fail:
16749 return NULL;
16750}
16751
16752
16753SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16754 PyObject *resultobj = 0;
16755 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16756 int arg2 ;
16757 int result;
16758 void *argp1 = 0 ;
16759 int res1 = 0 ;
16760 int val2 ;
16761 int ecode2 = 0 ;
16762 PyObject * obj0 = 0 ;
16763 PyObject * obj1 = 0 ;
16764 char * kwnames[] = {
16765 (char *) "self",(char *) "line", NULL
16766 };
16767
16768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16770 if (!SWIG_IsOK(res1)) {
16771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16772 }
16773 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16774 ecode2 = SWIG_AsVal_int(obj1, &val2);
16775 if (!SWIG_IsOK(ecode2)) {
16776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "2"" of type '" "int""'");
16777 }
16778 arg2 = static_cast< int >(val2);
16779 {
16780 PyThreadState* __tstate = wxPyBeginAllowThreads();
16781 result = (int)(arg1)->GetLineSelStartPosition(arg2);
16782 wxPyEndAllowThreads(__tstate);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 }
16785 resultobj = SWIG_From_int(static_cast< int >(result));
16786 return resultobj;
16787fail:
16788 return NULL;
16789}
16790
16791
16792SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16793 PyObject *resultobj = 0;
16794 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16795 int arg2 ;
16796 int result;
16797 void *argp1 = 0 ;
16798 int res1 = 0 ;
16799 int val2 ;
16800 int ecode2 = 0 ;
16801 PyObject * obj0 = 0 ;
16802 PyObject * obj1 = 0 ;
16803 char * kwnames[] = {
16804 (char *) "self",(char *) "line", NULL
16805 };
16806
16807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16809 if (!SWIG_IsOK(res1)) {
16810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16811 }
16812 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16813 ecode2 = SWIG_AsVal_int(obj1, &val2);
16814 if (!SWIG_IsOK(ecode2)) {
16815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "2"" of type '" "int""'");
16816 }
16817 arg2 = static_cast< int >(val2);
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 result = (int)(arg1)->GetLineSelEndPosition(arg2);
16821 wxPyEndAllowThreads(__tstate);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 }
16824 resultobj = SWIG_From_int(static_cast< int >(result));
16825 return resultobj;
16826fail:
16827 return NULL;
7bdb1bc4
RD
16828}
16829
16830
554f62e9
RD
16831SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16832 PyObject *resultobj = 0;
16833 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16834 void *argp1 = 0 ;
16835 int res1 = 0 ;
16836 PyObject *swig_obj[1] ;
16837
16838 if (!args) SWIG_fail;
16839 swig_obj[0] = args;
16840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16841 if (!SWIG_IsOK(res1)) {
16842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16843 }
16844 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16845 {
16846 PyThreadState* __tstate = wxPyBeginAllowThreads();
16847 (arg1)->LineDownRectExtend();
16848 wxPyEndAllowThreads(__tstate);
16849 if (PyErr_Occurred()) SWIG_fail;
16850 }
16851 resultobj = SWIG_Py_Void();
16852 return resultobj;
16853fail:
16854 return NULL;
7bdb1bc4
RD
16855}
16856
16857
554f62e9
RD
16858SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16859 PyObject *resultobj = 0;
16860 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16861 void *argp1 = 0 ;
16862 int res1 = 0 ;
16863 PyObject *swig_obj[1] ;
16864
16865 if (!args) SWIG_fail;
16866 swig_obj[0] = args;
16867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16868 if (!SWIG_IsOK(res1)) {
16869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16870 }
16871 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16872 {
16873 PyThreadState* __tstate = wxPyBeginAllowThreads();
16874 (arg1)->LineUpRectExtend();
16875 wxPyEndAllowThreads(__tstate);
16876 if (PyErr_Occurred()) SWIG_fail;
16877 }
16878 resultobj = SWIG_Py_Void();
16879 return resultobj;
16880fail:
16881 return NULL;
7bdb1bc4
RD
16882}
16883
16884
554f62e9
RD
16885SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16886 PyObject *resultobj = 0;
16887 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16888 void *argp1 = 0 ;
16889 int res1 = 0 ;
16890 PyObject *swig_obj[1] ;
16891
16892 if (!args) SWIG_fail;
16893 swig_obj[0] = args;
16894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16895 if (!SWIG_IsOK(res1)) {
16896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16897 }
16898 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16899 {
16900 PyThreadState* __tstate = wxPyBeginAllowThreads();
16901 (arg1)->CharLeftRectExtend();
16902 wxPyEndAllowThreads(__tstate);
16903 if (PyErr_Occurred()) SWIG_fail;
16904 }
16905 resultobj = SWIG_Py_Void();
16906 return resultobj;
16907fail:
16908 return NULL;
7bdb1bc4
RD
16909}
16910
16911
554f62e9
RD
16912SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16913 PyObject *resultobj = 0;
16914 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16915 void *argp1 = 0 ;
16916 int res1 = 0 ;
16917 PyObject *swig_obj[1] ;
16918
16919 if (!args) SWIG_fail;
16920 swig_obj[0] = args;
16921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16922 if (!SWIG_IsOK(res1)) {
16923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16924 }
16925 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 (arg1)->CharRightRectExtend();
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 resultobj = SWIG_Py_Void();
16933 return resultobj;
16934fail:
16935 return NULL;
7bdb1bc4
RD
16936}
16937
16938
554f62e9
RD
16939SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16940 PyObject *resultobj = 0;
16941 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16942 void *argp1 = 0 ;
16943 int res1 = 0 ;
16944 PyObject *swig_obj[1] ;
16945
16946 if (!args) SWIG_fail;
16947 swig_obj[0] = args;
16948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16949 if (!SWIG_IsOK(res1)) {
16950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16951 }
16952 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 (arg1)->HomeRectExtend();
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
16959 resultobj = SWIG_Py_Void();
16960 return resultobj;
16961fail:
16962 return NULL;
7bdb1bc4
RD
16963}
16964
16965
554f62e9
RD
16966SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16967 PyObject *resultobj = 0;
16968 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16969 void *argp1 = 0 ;
16970 int res1 = 0 ;
16971 PyObject *swig_obj[1] ;
16972
16973 if (!args) SWIG_fail;
16974 swig_obj[0] = args;
16975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16976 if (!SWIG_IsOK(res1)) {
16977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16978 }
16979 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16980 {
16981 PyThreadState* __tstate = wxPyBeginAllowThreads();
16982 (arg1)->VCHomeRectExtend();
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 resultobj = SWIG_Py_Void();
16987 return resultobj;
16988fail:
16989 return NULL;
7bdb1bc4
RD
16990}
16991
16992
554f62e9
RD
16993SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16994 PyObject *resultobj = 0;
16995 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16996 void *argp1 = 0 ;
16997 int res1 = 0 ;
16998 PyObject *swig_obj[1] ;
16999
17000 if (!args) SWIG_fail;
17001 swig_obj[0] = args;
17002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17003 if (!SWIG_IsOK(res1)) {
17004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17005 }
17006 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 (arg1)->LineEndRectExtend();
17010 wxPyEndAllowThreads(__tstate);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
17013 resultobj = SWIG_Py_Void();
17014 return resultobj;
17015fail:
17016 return NULL;
7bdb1bc4
RD
17017}
17018
17019
554f62e9
RD
17020SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17021 PyObject *resultobj = 0;
17022 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17023 void *argp1 = 0 ;
17024 int res1 = 0 ;
17025 PyObject *swig_obj[1] ;
17026
17027 if (!args) SWIG_fail;
17028 swig_obj[0] = args;
17029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17030 if (!SWIG_IsOK(res1)) {
17031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17032 }
17033 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17034 {
17035 PyThreadState* __tstate = wxPyBeginAllowThreads();
17036 (arg1)->PageUpRectExtend();
17037 wxPyEndAllowThreads(__tstate);
17038 if (PyErr_Occurred()) SWIG_fail;
17039 }
17040 resultobj = SWIG_Py_Void();
17041 return resultobj;
17042fail:
17043 return NULL;
7bdb1bc4
RD
17044}
17045
17046
554f62e9
RD
17047SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17048 PyObject *resultobj = 0;
17049 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17050 void *argp1 = 0 ;
17051 int res1 = 0 ;
17052 PyObject *swig_obj[1] ;
17053
17054 if (!args) SWIG_fail;
17055 swig_obj[0] = args;
17056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17057 if (!SWIG_IsOK(res1)) {
17058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17059 }
17060 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 (arg1)->PageDownRectExtend();
17064 wxPyEndAllowThreads(__tstate);
17065 if (PyErr_Occurred()) SWIG_fail;
17066 }
17067 resultobj = SWIG_Py_Void();
17068 return resultobj;
17069fail:
17070 return NULL;
7bdb1bc4
RD
17071}
17072
17073
554f62e9
RD
17074SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17075 PyObject *resultobj = 0;
17076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17077 void *argp1 = 0 ;
17078 int res1 = 0 ;
17079 PyObject *swig_obj[1] ;
17080
17081 if (!args) SWIG_fail;
17082 swig_obj[0] = args;
17083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17084 if (!SWIG_IsOK(res1)) {
17085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17086 }
17087 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17088 {
17089 PyThreadState* __tstate = wxPyBeginAllowThreads();
17090 (arg1)->StutteredPageUp();
17091 wxPyEndAllowThreads(__tstate);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
17094 resultobj = SWIG_Py_Void();
17095 return resultobj;
17096fail:
17097 return NULL;
7bdb1bc4
RD
17098}
17099
17100
554f62e9
RD
17101SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17102 PyObject *resultobj = 0;
17103 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17104 void *argp1 = 0 ;
17105 int res1 = 0 ;
17106 PyObject *swig_obj[1] ;
17107
17108 if (!args) SWIG_fail;
17109 swig_obj[0] = args;
17110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17111 if (!SWIG_IsOK(res1)) {
17112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17113 }
17114 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17115 {
17116 PyThreadState* __tstate = wxPyBeginAllowThreads();
17117 (arg1)->StutteredPageUpExtend();
17118 wxPyEndAllowThreads(__tstate);
17119 if (PyErr_Occurred()) SWIG_fail;
17120 }
17121 resultobj = SWIG_Py_Void();
17122 return resultobj;
17123fail:
17124 return NULL;
7bdb1bc4
RD
17125}
17126
17127
554f62e9
RD
17128SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17129 PyObject *resultobj = 0;
17130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17131 void *argp1 = 0 ;
17132 int res1 = 0 ;
17133 PyObject *swig_obj[1] ;
17134
17135 if (!args) SWIG_fail;
17136 swig_obj[0] = args;
17137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17138 if (!SWIG_IsOK(res1)) {
17139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17140 }
17141 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17142 {
17143 PyThreadState* __tstate = wxPyBeginAllowThreads();
17144 (arg1)->StutteredPageDown();
17145 wxPyEndAllowThreads(__tstate);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 }
17148 resultobj = SWIG_Py_Void();
17149 return resultobj;
17150fail:
17151 return NULL;
7bdb1bc4
RD
17152}
17153
17154
554f62e9
RD
17155SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17156 PyObject *resultobj = 0;
17157 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17158 void *argp1 = 0 ;
17159 int res1 = 0 ;
17160 PyObject *swig_obj[1] ;
17161
17162 if (!args) SWIG_fail;
17163 swig_obj[0] = args;
17164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17165 if (!SWIG_IsOK(res1)) {
17166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17167 }
17168 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17169 {
17170 PyThreadState* __tstate = wxPyBeginAllowThreads();
17171 (arg1)->StutteredPageDownExtend();
17172 wxPyEndAllowThreads(__tstate);
17173 if (PyErr_Occurred()) SWIG_fail;
17174 }
17175 resultobj = SWIG_Py_Void();
17176 return resultobj;
17177fail:
17178 return NULL;
7bdb1bc4
RD
17179}
17180
17181
554f62e9
RD
17182SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17183 PyObject *resultobj = 0;
17184 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17185 void *argp1 = 0 ;
17186 int res1 = 0 ;
17187 PyObject *swig_obj[1] ;
17188
17189 if (!args) SWIG_fail;
17190 swig_obj[0] = args;
17191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17192 if (!SWIG_IsOK(res1)) {
17193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17194 }
17195 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 (arg1)->WordLeftEnd();
17199 wxPyEndAllowThreads(__tstate);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 }
17202 resultobj = SWIG_Py_Void();
17203 return resultobj;
17204fail:
17205 return NULL;
7bdb1bc4
RD
17206}
17207
17208
554f62e9
RD
17209SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17210 PyObject *resultobj = 0;
17211 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17212 void *argp1 = 0 ;
17213 int res1 = 0 ;
17214 PyObject *swig_obj[1] ;
17215
17216 if (!args) SWIG_fail;
17217 swig_obj[0] = args;
17218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17219 if (!SWIG_IsOK(res1)) {
17220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17221 }
17222 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17223 {
17224 PyThreadState* __tstate = wxPyBeginAllowThreads();
17225 (arg1)->WordLeftEndExtend();
17226 wxPyEndAllowThreads(__tstate);
17227 if (PyErr_Occurred()) SWIG_fail;
17228 }
17229 resultobj = SWIG_Py_Void();
17230 return resultobj;
17231fail:
17232 return NULL;
7bdb1bc4
RD
17233}
17234
17235
554f62e9
RD
17236SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17237 PyObject *resultobj = 0;
17238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17239 void *argp1 = 0 ;
17240 int res1 = 0 ;
17241 PyObject *swig_obj[1] ;
17242
17243 if (!args) SWIG_fail;
17244 swig_obj[0] = args;
17245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17246 if (!SWIG_IsOK(res1)) {
17247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17248 }
17249 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17250 {
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 (arg1)->WordRightEnd();
17253 wxPyEndAllowThreads(__tstate);
17254 if (PyErr_Occurred()) SWIG_fail;
17255 }
17256 resultobj = SWIG_Py_Void();
17257 return resultobj;
17258fail:
17259 return NULL;
7bdb1bc4
RD
17260}
17261
17262
554f62e9
RD
17263SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17264 PyObject *resultobj = 0;
17265 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17266 void *argp1 = 0 ;
17267 int res1 = 0 ;
17268 PyObject *swig_obj[1] ;
17269
17270 if (!args) SWIG_fail;
17271 swig_obj[0] = args;
17272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17273 if (!SWIG_IsOK(res1)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17275 }
17276 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17277 {
17278 PyThreadState* __tstate = wxPyBeginAllowThreads();
17279 (arg1)->WordRightEndExtend();
17280 wxPyEndAllowThreads(__tstate);
17281 if (PyErr_Occurred()) SWIG_fail;
17282 }
17283 resultobj = SWIG_Py_Void();
17284 return resultobj;
17285fail:
17286 return NULL;
17287}
17288
17289
17290SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17291 PyObject *resultobj = 0;
17292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17293 wxString *arg2 = 0 ;
17294 void *argp1 = 0 ;
17295 int res1 = 0 ;
17296 bool temp2 = false ;
17297 PyObject * obj0 = 0 ;
17298 PyObject * obj1 = 0 ;
17299 char * kwnames[] = {
17300 (char *) "self",(char *) "characters", NULL
17301 };
17302
17303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) SWIG_fail;
17304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17305 if (!SWIG_IsOK(res1)) {
17306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17307 }
17308 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17309 {
17310 arg2 = wxString_in_helper(obj1);
17311 if (arg2 == NULL) SWIG_fail;
17312 temp2 = true;
17313 }
17314 {
17315 PyThreadState* __tstate = wxPyBeginAllowThreads();
17316 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
17317 wxPyEndAllowThreads(__tstate);
17318 if (PyErr_Occurred()) SWIG_fail;
17319 }
17320 resultobj = SWIG_Py_Void();
17321 {
17322 if (temp2)
17323 delete arg2;
17324 }
17325 return resultobj;
17326fail:
17327 {
17328 if (temp2)
17329 delete arg2;
17330 }
17331 return NULL;
7bdb1bc4
RD
17332}
17333
17334
554f62e9
RD
17335SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17336 PyObject *resultobj = 0;
17337 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17338 void *argp1 = 0 ;
17339 int res1 = 0 ;
17340 PyObject *swig_obj[1] ;
17341
17342 if (!args) SWIG_fail;
17343 swig_obj[0] = args;
17344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17345 if (!SWIG_IsOK(res1)) {
17346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCharsDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17347 }
17348 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17349 {
17350 PyThreadState* __tstate = wxPyBeginAllowThreads();
17351 (arg1)->SetCharsDefault();
17352 wxPyEndAllowThreads(__tstate);
17353 if (PyErr_Occurred()) SWIG_fail;
17354 }
17355 resultobj = SWIG_Py_Void();
17356 return resultobj;
17357fail:
17358 return NULL;
7bdb1bc4
RD
17359}
17360
17361
554f62e9
RD
17362SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17363 PyObject *resultobj = 0;
17364 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17365 int result;
17366 void *argp1 = 0 ;
17367 int res1 = 0 ;
17368 PyObject *swig_obj[1] ;
17369
17370 if (!args) SWIG_fail;
17371 swig_obj[0] = args;
17372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17373 if (!SWIG_IsOK(res1)) {
17374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCurrent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17375 }
17376 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17377 {
17378 PyThreadState* __tstate = wxPyBeginAllowThreads();
17379 result = (int)(arg1)->AutoCompGetCurrent();
17380 wxPyEndAllowThreads(__tstate);
17381 if (PyErr_Occurred()) SWIG_fail;
17382 }
17383 resultobj = SWIG_From_int(static_cast< int >(result));
17384 return resultobj;
17385fail:
17386 return NULL;
17387}
17388
17389
17390SWIGINTERN PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj = 0;
17392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17393 int arg2 ;
17394 void *argp1 = 0 ;
17395 int res1 = 0 ;
17396 int val2 ;
17397 int ecode2 = 0 ;
17398 PyObject * obj0 = 0 ;
17399 PyObject * obj1 = 0 ;
17400 char * kwnames[] = {
17401 (char *) "self",(char *) "bytes", NULL
17402 };
17403
17404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) SWIG_fail;
17405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17406 if (!SWIG_IsOK(res1)) {
17407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17408 }
17409 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17410 ecode2 = SWIG_AsVal_int(obj1, &val2);
17411 if (!SWIG_IsOK(ecode2)) {
17412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "2"" of type '" "int""'");
17413 }
17414 arg2 = static_cast< int >(val2);
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 (arg1)->Allocate(arg2);
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 resultobj = SWIG_Py_Void();
17422 return resultobj;
17423fail:
17424 return NULL;
17425}
17426
17427
17428SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj = 0;
17430 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17431 int arg2 ;
17432 int arg3 ;
17433 int result;
17434 void *argp1 = 0 ;
17435 int res1 = 0 ;
17436 int val2 ;
17437 int ecode2 = 0 ;
17438 int val3 ;
17439 int ecode3 = 0 ;
17440 PyObject * obj0 = 0 ;
17441 PyObject * obj1 = 0 ;
17442 PyObject * obj2 = 0 ;
17443 char * kwnames[] = {
17444 (char *) "self",(char *) "line",(char *) "column", NULL
17445 };
17446
17447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17449 if (!SWIG_IsOK(res1)) {
17450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17451 }
17452 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17453 ecode2 = SWIG_AsVal_int(obj1, &val2);
17454 if (!SWIG_IsOK(ecode2)) {
17455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "2"" of type '" "int""'");
17456 }
17457 arg2 = static_cast< int >(val2);
17458 ecode3 = SWIG_AsVal_int(obj2, &val3);
17459 if (!SWIG_IsOK(ecode3)) {
17460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "3"" of type '" "int""'");
17461 }
17462 arg3 = static_cast< int >(val3);
17463 {
17464 PyThreadState* __tstate = wxPyBeginAllowThreads();
17465 result = (int)(arg1)->FindColumn(arg2,arg3);
17466 wxPyEndAllowThreads(__tstate);
17467 if (PyErr_Occurred()) SWIG_fail;
17468 }
17469 resultobj = SWIG_From_int(static_cast< int >(result));
17470 return resultobj;
17471fail:
17472 return NULL;
7bdb1bc4
RD
17473}
17474
17475
554f62e9
RD
17476SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17477 PyObject *resultobj = 0;
17478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17479 bool result;
17480 void *argp1 = 0 ;
17481 int res1 = 0 ;
17482 PyObject *swig_obj[1] ;
17483
17484 if (!args) SWIG_fail;
17485 swig_obj[0] = args;
17486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17487 if (!SWIG_IsOK(res1)) {
17488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17489 }
17490 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 result = (bool)(arg1)->GetCaretSticky();
17494 wxPyEndAllowThreads(__tstate);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 }
17497 {
17498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17499 }
17500 return resultobj;
17501fail:
17502 return NULL;
17503}
17504
17505
17506SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17507 PyObject *resultobj = 0;
17508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17509 bool arg2 ;
17510 void *argp1 = 0 ;
17511 int res1 = 0 ;
17512 bool val2 ;
17513 int ecode2 = 0 ;
17514 PyObject * obj0 = 0 ;
17515 PyObject * obj1 = 0 ;
17516 char * kwnames[] = {
17517 (char *) "self",(char *) "useCaretStickyBehaviour", NULL
17518 };
17519
17520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretSticky",kwnames,&obj0,&obj1)) SWIG_fail;
17521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17522 if (!SWIG_IsOK(res1)) {
17523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17524 }
17525 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17526 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17527 if (!SWIG_IsOK(ecode2)) {
17528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "2"" of type '" "bool""'");
17529 }
17530 arg2 = static_cast< bool >(val2);
17531 {
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 (arg1)->SetCaretSticky(arg2);
17534 wxPyEndAllowThreads(__tstate);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 }
17537 resultobj = SWIG_Py_Void();
17538 return resultobj;
17539fail:
17540 return NULL;
7bdb1bc4
RD
17541}
17542
17543
554f62e9
RD
17544SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17545 PyObject *resultobj = 0;
17546 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17547 void *argp1 = 0 ;
17548 int res1 = 0 ;
17549 PyObject *swig_obj[1] ;
17550
17551 if (!args) SWIG_fail;
17552 swig_obj[0] = args;
17553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17554 if (!SWIG_IsOK(res1)) {
17555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17556 }
17557 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17558 {
17559 PyThreadState* __tstate = wxPyBeginAllowThreads();
17560 (arg1)->ToggleCaretSticky();
17561 wxPyEndAllowThreads(__tstate);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 }
17564 resultobj = SWIG_Py_Void();
17565 return resultobj;
17566fail:
17567 return NULL;
17568}
17569
17570
17571SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17572 PyObject *resultobj = 0;
17573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17574 bool arg2 ;
17575 void *argp1 = 0 ;
17576 int res1 = 0 ;
17577 bool val2 ;
17578 int ecode2 = 0 ;
17579 PyObject * obj0 = 0 ;
17580 PyObject * obj1 = 0 ;
17581 char * kwnames[] = {
17582 (char *) "self",(char *) "convert", NULL
17583 };
17584
17585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPasteConvertEndings",kwnames,&obj0,&obj1)) SWIG_fail;
17586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17587 if (!SWIG_IsOK(res1)) {
17588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17589 }
17590 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17591 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17592 if (!SWIG_IsOK(ecode2)) {
17593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "2"" of type '" "bool""'");
17594 }
17595 arg2 = static_cast< bool >(val2);
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 (arg1)->SetPasteConvertEndings(arg2);
17599 wxPyEndAllowThreads(__tstate);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 resultobj = SWIG_Py_Void();
17603 return resultobj;
17604fail:
17605 return NULL;
7bdb1bc4
RD
17606}
17607
17608
554f62e9
RD
17609SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17610 PyObject *resultobj = 0;
17611 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17612 bool result;
17613 void *argp1 = 0 ;
17614 int res1 = 0 ;
17615 PyObject *swig_obj[1] ;
17616
17617 if (!args) SWIG_fail;
17618 swig_obj[0] = args;
17619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17620 if (!SWIG_IsOK(res1)) {
17621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17622 }
17623 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 result = (bool)(arg1)->GetPasteConvertEndings();
17627 wxPyEndAllowThreads(__tstate);
17628 if (PyErr_Occurred()) SWIG_fail;
17629 }
17630 {
17631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17632 }
17633 return resultobj;
17634fail:
17635 return NULL;
7bdb1bc4
RD
17636}
17637
17638
554f62e9
RD
17639SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17640 PyObject *resultobj = 0;
17641 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17642 void *argp1 = 0 ;
17643 int res1 = 0 ;
17644 PyObject *swig_obj[1] ;
17645
17646 if (!args) SWIG_fail;
17647 swig_obj[0] = args;
17648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17649 if (!SWIG_IsOK(res1)) {
17650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17651 }
17652 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 (arg1)->SelectionDuplicate();
17656 wxPyEndAllowThreads(__tstate);
17657 if (PyErr_Occurred()) SWIG_fail;
17658 }
17659 resultobj = SWIG_Py_Void();
17660 return resultobj;
17661fail:
17662 return NULL;
7bdb1bc4
RD
17663}
17664
17665
10044bf1
RD
17666SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineBackAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17667 PyObject *resultobj = 0;
17668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17669 int arg2 ;
17670 void *argp1 = 0 ;
17671 int res1 = 0 ;
17672 int val2 ;
17673 int ecode2 = 0 ;
17674 PyObject * obj0 = 0 ;
17675 PyObject * obj1 = 0 ;
17676 char * kwnames[] = {
17677 (char *) "self",(char *) "alpha", NULL
17678 };
17679
17680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBackAlpha",kwnames,&obj0,&obj1)) SWIG_fail;
17681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17682 if (!SWIG_IsOK(res1)) {
17683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineBackAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17684 }
17685 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17686 ecode2 = SWIG_AsVal_int(obj1, &val2);
17687 if (!SWIG_IsOK(ecode2)) {
17688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretLineBackAlpha" "', expected argument " "2"" of type '" "int""'");
17689 }
17690 arg2 = static_cast< int >(val2);
17691 {
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 (arg1)->SetCaretLineBackAlpha(arg2);
17694 wxPyEndAllowThreads(__tstate);
17695 if (PyErr_Occurred()) SWIG_fail;
17696 }
17697 resultobj = SWIG_Py_Void();
17698 return resultobj;
17699fail:
17700 return NULL;
17701}
17702
17703
17704SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineBackAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17705 PyObject *resultobj = 0;
17706 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17707 int result;
17708 void *argp1 = 0 ;
17709 int res1 = 0 ;
17710 PyObject *swig_obj[1] ;
17711
17712 if (!args) SWIG_fail;
17713 swig_obj[0] = args;
17714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17715 if (!SWIG_IsOK(res1)) {
17716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineBackAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17717 }
17718 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 result = (int)(arg1)->GetCaretLineBackAlpha();
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
17725 resultobj = SWIG_From_int(static_cast< int >(result));
17726 return resultobj;
17727fail:
17728 return NULL;
17729}
17730
17731
554f62e9
RD
17732SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17733 PyObject *resultobj = 0;
17734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17735 void *argp1 = 0 ;
17736 int res1 = 0 ;
17737 PyObject *swig_obj[1] ;
17738
17739 if (!args) SWIG_fail;
17740 swig_obj[0] = args;
17741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17742 if (!SWIG_IsOK(res1)) {
17743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17744 }
17745 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17746 {
17747 PyThreadState* __tstate = wxPyBeginAllowThreads();
17748 (arg1)->StartRecord();
17749 wxPyEndAllowThreads(__tstate);
17750 if (PyErr_Occurred()) SWIG_fail;
17751 }
17752 resultobj = SWIG_Py_Void();
17753 return resultobj;
17754fail:
17755 return NULL;
7bdb1bc4
RD
17756}
17757
17758
554f62e9
RD
17759SWIGINTERN PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17760 PyObject *resultobj = 0;
17761 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17762 void *argp1 = 0 ;
17763 int res1 = 0 ;
17764 PyObject *swig_obj[1] ;
17765
17766 if (!args) SWIG_fail;
17767 swig_obj[0] = args;
17768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17769 if (!SWIG_IsOK(res1)) {
17770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StopRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17771 }
17772 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17773 {
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 (arg1)->StopRecord();
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 resultobj = SWIG_Py_Void();
17780 return resultobj;
17781fail:
17782 return NULL;
17783}
17784
17785
17786SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj = 0;
17788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17789 int arg2 ;
17790 void *argp1 = 0 ;
17791 int res1 = 0 ;
17792 int val2 ;
17793 int ecode2 = 0 ;
17794 PyObject * obj0 = 0 ;
17795 PyObject * obj1 = 0 ;
17796 char * kwnames[] = {
17797 (char *) "self",(char *) "lexer", NULL
17798 };
17799
17800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) SWIG_fail;
17801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17802 if (!SWIG_IsOK(res1)) {
17803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17804 }
17805 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17806 ecode2 = SWIG_AsVal_int(obj1, &val2);
17807 if (!SWIG_IsOK(ecode2)) {
17808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "2"" of type '" "int""'");
17809 }
17810 arg2 = static_cast< int >(val2);
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 (arg1)->SetLexer(arg2);
17814 wxPyEndAllowThreads(__tstate);
17815 if (PyErr_Occurred()) SWIG_fail;
17816 }
17817 resultobj = SWIG_Py_Void();
17818 return resultobj;
17819fail:
17820 return NULL;
7bdb1bc4
RD
17821}
17822
17823
554f62e9
RD
17824SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17825 PyObject *resultobj = 0;
17826 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17827 int result;
17828 void *argp1 = 0 ;
17829 int res1 = 0 ;
17830 PyObject *swig_obj[1] ;
17831
17832 if (!args) SWIG_fail;
17833 swig_obj[0] = args;
17834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17835 if (!SWIG_IsOK(res1)) {
17836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17837 }
17838 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17839 {
17840 PyThreadState* __tstate = wxPyBeginAllowThreads();
17841 result = (int)(arg1)->GetLexer();
17842 wxPyEndAllowThreads(__tstate);
17843 if (PyErr_Occurred()) SWIG_fail;
17844 }
17845 resultobj = SWIG_From_int(static_cast< int >(result));
17846 return resultobj;
17847fail:
17848 return NULL;
17849}
17850
17851
17852SWIGINTERN PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17853 PyObject *resultobj = 0;
17854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17855 int arg2 ;
17856 int arg3 ;
17857 void *argp1 = 0 ;
17858 int res1 = 0 ;
17859 int val2 ;
17860 int ecode2 = 0 ;
17861 int val3 ;
17862 int ecode3 = 0 ;
17863 PyObject * obj0 = 0 ;
17864 PyObject * obj1 = 0 ;
17865 PyObject * obj2 = 0 ;
17866 char * kwnames[] = {
17867 (char *) "self",(char *) "start",(char *) "end", NULL
17868 };
17869
17870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17872 if (!SWIG_IsOK(res1)) {
17873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17874 }
17875 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17876 ecode2 = SWIG_AsVal_int(obj1, &val2);
17877 if (!SWIG_IsOK(ecode2)) {
17878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "2"" of type '" "int""'");
17879 }
17880 arg2 = static_cast< int >(val2);
17881 ecode3 = SWIG_AsVal_int(obj2, &val3);
17882 if (!SWIG_IsOK(ecode3)) {
17883 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "3"" of type '" "int""'");
17884 }
17885 arg3 = static_cast< int >(val3);
17886 {
17887 PyThreadState* __tstate = wxPyBeginAllowThreads();
17888 (arg1)->Colourise(arg2,arg3);
17889 wxPyEndAllowThreads(__tstate);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
17892 resultobj = SWIG_Py_Void();
17893 return resultobj;
17894fail:
17895 return NULL;
17896}
17897
17898
17899SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17900 PyObject *resultobj = 0;
17901 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17902 wxString *arg2 = 0 ;
17903 wxString *arg3 = 0 ;
17904 void *argp1 = 0 ;
17905 int res1 = 0 ;
17906 bool temp2 = false ;
17907 bool temp3 = false ;
17908 PyObject * obj0 = 0 ;
17909 PyObject * obj1 = 0 ;
17910 PyObject * obj2 = 0 ;
17911 char * kwnames[] = {
17912 (char *) "self",(char *) "key",(char *) "value", NULL
17913 };
17914
17915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17917 if (!SWIG_IsOK(res1)) {
17918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17919 }
17920 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17921 {
17922 arg2 = wxString_in_helper(obj1);
17923 if (arg2 == NULL) SWIG_fail;
17924 temp2 = true;
17925 }
17926 {
17927 arg3 = wxString_in_helper(obj2);
17928 if (arg3 == NULL) SWIG_fail;
17929 temp3 = true;
17930 }
17931 {
17932 PyThreadState* __tstate = wxPyBeginAllowThreads();
17933 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
17934 wxPyEndAllowThreads(__tstate);
17935 if (PyErr_Occurred()) SWIG_fail;
17936 }
17937 resultobj = SWIG_Py_Void();
17938 {
17939 if (temp2)
17940 delete arg2;
17941 }
17942 {
17943 if (temp3)
17944 delete arg3;
17945 }
17946 return resultobj;
17947fail:
17948 {
17949 if (temp2)
17950 delete arg2;
17951 }
17952 {
17953 if (temp3)
17954 delete arg3;
17955 }
17956 return NULL;
17957}
17958
17959
17960SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17961 PyObject *resultobj = 0;
17962 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17963 int arg2 ;
17964 wxString *arg3 = 0 ;
17965 void *argp1 = 0 ;
17966 int res1 = 0 ;
17967 int val2 ;
17968 int ecode2 = 0 ;
17969 bool temp3 = false ;
17970 PyObject * obj0 = 0 ;
17971 PyObject * obj1 = 0 ;
17972 PyObject * obj2 = 0 ;
17973 char * kwnames[] = {
17974 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
17975 };
17976
17977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17979 if (!SWIG_IsOK(res1)) {
17980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17981 }
17982 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17983 ecode2 = SWIG_AsVal_int(obj1, &val2);
17984 if (!SWIG_IsOK(ecode2)) {
17985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "2"" of type '" "int""'");
17986 }
17987 arg2 = static_cast< int >(val2);
17988 {
17989 arg3 = wxString_in_helper(obj2);
17990 if (arg3 == NULL) SWIG_fail;
17991 temp3 = true;
17992 }
17993 {
17994 PyThreadState* __tstate = wxPyBeginAllowThreads();
17995 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 resultobj = SWIG_Py_Void();
18000 {
18001 if (temp3)
18002 delete arg3;
18003 }
18004 return resultobj;
18005fail:
18006 {
18007 if (temp3)
18008 delete arg3;
18009 }
18010 return NULL;
7bdb1bc4
RD
18011}
18012
18013
554f62e9
RD
18014SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18015 PyObject *resultobj = 0;
18016 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18017 wxString *arg2 = 0 ;
18018 void *argp1 = 0 ;
18019 int res1 = 0 ;
18020 bool temp2 = false ;
18021 PyObject * obj0 = 0 ;
18022 PyObject * obj1 = 0 ;
18023 char * kwnames[] = {
18024 (char *) "self",(char *) "language", NULL
18025 };
18026
18027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) SWIG_fail;
18028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18029 if (!SWIG_IsOK(res1)) {
18030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexerLanguage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18031 }
18032 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18033 {
18034 arg2 = wxString_in_helper(obj1);
18035 if (arg2 == NULL) SWIG_fail;
18036 temp2 = true;
18037 }
18038 {
18039 PyThreadState* __tstate = wxPyBeginAllowThreads();
18040 (arg1)->SetLexerLanguage((wxString const &)*arg2);
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 resultobj = SWIG_Py_Void();
18045 {
18046 if (temp2)
18047 delete arg2;
18048 }
18049 return resultobj;
18050fail:
18051 {
18052 if (temp2)
18053 delete arg2;
18054 }
18055 return NULL;
18056}
18057
18058
18059SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18060 PyObject *resultobj = 0;
18061 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18062 wxString *arg2 = 0 ;
18063 wxString result;
18064 void *argp1 = 0 ;
18065 int res1 = 0 ;
18066 bool temp2 = false ;
18067 PyObject * obj0 = 0 ;
18068 PyObject * obj1 = 0 ;
18069 char * kwnames[] = {
18070 (char *) "self",(char *) "key", NULL
18071 };
18072
18073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetProperty",kwnames,&obj0,&obj1)) SWIG_fail;
18074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18075 if (!SWIG_IsOK(res1)) {
18076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18077 }
18078 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18079 {
18080 arg2 = wxString_in_helper(obj1);
18081 if (arg2 == NULL) SWIG_fail;
18082 temp2 = true;
18083 }
18084 {
18085 PyThreadState* __tstate = wxPyBeginAllowThreads();
18086 result = (arg1)->GetProperty((wxString const &)*arg2);
18087 wxPyEndAllowThreads(__tstate);
18088 if (PyErr_Occurred()) SWIG_fail;
18089 }
18090 {
18091#if wxUSE_UNICODE
18092 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18093#else
18094 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18095#endif
18096 }
18097 {
18098 if (temp2)
18099 delete arg2;
18100 }
18101 return resultobj;
18102fail:
18103 {
18104 if (temp2)
18105 delete arg2;
18106 }
18107 return NULL;
18108}
18109
18110
18111SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18112 PyObject *resultobj = 0;
18113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18114 wxString *arg2 = 0 ;
18115 wxString result;
18116 void *argp1 = 0 ;
18117 int res1 = 0 ;
18118 bool temp2 = false ;
18119 PyObject * obj0 = 0 ;
18120 PyObject * obj1 = 0 ;
18121 char * kwnames[] = {
18122 (char *) "self",(char *) "key", NULL
18123 };
18124
18125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
18126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18127 if (!SWIG_IsOK(res1)) {
18128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18129 }
18130 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18131 {
18132 arg2 = wxString_in_helper(obj1);
18133 if (arg2 == NULL) SWIG_fail;
18134 temp2 = true;
18135 }
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 result = (arg1)->GetPropertyExpanded((wxString const &)*arg2);
18139 wxPyEndAllowThreads(__tstate);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 }
18142 {
18143#if wxUSE_UNICODE
18144 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18145#else
18146 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18147#endif
18148 }
18149 {
18150 if (temp2)
18151 delete arg2;
18152 }
18153 return resultobj;
18154fail:
18155 {
18156 if (temp2)
18157 delete arg2;
18158 }
18159 return NULL;
18160}
18161
18162
18163SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18164 PyObject *resultobj = 0;
18165 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18166 wxString *arg2 = 0 ;
18167 int result;
18168 void *argp1 = 0 ;
18169 int res1 = 0 ;
18170 bool temp2 = false ;
18171 PyObject * obj0 = 0 ;
18172 PyObject * obj1 = 0 ;
18173 char * kwnames[] = {
18174 (char *) "self",(char *) "key", NULL
18175 };
18176
18177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyInt",kwnames,&obj0,&obj1)) SWIG_fail;
18178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18179 if (!SWIG_IsOK(res1)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyInt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18181 }
18182 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18183 {
18184 arg2 = wxString_in_helper(obj1);
18185 if (arg2 == NULL) SWIG_fail;
18186 temp2 = true;
18187 }
18188 {
18189 PyThreadState* __tstate = wxPyBeginAllowThreads();
18190 result = (int)(arg1)->GetPropertyInt((wxString const &)*arg2);
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 resultobj = SWIG_From_int(static_cast< int >(result));
18195 {
18196 if (temp2)
18197 delete arg2;
18198 }
18199 return resultobj;
18200fail:
18201 {
18202 if (temp2)
18203 delete arg2;
18204 }
18205 return NULL;
7bdb1bc4
RD
18206}
18207
18208
554f62e9
RD
18209SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBitsNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18210 PyObject *resultobj = 0;
18211 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18212 int result;
18213 void *argp1 = 0 ;
18214 int res1 = 0 ;
18215 PyObject *swig_obj[1] ;
18216
18217 if (!args) SWIG_fail;
18218 swig_obj[0] = args;
18219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18220 if (!SWIG_IsOK(res1)) {
18221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBitsNeeded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18222 }
18223 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18224 {
18225 PyThreadState* __tstate = wxPyBeginAllowThreads();
18226 result = (int)(arg1)->GetStyleBitsNeeded();
18227 wxPyEndAllowThreads(__tstate);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 }
18230 resultobj = SWIG_From_int(static_cast< int >(result));
18231 return resultobj;
18232fail:
18233 return NULL;
7bdb1bc4
RD
18234}
18235
18236
554f62e9
RD
18237SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18238 PyObject *resultobj = 0;
18239 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18240 int result;
18241 void *argp1 = 0 ;
18242 int res1 = 0 ;
18243 PyObject *swig_obj[1] ;
18244
18245 if (!args) SWIG_fail;
18246 swig_obj[0] = args;
18247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18248 if (!SWIG_IsOK(res1)) {
18249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18250 }
18251 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18252 {
18253 PyThreadState* __tstate = wxPyBeginAllowThreads();
18254 result = (int)(arg1)->GetCurrentLine();
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 resultobj = SWIG_From_int(static_cast< int >(result));
18259 return resultobj;
18260fail:
18261 return NULL;
18262}
18263
18264
18265SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18266 PyObject *resultobj = 0;
18267 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18268 int arg2 ;
18269 wxString *arg3 = 0 ;
18270 void *argp1 = 0 ;
18271 int res1 = 0 ;
18272 int val2 ;
18273 int ecode2 = 0 ;
18274 bool temp3 = false ;
18275 PyObject * obj0 = 0 ;
18276 PyObject * obj1 = 0 ;
18277 PyObject * obj2 = 0 ;
18278 char * kwnames[] = {
18279 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
18280 };
18281
18282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18284 if (!SWIG_IsOK(res1)) {
18285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18286 }
18287 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18288 ecode2 = SWIG_AsVal_int(obj1, &val2);
18289 if (!SWIG_IsOK(ecode2)) {
18290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "2"" of type '" "int""'");
18291 }
18292 arg2 = static_cast< int >(val2);
18293 {
18294 arg3 = wxString_in_helper(obj2);
18295 if (arg3 == NULL) SWIG_fail;
18296 temp3 = true;
18297 }
18298 {
18299 PyThreadState* __tstate = wxPyBeginAllowThreads();
18300 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 resultobj = SWIG_Py_Void();
18305 {
18306 if (temp3)
18307 delete arg3;
18308 }
18309 return resultobj;
18310fail:
18311 {
18312 if (temp3)
18313 delete arg3;
18314 }
18315 return NULL;
18316}
18317
18318
18319SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18320 PyObject *resultobj = 0;
18321 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18322 int arg2 ;
18323 wxFont *arg3 = 0 ;
18324 void *argp1 = 0 ;
18325 int res1 = 0 ;
18326 int val2 ;
18327 int ecode2 = 0 ;
18328 void *argp3 = 0 ;
18329 int res3 = 0 ;
18330 PyObject * obj0 = 0 ;
18331 PyObject * obj1 = 0 ;
18332 PyObject * obj2 = 0 ;
18333 char * kwnames[] = {
18334 (char *) "self",(char *) "styleNum",(char *) "font", NULL
18335 };
18336
18337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18339 if (!SWIG_IsOK(res1)) {
18340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18341 }
18342 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18343 ecode2 = SWIG_AsVal_int(obj1, &val2);
18344 if (!SWIG_IsOK(ecode2)) {
18345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "2"" of type '" "int""'");
18346 }
18347 arg2 = static_cast< int >(val2);
18348 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 );
18349 if (!SWIG_IsOK(res3)) {
18350 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18351 }
18352 if (!argp3) {
18353 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18354 }
18355 arg3 = reinterpret_cast< wxFont * >(argp3);
18356 {
18357 PyThreadState* __tstate = wxPyBeginAllowThreads();
18358 (arg1)->StyleSetFont(arg2,*arg3);
18359 wxPyEndAllowThreads(__tstate);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 }
18362 resultobj = SWIG_Py_Void();
18363 return resultobj;
18364fail:
18365 return NULL;
18366}
18367
18368
18369SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18370 PyObject *resultobj = 0;
18371 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18372 int arg2 ;
18373 int arg3 ;
18374 wxString *arg4 = 0 ;
18375 bool arg5 ;
18376 bool arg6 ;
18377 bool arg7 ;
18378 wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
18379 void *argp1 = 0 ;
18380 int res1 = 0 ;
18381 int val2 ;
18382 int ecode2 = 0 ;
18383 int val3 ;
18384 int ecode3 = 0 ;
18385 bool temp4 = false ;
18386 bool val5 ;
18387 int ecode5 = 0 ;
18388 bool val6 ;
18389 int ecode6 = 0 ;
18390 bool val7 ;
18391 int ecode7 = 0 ;
18392 int val8 ;
18393 int ecode8 = 0 ;
18394 PyObject * obj0 = 0 ;
18395 PyObject * obj1 = 0 ;
18396 PyObject * obj2 = 0 ;
18397 PyObject * obj3 = 0 ;
18398 PyObject * obj4 = 0 ;
18399 PyObject * obj5 = 0 ;
18400 PyObject * obj6 = 0 ;
18401 PyObject * obj7 = 0 ;
18402 char * kwnames[] = {
18403 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL
18404 };
18405
18406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18408 if (!SWIG_IsOK(res1)) {
18409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18410 }
18411 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18412 ecode2 = SWIG_AsVal_int(obj1, &val2);
18413 if (!SWIG_IsOK(ecode2)) {
18414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "2"" of type '" "int""'");
18415 }
18416 arg2 = static_cast< int >(val2);
18417 ecode3 = SWIG_AsVal_int(obj2, &val3);
18418 if (!SWIG_IsOK(ecode3)) {
18419 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "3"" of type '" "int""'");
18420 }
18421 arg3 = static_cast< int >(val3);
18422 {
18423 arg4 = wxString_in_helper(obj3);
18424 if (arg4 == NULL) SWIG_fail;
18425 temp4 = true;
18426 }
18427 ecode5 = SWIG_AsVal_bool(obj4, &val5);
18428 if (!SWIG_IsOK(ecode5)) {
18429 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "5"" of type '" "bool""'");
18430 }
18431 arg5 = static_cast< bool >(val5);
18432 ecode6 = SWIG_AsVal_bool(obj5, &val6);
18433 if (!SWIG_IsOK(ecode6)) {
18434 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "6"" of type '" "bool""'");
18435 }
18436 arg6 = static_cast< bool >(val6);
18437 ecode7 = SWIG_AsVal_bool(obj6, &val7);
18438 if (!SWIG_IsOK(ecode7)) {
18439 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "7"" of type '" "bool""'");
18440 }
18441 arg7 = static_cast< bool >(val7);
18442 if (obj7) {
18443 ecode8 = SWIG_AsVal_int(obj7, &val8);
18444 if (!SWIG_IsOK(ecode8)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "8"" of type '" "wxFontEncoding""'");
18446 }
18447 arg8 = static_cast< wxFontEncoding >(val8);
18448 }
18449 {
18450 PyThreadState* __tstate = wxPyBeginAllowThreads();
18451 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8);
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 resultobj = SWIG_Py_Void();
18456 {
18457 if (temp4)
18458 delete arg4;
18459 }
18460 return resultobj;
18461fail:
18462 {
18463 if (temp4)
18464 delete arg4;
18465 }
18466 return NULL;
18467}
18468
18469
18470SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18471 PyObject *resultobj = 0;
18472 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18473 int arg2 ;
18474 int arg3 ;
18475 void *argp1 = 0 ;
18476 int res1 = 0 ;
18477 int val2 ;
18478 int ecode2 = 0 ;
18479 int val3 ;
18480 int ecode3 = 0 ;
18481 PyObject * obj0 = 0 ;
18482 PyObject * obj1 = 0 ;
18483 PyObject * obj2 = 0 ;
18484 char * kwnames[] = {
18485 (char *) "self",(char *) "style",(char *) "characterSet", NULL
18486 };
18487
18488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18490 if (!SWIG_IsOK(res1)) {
18491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18492 }
18493 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18494 ecode2 = SWIG_AsVal_int(obj1, &val2);
18495 if (!SWIG_IsOK(ecode2)) {
18496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "2"" of type '" "int""'");
18497 }
18498 arg2 = static_cast< int >(val2);
18499 ecode3 = SWIG_AsVal_int(obj2, &val3);
18500 if (!SWIG_IsOK(ecode3)) {
18501 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "3"" of type '" "int""'");
18502 }
18503 arg3 = static_cast< int >(val3);
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 (arg1)->StyleSetCharacterSet(arg2,arg3);
18507 wxPyEndAllowThreads(__tstate);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
18510 resultobj = SWIG_Py_Void();
18511 return resultobj;
18512fail:
18513 return NULL;
18514}
18515
18516
18517SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18518 PyObject *resultobj = 0;
18519 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18520 int arg2 ;
18521 wxFontEncoding arg3 ;
18522 void *argp1 = 0 ;
18523 int res1 = 0 ;
18524 int val2 ;
18525 int ecode2 = 0 ;
18526 int val3 ;
18527 int ecode3 = 0 ;
18528 PyObject * obj0 = 0 ;
18529 PyObject * obj1 = 0 ;
18530 PyObject * obj2 = 0 ;
18531 char * kwnames[] = {
18532 (char *) "self",(char *) "style",(char *) "encoding", NULL
18533 };
18534
18535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18537 if (!SWIG_IsOK(res1)) {
18538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18539 }
18540 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18541 ecode2 = SWIG_AsVal_int(obj1, &val2);
18542 if (!SWIG_IsOK(ecode2)) {
18543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "2"" of type '" "int""'");
18544 }
18545 arg2 = static_cast< int >(val2);
18546 ecode3 = SWIG_AsVal_int(obj2, &val3);
18547 if (!SWIG_IsOK(ecode3)) {
18548 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18549 }
18550 arg3 = static_cast< wxFontEncoding >(val3);
18551 {
18552 PyThreadState* __tstate = wxPyBeginAllowThreads();
18553 (arg1)->StyleSetFontEncoding(arg2,arg3);
18554 wxPyEndAllowThreads(__tstate);
18555 if (PyErr_Occurred()) SWIG_fail;
18556 }
18557 resultobj = SWIG_Py_Void();
18558 return resultobj;
18559fail:
18560 return NULL;
18561}
18562
18563
18564SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18565 PyObject *resultobj = 0;
18566 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18567 int arg2 ;
18568 void *argp1 = 0 ;
18569 int res1 = 0 ;
18570 int val2 ;
18571 int ecode2 = 0 ;
18572 PyObject * obj0 = 0 ;
18573 PyObject * obj1 = 0 ;
18574 char * kwnames[] = {
18575 (char *) "self",(char *) "cmd", NULL
18576 };
18577
18578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) SWIG_fail;
18579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18580 if (!SWIG_IsOK(res1)) {
18581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18582 }
18583 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18584 ecode2 = SWIG_AsVal_int(obj1, &val2);
18585 if (!SWIG_IsOK(ecode2)) {
18586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "2"" of type '" "int""'");
18587 }
18588 arg2 = static_cast< int >(val2);
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 (arg1)->CmdKeyExecute(arg2);
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 resultobj = SWIG_Py_Void();
18596 return resultobj;
18597fail:
18598 return NULL;
18599}
18600
18601
18602SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18603 PyObject *resultobj = 0;
18604 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18605 int arg2 ;
18606 int arg3 ;
18607 void *argp1 = 0 ;
18608 int res1 = 0 ;
18609 int val2 ;
18610 int ecode2 = 0 ;
18611 int val3 ;
18612 int ecode3 = 0 ;
18613 PyObject * obj0 = 0 ;
18614 PyObject * obj1 = 0 ;
18615 PyObject * obj2 = 0 ;
18616 char * kwnames[] = {
18617 (char *) "self",(char *) "left",(char *) "right", NULL
18618 };
18619
18620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18622 if (!SWIG_IsOK(res1)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18624 }
18625 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18626 ecode2 = SWIG_AsVal_int(obj1, &val2);
18627 if (!SWIG_IsOK(ecode2)) {
18628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "2"" of type '" "int""'");
18629 }
18630 arg2 = static_cast< int >(val2);
18631 ecode3 = SWIG_AsVal_int(obj2, &val3);
18632 if (!SWIG_IsOK(ecode3)) {
18633 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "3"" of type '" "int""'");
18634 }
18635 arg3 = static_cast< int >(val3);
18636 {
18637 PyThreadState* __tstate = wxPyBeginAllowThreads();
18638 (arg1)->SetMargins(arg2,arg3);
18639 wxPyEndAllowThreads(__tstate);
18640 if (PyErr_Occurred()) SWIG_fail;
18641 }
18642 resultobj = SWIG_Py_Void();
18643 return resultobj;
18644fail:
18645 return NULL;
18646}
18647
18648
18649SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18650 PyObject *resultobj = 0;
18651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18652 int *arg2 = (int *) 0 ;
18653 int *arg3 = (int *) 0 ;
18654 void *argp1 = 0 ;
18655 int res1 = 0 ;
18656 int temp2 ;
18657 int res2 = SWIG_TMPOBJ ;
18658 int temp3 ;
18659 int res3 = SWIG_TMPOBJ ;
18660 PyObject *swig_obj[1] ;
18661
18662 arg2 = &temp2;
18663 arg3 = &temp3;
18664 if (!args) SWIG_fail;
18665 swig_obj[0] = args;
18666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18667 if (!SWIG_IsOK(res1)) {
18668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18669 }
18670 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18671 {
18672 PyThreadState* __tstate = wxPyBeginAllowThreads();
18673 (arg1)->GetSelection(arg2,arg3);
18674 wxPyEndAllowThreads(__tstate);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
18677 resultobj = SWIG_Py_Void();
18678 if (SWIG_IsTmpObj(res2)) {
18679 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
18680 } else {
18681 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18682 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
18683 }
18684 if (SWIG_IsTmpObj(res3)) {
18685 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
18686 } else {
18687 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18688 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
18689 }
18690 return resultobj;
18691fail:
18692 return NULL;
18693}
18694
18695
18696SWIGINTERN PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18697 PyObject *resultobj = 0;
18698 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18699 int arg2 ;
18700 wxPoint result;
18701 void *argp1 = 0 ;
18702 int res1 = 0 ;
18703 int val2 ;
18704 int ecode2 = 0 ;
18705 PyObject * obj0 = 0 ;
18706 PyObject * obj1 = 0 ;
18707 char * kwnames[] = {
18708 (char *) "self",(char *) "pos", NULL
18709 };
18710
18711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
18712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18713 if (!SWIG_IsOK(res1)) {
18714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18715 }
18716 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18717 ecode2 = SWIG_AsVal_int(obj1, &val2);
18718 if (!SWIG_IsOK(ecode2)) {
18719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "2"" of type '" "int""'");
18720 }
18721 arg2 = static_cast< int >(val2);
18722 {
18723 PyThreadState* __tstate = wxPyBeginAllowThreads();
18724 result = (arg1)->PointFromPosition(arg2);
18725 wxPyEndAllowThreads(__tstate);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
18729 return resultobj;
18730fail:
18731 return NULL;
18732}
18733
18734
18735SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18736 PyObject *resultobj = 0;
18737 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18738 int arg2 ;
18739 void *argp1 = 0 ;
18740 int res1 = 0 ;
18741 int val2 ;
18742 int ecode2 = 0 ;
18743 PyObject * obj0 = 0 ;
18744 PyObject * obj1 = 0 ;
18745 char * kwnames[] = {
18746 (char *) "self",(char *) "line", NULL
18747 };
18748
18749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
18750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18751 if (!SWIG_IsOK(res1)) {
18752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18753 }
18754 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18755 ecode2 = SWIG_AsVal_int(obj1, &val2);
18756 if (!SWIG_IsOK(ecode2)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
18758 }
18759 arg2 = static_cast< int >(val2);
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 (arg1)->ScrollToLine(arg2);
18763 wxPyEndAllowThreads(__tstate);
18764 if (PyErr_Occurred()) SWIG_fail;
18765 }
18766 resultobj = SWIG_Py_Void();
18767 return resultobj;
18768fail:
18769 return NULL;
18770}
18771
18772
18773SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18774 PyObject *resultobj = 0;
18775 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18776 int arg2 ;
18777 void *argp1 = 0 ;
18778 int res1 = 0 ;
18779 int val2 ;
18780 int ecode2 = 0 ;
18781 PyObject * obj0 = 0 ;
18782 PyObject * obj1 = 0 ;
18783 char * kwnames[] = {
18784 (char *) "self",(char *) "column", NULL
18785 };
18786
18787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
18788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18789 if (!SWIG_IsOK(res1)) {
18790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18791 }
18792 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18793 ecode2 = SWIG_AsVal_int(obj1, &val2);
18794 if (!SWIG_IsOK(ecode2)) {
18795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "2"" of type '" "int""'");
18796 }
18797 arg2 = static_cast< int >(val2);
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 (arg1)->ScrollToColumn(arg2);
18801 wxPyEndAllowThreads(__tstate);
18802 if (PyErr_Occurred()) SWIG_fail;
18803 }
18804 resultobj = SWIG_Py_Void();
18805 return resultobj;
18806fail:
18807 return NULL;
18808}
18809
18810
18811SWIGINTERN PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18812 PyObject *resultobj = 0;
18813 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18814 int arg2 ;
18815 long arg3 = (long) 0 ;
18816 long arg4 = (long) 0 ;
18817 long result;
18818 void *argp1 = 0 ;
18819 int res1 = 0 ;
18820 int val2 ;
18821 int ecode2 = 0 ;
18822 long val3 ;
18823 int ecode3 = 0 ;
18824 long val4 ;
18825 int ecode4 = 0 ;
18826 PyObject * obj0 = 0 ;
18827 PyObject * obj1 = 0 ;
18828 PyObject * obj2 = 0 ;
18829 PyObject * obj3 = 0 ;
18830 char * kwnames[] = {
18831 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
18832 };
18833
18834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18836 if (!SWIG_IsOK(res1)) {
18837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18838 }
18839 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18840 ecode2 = SWIG_AsVal_int(obj1, &val2);
18841 if (!SWIG_IsOK(ecode2)) {
18842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "2"" of type '" "int""'");
18843 }
18844 arg2 = static_cast< int >(val2);
18845 if (obj2) {
18846 ecode3 = SWIG_AsVal_long(obj2, &val3);
18847 if (!SWIG_IsOK(ecode3)) {
18848 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "3"" of type '" "long""'");
18849 }
18850 arg3 = static_cast< long >(val3);
18851 }
18852 if (obj3) {
18853 ecode4 = SWIG_AsVal_long(obj3, &val4);
18854 if (!SWIG_IsOK(ecode4)) {
18855 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "4"" of type '" "long""'");
18856 }
18857 arg4 = static_cast< long >(val4);
18858 }
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
18862 wxPyEndAllowThreads(__tstate);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 resultobj = SWIG_From_long(static_cast< long >(result));
18866 return resultobj;
18867fail:
18868 return NULL;
18869}
18870
18871
18872SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18873 PyObject *resultobj = 0;
18874 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18875 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
18876 void *argp1 = 0 ;
18877 int res1 = 0 ;
18878 void *argp2 = 0 ;
18879 int res2 = 0 ;
18880 PyObject * obj0 = 0 ;
18881 PyObject * obj1 = 0 ;
18882 char * kwnames[] = {
18883 (char *) "self",(char *) "bar", NULL
18884 };
18885
18886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
18887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18888 if (!SWIG_IsOK(res1)) {
18889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18890 }
18891 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18892 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 | 0 );
18893 if (!SWIG_IsOK(res2)) {
18894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18895 }
18896 arg2 = reinterpret_cast< wxScrollBar * >(argp2);
18897 {
18898 PyThreadState* __tstate = wxPyBeginAllowThreads();
18899 (arg1)->SetVScrollBar(arg2);
18900 wxPyEndAllowThreads(__tstate);
18901 if (PyErr_Occurred()) SWIG_fail;
18902 }
18903 resultobj = SWIG_Py_Void();
18904 return resultobj;
18905fail:
18906 return NULL;
18907}
18908
18909
18910SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18911 PyObject *resultobj = 0;
18912 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18913 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
18914 void *argp1 = 0 ;
18915 int res1 = 0 ;
18916 void *argp2 = 0 ;
18917 int res2 = 0 ;
18918 PyObject * obj0 = 0 ;
18919 PyObject * obj1 = 0 ;
18920 char * kwnames[] = {
18921 (char *) "self",(char *) "bar", NULL
18922 };
18923
18924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
18925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18926 if (!SWIG_IsOK(res1)) {
18927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18928 }
18929 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18930 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 | 0 );
18931 if (!SWIG_IsOK(res2)) {
18932 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18933 }
18934 arg2 = reinterpret_cast< wxScrollBar * >(argp2);
18935 {
18936 PyThreadState* __tstate = wxPyBeginAllowThreads();
18937 (arg1)->SetHScrollBar(arg2);
18938 wxPyEndAllowThreads(__tstate);
18939 if (PyErr_Occurred()) SWIG_fail;
18940 }
18941 resultobj = SWIG_Py_Void();
18942 return resultobj;
18943fail:
18944 return NULL;
7bdb1bc4
RD
18945}
18946
18947
554f62e9
RD
18948SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18949 PyObject *resultobj = 0;
18950 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18951 bool result;
18952 void *argp1 = 0 ;
18953 int res1 = 0 ;
18954 PyObject *swig_obj[1] ;
18955
18956 if (!args) SWIG_fail;
18957 swig_obj[0] = args;
18958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18959 if (!SWIG_IsOK(res1)) {
18960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18961 }
18962 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18963 {
18964 PyThreadState* __tstate = wxPyBeginAllowThreads();
18965 result = (bool)(arg1)->GetLastKeydownProcessed();
18966 wxPyEndAllowThreads(__tstate);
18967 if (PyErr_Occurred()) SWIG_fail;
18968 }
18969 {
18970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18971 }
18972 return resultobj;
18973fail:
18974 return NULL;
18975}
18976
18977
18978SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj = 0;
18980 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18981 bool arg2 ;
18982 void *argp1 = 0 ;
18983 int res1 = 0 ;
18984 bool val2 ;
18985 int ecode2 = 0 ;
18986 PyObject * obj0 = 0 ;
18987 PyObject * obj1 = 0 ;
18988 char * kwnames[] = {
18989 (char *) "self",(char *) "val", NULL
18990 };
18991
18992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) SWIG_fail;
18993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18994 if (!SWIG_IsOK(res1)) {
18995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18996 }
18997 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18998 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18999 if (!SWIG_IsOK(ecode2)) {
19000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "2"" of type '" "bool""'");
19001 }
19002 arg2 = static_cast< bool >(val2);
19003 {
19004 PyThreadState* __tstate = wxPyBeginAllowThreads();
19005 (arg1)->SetLastKeydownProcessed(arg2);
19006 wxPyEndAllowThreads(__tstate);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 }
19009 resultobj = SWIG_Py_Void();
19010 return resultobj;
19011fail:
19012 return NULL;
19013}
19014
19015
19016SWIGINTERN PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19017 PyObject *resultobj = 0;
19018 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19019 wxString *arg2 = 0 ;
19020 bool result;
19021 void *argp1 = 0 ;
19022 int res1 = 0 ;
19023 bool temp2 = false ;
19024 PyObject * obj0 = 0 ;
19025 PyObject * obj1 = 0 ;
19026 char * kwnames[] = {
19027 (char *) "self",(char *) "filename", NULL
19028 };
19029
19030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) SWIG_fail;
19031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19032 if (!SWIG_IsOK(res1)) {
19033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19034 }
19035 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19036 {
19037 arg2 = wxString_in_helper(obj1);
19038 if (arg2 == NULL) SWIG_fail;
19039 temp2 = true;
19040 }
19041 {
19042 PyThreadState* __tstate = wxPyBeginAllowThreads();
19043 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 {
19048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19049 }
19050 {
19051 if (temp2)
19052 delete arg2;
19053 }
19054 return resultobj;
19055fail:
19056 {
19057 if (temp2)
19058 delete arg2;
19059 }
19060 return NULL;
19061}
19062
19063
19064SWIGINTERN PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19065 PyObject *resultobj = 0;
19066 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19067 wxString *arg2 = 0 ;
19068 bool result;
19069 void *argp1 = 0 ;
19070 int res1 = 0 ;
19071 bool temp2 = false ;
19072 PyObject * obj0 = 0 ;
19073 PyObject * obj1 = 0 ;
19074 char * kwnames[] = {
19075 (char *) "self",(char *) "filename", NULL
19076 };
19077
19078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
19079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19080 if (!SWIG_IsOK(res1)) {
19081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19082 }
19083 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19084 {
19085 arg2 = wxString_in_helper(obj1);
19086 if (arg2 == NULL) SWIG_fail;
19087 temp2 = true;
19088 }
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 {
19096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19097 }
19098 {
19099 if (temp2)
19100 delete arg2;
19101 }
19102 return resultobj;
19103fail:
19104 {
19105 if (temp2)
19106 delete arg2;
19107 }
19108 return NULL;
19109}
19110
19111
19112SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19113 PyObject *resultobj = 0;
19114 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19115 int arg2 ;
19116 int arg3 ;
19117 wxDragResult arg4 ;
19118 wxDragResult result;
19119 void *argp1 = 0 ;
19120 int res1 = 0 ;
19121 int val2 ;
19122 int ecode2 = 0 ;
19123 int val3 ;
19124 int ecode3 = 0 ;
19125 int val4 ;
19126 int ecode4 = 0 ;
19127 PyObject * obj0 = 0 ;
19128 PyObject * obj1 = 0 ;
19129 PyObject * obj2 = 0 ;
19130 PyObject * obj3 = 0 ;
19131 char * kwnames[] = {
f460c29d 19132 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
554f62e9
RD
19133 };
19134
19135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19137 if (!SWIG_IsOK(res1)) {
19138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19139 }
19140 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19141 ecode2 = SWIG_AsVal_int(obj1, &val2);
19142 if (!SWIG_IsOK(ecode2)) {
19143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "2"" of type '" "int""'");
19144 }
19145 arg2 = static_cast< int >(val2);
19146 ecode3 = SWIG_AsVal_int(obj2, &val3);
19147 if (!SWIG_IsOK(ecode3)) {
19148 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "3"" of type '" "int""'");
19149 }
19150 arg3 = static_cast< int >(val3);
19151 ecode4 = SWIG_AsVal_int(obj3, &val4);
19152 if (!SWIG_IsOK(ecode4)) {
19153 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
19154 }
19155 arg4 = static_cast< wxDragResult >(val4);
19156 {
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
19158 result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4);
19159 wxPyEndAllowThreads(__tstate);
19160 if (PyErr_Occurred()) SWIG_fail;
19161 }
19162 resultobj = SWIG_From_int(static_cast< int >(result));
19163 return resultobj;
19164fail:
19165 return NULL;
19166}
19167
19168
19169SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19170 PyObject *resultobj = 0;
19171 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19172 long arg2 ;
19173 long arg3 ;
19174 wxString *arg4 = 0 ;
19175 bool result;
19176 void *argp1 = 0 ;
19177 int res1 = 0 ;
19178 long val2 ;
19179 int ecode2 = 0 ;
19180 long val3 ;
19181 int ecode3 = 0 ;
19182 bool temp4 = false ;
19183 PyObject * obj0 = 0 ;
19184 PyObject * obj1 = 0 ;
19185 PyObject * obj2 = 0 ;
19186 PyObject * obj3 = 0 ;
19187 char * kwnames[] = {
19188 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
19189 };
19190
19191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19193 if (!SWIG_IsOK(res1)) {
19194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19195 }
19196 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19197 ecode2 = SWIG_AsVal_long(obj1, &val2);
19198 if (!SWIG_IsOK(ecode2)) {
19199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "2"" of type '" "long""'");
19200 }
19201 arg2 = static_cast< long >(val2);
19202 ecode3 = SWIG_AsVal_long(obj2, &val3);
19203 if (!SWIG_IsOK(ecode3)) {
19204 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "3"" of type '" "long""'");
19205 }
19206 arg3 = static_cast< long >(val3);
19207 {
19208 arg4 = wxString_in_helper(obj3);
19209 if (arg4 == NULL) SWIG_fail;
19210 temp4 = true;
19211 }
19212 {
19213 PyThreadState* __tstate = wxPyBeginAllowThreads();
19214 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 {
19219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19220 }
19221 {
19222 if (temp4)
19223 delete arg4;
19224 }
19225 return resultobj;
19226fail:
19227 {
19228 if (temp4)
19229 delete arg4;
19230 }
19231 return NULL;
19232}
19233
19234
19235SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19236 PyObject *resultobj = 0;
19237 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19238 bool arg2 ;
19239 void *argp1 = 0 ;
19240 int res1 = 0 ;
19241 bool val2 ;
19242 int ecode2 = 0 ;
19243 PyObject * obj0 = 0 ;
19244 PyObject * obj1 = 0 ;
19245 char * kwnames[] = {
19246 (char *) "self",(char *) "useAA", NULL
19247 };
19248
19249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) SWIG_fail;
19250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19251 if (!SWIG_IsOK(res1)) {
19252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19253 }
19254 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19255 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19256 if (!SWIG_IsOK(ecode2)) {
19257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
19258 }
19259 arg2 = static_cast< bool >(val2);
19260 {
19261 PyThreadState* __tstate = wxPyBeginAllowThreads();
19262 (arg1)->SetUseAntiAliasing(arg2);
19263 wxPyEndAllowThreads(__tstate);
19264 if (PyErr_Occurred()) SWIG_fail;
19265 }
19266 resultobj = SWIG_Py_Void();
19267 return resultobj;
19268fail:
19269 return NULL;
7bdb1bc4
RD
19270}
19271
19272
554f62e9
RD
19273SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19274 PyObject *resultobj = 0;
19275 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19276 bool result;
19277 void *argp1 = 0 ;
19278 int res1 = 0 ;
19279 PyObject *swig_obj[1] ;
19280
19281 if (!args) SWIG_fail;
19282 swig_obj[0] = args;
19283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19284 if (!SWIG_IsOK(res1)) {
19285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19286 }
19287 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19288 {
19289 PyThreadState* __tstate = wxPyBeginAllowThreads();
19290 result = (bool)(arg1)->GetUseAntiAliasing();
19291 wxPyEndAllowThreads(__tstate);
19292 if (PyErr_Occurred()) SWIG_fail;
19293 }
19294 {
19295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19296 }
19297 return resultobj;
19298fail:
19299 return NULL;
19300}
19301
19302
19303SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19304 PyObject *resultobj = 0;
19305 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19306 char *arg2 = (char *) 0 ;
19307 void *argp1 = 0 ;
19308 int res1 = 0 ;
19309 int res2 ;
19310 char *buf2 = 0 ;
19311 int alloc2 = 0 ;
19312 PyObject * obj0 = 0 ;
19313 PyObject * obj1 = 0 ;
19314 char * kwnames[] = {
19315 (char *) "self",(char *) "text", NULL
19316 };
19317
19318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19320 if (!SWIG_IsOK(res1)) {
19321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19322 }
19323 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19324 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19325 if (!SWIG_IsOK(res2)) {
19326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19327 }
19328 arg2 = buf2;
19329 {
19330 PyThreadState* __tstate = wxPyBeginAllowThreads();
19331 (arg1)->AddTextRaw((char const *)arg2);
19332 wxPyEndAllowThreads(__tstate);
19333 if (PyErr_Occurred()) SWIG_fail;
19334 }
19335 resultobj = SWIG_Py_Void();
19336 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19337 return resultobj;
19338fail:
19339 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19340 return NULL;
19341}
19342
19343
19344SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19345 PyObject *resultobj = 0;
19346 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19347 int arg2 ;
19348 char *arg3 = (char *) 0 ;
19349 void *argp1 = 0 ;
19350 int res1 = 0 ;
19351 int val2 ;
19352 int ecode2 = 0 ;
19353 int res3 ;
19354 char *buf3 = 0 ;
19355 int alloc3 = 0 ;
19356 PyObject * obj0 = 0 ;
19357 PyObject * obj1 = 0 ;
19358 PyObject * obj2 = 0 ;
19359 char * kwnames[] = {
19360 (char *) "self",(char *) "pos",(char *) "text", NULL
19361 };
19362
19363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19365 if (!SWIG_IsOK(res1)) {
19366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19367 }
19368 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19369 ecode2 = SWIG_AsVal_int(obj1, &val2);
19370 if (!SWIG_IsOK(ecode2)) {
19371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "2"" of type '" "int""'");
19372 }
19373 arg2 = static_cast< int >(val2);
19374 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
19375 if (!SWIG_IsOK(res3)) {
19376 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "3"" of type '" "char const *""'");
19377 }
19378 arg3 = buf3;
19379 {
19380 PyThreadState* __tstate = wxPyBeginAllowThreads();
19381 (arg1)->InsertTextRaw(arg2,(char const *)arg3);
19382 wxPyEndAllowThreads(__tstate);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
19385 resultobj = SWIG_Py_Void();
19386 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
19387 return resultobj;
19388fail:
19389 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
19390 return NULL;
19391}
19392
19393
19394SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19395 PyObject *resultobj = 0;
19396 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19397 int *arg2 = (int *) 0 ;
19398 wxCharBuffer result;
19399 void *argp1 = 0 ;
19400 int res1 = 0 ;
19401 int temp2 ;
19402 int res2 = SWIG_TMPOBJ ;
19403 PyObject *swig_obj[1] ;
19404
19405 arg2 = &temp2;
19406 if (!args) SWIG_fail;
19407 swig_obj[0] = args;
19408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19409 if (!SWIG_IsOK(res1)) {
19410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19411 }
19412 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 result = (arg1)->GetCurLineRaw(arg2);
19416 wxPyEndAllowThreads(__tstate);
19417 if (PyErr_Occurred()) SWIG_fail;
19418 }
19419 {
19420 resultobj = PyString_FromString((char*)(&result)->data());
19421 }
19422 if (SWIG_IsTmpObj(res2)) {
19423 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
19424 } else {
19425 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19426 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19427 }
19428 return resultobj;
19429fail:
19430 return NULL;
19431}
19432
19433
19434SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19435 PyObject *resultobj = 0;
19436 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19437 int arg2 ;
19438 wxCharBuffer result;
19439 void *argp1 = 0 ;
19440 int res1 = 0 ;
19441 int val2 ;
19442 int ecode2 = 0 ;
19443 PyObject * obj0 = 0 ;
19444 PyObject * obj1 = 0 ;
19445 char * kwnames[] = {
19446 (char *) "self",(char *) "line", NULL
19447 };
19448
19449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19451 if (!SWIG_IsOK(res1)) {
19452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19453 }
19454 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19455 ecode2 = SWIG_AsVal_int(obj1, &val2);
19456 if (!SWIG_IsOK(ecode2)) {
19457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "2"" of type '" "int""'");
19458 }
19459 arg2 = static_cast< int >(val2);
19460 {
19461 PyThreadState* __tstate = wxPyBeginAllowThreads();
19462 result = (arg1)->GetLineRaw(arg2);
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 {
19467 resultobj = PyString_FromString((char*)(&result)->data());
19468 }
19469 return resultobj;
19470fail:
19471 return NULL;
7bdb1bc4
RD
19472}
19473
19474
554f62e9
RD
19475SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19476 PyObject *resultobj = 0;
19477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19478 wxCharBuffer result;
19479 void *argp1 = 0 ;
19480 int res1 = 0 ;
19481 PyObject *swig_obj[1] ;
19482
19483 if (!args) SWIG_fail;
19484 swig_obj[0] = args;
19485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19486 if (!SWIG_IsOK(res1)) {
19487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19488 }
19489 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19490 {
19491 PyThreadState* __tstate = wxPyBeginAllowThreads();
19492 result = (arg1)->GetSelectedTextRaw();
19493 wxPyEndAllowThreads(__tstate);
19494 if (PyErr_Occurred()) SWIG_fail;
19495 }
19496 {
19497 resultobj = PyString_FromString((char*)(&result)->data());
19498 }
19499 return resultobj;
19500fail:
19501 return NULL;
19502}
19503
19504
19505SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19506 PyObject *resultobj = 0;
19507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19508 int arg2 ;
19509 int arg3 ;
19510 wxCharBuffer result;
19511 void *argp1 = 0 ;
19512 int res1 = 0 ;
19513 int val2 ;
19514 int ecode2 = 0 ;
19515 int val3 ;
19516 int ecode3 = 0 ;
19517 PyObject * obj0 = 0 ;
19518 PyObject * obj1 = 0 ;
19519 PyObject * obj2 = 0 ;
19520 char * kwnames[] = {
19521 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
19522 };
19523
19524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19526 if (!SWIG_IsOK(res1)) {
19527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19528 }
19529 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19530 ecode2 = SWIG_AsVal_int(obj1, &val2);
19531 if (!SWIG_IsOK(ecode2)) {
19532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "2"" of type '" "int""'");
19533 }
19534 arg2 = static_cast< int >(val2);
19535 ecode3 = SWIG_AsVal_int(obj2, &val3);
19536 if (!SWIG_IsOK(ecode3)) {
19537 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "3"" of type '" "int""'");
19538 }
19539 arg3 = static_cast< int >(val3);
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 result = (arg1)->GetTextRangeRaw(arg2,arg3);
19543 wxPyEndAllowThreads(__tstate);
19544 if (PyErr_Occurred()) SWIG_fail;
19545 }
19546 {
19547 resultobj = PyString_FromString((char*)(&result)->data());
19548 }
19549 return resultobj;
19550fail:
19551 return NULL;
19552}
19553
19554
19555SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19556 PyObject *resultobj = 0;
19557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19558 char *arg2 = (char *) 0 ;
19559 void *argp1 = 0 ;
19560 int res1 = 0 ;
19561 int res2 ;
19562 char *buf2 = 0 ;
19563 int alloc2 = 0 ;
19564 PyObject * obj0 = 0 ;
19565 PyObject * obj1 = 0 ;
19566 char * kwnames[] = {
19567 (char *) "self",(char *) "text", NULL
19568 };
19569
19570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19572 if (!SWIG_IsOK(res1)) {
19573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19574 }
19575 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19576 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19577 if (!SWIG_IsOK(res2)) {
19578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19579 }
19580 arg2 = buf2;
19581 {
19582 PyThreadState* __tstate = wxPyBeginAllowThreads();
19583 (arg1)->SetTextRaw((char const *)arg2);
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 resultobj = SWIG_Py_Void();
19588 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19589 return resultobj;
19590fail:
19591 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19592 return NULL;
19593}
19594
19595
19596SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19597 PyObject *resultobj = 0;
19598 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19599 wxCharBuffer result;
19600 void *argp1 = 0 ;
19601 int res1 = 0 ;
19602 PyObject *swig_obj[1] ;
19603
19604 if (!args) SWIG_fail;
19605 swig_obj[0] = args;
19606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19607 if (!SWIG_IsOK(res1)) {
19608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19609 }
19610 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19611 {
19612 PyThreadState* __tstate = wxPyBeginAllowThreads();
19613 result = (arg1)->GetTextRaw();
19614 wxPyEndAllowThreads(__tstate);
19615 if (PyErr_Occurred()) SWIG_fail;
19616 }
19617 {
19618 resultobj = PyString_FromString((char*)(&result)->data());
19619 }
19620 return resultobj;
19621fail:
19622 return NULL;
19623}
19624
19625
19626SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19627 PyObject *resultobj = 0;
19628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19629 char *arg2 = (char *) 0 ;
19630 void *argp1 = 0 ;
19631 int res1 = 0 ;
19632 int res2 ;
19633 char *buf2 = 0 ;
19634 int alloc2 = 0 ;
19635 PyObject * obj0 = 0 ;
19636 PyObject * obj1 = 0 ;
19637 char * kwnames[] = {
19638 (char *) "self",(char *) "text", NULL
19639 };
19640
19641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19643 if (!SWIG_IsOK(res1)) {
19644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19645 }
19646 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19647 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19648 if (!SWIG_IsOK(res2)) {
19649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19650 }
19651 arg2 = buf2;
19652 {
19653 PyThreadState* __tstate = wxPyBeginAllowThreads();
19654 (arg1)->AppendTextRaw((char const *)arg2);
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 resultobj = SWIG_Py_Void();
19659 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19660 return resultobj;
19661fail:
19662 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19663 return NULL;
19664}
19665
19666
19667SWIGINTERN PyObject *StyledTextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19668 PyObject *obj;
19669 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19670 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextCtrl, SWIG_NewClientData(obj));
19671 return SWIG_Py_Void();
19672}
19673
19674SWIGINTERN PyObject *StyledTextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19675 return SWIG_Python_InitShadowInstance(args);
19676}
19677
19678SWIGINTERN PyObject *_wrap_new_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj = 0;
19680 wxEventType arg1 = (wxEventType) 0 ;
19681 int arg2 = (int) 0 ;
19682 wxStyledTextEvent *result = 0 ;
19683 int val1 ;
19684 int ecode1 = 0 ;
19685 int val2 ;
19686 int ecode2 = 0 ;
19687 PyObject * obj0 = 0 ;
19688 PyObject * obj1 = 0 ;
19689 char * kwnames[] = {
19690 (char *) "commandType",(char *) "id", NULL
19691 };
19692
19693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19694 if (obj0) {
19695 ecode1 = SWIG_AsVal_int(obj0, &val1);
19696 if (!SWIG_IsOK(ecode1)) {
19697 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_StyledTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19698 }
19699 arg1 = static_cast< wxEventType >(val1);
19700 }
19701 if (obj1) {
19702 ecode2 = SWIG_AsVal_int(obj1, &val2);
19703 if (!SWIG_IsOK(ecode2)) {
19704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextEvent" "', expected argument " "2"" of type '" "int""'");
19705 }
19706 arg2 = static_cast< int >(val2);
19707 }
19708 {
19709 PyThreadState* __tstate = wxPyBeginAllowThreads();
19710 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_NEW | 0 );
19715 return resultobj;
19716fail:
19717 return NULL;
7bdb1bc4
RD
19718}
19719
19720
554f62e9
RD
19721SWIGINTERN PyObject *_wrap_delete_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19722 PyObject *resultobj = 0;
19723 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19724 void *argp1 = 0 ;
19725 int res1 = 0 ;
19726 PyObject *swig_obj[1] ;
19727
19728 if (!args) SWIG_fail;
19729 swig_obj[0] = args;
19730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_DISOWN | 0 );
19731 if (!SWIG_IsOK(res1)) {
19732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_StyledTextEvent" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19733 }
19734 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 delete arg1;
7bdb1bc4 19738
554f62e9
RD
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 resultobj = SWIG_Py_Void();
19743 return resultobj;
19744fail:
19745 return NULL;
19746}
19747
19748
19749SWIGINTERN PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19750 PyObject *resultobj = 0;
19751 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19752 int arg2 ;
19753 void *argp1 = 0 ;
19754 int res1 = 0 ;
19755 int val2 ;
19756 int ecode2 = 0 ;
19757 PyObject * obj0 = 0 ;
19758 PyObject * obj1 = 0 ;
19759 char * kwnames[] = {
19760 (char *) "self",(char *) "pos", NULL
19761 };
19762
19763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
19764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19765 if (!SWIG_IsOK(res1)) {
19766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19767 }
19768 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19769 ecode2 = SWIG_AsVal_int(obj1, &val2);
19770 if (!SWIG_IsOK(ecode2)) {
19771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19772 }
19773 arg2 = static_cast< int >(val2);
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 (arg1)->SetPosition(arg2);
19777 wxPyEndAllowThreads(__tstate);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
19780 resultobj = SWIG_Py_Void();
19781 return resultobj;
19782fail:
19783 return NULL;
19784}
19785
19786
19787SWIGINTERN PyObject *_wrap_StyledTextEvent_SetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19788 PyObject *resultobj = 0;
19789 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19790 int arg2 ;
19791 void *argp1 = 0 ;
19792 int res1 = 0 ;
19793 int val2 ;
19794 int ecode2 = 0 ;
19795 PyObject * obj0 = 0 ;
19796 PyObject * obj1 = 0 ;
19797 char * kwnames[] = {
19798 (char *) "self",(char *) "k", NULL
19799 };
19800
19801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) SWIG_fail;
19802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19803 if (!SWIG_IsOK(res1)) {
19804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19805 }
19806 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19807 ecode2 = SWIG_AsVal_int(obj1, &val2);
19808 if (!SWIG_IsOK(ecode2)) {
19809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetKey" "', expected argument " "2"" of type '" "int""'");
19810 }
19811 arg2 = static_cast< int >(val2);
19812 {
19813 PyThreadState* __tstate = wxPyBeginAllowThreads();
19814 (arg1)->SetKey(arg2);
19815 wxPyEndAllowThreads(__tstate);
19816 if (PyErr_Occurred()) SWIG_fail;
19817 }
19818 resultobj = SWIG_Py_Void();
19819 return resultobj;
19820fail:
19821 return NULL;
19822}
19823
19824
19825SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19826 PyObject *resultobj = 0;
19827 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19828 int arg2 ;
19829 void *argp1 = 0 ;
19830 int res1 = 0 ;
19831 int val2 ;
19832 int ecode2 = 0 ;
19833 PyObject * obj0 = 0 ;
19834 PyObject * obj1 = 0 ;
19835 char * kwnames[] = {
19836 (char *) "self",(char *) "m", NULL
19837 };
19838
19839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) SWIG_fail;
19840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19841 if (!SWIG_IsOK(res1)) {
19842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19843 }
19844 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19845 ecode2 = SWIG_AsVal_int(obj1, &val2);
19846 if (!SWIG_IsOK(ecode2)) {
19847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "2"" of type '" "int""'");
19848 }
19849 arg2 = static_cast< int >(val2);
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 (arg1)->SetModifiers(arg2);
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 resultobj = SWIG_Py_Void();
19857 return resultobj;
19858fail:
19859 return NULL;
19860}
19861
19862
19863SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19864 PyObject *resultobj = 0;
19865 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19866 int arg2 ;
19867 void *argp1 = 0 ;
19868 int res1 = 0 ;
19869 int val2 ;
19870 int ecode2 = 0 ;
19871 PyObject * obj0 = 0 ;
19872 PyObject * obj1 = 0 ;
19873 char * kwnames[] = {
19874 (char *) "self",(char *) "t", NULL
19875 };
19876
19877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) SWIG_fail;
19878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19879 if (!SWIG_IsOK(res1)) {
19880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19881 }
19882 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19883 ecode2 = SWIG_AsVal_int(obj1, &val2);
19884 if (!SWIG_IsOK(ecode2)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "2"" of type '" "int""'");
19886 }
19887 arg2 = static_cast< int >(val2);
19888 {
19889 PyThreadState* __tstate = wxPyBeginAllowThreads();
19890 (arg1)->SetModificationType(arg2);
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 resultobj = SWIG_Py_Void();
19895 return resultobj;
19896fail:
19897 return NULL;
19898}
19899
19900
19901SWIGINTERN PyObject *_wrap_StyledTextEvent_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19902 PyObject *resultobj = 0;
19903 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19904 wxString *arg2 = 0 ;
19905 void *argp1 = 0 ;
19906 int res1 = 0 ;
19907 bool temp2 = false ;
19908 PyObject * obj0 = 0 ;
19909 PyObject * obj1 = 0 ;
19910 char * kwnames[] = {
19911 (char *) "self",(char *) "t", NULL
19912 };
19913
19914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
19915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19916 if (!SWIG_IsOK(res1)) {
19917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19918 }
19919 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19920 {
19921 arg2 = wxString_in_helper(obj1);
19922 if (arg2 == NULL) SWIG_fail;
19923 temp2 = true;
19924 }
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 (arg1)->SetText((wxString const &)*arg2);
19928 wxPyEndAllowThreads(__tstate);
19929 if (PyErr_Occurred()) SWIG_fail;
19930 }
19931 resultobj = SWIG_Py_Void();
19932 {
19933 if (temp2)
19934 delete arg2;
19935 }
19936 return resultobj;
19937fail:
19938 {
19939 if (temp2)
19940 delete arg2;
19941 }
19942 return NULL;
19943}
19944
19945
19946SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19947 PyObject *resultobj = 0;
19948 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19949 int arg2 ;
19950 void *argp1 = 0 ;
19951 int res1 = 0 ;
19952 int val2 ;
19953 int ecode2 = 0 ;
19954 PyObject * obj0 = 0 ;
19955 PyObject * obj1 = 0 ;
19956 char * kwnames[] = {
19957 (char *) "self",(char *) "len", NULL
19958 };
19959
19960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) SWIG_fail;
19961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19962 if (!SWIG_IsOK(res1)) {
19963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19964 }
19965 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19966 ecode2 = SWIG_AsVal_int(obj1, &val2);
19967 if (!SWIG_IsOK(ecode2)) {
19968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLength" "', expected argument " "2"" of type '" "int""'");
19969 }
19970 arg2 = static_cast< int >(val2);
19971 {
19972 PyThreadState* __tstate = wxPyBeginAllowThreads();
19973 (arg1)->SetLength(arg2);
19974 wxPyEndAllowThreads(__tstate);
19975 if (PyErr_Occurred()) SWIG_fail;
19976 }
19977 resultobj = SWIG_Py_Void();
19978 return resultobj;
19979fail:
19980 return NULL;
19981}
19982
19983
19984SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19985 PyObject *resultobj = 0;
19986 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19987 int arg2 ;
19988 void *argp1 = 0 ;
19989 int res1 = 0 ;
19990 int val2 ;
19991 int ecode2 = 0 ;
19992 PyObject * obj0 = 0 ;
19993 PyObject * obj1 = 0 ;
19994 char * kwnames[] = {
19995 (char *) "self",(char *) "num", NULL
19996 };
19997
19998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) SWIG_fail;
19999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20000 if (!SWIG_IsOK(res1)) {
20001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20002 }
20003 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20004 ecode2 = SWIG_AsVal_int(obj1, &val2);
20005 if (!SWIG_IsOK(ecode2)) {
20006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "2"" of type '" "int""'");
20007 }
20008 arg2 = static_cast< int >(val2);
20009 {
20010 PyThreadState* __tstate = wxPyBeginAllowThreads();
20011 (arg1)->SetLinesAdded(arg2);
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 resultobj = SWIG_Py_Void();
20016 return resultobj;
20017fail:
20018 return NULL;
20019}
20020
20021
20022SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20023 PyObject *resultobj = 0;
20024 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20025 int arg2 ;
20026 void *argp1 = 0 ;
20027 int res1 = 0 ;
20028 int val2 ;
20029 int ecode2 = 0 ;
20030 PyObject * obj0 = 0 ;
20031 PyObject * obj1 = 0 ;
20032 char * kwnames[] = {
20033 (char *) "self",(char *) "val", NULL
20034 };
20035
20036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) SWIG_fail;
20037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20038 if (!SWIG_IsOK(res1)) {
20039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20040 }
20041 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20042 ecode2 = SWIG_AsVal_int(obj1, &val2);
20043 if (!SWIG_IsOK(ecode2)) {
20044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLine" "', expected argument " "2"" of type '" "int""'");
20045 }
20046 arg2 = static_cast< int >(val2);
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
20049 (arg1)->SetLine(arg2);
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 resultobj = SWIG_Py_Void();
20054 return resultobj;
20055fail:
20056 return NULL;
20057}
20058
20059
20060SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20061 PyObject *resultobj = 0;
20062 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20063 int arg2 ;
20064 void *argp1 = 0 ;
20065 int res1 = 0 ;
20066 int val2 ;
20067 int ecode2 = 0 ;
20068 PyObject * obj0 = 0 ;
20069 PyObject * obj1 = 0 ;
20070 char * kwnames[] = {
20071 (char *) "self",(char *) "val", NULL
20072 };
20073
20074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) SWIG_fail;
20075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20076 if (!SWIG_IsOK(res1)) {
20077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20078 }
20079 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20080 ecode2 = SWIG_AsVal_int(obj1, &val2);
20081 if (!SWIG_IsOK(ecode2)) {
20082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "2"" of type '" "int""'");
20083 }
20084 arg2 = static_cast< int >(val2);
20085 {
20086 PyThreadState* __tstate = wxPyBeginAllowThreads();
20087 (arg1)->SetFoldLevelNow(arg2);
20088 wxPyEndAllowThreads(__tstate);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 resultobj = SWIG_Py_Void();
20092 return resultobj;
20093fail:
20094 return NULL;
20095}
20096
20097
20098SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20099 PyObject *resultobj = 0;
20100 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20101 int arg2 ;
20102 void *argp1 = 0 ;
20103 int res1 = 0 ;
20104 int val2 ;
20105 int ecode2 = 0 ;
20106 PyObject * obj0 = 0 ;
20107 PyObject * obj1 = 0 ;
20108 char * kwnames[] = {
20109 (char *) "self",(char *) "val", NULL
20110 };
20111
20112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) SWIG_fail;
20113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20114 if (!SWIG_IsOK(res1)) {
20115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20116 }
20117 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20118 ecode2 = SWIG_AsVal_int(obj1, &val2);
20119 if (!SWIG_IsOK(ecode2)) {
20120 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "2"" of type '" "int""'");
20121 }
20122 arg2 = static_cast< int >(val2);
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 (arg1)->SetFoldLevelPrev(arg2);
20126 wxPyEndAllowThreads(__tstate);
20127 if (PyErr_Occurred()) SWIG_fail;
20128 }
20129 resultobj = SWIG_Py_Void();
20130 return resultobj;
20131fail:
20132 return NULL;
20133}
20134
20135
20136SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20137 PyObject *resultobj = 0;
20138 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20139 int arg2 ;
20140 void *argp1 = 0 ;
20141 int res1 = 0 ;
20142 int val2 ;
20143 int ecode2 = 0 ;
20144 PyObject * obj0 = 0 ;
20145 PyObject * obj1 = 0 ;
20146 char * kwnames[] = {
20147 (char *) "self",(char *) "val", NULL
20148 };
20149
20150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) SWIG_fail;
20151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20152 if (!SWIG_IsOK(res1)) {
20153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20154 }
20155 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20156 ecode2 = SWIG_AsVal_int(obj1, &val2);
20157 if (!SWIG_IsOK(ecode2)) {
20158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "2"" of type '" "int""'");
20159 }
20160 arg2 = static_cast< int >(val2);
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 (arg1)->SetMargin(arg2);
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 resultobj = SWIG_Py_Void();
20168 return resultobj;
20169fail:
20170 return NULL;
20171}
20172
20173
20174SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20175 PyObject *resultobj = 0;
20176 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20177 int arg2 ;
20178 void *argp1 = 0 ;
20179 int res1 = 0 ;
20180 int val2 ;
20181 int ecode2 = 0 ;
20182 PyObject * obj0 = 0 ;
20183 PyObject * obj1 = 0 ;
20184 char * kwnames[] = {
20185 (char *) "self",(char *) "val", NULL
20186 };
20187
20188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
20189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20190 if (!SWIG_IsOK(res1)) {
20191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20192 }
20193 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20194 ecode2 = SWIG_AsVal_int(obj1, &val2);
20195 if (!SWIG_IsOK(ecode2)) {
20196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "2"" of type '" "int""'");
20197 }
20198 arg2 = static_cast< int >(val2);
20199 {
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 (arg1)->SetMessage(arg2);
20202 wxPyEndAllowThreads(__tstate);
20203 if (PyErr_Occurred()) SWIG_fail;
20204 }
20205 resultobj = SWIG_Py_Void();
20206 return resultobj;
20207fail:
20208 return NULL;
20209}
20210
20211
20212SWIGINTERN PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20213 PyObject *resultobj = 0;
20214 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20215 int arg2 ;
20216 void *argp1 = 0 ;
20217 int res1 = 0 ;
20218 int val2 ;
20219 int ecode2 = 0 ;
20220 PyObject * obj0 = 0 ;
20221 PyObject * obj1 = 0 ;
20222 char * kwnames[] = {
20223 (char *) "self",(char *) "val", NULL
20224 };
20225
20226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) SWIG_fail;
20227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20228 if (!SWIG_IsOK(res1)) {
20229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20230 }
20231 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20232 ecode2 = SWIG_AsVal_int(obj1, &val2);
20233 if (!SWIG_IsOK(ecode2)) {
20234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "2"" of type '" "int""'");
20235 }
20236 arg2 = static_cast< int >(val2);
20237 {
20238 PyThreadState* __tstate = wxPyBeginAllowThreads();
20239 (arg1)->SetWParam(arg2);
20240 wxPyEndAllowThreads(__tstate);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 }
20243 resultobj = SWIG_Py_Void();
20244 return resultobj;
20245fail:
20246 return NULL;
20247}
20248
20249
20250SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20251 PyObject *resultobj = 0;
20252 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20253 int arg2 ;
20254 void *argp1 = 0 ;
20255 int res1 = 0 ;
20256 int val2 ;
20257 int ecode2 = 0 ;
20258 PyObject * obj0 = 0 ;
20259 PyObject * obj1 = 0 ;
20260 char * kwnames[] = {
20261 (char *) "self",(char *) "val", NULL
20262 };
20263
20264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) SWIG_fail;
20265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20266 if (!SWIG_IsOK(res1)) {
20267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20268 }
20269 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20270 ecode2 = SWIG_AsVal_int(obj1, &val2);
20271 if (!SWIG_IsOK(ecode2)) {
20272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "2"" of type '" "int""'");
20273 }
20274 arg2 = static_cast< int >(val2);
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 (arg1)->SetLParam(arg2);
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 resultobj = SWIG_Py_Void();
20282 return resultobj;
20283fail:
20284 return NULL;
20285}
20286
20287
20288SWIGINTERN PyObject *_wrap_StyledTextEvent_SetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj = 0;
20290 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20291 int arg2 ;
20292 void *argp1 = 0 ;
20293 int res1 = 0 ;
20294 int val2 ;
20295 int ecode2 = 0 ;
20296 PyObject * obj0 = 0 ;
20297 PyObject * obj1 = 0 ;
20298 char * kwnames[] = {
20299 (char *) "self",(char *) "val", NULL
20300 };
20301
20302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) SWIG_fail;
20303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20304 if (!SWIG_IsOK(res1)) {
20305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20306 }
20307 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20308 ecode2 = SWIG_AsVal_int(obj1, &val2);
20309 if (!SWIG_IsOK(ecode2)) {
20310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetListType" "', expected argument " "2"" of type '" "int""'");
20311 }
20312 arg2 = static_cast< int >(val2);
20313 {
20314 PyThreadState* __tstate = wxPyBeginAllowThreads();
20315 (arg1)->SetListType(arg2);
20316 wxPyEndAllowThreads(__tstate);
20317 if (PyErr_Occurred()) SWIG_fail;
20318 }
20319 resultobj = SWIG_Py_Void();
20320 return resultobj;
20321fail:
20322 return NULL;
20323}
20324
20325
20326SWIGINTERN PyObject *_wrap_StyledTextEvent_SetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20327 PyObject *resultobj = 0;
20328 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20329 int arg2 ;
20330 void *argp1 = 0 ;
20331 int res1 = 0 ;
20332 int val2 ;
20333 int ecode2 = 0 ;
20334 PyObject * obj0 = 0 ;
20335 PyObject * obj1 = 0 ;
20336 char * kwnames[] = {
20337 (char *) "self",(char *) "val", NULL
20338 };
20339
20340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) SWIG_fail;
20341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20342 if (!SWIG_IsOK(res1)) {
20343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetX" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20344 }
20345 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20346 ecode2 = SWIG_AsVal_int(obj1, &val2);
20347 if (!SWIG_IsOK(ecode2)) {
20348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetX" "', expected argument " "2"" of type '" "int""'");
20349 }
20350 arg2 = static_cast< int >(val2);
20351 {
20352 PyThreadState* __tstate = wxPyBeginAllowThreads();
20353 (arg1)->SetX(arg2);
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 resultobj = SWIG_Py_Void();
20358 return resultobj;
20359fail:
20360 return NULL;
20361}
20362
20363
20364SWIGINTERN PyObject *_wrap_StyledTextEvent_SetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20365 PyObject *resultobj = 0;
20366 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20367 int arg2 ;
20368 void *argp1 = 0 ;
20369 int res1 = 0 ;
20370 int val2 ;
20371 int ecode2 = 0 ;
20372 PyObject * obj0 = 0 ;
20373 PyObject * obj1 = 0 ;
20374 char * kwnames[] = {
20375 (char *) "self",(char *) "val", NULL
20376 };
20377
20378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) SWIG_fail;
20379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20380 if (!SWIG_IsOK(res1)) {
20381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetY" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20382 }
20383 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20384 ecode2 = SWIG_AsVal_int(obj1, &val2);
20385 if (!SWIG_IsOK(ecode2)) {
20386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetY" "', expected argument " "2"" of type '" "int""'");
20387 }
20388 arg2 = static_cast< int >(val2);
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 (arg1)->SetY(arg2);
20392 wxPyEndAllowThreads(__tstate);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 }
20395 resultobj = SWIG_Py_Void();
20396 return resultobj;
20397fail:
20398 return NULL;
20399}
20400
20401
20402SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20403 PyObject *resultobj = 0;
20404 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20405 wxString *arg2 = 0 ;
20406 void *argp1 = 0 ;
20407 int res1 = 0 ;
20408 bool temp2 = false ;
20409 PyObject * obj0 = 0 ;
20410 PyObject * obj1 = 0 ;
20411 char * kwnames[] = {
20412 (char *) "self",(char *) "val", NULL
20413 };
20414
20415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) SWIG_fail;
20416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20417 if (!SWIG_IsOK(res1)) {
20418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20419 }
20420 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20421 {
20422 arg2 = wxString_in_helper(obj1);
20423 if (arg2 == NULL) SWIG_fail;
20424 temp2 = true;
20425 }
20426 {
20427 PyThreadState* __tstate = wxPyBeginAllowThreads();
20428 (arg1)->SetDragText((wxString const &)*arg2);
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 resultobj = SWIG_Py_Void();
20433 {
20434 if (temp2)
20435 delete arg2;
20436 }
20437 return resultobj;
20438fail:
20439 {
20440 if (temp2)
20441 delete arg2;
20442 }
20443 return NULL;
20444}
20445
20446
20447SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20448 PyObject *resultobj = 0;
20449 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20450 bool arg2 ;
20451 void *argp1 = 0 ;
20452 int res1 = 0 ;
20453 bool val2 ;
20454 int ecode2 = 0 ;
20455 PyObject * obj0 = 0 ;
20456 PyObject * obj1 = 0 ;
20457 char * kwnames[] = {
20458 (char *) "self",(char *) "val", NULL
20459 };
20460
20461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) SWIG_fail;
20462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20463 if (!SWIG_IsOK(res1)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20465 }
20466 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20467 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20468 if (!SWIG_IsOK(ecode2)) {
20469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "2"" of type '" "bool""'");
20470 }
20471 arg2 = static_cast< bool >(val2);
20472 {
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
20474 (arg1)->SetDragAllowMove(arg2);
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 resultobj = SWIG_Py_Void();
20479 return resultobj;
20480fail:
20481 return NULL;
20482}
20483
20484
20485SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20486 PyObject *resultobj = 0;
20487 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20488 wxDragResult arg2 ;
20489 void *argp1 = 0 ;
20490 int res1 = 0 ;
20491 int val2 ;
20492 int ecode2 = 0 ;
20493 PyObject * obj0 = 0 ;
20494 PyObject * obj1 = 0 ;
20495 char * kwnames[] = {
20496 (char *) "self",(char *) "val", NULL
20497 };
20498
20499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) SWIG_fail;
20500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20501 if (!SWIG_IsOK(res1)) {
20502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20503 }
20504 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20505 ecode2 = SWIG_AsVal_int(obj1, &val2);
20506 if (!SWIG_IsOK(ecode2)) {
20507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "2"" of type '" "wxDragResult""'");
20508 }
20509 arg2 = static_cast< wxDragResult >(val2);
20510 {
20511 PyThreadState* __tstate = wxPyBeginAllowThreads();
20512 (arg1)->SetDragResult(arg2);
20513 wxPyEndAllowThreads(__tstate);
20514 if (PyErr_Occurred()) SWIG_fail;
20515 }
20516 resultobj = SWIG_Py_Void();
20517 return resultobj;
20518fail:
20519 return NULL;
7bdb1bc4
RD
20520}
20521
20522
554f62e9
RD
20523SWIGINTERN PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20524 PyObject *resultobj = 0;
20525 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20526 int result;
20527 void *argp1 = 0 ;
20528 int res1 = 0 ;
20529 PyObject *swig_obj[1] ;
20530
20531 if (!args) SWIG_fail;
20532 swig_obj[0] = args;
20533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20534 if (!SWIG_IsOK(res1)) {
20535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20536 }
20537 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
20540 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 resultobj = SWIG_From_int(static_cast< int >(result));
20545 return resultobj;
20546fail:
20547 return NULL;
7bdb1bc4
RD
20548}
20549
20550
554f62e9
RD
20551SWIGINTERN PyObject *_wrap_StyledTextEvent_GetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20552 PyObject *resultobj = 0;
20553 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20554 int result;
20555 void *argp1 = 0 ;
20556 int res1 = 0 ;
20557 PyObject *swig_obj[1] ;
20558
20559 if (!args) SWIG_fail;
20560 swig_obj[0] = args;
20561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20562 if (!SWIG_IsOK(res1)) {
20563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20564 }
20565 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20566 {
20567 PyThreadState* __tstate = wxPyBeginAllowThreads();
20568 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
20569 wxPyEndAllowThreads(__tstate);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 }
20572 resultobj = SWIG_From_int(static_cast< int >(result));
20573 return resultobj;
20574fail:
20575 return NULL;
7bdb1bc4
RD
20576}
20577
20578
554f62e9
RD
20579SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20580 PyObject *resultobj = 0;
20581 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20582 int result;
20583 void *argp1 = 0 ;
20584 int res1 = 0 ;
20585 PyObject *swig_obj[1] ;
20586
20587 if (!args) SWIG_fail;
20588 swig_obj[0] = args;
20589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20590 if (!SWIG_IsOK(res1)) {
20591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20592 }
20593 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20594 {
20595 PyThreadState* __tstate = wxPyBeginAllowThreads();
20596 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
20597 wxPyEndAllowThreads(__tstate);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 }
20600 resultobj = SWIG_From_int(static_cast< int >(result));
20601 return resultobj;
20602fail:
20603 return NULL;
7bdb1bc4
RD
20604}
20605
20606
554f62e9
RD
20607SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20608 PyObject *resultobj = 0;
20609 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20610 int result;
20611 void *argp1 = 0 ;
20612 int res1 = 0 ;
20613 PyObject *swig_obj[1] ;
20614
20615 if (!args) SWIG_fail;
20616 swig_obj[0] = args;
20617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20618 if (!SWIG_IsOK(res1)) {
20619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20620 }
20621 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 resultobj = SWIG_From_int(static_cast< int >(result));
20629 return resultobj;
20630fail:
20631 return NULL;
7bdb1bc4
RD
20632}
20633
20634
554f62e9
RD
20635SWIGINTERN PyObject *_wrap_StyledTextEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20636 PyObject *resultobj = 0;
20637 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20638 wxString result;
20639 void *argp1 = 0 ;
20640 int res1 = 0 ;
20641 PyObject *swig_obj[1] ;
20642
20643 if (!args) SWIG_fail;
20644 swig_obj[0] = args;
20645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20646 if (!SWIG_IsOK(res1)) {
20647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetText" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20648 }
20649 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 result = ((wxStyledTextEvent const *)arg1)->GetText();
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 {
20657#if wxUSE_UNICODE
20658 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20659#else
20660 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20661#endif
20662 }
20663 return resultobj;
20664fail:
20665 return NULL;
7bdb1bc4
RD
20666}
20667
20668
554f62e9
RD
20669SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20670 PyObject *resultobj = 0;
20671 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20672 int result;
20673 void *argp1 = 0 ;
20674 int res1 = 0 ;
20675 PyObject *swig_obj[1] ;
20676
20677 if (!args) SWIG_fail;
20678 swig_obj[0] = args;
20679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20680 if (!SWIG_IsOK(res1)) {
20681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20682 }
20683 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
20687 wxPyEndAllowThreads(__tstate);
20688 if (PyErr_Occurred()) SWIG_fail;
20689 }
20690 resultobj = SWIG_From_int(static_cast< int >(result));
20691 return resultobj;
20692fail:
20693 return NULL;
7bdb1bc4
RD
20694}
20695
20696
554f62e9
RD
20697SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20698 PyObject *resultobj = 0;
20699 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20700 int result;
20701 void *argp1 = 0 ;
20702 int res1 = 0 ;
20703 PyObject *swig_obj[1] ;
20704
20705 if (!args) SWIG_fail;
20706 swig_obj[0] = args;
20707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20708 if (!SWIG_IsOK(res1)) {
20709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20710 }
20711 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20712 {
20713 PyThreadState* __tstate = wxPyBeginAllowThreads();
20714 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 resultobj = SWIG_From_int(static_cast< int >(result));
20719 return resultobj;
20720fail:
20721 return NULL;
7bdb1bc4
RD
20722}
20723
20724
554f62e9
RD
20725SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20726 PyObject *resultobj = 0;
20727 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20728 int result;
20729 void *argp1 = 0 ;
20730 int res1 = 0 ;
20731 PyObject *swig_obj[1] ;
20732
20733 if (!args) SWIG_fail;
20734 swig_obj[0] = args;
20735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20736 if (!SWIG_IsOK(res1)) {
20737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20738 }
20739 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
20743 wxPyEndAllowThreads(__tstate);
20744 if (PyErr_Occurred()) SWIG_fail;
20745 }
20746 resultobj = SWIG_From_int(static_cast< int >(result));
20747 return resultobj;
20748fail:
20749 return NULL;
7bdb1bc4
RD
20750}
20751
20752
554f62e9
RD
20753SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20754 PyObject *resultobj = 0;
20755 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20756 int result;
20757 void *argp1 = 0 ;
20758 int res1 = 0 ;
20759 PyObject *swig_obj[1] ;
20760
20761 if (!args) SWIG_fail;
20762 swig_obj[0] = args;
20763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20764 if (!SWIG_IsOK(res1)) {
20765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20766 }
20767 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20768 {
20769 PyThreadState* __tstate = wxPyBeginAllowThreads();
20770 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
20771 wxPyEndAllowThreads(__tstate);
20772 if (PyErr_Occurred()) SWIG_fail;
20773 }
20774 resultobj = SWIG_From_int(static_cast< int >(result));
20775 return resultobj;
20776fail:
20777 return NULL;
7bdb1bc4
RD
20778}
20779
20780
554f62e9
RD
20781SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20782 PyObject *resultobj = 0;
20783 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20784 int result;
20785 void *argp1 = 0 ;
20786 int res1 = 0 ;
20787 PyObject *swig_obj[1] ;
20788
20789 if (!args) SWIG_fail;
20790 swig_obj[0] = args;
20791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20792 if (!SWIG_IsOK(res1)) {
20793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20794 }
20795 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20796 {
20797 PyThreadState* __tstate = wxPyBeginAllowThreads();
20798 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
20799 wxPyEndAllowThreads(__tstate);
20800 if (PyErr_Occurred()) SWIG_fail;
20801 }
20802 resultobj = SWIG_From_int(static_cast< int >(result));
20803 return resultobj;
20804fail:
20805 return NULL;
7bdb1bc4
RD
20806}
20807
20808
554f62e9
RD
20809SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20810 PyObject *resultobj = 0;
20811 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20812 int result;
20813 void *argp1 = 0 ;
20814 int res1 = 0 ;
20815 PyObject *swig_obj[1] ;
20816
20817 if (!args) SWIG_fail;
20818 swig_obj[0] = args;
20819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20820 if (!SWIG_IsOK(res1)) {
20821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20822 }
20823 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 resultobj = SWIG_From_int(static_cast< int >(result));
20831 return resultobj;
20832fail:
20833 return NULL;
7bdb1bc4
RD
20834}
20835
20836
554f62e9
RD
20837SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20838 PyObject *resultobj = 0;
20839 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20840 int result;
20841 void *argp1 = 0 ;
20842 int res1 = 0 ;
20843 PyObject *swig_obj[1] ;
20844
20845 if (!args) SWIG_fail;
20846 swig_obj[0] = args;
20847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20848 if (!SWIG_IsOK(res1)) {
20849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20850 }
20851 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
20858 resultobj = SWIG_From_int(static_cast< int >(result));
20859 return resultobj;
20860fail:
20861 return NULL;
7bdb1bc4
RD
20862}
20863
20864
554f62e9
RD
20865SWIGINTERN PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20866 PyObject *resultobj = 0;
20867 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20868 int result;
20869 void *argp1 = 0 ;
20870 int res1 = 0 ;
20871 PyObject *swig_obj[1] ;
20872
20873 if (!args) SWIG_fail;
20874 swig_obj[0] = args;
20875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20876 if (!SWIG_IsOK(res1)) {
20877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20878 }
20879 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20880 {
20881 PyThreadState* __tstate = wxPyBeginAllowThreads();
20882 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
20883 wxPyEndAllowThreads(__tstate);
20884 if (PyErr_Occurred()) SWIG_fail;
20885 }
20886 resultobj = SWIG_From_int(static_cast< int >(result));
20887 return resultobj;
20888fail:
20889 return NULL;
7bdb1bc4
RD
20890}
20891
20892
554f62e9
RD
20893SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20894 PyObject *resultobj = 0;
20895 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20896 int result;
20897 void *argp1 = 0 ;
20898 int res1 = 0 ;
20899 PyObject *swig_obj[1] ;
20900
20901 if (!args) SWIG_fail;
20902 swig_obj[0] = args;
20903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20904 if (!SWIG_IsOK(res1)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20906 }
20907 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20908 {
20909 PyThreadState* __tstate = wxPyBeginAllowThreads();
20910 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
20911 wxPyEndAllowThreads(__tstate);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 }
20914 resultobj = SWIG_From_int(static_cast< int >(result));
20915 return resultobj;
20916fail:
20917 return NULL;
7bdb1bc4
RD
20918}
20919
20920
554f62e9
RD
20921SWIGINTERN PyObject *_wrap_StyledTextEvent_GetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20922 PyObject *resultobj = 0;
20923 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20924 int result;
20925 void *argp1 = 0 ;
20926 int res1 = 0 ;
20927 PyObject *swig_obj[1] ;
20928
20929 if (!args) SWIG_fail;
20930 swig_obj[0] = args;
20931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20932 if (!SWIG_IsOK(res1)) {
20933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20934 }
20935 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20936 {
20937 PyThreadState* __tstate = wxPyBeginAllowThreads();
20938 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
20939 wxPyEndAllowThreads(__tstate);
20940 if (PyErr_Occurred()) SWIG_fail;
20941 }
20942 resultobj = SWIG_From_int(static_cast< int >(result));
20943 return resultobj;
20944fail:
20945 return NULL;
7bdb1bc4
RD
20946}
20947
20948
554f62e9
RD
20949SWIGINTERN PyObject *_wrap_StyledTextEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20950 PyObject *resultobj = 0;
20951 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20952 int result;
20953 void *argp1 = 0 ;
20954 int res1 = 0 ;
20955 PyObject *swig_obj[1] ;
20956
20957 if (!args) SWIG_fail;
20958 swig_obj[0] = args;
20959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20960 if (!SWIG_IsOK(res1)) {
20961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetX" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20962 }
20963 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20964 {
20965 PyThreadState* __tstate = wxPyBeginAllowThreads();
20966 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
20967 wxPyEndAllowThreads(__tstate);
20968 if (PyErr_Occurred()) SWIG_fail;
20969 }
20970 resultobj = SWIG_From_int(static_cast< int >(result));
20971 return resultobj;
20972fail:
20973 return NULL;
7bdb1bc4
RD
20974}
20975
20976
554f62e9
RD
20977SWIGINTERN PyObject *_wrap_StyledTextEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20978 PyObject *resultobj = 0;
20979 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20980 int result;
20981 void *argp1 = 0 ;
20982 int res1 = 0 ;
20983 PyObject *swig_obj[1] ;
20984
20985 if (!args) SWIG_fail;
20986 swig_obj[0] = args;
20987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20988 if (!SWIG_IsOK(res1)) {
20989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetY" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20990 }
20991 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20992 {
20993 PyThreadState* __tstate = wxPyBeginAllowThreads();
20994 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 resultobj = SWIG_From_int(static_cast< int >(result));
20999 return resultobj;
21000fail:
21001 return NULL;
7bdb1bc4
RD
21002}
21003
21004
554f62e9
RD
21005SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21006 PyObject *resultobj = 0;
21007 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21008 wxString result;
21009 void *argp1 = 0 ;
21010 int res1 = 0 ;
21011 PyObject *swig_obj[1] ;
21012
21013 if (!args) SWIG_fail;
21014 swig_obj[0] = args;
21015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21016 if (!SWIG_IsOK(res1)) {
21017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21018 }
21019 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21020 {
21021 PyThreadState* __tstate = wxPyBeginAllowThreads();
21022 result = (arg1)->GetDragText();
21023 wxPyEndAllowThreads(__tstate);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 }
21026 {
21027#if wxUSE_UNICODE
21028 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21029#else
21030 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21031#endif
21032 }
21033 return resultobj;
21034fail:
21035 return NULL;
7bdb1bc4
RD
21036}
21037
21038
554f62e9
RD
21039SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21040 PyObject *resultobj = 0;
21041 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21042 bool result;
21043 void *argp1 = 0 ;
21044 int res1 = 0 ;
21045 PyObject *swig_obj[1] ;
21046
21047 if (!args) SWIG_fail;
21048 swig_obj[0] = args;
21049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21050 if (!SWIG_IsOK(res1)) {
21051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21052 }
21053 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21054 {
21055 PyThreadState* __tstate = wxPyBeginAllowThreads();
21056 result = (bool)(arg1)->GetDragAllowMove();
21057 wxPyEndAllowThreads(__tstate);
21058 if (PyErr_Occurred()) SWIG_fail;
21059 }
21060 {
21061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21062 }
21063 return resultobj;
21064fail:
21065 return NULL;
7bdb1bc4
RD
21066}
21067
21068
554f62e9
RD
21069SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21070 PyObject *resultobj = 0;
21071 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21072 wxDragResult result;
21073 void *argp1 = 0 ;
21074 int res1 = 0 ;
21075 PyObject *swig_obj[1] ;
21076
21077 if (!args) SWIG_fail;
21078 swig_obj[0] = args;
21079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21080 if (!SWIG_IsOK(res1)) {
21081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21082 }
21083 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21084 {
21085 PyThreadState* __tstate = wxPyBeginAllowThreads();
21086 result = (wxDragResult)(arg1)->GetDragResult();
21087 wxPyEndAllowThreads(__tstate);
21088 if (PyErr_Occurred()) SWIG_fail;
21089 }
21090 resultobj = SWIG_From_int(static_cast< int >(result));
21091 return resultobj;
21092fail:
21093 return NULL;
7bdb1bc4
RD
21094}
21095
21096
554f62e9
RD
21097SWIGINTERN PyObject *_wrap_StyledTextEvent_GetShift(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21098 PyObject *resultobj = 0;
21099 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21100 bool result;
21101 void *argp1 = 0 ;
21102 int res1 = 0 ;
21103 PyObject *swig_obj[1] ;
21104
21105 if (!args) SWIG_fail;
21106 swig_obj[0] = args;
21107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21108 if (!SWIG_IsOK(res1)) {
21109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetShift" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21110 }
21111 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21112 {
21113 PyThreadState* __tstate = wxPyBeginAllowThreads();
21114 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
21115 wxPyEndAllowThreads(__tstate);
21116 if (PyErr_Occurred()) SWIG_fail;
21117 }
21118 {
21119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21120 }
21121 return resultobj;
21122fail:
21123 return NULL;
7bdb1bc4
RD
21124}
21125
21126
554f62e9
RD
21127SWIGINTERN PyObject *_wrap_StyledTextEvent_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21128 PyObject *resultobj = 0;
21129 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21130 bool result;
21131 void *argp1 = 0 ;
21132 int res1 = 0 ;
21133 PyObject *swig_obj[1] ;
21134
21135 if (!args) SWIG_fail;
21136 swig_obj[0] = args;
21137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21138 if (!SWIG_IsOK(res1)) {
21139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetControl" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21140 }
21141 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21142 {
21143 PyThreadState* __tstate = wxPyBeginAllowThreads();
21144 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
21145 wxPyEndAllowThreads(__tstate);
21146 if (PyErr_Occurred()) SWIG_fail;
21147 }
21148 {
21149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21150 }
21151 return resultobj;
21152fail:
21153 return NULL;
7bdb1bc4
RD
21154}
21155
21156
554f62e9
RD
21157SWIGINTERN PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21158 PyObject *resultobj = 0;
21159 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21160 bool result;
21161 void *argp1 = 0 ;
21162 int res1 = 0 ;
21163 PyObject *swig_obj[1] ;
21164
21165 if (!args) SWIG_fail;
21166 swig_obj[0] = args;
21167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21168 if (!SWIG_IsOK(res1)) {
21169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetAlt" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21170 }
21171 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21172 {
21173 PyThreadState* __tstate = wxPyBeginAllowThreads();
21174 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
21175 wxPyEndAllowThreads(__tstate);
21176 if (PyErr_Occurred()) SWIG_fail;
21177 }
21178 {
21179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21180 }
21181 return resultobj;
21182fail:
21183 return NULL;
7bdb1bc4
RD
21184}
21185
21186
554f62e9
RD
21187SWIGINTERN PyObject *StyledTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21188 PyObject *obj;
21189 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21190 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextEvent, SWIG_NewClientData(obj));
21191 return SWIG_Py_Void();
7bdb1bc4
RD
21192}
21193
554f62e9
RD
21194SWIGINTERN PyObject *StyledTextEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21195 return SWIG_Python_InitShadowInstance(args);
7bdb1bc4
RD
21196}
21197
554f62e9
RD
21198static PyMethodDef SwigMethods[] = {
21199 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
21200 { (char *)"new_PreStyledTextCtrl", (PyCFunction)_wrap_new_PreStyledTextCtrl, METH_NOARGS, NULL},
21201 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
21202 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
21203 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
21204 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
21205 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction)_wrap_StyledTextCtrl_ClearAll, METH_O, NULL},
21206 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction)_wrap_StyledTextCtrl_ClearDocumentStyle, METH_O, NULL},
21207 { (char *)"StyledTextCtrl_GetLength", (PyCFunction)_wrap_StyledTextCtrl_GetLength, METH_O, NULL},
21208 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
21209 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentPos, METH_O, NULL},
21210 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction)_wrap_StyledTextCtrl_GetAnchor, METH_O, NULL},
21211 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
21212 { (char *)"StyledTextCtrl_Redo", (PyCFunction)_wrap_StyledTextCtrl_Redo, METH_O, NULL},
21213 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
21214 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction)_wrap_StyledTextCtrl_SelectAll, METH_O, NULL},
21215 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction)_wrap_StyledTextCtrl_SetSavePoint, METH_O, NULL},
21216 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
21217 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction)_wrap_StyledTextCtrl_CanRedo, METH_O, NULL},
21218 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
21219 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
21220 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction)_wrap_StyledTextCtrl_GetUndoCollection, METH_O, NULL},
21221 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction)_wrap_StyledTextCtrl_GetViewWhiteSpace, METH_O, NULL},
21222 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
21223 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21224 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
21225 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
21226 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
21227 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
21228 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurLine, METH_O, NULL},
21229 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction)_wrap_StyledTextCtrl_GetEndStyled, METH_O, NULL},
21230 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
21231 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction)_wrap_StyledTextCtrl_GetEOLMode, METH_O, NULL},
21232 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
21233 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
21234 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
21235 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction)_wrap_StyledTextCtrl_GetBufferedDraw, METH_O, NULL},
21236 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
21237 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21238 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction)_wrap_StyledTextCtrl_GetTabWidth, METH_O, NULL},
21239 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
21240 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
21241 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21242 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21243 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
21244 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
21245 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
21246 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
21247 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
21248 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
21249 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21250 { (char *)"StyledTextCtrl_MarkerAddSet", (PyCFunction) _wrap_StyledTextCtrl_MarkerAddSet, METH_VARARGS | METH_KEYWORDS, NULL},
10044bf1 21251 { (char *)"StyledTextCtrl_MarkerSetAlpha", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
21252 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
21253 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
21254 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21255 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21256 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
21257 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
21258 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
21259 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
21260 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction)_wrap_StyledTextCtrl_StyleClearAll, METH_O, NULL},
21261 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21262 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21263 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
21264 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
21265 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
21266 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
21267 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
21268 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction)_wrap_StyledTextCtrl_StyleResetDefault, METH_O, NULL},
21269 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
21270 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
21271 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
21272 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21273 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
10044bf1
RD
21274 { (char *)"StyledTextCtrl_GetSelAlpha", (PyCFunction)_wrap_StyledTextCtrl_GetSelAlpha, METH_O, NULL},
21275 { (char *)"StyledTextCtrl_SetSelAlpha", (PyCFunction) _wrap_StyledTextCtrl_SetSelAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
21276 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21277 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
21278 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
21279 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction)_wrap_StyledTextCtrl_CmdKeyClearAll, METH_O, NULL},
21280 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
21281 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21282 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction)_wrap_StyledTextCtrl_GetCaretPeriod, METH_O, NULL},
21283 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
21284 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
21285 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction)_wrap_StyledTextCtrl_BeginUndoAction, METH_O, NULL},
21286 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction)_wrap_StyledTextCtrl_EndUndoAction, METH_O, NULL},
21287 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21288 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21289 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21290 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21291 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21292 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21293 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
21294 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBits, METH_O, NULL},
21295 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
21296 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
21297 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction)_wrap_StyledTextCtrl_GetMaxLineState, METH_O, NULL},
21298 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineVisible, METH_O, NULL},
21299 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21300 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineBack, METH_O, NULL},
21301 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
21302 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
21303 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
21304 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction)_wrap_StyledTextCtrl_AutoCompCancel, METH_O, NULL},
21305 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction)_wrap_StyledTextCtrl_AutoCompActive, METH_O, NULL},
21306 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompPosStart, METH_O, NULL},
21307 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction)_wrap_StyledTextCtrl_AutoCompComplete, METH_O, NULL},
21308 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
21309 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
21310 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetSeparator, METH_O, NULL},
21311 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
21312 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
21313 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_O, NULL},
21314 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
21315 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
21316 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_O, NULL},
21317 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
21318 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_O, NULL},
21319 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
21320 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
21321 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_O, NULL},
21322 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
21323 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_O, NULL},
21324 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
21325 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction)_wrap_StyledTextCtrl_ClearRegisteredImages, METH_O, NULL},
21326 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_O, NULL},
21327 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
21328 { (char *)"StyledTextCtrl_AutoCompSetMaxWidth", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21329 { (char *)"StyledTextCtrl_AutoCompGetMaxWidth", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxWidth, METH_O, NULL},
21330 { (char *)"StyledTextCtrl_AutoCompSetMaxHeight", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21331 { (char *)"StyledTextCtrl_AutoCompGetMaxHeight", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxHeight, METH_O, NULL},
21332 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
21333 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction)_wrap_StyledTextCtrl_GetIndent, METH_O, NULL},
21334 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
21335 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction)_wrap_StyledTextCtrl_GetUseTabs, METH_O, NULL},
21336 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
21337 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
21338 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21339 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21340 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21341 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_O, NULL},
21342 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
21343 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction)_wrap_StyledTextCtrl_GetIndentationGuides, METH_O, NULL},
21344 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
21345 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction)_wrap_StyledTextCtrl_GetHighlightGuide, METH_O, NULL},
21346 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21347 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction)_wrap_StyledTextCtrl_GetCodePage, METH_O, NULL},
21348 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction)_wrap_StyledTextCtrl_GetCaretForeground, METH_O, NULL},
21349 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction)_wrap_StyledTextCtrl_GetReadOnly, METH_O, NULL},
21350 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
21351 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
21352 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionStart, METH_O, NULL},
21353 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
21354 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionEnd, METH_O, NULL},
21355 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
21356 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction)_wrap_StyledTextCtrl_GetPrintMagnification, METH_O, NULL},
21357 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
21358 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintColourMode, METH_O, NULL},
21359 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
21360 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
21361 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction)_wrap_StyledTextCtrl_GetFirstVisibleLine, METH_O, NULL},
21362 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
21363 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction)_wrap_StyledTextCtrl_GetLineCount, METH_O, NULL},
21364 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
21365 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction)_wrap_StyledTextCtrl_GetMarginLeft, METH_O, NULL},
21366 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
21367 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction)_wrap_StyledTextCtrl_GetMarginRight, METH_O, NULL},
21368 { (char *)"StyledTextCtrl_GetModify", (PyCFunction)_wrap_StyledTextCtrl_GetModify, METH_O, NULL},
21369 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21370 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedText, METH_O, NULL},
21371 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
21372 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21373 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21374 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
21375 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
21376 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction)_wrap_StyledTextCtrl_EnsureCaretVisible, METH_O, NULL},
21377 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21378 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
21379 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction)_wrap_StyledTextCtrl_CanPaste, METH_O, NULL},
21380 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction)_wrap_StyledTextCtrl_CanUndo, METH_O, NULL},
21381 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction)_wrap_StyledTextCtrl_EmptyUndoBuffer, METH_O, NULL},
21382 { (char *)"StyledTextCtrl_Undo", (PyCFunction)_wrap_StyledTextCtrl_Undo, METH_O, NULL},
21383 { (char *)"StyledTextCtrl_Cut", (PyCFunction)_wrap_StyledTextCtrl_Cut, METH_O, NULL},
21384 { (char *)"StyledTextCtrl_Copy", (PyCFunction)_wrap_StyledTextCtrl_Copy, METH_O, NULL},
21385 { (char *)"StyledTextCtrl_Paste", (PyCFunction)_wrap_StyledTextCtrl_Paste, METH_O, NULL},
21386 { (char *)"StyledTextCtrl_Clear", (PyCFunction)_wrap_StyledTextCtrl_Clear, METH_O, NULL},
21387 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
21388 { (char *)"StyledTextCtrl_GetText", (PyCFunction)_wrap_StyledTextCtrl_GetText, METH_O, NULL},
21389 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction)_wrap_StyledTextCtrl_GetTextLength, METH_O, NULL},
21390 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
21391 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction)_wrap_StyledTextCtrl_GetOvertype, METH_O, NULL},
21392 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21393 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction)_wrap_StyledTextCtrl_GetCaretWidth, METH_O, NULL},
21394 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
21395 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction)_wrap_StyledTextCtrl_GetTargetStart, METH_O, NULL},
21396 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
21397 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction)_wrap_StyledTextCtrl_GetTargetEnd, METH_O, NULL},
21398 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
21399 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
21400 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
21401 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21402 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction)_wrap_StyledTextCtrl_GetSearchFlags, METH_O, NULL},
21403 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
21404 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction)_wrap_StyledTextCtrl_CallTipCancel, METH_O, NULL},
21405 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction)_wrap_StyledTextCtrl_CallTipActive, METH_O, NULL},
21406 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction)_wrap_StyledTextCtrl_CallTipPosAtStart, METH_O, NULL},
21407 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21408 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21409 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21410 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
10044bf1 21411 { (char *)"StyledTextCtrl_CallTipUseStyle", (PyCFunction) _wrap_StyledTextCtrl_CallTipUseStyle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
21412 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
21413 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21414 { (char *)"StyledTextCtrl_WrapCount", (PyCFunction) _wrap_StyledTextCtrl_WrapCount, METH_VARARGS | METH_KEYWORDS, NULL},
21415 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
21416 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
21417 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
21418 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
21419 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
21420 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
21421 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21422 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21423 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21424 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
21425 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21426 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21427 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21428 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
21429 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction)_wrap_StyledTextCtrl_GetTabIndents, METH_O, NULL},
21430 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
21431 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction)_wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_O, NULL},
21432 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
21433 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDwellTime, METH_O, NULL},
21434 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21435 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21436 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
21437 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetWrapMode, METH_O, NULL},
21438 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21439 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlags, METH_O, NULL},
21440 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
21441 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_O, NULL},
21442 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
21443 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction)_wrap_StyledTextCtrl_GetWrapStartIndent, METH_O, NULL},
21444 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
21445 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction)_wrap_StyledTextCtrl_GetLayoutCache, METH_O, NULL},
21446 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21447 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction)_wrap_StyledTextCtrl_GetScrollWidth, METH_O, NULL},
21448 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21449 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
21450 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction)_wrap_StyledTextCtrl_GetEndAtLastLine, METH_O, NULL},
21451 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21452 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21453 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_O, NULL},
21454 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
21455 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction)_wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_O, NULL},
21456 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
21457 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction)_wrap_StyledTextCtrl_TargetFromSelection, METH_O, NULL},
21458 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction)_wrap_StyledTextCtrl_LinesJoin, METH_O, NULL},
21459 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
21460 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
21461 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
21462 { (char *)"StyledTextCtrl_LineDown", (PyCFunction)_wrap_StyledTextCtrl_LineDown, METH_O, NULL},
21463 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownExtend, METH_O, NULL},
21464 { (char *)"StyledTextCtrl_LineUp", (PyCFunction)_wrap_StyledTextCtrl_LineUp, METH_O, NULL},
21465 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpExtend, METH_O, NULL},
21466 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction)_wrap_StyledTextCtrl_CharLeft, METH_O, NULL},
21467 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftExtend, METH_O, NULL},
21468 { (char *)"StyledTextCtrl_CharRight", (PyCFunction)_wrap_StyledTextCtrl_CharRight, METH_O, NULL},
21469 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightExtend, METH_O, NULL},
21470 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction)_wrap_StyledTextCtrl_WordLeft, METH_O, NULL},
21471 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftExtend, METH_O, NULL},
21472 { (char *)"StyledTextCtrl_WordRight", (PyCFunction)_wrap_StyledTextCtrl_WordRight, METH_O, NULL},
21473 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightExtend, METH_O, NULL},
21474 { (char *)"StyledTextCtrl_Home", (PyCFunction)_wrap_StyledTextCtrl_Home, METH_O, NULL},
21475 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeExtend, METH_O, NULL},
21476 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction)_wrap_StyledTextCtrl_LineEnd, METH_O, NULL},
21477 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndExtend, METH_O, NULL},
21478 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction)_wrap_StyledTextCtrl_DocumentStart, METH_O, NULL},
21479 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentStartExtend, METH_O, NULL},
21480 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction)_wrap_StyledTextCtrl_DocumentEnd, METH_O, NULL},
21481 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentEndExtend, METH_O, NULL},
21482 { (char *)"StyledTextCtrl_PageUp", (PyCFunction)_wrap_StyledTextCtrl_PageUp, METH_O, NULL},
21483 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpExtend, METH_O, NULL},
21484 { (char *)"StyledTextCtrl_PageDown", (PyCFunction)_wrap_StyledTextCtrl_PageDown, METH_O, NULL},
21485 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownExtend, METH_O, NULL},
21486 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction)_wrap_StyledTextCtrl_EditToggleOvertype, METH_O, NULL},
21487 { (char *)"StyledTextCtrl_Cancel", (PyCFunction)_wrap_StyledTextCtrl_Cancel, METH_O, NULL},
21488 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction)_wrap_StyledTextCtrl_DeleteBack, METH_O, NULL},
21489 { (char *)"StyledTextCtrl_Tab", (PyCFunction)_wrap_StyledTextCtrl_Tab, METH_O, NULL},
21490 { (char *)"StyledTextCtrl_BackTab", (PyCFunction)_wrap_StyledTextCtrl_BackTab, METH_O, NULL},
21491 { (char *)"StyledTextCtrl_NewLine", (PyCFunction)_wrap_StyledTextCtrl_NewLine, METH_O, NULL},
21492 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction)_wrap_StyledTextCtrl_FormFeed, METH_O, NULL},
21493 { (char *)"StyledTextCtrl_VCHome", (PyCFunction)_wrap_StyledTextCtrl_VCHome, METH_O, NULL},
21494 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeExtend, METH_O, NULL},
21495 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction)_wrap_StyledTextCtrl_ZoomIn, METH_O, NULL},
21496 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction)_wrap_StyledTextCtrl_ZoomOut, METH_O, NULL},
21497 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction)_wrap_StyledTextCtrl_DelWordLeft, METH_O, NULL},
21498 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction)_wrap_StyledTextCtrl_DelWordRight, METH_O, NULL},
21499 { (char *)"StyledTextCtrl_LineCut", (PyCFunction)_wrap_StyledTextCtrl_LineCut, METH_O, NULL},
21500 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction)_wrap_StyledTextCtrl_LineDelete, METH_O, NULL},
21501 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction)_wrap_StyledTextCtrl_LineTranspose, METH_O, NULL},
21502 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction)_wrap_StyledTextCtrl_LineDuplicate, METH_O, NULL},
21503 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction)_wrap_StyledTextCtrl_LowerCase, METH_O, NULL},
21504 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction)_wrap_StyledTextCtrl_UpperCase, METH_O, NULL},
21505 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction)_wrap_StyledTextCtrl_LineScrollDown, METH_O, NULL},
21506 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction)_wrap_StyledTextCtrl_LineScrollUp, METH_O, NULL},
21507 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction)_wrap_StyledTextCtrl_DeleteBackNotLine, METH_O, NULL},
21508 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplay, METH_O, NULL},
21509 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplayExtend, METH_O, NULL},
21510 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplay, METH_O, NULL},
21511 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplayExtend, METH_O, NULL},
21512 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction)_wrap_StyledTextCtrl_HomeWrap, METH_O, NULL},
21513 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeWrapExtend, METH_O, NULL},
21514 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrap, METH_O, NULL},
21515 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrapExtend, METH_O, NULL},
21516 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrap, METH_O, NULL},
21517 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrapExtend, METH_O, NULL},
21518 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction)_wrap_StyledTextCtrl_LineCopy, METH_O, NULL},
21519 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction)_wrap_StyledTextCtrl_MoveCaretInsideView, METH_O, NULL},
21520 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
21521 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21522 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
21523 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
21524 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction)_wrap_StyledTextCtrl_GetViewEOL, METH_O, NULL},
21525 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
21526 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction)_wrap_StyledTextCtrl_GetDocPointer, METH_O, NULL},
21527 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
21528 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
21529 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColumn, METH_O, NULL},
21530 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21531 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeMode, METH_O, NULL},
21532 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
21533 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColour, METH_O, NULL},
21534 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
21535 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction)_wrap_StyledTextCtrl_SearchAnchor, METH_O, NULL},
21536 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
21537 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
21538 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction)_wrap_StyledTextCtrl_LinesOnScreen, METH_O, NULL},
21539 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
21540 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction)_wrap_StyledTextCtrl_SelectionIsRectangle, METH_O, NULL},
21541 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
21542 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction)_wrap_StyledTextCtrl_GetZoom, METH_O, NULL},
21543 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction)_wrap_StyledTextCtrl_CreateDocument, METH_O, NULL},
21544 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
21545 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
21546 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction)_wrap_StyledTextCtrl_GetModEventMask, METH_O, NULL},
21547 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
21548 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction)_wrap_StyledTextCtrl_GetSTCFocus, METH_O, NULL},
21549 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
21550 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction)_wrap_StyledTextCtrl_GetStatus, METH_O, NULL},
21551 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
21552 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDownCaptures, METH_O, NULL},
21553 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
21554 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction)_wrap_StyledTextCtrl_GetSTCCursor, METH_O, NULL},
21555 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
21556 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction)_wrap_StyledTextCtrl_GetControlCharSymbol, METH_O, NULL},
21557 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeft, METH_O, NULL},
21558 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeftExtend, METH_O, NULL},
21559 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction)_wrap_StyledTextCtrl_WordPartRight, METH_O, NULL},
21560 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartRightExtend, METH_O, NULL},
21561 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21562 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction)_wrap_StyledTextCtrl_DelLineLeft, METH_O, NULL},
21563 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction)_wrap_StyledTextCtrl_DelLineRight, METH_O, NULL},
21564 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
21565 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction)_wrap_StyledTextCtrl_GetXOffset, METH_O, NULL},
21566 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction)_wrap_StyledTextCtrl_ChooseCaretX, METH_O, NULL},
21567 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21568 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21569 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
21570 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintWrapMode, METH_O, NULL},
21571 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21572 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21573 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
21574 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
21575 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction)_wrap_StyledTextCtrl_ParaDown, METH_O, NULL},
21576 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaDownExtend, METH_O, NULL},
21577 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction)_wrap_StyledTextCtrl_ParaUp, METH_O, NULL},
21578 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaUpExtend, METH_O, NULL},
21579 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
21580 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
21581 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
21582 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
21583 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
21584 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionMode, METH_O, NULL},
21585 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21586 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21587 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownRectExtend, METH_O, NULL},
21588 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpRectExtend, METH_O, NULL},
21589 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftRectExtend, METH_O, NULL},
21590 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightRectExtend, METH_O, NULL},
21591 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeRectExtend, METH_O, NULL},
21592 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeRectExtend, METH_O, NULL},
21593 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndRectExtend, METH_O, NULL},
21594 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpRectExtend, METH_O, NULL},
21595 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownRectExtend, METH_O, NULL},
21596 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUp, METH_O, NULL},
21597 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUpExtend, METH_O, NULL},
21598 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDown, METH_O, NULL},
21599 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDownExtend, METH_O, NULL},
21600 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEnd, METH_O, NULL},
21601 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEndExtend, METH_O, NULL},
21602 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction)_wrap_StyledTextCtrl_WordRightEnd, METH_O, NULL},
21603 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightEndExtend, METH_O, NULL},
21604 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
21605 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction)_wrap_StyledTextCtrl_SetCharsDefault, METH_O, NULL},
21606 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCurrent, METH_O, NULL},
21607 { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
21608 { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21609 { (char *)"StyledTextCtrl_GetCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_GetCaretSticky, METH_O, NULL},
21610 { (char *)"StyledTextCtrl_SetCaretSticky", (PyCFunction) _wrap_StyledTextCtrl_SetCaretSticky, METH_VARARGS | METH_KEYWORDS, NULL},
21611 { (char *)"StyledTextCtrl_ToggleCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_ToggleCaretSticky, METH_O, NULL},
21612 { (char *)"StyledTextCtrl_SetPasteConvertEndings", (PyCFunction) _wrap_StyledTextCtrl_SetPasteConvertEndings, METH_VARARGS | METH_KEYWORDS, NULL},
21613 { (char *)"StyledTextCtrl_GetPasteConvertEndings", (PyCFunction)_wrap_StyledTextCtrl_GetPasteConvertEndings, METH_O, NULL},
21614 { (char *)"StyledTextCtrl_SelectionDuplicate", (PyCFunction)_wrap_StyledTextCtrl_SelectionDuplicate, METH_O, NULL},
10044bf1
RD
21615 { (char *)"StyledTextCtrl_SetCaretLineBackAlpha", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBackAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
21616 { (char *)"StyledTextCtrl_GetCaretLineBackAlpha", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineBackAlpha, METH_O, NULL},
554f62e9
RD
21617 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction)_wrap_StyledTextCtrl_StartRecord, METH_O, NULL},
21618 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction)_wrap_StyledTextCtrl_StopRecord, METH_O, NULL},
21619 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
21620 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction)_wrap_StyledTextCtrl_GetLexer, METH_O, NULL},
21621 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
21622 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
21623 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
21624 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
21625 { (char *)"StyledTextCtrl_GetProperty", (PyCFunction) _wrap_StyledTextCtrl_GetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
21626 { (char *)"StyledTextCtrl_GetPropertyExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21627 { (char *)"StyledTextCtrl_GetPropertyInt", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyInt, METH_VARARGS | METH_KEYWORDS, NULL},
21628 { (char *)"StyledTextCtrl_GetStyleBitsNeeded", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBitsNeeded, METH_O, NULL},
21629 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentLine, METH_O, NULL},
21630 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
21631 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
21632 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
21633 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
21634 { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21635 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
21636 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
21637 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction)_wrap_StyledTextCtrl_GetSelection, METH_O, NULL},
21638 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21639 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
21640 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21641 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
21642 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21643 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21644 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction)_wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_O, NULL},
21645 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
21646 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
21647 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
21648 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
21649 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
21650 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
21651 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction)_wrap_StyledTextCtrl_GetUseAntiAliasing, METH_O, NULL},
21652 { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21653 { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21654 { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction)_wrap_StyledTextCtrl_GetCurLineRaw, METH_O, NULL},
21655 { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21656 { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedTextRaw, METH_O, NULL},
21657 { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21658 { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21659 { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetTextRaw, METH_O, NULL},
21660 { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21661 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
21662 { (char *)"StyledTextCtrl_swiginit", StyledTextCtrl_swiginit, METH_VARARGS, NULL},
21663 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
21664 { (char *)"delete_StyledTextEvent", (PyCFunction)_wrap_delete_StyledTextEvent, METH_O, NULL},
21665 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21666 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
21667 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
21668 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
21669 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
21670 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
21671 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
21672 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
21673 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
21674 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
21675 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
21676 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
21677 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
21678 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
21679 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
21680 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
21681 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
21682 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
21683 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
21684 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
21685 { (char *)"StyledTextEvent_GetPosition", (PyCFunction)_wrap_StyledTextEvent_GetPosition, METH_O, NULL},
21686 { (char *)"StyledTextEvent_GetKey", (PyCFunction)_wrap_StyledTextEvent_GetKey, METH_O, NULL},
21687 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction)_wrap_StyledTextEvent_GetModifiers, METH_O, NULL},
21688 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction)_wrap_StyledTextEvent_GetModificationType, METH_O, NULL},
21689 { (char *)"StyledTextEvent_GetText", (PyCFunction)_wrap_StyledTextEvent_GetText, METH_O, NULL},
21690 { (char *)"StyledTextEvent_GetLength", (PyCFunction)_wrap_StyledTextEvent_GetLength, METH_O, NULL},
21691 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction)_wrap_StyledTextEvent_GetLinesAdded, METH_O, NULL},
21692 { (char *)"StyledTextEvent_GetLine", (PyCFunction)_wrap_StyledTextEvent_GetLine, METH_O, NULL},
21693 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelNow, METH_O, NULL},
21694 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelPrev, METH_O, NULL},
21695 { (char *)"StyledTextEvent_GetMargin", (PyCFunction)_wrap_StyledTextEvent_GetMargin, METH_O, NULL},
21696 { (char *)"StyledTextEvent_GetMessage", (PyCFunction)_wrap_StyledTextEvent_GetMessage, METH_O, NULL},
21697 { (char *)"StyledTextEvent_GetWParam", (PyCFunction)_wrap_StyledTextEvent_GetWParam, METH_O, NULL},
21698 { (char *)"StyledTextEvent_GetLParam", (PyCFunction)_wrap_StyledTextEvent_GetLParam, METH_O, NULL},
21699 { (char *)"StyledTextEvent_GetListType", (PyCFunction)_wrap_StyledTextEvent_GetListType, METH_O, NULL},
21700 { (char *)"StyledTextEvent_GetX", (PyCFunction)_wrap_StyledTextEvent_GetX, METH_O, NULL},
21701 { (char *)"StyledTextEvent_GetY", (PyCFunction)_wrap_StyledTextEvent_GetY, METH_O, NULL},
21702 { (char *)"StyledTextEvent_GetDragText", (PyCFunction)_wrap_StyledTextEvent_GetDragText, METH_O, NULL},
21703 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction)_wrap_StyledTextEvent_GetDragAllowMove, METH_O, NULL},
21704 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction)_wrap_StyledTextEvent_GetDragResult, METH_O, NULL},
21705 { (char *)"StyledTextEvent_GetShift", (PyCFunction)_wrap_StyledTextEvent_GetShift, METH_O, NULL},
21706 { (char *)"StyledTextEvent_GetControl", (PyCFunction)_wrap_StyledTextEvent_GetControl, METH_O, NULL},
21707 { (char *)"StyledTextEvent_GetAlt", (PyCFunction)_wrap_StyledTextEvent_GetAlt, METH_O, NULL},
21708 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
21709 { (char *)"StyledTextEvent_swiginit", StyledTextEvent_swiginit, METH_VARARGS, NULL},
21710 { NULL, NULL, 0, NULL }
21711};
21712
21713
21714/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21715
21716static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21717 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21718}
21719static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21720 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21721}
21722static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21723 return (void *)((wxObject *) ((wxSizerItem *) x));
21724}
21725static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21726 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21727}
21728static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21729 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21730}
21731static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21732 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21733}
21734static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21735 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21736}
21737static void *_p_wxSizerTo_p_wxObject(void *x) {
21738 return (void *)((wxObject *) ((wxSizer *) x));
21739}
21740static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21741 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21742}
21743static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
21744 return (void *)((wxObject *) ((wxFileHistory *) x));
21745}
21746static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21747 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21748}
21749static void *_p_wxEventTo_p_wxObject(void *x) {
21750 return (void *)((wxObject *) ((wxEvent *) x));
21751}
21752static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21753 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21754}
21755static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21756 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21757}
21758static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21759 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21760}
2131d850
RD
21761static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
21762 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
21763}
554f62e9
RD
21764static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21765 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21766}
21767static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21768 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21769}
21770static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
21771 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
21772}
21773static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21774 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21775}
21776static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21777 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21778}
21779static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21780 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21781}
21782static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21783 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21784}
21785static void *_p_wxControlTo_p_wxObject(void *x) {
21786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21787}
21788static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21789 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21790}
21791static void *_p_wxTimerEventTo_p_wxObject(void *x) {
21792 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
21793}
092f0ed7
RD
21794static void *_p_wxPowerEventTo_p_wxObject(void *x) {
21795 return (void *)((wxObject *) (wxEvent *) ((wxPowerEvent *) x));
21796}
554f62e9
RD
21797static void *_p_wxFSFileTo_p_wxObject(void *x) {
21798 return (void *)((wxObject *) ((wxFSFile *) x));
21799}
21800static void *_p_wxClipboardTo_p_wxObject(void *x) {
21801 return (void *)((wxObject *) ((wxClipboard *) x));
21802}
21803static void *_p_wxPySizerTo_p_wxObject(void *x) {
21804 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21805}
21806static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
21807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
21808}
21809static void *_p_wxPyEventTo_p_wxObject(void *x) {
21810 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21811}
21812static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21813 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21814}
21815static void *_p_wxShowEventTo_p_wxObject(void *x) {
21816 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21817}
21818static void *_p_wxToolTipTo_p_wxObject(void *x) {
21819 return (void *)((wxObject *) ((wxToolTip *) x));
21820}
21821static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21822 return (void *)((wxObject *) ((wxMenuItem *) x));
21823}
21824static void *_p_wxDateEventTo_p_wxObject(void *x) {
21825 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
21826}
21827static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21828 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21829}
21830static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21831 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21832}
21833static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21834 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21835}
21836static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21837 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21838}
21839static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21840 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21841}
21842static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21843 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21844}
21845static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21846 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21847}
21848static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21849 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21850}
21851static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21852 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21853}
21854static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21855 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21856}
21857static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21858 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21859}
21860static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21861 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21862}
21863static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21864 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21865}
21866static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21867 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21868}
21869static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21870 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21871}
21872static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21873 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21874}
21875static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21876 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21877}
21878static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
21879 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
21880}
21881static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21882 return (void *)((wxObject *) ((wxImageHandler *) x));
21883}
21884static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21885 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21886}
21887static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21888 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21889}
21890static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21891 return (void *)((wxObject *) ((wxEvtHandler *) x));
21892}
21893static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
21894 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
21895}
21896static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21897 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21898}
21899static void *_p_wxImageTo_p_wxObject(void *x) {
21900 return (void *)((wxObject *) ((wxImage *) x));
21901}
21902static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21903 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21904}
21905static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
21906 return (void *)((wxObject *) ((wxSystemOptions *) x));
21907}
21908static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
21909 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
21910}
21911static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21912 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21913}
21914static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21915 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21916}
21917static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21918 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21919}
21920static void *_p_wxWindowTo_p_wxObject(void *x) {
21921 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21922}
21923static void *_p_wxMenuTo_p_wxObject(void *x) {
21924 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21925}
21926static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21928}
21929static void *_p_wxPyProcessTo_p_wxObject(void *x) {
21930 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
21931}
21932static void *_p_wxFileSystemTo_p_wxObject(void *x) {
21933 return (void *)((wxObject *) ((wxFileSystem *) x));
21934}
21935static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
21936 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
21937}
21938static void *_p_wxMenuEventTo_p_wxObject(void *x) {
21939 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
21940}
21941static void *_p_wxPyAppTo_p_wxObject(void *x) {
21942 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
21943}
21944static void *_p_wxCloseEventTo_p_wxObject(void *x) {
21945 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
21946}
21947static void *_p_wxMouseEventTo_p_wxObject(void *x) {
21948 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
21949}
21950static void *_p_wxEraseEventTo_p_wxObject(void *x) {
21951 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
21952}
21953static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
21954 return (void *)((wxObject *) ((wxBusyInfo *) x));
21955}
21956static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
21957 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
21958}
21959static void *_p_wxCommandEventTo_p_wxObject(void *x) {
21960 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
21961}
21962static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
21963 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
21964}
21965static void *_p_wxFocusEventTo_p_wxObject(void *x) {
21966 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
21967}
21968static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
21969 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
21970}
21971static void *_p_wxProcessEventTo_p_wxObject(void *x) {
21972 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
21973}
21974static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
21975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21976}
21977static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
21978 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
21979}
21980static void *_p_wxValidatorTo_p_wxObject(void *x) {
21981 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
21982}
21983static void *_p_wxPyTimerTo_p_wxObject(void *x) {
21984 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
21985}
21986static void *_p_wxControlTo_p_wxWindow(void *x) {
21987 return (void *)((wxWindow *) ((wxControl *) x));
21988}
21989static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
21990 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
21991}
21992static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
21993 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
21994}
21995static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
21996 return (void *)((wxWindow *) ((wxMenuBar *) x));
21997}
21998static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
21999 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22000}
22001static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22002 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22003}
22004static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22005 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22006}
22007static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
22008 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
22009}
22010static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22011 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22012}
2131d850
RD
22013static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
22014 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
22015}
554f62e9
RD
22016static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
22017 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
22018}
22019static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22020 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22021}
22022static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22023 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22024}
22025static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22026 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22027}
22028static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22029 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22030}
22031static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
22032 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
22033}
22034static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
22035 return (void *)((wxEvtHandler *) ((wxWindow *) x));
22036}
22037static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
22038 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22039}
22040static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
22041 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
22042}
22043static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
22044 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
22045}
22046static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
22047 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
22048}
22049static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
22050 return (void *)((wxEvtHandler *) ((wxValidator *) x));
22051}
22052static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
22053 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
22054}
22055static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
22056 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
22057}
22058static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
22059 return (void *)((wxEvtHandler *) ((wxMenu *) x));
22060}
22061static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
22062 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
22063}
22064static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
22065 return (void *)((wxControl *) ((wxControlWithItems *) x));
22066}
22067static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
22068 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
22069}
22070static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
22071 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
22072}
22073static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
22074 return (void *)((wxEvent *) ((wxMenuEvent *) x));
22075}
22076static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
22077 return (void *)((wxEvent *) ((wxCloseEvent *) x));
22078}
22079static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
22080 return (void *)((wxEvent *) ((wxMouseEvent *) x));
22081}
22082static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
22083 return (void *)((wxEvent *) ((wxEraseEvent *) x));
22084}
22085static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
22086 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
22087}
22088static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
22089 return (void *)((wxEvent *) ((wxTimerEvent *) x));
22090}
092f0ed7
RD
22091static void *_p_wxPowerEventTo_p_wxEvent(void *x) {
22092 return (void *)((wxEvent *) ((wxPowerEvent *) x));
22093}
554f62e9
RD
22094static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
22095 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
22096}
22097static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
22098 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
22099}
554f62e9
RD
22100static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
22101 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
22102}
2131d850
RD
22103static void *_p_wxPyEventTo_p_wxEvent(void *x) {
22104 return (void *)((wxEvent *) ((wxPyEvent *) x));
22105}
554f62e9
RD
22106static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
22107 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
22108}
22109static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
22110 return (void *)((wxEvent *) ((wxIdleEvent *) x));
22111}
22112static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
22113 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
22114}
22115static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
22116 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
22117}
22118static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
22119 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
22120}
22121static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
22122 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
22123}
22124static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
22125 return (void *)((wxEvent *) ((wxActivateEvent *) x));
22126}
22127static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
22128 return (void *)((wxEvent *) ((wxSizeEvent *) x));
22129}
22130static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
22131 return (void *)((wxEvent *) ((wxMoveEvent *) x));
22132}
22133static void *_p_wxDateEventTo_p_wxEvent(void *x) {
22134 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
22135}
2131d850
RD
22136static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
22137 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
22138}
554f62e9
RD
22139static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
22140 return (void *)((wxEvent *) ((wxPaintEvent *) x));
22141}
22142static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
22143 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
22144}
22145static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
22146 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
22147}
22148static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
22149 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
22150}
22151static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
22152 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
22153}
22154static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
22155 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
22156}
22157static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
22158 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22159}
22160static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
22161 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
22162}
22163static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
22164 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
22165}
22166static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
22167 return (void *)((wxEvent *) ((wxFocusEvent *) x));
22168}
22169static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
22170 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
22171}
22172static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
22173 return (void *)((wxEvent *) ((wxProcessEvent *) x));
22174}
22175static void *_p_wxShowEventTo_p_wxEvent(void *x) {
22176 return (void *)((wxEvent *) ((wxShowEvent *) x));
22177}
22178static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
22179 return (void *)((wxEvent *) ((wxCommandEvent *) x));
22180}
22181static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
22182 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
22183}
22184static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
22185 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22186}
22187static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
22188 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
22189}
22190static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
22191 return (void *)((wxEvent *) ((wxKeyEvent *) x));
22192}
22193static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
22194 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
22195}
22196static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
22197static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
22198static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
22199static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
22200static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
22201static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
22202static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
22203static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
22204static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
22205static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
22206static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
22207static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
22208static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
22209static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
22210static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
2131d850 22211static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
554f62e9
RD
22212static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
22213static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
22214static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
22215static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
22216static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
22217static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
22218static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
22219static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
22220static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
22221static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
22222static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
22223static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
22224static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
22225static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
22226static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", 0, 0, 0, 0, 0};
092f0ed7 22227static swig_type_info _swigt__p_wxPowerEvent = {"_p_wxPowerEvent", 0, 0, 0, 0, 0};
554f62e9
RD
22228static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
22229static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
22230static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", 0, 0, 0, 0, 0};
22231static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
22232static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
22233static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
22234static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
22235static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
22236static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
22237static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
22238static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
22239static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
22240static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
22241static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
22242static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
22243static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
22244static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
22245static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
22246static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", 0, 0, 0, 0, 0};
22247static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
22248static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
22249static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
22250static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
22251static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
22252static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
22253static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0, 0};
22254static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
22255static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
22256static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
22257static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
22258static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0, 0};
22259static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
22260static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, (void*)0, 0};
22261static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
22262static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
22263static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
22264static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
22265static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
22266static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
22267static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
22268static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
22269static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
22270static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", 0, 0, 0, 0, 0};
22271static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
22272static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
22273static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
22274static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0, 0};
22275static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
22276static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0, 0};
22277static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
554f62e9
RD
22278static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
22279static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
092f0ed7 22280static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
2131d850 22281static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
554f62e9
RD
22282static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
22283static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
22284static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
22285static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
22286static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
22287static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
22288static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
22289static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
22290static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
22291static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
22292static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
22293static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
22294static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0, 0};
22295static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
22296static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0, 0};
22297static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
22298static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
22299static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
22300static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
22301static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, (void*)0, 0};
22302static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, (void*)0, 0};
22303static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
22304
22305static swig_type_info *swig_type_initial[] = {
22306 &_swigt__p_char,
22307 &_swigt__p_form_ops_t,
22308 &_swigt__p_int,
22309 &_swigt__p_unsigned_char,
22310 &_swigt__p_unsigned_int,
22311 &_swigt__p_unsigned_long,
22312 &_swigt__p_void,
22313 &_swigt__p_wxANIHandler,
22314 &_swigt__p_wxAcceleratorTable,
22315 &_swigt__p_wxActivateEvent,
22316 &_swigt__p_wxBMPHandler,
22317 &_swigt__p_wxBitmap,
22318 &_swigt__p_wxBoxSizer,
22319 &_swigt__p_wxBusyInfo,
22320 &_swigt__p_wxCURHandler,
22321 &_swigt__p_wxChildFocusEvent,
22322 &_swigt__p_wxClipboard,
2131d850 22323 &_swigt__p_wxClipboardTextEvent,
554f62e9
RD
22324 &_swigt__p_wxCloseEvent,
22325 &_swigt__p_wxColour,
22326 &_swigt__p_wxCommandEvent,
22327 &_swigt__p_wxContextMenuEvent,
22328 &_swigt__p_wxControl,
22329 &_swigt__p_wxControlWithItems,
22330 &_swigt__p_wxDC,
22331 &_swigt__p_wxDateEvent,
22332 &_swigt__p_wxDisplayChangedEvent,
22333 &_swigt__p_wxDropFilesEvent,
22334 &_swigt__p_wxDuplexMode,
22335 &_swigt__p_wxEraseEvent,
22336 &_swigt__p_wxEvent,
22337 &_swigt__p_wxEvtHandler,
22338 &_swigt__p_wxFSFile,
22339 &_swigt__p_wxFileHistory,
22340 &_swigt__p_wxFileSystem,
22341 &_swigt__p_wxFlexGridSizer,
22342 &_swigt__p_wxFocusEvent,
22343 &_swigt__p_wxFont,
22344 &_swigt__p_wxGBSizerItem,
22345 &_swigt__p_wxGIFHandler,
22346 &_swigt__p_wxGridBagSizer,
22347 &_swigt__p_wxGridSizer,
22348 &_swigt__p_wxICOHandler,
22349 &_swigt__p_wxIconizeEvent,
22350 &_swigt__p_wxIdleEvent,
22351 &_swigt__p_wxImage,
22352 &_swigt__p_wxImageHandler,
22353 &_swigt__p_wxIndividualLayoutConstraint,
22354 &_swigt__p_wxInitDialogEvent,
22355 &_swigt__p_wxJPEGHandler,
22356 &_swigt__p_wxJoystickEvent,
22357 &_swigt__p_wxKeyEvent,
22358 &_swigt__p_wxLayoutConstraints,
22359 &_swigt__p_wxMaximizeEvent,
22360 &_swigt__p_wxMemoryBuffer,
22361 &_swigt__p_wxMenu,
22362 &_swigt__p_wxMenuBar,
22363 &_swigt__p_wxMenuEvent,
22364 &_swigt__p_wxMenuItem,
22365 &_swigt__p_wxMouseCaptureChangedEvent,
22366 &_swigt__p_wxMouseEvent,
22367 &_swigt__p_wxMoveEvent,
22368 &_swigt__p_wxNavigationKeyEvent,
22369 &_swigt__p_wxNcPaintEvent,
22370 &_swigt__p_wxNotifyEvent,
22371 &_swigt__p_wxObject,
22372 &_swigt__p_wxPCXHandler,
22373 &_swigt__p_wxPNGHandler,
22374 &_swigt__p_wxPNMHandler,
22375 &_swigt__p_wxPaintEvent,
22376 &_swigt__p_wxPaletteChangedEvent,
22377 &_swigt__p_wxPaperSize,
22378 &_swigt__p_wxPoint,
092f0ed7 22379 &_swigt__p_wxPowerEvent,
554f62e9
RD
22380 &_swigt__p_wxProcessEvent,
22381 &_swigt__p_wxPyApp,
22382 &_swigt__p_wxPyCommandEvent,
22383 &_swigt__p_wxPyEvent,
22384 &_swigt__p_wxPyImageHandler,
22385 &_swigt__p_wxPyProcess,
22386 &_swigt__p_wxPySizer,
22387 &_swigt__p_wxPyTimer,
22388 &_swigt__p_wxPyValidator,
22389 &_swigt__p_wxQueryNewPaletteEvent,
22390 &_swigt__p_wxRect,
22391 &_swigt__p_wxScrollBar,
22392 &_swigt__p_wxScrollEvent,
22393 &_swigt__p_wxScrollWinEvent,
22394 &_swigt__p_wxSetCursorEvent,
22395 &_swigt__p_wxShowEvent,
22396 &_swigt__p_wxSizeEvent,
22397 &_swigt__p_wxSizer,
22398 &_swigt__p_wxSizerItem,
22399 &_swigt__p_wxStaticBoxSizer,
22400 &_swigt__p_wxStdDialogButtonSizer,
22401 &_swigt__p_wxStyledTextCtrl,
22402 &_swigt__p_wxStyledTextEvent,
22403 &_swigt__p_wxSysColourChangedEvent,
22404 &_swigt__p_wxSystemOptions,
22405 &_swigt__p_wxTIFFHandler,
22406 &_swigt__p_wxTimerEvent,
22407 &_swigt__p_wxToolTip,
22408 &_swigt__p_wxUpdateUIEvent,
22409 &_swigt__p_wxValidator,
22410 &_swigt__p_wxWindow,
22411 &_swigt__p_wxWindowCreateEvent,
22412 &_swigt__p_wxWindowDestroyEvent,
22413 &_swigt__p_wxXPMHandler,
22414};
22415
22416static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
22417static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
22418static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
22419static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
22420static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
22421static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
22422static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
22423static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
22424static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
22425static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22426static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
22427static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
22428static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
22429static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 22430static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
22431static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
22432static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22433static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
22434static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 22435static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
22436static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
22437static 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}};
22438static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
22439static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
22440static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22441static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
22442static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
22443static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
22444static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
22445static swig_cast_info _swigc__p_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 22446static swig_cast_info _swigc__p_wxPowerEvent[] = {{&_swigt__p_wxPowerEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
22447static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
22448static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
22449static swig_cast_info _swigc__p_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
22450static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
22451static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
22452static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22453static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22454static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
22455static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22456static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
22457static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22458static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22459static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22460static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22461static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22462static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22463static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
22464static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22465static swig_cast_info _swigc__p_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
22466static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
22467static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22468static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22469static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 22470static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPowerEvent, _p_wxPowerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
22471static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
22472static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
22473static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
22474static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
22475static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
22476static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
22477static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
22478static 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}};
22479static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
22480static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 0, 0, 0},{0, 0, 0, 0}};
22481static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
22482static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22483static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22484static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
22485static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22486static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22487static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
22488static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
22489static swig_cast_info _swigc__p_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
22490static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22491static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22492static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
22493static swig_cast_info _swigc__p_wxClipboard[] = {{&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
22494static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
22495static swig_cast_info _swigc__p_wxToolTip[] = {{&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
22496static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
22497static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
22498static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 22499static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 22500static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
22501static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
22502static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
22503static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
22504static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
22505static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
22506static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
22507static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
22508static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
22509static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
22510static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
22511static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
22512static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
22513static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
22514static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
22515static swig_cast_info _swigc__p_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 22516static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPowerEvent, _p_wxPowerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_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_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_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}};
554f62e9
RD
22517static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
22518static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
22519static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
22520static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
22521static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
22522static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}};
22523static 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}};
22524
22525static swig_cast_info *swig_cast_initial[] = {
22526 _swigc__p_char,
22527 _swigc__p_form_ops_t,
22528 _swigc__p_int,
22529 _swigc__p_unsigned_char,
22530 _swigc__p_unsigned_int,
22531 _swigc__p_unsigned_long,
22532 _swigc__p_void,
22533 _swigc__p_wxANIHandler,
22534 _swigc__p_wxAcceleratorTable,
22535 _swigc__p_wxActivateEvent,
22536 _swigc__p_wxBMPHandler,
22537 _swigc__p_wxBitmap,
22538 _swigc__p_wxBoxSizer,
22539 _swigc__p_wxBusyInfo,
22540 _swigc__p_wxCURHandler,
22541 _swigc__p_wxChildFocusEvent,
22542 _swigc__p_wxClipboard,
2131d850 22543 _swigc__p_wxClipboardTextEvent,
554f62e9
RD
22544 _swigc__p_wxCloseEvent,
22545 _swigc__p_wxColour,
22546 _swigc__p_wxCommandEvent,
22547 _swigc__p_wxContextMenuEvent,
22548 _swigc__p_wxControl,
22549 _swigc__p_wxControlWithItems,
22550 _swigc__p_wxDC,
22551 _swigc__p_wxDateEvent,
22552 _swigc__p_wxDisplayChangedEvent,
22553 _swigc__p_wxDropFilesEvent,
22554 _swigc__p_wxDuplexMode,
22555 _swigc__p_wxEraseEvent,
22556 _swigc__p_wxEvent,
22557 _swigc__p_wxEvtHandler,
22558 _swigc__p_wxFSFile,
22559 _swigc__p_wxFileHistory,
22560 _swigc__p_wxFileSystem,
22561 _swigc__p_wxFlexGridSizer,
22562 _swigc__p_wxFocusEvent,
22563 _swigc__p_wxFont,
22564 _swigc__p_wxGBSizerItem,
22565 _swigc__p_wxGIFHandler,
22566 _swigc__p_wxGridBagSizer,
22567 _swigc__p_wxGridSizer,
22568 _swigc__p_wxICOHandler,
22569 _swigc__p_wxIconizeEvent,
22570 _swigc__p_wxIdleEvent,
22571 _swigc__p_wxImage,
22572 _swigc__p_wxImageHandler,
22573 _swigc__p_wxIndividualLayoutConstraint,
22574 _swigc__p_wxInitDialogEvent,
22575 _swigc__p_wxJPEGHandler,
22576 _swigc__p_wxJoystickEvent,
22577 _swigc__p_wxKeyEvent,
22578 _swigc__p_wxLayoutConstraints,
22579 _swigc__p_wxMaximizeEvent,
22580 _swigc__p_wxMemoryBuffer,
22581 _swigc__p_wxMenu,
22582 _swigc__p_wxMenuBar,
22583 _swigc__p_wxMenuEvent,
22584 _swigc__p_wxMenuItem,
22585 _swigc__p_wxMouseCaptureChangedEvent,
22586 _swigc__p_wxMouseEvent,
22587 _swigc__p_wxMoveEvent,
22588 _swigc__p_wxNavigationKeyEvent,
22589 _swigc__p_wxNcPaintEvent,
22590 _swigc__p_wxNotifyEvent,
22591 _swigc__p_wxObject,
22592 _swigc__p_wxPCXHandler,
22593 _swigc__p_wxPNGHandler,
22594 _swigc__p_wxPNMHandler,
22595 _swigc__p_wxPaintEvent,
22596 _swigc__p_wxPaletteChangedEvent,
22597 _swigc__p_wxPaperSize,
22598 _swigc__p_wxPoint,
092f0ed7 22599 _swigc__p_wxPowerEvent,
554f62e9
RD
22600 _swigc__p_wxProcessEvent,
22601 _swigc__p_wxPyApp,
22602 _swigc__p_wxPyCommandEvent,
22603 _swigc__p_wxPyEvent,
22604 _swigc__p_wxPyImageHandler,
22605 _swigc__p_wxPyProcess,
22606 _swigc__p_wxPySizer,
22607 _swigc__p_wxPyTimer,
22608 _swigc__p_wxPyValidator,
22609 _swigc__p_wxQueryNewPaletteEvent,
22610 _swigc__p_wxRect,
22611 _swigc__p_wxScrollBar,
22612 _swigc__p_wxScrollEvent,
22613 _swigc__p_wxScrollWinEvent,
22614 _swigc__p_wxSetCursorEvent,
22615 _swigc__p_wxShowEvent,
22616 _swigc__p_wxSizeEvent,
22617 _swigc__p_wxSizer,
22618 _swigc__p_wxSizerItem,
22619 _swigc__p_wxStaticBoxSizer,
22620 _swigc__p_wxStdDialogButtonSizer,
22621 _swigc__p_wxStyledTextCtrl,
22622 _swigc__p_wxStyledTextEvent,
22623 _swigc__p_wxSysColourChangedEvent,
22624 _swigc__p_wxSystemOptions,
22625 _swigc__p_wxTIFFHandler,
22626 _swigc__p_wxTimerEvent,
22627 _swigc__p_wxToolTip,
22628 _swigc__p_wxUpdateUIEvent,
22629 _swigc__p_wxValidator,
22630 _swigc__p_wxWindow,
22631 _swigc__p_wxWindowCreateEvent,
22632 _swigc__p_wxWindowDestroyEvent,
22633 _swigc__p_wxXPMHandler,
22634};
22635
22636
22637/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22638
22639static swig_const_info swig_const_table[] = {
22640{0, 0, 0, 0.0, 0, 0}};
22641
22642#ifdef __cplusplus
22643}
22644#endif
22645/* -----------------------------------------------------------------------------
22646 * Type initialization:
22647 * This problem is tough by the requirement that no dynamic
22648 * memory is used. Also, since swig_type_info structures store pointers to
22649 * swig_cast_info structures and swig_cast_info structures store pointers back
22650 * to swig_type_info structures, we need some lookup code at initialization.
22651 * The idea is that swig generates all the structures that are needed.
22652 * The runtime then collects these partially filled structures.
22653 * The SWIG_InitializeModule function takes these initial arrays out of
22654 * swig_module, and does all the lookup, filling in the swig_module.types
22655 * array with the correct data and linking the correct swig_cast_info
22656 * structures together.
22657 *
22658 * The generated swig_type_info structures are assigned staticly to an initial
22659 * array. We just loop though that array, and handle each type individually.
22660 * First we lookup if this type has been already loaded, and if so, use the
22661 * loaded structure instead of the generated one. Then we have to fill in the
22662 * cast linked list. The cast data is initially stored in something like a
22663 * two-dimensional array. Each row corresponds to a type (there are the same
22664 * number of rows as there are in the swig_type_initial array). Each entry in
22665 * a column is one of the swig_cast_info structures for that type.
22666 * The cast_initial array is actually an array of arrays, because each row has
22667 * a variable number of columns. So to actually build the cast linked list,
22668 * we find the array of casts associated with the type, and loop through it
22669 * adding the casts to the list. The one last trick we need to do is making
22670 * sure the type pointer in the swig_cast_info struct is correct.
22671 *
22672 * First off, we lookup the cast->type name to see if it is already loaded.
22673 * There are three cases to handle:
22674 * 1) If the cast->type has already been loaded AND the type we are adding
22675 * casting info to has not been loaded (it is in this module), THEN we
22676 * replace the cast->type pointer with the type pointer that has already
22677 * been loaded.
22678 * 2) If BOTH types (the one we are adding casting info to, and the
22679 * cast->type) are loaded, THEN the cast info has already been loaded by
22680 * the previous module so we just ignore it.
22681 * 3) Finally, if cast->type has not already been loaded, then we add that
22682 * swig_cast_info to the linked list (because the cast->type) pointer will
22683 * be correct.
22684 * ----------------------------------------------------------------------------- */
22685
22686#ifdef __cplusplus
22687extern "C" {
22688#if 0
22689} /* c-mode */
22690#endif
22691#endif
22692
22693#if 0
22694#define SWIGRUNTIME_DEBUG
22695#endif
22696
22697SWIGRUNTIME void
22698SWIG_InitializeModule(void *clientdata) {
22699 size_t i;
22700 swig_module_info *module_head;
22701 static int init_run = 0;
22702
22703 clientdata = clientdata;
22704
22705 if (init_run) return;
22706 init_run = 1;
22707
22708 /* Initialize the swig_module */
22709 swig_module.type_initial = swig_type_initial;
22710 swig_module.cast_initial = swig_cast_initial;
22711
22712 /* Try and load any already created modules */
22713 module_head = SWIG_GetModule(clientdata);
22714 if (module_head) {
22715 swig_module.next = module_head->next;
22716 module_head->next = &swig_module;
22717 } else {
22718 /* This is the first module loaded */
22719 swig_module.next = &swig_module;
22720 SWIG_SetModule(clientdata, &swig_module);
22721 }
22722
22723 /* Now work on filling in swig_module.types */
22724#ifdef SWIGRUNTIME_DEBUG
22725 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
22726#endif
22727 for (i = 0; i < swig_module.size; ++i) {
22728 swig_type_info *type = 0;
22729 swig_type_info *ret;
22730 swig_cast_info *cast;
22731
22732#ifdef SWIGRUNTIME_DEBUG
22733 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
22734#endif
22735
22736 /* if there is another module already loaded */
22737 if (swig_module.next != &swig_module) {
22738 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
7bdb1bc4 22739 }
554f62e9
RD
22740 if (type) {
22741 /* Overwrite clientdata field */
22742#ifdef SWIGRUNTIME_DEBUG
22743 printf("SWIG_InitializeModule: found type %s\n", type->name);
22744#endif
22745 if (swig_module.type_initial[i]->clientdata) {
22746 type->clientdata = swig_module.type_initial[i]->clientdata;
22747#ifdef SWIGRUNTIME_DEBUG
22748 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
22749#endif
22750 }
22751 } else {
22752 type = swig_module.type_initial[i];
7bdb1bc4 22753 }
554f62e9
RD
22754
22755 /* Insert casting types */
22756 cast = swig_module.cast_initial[i];
22757 while (cast->type) {
22758 /* Don't need to add information already in the list */
22759 ret = 0;
22760#ifdef SWIGRUNTIME_DEBUG
22761 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
22762#endif
22763 if (swig_module.next != &swig_module) {
22764 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
22765#ifdef SWIGRUNTIME_DEBUG
22766 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
22767#endif
22768 }
22769 if (ret) {
22770 if (type == swig_module.type_initial[i]) {
22771#ifdef SWIGRUNTIME_DEBUG
22772 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
22773#endif
22774 cast->type = ret;
22775 ret = 0;
22776 } else {
22777 /* Check for casting already in the list */
22778 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
22779#ifdef SWIGRUNTIME_DEBUG
22780 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
22781#endif
22782 if (!ocast) ret = 0;
22783 }
22784 }
22785
22786 if (!ret) {
22787#ifdef SWIGRUNTIME_DEBUG
22788 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
22789#endif
22790 if (type->cast) {
22791 type->cast->prev = cast;
22792 cast->next = type->cast;
22793 }
22794 type->cast = cast;
22795 }
22796 cast++;
7bdb1bc4 22797 }
554f62e9
RD
22798 /* Set entry in modules->types array equal to the type */
22799 swig_module.types[i] = type;
22800 }
22801 swig_module.types[i] = 0;
22802
22803#ifdef SWIGRUNTIME_DEBUG
22804 printf("**** SWIG_InitializeModule: Cast List ******\n");
22805 for (i = 0; i < swig_module.size; ++i) {
22806 int j = 0;
22807 swig_cast_info *cast = swig_module.cast_initial[i];
22808 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
22809 while (cast->type) {
22810 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
22811 cast++;
22812 ++j;
22813 }
22814 printf("---- Total casts: %d\n",j);
22815 }
22816 printf("**** SWIG_InitializeModule: Cast List ******\n");
22817#endif
22818}
22819
22820/* This function will propagate the clientdata field of type to
22821* any new swig_type_info structures that have been added into the list
22822* of equivalent types. It is like calling
22823* SWIG_TypeClientData(type, clientdata) a second time.
22824*/
22825SWIGRUNTIME void
22826SWIG_PropagateClientData(void) {
22827 size_t i;
22828 swig_cast_info *equiv;
22829 static int init_run = 0;
22830
22831 if (init_run) return;
22832 init_run = 1;
22833
22834 for (i = 0; i < swig_module.size; i++) {
22835 if (swig_module.types[i]->clientdata) {
22836 equiv = swig_module.types[i]->cast;
22837 while (equiv) {
22838 if (!equiv->converter) {
22839 if (equiv->type && !equiv->type->clientdata)
22840 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
22841 }
22842 equiv = equiv->next;
22843 }
7bdb1bc4 22844 }
554f62e9
RD
22845 }
22846}
22847
22848#ifdef __cplusplus
22849#if 0
22850{
22851 /* c-mode */
22852#endif
22853}
22854#endif
22855
22856
22857
22858#ifdef __cplusplus
22859extern "C" {
22860#endif
22861
22862 /* Python-specific SWIG API */
22863#define SWIG_newvarlink() SWIG_Python_newvarlink()
22864#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22865#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22866
22867 /* -----------------------------------------------------------------------------
22868 * global variable support code.
22869 * ----------------------------------------------------------------------------- */
22870
22871 typedef struct swig_globalvar {
22872 char *name; /* Name of global variable */
22873 PyObject *(*get_attr)(void); /* Return the current value */
22874 int (*set_attr)(PyObject *); /* Set the value */
22875 struct swig_globalvar *next;
22876 } swig_globalvar;
22877
22878 typedef struct swig_varlinkobject {
22879 PyObject_HEAD
22880 swig_globalvar *vars;
22881 } swig_varlinkobject;
22882
22883 SWIGINTERN PyObject *
22884 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
22885 return PyString_FromString("<Swig global variables>");
22886 }
22887
22888 SWIGINTERN PyObject *
22889 swig_varlink_str(swig_varlinkobject *v) {
22890 PyObject *str = PyString_FromString("(");
22891 swig_globalvar *var;
22892 for (var = v->vars; var; var=var->next) {
22893 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
22894 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
22895 }
22896 PyString_ConcatAndDel(&str,PyString_FromString(")"));
22897 return str;
22898 }
22899
22900 SWIGINTERN int
22901 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
22902 PyObject *str = swig_varlink_str(v);
22903 fprintf(fp,"Swig global variables ");
22904 fprintf(fp,"%s\n", PyString_AsString(str));
22905 Py_DECREF(str);
22906 return 0;
22907 }
22908
22909 SWIGINTERN void
22910 swig_varlink_dealloc(swig_varlinkobject *v) {
22911 swig_globalvar *var = v->vars;
22912 while (var) {
22913 swig_globalvar *n = var->next;
22914 free(var->name);
22915 free(var);
22916 var = n;
7bdb1bc4 22917 }
554f62e9
RD
22918 }
22919
22920 SWIGINTERN PyObject *
22921 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
22922 PyObject *res = NULL;
22923 swig_globalvar *var = v->vars;
22924 while (var) {
22925 if (strcmp(var->name,n) == 0) {
22926 res = (*var->get_attr)();
22927 break;
22928 }
22929 var = var->next;
7bdb1bc4 22930 }
554f62e9
RD
22931 if (res == NULL && !PyErr_Occurred()) {
22932 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
7bdb1bc4 22933 }
554f62e9
RD
22934 return res;
22935 }
22936
22937 SWIGINTERN int
22938 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
22939 int res = 1;
22940 swig_globalvar *var = v->vars;
22941 while (var) {
22942 if (strcmp(var->name,n) == 0) {
22943 res = (*var->set_attr)(p);
22944 break;
22945 }
22946 var = var->next;
7bdb1bc4 22947 }
554f62e9
RD
22948 if (res == 1 && !PyErr_Occurred()) {
22949 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
7bdb1bc4 22950 }
554f62e9
RD
22951 return res;
22952 }
22953
22954 SWIGINTERN PyTypeObject*
22955 swig_varlink_type(void) {
22956 static char varlink__doc__[] = "Swig var link object";
22957 static PyTypeObject varlink_type;
22958 static int type_init = 0;
22959 if (!type_init) {
22960 const PyTypeObject tmp
22961 = {
22962 PyObject_HEAD_INIT(NULL)
22963 0, /* Number of items in variable part (ob_size) */
22964 (char *)"swigvarlink", /* Type name (tp_name) */
22965 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
22966 0, /* Itemsize (tp_itemsize) */
22967 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
22968 (printfunc) swig_varlink_print, /* Print (tp_print) */
22969 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
22970 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
22971 0, /* tp_compare */
22972 (reprfunc) swig_varlink_repr, /* tp_repr */
22973 0, /* tp_as_number */
22974 0, /* tp_as_sequence */
22975 0, /* tp_as_mapping */
22976 0, /* tp_hash */
22977 0, /* tp_call */
22978 (reprfunc)swig_varlink_str, /* tp_str */
22979 0, /* tp_getattro */
22980 0, /* tp_setattro */
22981 0, /* tp_as_buffer */
22982 0, /* tp_flags */
22983 varlink__doc__, /* tp_doc */
22984 0, /* tp_traverse */
22985 0, /* tp_clear */
22986 0, /* tp_richcompare */
22987 0, /* tp_weaklistoffset */
22988#if PY_VERSION_HEX >= 0x02020000
22989 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
22990#endif
22991#if PY_VERSION_HEX >= 0x02030000
22992 0, /* tp_del */
22993#endif
22994#ifdef COUNT_ALLOCS
22995 0,0,0,0 /* tp_alloc -> tp_next */
22996#endif
22997 };
22998 varlink_type = tmp;
22999 varlink_type.ob_type = &PyType_Type;
23000 type_init = 1;
7bdb1bc4 23001 }
554f62e9
RD
23002 return &varlink_type;
23003 }
23004
23005 /* Create a variable linking object for use later */
23006 SWIGINTERN PyObject *
23007 SWIG_Python_newvarlink(void) {
23008 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
23009 if (result) {
23010 result->vars = 0;
23011 }
23012 return ((PyObject*) result);
23013 }
23014
23015 SWIGINTERN void
23016 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
23017 swig_varlinkobject *v = (swig_varlinkobject *) p;
23018 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
23019 if (gv) {
23020 size_t size = strlen(name)+1;
23021 gv->name = (char *)malloc(size);
23022 if (gv->name) {
23023 strncpy(gv->name,name,size);
23024 gv->get_attr = get_attr;
23025 gv->set_attr = set_attr;
23026 gv->next = v->vars;
23027 }
7bdb1bc4 23028 }
554f62e9
RD
23029 v->vars = gv;
23030 }
23031
23032 SWIGINTERN PyObject *
23033 SWIG_globals() {
23034 static PyObject *_SWIG_globals = 0;
23035 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
23036 return _SWIG_globals;
23037 }
23038
23039 /* -----------------------------------------------------------------------------
23040 * constants/methods manipulation
23041 * ----------------------------------------------------------------------------- */
23042
23043 /* Install Constants */
23044 SWIGINTERN void
23045 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
23046 PyObject *obj = 0;
23047 size_t i;
23048 for (i = 0; constants[i].type; ++i) {
23049 switch(constants[i].type) {
23050 case SWIG_PY_POINTER:
23051 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
23052 break;
23053 case SWIG_PY_BINARY:
23054 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
23055 break;
23056 default:
23057 obj = 0;
23058 break;
23059 }
23060 if (obj) {
23061 PyDict_SetItemString(d, constants[i].name, obj);
23062 Py_DECREF(obj);
23063 }
7bdb1bc4 23064 }
554f62e9
RD
23065 }
23066
23067 /* -----------------------------------------------------------------------------*/
23068 /* Fix SwigMethods to carry the callback ptrs when needed */
23069 /* -----------------------------------------------------------------------------*/
23070
23071 SWIGINTERN void
23072 SWIG_Python_FixMethods(PyMethodDef *methods,
23073 swig_const_info *const_table,
23074 swig_type_info **types,
23075 swig_type_info **types_initial) {
23076 size_t i;
23077 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 23078 const char *c = methods[i].ml_doc;
554f62e9
RD
23079 if (c && (c = strstr(c, "swig_ptr: "))) {
23080 int j;
23081 swig_const_info *ci = 0;
453fb36b 23082 const char *name = c + 10;
554f62e9
RD
23083 for (j = 0; const_table[j].type; ++j) {
23084 if (strncmp(const_table[j].name, name,
23085 strlen(const_table[j].name)) == 0) {
23086 ci = &(const_table[j]);
23087 break;
23088 }
23089 }
23090 if (ci) {
23091 size_t shift = (ci->ptype) - types;
23092 swig_type_info *ty = types_initial[shift];
23093 size_t ldoc = (c - methods[i].ml_doc);
23094 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
23095 char *ndoc = (char*)malloc(ldoc + lptr + 10);
23096 if (ndoc) {
23097 char *buff = ndoc;
23098 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
23099 if (ptr) {
23100 strncpy(buff, methods[i].ml_doc, ldoc);
23101 buff += ldoc;
23102 strncpy(buff, "swig_ptr: ", 10);
23103 buff += 10;
23104 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
23105 methods[i].ml_doc = ndoc;
23106 }
23107 }
23108 }
23109 }
7bdb1bc4 23110 }
554f62e9
RD
23111 }
23112
23113#ifdef __cplusplus
23114}
23115#endif
23116
23117/* -----------------------------------------------------------------------------*
23118 * Partial Init method
23119 * -----------------------------------------------------------------------------*/
23120
23121#ifdef __cplusplus
23122extern "C"
23123#endif
23124SWIGEXPORT void SWIG_init(void) {
23125 PyObject *m, *d;
23126
23127 /* Fix SwigMethods to carry the callback ptrs when needed */
23128 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
23129
23130 m = Py_InitModule((char *) SWIG_name, SwigMethods);
23131 d = PyModule_GetDict(m);
23132
23133 SWIG_InitializeModule(0);
23134 SWIG_InstallConstants(d,swig_const_table);
23135
23136
23137 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
23138 SWIG_addvarlink(SWIG_globals(),(char*)"STCNameStr",STCNameStr_get, STCNameStr_set);
23139 SWIG_Python_SetConstant(d, "STC_USE_DND",SWIG_From_int(static_cast< int >(1)));
23140 SWIG_Python_SetConstant(d, "STC_USE_POPUP",SWIG_From_int(static_cast< int >(1)));
23141 SWIG_Python_SetConstant(d, "STC_INVALID_POSITION",SWIG_From_int(static_cast< int >(-1)));
23142 SWIG_Python_SetConstant(d, "STC_START",SWIG_From_int(static_cast< int >(2000)));
23143 SWIG_Python_SetConstant(d, "STC_OPTIONAL_START",SWIG_From_int(static_cast< int >(3000)));
23144 SWIG_Python_SetConstant(d, "STC_LEXER_START",SWIG_From_int(static_cast< int >(4000)));
23145 SWIG_Python_SetConstant(d, "STC_WS_INVISIBLE",SWIG_From_int(static_cast< int >(0)));
23146 SWIG_Python_SetConstant(d, "STC_WS_VISIBLEALWAYS",SWIG_From_int(static_cast< int >(1)));
23147 SWIG_Python_SetConstant(d, "STC_WS_VISIBLEAFTERINDENT",SWIG_From_int(static_cast< int >(2)));
23148 SWIG_Python_SetConstant(d, "STC_EOL_CRLF",SWIG_From_int(static_cast< int >(0)));
23149 SWIG_Python_SetConstant(d, "STC_EOL_CR",SWIG_From_int(static_cast< int >(1)));
23150 SWIG_Python_SetConstant(d, "STC_EOL_LF",SWIG_From_int(static_cast< int >(2)));
23151 SWIG_Python_SetConstant(d, "STC_CP_UTF8",SWIG_From_int(static_cast< int >(65001)));
23152 SWIG_Python_SetConstant(d, "STC_CP_DBCS",SWIG_From_int(static_cast< int >(1)));
23153 SWIG_Python_SetConstant(d, "STC_MARKER_MAX",SWIG_From_int(static_cast< int >(31)));
23154 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLE",SWIG_From_int(static_cast< int >(0)));
23155 SWIG_Python_SetConstant(d, "STC_MARK_ROUNDRECT",SWIG_From_int(static_cast< int >(1)));
23156 SWIG_Python_SetConstant(d, "STC_MARK_ARROW",SWIG_From_int(static_cast< int >(2)));
23157 SWIG_Python_SetConstant(d, "STC_MARK_SMALLRECT",SWIG_From_int(static_cast< int >(3)));
23158 SWIG_Python_SetConstant(d, "STC_MARK_SHORTARROW",SWIG_From_int(static_cast< int >(4)));
23159 SWIG_Python_SetConstant(d, "STC_MARK_EMPTY",SWIG_From_int(static_cast< int >(5)));
23160 SWIG_Python_SetConstant(d, "STC_MARK_ARROWDOWN",SWIG_From_int(static_cast< int >(6)));
23161 SWIG_Python_SetConstant(d, "STC_MARK_MINUS",SWIG_From_int(static_cast< int >(7)));
23162 SWIG_Python_SetConstant(d, "STC_MARK_PLUS",SWIG_From_int(static_cast< int >(8)));
23163 SWIG_Python_SetConstant(d, "STC_MARK_VLINE",SWIG_From_int(static_cast< int >(9)));
23164 SWIG_Python_SetConstant(d, "STC_MARK_LCORNER",SWIG_From_int(static_cast< int >(10)));
23165 SWIG_Python_SetConstant(d, "STC_MARK_TCORNER",SWIG_From_int(static_cast< int >(11)));
23166 SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUS",SWIG_From_int(static_cast< int >(12)));
23167 SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUSCONNECTED",SWIG_From_int(static_cast< int >(13)));
23168 SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUS",SWIG_From_int(static_cast< int >(14)));
23169 SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUSCONNECTED",SWIG_From_int(static_cast< int >(15)));
23170 SWIG_Python_SetConstant(d, "STC_MARK_LCORNERCURVE",SWIG_From_int(static_cast< int >(16)));
23171 SWIG_Python_SetConstant(d, "STC_MARK_TCORNERCURVE",SWIG_From_int(static_cast< int >(17)));
23172 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUS",SWIG_From_int(static_cast< int >(18)));
23173 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUSCONNECTED",SWIG_From_int(static_cast< int >(19)));
23174 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUS",SWIG_From_int(static_cast< int >(20)));
23175 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUSCONNECTED",SWIG_From_int(static_cast< int >(21)));
23176 SWIG_Python_SetConstant(d, "STC_MARK_BACKGROUND",SWIG_From_int(static_cast< int >(22)));
23177 SWIG_Python_SetConstant(d, "STC_MARK_DOTDOTDOT",SWIG_From_int(static_cast< int >(23)));
23178 SWIG_Python_SetConstant(d, "STC_MARK_ARROWS",SWIG_From_int(static_cast< int >(24)));
23179 SWIG_Python_SetConstant(d, "STC_MARK_PIXMAP",SWIG_From_int(static_cast< int >(25)));
23180 SWIG_Python_SetConstant(d, "STC_MARK_FULLRECT",SWIG_From_int(static_cast< int >(26)));
23181 SWIG_Python_SetConstant(d, "STC_MARK_CHARACTER",SWIG_From_int(static_cast< int >(10000)));
23182 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEREND",SWIG_From_int(static_cast< int >(25)));
23183 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPENMID",SWIG_From_int(static_cast< int >(26)));
23184 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERMIDTAIL",SWIG_From_int(static_cast< int >(27)));
23185 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERTAIL",SWIG_From_int(static_cast< int >(28)));
23186 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERSUB",SWIG_From_int(static_cast< int >(29)));
23187 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDER",SWIG_From_int(static_cast< int >(30)));
23188 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPEN",SWIG_From_int(static_cast< int >(31)));
23189 SWIG_Python_SetConstant(d, "STC_MASK_FOLDERS",SWIG_From_int(static_cast< int >(0xFE000000)));
23190 SWIG_Python_SetConstant(d, "STC_MARGIN_SYMBOL",SWIG_From_int(static_cast< int >(0)));
23191 SWIG_Python_SetConstant(d, "STC_MARGIN_NUMBER",SWIG_From_int(static_cast< int >(1)));
10044bf1
RD
23192 SWIG_Python_SetConstant(d, "STC_MARGIN_BACK",SWIG_From_int(static_cast< int >(2)));
23193 SWIG_Python_SetConstant(d, "STC_MARGIN_FORE",SWIG_From_int(static_cast< int >(3)));
554f62e9
RD
23194 SWIG_Python_SetConstant(d, "STC_STYLE_DEFAULT",SWIG_From_int(static_cast< int >(32)));
23195 SWIG_Python_SetConstant(d, "STC_STYLE_LINENUMBER",SWIG_From_int(static_cast< int >(33)));
23196 SWIG_Python_SetConstant(d, "STC_STYLE_BRACELIGHT",SWIG_From_int(static_cast< int >(34)));
23197 SWIG_Python_SetConstant(d, "STC_STYLE_BRACEBAD",SWIG_From_int(static_cast< int >(35)));
23198 SWIG_Python_SetConstant(d, "STC_STYLE_CONTROLCHAR",SWIG_From_int(static_cast< int >(36)));
23199 SWIG_Python_SetConstant(d, "STC_STYLE_INDENTGUIDE",SWIG_From_int(static_cast< int >(37)));
10044bf1 23200 SWIG_Python_SetConstant(d, "STC_STYLE_CALLTIP",SWIG_From_int(static_cast< int >(38)));
554f62e9
RD
23201 SWIG_Python_SetConstant(d, "STC_STYLE_LASTPREDEFINED",SWIG_From_int(static_cast< int >(39)));
23202 SWIG_Python_SetConstant(d, "STC_STYLE_MAX",SWIG_From_int(static_cast< int >(127)));
23203 SWIG_Python_SetConstant(d, "STC_CHARSET_ANSI",SWIG_From_int(static_cast< int >(0)));
23204 SWIG_Python_SetConstant(d, "STC_CHARSET_DEFAULT",SWIG_From_int(static_cast< int >(1)));
23205 SWIG_Python_SetConstant(d, "STC_CHARSET_BALTIC",SWIG_From_int(static_cast< int >(186)));
23206 SWIG_Python_SetConstant(d, "STC_CHARSET_CHINESEBIG5",SWIG_From_int(static_cast< int >(136)));
23207 SWIG_Python_SetConstant(d, "STC_CHARSET_EASTEUROPE",SWIG_From_int(static_cast< int >(238)));
23208 SWIG_Python_SetConstant(d, "STC_CHARSET_GB2312",SWIG_From_int(static_cast< int >(134)));
23209 SWIG_Python_SetConstant(d, "STC_CHARSET_GREEK",SWIG_From_int(static_cast< int >(161)));
23210 SWIG_Python_SetConstant(d, "STC_CHARSET_HANGUL",SWIG_From_int(static_cast< int >(129)));
23211 SWIG_Python_SetConstant(d, "STC_CHARSET_MAC",SWIG_From_int(static_cast< int >(77)));
23212 SWIG_Python_SetConstant(d, "STC_CHARSET_OEM",SWIG_From_int(static_cast< int >(255)));
23213 SWIG_Python_SetConstant(d, "STC_CHARSET_RUSSIAN",SWIG_From_int(static_cast< int >(204)));
23214 SWIG_Python_SetConstant(d, "STC_CHARSET_CYRILLIC",SWIG_From_int(static_cast< int >(1251)));
23215 SWIG_Python_SetConstant(d, "STC_CHARSET_SHIFTJIS",SWIG_From_int(static_cast< int >(128)));
23216 SWIG_Python_SetConstant(d, "STC_CHARSET_SYMBOL",SWIG_From_int(static_cast< int >(2)));
23217 SWIG_Python_SetConstant(d, "STC_CHARSET_TURKISH",SWIG_From_int(static_cast< int >(162)));
23218 SWIG_Python_SetConstant(d, "STC_CHARSET_JOHAB",SWIG_From_int(static_cast< int >(130)));
23219 SWIG_Python_SetConstant(d, "STC_CHARSET_HEBREW",SWIG_From_int(static_cast< int >(177)));
23220 SWIG_Python_SetConstant(d, "STC_CHARSET_ARABIC",SWIG_From_int(static_cast< int >(178)));
23221 SWIG_Python_SetConstant(d, "STC_CHARSET_VIETNAMESE",SWIG_From_int(static_cast< int >(163)));
23222 SWIG_Python_SetConstant(d, "STC_CHARSET_THAI",SWIG_From_int(static_cast< int >(222)));
23223 SWIG_Python_SetConstant(d, "STC_CHARSET_8859_15",SWIG_From_int(static_cast< int >(1000)));
23224 SWIG_Python_SetConstant(d, "STC_CASE_MIXED",SWIG_From_int(static_cast< int >(0)));
23225 SWIG_Python_SetConstant(d, "STC_CASE_UPPER",SWIG_From_int(static_cast< int >(1)));
23226 SWIG_Python_SetConstant(d, "STC_CASE_LOWER",SWIG_From_int(static_cast< int >(2)));
23227 SWIG_Python_SetConstant(d, "STC_INDIC_MAX",SWIG_From_int(static_cast< int >(7)));
23228 SWIG_Python_SetConstant(d, "STC_INDIC_PLAIN",SWIG_From_int(static_cast< int >(0)));
23229 SWIG_Python_SetConstant(d, "STC_INDIC_SQUIGGLE",SWIG_From_int(static_cast< int >(1)));
23230 SWIG_Python_SetConstant(d, "STC_INDIC_TT",SWIG_From_int(static_cast< int >(2)));
23231 SWIG_Python_SetConstant(d, "STC_INDIC_DIAGONAL",SWIG_From_int(static_cast< int >(3)));
23232 SWIG_Python_SetConstant(d, "STC_INDIC_STRIKE",SWIG_From_int(static_cast< int >(4)));
23233 SWIG_Python_SetConstant(d, "STC_INDIC_HIDDEN",SWIG_From_int(static_cast< int >(5)));
23234 SWIG_Python_SetConstant(d, "STC_INDIC_BOX",SWIG_From_int(static_cast< int >(6)));
10044bf1 23235 SWIG_Python_SetConstant(d, "STC_INDIC_ROUNDBOX",SWIG_From_int(static_cast< int >(7)));
554f62e9
RD
23236 SWIG_Python_SetConstant(d, "STC_INDIC0_MASK",SWIG_From_int(static_cast< int >(0x20)));
23237 SWIG_Python_SetConstant(d, "STC_INDIC1_MASK",SWIG_From_int(static_cast< int >(0x40)));
23238 SWIG_Python_SetConstant(d, "STC_INDIC2_MASK",SWIG_From_int(static_cast< int >(0x80)));
23239 SWIG_Python_SetConstant(d, "STC_INDICS_MASK",SWIG_From_int(static_cast< int >(0xE0)));
23240 SWIG_Python_SetConstant(d, "STC_PRINT_NORMAL",SWIG_From_int(static_cast< int >(0)));
23241 SWIG_Python_SetConstant(d, "STC_PRINT_INVERTLIGHT",SWIG_From_int(static_cast< int >(1)));
23242 SWIG_Python_SetConstant(d, "STC_PRINT_BLACKONWHITE",SWIG_From_int(static_cast< int >(2)));
23243 SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITE",SWIG_From_int(static_cast< int >(3)));
23244 SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITEDEFAULTBG",SWIG_From_int(static_cast< int >(4)));
23245 SWIG_Python_SetConstant(d, "STC_FIND_WHOLEWORD",SWIG_From_int(static_cast< int >(2)));
23246 SWIG_Python_SetConstant(d, "STC_FIND_MATCHCASE",SWIG_From_int(static_cast< int >(4)));
23247 SWIG_Python_SetConstant(d, "STC_FIND_WORDSTART",SWIG_From_int(static_cast< int >(0x00100000)));
23248 SWIG_Python_SetConstant(d, "STC_FIND_REGEXP",SWIG_From_int(static_cast< int >(0x00200000)));
23249 SWIG_Python_SetConstant(d, "STC_FIND_POSIX",SWIG_From_int(static_cast< int >(0x00400000)));
23250 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBASE",SWIG_From_int(static_cast< int >(0x400)));
23251 SWIG_Python_SetConstant(d, "STC_FOLDLEVELWHITEFLAG",SWIG_From_int(static_cast< int >(0x1000)));
23252 SWIG_Python_SetConstant(d, "STC_FOLDLEVELHEADERFLAG",SWIG_From_int(static_cast< int >(0x2000)));
23253 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBOXHEADERFLAG",SWIG_From_int(static_cast< int >(0x4000)));
23254 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBOXFOOTERFLAG",SWIG_From_int(static_cast< int >(0x8000)));
23255 SWIG_Python_SetConstant(d, "STC_FOLDLEVELCONTRACTED",SWIG_From_int(static_cast< int >(0x10000)));
23256 SWIG_Python_SetConstant(d, "STC_FOLDLEVELUNINDENT",SWIG_From_int(static_cast< int >(0x20000)));
23257 SWIG_Python_SetConstant(d, "STC_FOLDLEVELNUMBERMASK",SWIG_From_int(static_cast< int >(0x0FFF)));
23258 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_EXPANDED",SWIG_From_int(static_cast< int >(0x0002)));
23259 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_CONTRACTED",SWIG_From_int(static_cast< int >(0x0004)));
23260 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_EXPANDED",SWIG_From_int(static_cast< int >(0x0008)));
23261 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_CONTRACTED",SWIG_From_int(static_cast< int >(0x0010)));
23262 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LEVELNUMBERS",SWIG_From_int(static_cast< int >(0x0040)));
23263 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_BOX",SWIG_From_int(static_cast< int >(0x0001)));
23264 SWIG_Python_SetConstant(d, "STC_TIME_FOREVER",SWIG_From_int(static_cast< int >(10000000)));
23265 SWIG_Python_SetConstant(d, "STC_WRAP_NONE",SWIG_From_int(static_cast< int >(0)));
23266 SWIG_Python_SetConstant(d, "STC_WRAP_WORD",SWIG_From_int(static_cast< int >(1)));
23267 SWIG_Python_SetConstant(d, "STC_WRAP_CHAR",SWIG_From_int(static_cast< int >(2)));
23268 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_NONE",SWIG_From_int(static_cast< int >(0x0000)));
23269 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_END",SWIG_From_int(static_cast< int >(0x0001)));
23270 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_START",SWIG_From_int(static_cast< int >(0x0002)));
23271 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_DEFAULT",SWIG_From_int(static_cast< int >(0x0000)));
23272 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_END_BY_TEXT",SWIG_From_int(static_cast< int >(0x0001)));
23273 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_START_BY_TEXT",SWIG_From_int(static_cast< int >(0x0002)));
23274 SWIG_Python_SetConstant(d, "STC_CACHE_NONE",SWIG_From_int(static_cast< int >(0)));
23275 SWIG_Python_SetConstant(d, "STC_CACHE_CARET",SWIG_From_int(static_cast< int >(1)));
23276 SWIG_Python_SetConstant(d, "STC_CACHE_PAGE",SWIG_From_int(static_cast< int >(2)));
23277 SWIG_Python_SetConstant(d, "STC_CACHE_DOCUMENT",SWIG_From_int(static_cast< int >(3)));
23278 SWIG_Python_SetConstant(d, "STC_EDGE_NONE",SWIG_From_int(static_cast< int >(0)));
23279 SWIG_Python_SetConstant(d, "STC_EDGE_LINE",SWIG_From_int(static_cast< int >(1)));
23280 SWIG_Python_SetConstant(d, "STC_EDGE_BACKGROUND",SWIG_From_int(static_cast< int >(2)));
23281 SWIG_Python_SetConstant(d, "STC_CURSORNORMAL",SWIG_From_int(static_cast< int >(-1)));
23282 SWIG_Python_SetConstant(d, "STC_CURSORWAIT",SWIG_From_int(static_cast< int >(4)));
23283 SWIG_Python_SetConstant(d, "STC_VISIBLE_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23284 SWIG_Python_SetConstant(d, "STC_VISIBLE_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23285 SWIG_Python_SetConstant(d, "STC_CARET_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23286 SWIG_Python_SetConstant(d, "STC_CARET_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23287 SWIG_Python_SetConstant(d, "STC_CARET_JUMPS",SWIG_From_int(static_cast< int >(0x10)));
23288 SWIG_Python_SetConstant(d, "STC_CARET_EVEN",SWIG_From_int(static_cast< int >(0x08)));
23289 SWIG_Python_SetConstant(d, "STC_SEL_STREAM",SWIG_From_int(static_cast< int >(0)));
23290 SWIG_Python_SetConstant(d, "STC_SEL_RECTANGLE",SWIG_From_int(static_cast< int >(1)));
23291 SWIG_Python_SetConstant(d, "STC_SEL_LINES",SWIG_From_int(static_cast< int >(2)));
10044bf1
RD
23292 SWIG_Python_SetConstant(d, "STC_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(0)));
23293 SWIG_Python_SetConstant(d, "STC_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(255)));
23294 SWIG_Python_SetConstant(d, "STC_ALPHA_NOALPHA",SWIG_From_int(static_cast< int >(256)));
554f62e9
RD
23295 SWIG_Python_SetConstant(d, "STC_KEYWORDSET_MAX",SWIG_From_int(static_cast< int >(8)));
23296 SWIG_Python_SetConstant(d, "STC_MOD_INSERTTEXT",SWIG_From_int(static_cast< int >(0x1)));
23297 SWIG_Python_SetConstant(d, "STC_MOD_DELETETEXT",SWIG_From_int(static_cast< int >(0x2)));
23298 SWIG_Python_SetConstant(d, "STC_MOD_CHANGESTYLE",SWIG_From_int(static_cast< int >(0x4)));
23299 SWIG_Python_SetConstant(d, "STC_MOD_CHANGEFOLD",SWIG_From_int(static_cast< int >(0x8)));
23300 SWIG_Python_SetConstant(d, "STC_PERFORMED_USER",SWIG_From_int(static_cast< int >(0x10)));
23301 SWIG_Python_SetConstant(d, "STC_PERFORMED_UNDO",SWIG_From_int(static_cast< int >(0x20)));
23302 SWIG_Python_SetConstant(d, "STC_PERFORMED_REDO",SWIG_From_int(static_cast< int >(0x40)));
23303 SWIG_Python_SetConstant(d, "STC_MULTISTEPUNDOREDO",SWIG_From_int(static_cast< int >(0x80)));
23304 SWIG_Python_SetConstant(d, "STC_LASTSTEPINUNDOREDO",SWIG_From_int(static_cast< int >(0x100)));
23305 SWIG_Python_SetConstant(d, "STC_MOD_CHANGEMARKER",SWIG_From_int(static_cast< int >(0x200)));
23306 SWIG_Python_SetConstant(d, "STC_MOD_BEFOREINSERT",SWIG_From_int(static_cast< int >(0x400)));
23307 SWIG_Python_SetConstant(d, "STC_MOD_BEFOREDELETE",SWIG_From_int(static_cast< int >(0x800)));
23308 SWIG_Python_SetConstant(d, "STC_MULTILINEUNDOREDO",SWIG_From_int(static_cast< int >(0x1000)));
23309 SWIG_Python_SetConstant(d, "STC_MODEVENTMASKALL",SWIG_From_int(static_cast< int >(0x1FFF)));
23310 SWIG_Python_SetConstant(d, "STC_KEY_DOWN",SWIG_From_int(static_cast< int >(300)));
23311 SWIG_Python_SetConstant(d, "STC_KEY_UP",SWIG_From_int(static_cast< int >(301)));
23312 SWIG_Python_SetConstant(d, "STC_KEY_LEFT",SWIG_From_int(static_cast< int >(302)));
23313 SWIG_Python_SetConstant(d, "STC_KEY_RIGHT",SWIG_From_int(static_cast< int >(303)));
23314 SWIG_Python_SetConstant(d, "STC_KEY_HOME",SWIG_From_int(static_cast< int >(304)));
23315 SWIG_Python_SetConstant(d, "STC_KEY_END",SWIG_From_int(static_cast< int >(305)));
23316 SWIG_Python_SetConstant(d, "STC_KEY_PRIOR",SWIG_From_int(static_cast< int >(306)));
23317 SWIG_Python_SetConstant(d, "STC_KEY_NEXT",SWIG_From_int(static_cast< int >(307)));
23318 SWIG_Python_SetConstant(d, "STC_KEY_DELETE",SWIG_From_int(static_cast< int >(308)));
23319 SWIG_Python_SetConstant(d, "STC_KEY_INSERT",SWIG_From_int(static_cast< int >(309)));
23320 SWIG_Python_SetConstant(d, "STC_KEY_ESCAPE",SWIG_From_int(static_cast< int >(7)));
23321 SWIG_Python_SetConstant(d, "STC_KEY_BACK",SWIG_From_int(static_cast< int >(8)));
23322 SWIG_Python_SetConstant(d, "STC_KEY_TAB",SWIG_From_int(static_cast< int >(9)));
23323 SWIG_Python_SetConstant(d, "STC_KEY_RETURN",SWIG_From_int(static_cast< int >(13)));
23324 SWIG_Python_SetConstant(d, "STC_KEY_ADD",SWIG_From_int(static_cast< int >(310)));
23325 SWIG_Python_SetConstant(d, "STC_KEY_SUBTRACT",SWIG_From_int(static_cast< int >(311)));
23326 SWIG_Python_SetConstant(d, "STC_KEY_DIVIDE",SWIG_From_int(static_cast< int >(312)));
23327 SWIG_Python_SetConstant(d, "STC_SCMOD_NORM",SWIG_From_int(static_cast< int >(0)));
23328 SWIG_Python_SetConstant(d, "STC_SCMOD_SHIFT",SWIG_From_int(static_cast< int >(1)));
23329 SWIG_Python_SetConstant(d, "STC_SCMOD_CTRL",SWIG_From_int(static_cast< int >(2)));
23330 SWIG_Python_SetConstant(d, "STC_SCMOD_ALT",SWIG_From_int(static_cast< int >(4)));
23331 SWIG_Python_SetConstant(d, "STC_LEX_CONTAINER",SWIG_From_int(static_cast< int >(0)));
23332 SWIG_Python_SetConstant(d, "STC_LEX_NULL",SWIG_From_int(static_cast< int >(1)));
23333 SWIG_Python_SetConstant(d, "STC_LEX_PYTHON",SWIG_From_int(static_cast< int >(2)));
23334 SWIG_Python_SetConstant(d, "STC_LEX_CPP",SWIG_From_int(static_cast< int >(3)));
23335 SWIG_Python_SetConstant(d, "STC_LEX_HTML",SWIG_From_int(static_cast< int >(4)));
23336 SWIG_Python_SetConstant(d, "STC_LEX_XML",SWIG_From_int(static_cast< int >(5)));
23337 SWIG_Python_SetConstant(d, "STC_LEX_PERL",SWIG_From_int(static_cast< int >(6)));
23338 SWIG_Python_SetConstant(d, "STC_LEX_SQL",SWIG_From_int(static_cast< int >(7)));
23339 SWIG_Python_SetConstant(d, "STC_LEX_VB",SWIG_From_int(static_cast< int >(8)));
23340 SWIG_Python_SetConstant(d, "STC_LEX_PROPERTIES",SWIG_From_int(static_cast< int >(9)));
23341 SWIG_Python_SetConstant(d, "STC_LEX_ERRORLIST",SWIG_From_int(static_cast< int >(10)));
23342 SWIG_Python_SetConstant(d, "STC_LEX_MAKEFILE",SWIG_From_int(static_cast< int >(11)));
23343 SWIG_Python_SetConstant(d, "STC_LEX_BATCH",SWIG_From_int(static_cast< int >(12)));
23344 SWIG_Python_SetConstant(d, "STC_LEX_XCODE",SWIG_From_int(static_cast< int >(13)));
23345 SWIG_Python_SetConstant(d, "STC_LEX_LATEX",SWIG_From_int(static_cast< int >(14)));
23346 SWIG_Python_SetConstant(d, "STC_LEX_LUA",SWIG_From_int(static_cast< int >(15)));
23347 SWIG_Python_SetConstant(d, "STC_LEX_DIFF",SWIG_From_int(static_cast< int >(16)));
23348 SWIG_Python_SetConstant(d, "STC_LEX_CONF",SWIG_From_int(static_cast< int >(17)));
23349 SWIG_Python_SetConstant(d, "STC_LEX_PASCAL",SWIG_From_int(static_cast< int >(18)));
23350 SWIG_Python_SetConstant(d, "STC_LEX_AVE",SWIG_From_int(static_cast< int >(19)));
23351 SWIG_Python_SetConstant(d, "STC_LEX_ADA",SWIG_From_int(static_cast< int >(20)));
23352 SWIG_Python_SetConstant(d, "STC_LEX_LISP",SWIG_From_int(static_cast< int >(21)));
23353 SWIG_Python_SetConstant(d, "STC_LEX_RUBY",SWIG_From_int(static_cast< int >(22)));
23354 SWIG_Python_SetConstant(d, "STC_LEX_EIFFEL",SWIG_From_int(static_cast< int >(23)));
23355 SWIG_Python_SetConstant(d, "STC_LEX_EIFFELKW",SWIG_From_int(static_cast< int >(24)));
23356 SWIG_Python_SetConstant(d, "STC_LEX_TCL",SWIG_From_int(static_cast< int >(25)));
23357 SWIG_Python_SetConstant(d, "STC_LEX_NNCRONTAB",SWIG_From_int(static_cast< int >(26)));
23358 SWIG_Python_SetConstant(d, "STC_LEX_BULLANT",SWIG_From_int(static_cast< int >(27)));
23359 SWIG_Python_SetConstant(d, "STC_LEX_VBSCRIPT",SWIG_From_int(static_cast< int >(28)));
23360 SWIG_Python_SetConstant(d, "STC_LEX_BAAN",SWIG_From_int(static_cast< int >(31)));
23361 SWIG_Python_SetConstant(d, "STC_LEX_MATLAB",SWIG_From_int(static_cast< int >(32)));
23362 SWIG_Python_SetConstant(d, "STC_LEX_SCRIPTOL",SWIG_From_int(static_cast< int >(33)));
23363 SWIG_Python_SetConstant(d, "STC_LEX_ASM",SWIG_From_int(static_cast< int >(34)));
23364 SWIG_Python_SetConstant(d, "STC_LEX_CPPNOCASE",SWIG_From_int(static_cast< int >(35)));
23365 SWIG_Python_SetConstant(d, "STC_LEX_FORTRAN",SWIG_From_int(static_cast< int >(36)));
23366 SWIG_Python_SetConstant(d, "STC_LEX_F77",SWIG_From_int(static_cast< int >(37)));
23367 SWIG_Python_SetConstant(d, "STC_LEX_CSS",SWIG_From_int(static_cast< int >(38)));
23368 SWIG_Python_SetConstant(d, "STC_LEX_POV",SWIG_From_int(static_cast< int >(39)));
23369 SWIG_Python_SetConstant(d, "STC_LEX_LOUT",SWIG_From_int(static_cast< int >(40)));
23370 SWIG_Python_SetConstant(d, "STC_LEX_ESCRIPT",SWIG_From_int(static_cast< int >(41)));
23371 SWIG_Python_SetConstant(d, "STC_LEX_PS",SWIG_From_int(static_cast< int >(42)));
23372 SWIG_Python_SetConstant(d, "STC_LEX_NSIS",SWIG_From_int(static_cast< int >(43)));
23373 SWIG_Python_SetConstant(d, "STC_LEX_MMIXAL",SWIG_From_int(static_cast< int >(44)));
23374 SWIG_Python_SetConstant(d, "STC_LEX_CLW",SWIG_From_int(static_cast< int >(45)));
23375 SWIG_Python_SetConstant(d, "STC_LEX_CLWNOCASE",SWIG_From_int(static_cast< int >(46)));
23376 SWIG_Python_SetConstant(d, "STC_LEX_LOT",SWIG_From_int(static_cast< int >(47)));
23377 SWIG_Python_SetConstant(d, "STC_LEX_YAML",SWIG_From_int(static_cast< int >(48)));
23378 SWIG_Python_SetConstant(d, "STC_LEX_TEX",SWIG_From_int(static_cast< int >(49)));
23379 SWIG_Python_SetConstant(d, "STC_LEX_METAPOST",SWIG_From_int(static_cast< int >(50)));
23380 SWIG_Python_SetConstant(d, "STC_LEX_POWERBASIC",SWIG_From_int(static_cast< int >(51)));
23381 SWIG_Python_SetConstant(d, "STC_LEX_FORTH",SWIG_From_int(static_cast< int >(52)));
23382 SWIG_Python_SetConstant(d, "STC_LEX_ERLANG",SWIG_From_int(static_cast< int >(53)));
23383 SWIG_Python_SetConstant(d, "STC_LEX_OCTAVE",SWIG_From_int(static_cast< int >(54)));
23384 SWIG_Python_SetConstant(d, "STC_LEX_MSSQL",SWIG_From_int(static_cast< int >(55)));
23385 SWIG_Python_SetConstant(d, "STC_LEX_VERILOG",SWIG_From_int(static_cast< int >(56)));
23386 SWIG_Python_SetConstant(d, "STC_LEX_KIX",SWIG_From_int(static_cast< int >(57)));
23387 SWIG_Python_SetConstant(d, "STC_LEX_GUI4CLI",SWIG_From_int(static_cast< int >(58)));
23388 SWIG_Python_SetConstant(d, "STC_LEX_SPECMAN",SWIG_From_int(static_cast< int >(59)));
23389 SWIG_Python_SetConstant(d, "STC_LEX_AU3",SWIG_From_int(static_cast< int >(60)));
23390 SWIG_Python_SetConstant(d, "STC_LEX_APDL",SWIG_From_int(static_cast< int >(61)));
23391 SWIG_Python_SetConstant(d, "STC_LEX_BASH",SWIG_From_int(static_cast< int >(62)));
23392 SWIG_Python_SetConstant(d, "STC_LEX_ASN1",SWIG_From_int(static_cast< int >(63)));
23393 SWIG_Python_SetConstant(d, "STC_LEX_VHDL",SWIG_From_int(static_cast< int >(64)));
23394 SWIG_Python_SetConstant(d, "STC_LEX_CAML",SWIG_From_int(static_cast< int >(65)));
23395 SWIG_Python_SetConstant(d, "STC_LEX_BLITZBASIC",SWIG_From_int(static_cast< int >(66)));
23396 SWIG_Python_SetConstant(d, "STC_LEX_PUREBASIC",SWIG_From_int(static_cast< int >(67)));
23397 SWIG_Python_SetConstant(d, "STC_LEX_HASKELL",SWIG_From_int(static_cast< int >(68)));
23398 SWIG_Python_SetConstant(d, "STC_LEX_PHPSCRIPT",SWIG_From_int(static_cast< int >(69)));
23399 SWIG_Python_SetConstant(d, "STC_LEX_TADS3",SWIG_From_int(static_cast< int >(70)));
23400 SWIG_Python_SetConstant(d, "STC_LEX_REBOL",SWIG_From_int(static_cast< int >(71)));
23401 SWIG_Python_SetConstant(d, "STC_LEX_SMALLTALK",SWIG_From_int(static_cast< int >(72)));
23402 SWIG_Python_SetConstant(d, "STC_LEX_FLAGSHIP",SWIG_From_int(static_cast< int >(73)));
23403 SWIG_Python_SetConstant(d, "STC_LEX_CSOUND",SWIG_From_int(static_cast< int >(74)));
23404 SWIG_Python_SetConstant(d, "STC_LEX_FREEBASIC",SWIG_From_int(static_cast< int >(75)));
10044bf1
RD
23405 SWIG_Python_SetConstant(d, "STC_LEX_INNOSETUP",SWIG_From_int(static_cast< int >(76)));
23406 SWIG_Python_SetConstant(d, "STC_LEX_OPAL",SWIG_From_int(static_cast< int >(77)));
23407 SWIG_Python_SetConstant(d, "STC_LEX_SPICE",SWIG_From_int(static_cast< int >(78)));
554f62e9
RD
23408 SWIG_Python_SetConstant(d, "STC_LEX_AUTOMATIC",SWIG_From_int(static_cast< int >(1000)));
23409 SWIG_Python_SetConstant(d, "STC_P_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23410 SWIG_Python_SetConstant(d, "STC_P_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23411 SWIG_Python_SetConstant(d, "STC_P_NUMBER",SWIG_From_int(static_cast< int >(2)));
23412 SWIG_Python_SetConstant(d, "STC_P_STRING",SWIG_From_int(static_cast< int >(3)));
23413 SWIG_Python_SetConstant(d, "STC_P_CHARACTER",SWIG_From_int(static_cast< int >(4)));
23414 SWIG_Python_SetConstant(d, "STC_P_WORD",SWIG_From_int(static_cast< int >(5)));
23415 SWIG_Python_SetConstant(d, "STC_P_TRIPLE",SWIG_From_int(static_cast< int >(6)));
23416 SWIG_Python_SetConstant(d, "STC_P_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(7)));
23417 SWIG_Python_SetConstant(d, "STC_P_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23418 SWIG_Python_SetConstant(d, "STC_P_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23419 SWIG_Python_SetConstant(d, "STC_P_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23420 SWIG_Python_SetConstant(d, "STC_P_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23421 SWIG_Python_SetConstant(d, "STC_P_COMMENTBLOCK",SWIG_From_int(static_cast< int >(12)));
23422 SWIG_Python_SetConstant(d, "STC_P_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23423 SWIG_Python_SetConstant(d, "STC_P_WORD2",SWIG_From_int(static_cast< int >(14)));
23424 SWIG_Python_SetConstant(d, "STC_P_DECORATOR",SWIG_From_int(static_cast< int >(15)));
23425 SWIG_Python_SetConstant(d, "STC_C_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23426 SWIG_Python_SetConstant(d, "STC_C_COMMENT",SWIG_From_int(static_cast< int >(1)));
23427 SWIG_Python_SetConstant(d, "STC_C_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23428 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23429 SWIG_Python_SetConstant(d, "STC_C_NUMBER",SWIG_From_int(static_cast< int >(4)));
23430 SWIG_Python_SetConstant(d, "STC_C_WORD",SWIG_From_int(static_cast< int >(5)));
23431 SWIG_Python_SetConstant(d, "STC_C_STRING",SWIG_From_int(static_cast< int >(6)));
23432 SWIG_Python_SetConstant(d, "STC_C_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23433 SWIG_Python_SetConstant(d, "STC_C_UUID",SWIG_From_int(static_cast< int >(8)));
23434 SWIG_Python_SetConstant(d, "STC_C_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23435 SWIG_Python_SetConstant(d, "STC_C_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23436 SWIG_Python_SetConstant(d, "STC_C_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23437 SWIG_Python_SetConstant(d, "STC_C_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23438 SWIG_Python_SetConstant(d, "STC_C_VERBATIM",SWIG_From_int(static_cast< int >(13)));
23439 SWIG_Python_SetConstant(d, "STC_C_REGEX",SWIG_From_int(static_cast< int >(14)));
23440 SWIG_Python_SetConstant(d, "STC_C_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
23441 SWIG_Python_SetConstant(d, "STC_C_WORD2",SWIG_From_int(static_cast< int >(16)));
23442 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
23443 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
23444 SWIG_Python_SetConstant(d, "STC_C_GLOBALCLASS",SWIG_From_int(static_cast< int >(19)));
10044bf1
RD
23445 SWIG_Python_SetConstant(d, "STC_TCL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23446 SWIG_Python_SetConstant(d, "STC_TCL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23447 SWIG_Python_SetConstant(d, "STC_TCL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23448 SWIG_Python_SetConstant(d, "STC_TCL_NUMBER",SWIG_From_int(static_cast< int >(3)));
23449 SWIG_Python_SetConstant(d, "STC_TCL_WORD_IN_QUOTE",SWIG_From_int(static_cast< int >(4)));
23450 SWIG_Python_SetConstant(d, "STC_TCL_IN_QUOTE",SWIG_From_int(static_cast< int >(5)));
23451 SWIG_Python_SetConstant(d, "STC_TCL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23452 SWIG_Python_SetConstant(d, "STC_TCL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23453 SWIG_Python_SetConstant(d, "STC_TCL_SUBSTITUTION",SWIG_From_int(static_cast< int >(8)));
23454 SWIG_Python_SetConstant(d, "STC_TCL_SUB_BRACE",SWIG_From_int(static_cast< int >(9)));
23455 SWIG_Python_SetConstant(d, "STC_TCL_MODIFIER",SWIG_From_int(static_cast< int >(10)));
23456 SWIG_Python_SetConstant(d, "STC_TCL_EXPAND",SWIG_From_int(static_cast< int >(11)));
23457 SWIG_Python_SetConstant(d, "STC_TCL_WORD",SWIG_From_int(static_cast< int >(12)));
23458 SWIG_Python_SetConstant(d, "STC_TCL_WORD2",SWIG_From_int(static_cast< int >(13)));
23459 SWIG_Python_SetConstant(d, "STC_TCL_WORD3",SWIG_From_int(static_cast< int >(14)));
23460 SWIG_Python_SetConstant(d, "STC_TCL_WORD4",SWIG_From_int(static_cast< int >(15)));
23461 SWIG_Python_SetConstant(d, "STC_TCL_WORD5",SWIG_From_int(static_cast< int >(16)));
23462 SWIG_Python_SetConstant(d, "STC_TCL_WORD6",SWIG_From_int(static_cast< int >(17)));
23463 SWIG_Python_SetConstant(d, "STC_TCL_WORD7",SWIG_From_int(static_cast< int >(18)));
23464 SWIG_Python_SetConstant(d, "STC_TCL_WORD8",SWIG_From_int(static_cast< int >(19)));
23465 SWIG_Python_SetConstant(d, "STC_TCL_COMMENT_BOX",SWIG_From_int(static_cast< int >(20)));
23466 SWIG_Python_SetConstant(d, "STC_TCL_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(21)));
554f62e9
RD
23467 SWIG_Python_SetConstant(d, "STC_H_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23468 SWIG_Python_SetConstant(d, "STC_H_TAG",SWIG_From_int(static_cast< int >(1)));
23469 SWIG_Python_SetConstant(d, "STC_H_TAGUNKNOWN",SWIG_From_int(static_cast< int >(2)));
23470 SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTE",SWIG_From_int(static_cast< int >(3)));
23471 SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTEUNKNOWN",SWIG_From_int(static_cast< int >(4)));
23472 SWIG_Python_SetConstant(d, "STC_H_NUMBER",SWIG_From_int(static_cast< int >(5)));
23473 SWIG_Python_SetConstant(d, "STC_H_DOUBLESTRING",SWIG_From_int(static_cast< int >(6)));
23474 SWIG_Python_SetConstant(d, "STC_H_SINGLESTRING",SWIG_From_int(static_cast< int >(7)));
23475 SWIG_Python_SetConstant(d, "STC_H_OTHER",SWIG_From_int(static_cast< int >(8)));
23476 SWIG_Python_SetConstant(d, "STC_H_COMMENT",SWIG_From_int(static_cast< int >(9)));
23477 SWIG_Python_SetConstant(d, "STC_H_ENTITY",SWIG_From_int(static_cast< int >(10)));
23478 SWIG_Python_SetConstant(d, "STC_H_TAGEND",SWIG_From_int(static_cast< int >(11)));
23479 SWIG_Python_SetConstant(d, "STC_H_XMLSTART",SWIG_From_int(static_cast< int >(12)));
23480 SWIG_Python_SetConstant(d, "STC_H_XMLEND",SWIG_From_int(static_cast< int >(13)));
23481 SWIG_Python_SetConstant(d, "STC_H_SCRIPT",SWIG_From_int(static_cast< int >(14)));
23482 SWIG_Python_SetConstant(d, "STC_H_ASP",SWIG_From_int(static_cast< int >(15)));
23483 SWIG_Python_SetConstant(d, "STC_H_ASPAT",SWIG_From_int(static_cast< int >(16)));
23484 SWIG_Python_SetConstant(d, "STC_H_CDATA",SWIG_From_int(static_cast< int >(17)));
23485 SWIG_Python_SetConstant(d, "STC_H_QUESTION",SWIG_From_int(static_cast< int >(18)));
23486 SWIG_Python_SetConstant(d, "STC_H_VALUE",SWIG_From_int(static_cast< int >(19)));
23487 SWIG_Python_SetConstant(d, "STC_H_XCCOMMENT",SWIG_From_int(static_cast< int >(20)));
23488 SWIG_Python_SetConstant(d, "STC_H_SGML_DEFAULT",SWIG_From_int(static_cast< int >(21)));
23489 SWIG_Python_SetConstant(d, "STC_H_SGML_COMMAND",SWIG_From_int(static_cast< int >(22)));
23490 SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM",SWIG_From_int(static_cast< int >(23)));
23491 SWIG_Python_SetConstant(d, "STC_H_SGML_DOUBLESTRING",SWIG_From_int(static_cast< int >(24)));
23492 SWIG_Python_SetConstant(d, "STC_H_SGML_SIMPLESTRING",SWIG_From_int(static_cast< int >(25)));
23493 SWIG_Python_SetConstant(d, "STC_H_SGML_ERROR",SWIG_From_int(static_cast< int >(26)));
23494 SWIG_Python_SetConstant(d, "STC_H_SGML_SPECIAL",SWIG_From_int(static_cast< int >(27)));
23495 SWIG_Python_SetConstant(d, "STC_H_SGML_ENTITY",SWIG_From_int(static_cast< int >(28)));
23496 SWIG_Python_SetConstant(d, "STC_H_SGML_COMMENT",SWIG_From_int(static_cast< int >(29)));
23497 SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM_COMMENT",SWIG_From_int(static_cast< int >(30)));
23498 SWIG_Python_SetConstant(d, "STC_H_SGML_BLOCK_DEFAULT",SWIG_From_int(static_cast< int >(31)));
23499 SWIG_Python_SetConstant(d, "STC_HJ_START",SWIG_From_int(static_cast< int >(40)));
23500 SWIG_Python_SetConstant(d, "STC_HJ_DEFAULT",SWIG_From_int(static_cast< int >(41)));
23501 SWIG_Python_SetConstant(d, "STC_HJ_COMMENT",SWIG_From_int(static_cast< int >(42)));
23502 SWIG_Python_SetConstant(d, "STC_HJ_COMMENTLINE",SWIG_From_int(static_cast< int >(43)));
23503 SWIG_Python_SetConstant(d, "STC_HJ_COMMENTDOC",SWIG_From_int(static_cast< int >(44)));
23504 SWIG_Python_SetConstant(d, "STC_HJ_NUMBER",SWIG_From_int(static_cast< int >(45)));
23505 SWIG_Python_SetConstant(d, "STC_HJ_WORD",SWIG_From_int(static_cast< int >(46)));
23506 SWIG_Python_SetConstant(d, "STC_HJ_KEYWORD",SWIG_From_int(static_cast< int >(47)));
23507 SWIG_Python_SetConstant(d, "STC_HJ_DOUBLESTRING",SWIG_From_int(static_cast< int >(48)));
23508 SWIG_Python_SetConstant(d, "STC_HJ_SINGLESTRING",SWIG_From_int(static_cast< int >(49)));
23509 SWIG_Python_SetConstant(d, "STC_HJ_SYMBOLS",SWIG_From_int(static_cast< int >(50)));
23510 SWIG_Python_SetConstant(d, "STC_HJ_STRINGEOL",SWIG_From_int(static_cast< int >(51)));
23511 SWIG_Python_SetConstant(d, "STC_HJ_REGEX",SWIG_From_int(static_cast< int >(52)));
23512 SWIG_Python_SetConstant(d, "STC_HJA_START",SWIG_From_int(static_cast< int >(55)));
23513 SWIG_Python_SetConstant(d, "STC_HJA_DEFAULT",SWIG_From_int(static_cast< int >(56)));
23514 SWIG_Python_SetConstant(d, "STC_HJA_COMMENT",SWIG_From_int(static_cast< int >(57)));
23515 SWIG_Python_SetConstant(d, "STC_HJA_COMMENTLINE",SWIG_From_int(static_cast< int >(58)));
23516 SWIG_Python_SetConstant(d, "STC_HJA_COMMENTDOC",SWIG_From_int(static_cast< int >(59)));
23517 SWIG_Python_SetConstant(d, "STC_HJA_NUMBER",SWIG_From_int(static_cast< int >(60)));
23518 SWIG_Python_SetConstant(d, "STC_HJA_WORD",SWIG_From_int(static_cast< int >(61)));
23519 SWIG_Python_SetConstant(d, "STC_HJA_KEYWORD",SWIG_From_int(static_cast< int >(62)));
23520 SWIG_Python_SetConstant(d, "STC_HJA_DOUBLESTRING",SWIG_From_int(static_cast< int >(63)));
23521 SWIG_Python_SetConstant(d, "STC_HJA_SINGLESTRING",SWIG_From_int(static_cast< int >(64)));
23522 SWIG_Python_SetConstant(d, "STC_HJA_SYMBOLS",SWIG_From_int(static_cast< int >(65)));
23523 SWIG_Python_SetConstant(d, "STC_HJA_STRINGEOL",SWIG_From_int(static_cast< int >(66)));
23524 SWIG_Python_SetConstant(d, "STC_HJA_REGEX",SWIG_From_int(static_cast< int >(67)));
23525 SWIG_Python_SetConstant(d, "STC_HB_START",SWIG_From_int(static_cast< int >(70)));
23526 SWIG_Python_SetConstant(d, "STC_HB_DEFAULT",SWIG_From_int(static_cast< int >(71)));
23527 SWIG_Python_SetConstant(d, "STC_HB_COMMENTLINE",SWIG_From_int(static_cast< int >(72)));
23528 SWIG_Python_SetConstant(d, "STC_HB_NUMBER",SWIG_From_int(static_cast< int >(73)));
23529 SWIG_Python_SetConstant(d, "STC_HB_WORD",SWIG_From_int(static_cast< int >(74)));
23530 SWIG_Python_SetConstant(d, "STC_HB_STRING",SWIG_From_int(static_cast< int >(75)));
23531 SWIG_Python_SetConstant(d, "STC_HB_IDENTIFIER",SWIG_From_int(static_cast< int >(76)));
23532 SWIG_Python_SetConstant(d, "STC_HB_STRINGEOL",SWIG_From_int(static_cast< int >(77)));
23533 SWIG_Python_SetConstant(d, "STC_HBA_START",SWIG_From_int(static_cast< int >(80)));
23534 SWIG_Python_SetConstant(d, "STC_HBA_DEFAULT",SWIG_From_int(static_cast< int >(81)));
23535 SWIG_Python_SetConstant(d, "STC_HBA_COMMENTLINE",SWIG_From_int(static_cast< int >(82)));
23536 SWIG_Python_SetConstant(d, "STC_HBA_NUMBER",SWIG_From_int(static_cast< int >(83)));
23537 SWIG_Python_SetConstant(d, "STC_HBA_WORD",SWIG_From_int(static_cast< int >(84)));
23538 SWIG_Python_SetConstant(d, "STC_HBA_STRING",SWIG_From_int(static_cast< int >(85)));
23539 SWIG_Python_SetConstant(d, "STC_HBA_IDENTIFIER",SWIG_From_int(static_cast< int >(86)));
23540 SWIG_Python_SetConstant(d, "STC_HBA_STRINGEOL",SWIG_From_int(static_cast< int >(87)));
23541 SWIG_Python_SetConstant(d, "STC_HP_START",SWIG_From_int(static_cast< int >(90)));
23542 SWIG_Python_SetConstant(d, "STC_HP_DEFAULT",SWIG_From_int(static_cast< int >(91)));
23543 SWIG_Python_SetConstant(d, "STC_HP_COMMENTLINE",SWIG_From_int(static_cast< int >(92)));
23544 SWIG_Python_SetConstant(d, "STC_HP_NUMBER",SWIG_From_int(static_cast< int >(93)));
23545 SWIG_Python_SetConstant(d, "STC_HP_STRING",SWIG_From_int(static_cast< int >(94)));
23546 SWIG_Python_SetConstant(d, "STC_HP_CHARACTER",SWIG_From_int(static_cast< int >(95)));
23547 SWIG_Python_SetConstant(d, "STC_HP_WORD",SWIG_From_int(static_cast< int >(96)));
23548 SWIG_Python_SetConstant(d, "STC_HP_TRIPLE",SWIG_From_int(static_cast< int >(97)));
23549 SWIG_Python_SetConstant(d, "STC_HP_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(98)));
23550 SWIG_Python_SetConstant(d, "STC_HP_CLASSNAME",SWIG_From_int(static_cast< int >(99)));
23551 SWIG_Python_SetConstant(d, "STC_HP_DEFNAME",SWIG_From_int(static_cast< int >(100)));
23552 SWIG_Python_SetConstant(d, "STC_HP_OPERATOR",SWIG_From_int(static_cast< int >(101)));
23553 SWIG_Python_SetConstant(d, "STC_HP_IDENTIFIER",SWIG_From_int(static_cast< int >(102)));
23554 SWIG_Python_SetConstant(d, "STC_HPHP_COMPLEX_VARIABLE",SWIG_From_int(static_cast< int >(104)));
23555 SWIG_Python_SetConstant(d, "STC_HPA_START",SWIG_From_int(static_cast< int >(105)));
23556 SWIG_Python_SetConstant(d, "STC_HPA_DEFAULT",SWIG_From_int(static_cast< int >(106)));
23557 SWIG_Python_SetConstant(d, "STC_HPA_COMMENTLINE",SWIG_From_int(static_cast< int >(107)));
23558 SWIG_Python_SetConstant(d, "STC_HPA_NUMBER",SWIG_From_int(static_cast< int >(108)));
23559 SWIG_Python_SetConstant(d, "STC_HPA_STRING",SWIG_From_int(static_cast< int >(109)));
23560 SWIG_Python_SetConstant(d, "STC_HPA_CHARACTER",SWIG_From_int(static_cast< int >(110)));
23561 SWIG_Python_SetConstant(d, "STC_HPA_WORD",SWIG_From_int(static_cast< int >(111)));
23562 SWIG_Python_SetConstant(d, "STC_HPA_TRIPLE",SWIG_From_int(static_cast< int >(112)));
23563 SWIG_Python_SetConstant(d, "STC_HPA_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(113)));
23564 SWIG_Python_SetConstant(d, "STC_HPA_CLASSNAME",SWIG_From_int(static_cast< int >(114)));
23565 SWIG_Python_SetConstant(d, "STC_HPA_DEFNAME",SWIG_From_int(static_cast< int >(115)));
23566 SWIG_Python_SetConstant(d, "STC_HPA_OPERATOR",SWIG_From_int(static_cast< int >(116)));
23567 SWIG_Python_SetConstant(d, "STC_HPA_IDENTIFIER",SWIG_From_int(static_cast< int >(117)));
23568 SWIG_Python_SetConstant(d, "STC_HPHP_DEFAULT",SWIG_From_int(static_cast< int >(118)));
23569 SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING",SWIG_From_int(static_cast< int >(119)));
23570 SWIG_Python_SetConstant(d, "STC_HPHP_SIMPLESTRING",SWIG_From_int(static_cast< int >(120)));
23571 SWIG_Python_SetConstant(d, "STC_HPHP_WORD",SWIG_From_int(static_cast< int >(121)));
23572 SWIG_Python_SetConstant(d, "STC_HPHP_NUMBER",SWIG_From_int(static_cast< int >(122)));
23573 SWIG_Python_SetConstant(d, "STC_HPHP_VARIABLE",SWIG_From_int(static_cast< int >(123)));
23574 SWIG_Python_SetConstant(d, "STC_HPHP_COMMENT",SWIG_From_int(static_cast< int >(124)));
23575 SWIG_Python_SetConstant(d, "STC_HPHP_COMMENTLINE",SWIG_From_int(static_cast< int >(125)));
23576 SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING_VARIABLE",SWIG_From_int(static_cast< int >(126)));
23577 SWIG_Python_SetConstant(d, "STC_HPHP_OPERATOR",SWIG_From_int(static_cast< int >(127)));
23578 SWIG_Python_SetConstant(d, "STC_PL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23579 SWIG_Python_SetConstant(d, "STC_PL_ERROR",SWIG_From_int(static_cast< int >(1)));
23580 SWIG_Python_SetConstant(d, "STC_PL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23581 SWIG_Python_SetConstant(d, "STC_PL_POD",SWIG_From_int(static_cast< int >(3)));
23582 SWIG_Python_SetConstant(d, "STC_PL_NUMBER",SWIG_From_int(static_cast< int >(4)));
23583 SWIG_Python_SetConstant(d, "STC_PL_WORD",SWIG_From_int(static_cast< int >(5)));
23584 SWIG_Python_SetConstant(d, "STC_PL_STRING",SWIG_From_int(static_cast< int >(6)));
23585 SWIG_Python_SetConstant(d, "STC_PL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23586 SWIG_Python_SetConstant(d, "STC_PL_PUNCTUATION",SWIG_From_int(static_cast< int >(8)));
23587 SWIG_Python_SetConstant(d, "STC_PL_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23588 SWIG_Python_SetConstant(d, "STC_PL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23589 SWIG_Python_SetConstant(d, "STC_PL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23590 SWIG_Python_SetConstant(d, "STC_PL_SCALAR",SWIG_From_int(static_cast< int >(12)));
23591 SWIG_Python_SetConstant(d, "STC_PL_ARRAY",SWIG_From_int(static_cast< int >(13)));
23592 SWIG_Python_SetConstant(d, "STC_PL_HASH",SWIG_From_int(static_cast< int >(14)));
23593 SWIG_Python_SetConstant(d, "STC_PL_SYMBOLTABLE",SWIG_From_int(static_cast< int >(15)));
23594 SWIG_Python_SetConstant(d, "STC_PL_VARIABLE_INDEXER",SWIG_From_int(static_cast< int >(16)));
23595 SWIG_Python_SetConstant(d, "STC_PL_REGEX",SWIG_From_int(static_cast< int >(17)));
23596 SWIG_Python_SetConstant(d, "STC_PL_REGSUBST",SWIG_From_int(static_cast< int >(18)));
23597 SWIG_Python_SetConstant(d, "STC_PL_LONGQUOTE",SWIG_From_int(static_cast< int >(19)));
23598 SWIG_Python_SetConstant(d, "STC_PL_BACKTICKS",SWIG_From_int(static_cast< int >(20)));
23599 SWIG_Python_SetConstant(d, "STC_PL_DATASECTION",SWIG_From_int(static_cast< int >(21)));
23600 SWIG_Python_SetConstant(d, "STC_PL_HERE_DELIM",SWIG_From_int(static_cast< int >(22)));
23601 SWIG_Python_SetConstant(d, "STC_PL_HERE_Q",SWIG_From_int(static_cast< int >(23)));
23602 SWIG_Python_SetConstant(d, "STC_PL_HERE_QQ",SWIG_From_int(static_cast< int >(24)));
23603 SWIG_Python_SetConstant(d, "STC_PL_HERE_QX",SWIG_From_int(static_cast< int >(25)));
23604 SWIG_Python_SetConstant(d, "STC_PL_STRING_Q",SWIG_From_int(static_cast< int >(26)));
23605 SWIG_Python_SetConstant(d, "STC_PL_STRING_QQ",SWIG_From_int(static_cast< int >(27)));
23606 SWIG_Python_SetConstant(d, "STC_PL_STRING_QX",SWIG_From_int(static_cast< int >(28)));
23607 SWIG_Python_SetConstant(d, "STC_PL_STRING_QR",SWIG_From_int(static_cast< int >(29)));
23608 SWIG_Python_SetConstant(d, "STC_PL_STRING_QW",SWIG_From_int(static_cast< int >(30)));
23609 SWIG_Python_SetConstant(d, "STC_PL_POD_VERB",SWIG_From_int(static_cast< int >(31)));
23610 SWIG_Python_SetConstant(d, "STC_RB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23611 SWIG_Python_SetConstant(d, "STC_RB_ERROR",SWIG_From_int(static_cast< int >(1)));
23612 SWIG_Python_SetConstant(d, "STC_RB_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23613 SWIG_Python_SetConstant(d, "STC_RB_POD",SWIG_From_int(static_cast< int >(3)));
23614 SWIG_Python_SetConstant(d, "STC_RB_NUMBER",SWIG_From_int(static_cast< int >(4)));
23615 SWIG_Python_SetConstant(d, "STC_RB_WORD",SWIG_From_int(static_cast< int >(5)));
23616 SWIG_Python_SetConstant(d, "STC_RB_STRING",SWIG_From_int(static_cast< int >(6)));
23617 SWIG_Python_SetConstant(d, "STC_RB_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23618 SWIG_Python_SetConstant(d, "STC_RB_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23619 SWIG_Python_SetConstant(d, "STC_RB_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23620 SWIG_Python_SetConstant(d, "STC_RB_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23621 SWIG_Python_SetConstant(d, "STC_RB_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23622 SWIG_Python_SetConstant(d, "STC_RB_REGEX",SWIG_From_int(static_cast< int >(12)));
23623 SWIG_Python_SetConstant(d, "STC_RB_GLOBAL",SWIG_From_int(static_cast< int >(13)));
23624 SWIG_Python_SetConstant(d, "STC_RB_SYMBOL",SWIG_From_int(static_cast< int >(14)));
23625 SWIG_Python_SetConstant(d, "STC_RB_MODULE_NAME",SWIG_From_int(static_cast< int >(15)));
23626 SWIG_Python_SetConstant(d, "STC_RB_INSTANCE_VAR",SWIG_From_int(static_cast< int >(16)));
23627 SWIG_Python_SetConstant(d, "STC_RB_CLASS_VAR",SWIG_From_int(static_cast< int >(17)));
23628 SWIG_Python_SetConstant(d, "STC_RB_BACKTICKS",SWIG_From_int(static_cast< int >(18)));
23629 SWIG_Python_SetConstant(d, "STC_RB_DATASECTION",SWIG_From_int(static_cast< int >(19)));
23630 SWIG_Python_SetConstant(d, "STC_RB_HERE_DELIM",SWIG_From_int(static_cast< int >(20)));
23631 SWIG_Python_SetConstant(d, "STC_RB_HERE_Q",SWIG_From_int(static_cast< int >(21)));
23632 SWIG_Python_SetConstant(d, "STC_RB_HERE_QQ",SWIG_From_int(static_cast< int >(22)));
23633 SWIG_Python_SetConstant(d, "STC_RB_HERE_QX",SWIG_From_int(static_cast< int >(23)));
23634 SWIG_Python_SetConstant(d, "STC_RB_STRING_Q",SWIG_From_int(static_cast< int >(24)));
23635 SWIG_Python_SetConstant(d, "STC_RB_STRING_QQ",SWIG_From_int(static_cast< int >(25)));
23636 SWIG_Python_SetConstant(d, "STC_RB_STRING_QX",SWIG_From_int(static_cast< int >(26)));
23637 SWIG_Python_SetConstant(d, "STC_RB_STRING_QR",SWIG_From_int(static_cast< int >(27)));
23638 SWIG_Python_SetConstant(d, "STC_RB_STRING_QW",SWIG_From_int(static_cast< int >(28)));
23639 SWIG_Python_SetConstant(d, "STC_RB_WORD_DEMOTED",SWIG_From_int(static_cast< int >(29)));
23640 SWIG_Python_SetConstant(d, "STC_RB_STDIN",SWIG_From_int(static_cast< int >(30)));
23641 SWIG_Python_SetConstant(d, "STC_RB_STDOUT",SWIG_From_int(static_cast< int >(31)));
23642 SWIG_Python_SetConstant(d, "STC_RB_STDERR",SWIG_From_int(static_cast< int >(40)));
23643 SWIG_Python_SetConstant(d, "STC_RB_UPPER_BOUND",SWIG_From_int(static_cast< int >(41)));
23644 SWIG_Python_SetConstant(d, "STC_B_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23645 SWIG_Python_SetConstant(d, "STC_B_COMMENT",SWIG_From_int(static_cast< int >(1)));
23646 SWIG_Python_SetConstant(d, "STC_B_NUMBER",SWIG_From_int(static_cast< int >(2)));
23647 SWIG_Python_SetConstant(d, "STC_B_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23648 SWIG_Python_SetConstant(d, "STC_B_STRING",SWIG_From_int(static_cast< int >(4)));
23649 SWIG_Python_SetConstant(d, "STC_B_PREPROCESSOR",SWIG_From_int(static_cast< int >(5)));
23650 SWIG_Python_SetConstant(d, "STC_B_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23651 SWIG_Python_SetConstant(d, "STC_B_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23652 SWIG_Python_SetConstant(d, "STC_B_DATE",SWIG_From_int(static_cast< int >(8)));
23653 SWIG_Python_SetConstant(d, "STC_B_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23654 SWIG_Python_SetConstant(d, "STC_B_KEYWORD2",SWIG_From_int(static_cast< int >(10)));
23655 SWIG_Python_SetConstant(d, "STC_B_KEYWORD3",SWIG_From_int(static_cast< int >(11)));
23656 SWIG_Python_SetConstant(d, "STC_B_KEYWORD4",SWIG_From_int(static_cast< int >(12)));
23657 SWIG_Python_SetConstant(d, "STC_B_CONSTANT",SWIG_From_int(static_cast< int >(13)));
23658 SWIG_Python_SetConstant(d, "STC_B_ASM",SWIG_From_int(static_cast< int >(14)));
23659 SWIG_Python_SetConstant(d, "STC_B_LABEL",SWIG_From_int(static_cast< int >(15)));
23660 SWIG_Python_SetConstant(d, "STC_B_ERROR",SWIG_From_int(static_cast< int >(16)));
23661 SWIG_Python_SetConstant(d, "STC_B_HEXNUMBER",SWIG_From_int(static_cast< int >(17)));
23662 SWIG_Python_SetConstant(d, "STC_B_BINNUMBER",SWIG_From_int(static_cast< int >(18)));
23663 SWIG_Python_SetConstant(d, "STC_PROPS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23664 SWIG_Python_SetConstant(d, "STC_PROPS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23665 SWIG_Python_SetConstant(d, "STC_PROPS_SECTION",SWIG_From_int(static_cast< int >(2)));
23666 SWIG_Python_SetConstant(d, "STC_PROPS_ASSIGNMENT",SWIG_From_int(static_cast< int >(3)));
23667 SWIG_Python_SetConstant(d, "STC_PROPS_DEFVAL",SWIG_From_int(static_cast< int >(4)));
10044bf1 23668 SWIG_Python_SetConstant(d, "STC_PROPS_KEY",SWIG_From_int(static_cast< int >(5)));
554f62e9
RD
23669 SWIG_Python_SetConstant(d, "STC_L_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23670 SWIG_Python_SetConstant(d, "STC_L_COMMAND",SWIG_From_int(static_cast< int >(1)));
23671 SWIG_Python_SetConstant(d, "STC_L_TAG",SWIG_From_int(static_cast< int >(2)));
23672 SWIG_Python_SetConstant(d, "STC_L_MATH",SWIG_From_int(static_cast< int >(3)));
23673 SWIG_Python_SetConstant(d, "STC_L_COMMENT",SWIG_From_int(static_cast< int >(4)));
23674 SWIG_Python_SetConstant(d, "STC_LUA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23675 SWIG_Python_SetConstant(d, "STC_LUA_COMMENT",SWIG_From_int(static_cast< int >(1)));
23676 SWIG_Python_SetConstant(d, "STC_LUA_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23677 SWIG_Python_SetConstant(d, "STC_LUA_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23678 SWIG_Python_SetConstant(d, "STC_LUA_NUMBER",SWIG_From_int(static_cast< int >(4)));
23679 SWIG_Python_SetConstant(d, "STC_LUA_WORD",SWIG_From_int(static_cast< int >(5)));
23680 SWIG_Python_SetConstant(d, "STC_LUA_STRING",SWIG_From_int(static_cast< int >(6)));
23681 SWIG_Python_SetConstant(d, "STC_LUA_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23682 SWIG_Python_SetConstant(d, "STC_LUA_LITERALSTRING",SWIG_From_int(static_cast< int >(8)));
23683 SWIG_Python_SetConstant(d, "STC_LUA_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23684 SWIG_Python_SetConstant(d, "STC_LUA_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23685 SWIG_Python_SetConstant(d, "STC_LUA_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23686 SWIG_Python_SetConstant(d, "STC_LUA_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23687 SWIG_Python_SetConstant(d, "STC_LUA_WORD2",SWIG_From_int(static_cast< int >(13)));
23688 SWIG_Python_SetConstant(d, "STC_LUA_WORD3",SWIG_From_int(static_cast< int >(14)));
23689 SWIG_Python_SetConstant(d, "STC_LUA_WORD4",SWIG_From_int(static_cast< int >(15)));
23690 SWIG_Python_SetConstant(d, "STC_LUA_WORD5",SWIG_From_int(static_cast< int >(16)));
23691 SWIG_Python_SetConstant(d, "STC_LUA_WORD6",SWIG_From_int(static_cast< int >(17)));
23692 SWIG_Python_SetConstant(d, "STC_LUA_WORD7",SWIG_From_int(static_cast< int >(18)));
23693 SWIG_Python_SetConstant(d, "STC_LUA_WORD8",SWIG_From_int(static_cast< int >(19)));
23694 SWIG_Python_SetConstant(d, "STC_ERR_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23695 SWIG_Python_SetConstant(d, "STC_ERR_PYTHON",SWIG_From_int(static_cast< int >(1)));
23696 SWIG_Python_SetConstant(d, "STC_ERR_GCC",SWIG_From_int(static_cast< int >(2)));
23697 SWIG_Python_SetConstant(d, "STC_ERR_MS",SWIG_From_int(static_cast< int >(3)));
23698 SWIG_Python_SetConstant(d, "STC_ERR_CMD",SWIG_From_int(static_cast< int >(4)));
23699 SWIG_Python_SetConstant(d, "STC_ERR_BORLAND",SWIG_From_int(static_cast< int >(5)));
23700 SWIG_Python_SetConstant(d, "STC_ERR_PERL",SWIG_From_int(static_cast< int >(6)));
23701 SWIG_Python_SetConstant(d, "STC_ERR_NET",SWIG_From_int(static_cast< int >(7)));
23702 SWIG_Python_SetConstant(d, "STC_ERR_LUA",SWIG_From_int(static_cast< int >(8)));
23703 SWIG_Python_SetConstant(d, "STC_ERR_CTAG",SWIG_From_int(static_cast< int >(9)));
23704 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_CHANGED",SWIG_From_int(static_cast< int >(10)));
23705 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_ADDITION",SWIG_From_int(static_cast< int >(11)));
23706 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_DELETION",SWIG_From_int(static_cast< int >(12)));
23707 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_MESSAGE",SWIG_From_int(static_cast< int >(13)));
23708 SWIG_Python_SetConstant(d, "STC_ERR_PHP",SWIG_From_int(static_cast< int >(14)));
23709 SWIG_Python_SetConstant(d, "STC_ERR_ELF",SWIG_From_int(static_cast< int >(15)));
23710 SWIG_Python_SetConstant(d, "STC_ERR_IFC",SWIG_From_int(static_cast< int >(16)));
23711 SWIG_Python_SetConstant(d, "STC_ERR_IFORT",SWIG_From_int(static_cast< int >(17)));
23712 SWIG_Python_SetConstant(d, "STC_ERR_ABSF",SWIG_From_int(static_cast< int >(18)));
23713 SWIG_Python_SetConstant(d, "STC_ERR_TIDY",SWIG_From_int(static_cast< int >(19)));
23714 SWIG_Python_SetConstant(d, "STC_ERR_JAVA_STACK",SWIG_From_int(static_cast< int >(20)));
23715 SWIG_Python_SetConstant(d, "STC_BAT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23716 SWIG_Python_SetConstant(d, "STC_BAT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23717 SWIG_Python_SetConstant(d, "STC_BAT_WORD",SWIG_From_int(static_cast< int >(2)));
23718 SWIG_Python_SetConstant(d, "STC_BAT_LABEL",SWIG_From_int(static_cast< int >(3)));
23719 SWIG_Python_SetConstant(d, "STC_BAT_HIDE",SWIG_From_int(static_cast< int >(4)));
23720 SWIG_Python_SetConstant(d, "STC_BAT_COMMAND",SWIG_From_int(static_cast< int >(5)));
23721 SWIG_Python_SetConstant(d, "STC_BAT_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23722 SWIG_Python_SetConstant(d, "STC_BAT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23723 SWIG_Python_SetConstant(d, "STC_MAKE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23724 SWIG_Python_SetConstant(d, "STC_MAKE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23725 SWIG_Python_SetConstant(d, "STC_MAKE_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
23726 SWIG_Python_SetConstant(d, "STC_MAKE_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23727 SWIG_Python_SetConstant(d, "STC_MAKE_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23728 SWIG_Python_SetConstant(d, "STC_MAKE_TARGET",SWIG_From_int(static_cast< int >(5)));
23729 SWIG_Python_SetConstant(d, "STC_MAKE_IDEOL",SWIG_From_int(static_cast< int >(9)));
23730 SWIG_Python_SetConstant(d, "STC_DIFF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23731 SWIG_Python_SetConstant(d, "STC_DIFF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23732 SWIG_Python_SetConstant(d, "STC_DIFF_COMMAND",SWIG_From_int(static_cast< int >(2)));
23733 SWIG_Python_SetConstant(d, "STC_DIFF_HEADER",SWIG_From_int(static_cast< int >(3)));
23734 SWIG_Python_SetConstant(d, "STC_DIFF_POSITION",SWIG_From_int(static_cast< int >(4)));
23735 SWIG_Python_SetConstant(d, "STC_DIFF_DELETED",SWIG_From_int(static_cast< int >(5)));
23736 SWIG_Python_SetConstant(d, "STC_DIFF_ADDED",SWIG_From_int(static_cast< int >(6)));
23737 SWIG_Python_SetConstant(d, "STC_CONF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23738 SWIG_Python_SetConstant(d, "STC_CONF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23739 SWIG_Python_SetConstant(d, "STC_CONF_NUMBER",SWIG_From_int(static_cast< int >(2)));
23740 SWIG_Python_SetConstant(d, "STC_CONF_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23741 SWIG_Python_SetConstant(d, "STC_CONF_EXTENSION",SWIG_From_int(static_cast< int >(4)));
23742 SWIG_Python_SetConstant(d, "STC_CONF_PARAMETER",SWIG_From_int(static_cast< int >(5)));
23743 SWIG_Python_SetConstant(d, "STC_CONF_STRING",SWIG_From_int(static_cast< int >(6)));
23744 SWIG_Python_SetConstant(d, "STC_CONF_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23745 SWIG_Python_SetConstant(d, "STC_CONF_IP",SWIG_From_int(static_cast< int >(8)));
23746 SWIG_Python_SetConstant(d, "STC_CONF_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23747 SWIG_Python_SetConstant(d, "STC_AVE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23748 SWIG_Python_SetConstant(d, "STC_AVE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23749 SWIG_Python_SetConstant(d, "STC_AVE_NUMBER",SWIG_From_int(static_cast< int >(2)));
23750 SWIG_Python_SetConstant(d, "STC_AVE_WORD",SWIG_From_int(static_cast< int >(3)));
23751 SWIG_Python_SetConstant(d, "STC_AVE_STRING",SWIG_From_int(static_cast< int >(6)));
23752 SWIG_Python_SetConstant(d, "STC_AVE_ENUM",SWIG_From_int(static_cast< int >(7)));
23753 SWIG_Python_SetConstant(d, "STC_AVE_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23754 SWIG_Python_SetConstant(d, "STC_AVE_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23755 SWIG_Python_SetConstant(d, "STC_AVE_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23756 SWIG_Python_SetConstant(d, "STC_AVE_WORD1",SWIG_From_int(static_cast< int >(11)));
23757 SWIG_Python_SetConstant(d, "STC_AVE_WORD2",SWIG_From_int(static_cast< int >(12)));
23758 SWIG_Python_SetConstant(d, "STC_AVE_WORD3",SWIG_From_int(static_cast< int >(13)));
23759 SWIG_Python_SetConstant(d, "STC_AVE_WORD4",SWIG_From_int(static_cast< int >(14)));
23760 SWIG_Python_SetConstant(d, "STC_AVE_WORD5",SWIG_From_int(static_cast< int >(15)));
23761 SWIG_Python_SetConstant(d, "STC_AVE_WORD6",SWIG_From_int(static_cast< int >(16)));
23762 SWIG_Python_SetConstant(d, "STC_ADA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23763 SWIG_Python_SetConstant(d, "STC_ADA_WORD",SWIG_From_int(static_cast< int >(1)));
23764 SWIG_Python_SetConstant(d, "STC_ADA_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
23765 SWIG_Python_SetConstant(d, "STC_ADA_NUMBER",SWIG_From_int(static_cast< int >(3)));
23766 SWIG_Python_SetConstant(d, "STC_ADA_DELIMITER",SWIG_From_int(static_cast< int >(4)));
23767 SWIG_Python_SetConstant(d, "STC_ADA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23768 SWIG_Python_SetConstant(d, "STC_ADA_CHARACTEREOL",SWIG_From_int(static_cast< int >(6)));
23769 SWIG_Python_SetConstant(d, "STC_ADA_STRING",SWIG_From_int(static_cast< int >(7)));
23770 SWIG_Python_SetConstant(d, "STC_ADA_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23771 SWIG_Python_SetConstant(d, "STC_ADA_LABEL",SWIG_From_int(static_cast< int >(9)));
23772 SWIG_Python_SetConstant(d, "STC_ADA_COMMENTLINE",SWIG_From_int(static_cast< int >(10)));
23773 SWIG_Python_SetConstant(d, "STC_ADA_ILLEGAL",SWIG_From_int(static_cast< int >(11)));
23774 SWIG_Python_SetConstant(d, "STC_BAAN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23775 SWIG_Python_SetConstant(d, "STC_BAAN_COMMENT",SWIG_From_int(static_cast< int >(1)));
23776 SWIG_Python_SetConstant(d, "STC_BAAN_COMMENTDOC",SWIG_From_int(static_cast< int >(2)));
23777 SWIG_Python_SetConstant(d, "STC_BAAN_NUMBER",SWIG_From_int(static_cast< int >(3)));
23778 SWIG_Python_SetConstant(d, "STC_BAAN_WORD",SWIG_From_int(static_cast< int >(4)));
23779 SWIG_Python_SetConstant(d, "STC_BAAN_STRING",SWIG_From_int(static_cast< int >(5)));
23780 SWIG_Python_SetConstant(d, "STC_BAAN_PREPROCESSOR",SWIG_From_int(static_cast< int >(6)));
23781 SWIG_Python_SetConstant(d, "STC_BAAN_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23782 SWIG_Python_SetConstant(d, "STC_BAAN_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23783 SWIG_Python_SetConstant(d, "STC_BAAN_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23784 SWIG_Python_SetConstant(d, "STC_BAAN_WORD2",SWIG_From_int(static_cast< int >(10)));
23785 SWIG_Python_SetConstant(d, "STC_LISP_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23786 SWIG_Python_SetConstant(d, "STC_LISP_COMMENT",SWIG_From_int(static_cast< int >(1)));
23787 SWIG_Python_SetConstant(d, "STC_LISP_NUMBER",SWIG_From_int(static_cast< int >(2)));
23788 SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23789 SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD_KW",SWIG_From_int(static_cast< int >(4)));
23790 SWIG_Python_SetConstant(d, "STC_LISP_SYMBOL",SWIG_From_int(static_cast< int >(5)));
23791 SWIG_Python_SetConstant(d, "STC_LISP_STRING",SWIG_From_int(static_cast< int >(6)));
23792 SWIG_Python_SetConstant(d, "STC_LISP_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23793 SWIG_Python_SetConstant(d, "STC_LISP_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23794 SWIG_Python_SetConstant(d, "STC_LISP_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23795 SWIG_Python_SetConstant(d, "STC_LISP_SPECIAL",SWIG_From_int(static_cast< int >(11)));
23796 SWIG_Python_SetConstant(d, "STC_LISP_MULTI_COMMENT",SWIG_From_int(static_cast< int >(12)));
23797 SWIG_Python_SetConstant(d, "STC_EIFFEL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23798 SWIG_Python_SetConstant(d, "STC_EIFFEL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23799 SWIG_Python_SetConstant(d, "STC_EIFFEL_NUMBER",SWIG_From_int(static_cast< int >(2)));
23800 SWIG_Python_SetConstant(d, "STC_EIFFEL_WORD",SWIG_From_int(static_cast< int >(3)));
23801 SWIG_Python_SetConstant(d, "STC_EIFFEL_STRING",SWIG_From_int(static_cast< int >(4)));
23802 SWIG_Python_SetConstant(d, "STC_EIFFEL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23803 SWIG_Python_SetConstant(d, "STC_EIFFEL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23804 SWIG_Python_SetConstant(d, "STC_EIFFEL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23805 SWIG_Python_SetConstant(d, "STC_EIFFEL_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23806 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23807 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23808 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_TASK",SWIG_From_int(static_cast< int >(2)));
23809 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_SECTION",SWIG_From_int(static_cast< int >(3)));
23810 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23811 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_MODIFIER",SWIG_From_int(static_cast< int >(5)));
23812 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ASTERISK",SWIG_From_int(static_cast< int >(6)));
23813 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_NUMBER",SWIG_From_int(static_cast< int >(7)));
23814 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_STRING",SWIG_From_int(static_cast< int >(8)));
23815 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ENVIRONMENT",SWIG_From_int(static_cast< int >(9)));
23816 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_IDENTIFIER",SWIG_From_int(static_cast< int >(10)));
23817 SWIG_Python_SetConstant(d, "STC_FORTH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23818 SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT",SWIG_From_int(static_cast< int >(1)));
23819 SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT_ML",SWIG_From_int(static_cast< int >(2)));
23820 SWIG_Python_SetConstant(d, "STC_FORTH_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23821 SWIG_Python_SetConstant(d, "STC_FORTH_CONTROL",SWIG_From_int(static_cast< int >(4)));
23822 SWIG_Python_SetConstant(d, "STC_FORTH_KEYWORD",SWIG_From_int(static_cast< int >(5)));
23823 SWIG_Python_SetConstant(d, "STC_FORTH_DEFWORD",SWIG_From_int(static_cast< int >(6)));
23824 SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD1",SWIG_From_int(static_cast< int >(7)));
23825 SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD2",SWIG_From_int(static_cast< int >(8)));
23826 SWIG_Python_SetConstant(d, "STC_FORTH_NUMBER",SWIG_From_int(static_cast< int >(9)));
23827 SWIG_Python_SetConstant(d, "STC_FORTH_STRING",SWIG_From_int(static_cast< int >(10)));
23828 SWIG_Python_SetConstant(d, "STC_FORTH_LOCALE",SWIG_From_int(static_cast< int >(11)));
23829 SWIG_Python_SetConstant(d, "STC_MATLAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23830 SWIG_Python_SetConstant(d, "STC_MATLAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23831 SWIG_Python_SetConstant(d, "STC_MATLAB_COMMAND",SWIG_From_int(static_cast< int >(2)));
23832 SWIG_Python_SetConstant(d, "STC_MATLAB_NUMBER",SWIG_From_int(static_cast< int >(3)));
23833 SWIG_Python_SetConstant(d, "STC_MATLAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23834 SWIG_Python_SetConstant(d, "STC_MATLAB_STRING",SWIG_From_int(static_cast< int >(5)));
23835 SWIG_Python_SetConstant(d, "STC_MATLAB_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23836 SWIG_Python_SetConstant(d, "STC_MATLAB_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23837 SWIG_Python_SetConstant(d, "STC_MATLAB_DOUBLEQUOTESTRING",SWIG_From_int(static_cast< int >(8)));
23838 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23839 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_WHITE",SWIG_From_int(static_cast< int >(1)));
23840 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23841 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PERSISTENT",SWIG_From_int(static_cast< int >(3)));
23842 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CSTYLE",SWIG_From_int(static_cast< int >(4)));
23843 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(5)));
23844 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_NUMBER",SWIG_From_int(static_cast< int >(6)));
23845 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRING",SWIG_From_int(static_cast< int >(7)));
23846 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CHARACTER",SWIG_From_int(static_cast< int >(8)));
23847 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23848 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_KEYWORD",SWIG_From_int(static_cast< int >(10)));
23849 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_OPERATOR",SWIG_From_int(static_cast< int >(11)));
23850 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
23851 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_TRIPLE",SWIG_From_int(static_cast< int >(13)));
23852 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CLASSNAME",SWIG_From_int(static_cast< int >(14)));
23853 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PREPROCESSOR",SWIG_From_int(static_cast< int >(15)));
23854 SWIG_Python_SetConstant(d, "STC_ASM_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23855 SWIG_Python_SetConstant(d, "STC_ASM_COMMENT",SWIG_From_int(static_cast< int >(1)));
23856 SWIG_Python_SetConstant(d, "STC_ASM_NUMBER",SWIG_From_int(static_cast< int >(2)));
23857 SWIG_Python_SetConstant(d, "STC_ASM_STRING",SWIG_From_int(static_cast< int >(3)));
23858 SWIG_Python_SetConstant(d, "STC_ASM_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23859 SWIG_Python_SetConstant(d, "STC_ASM_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23860 SWIG_Python_SetConstant(d, "STC_ASM_CPUINSTRUCTION",SWIG_From_int(static_cast< int >(6)));
23861 SWIG_Python_SetConstant(d, "STC_ASM_MATHINSTRUCTION",SWIG_From_int(static_cast< int >(7)));
23862 SWIG_Python_SetConstant(d, "STC_ASM_REGISTER",SWIG_From_int(static_cast< int >(8)));
23863 SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23864 SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVEOPERAND",SWIG_From_int(static_cast< int >(10)));
23865 SWIG_Python_SetConstant(d, "STC_ASM_COMMENTBLOCK",SWIG_From_int(static_cast< int >(11)));
23866 SWIG_Python_SetConstant(d, "STC_ASM_CHARACTER",SWIG_From_int(static_cast< int >(12)));
23867 SWIG_Python_SetConstant(d, "STC_ASM_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23868 SWIG_Python_SetConstant(d, "STC_ASM_EXTINSTRUCTION",SWIG_From_int(static_cast< int >(14)));
23869 SWIG_Python_SetConstant(d, "STC_F_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23870 SWIG_Python_SetConstant(d, "STC_F_COMMENT",SWIG_From_int(static_cast< int >(1)));
23871 SWIG_Python_SetConstant(d, "STC_F_NUMBER",SWIG_From_int(static_cast< int >(2)));
23872 SWIG_Python_SetConstant(d, "STC_F_STRING1",SWIG_From_int(static_cast< int >(3)));
23873 SWIG_Python_SetConstant(d, "STC_F_STRING2",SWIG_From_int(static_cast< int >(4)));
23874 SWIG_Python_SetConstant(d, "STC_F_STRINGEOL",SWIG_From_int(static_cast< int >(5)));
23875 SWIG_Python_SetConstant(d, "STC_F_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23876 SWIG_Python_SetConstant(d, "STC_F_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23877 SWIG_Python_SetConstant(d, "STC_F_WORD",SWIG_From_int(static_cast< int >(8)));
23878 SWIG_Python_SetConstant(d, "STC_F_WORD2",SWIG_From_int(static_cast< int >(9)));
23879 SWIG_Python_SetConstant(d, "STC_F_WORD3",SWIG_From_int(static_cast< int >(10)));
23880 SWIG_Python_SetConstant(d, "STC_F_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
23881 SWIG_Python_SetConstant(d, "STC_F_OPERATOR2",SWIG_From_int(static_cast< int >(12)));
23882 SWIG_Python_SetConstant(d, "STC_F_LABEL",SWIG_From_int(static_cast< int >(13)));
23883 SWIG_Python_SetConstant(d, "STC_F_CONTINUATION",SWIG_From_int(static_cast< int >(14)));
23884 SWIG_Python_SetConstant(d, "STC_CSS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23885 SWIG_Python_SetConstant(d, "STC_CSS_TAG",SWIG_From_int(static_cast< int >(1)));
23886 SWIG_Python_SetConstant(d, "STC_CSS_CLASS",SWIG_From_int(static_cast< int >(2)));
23887 SWIG_Python_SetConstant(d, "STC_CSS_PSEUDOCLASS",SWIG_From_int(static_cast< int >(3)));
23888 SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_PSEUDOCLASS",SWIG_From_int(static_cast< int >(4)));
23889 SWIG_Python_SetConstant(d, "STC_CSS_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23890 SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23891 SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23892 SWIG_Python_SetConstant(d, "STC_CSS_VALUE",SWIG_From_int(static_cast< int >(8)));
23893 SWIG_Python_SetConstant(d, "STC_CSS_COMMENT",SWIG_From_int(static_cast< int >(9)));
23894 SWIG_Python_SetConstant(d, "STC_CSS_ID",SWIG_From_int(static_cast< int >(10)));
23895 SWIG_Python_SetConstant(d, "STC_CSS_IMPORTANT",SWIG_From_int(static_cast< int >(11)));
23896 SWIG_Python_SetConstant(d, "STC_CSS_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
23897 SWIG_Python_SetConstant(d, "STC_CSS_DOUBLESTRING",SWIG_From_int(static_cast< int >(13)));
23898 SWIG_Python_SetConstant(d, "STC_CSS_SINGLESTRING",SWIG_From_int(static_cast< int >(14)));
23899 SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER2",SWIG_From_int(static_cast< int >(15)));
23900 SWIG_Python_SetConstant(d, "STC_CSS_ATTRIBUTE",SWIG_From_int(static_cast< int >(16)));
23901 SWIG_Python_SetConstant(d, "STC_POV_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23902 SWIG_Python_SetConstant(d, "STC_POV_COMMENT",SWIG_From_int(static_cast< int >(1)));
23903 SWIG_Python_SetConstant(d, "STC_POV_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23904 SWIG_Python_SetConstant(d, "STC_POV_NUMBER",SWIG_From_int(static_cast< int >(3)));
23905 SWIG_Python_SetConstant(d, "STC_POV_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23906 SWIG_Python_SetConstant(d, "STC_POV_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23907 SWIG_Python_SetConstant(d, "STC_POV_STRING",SWIG_From_int(static_cast< int >(6)));
23908 SWIG_Python_SetConstant(d, "STC_POV_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
23909 SWIG_Python_SetConstant(d, "STC_POV_DIRECTIVE",SWIG_From_int(static_cast< int >(8)));
23910 SWIG_Python_SetConstant(d, "STC_POV_BADDIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23911 SWIG_Python_SetConstant(d, "STC_POV_WORD2",SWIG_From_int(static_cast< int >(10)));
23912 SWIG_Python_SetConstant(d, "STC_POV_WORD3",SWIG_From_int(static_cast< int >(11)));
23913 SWIG_Python_SetConstant(d, "STC_POV_WORD4",SWIG_From_int(static_cast< int >(12)));
23914 SWIG_Python_SetConstant(d, "STC_POV_WORD5",SWIG_From_int(static_cast< int >(13)));
23915 SWIG_Python_SetConstant(d, "STC_POV_WORD6",SWIG_From_int(static_cast< int >(14)));
23916 SWIG_Python_SetConstant(d, "STC_POV_WORD7",SWIG_From_int(static_cast< int >(15)));
23917 SWIG_Python_SetConstant(d, "STC_POV_WORD8",SWIG_From_int(static_cast< int >(16)));
23918 SWIG_Python_SetConstant(d, "STC_LOUT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23919 SWIG_Python_SetConstant(d, "STC_LOUT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23920 SWIG_Python_SetConstant(d, "STC_LOUT_NUMBER",SWIG_From_int(static_cast< int >(2)));
23921 SWIG_Python_SetConstant(d, "STC_LOUT_WORD",SWIG_From_int(static_cast< int >(3)));
23922 SWIG_Python_SetConstant(d, "STC_LOUT_WORD2",SWIG_From_int(static_cast< int >(4)));
23923 SWIG_Python_SetConstant(d, "STC_LOUT_WORD3",SWIG_From_int(static_cast< int >(5)));
23924 SWIG_Python_SetConstant(d, "STC_LOUT_WORD4",SWIG_From_int(static_cast< int >(6)));
23925 SWIG_Python_SetConstant(d, "STC_LOUT_STRING",SWIG_From_int(static_cast< int >(7)));
23926 SWIG_Python_SetConstant(d, "STC_LOUT_OPERATOR",SWIG_From_int(static_cast< int >(8)));
23927 SWIG_Python_SetConstant(d, "STC_LOUT_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23928 SWIG_Python_SetConstant(d, "STC_LOUT_STRINGEOL",SWIG_From_int(static_cast< int >(10)));
23929 SWIG_Python_SetConstant(d, "STC_ESCRIPT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23930 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23931 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23932 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23933 SWIG_Python_SetConstant(d, "STC_ESCRIPT_NUMBER",SWIG_From_int(static_cast< int >(4)));
23934 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD",SWIG_From_int(static_cast< int >(5)));
23935 SWIG_Python_SetConstant(d, "STC_ESCRIPT_STRING",SWIG_From_int(static_cast< int >(6)));
23936 SWIG_Python_SetConstant(d, "STC_ESCRIPT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23937 SWIG_Python_SetConstant(d, "STC_ESCRIPT_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23938 SWIG_Python_SetConstant(d, "STC_ESCRIPT_BRACE",SWIG_From_int(static_cast< int >(9)));
23939 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD2",SWIG_From_int(static_cast< int >(10)));
23940 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD3",SWIG_From_int(static_cast< int >(11)));
23941 SWIG_Python_SetConstant(d, "STC_PS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23942 SWIG_Python_SetConstant(d, "STC_PS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23943 SWIG_Python_SetConstant(d, "STC_PS_DSC_COMMENT",SWIG_From_int(static_cast< int >(2)));
23944 SWIG_Python_SetConstant(d, "STC_PS_DSC_VALUE",SWIG_From_int(static_cast< int >(3)));
23945 SWIG_Python_SetConstant(d, "STC_PS_NUMBER",SWIG_From_int(static_cast< int >(4)));
23946 SWIG_Python_SetConstant(d, "STC_PS_NAME",SWIG_From_int(static_cast< int >(5)));
23947 SWIG_Python_SetConstant(d, "STC_PS_KEYWORD",SWIG_From_int(static_cast< int >(6)));
23948 SWIG_Python_SetConstant(d, "STC_PS_LITERAL",SWIG_From_int(static_cast< int >(7)));
23949 SWIG_Python_SetConstant(d, "STC_PS_IMMEVAL",SWIG_From_int(static_cast< int >(8)));
23950 SWIG_Python_SetConstant(d, "STC_PS_PAREN_ARRAY",SWIG_From_int(static_cast< int >(9)));
23951 SWIG_Python_SetConstant(d, "STC_PS_PAREN_DICT",SWIG_From_int(static_cast< int >(10)));
23952 SWIG_Python_SetConstant(d, "STC_PS_PAREN_PROC",SWIG_From_int(static_cast< int >(11)));
23953 SWIG_Python_SetConstant(d, "STC_PS_TEXT",SWIG_From_int(static_cast< int >(12)));
23954 SWIG_Python_SetConstant(d, "STC_PS_HEXSTRING",SWIG_From_int(static_cast< int >(13)));
23955 SWIG_Python_SetConstant(d, "STC_PS_BASE85STRING",SWIG_From_int(static_cast< int >(14)));
23956 SWIG_Python_SetConstant(d, "STC_PS_BADSTRINGCHAR",SWIG_From_int(static_cast< int >(15)));
23957 SWIG_Python_SetConstant(d, "STC_NSIS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23958 SWIG_Python_SetConstant(d, "STC_NSIS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23959 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGDQ",SWIG_From_int(static_cast< int >(2)));
23960 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGLQ",SWIG_From_int(static_cast< int >(3)));
23961 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGRQ",SWIG_From_int(static_cast< int >(4)));
23962 SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTION",SWIG_From_int(static_cast< int >(5)));
23963 SWIG_Python_SetConstant(d, "STC_NSIS_VARIABLE",SWIG_From_int(static_cast< int >(6)));
23964 SWIG_Python_SetConstant(d, "STC_NSIS_LABEL",SWIG_From_int(static_cast< int >(7)));
23965 SWIG_Python_SetConstant(d, "STC_NSIS_USERDEFINED",SWIG_From_int(static_cast< int >(8)));
23966 SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONDEF",SWIG_From_int(static_cast< int >(9)));
23967 SWIG_Python_SetConstant(d, "STC_NSIS_SUBSECTIONDEF",SWIG_From_int(static_cast< int >(10)));
23968 SWIG_Python_SetConstant(d, "STC_NSIS_IFDEFINEDEF",SWIG_From_int(static_cast< int >(11)));
23969 SWIG_Python_SetConstant(d, "STC_NSIS_MACRODEF",SWIG_From_int(static_cast< int >(12)));
23970 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGVAR",SWIG_From_int(static_cast< int >(13)));
23971 SWIG_Python_SetConstant(d, "STC_NSIS_NUMBER",SWIG_From_int(static_cast< int >(14)));
23972 SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONGROUP",SWIG_From_int(static_cast< int >(15)));
23973 SWIG_Python_SetConstant(d, "STC_NSIS_PAGEEX",SWIG_From_int(static_cast< int >(16)));
23974 SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTIONDEF",SWIG_From_int(static_cast< int >(17)));
23975 SWIG_Python_SetConstant(d, "STC_NSIS_COMMENTBOX",SWIG_From_int(static_cast< int >(18)));
23976 SWIG_Python_SetConstant(d, "STC_MMIXAL_LEADWS",SWIG_From_int(static_cast< int >(0)));
23977 SWIG_Python_SetConstant(d, "STC_MMIXAL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23978 SWIG_Python_SetConstant(d, "STC_MMIXAL_LABEL",SWIG_From_int(static_cast< int >(2)));
23979 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE",SWIG_From_int(static_cast< int >(3)));
23980 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_PRE",SWIG_From_int(static_cast< int >(4)));
23981 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_VALID",SWIG_From_int(static_cast< int >(5)));
23982 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_UNKNOWN",SWIG_From_int(static_cast< int >(6)));
23983 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_POST",SWIG_From_int(static_cast< int >(7)));
23984 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERANDS",SWIG_From_int(static_cast< int >(8)));
23985 SWIG_Python_SetConstant(d, "STC_MMIXAL_NUMBER",SWIG_From_int(static_cast< int >(9)));
23986 SWIG_Python_SetConstant(d, "STC_MMIXAL_REF",SWIG_From_int(static_cast< int >(10)));
23987 SWIG_Python_SetConstant(d, "STC_MMIXAL_CHAR",SWIG_From_int(static_cast< int >(11)));
23988 SWIG_Python_SetConstant(d, "STC_MMIXAL_STRING",SWIG_From_int(static_cast< int >(12)));
23989 SWIG_Python_SetConstant(d, "STC_MMIXAL_REGISTER",SWIG_From_int(static_cast< int >(13)));
23990 SWIG_Python_SetConstant(d, "STC_MMIXAL_HEX",SWIG_From_int(static_cast< int >(14)));
23991 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERATOR",SWIG_From_int(static_cast< int >(15)));
23992 SWIG_Python_SetConstant(d, "STC_MMIXAL_SYMBOL",SWIG_From_int(static_cast< int >(16)));
23993 SWIG_Python_SetConstant(d, "STC_MMIXAL_INCLUDE",SWIG_From_int(static_cast< int >(17)));
23994 SWIG_Python_SetConstant(d, "STC_CLW_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23995 SWIG_Python_SetConstant(d, "STC_CLW_LABEL",SWIG_From_int(static_cast< int >(1)));
23996 SWIG_Python_SetConstant(d, "STC_CLW_COMMENT",SWIG_From_int(static_cast< int >(2)));
23997 SWIG_Python_SetConstant(d, "STC_CLW_STRING",SWIG_From_int(static_cast< int >(3)));
23998 SWIG_Python_SetConstant(d, "STC_CLW_USER_IDENTIFIER",SWIG_From_int(static_cast< int >(4)));
23999 SWIG_Python_SetConstant(d, "STC_CLW_INTEGER_CONSTANT",SWIG_From_int(static_cast< int >(5)));
24000 SWIG_Python_SetConstant(d, "STC_CLW_REAL_CONSTANT",SWIG_From_int(static_cast< int >(6)));
24001 SWIG_Python_SetConstant(d, "STC_CLW_PICTURE_STRING",SWIG_From_int(static_cast< int >(7)));
24002 SWIG_Python_SetConstant(d, "STC_CLW_KEYWORD",SWIG_From_int(static_cast< int >(8)));
24003 SWIG_Python_SetConstant(d, "STC_CLW_COMPILER_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
24004 SWIG_Python_SetConstant(d, "STC_CLW_RUNTIME_EXPRESSIONS",SWIG_From_int(static_cast< int >(10)));
24005 SWIG_Python_SetConstant(d, "STC_CLW_BUILTIN_PROCEDURES_FUNCTION",SWIG_From_int(static_cast< int >(11)));
24006 SWIG_Python_SetConstant(d, "STC_CLW_STRUCTURE_DATA_TYPE",SWIG_From_int(static_cast< int >(12)));
24007 SWIG_Python_SetConstant(d, "STC_CLW_ATTRIBUTE",SWIG_From_int(static_cast< int >(13)));
24008 SWIG_Python_SetConstant(d, "STC_CLW_STANDARD_EQUATE",SWIG_From_int(static_cast< int >(14)));
24009 SWIG_Python_SetConstant(d, "STC_CLW_ERROR",SWIG_From_int(static_cast< int >(15)));
24010 SWIG_Python_SetConstant(d, "STC_CLW_DEPRECATED",SWIG_From_int(static_cast< int >(16)));
24011 SWIG_Python_SetConstant(d, "STC_LOT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24012 SWIG_Python_SetConstant(d, "STC_LOT_HEADER",SWIG_From_int(static_cast< int >(1)));
24013 SWIG_Python_SetConstant(d, "STC_LOT_BREAK",SWIG_From_int(static_cast< int >(2)));
24014 SWIG_Python_SetConstant(d, "STC_LOT_SET",SWIG_From_int(static_cast< int >(3)));
24015 SWIG_Python_SetConstant(d, "STC_LOT_PASS",SWIG_From_int(static_cast< int >(4)));
24016 SWIG_Python_SetConstant(d, "STC_LOT_FAIL",SWIG_From_int(static_cast< int >(5)));
24017 SWIG_Python_SetConstant(d, "STC_LOT_ABORT",SWIG_From_int(static_cast< int >(6)));
24018 SWIG_Python_SetConstant(d, "STC_YAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24019 SWIG_Python_SetConstant(d, "STC_YAML_COMMENT",SWIG_From_int(static_cast< int >(1)));
24020 SWIG_Python_SetConstant(d, "STC_YAML_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
24021 SWIG_Python_SetConstant(d, "STC_YAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
24022 SWIG_Python_SetConstant(d, "STC_YAML_NUMBER",SWIG_From_int(static_cast< int >(4)));
24023 SWIG_Python_SetConstant(d, "STC_YAML_REFERENCE",SWIG_From_int(static_cast< int >(5)));
24024 SWIG_Python_SetConstant(d, "STC_YAML_DOCUMENT",SWIG_From_int(static_cast< int >(6)));
24025 SWIG_Python_SetConstant(d, "STC_YAML_TEXT",SWIG_From_int(static_cast< int >(7)));
24026 SWIG_Python_SetConstant(d, "STC_YAML_ERROR",SWIG_From_int(static_cast< int >(8)));
24027 SWIG_Python_SetConstant(d, "STC_TEX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24028 SWIG_Python_SetConstant(d, "STC_TEX_SPECIAL",SWIG_From_int(static_cast< int >(1)));
24029 SWIG_Python_SetConstant(d, "STC_TEX_GROUP",SWIG_From_int(static_cast< int >(2)));
24030 SWIG_Python_SetConstant(d, "STC_TEX_SYMBOL",SWIG_From_int(static_cast< int >(3)));
24031 SWIG_Python_SetConstant(d, "STC_TEX_COMMAND",SWIG_From_int(static_cast< int >(4)));
24032 SWIG_Python_SetConstant(d, "STC_TEX_TEXT",SWIG_From_int(static_cast< int >(5)));
24033 SWIG_Python_SetConstant(d, "STC_METAPOST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24034 SWIG_Python_SetConstant(d, "STC_METAPOST_SPECIAL",SWIG_From_int(static_cast< int >(1)));
24035 SWIG_Python_SetConstant(d, "STC_METAPOST_GROUP",SWIG_From_int(static_cast< int >(2)));
24036 SWIG_Python_SetConstant(d, "STC_METAPOST_SYMBOL",SWIG_From_int(static_cast< int >(3)));
24037 SWIG_Python_SetConstant(d, "STC_METAPOST_COMMAND",SWIG_From_int(static_cast< int >(4)));
24038 SWIG_Python_SetConstant(d, "STC_METAPOST_TEXT",SWIG_From_int(static_cast< int >(5)));
24039 SWIG_Python_SetConstant(d, "STC_METAPOST_EXTRA",SWIG_From_int(static_cast< int >(6)));
24040 SWIG_Python_SetConstant(d, "STC_ERLANG_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24041 SWIG_Python_SetConstant(d, "STC_ERLANG_COMMENT",SWIG_From_int(static_cast< int >(1)));
24042 SWIG_Python_SetConstant(d, "STC_ERLANG_VARIABLE",SWIG_From_int(static_cast< int >(2)));
24043 SWIG_Python_SetConstant(d, "STC_ERLANG_NUMBER",SWIG_From_int(static_cast< int >(3)));
24044 SWIG_Python_SetConstant(d, "STC_ERLANG_KEYWORD",SWIG_From_int(static_cast< int >(4)));
24045 SWIG_Python_SetConstant(d, "STC_ERLANG_STRING",SWIG_From_int(static_cast< int >(5)));
24046 SWIG_Python_SetConstant(d, "STC_ERLANG_OPERATOR",SWIG_From_int(static_cast< int >(6)));
24047 SWIG_Python_SetConstant(d, "STC_ERLANG_ATOM",SWIG_From_int(static_cast< int >(7)));
24048 SWIG_Python_SetConstant(d, "STC_ERLANG_FUNCTION_NAME",SWIG_From_int(static_cast< int >(8)));
24049 SWIG_Python_SetConstant(d, "STC_ERLANG_CHARACTER",SWIG_From_int(static_cast< int >(9)));
24050 SWIG_Python_SetConstant(d, "STC_ERLANG_MACRO",SWIG_From_int(static_cast< int >(10)));
24051 SWIG_Python_SetConstant(d, "STC_ERLANG_RECORD",SWIG_From_int(static_cast< int >(11)));
24052 SWIG_Python_SetConstant(d, "STC_ERLANG_SEPARATOR",SWIG_From_int(static_cast< int >(12)));
24053 SWIG_Python_SetConstant(d, "STC_ERLANG_NODE_NAME",SWIG_From_int(static_cast< int >(13)));
24054 SWIG_Python_SetConstant(d, "STC_ERLANG_UNKNOWN",SWIG_From_int(static_cast< int >(31)));
24055 SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24056 SWIG_Python_SetConstant(d, "STC_MSSQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24057 SWIG_Python_SetConstant(d, "STC_MSSQL_LINE_COMMENT",SWIG_From_int(static_cast< int >(2)));
24058 SWIG_Python_SetConstant(d, "STC_MSSQL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24059 SWIG_Python_SetConstant(d, "STC_MSSQL_STRING",SWIG_From_int(static_cast< int >(4)));
24060 SWIG_Python_SetConstant(d, "STC_MSSQL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24061 SWIG_Python_SetConstant(d, "STC_MSSQL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
24062 SWIG_Python_SetConstant(d, "STC_MSSQL_VARIABLE",SWIG_From_int(static_cast< int >(7)));
24063 SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME",SWIG_From_int(static_cast< int >(8)));
24064 SWIG_Python_SetConstant(d, "STC_MSSQL_STATEMENT",SWIG_From_int(static_cast< int >(9)));
24065 SWIG_Python_SetConstant(d, "STC_MSSQL_DATATYPE",SWIG_From_int(static_cast< int >(10)));
24066 SWIG_Python_SetConstant(d, "STC_MSSQL_SYSTABLE",SWIG_From_int(static_cast< int >(11)));
24067 SWIG_Python_SetConstant(d, "STC_MSSQL_GLOBAL_VARIABLE",SWIG_From_int(static_cast< int >(12)));
24068 SWIG_Python_SetConstant(d, "STC_MSSQL_FUNCTION",SWIG_From_int(static_cast< int >(13)));
24069 SWIG_Python_SetConstant(d, "STC_MSSQL_STORED_PROCEDURE",SWIG_From_int(static_cast< int >(14)));
24070 SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT_PREF_DATATYPE",SWIG_From_int(static_cast< int >(15)));
24071 SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME_2",SWIG_From_int(static_cast< int >(16)));
24072 SWIG_Python_SetConstant(d, "STC_V_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24073 SWIG_Python_SetConstant(d, "STC_V_COMMENT",SWIG_From_int(static_cast< int >(1)));
24074 SWIG_Python_SetConstant(d, "STC_V_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24075 SWIG_Python_SetConstant(d, "STC_V_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
24076 SWIG_Python_SetConstant(d, "STC_V_NUMBER",SWIG_From_int(static_cast< int >(4)));
24077 SWIG_Python_SetConstant(d, "STC_V_WORD",SWIG_From_int(static_cast< int >(5)));
24078 SWIG_Python_SetConstant(d, "STC_V_STRING",SWIG_From_int(static_cast< int >(6)));
24079 SWIG_Python_SetConstant(d, "STC_V_WORD2",SWIG_From_int(static_cast< int >(7)));
24080 SWIG_Python_SetConstant(d, "STC_V_WORD3",SWIG_From_int(static_cast< int >(8)));
24081 SWIG_Python_SetConstant(d, "STC_V_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
24082 SWIG_Python_SetConstant(d, "STC_V_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24083 SWIG_Python_SetConstant(d, "STC_V_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24084 SWIG_Python_SetConstant(d, "STC_V_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
24085 SWIG_Python_SetConstant(d, "STC_V_USER",SWIG_From_int(static_cast< int >(19)));
24086 SWIG_Python_SetConstant(d, "STC_KIX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24087 SWIG_Python_SetConstant(d, "STC_KIX_COMMENT",SWIG_From_int(static_cast< int >(1)));
24088 SWIG_Python_SetConstant(d, "STC_KIX_STRING1",SWIG_From_int(static_cast< int >(2)));
24089 SWIG_Python_SetConstant(d, "STC_KIX_STRING2",SWIG_From_int(static_cast< int >(3)));
24090 SWIG_Python_SetConstant(d, "STC_KIX_NUMBER",SWIG_From_int(static_cast< int >(4)));
24091 SWIG_Python_SetConstant(d, "STC_KIX_VAR",SWIG_From_int(static_cast< int >(5)));
24092 SWIG_Python_SetConstant(d, "STC_KIX_MACRO",SWIG_From_int(static_cast< int >(6)));
24093 SWIG_Python_SetConstant(d, "STC_KIX_KEYWORD",SWIG_From_int(static_cast< int >(7)));
24094 SWIG_Python_SetConstant(d, "STC_KIX_FUNCTIONS",SWIG_From_int(static_cast< int >(8)));
24095 SWIG_Python_SetConstant(d, "STC_KIX_OPERATOR",SWIG_From_int(static_cast< int >(9)));
24096 SWIG_Python_SetConstant(d, "STC_KIX_IDENTIFIER",SWIG_From_int(static_cast< int >(31)));
24097 SWIG_Python_SetConstant(d, "STC_GC_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24098 SWIG_Python_SetConstant(d, "STC_GC_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
24099 SWIG_Python_SetConstant(d, "STC_GC_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24100 SWIG_Python_SetConstant(d, "STC_GC_GLOBAL",SWIG_From_int(static_cast< int >(3)));
24101 SWIG_Python_SetConstant(d, "STC_GC_EVENT",SWIG_From_int(static_cast< int >(4)));
24102 SWIG_Python_SetConstant(d, "STC_GC_ATTRIBUTE",SWIG_From_int(static_cast< int >(5)));
24103 SWIG_Python_SetConstant(d, "STC_GC_CONTROL",SWIG_From_int(static_cast< int >(6)));
24104 SWIG_Python_SetConstant(d, "STC_GC_COMMAND",SWIG_From_int(static_cast< int >(7)));
24105 SWIG_Python_SetConstant(d, "STC_GC_STRING",SWIG_From_int(static_cast< int >(8)));
24106 SWIG_Python_SetConstant(d, "STC_GC_OPERATOR",SWIG_From_int(static_cast< int >(9)));
24107 SWIG_Python_SetConstant(d, "STC_SN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24108 SWIG_Python_SetConstant(d, "STC_SN_CODE",SWIG_From_int(static_cast< int >(1)));
24109 SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24110 SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
24111 SWIG_Python_SetConstant(d, "STC_SN_NUMBER",SWIG_From_int(static_cast< int >(4)));
24112 SWIG_Python_SetConstant(d, "STC_SN_WORD",SWIG_From_int(static_cast< int >(5)));
24113 SWIG_Python_SetConstant(d, "STC_SN_STRING",SWIG_From_int(static_cast< int >(6)));
24114 SWIG_Python_SetConstant(d, "STC_SN_WORD2",SWIG_From_int(static_cast< int >(7)));
24115 SWIG_Python_SetConstant(d, "STC_SN_WORD3",SWIG_From_int(static_cast< int >(8)));
24116 SWIG_Python_SetConstant(d, "STC_SN_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
24117 SWIG_Python_SetConstant(d, "STC_SN_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24118 SWIG_Python_SetConstant(d, "STC_SN_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24119 SWIG_Python_SetConstant(d, "STC_SN_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
24120 SWIG_Python_SetConstant(d, "STC_SN_REGEXTAG",SWIG_From_int(static_cast< int >(13)));
24121 SWIG_Python_SetConstant(d, "STC_SN_SIGNAL",SWIG_From_int(static_cast< int >(14)));
24122 SWIG_Python_SetConstant(d, "STC_SN_USER",SWIG_From_int(static_cast< int >(19)));
24123 SWIG_Python_SetConstant(d, "STC_AU3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24124 SWIG_Python_SetConstant(d, "STC_AU3_COMMENT",SWIG_From_int(static_cast< int >(1)));
24125 SWIG_Python_SetConstant(d, "STC_AU3_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24126 SWIG_Python_SetConstant(d, "STC_AU3_NUMBER",SWIG_From_int(static_cast< int >(3)));
24127 SWIG_Python_SetConstant(d, "STC_AU3_FUNCTION",SWIG_From_int(static_cast< int >(4)));
24128 SWIG_Python_SetConstant(d, "STC_AU3_KEYWORD",SWIG_From_int(static_cast< int >(5)));
24129 SWIG_Python_SetConstant(d, "STC_AU3_MACRO",SWIG_From_int(static_cast< int >(6)));
24130 SWIG_Python_SetConstant(d, "STC_AU3_STRING",SWIG_From_int(static_cast< int >(7)));
24131 SWIG_Python_SetConstant(d, "STC_AU3_OPERATOR",SWIG_From_int(static_cast< int >(8)));
24132 SWIG_Python_SetConstant(d, "STC_AU3_VARIABLE",SWIG_From_int(static_cast< int >(9)));
24133 SWIG_Python_SetConstant(d, "STC_AU3_SENT",SWIG_From_int(static_cast< int >(10)));
24134 SWIG_Python_SetConstant(d, "STC_AU3_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
24135 SWIG_Python_SetConstant(d, "STC_AU3_SPECIAL",SWIG_From_int(static_cast< int >(12)));
24136 SWIG_Python_SetConstant(d, "STC_AU3_EXPAND",SWIG_From_int(static_cast< int >(13)));
24137 SWIG_Python_SetConstant(d, "STC_AU3_COMOBJ",SWIG_From_int(static_cast< int >(14)));
10044bf1 24138 SWIG_Python_SetConstant(d, "STC_AU3_UDF",SWIG_From_int(static_cast< int >(15)));
554f62e9
RD
24139 SWIG_Python_SetConstant(d, "STC_APDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24140 SWIG_Python_SetConstant(d, "STC_APDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24141 SWIG_Python_SetConstant(d, "STC_APDL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24142 SWIG_Python_SetConstant(d, "STC_APDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24143 SWIG_Python_SetConstant(d, "STC_APDL_STRING",SWIG_From_int(static_cast< int >(4)));
24144 SWIG_Python_SetConstant(d, "STC_APDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24145 SWIG_Python_SetConstant(d, "STC_APDL_WORD",SWIG_From_int(static_cast< int >(6)));
24146 SWIG_Python_SetConstant(d, "STC_APDL_PROCESSOR",SWIG_From_int(static_cast< int >(7)));
24147 SWIG_Python_SetConstant(d, "STC_APDL_COMMAND",SWIG_From_int(static_cast< int >(8)));
24148 SWIG_Python_SetConstant(d, "STC_APDL_SLASHCOMMAND",SWIG_From_int(static_cast< int >(9)));
24149 SWIG_Python_SetConstant(d, "STC_APDL_STARCOMMAND",SWIG_From_int(static_cast< int >(10)));
24150 SWIG_Python_SetConstant(d, "STC_APDL_ARGUMENT",SWIG_From_int(static_cast< int >(11)));
24151 SWIG_Python_SetConstant(d, "STC_APDL_FUNCTION",SWIG_From_int(static_cast< int >(12)));
24152 SWIG_Python_SetConstant(d, "STC_SH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24153 SWIG_Python_SetConstant(d, "STC_SH_ERROR",SWIG_From_int(static_cast< int >(1)));
24154 SWIG_Python_SetConstant(d, "STC_SH_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24155 SWIG_Python_SetConstant(d, "STC_SH_NUMBER",SWIG_From_int(static_cast< int >(3)));
24156 SWIG_Python_SetConstant(d, "STC_SH_WORD",SWIG_From_int(static_cast< int >(4)));
24157 SWIG_Python_SetConstant(d, "STC_SH_STRING",SWIG_From_int(static_cast< int >(5)));
24158 SWIG_Python_SetConstant(d, "STC_SH_CHARACTER",SWIG_From_int(static_cast< int >(6)));
24159 SWIG_Python_SetConstant(d, "STC_SH_OPERATOR",SWIG_From_int(static_cast< int >(7)));
24160 SWIG_Python_SetConstant(d, "STC_SH_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
24161 SWIG_Python_SetConstant(d, "STC_SH_SCALAR",SWIG_From_int(static_cast< int >(9)));
24162 SWIG_Python_SetConstant(d, "STC_SH_PARAM",SWIG_From_int(static_cast< int >(10)));
24163 SWIG_Python_SetConstant(d, "STC_SH_BACKTICKS",SWIG_From_int(static_cast< int >(11)));
24164 SWIG_Python_SetConstant(d, "STC_SH_HERE_DELIM",SWIG_From_int(static_cast< int >(12)));
24165 SWIG_Python_SetConstant(d, "STC_SH_HERE_Q",SWIG_From_int(static_cast< int >(13)));
24166 SWIG_Python_SetConstant(d, "STC_ASN1_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24167 SWIG_Python_SetConstant(d, "STC_ASN1_COMMENT",SWIG_From_int(static_cast< int >(1)));
24168 SWIG_Python_SetConstant(d, "STC_ASN1_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
24169 SWIG_Python_SetConstant(d, "STC_ASN1_STRING",SWIG_From_int(static_cast< int >(3)));
24170 SWIG_Python_SetConstant(d, "STC_ASN1_OID",SWIG_From_int(static_cast< int >(4)));
24171 SWIG_Python_SetConstant(d, "STC_ASN1_SCALAR",SWIG_From_int(static_cast< int >(5)));
24172 SWIG_Python_SetConstant(d, "STC_ASN1_KEYWORD",SWIG_From_int(static_cast< int >(6)));
24173 SWIG_Python_SetConstant(d, "STC_ASN1_ATTRIBUTE",SWIG_From_int(static_cast< int >(7)));
24174 SWIG_Python_SetConstant(d, "STC_ASN1_DESCRIPTOR",SWIG_From_int(static_cast< int >(8)));
24175 SWIG_Python_SetConstant(d, "STC_ASN1_TYPE",SWIG_From_int(static_cast< int >(9)));
24176 SWIG_Python_SetConstant(d, "STC_ASN1_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24177 SWIG_Python_SetConstant(d, "STC_VHDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24178 SWIG_Python_SetConstant(d, "STC_VHDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24179 SWIG_Python_SetConstant(d, "STC_VHDL_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(2)));
24180 SWIG_Python_SetConstant(d, "STC_VHDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24181 SWIG_Python_SetConstant(d, "STC_VHDL_STRING",SWIG_From_int(static_cast< int >(4)));
24182 SWIG_Python_SetConstant(d, "STC_VHDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24183 SWIG_Python_SetConstant(d, "STC_VHDL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
24184 SWIG_Python_SetConstant(d, "STC_VHDL_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
24185 SWIG_Python_SetConstant(d, "STC_VHDL_KEYWORD",SWIG_From_int(static_cast< int >(8)));
24186 SWIG_Python_SetConstant(d, "STC_VHDL_STDOPERATOR",SWIG_From_int(static_cast< int >(9)));
24187 SWIG_Python_SetConstant(d, "STC_VHDL_ATTRIBUTE",SWIG_From_int(static_cast< int >(10)));
24188 SWIG_Python_SetConstant(d, "STC_VHDL_STDFUNCTION",SWIG_From_int(static_cast< int >(11)));
24189 SWIG_Python_SetConstant(d, "STC_VHDL_STDPACKAGE",SWIG_From_int(static_cast< int >(12)));
24190 SWIG_Python_SetConstant(d, "STC_VHDL_STDTYPE",SWIG_From_int(static_cast< int >(13)));
24191 SWIG_Python_SetConstant(d, "STC_VHDL_USERWORD",SWIG_From_int(static_cast< int >(14)));
24192 SWIG_Python_SetConstant(d, "STC_CAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24193 SWIG_Python_SetConstant(d, "STC_CAML_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24194 SWIG_Python_SetConstant(d, "STC_CAML_TAGNAME",SWIG_From_int(static_cast< int >(2)));
24195 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
24196 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD2",SWIG_From_int(static_cast< int >(4)));
24197 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD3",SWIG_From_int(static_cast< int >(5)));
24198 SWIG_Python_SetConstant(d, "STC_CAML_LINENUM",SWIG_From_int(static_cast< int >(6)));
24199 SWIG_Python_SetConstant(d, "STC_CAML_OPERATOR",SWIG_From_int(static_cast< int >(7)));
24200 SWIG_Python_SetConstant(d, "STC_CAML_NUMBER",SWIG_From_int(static_cast< int >(8)));
24201 SWIG_Python_SetConstant(d, "STC_CAML_CHAR",SWIG_From_int(static_cast< int >(9)));
24202 SWIG_Python_SetConstant(d, "STC_CAML_STRING",SWIG_From_int(static_cast< int >(11)));
24203 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT",SWIG_From_int(static_cast< int >(12)));
24204 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT1",SWIG_From_int(static_cast< int >(13)));
24205 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT2",SWIG_From_int(static_cast< int >(14)));
24206 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT3",SWIG_From_int(static_cast< int >(15)));
24207 SWIG_Python_SetConstant(d, "STC_HA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24208 SWIG_Python_SetConstant(d, "STC_HA_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24209 SWIG_Python_SetConstant(d, "STC_HA_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24210 SWIG_Python_SetConstant(d, "STC_HA_NUMBER",SWIG_From_int(static_cast< int >(3)));
24211 SWIG_Python_SetConstant(d, "STC_HA_STRING",SWIG_From_int(static_cast< int >(4)));
24212 SWIG_Python_SetConstant(d, "STC_HA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
24213 SWIG_Python_SetConstant(d, "STC_HA_CLASS",SWIG_From_int(static_cast< int >(6)));
24214 SWIG_Python_SetConstant(d, "STC_HA_MODULE",SWIG_From_int(static_cast< int >(7)));
24215 SWIG_Python_SetConstant(d, "STC_HA_CAPITAL",SWIG_From_int(static_cast< int >(8)));
24216 SWIG_Python_SetConstant(d, "STC_HA_DATA",SWIG_From_int(static_cast< int >(9)));
24217 SWIG_Python_SetConstant(d, "STC_HA_IMPORT",SWIG_From_int(static_cast< int >(10)));
24218 SWIG_Python_SetConstant(d, "STC_HA_OPERATOR",SWIG_From_int(static_cast< int >(11)));
24219 SWIG_Python_SetConstant(d, "STC_HA_INSTANCE",SWIG_From_int(static_cast< int >(12)));
24220 SWIG_Python_SetConstant(d, "STC_HA_COMMENTLINE",SWIG_From_int(static_cast< int >(13)));
24221 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK",SWIG_From_int(static_cast< int >(14)));
24222 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK2",SWIG_From_int(static_cast< int >(15)));
24223 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK3",SWIG_From_int(static_cast< int >(16)));
24224 SWIG_Python_SetConstant(d, "STC_T3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24225 SWIG_Python_SetConstant(d, "STC_T3_X_DEFAULT",SWIG_From_int(static_cast< int >(1)));
24226 SWIG_Python_SetConstant(d, "STC_T3_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
24227 SWIG_Python_SetConstant(d, "STC_T3_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(3)));
24228 SWIG_Python_SetConstant(d, "STC_T3_LINE_COMMENT",SWIG_From_int(static_cast< int >(4)));
24229 SWIG_Python_SetConstant(d, "STC_T3_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24230 SWIG_Python_SetConstant(d, "STC_T3_KEYWORD",SWIG_From_int(static_cast< int >(6)));
24231 SWIG_Python_SetConstant(d, "STC_T3_NUMBER",SWIG_From_int(static_cast< int >(7)));
24232 SWIG_Python_SetConstant(d, "STC_T3_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
24233 SWIG_Python_SetConstant(d, "STC_T3_S_STRING",SWIG_From_int(static_cast< int >(9)));
24234 SWIG_Python_SetConstant(d, "STC_T3_D_STRING",SWIG_From_int(static_cast< int >(10)));
24235 SWIG_Python_SetConstant(d, "STC_T3_X_STRING",SWIG_From_int(static_cast< int >(11)));
24236 SWIG_Python_SetConstant(d, "STC_T3_LIB_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
24237 SWIG_Python_SetConstant(d, "STC_T3_MSG_PARAM",SWIG_From_int(static_cast< int >(13)));
24238 SWIG_Python_SetConstant(d, "STC_T3_HTML_TAG",SWIG_From_int(static_cast< int >(14)));
24239 SWIG_Python_SetConstant(d, "STC_T3_HTML_DEFAULT",SWIG_From_int(static_cast< int >(15)));
24240 SWIG_Python_SetConstant(d, "STC_T3_HTML_STRING",SWIG_From_int(static_cast< int >(16)));
24241 SWIG_Python_SetConstant(d, "STC_T3_USER1",SWIG_From_int(static_cast< int >(17)));
24242 SWIG_Python_SetConstant(d, "STC_T3_USER2",SWIG_From_int(static_cast< int >(18)));
24243 SWIG_Python_SetConstant(d, "STC_T3_USER3",SWIG_From_int(static_cast< int >(19)));
24244 SWIG_Python_SetConstant(d, "STC_REBOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24245 SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
24246 SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24247 SWIG_Python_SetConstant(d, "STC_REBOL_PREFACE",SWIG_From_int(static_cast< int >(3)));
24248 SWIG_Python_SetConstant(d, "STC_REBOL_OPERATOR",SWIG_From_int(static_cast< int >(4)));
24249 SWIG_Python_SetConstant(d, "STC_REBOL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
24250 SWIG_Python_SetConstant(d, "STC_REBOL_QUOTEDSTRING",SWIG_From_int(static_cast< int >(6)));
24251 SWIG_Python_SetConstant(d, "STC_REBOL_BRACEDSTRING",SWIG_From_int(static_cast< int >(7)));
24252 SWIG_Python_SetConstant(d, "STC_REBOL_NUMBER",SWIG_From_int(static_cast< int >(8)));
24253 SWIG_Python_SetConstant(d, "STC_REBOL_PAIR",SWIG_From_int(static_cast< int >(9)));
24254 SWIG_Python_SetConstant(d, "STC_REBOL_TUPLE",SWIG_From_int(static_cast< int >(10)));
24255 SWIG_Python_SetConstant(d, "STC_REBOL_BINARY",SWIG_From_int(static_cast< int >(11)));
24256 SWIG_Python_SetConstant(d, "STC_REBOL_MONEY",SWIG_From_int(static_cast< int >(12)));
24257 SWIG_Python_SetConstant(d, "STC_REBOL_ISSUE",SWIG_From_int(static_cast< int >(13)));
24258 SWIG_Python_SetConstant(d, "STC_REBOL_TAG",SWIG_From_int(static_cast< int >(14)));
24259 SWIG_Python_SetConstant(d, "STC_REBOL_FILE",SWIG_From_int(static_cast< int >(15)));
24260 SWIG_Python_SetConstant(d, "STC_REBOL_EMAIL",SWIG_From_int(static_cast< int >(16)));
24261 SWIG_Python_SetConstant(d, "STC_REBOL_URL",SWIG_From_int(static_cast< int >(17)));
24262 SWIG_Python_SetConstant(d, "STC_REBOL_DATE",SWIG_From_int(static_cast< int >(18)));
24263 SWIG_Python_SetConstant(d, "STC_REBOL_TIME",SWIG_From_int(static_cast< int >(19)));
24264 SWIG_Python_SetConstant(d, "STC_REBOL_IDENTIFIER",SWIG_From_int(static_cast< int >(20)));
24265 SWIG_Python_SetConstant(d, "STC_REBOL_WORD",SWIG_From_int(static_cast< int >(21)));
24266 SWIG_Python_SetConstant(d, "STC_REBOL_WORD2",SWIG_From_int(static_cast< int >(22)));
24267 SWIG_Python_SetConstant(d, "STC_REBOL_WORD3",SWIG_From_int(static_cast< int >(23)));
24268 SWIG_Python_SetConstant(d, "STC_REBOL_WORD4",SWIG_From_int(static_cast< int >(24)));
24269 SWIG_Python_SetConstant(d, "STC_REBOL_WORD5",SWIG_From_int(static_cast< int >(25)));
24270 SWIG_Python_SetConstant(d, "STC_REBOL_WORD6",SWIG_From_int(static_cast< int >(26)));
24271 SWIG_Python_SetConstant(d, "STC_REBOL_WORD7",SWIG_From_int(static_cast< int >(27)));
24272 SWIG_Python_SetConstant(d, "STC_REBOL_WORD8",SWIG_From_int(static_cast< int >(28)));
24273 SWIG_Python_SetConstant(d, "STC_SQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24274 SWIG_Python_SetConstant(d, "STC_SQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24275 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24276 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24277 SWIG_Python_SetConstant(d, "STC_SQL_NUMBER",SWIG_From_int(static_cast< int >(4)));
24278 SWIG_Python_SetConstant(d, "STC_SQL_WORD",SWIG_From_int(static_cast< int >(5)));
24279 SWIG_Python_SetConstant(d, "STC_SQL_STRING",SWIG_From_int(static_cast< int >(6)));
24280 SWIG_Python_SetConstant(d, "STC_SQL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
24281 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS",SWIG_From_int(static_cast< int >(8)));
24282 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_PROMPT",SWIG_From_int(static_cast< int >(9)));
24283 SWIG_Python_SetConstant(d, "STC_SQL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24284 SWIG_Python_SetConstant(d, "STC_SQL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24285 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_COMMENT",SWIG_From_int(static_cast< int >(13)));
24286 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
24287 SWIG_Python_SetConstant(d, "STC_SQL_WORD2",SWIG_From_int(static_cast< int >(16)));
24288 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
24289 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
24290 SWIG_Python_SetConstant(d, "STC_SQL_USER1",SWIG_From_int(static_cast< int >(19)));
24291 SWIG_Python_SetConstant(d, "STC_SQL_USER2",SWIG_From_int(static_cast< int >(20)));
24292 SWIG_Python_SetConstant(d, "STC_SQL_USER3",SWIG_From_int(static_cast< int >(21)));
24293 SWIG_Python_SetConstant(d, "STC_SQL_USER4",SWIG_From_int(static_cast< int >(22)));
24294 SWIG_Python_SetConstant(d, "STC_SQL_QUOTEDIDENTIFIER",SWIG_From_int(static_cast< int >(23)));
24295 SWIG_Python_SetConstant(d, "STC_ST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24296 SWIG_Python_SetConstant(d, "STC_ST_STRING",SWIG_From_int(static_cast< int >(1)));
24297 SWIG_Python_SetConstant(d, "STC_ST_NUMBER",SWIG_From_int(static_cast< int >(2)));
24298 SWIG_Python_SetConstant(d, "STC_ST_COMMENT",SWIG_From_int(static_cast< int >(3)));
24299 SWIG_Python_SetConstant(d, "STC_ST_SYMBOL",SWIG_From_int(static_cast< int >(4)));
24300 SWIG_Python_SetConstant(d, "STC_ST_BINARY",SWIG_From_int(static_cast< int >(5)));
24301 SWIG_Python_SetConstant(d, "STC_ST_BOOL",SWIG_From_int(static_cast< int >(6)));
24302 SWIG_Python_SetConstant(d, "STC_ST_SELF",SWIG_From_int(static_cast< int >(7)));
24303 SWIG_Python_SetConstant(d, "STC_ST_SUPER",SWIG_From_int(static_cast< int >(8)));
24304 SWIG_Python_SetConstant(d, "STC_ST_NIL",SWIG_From_int(static_cast< int >(9)));
24305 SWIG_Python_SetConstant(d, "STC_ST_GLOBAL",SWIG_From_int(static_cast< int >(10)));
24306 SWIG_Python_SetConstant(d, "STC_ST_RETURN",SWIG_From_int(static_cast< int >(11)));
24307 SWIG_Python_SetConstant(d, "STC_ST_SPECIAL",SWIG_From_int(static_cast< int >(12)));
24308 SWIG_Python_SetConstant(d, "STC_ST_KWSEND",SWIG_From_int(static_cast< int >(13)));
24309 SWIG_Python_SetConstant(d, "STC_ST_ASSIGN",SWIG_From_int(static_cast< int >(14)));
24310 SWIG_Python_SetConstant(d, "STC_ST_CHARACTER",SWIG_From_int(static_cast< int >(15)));
24311 SWIG_Python_SetConstant(d, "STC_ST_SPEC_SEL",SWIG_From_int(static_cast< int >(16)));
24312 SWIG_Python_SetConstant(d, "STC_FS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24313 SWIG_Python_SetConstant(d, "STC_FS_COMMENT",SWIG_From_int(static_cast< int >(1)));
24314 SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24315 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24316 SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(4)));
24317 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(5)));
24318 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(6)));
24319 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD",SWIG_From_int(static_cast< int >(7)));
24320 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD2",SWIG_From_int(static_cast< int >(8)));
24321 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD3",SWIG_From_int(static_cast< int >(9)));
24322 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD4",SWIG_From_int(static_cast< int >(10)));
24323 SWIG_Python_SetConstant(d, "STC_FS_NUMBER",SWIG_From_int(static_cast< int >(11)));
24324 SWIG_Python_SetConstant(d, "STC_FS_STRING",SWIG_From_int(static_cast< int >(12)));
24325 SWIG_Python_SetConstant(d, "STC_FS_PREPROCESSOR",SWIG_From_int(static_cast< int >(13)));
24326 SWIG_Python_SetConstant(d, "STC_FS_OPERATOR",SWIG_From_int(static_cast< int >(14)));
24327 SWIG_Python_SetConstant(d, "STC_FS_IDENTIFIER",SWIG_From_int(static_cast< int >(15)));
24328 SWIG_Python_SetConstant(d, "STC_FS_DATE",SWIG_From_int(static_cast< int >(16)));
24329 SWIG_Python_SetConstant(d, "STC_FS_STRINGEOL",SWIG_From_int(static_cast< int >(17)));
24330 SWIG_Python_SetConstant(d, "STC_FS_CONSTANT",SWIG_From_int(static_cast< int >(18)));
24331 SWIG_Python_SetConstant(d, "STC_FS_ASM",SWIG_From_int(static_cast< int >(19)));
24332 SWIG_Python_SetConstant(d, "STC_FS_LABEL",SWIG_From_int(static_cast< int >(20)));
24333 SWIG_Python_SetConstant(d, "STC_FS_ERROR",SWIG_From_int(static_cast< int >(21)));
24334 SWIG_Python_SetConstant(d, "STC_FS_HEXNUMBER",SWIG_From_int(static_cast< int >(22)));
24335 SWIG_Python_SetConstant(d, "STC_FS_BINNUMBER",SWIG_From_int(static_cast< int >(23)));
24336 SWIG_Python_SetConstant(d, "STC_CSOUND_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24337 SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENT",SWIG_From_int(static_cast< int >(1)));
24338 SWIG_Python_SetConstant(d, "STC_CSOUND_NUMBER",SWIG_From_int(static_cast< int >(2)));
24339 SWIG_Python_SetConstant(d, "STC_CSOUND_OPERATOR",SWIG_From_int(static_cast< int >(3)));
24340 SWIG_Python_SetConstant(d, "STC_CSOUND_INSTR",SWIG_From_int(static_cast< int >(4)));
24341 SWIG_Python_SetConstant(d, "STC_CSOUND_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
24342 SWIG_Python_SetConstant(d, "STC_CSOUND_OPCODE",SWIG_From_int(static_cast< int >(6)));
24343 SWIG_Python_SetConstant(d, "STC_CSOUND_HEADERSTMT",SWIG_From_int(static_cast< int >(7)));
24344 SWIG_Python_SetConstant(d, "STC_CSOUND_USERKEYWORD",SWIG_From_int(static_cast< int >(8)));
24345 SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENTBLOCK",SWIG_From_int(static_cast< int >(9)));
24346 SWIG_Python_SetConstant(d, "STC_CSOUND_PARAM",SWIG_From_int(static_cast< int >(10)));
24347 SWIG_Python_SetConstant(d, "STC_CSOUND_ARATE_VAR",SWIG_From_int(static_cast< int >(11)));
24348 SWIG_Python_SetConstant(d, "STC_CSOUND_KRATE_VAR",SWIG_From_int(static_cast< int >(12)));
24349 SWIG_Python_SetConstant(d, "STC_CSOUND_IRATE_VAR",SWIG_From_int(static_cast< int >(13)));
24350 SWIG_Python_SetConstant(d, "STC_CSOUND_GLOBAL_VAR",SWIG_From_int(static_cast< int >(14)));
24351 SWIG_Python_SetConstant(d, "STC_CSOUND_STRINGEOL",SWIG_From_int(static_cast< int >(15)));
10044bf1
RD
24352 SWIG_Python_SetConstant(d, "STC_INNO_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24353 SWIG_Python_SetConstant(d, "STC_INNO_COMMENT",SWIG_From_int(static_cast< int >(1)));
24354 SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24355 SWIG_Python_SetConstant(d, "STC_INNO_PARAMETER",SWIG_From_int(static_cast< int >(3)));
24356 SWIG_Python_SetConstant(d, "STC_INNO_SECTION",SWIG_From_int(static_cast< int >(4)));
24357 SWIG_Python_SetConstant(d, "STC_INNO_PREPROC",SWIG_From_int(static_cast< int >(5)));
24358 SWIG_Python_SetConstant(d, "STC_INNO_PREPROC_INLINE",SWIG_From_int(static_cast< int >(6)));
24359 SWIG_Python_SetConstant(d, "STC_INNO_COMMENT_PASCAL",SWIG_From_int(static_cast< int >(7)));
24360 SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD_PASCAL",SWIG_From_int(static_cast< int >(8)));
24361 SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD_USER",SWIG_From_int(static_cast< int >(9)));
24362 SWIG_Python_SetConstant(d, "STC_INNO_STRING_DOUBLE",SWIG_From_int(static_cast< int >(10)));
24363 SWIG_Python_SetConstant(d, "STC_INNO_STRING_SINGLE",SWIG_From_int(static_cast< int >(11)));
24364 SWIG_Python_SetConstant(d, "STC_INNO_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
24365 SWIG_Python_SetConstant(d, "STC_OPAL_SPACE",SWIG_From_int(static_cast< int >(0)));
24366 SWIG_Python_SetConstant(d, "STC_OPAL_COMMENT_BLOCK",SWIG_From_int(static_cast< int >(1)));
24367 SWIG_Python_SetConstant(d, "STC_OPAL_COMMENT_LINE",SWIG_From_int(static_cast< int >(2)));
24368 SWIG_Python_SetConstant(d, "STC_OPAL_INTEGER",SWIG_From_int(static_cast< int >(3)));
24369 SWIG_Python_SetConstant(d, "STC_OPAL_KEYWORD",SWIG_From_int(static_cast< int >(4)));
24370 SWIG_Python_SetConstant(d, "STC_OPAL_SORT",SWIG_From_int(static_cast< int >(5)));
24371 SWIG_Python_SetConstant(d, "STC_OPAL_STRING",SWIG_From_int(static_cast< int >(6)));
24372 SWIG_Python_SetConstant(d, "STC_OPAL_PAR",SWIG_From_int(static_cast< int >(7)));
24373 SWIG_Python_SetConstant(d, "STC_OPAL_BOOL_CONST",SWIG_From_int(static_cast< int >(8)));
24374 SWIG_Python_SetConstant(d, "STC_OPAL_DEFAULT",SWIG_From_int(static_cast< int >(32)));
24375 SWIG_Python_SetConstant(d, "STC_SPICE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24376 SWIG_Python_SetConstant(d, "STC_SPICE_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24377 SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24378 SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD2",SWIG_From_int(static_cast< int >(3)));
24379 SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD3",SWIG_From_int(static_cast< int >(4)));
24380 SWIG_Python_SetConstant(d, "STC_SPICE_NUMBER",SWIG_From_int(static_cast< int >(5)));
24381 SWIG_Python_SetConstant(d, "STC_SPICE_DELIMITER",SWIG_From_int(static_cast< int >(6)));
24382 SWIG_Python_SetConstant(d, "STC_SPICE_VALUE",SWIG_From_int(static_cast< int >(7)));
24383 SWIG_Python_SetConstant(d, "STC_SPICE_COMMENTLINE",SWIG_From_int(static_cast< int >(8)));
554f62e9
RD
24384 SWIG_Python_SetConstant(d, "STC_CMD_REDO",SWIG_From_int(static_cast< int >(2011)));
24385 SWIG_Python_SetConstant(d, "STC_CMD_SELECTALL",SWIG_From_int(static_cast< int >(2013)));
24386 SWIG_Python_SetConstant(d, "STC_CMD_UNDO",SWIG_From_int(static_cast< int >(2176)));
24387 SWIG_Python_SetConstant(d, "STC_CMD_CUT",SWIG_From_int(static_cast< int >(2177)));
24388 SWIG_Python_SetConstant(d, "STC_CMD_COPY",SWIG_From_int(static_cast< int >(2178)));
24389 SWIG_Python_SetConstant(d, "STC_CMD_PASTE",SWIG_From_int(static_cast< int >(2179)));
24390 SWIG_Python_SetConstant(d, "STC_CMD_CLEAR",SWIG_From_int(static_cast< int >(2180)));
24391 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWN",SWIG_From_int(static_cast< int >(2300)));
24392 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNEXTEND",SWIG_From_int(static_cast< int >(2301)));
24393 SWIG_Python_SetConstant(d, "STC_CMD_LINEUP",SWIG_From_int(static_cast< int >(2302)));
24394 SWIG_Python_SetConstant(d, "STC_CMD_LINEUPEXTEND",SWIG_From_int(static_cast< int >(2303)));
24395 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFT",SWIG_From_int(static_cast< int >(2304)));
24396 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTEXTEND",SWIG_From_int(static_cast< int >(2305)));
24397 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHT",SWIG_From_int(static_cast< int >(2306)));
24398 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTEXTEND",SWIG_From_int(static_cast< int >(2307)));
24399 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFT",SWIG_From_int(static_cast< int >(2308)));
24400 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEXTEND",SWIG_From_int(static_cast< int >(2309)));
24401 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHT",SWIG_From_int(static_cast< int >(2310)));
24402 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEXTEND",SWIG_From_int(static_cast< int >(2311)));
24403 SWIG_Python_SetConstant(d, "STC_CMD_HOME",SWIG_From_int(static_cast< int >(2312)));
24404 SWIG_Python_SetConstant(d, "STC_CMD_HOMEEXTEND",SWIG_From_int(static_cast< int >(2313)));
24405 SWIG_Python_SetConstant(d, "STC_CMD_LINEEND",SWIG_From_int(static_cast< int >(2314)));
24406 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDEXTEND",SWIG_From_int(static_cast< int >(2315)));
24407 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTART",SWIG_From_int(static_cast< int >(2316)));
24408 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTARTEXTEND",SWIG_From_int(static_cast< int >(2317)));
24409 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTEND",SWIG_From_int(static_cast< int >(2318)));
24410 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTENDEXTEND",SWIG_From_int(static_cast< int >(2319)));
24411 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUP",SWIG_From_int(static_cast< int >(2320)));
24412 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPEXTEND",SWIG_From_int(static_cast< int >(2321)));
24413 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWN",SWIG_From_int(static_cast< int >(2322)));
24414 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2323)));
24415 SWIG_Python_SetConstant(d, "STC_CMD_EDITTOGGLEOVERTYPE",SWIG_From_int(static_cast< int >(2324)));
24416 SWIG_Python_SetConstant(d, "STC_CMD_CANCEL",SWIG_From_int(static_cast< int >(2325)));
24417 SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACK",SWIG_From_int(static_cast< int >(2326)));
24418 SWIG_Python_SetConstant(d, "STC_CMD_TAB",SWIG_From_int(static_cast< int >(2327)));
24419 SWIG_Python_SetConstant(d, "STC_CMD_BACKTAB",SWIG_From_int(static_cast< int >(2328)));
24420 SWIG_Python_SetConstant(d, "STC_CMD_NEWLINE",SWIG_From_int(static_cast< int >(2329)));
24421 SWIG_Python_SetConstant(d, "STC_CMD_FORMFEED",SWIG_From_int(static_cast< int >(2330)));
24422 SWIG_Python_SetConstant(d, "STC_CMD_VCHOME",SWIG_From_int(static_cast< int >(2331)));
24423 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEEXTEND",SWIG_From_int(static_cast< int >(2332)));
24424 SWIG_Python_SetConstant(d, "STC_CMD_ZOOMIN",SWIG_From_int(static_cast< int >(2333)));
24425 SWIG_Python_SetConstant(d, "STC_CMD_ZOOMOUT",SWIG_From_int(static_cast< int >(2334)));
24426 SWIG_Python_SetConstant(d, "STC_CMD_DELWORDLEFT",SWIG_From_int(static_cast< int >(2335)));
24427 SWIG_Python_SetConstant(d, "STC_CMD_DELWORDRIGHT",SWIG_From_int(static_cast< int >(2336)));
24428 SWIG_Python_SetConstant(d, "STC_CMD_LINECUT",SWIG_From_int(static_cast< int >(2337)));
24429 SWIG_Python_SetConstant(d, "STC_CMD_LINEDELETE",SWIG_From_int(static_cast< int >(2338)));
24430 SWIG_Python_SetConstant(d, "STC_CMD_LINETRANSPOSE",SWIG_From_int(static_cast< int >(2339)));
24431 SWIG_Python_SetConstant(d, "STC_CMD_LINEDUPLICATE",SWIG_From_int(static_cast< int >(2404)));
24432 SWIG_Python_SetConstant(d, "STC_CMD_LOWERCASE",SWIG_From_int(static_cast< int >(2340)));
24433 SWIG_Python_SetConstant(d, "STC_CMD_UPPERCASE",SWIG_From_int(static_cast< int >(2341)));
24434 SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLDOWN",SWIG_From_int(static_cast< int >(2342)));
24435 SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLUP",SWIG_From_int(static_cast< int >(2343)));
24436 SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACKNOTLINE",SWIG_From_int(static_cast< int >(2344)));
24437 SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAY",SWIG_From_int(static_cast< int >(2345)));
24438 SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2346)));
24439 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAY",SWIG_From_int(static_cast< int >(2347)));
24440 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2348)));
24441 SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAP",SWIG_From_int(static_cast< int >(2349)));
24442 SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2450)));
24443 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAP",SWIG_From_int(static_cast< int >(2451)));
24444 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAPEXTEND",SWIG_From_int(static_cast< int >(2452)));
24445 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAP",SWIG_From_int(static_cast< int >(2453)));
24446 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2454)));
24447 SWIG_Python_SetConstant(d, "STC_CMD_LINECOPY",SWIG_From_int(static_cast< int >(2455)));
24448 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFT",SWIG_From_int(static_cast< int >(2390)));
24449 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFTEXTEND",SWIG_From_int(static_cast< int >(2391)));
24450 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHT",SWIG_From_int(static_cast< int >(2392)));
24451 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHTEXTEND",SWIG_From_int(static_cast< int >(2393)));
24452 SWIG_Python_SetConstant(d, "STC_CMD_DELLINELEFT",SWIG_From_int(static_cast< int >(2395)));
24453 SWIG_Python_SetConstant(d, "STC_CMD_DELLINERIGHT",SWIG_From_int(static_cast< int >(2396)));
24454 SWIG_Python_SetConstant(d, "STC_CMD_PARADOWN",SWIG_From_int(static_cast< int >(2413)));
24455 SWIG_Python_SetConstant(d, "STC_CMD_PARADOWNEXTEND",SWIG_From_int(static_cast< int >(2414)));
24456 SWIG_Python_SetConstant(d, "STC_CMD_PARAUP",SWIG_From_int(static_cast< int >(2415)));
24457 SWIG_Python_SetConstant(d, "STC_CMD_PARAUPEXTEND",SWIG_From_int(static_cast< int >(2416)));
24458 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2426)));
24459 SWIG_Python_SetConstant(d, "STC_CMD_LINEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2427)));
24460 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTRECTEXTEND",SWIG_From_int(static_cast< int >(2428)));
24461 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTRECTEXTEND",SWIG_From_int(static_cast< int >(2429)));
24462 SWIG_Python_SetConstant(d, "STC_CMD_HOMERECTEXTEND",SWIG_From_int(static_cast< int >(2430)));
24463 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMERECTEXTEND",SWIG_From_int(static_cast< int >(2431)));
24464 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDRECTEXTEND",SWIG_From_int(static_cast< int >(2432)));
24465 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2433)));
24466 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2434)));
24467 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUP",SWIG_From_int(static_cast< int >(2435)));
24468 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUPEXTEND",SWIG_From_int(static_cast< int >(2436)));
24469 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWN",SWIG_From_int(static_cast< int >(2437)));
24470 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2438)));
24471 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEND",SWIG_From_int(static_cast< int >(2439)));
24472 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTENDEXTEND",SWIG_From_int(static_cast< int >(2440)));
24473 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEND",SWIG_From_int(static_cast< int >(2441)));
24474 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTENDEXTEND",SWIG_From_int(static_cast< int >(2442)));
24475 SWIG_Python_SetConstant(d, "wxEVT_STC_CHANGE",SWIG_From_int(static_cast< int >(wxEVT_STC_CHANGE)));
24476 SWIG_Python_SetConstant(d, "wxEVT_STC_STYLENEEDED",SWIG_From_int(static_cast< int >(wxEVT_STC_STYLENEEDED)));
24477 SWIG_Python_SetConstant(d, "wxEVT_STC_CHARADDED",SWIG_From_int(static_cast< int >(wxEVT_STC_CHARADDED)));
24478 SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTREACHED",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTREACHED)));
24479 SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTLEFT",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTLEFT)));
24480 SWIG_Python_SetConstant(d, "wxEVT_STC_ROMODIFYATTEMPT",SWIG_From_int(static_cast< int >(wxEVT_STC_ROMODIFYATTEMPT)));
24481 SWIG_Python_SetConstant(d, "wxEVT_STC_KEY",SWIG_From_int(static_cast< int >(wxEVT_STC_KEY)));
24482 SWIG_Python_SetConstant(d, "wxEVT_STC_DOUBLECLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_DOUBLECLICK)));
24483 SWIG_Python_SetConstant(d, "wxEVT_STC_UPDATEUI",SWIG_From_int(static_cast< int >(wxEVT_STC_UPDATEUI)));
24484 SWIG_Python_SetConstant(d, "wxEVT_STC_MODIFIED",SWIG_From_int(static_cast< int >(wxEVT_STC_MODIFIED)));
24485 SWIG_Python_SetConstant(d, "wxEVT_STC_MACRORECORD",SWIG_From_int(static_cast< int >(wxEVT_STC_MACRORECORD)));
24486 SWIG_Python_SetConstant(d, "wxEVT_STC_MARGINCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_MARGINCLICK)));
24487 SWIG_Python_SetConstant(d, "wxEVT_STC_NEEDSHOWN",SWIG_From_int(static_cast< int >(wxEVT_STC_NEEDSHOWN)));
24488 SWIG_Python_SetConstant(d, "wxEVT_STC_PAINTED",SWIG_From_int(static_cast< int >(wxEVT_STC_PAINTED)));
24489 SWIG_Python_SetConstant(d, "wxEVT_STC_USERLISTSELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_USERLISTSELECTION)));
24490 SWIG_Python_SetConstant(d, "wxEVT_STC_URIDROPPED",SWIG_From_int(static_cast< int >(wxEVT_STC_URIDROPPED)));
24491 SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLSTART",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLSTART)));
24492 SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLEND",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLEND)));
24493 SWIG_Python_SetConstant(d, "wxEVT_STC_START_DRAG",SWIG_From_int(static_cast< int >(wxEVT_STC_START_DRAG)));
24494 SWIG_Python_SetConstant(d, "wxEVT_STC_DRAG_OVER",SWIG_From_int(static_cast< int >(wxEVT_STC_DRAG_OVER)));
24495 SWIG_Python_SetConstant(d, "wxEVT_STC_DO_DROP",SWIG_From_int(static_cast< int >(wxEVT_STC_DO_DROP)));
24496 SWIG_Python_SetConstant(d, "wxEVT_STC_ZOOM",SWIG_From_int(static_cast< int >(wxEVT_STC_ZOOM)));
24497 SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_CLICK)));
24498 SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_DCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_DCLICK)));
24499 SWIG_Python_SetConstant(d, "wxEVT_STC_CALLTIP_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_CALLTIP_CLICK)));
24500 SWIG_Python_SetConstant(d, "wxEVT_STC_AUTOCOMP_SELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_AUTOCOMP_SELECTION)));
24501
24502
7bdb1bc4
RD
24503}
24504