~brian-sidebotham/wxwidgets-cmake/wxpython-2.9.4

« back to all changes in this revision

Viewing changes to wxPython/src/gtk/stc_wrap.cpp

  • Committer: Brian Sidebotham
  • Date: 2013-08-03 14:30:08 UTC
  • Revision ID: brian.sidebotham@gmail.com-20130803143008-c7806tkych1tp6fc
Initial import into Bazaar

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ----------------------------------------------------------------------------
 
2
 * This file was automatically generated by SWIG (http://www.swig.org).
 
3
 * Version 1.3.29
 
4
 * 
 
5
 * This file is not intended to be easily readable and contains a number of 
 
6
 * coding conventions designed to improve portability and efficiency. Do not make
 
7
 * changes to this file unless you know what you are doing--modify the SWIG 
 
8
 * interface file instead. 
 
9
 * ----------------------------------------------------------------------------- */
 
10
 
 
11
#define SWIGPYTHON
 
12
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
 
13
 
 
14
#ifdef __cplusplus
 
15
template<class T> class SwigValueWrapper {
 
16
    T *tt;
 
17
public:
 
18
    SwigValueWrapper() : tt(0) { }
 
19
    SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
 
20
    SwigValueWrapper(const T& t) : tt(new T(t)) { }
 
21
    ~SwigValueWrapper() { delete tt; } 
 
22
    SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
 
23
    operator T&() const { return *tt; }
 
24
    T *operator&() { return tt; }
 
25
private:
 
26
    SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
 
27
};
 
28
#endif
 
29
 
 
30
/* -----------------------------------------------------------------------------
 
31
 *  This section contains generic SWIG labels for method/variable
 
32
 *  declarations/attributes, and other compiler dependent labels.
 
33
 * ----------------------------------------------------------------------------- */
 
34
 
 
35
/* template workaround for compilers that cannot correctly implement the C++ standard */
 
36
#ifndef SWIGTEMPLATEDISAMBIGUATOR
 
37
# if defined(__SUNPRO_CC)
 
38
#   if (__SUNPRO_CC <= 0x560)
 
39
#     define SWIGTEMPLATEDISAMBIGUATOR template
 
40
#   else
 
41
#     define SWIGTEMPLATEDISAMBIGUATOR 
 
42
#   endif
 
43
# else
 
44
#   define SWIGTEMPLATEDISAMBIGUATOR 
 
45
# endif
 
46
#endif
 
47
 
 
48
/* inline attribute */
 
49
#ifndef SWIGINLINE
 
50
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
 
51
#   define SWIGINLINE inline
 
52
# else
 
53
#   define SWIGINLINE
 
54
# endif
 
55
#endif
 
56
 
 
57
/* attribute recognised by some compilers to avoid 'unused' warnings */
 
58
#ifndef SWIGUNUSED
 
59
# if defined(__GNUC__)
 
60
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
 
61
#     define SWIGUNUSED __attribute__ ((__unused__)) 
 
62
#   else
 
63
#     define SWIGUNUSED
 
64
#   endif
 
65
# elif defined(__ICC)
 
66
#   define SWIGUNUSED __attribute__ ((__unused__)) 
 
67
# else
 
68
#   define SWIGUNUSED 
 
69
# endif
 
70
#endif
 
71
 
 
72
#ifndef SWIGUNUSEDPARM
 
73
# ifdef __cplusplus
 
74
#   define SWIGUNUSEDPARM(p)
 
75
# else
 
76
#   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
 
77
# endif
 
78
#endif
 
79
 
 
80
/* internal SWIG method */
 
81
#ifndef SWIGINTERN
 
82
# define SWIGINTERN static SWIGUNUSED
 
83
#endif
 
84
 
 
85
/* internal inline SWIG method */
 
86
#ifndef SWIGINTERNINLINE
 
87
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
 
88
#endif
 
89
 
 
90
/* exporting methods */
 
91
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
 
92
#  ifndef GCC_HASCLASSVISIBILITY
 
93
#    define GCC_HASCLASSVISIBILITY
 
94
#  endif
 
95
#endif
 
96
 
 
97
#ifndef SWIGEXPORT
 
98
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
 
99
#   if defined(STATIC_LINKED)
 
100
#     define SWIGEXPORT
 
101
#   else
 
102
#     define SWIGEXPORT __declspec(dllexport)
 
103
#   endif
 
104
# else
 
105
#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
 
106
#     define SWIGEXPORT __attribute__ ((visibility("default")))
 
107
#   else
 
108
#     define SWIGEXPORT
 
109
#   endif
 
110
# endif
 
111
#endif
 
112
 
 
113
/* calling conventions for Windows */
 
114
#ifndef SWIGSTDCALL
 
115
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
 
116
#   define SWIGSTDCALL __stdcall
 
117
# else
 
118
#   define SWIGSTDCALL
 
119
# endif 
 
120
#endif
 
121
 
 
122
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
 
123
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
 
124
# define _CRT_SECURE_NO_DEPRECATE
 
125
#endif
 
126
 
 
127
 
 
128
/* Python.h has to appear first */
 
129
#include <Python.h>
 
130
 
 
131
/* -----------------------------------------------------------------------------
 
132
 * swigrun.swg
 
133
 *
 
134
 * This file contains generic CAPI SWIG runtime support for pointer
 
135
 * type checking.
 
136
 * ----------------------------------------------------------------------------- */
 
137
 
 
138
/* This should only be incremented when either the layout of swig_type_info changes,
 
139
   or for whatever reason, the runtime changes incompatibly */
 
140
#define SWIG_RUNTIME_VERSION "2"
 
141
 
 
142
/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
 
143
#ifdef SWIG_TYPE_TABLE
 
144
# define SWIG_QUOTE_STRING(x) #x
 
145
# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
 
146
# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
 
147
#else
 
148
# define SWIG_TYPE_TABLE_NAME
 
149
#endif
 
150
 
 
151
/*
 
152
  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
 
153
  creating a static or dynamic library from the swig runtime code.
 
154
  In 99.9% of the cases, swig just needs to declare them as 'static'.
 
155
  
 
156
  But only do this if is strictly necessary, ie, if you have problems
 
157
  with your compiler or so.
 
158
*/
 
159
 
 
160
#ifndef SWIGRUNTIME
 
161
# define SWIGRUNTIME SWIGINTERN
 
162
#endif
 
163
 
 
164
#ifndef SWIGRUNTIMEINLINE
 
165
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
 
166
#endif
 
167
 
 
168
/*  Generic buffer size */
 
169
#ifndef SWIG_BUFFER_SIZE
 
170
# define SWIG_BUFFER_SIZE 1024
 
171
#endif
 
172
 
 
173
/* Flags for pointer conversions */
 
174
#define SWIG_POINTER_DISOWN        0x1
 
175
 
 
176
/* Flags for new pointer objects */
 
177
#define SWIG_POINTER_OWN           0x1
 
178
 
 
179
 
 
180
/* 
 
181
   Flags/methods for returning states.
 
182
   
 
183
   The swig conversion methods, as ConvertPtr, return and integer 
 
184
   that tells if the conversion was successful or not. And if not,
 
185
   an error code can be returned (see swigerrors.swg for the codes).
 
186
   
 
187
   Use the following macros/flags to set or process the returning
 
188
   states.
 
189
   
 
190
   In old swig versions, you usually write code as:
 
191
 
 
192
     if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
 
193
       // success code
 
194
     } else {
 
195
       //fail code
 
196
     }
 
197
 
 
198
   Now you can be more explicit as:
 
199
 
 
200
    int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
 
201
    if (SWIG_IsOK(res)) {
 
202
      // success code
 
203
    } else {
 
204
      // fail code
 
205
    }
 
206
 
 
207
   that seems to be the same, but now you can also do
 
208
 
 
209
    Type *ptr;
 
210
    int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
 
211
    if (SWIG_IsOK(res)) {
 
212
      // success code
 
213
      if (SWIG_IsNewObj(res) {
 
214
        ...
 
215
        delete *ptr;
 
216
      } else {
 
217
        ...
 
218
      }
 
219
    } else {
 
220
      // fail code
 
221
    }
 
222
    
 
223
   I.e., now SWIG_ConvertPtr can return new objects and you can
 
224
   identify the case and take care of the deallocation. Of course that
 
225
   requires also to SWIG_ConvertPtr to return new result values, as
 
226
 
 
227
      int SWIG_ConvertPtr(obj, ptr,...) {         
 
228
        if (<obj is ok>) {                             
 
229
          if (<need new object>) {                     
 
230
            *ptr = <ptr to new allocated object>; 
 
231
            return SWIG_NEWOBJ;                
 
232
          } else {                                     
 
233
            *ptr = <ptr to old object>;        
 
234
            return SWIG_OLDOBJ;                
 
235
          }                                    
 
236
        } else {                                       
 
237
          return SWIG_BADOBJ;                  
 
238
        }                                              
 
239
      }
 
240
 
 
241
   Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
 
242
   more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
 
243
   swig errors code.
 
244
 
 
245
   Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
 
246
   allows to return the 'cast rank', for example, if you have this
 
247
 
 
248
       int food(double)
 
249
       int fooi(int);
 
250
 
 
251
   and you call
 
252
 
 
253
      food(1)   // cast rank '1'  (1 -> 1.0)
 
254
      fooi(1)   // cast rank '0'
 
255
 
 
256
   just use the SWIG_AddCast()/SWIG_CheckState()
 
257
 
 
258
 
 
259
 */
 
260
#define SWIG_OK                    (0) 
 
261
#define SWIG_ERROR                 (-1)
 
262
#define SWIG_IsOK(r)               (r >= 0)
 
263
#define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)  
 
264
 
 
265
/* The CastRankLimit says how many bits are used for the cast rank */
 
266
#define SWIG_CASTRANKLIMIT         (1 << 8)
 
267
/* The NewMask denotes the object was created (using new/malloc) */
 
268
#define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
 
269
/* The TmpMask is for in/out typemaps that use temporal objects */
 
270
#define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
 
271
/* Simple returning values */
 
272
#define SWIG_BADOBJ                (SWIG_ERROR)
 
273
#define SWIG_OLDOBJ                (SWIG_OK)
 
274
#define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
 
275
#define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
 
276
/* Check, add and del mask methods */
 
277
#define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
 
278
#define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
 
279
#define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
 
280
#define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
 
281
#define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
 
282
#define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
 
283
 
 
284
 
 
285
/* Cast-Rank Mode */
 
286
#if defined(SWIG_CASTRANK_MODE)
 
287
#  ifndef SWIG_TypeRank
 
288
#    define SWIG_TypeRank             unsigned long
 
289
#  endif
 
290
#  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
 
291
#    define SWIG_MAXCASTRANK          (2)
 
292
#  endif
 
293
#  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
 
294
#  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
 
295
SWIGINTERNINLINE int SWIG_AddCast(int r) { 
 
296
  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
 
297
}
 
298
SWIGINTERNINLINE int SWIG_CheckState(int r) { 
 
299
  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; 
 
300
}
 
301
#else /* no cast-rank mode */
 
302
#  define SWIG_AddCast
 
303
#  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
 
304
#endif
 
305
 
 
306
 
 
307
 
 
308
 
 
309
#include <string.h>
 
310
 
 
311
#ifdef __cplusplus
 
312
extern "C" {
 
313
#endif
 
314
 
 
315
typedef void *(*swig_converter_func)(void *);
 
316
typedef struct swig_type_info *(*swig_dycast_func)(void **);
 
317
 
 
318
/* Structure to store inforomation on one type */
 
319
typedef struct swig_type_info {
 
320
  const char             *name;                 /* mangled name of this type */
 
321
  const char             *str;                  /* human readable name of this type */
 
322
  swig_dycast_func        dcast;                /* dynamic cast function down a hierarchy */
 
323
  struct swig_cast_info  *cast;                 /* linked list of types that can cast into this type */
 
324
  void                   *clientdata;           /* language specific type data */
 
325
  int                    owndata;               /* flag if the structure owns the clientdata */
 
326
} swig_type_info;
 
327
 
 
328
/* Structure to store a type and conversion function used for casting */
 
329
typedef struct swig_cast_info {
 
330
  swig_type_info         *type;                 /* pointer to type that is equivalent to this type */
 
331
  swig_converter_func     converter;            /* function to cast the void pointers */
 
332
  struct swig_cast_info  *next;                 /* pointer to next cast in linked list */
 
333
  struct swig_cast_info  *prev;                 /* pointer to the previous cast */
 
334
} swig_cast_info;
 
335
 
 
336
/* Structure used to store module information
 
337
 * Each module generates one structure like this, and the runtime collects
 
338
 * all of these structures and stores them in a circularly linked list.*/
 
339
typedef struct swig_module_info {
 
340
  swig_type_info         **types;               /* Array of pointers to swig_type_info structures that are in this module */
 
341
  size_t                 size;                  /* Number of types in this module */
 
342
  struct swig_module_info *next;                /* Pointer to next element in circularly linked list */
 
343
  swig_type_info         **type_initial;        /* Array of initially generated type structures */
 
344
  swig_cast_info         **cast_initial;        /* Array of initially generated casting structures */
 
345
  void                    *clientdata;          /* Language specific module data */
 
346
} swig_module_info;
 
347
 
 
348
/* 
 
349
  Compare two type names skipping the space characters, therefore
 
350
  "char*" == "char *" and "Class<int>" == "Class<int >", etc.
 
351
 
 
352
  Return 0 when the two name types are equivalent, as in
 
353
  strncmp, but skipping ' '.
 
354
*/
 
355
SWIGRUNTIME int
 
356
SWIG_TypeNameComp(const char *f1, const char *l1,
 
357
                  const char *f2, const char *l2) {
 
358
  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
 
359
    while ((*f1 == ' ') && (f1 != l1)) ++f1;
 
360
    while ((*f2 == ' ') && (f2 != l2)) ++f2;
 
361
    if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
 
362
  }
 
363
  return (l1 - f1) - (l2 - f2);
 
364
}
 
365
 
 
366
/*
 
367
  Check type equivalence in a name list like <name1>|<name2>|...
 
368
  Return 0 if not equal, 1 if equal
 
369
*/
 
370
SWIGRUNTIME int
 
371
SWIG_TypeEquiv(const char *nb, const char *tb) {
 
372
  int equiv = 0;
 
373
  const char* te = tb + strlen(tb);
 
374
  const char* ne = nb;
 
375
  while (!equiv && *ne) {
 
376
    for (nb = ne; *ne; ++ne) {
 
377
      if (*ne == '|') break;
 
378
    }
 
379
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
 
380
    if (*ne) ++ne;
 
381
  }
 
382
  return equiv;
 
383
}
 
384
 
 
385
/*
 
386
  Check type equivalence in a name list like <name1>|<name2>|...
 
387
  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
 
388
*/
 
389
SWIGRUNTIME int
 
390
SWIG_TypeCompare(const char *nb, const char *tb) {
 
391
  int equiv = 0;
 
392
  const char* te = tb + strlen(tb);
 
393
  const char* ne = nb;
 
394
  while (!equiv && *ne) {
 
395
    for (nb = ne; *ne; ++ne) {
 
396
      if (*ne == '|') break;
 
397
    }
 
398
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
 
399
    if (*ne) ++ne;
 
400
  }
 
401
  return equiv;
 
402
}
 
403
 
 
404
 
 
405
/* think of this as a c++ template<> or a scheme macro */
 
406
#define SWIG_TypeCheck_Template(comparison, ty)         \
 
407
  if (ty) {                                             \
 
408
    swig_cast_info *iter = ty->cast;                    \
 
409
    while (iter) {                                      \
 
410
      if (comparison) {                                 \
 
411
        if (iter == ty->cast) return iter;              \
 
412
        /* Move iter to the top of the linked list */   \
 
413
        iter->prev->next = iter->next;                  \
 
414
        if (iter->next)                                 \
 
415
          iter->next->prev = iter->prev;                \
 
416
        iter->next = ty->cast;                          \
 
417
        iter->prev = 0;                                 \
 
418
        if (ty->cast) ty->cast->prev = iter;            \
 
419
        ty->cast = iter;                                \
 
420
        return iter;                                    \
 
421
      }                                                 \
 
422
      iter = iter->next;                                \
 
423
    }                                                   \
 
424
  }                                                     \
 
425
  return 0
 
426
 
 
427
/*
 
428
  Check the typename
 
429
*/
 
430
SWIGRUNTIME swig_cast_info *
 
431
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
 
432
  SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
 
433
}
 
434
 
 
435
/* Same as previous function, except strcmp is replaced with a pointer comparison */
 
436
SWIGRUNTIME swig_cast_info *
 
437
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
 
438
  SWIG_TypeCheck_Template(iter->type == from, into);
 
439
}
 
440
 
 
441
/*
 
442
  Cast a pointer up an inheritance hierarchy
 
443
*/
 
444
SWIGRUNTIMEINLINE void *
 
445
SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
 
446
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
 
447
}
 
448
 
 
449
/* 
 
450
   Dynamic pointer casting. Down an inheritance hierarchy
 
451
*/
 
452
SWIGRUNTIME swig_type_info *
 
453
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
 
454
  swig_type_info *lastty = ty;
 
455
  if (!ty || !ty->dcast) return ty;
 
456
  while (ty && (ty->dcast)) {
 
457
    ty = (*ty->dcast)(ptr);
 
458
    if (ty) lastty = ty;
 
459
  }
 
460
  return lastty;
 
461
}
 
462
 
 
463
/*
 
464
  Return the name associated with this type
 
465
*/
 
466
SWIGRUNTIMEINLINE const char *
 
467
SWIG_TypeName(const swig_type_info *ty) {
 
468
  return ty->name;
 
469
}
 
470
 
 
471
/*
 
472
  Return the pretty name associated with this type,
 
473
  that is an unmangled type name in a form presentable to the user.
 
474
*/
 
475
SWIGRUNTIME const char *
 
476
SWIG_TypePrettyName(const swig_type_info *type) {
 
477
  /* The "str" field contains the equivalent pretty names of the
 
478
     type, separated by vertical-bar characters.  We choose
 
479
     to print the last name, as it is often (?) the most
 
480
     specific. */
 
481
  if (!type) return NULL;
 
482
  if (type->str != NULL) {
 
483
    const char *last_name = type->str;
 
484
    const char *s;
 
485
    for (s = type->str; *s; s++)
 
486
      if (*s == '|') last_name = s+1;
 
487
    return last_name;
 
488
  }
 
489
  else
 
490
    return type->name;
 
491
}
 
492
 
 
493
/* 
 
494
   Set the clientdata field for a type
 
495
*/
 
496
SWIGRUNTIME void
 
497
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
 
498
  swig_cast_info *cast = ti->cast;
 
499
  /* if (ti->clientdata == clientdata) return; */
 
500
  ti->clientdata = clientdata;
 
501
  
 
502
  while (cast) {
 
503
    if (!cast->converter) {
 
504
      swig_type_info *tc = cast->type;
 
505
      if (!tc->clientdata) {
 
506
        SWIG_TypeClientData(tc, clientdata);
 
507
      }
 
508
    }    
 
509
    cast = cast->next;
 
510
  }
 
511
}
 
512
SWIGRUNTIME void
 
513
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
 
514
  SWIG_TypeClientData(ti, clientdata);
 
515
  ti->owndata = 1;
 
516
}
 
517
  
 
518
/*
 
519
  Search for a swig_type_info structure only by mangled name
 
520
  Search is a O(log #types)
 
521
  
 
522
  We start searching at module start, and finish searching when start == end.  
 
523
  Note: if start == end at the beginning of the function, we go all the way around
 
524
  the circular list.
 
525
*/
 
526
SWIGRUNTIME swig_type_info *
 
527
SWIG_MangledTypeQueryModule(swig_module_info *start, 
 
528
                            swig_module_info *end, 
 
529
                            const char *name) {
 
530
  swig_module_info *iter = start;
 
531
  do {
 
532
    if (iter->size) {
 
533
      register size_t l = 0;
 
534
      register size_t r = iter->size - 1;
 
535
      do {
 
536
        /* since l+r >= 0, we can (>> 1) instead (/ 2) */
 
537
        register size_t i = (l + r) >> 1; 
 
538
        const char *iname = iter->types[i]->name;
 
539
        if (iname) {
 
540
          register int compare = strcmp(name, iname);
 
541
          if (compare == 0) {       
 
542
            return iter->types[i];
 
543
          } else if (compare < 0) {
 
544
            if (i) {
 
545
              r = i - 1;
 
546
            } else {
 
547
              break;
 
548
            }
 
549
          } else if (compare > 0) {
 
550
            l = i + 1;
 
551
          }
 
552
        } else {
 
553
          break; /* should never happen */
 
554
        }
 
555
      } while (l <= r);
 
556
    }
 
557
    iter = iter->next;
 
558
  } while (iter != end);
 
559
  return 0;
 
560
}
 
561
 
 
562
/*
 
563
  Search for a swig_type_info structure for either a mangled name or a human readable name.
 
564
  It first searches the mangled names of the types, which is a O(log #types)
 
565
  If a type is not found it then searches the human readable names, which is O(#types).
 
566
  
 
567
  We start searching at module start, and finish searching when start == end.  
 
568
  Note: if start == end at the beginning of the function, we go all the way around
 
569
  the circular list.
 
570
*/
 
571
SWIGRUNTIME swig_type_info *
 
572
SWIG_TypeQueryModule(swig_module_info *start, 
 
573
                     swig_module_info *end, 
 
574
                     const char *name) {
 
575
  /* STEP 1: Search the name field using binary search */
 
576
  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
 
577
  if (ret) {
 
578
    return ret;
 
579
  } else {
 
580
    /* STEP 2: If the type hasn't been found, do a complete search
 
581
       of the str field (the human readable name) */
 
582
    swig_module_info *iter = start;
 
583
    do {
 
584
      register size_t i = 0;
 
585
      for (; i < iter->size; ++i) {
 
586
        if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
 
587
          return iter->types[i];
 
588
      }
 
589
      iter = iter->next;
 
590
    } while (iter != end);
 
591
  }
 
592
  
 
593
  /* neither found a match */
 
594
  return 0;
 
595
}
 
596
 
 
597
/* 
 
598
   Pack binary data into a string
 
599
*/
 
600
SWIGRUNTIME char *
 
601
SWIG_PackData(char *c, void *ptr, size_t sz) {
 
602
  static const char hex[17] = "0123456789abcdef";
 
603
  register const unsigned char *u = (unsigned char *) ptr;
 
604
  register const unsigned char *eu =  u + sz;
 
605
  for (; u != eu; ++u) {
 
606
    register unsigned char uu = *u;
 
607
    *(c++) = hex[(uu & 0xf0) >> 4];
 
608
    *(c++) = hex[uu & 0xf];
 
609
  }
 
610
  return c;
 
611
}
 
612
 
 
613
/* 
 
614
   Unpack binary data from a string
 
615
*/
 
616
SWIGRUNTIME const char *
 
617
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
 
618
  register unsigned char *u = (unsigned char *) ptr;
 
619
  register const unsigned char *eu = u + sz;
 
620
  for (; u != eu; ++u) {
 
621
    register char d = *(c++);
 
622
    register unsigned char uu;
 
623
    if ((d >= '0') && (d <= '9'))
 
624
      uu = ((d - '0') << 4);
 
625
    else if ((d >= 'a') && (d <= 'f'))
 
626
      uu = ((d - ('a'-10)) << 4);
 
627
    else 
 
628
      return (char *) 0;
 
629
    d = *(c++);
 
630
    if ((d >= '0') && (d <= '9'))
 
631
      uu |= (d - '0');
 
632
    else if ((d >= 'a') && (d <= 'f'))
 
633
      uu |= (d - ('a'-10));
 
634
    else 
 
635
      return (char *) 0;
 
636
    *u = uu;
 
637
  }
 
638
  return c;
 
639
}
 
640
 
 
641
/* 
 
642
   Pack 'void *' into a string buffer.
 
643
*/
 
644
SWIGRUNTIME char *
 
645
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
 
646
  char *r = buff;
 
647
  if ((2*sizeof(void *) + 2) > bsz) return 0;
 
648
  *(r++) = '_';
 
649
  r = SWIG_PackData(r,&ptr,sizeof(void *));
 
650
  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
 
651
  strcpy(r,name);
 
652
  return buff;
 
653
}
 
654
 
 
655
SWIGRUNTIME const char *
 
656
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
 
657
  if (*c != '_') {
 
658
    if (strcmp(c,"NULL") == 0) {
 
659
      *ptr = (void *) 0;
 
660
      return name;
 
661
    } else {
 
662
      return 0;
 
663
    }
 
664
  }
 
665
  return SWIG_UnpackData(++c,ptr,sizeof(void *));
 
666
}
 
667
 
 
668
SWIGRUNTIME char *
 
669
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
 
670
  char *r = buff;
 
671
  size_t lname = (name ? strlen(name) : 0);
 
672
  if ((2*sz + 2 + lname) > bsz) return 0;
 
673
  *(r++) = '_';
 
674
  r = SWIG_PackData(r,ptr,sz);
 
675
  if (lname) {
 
676
    strncpy(r,name,lname+1);
 
677
  } else {
 
678
    *r = 0;
 
679
  }
 
680
  return buff;
 
681
}
 
682
 
 
683
SWIGRUNTIME const char *
 
684
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
 
685
  if (*c != '_') {
 
686
    if (strcmp(c,"NULL") == 0) {
 
687
      memset(ptr,0,sz);
 
688
      return name;
 
689
    } else {
 
690
      return 0;
 
691
    }
 
692
  }
 
693
  return SWIG_UnpackData(++c,ptr,sz);
 
694
}
 
695
 
 
696
#ifdef __cplusplus
 
697
}
 
698
#endif
 
699
 
 
700
/*  Errors in SWIG */
 
701
#define  SWIG_UnknownError         -1 
 
702
#define  SWIG_IOError              -2 
 
703
#define  SWIG_RuntimeError         -3 
 
704
#define  SWIG_IndexError           -4 
 
705
#define  SWIG_TypeError            -5 
 
706
#define  SWIG_DivisionByZero       -6 
 
707
#define  SWIG_OverflowError        -7 
 
708
#define  SWIG_SyntaxError          -8 
 
709
#define  SWIG_ValueError           -9 
 
710
#define  SWIG_SystemError          -10
 
711
#define  SWIG_AttributeError       -11
 
712
#define  SWIG_MemoryError          -12 
 
713
#define  SWIG_NullReferenceError   -13
 
714
 
 
715
 
 
716
 
 
717
/* Python.h has to appear first */
 
718
#include <Python.h>
 
719
 
 
720
/* Add PyOS_snprintf for old Pythons */
 
721
#if PY_VERSION_HEX < 0x02020000
 
722
# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
 
723
#  define PyOS_snprintf _snprintf
 
724
# else
 
725
#  define PyOS_snprintf snprintf
 
726
# endif
 
727
#endif
 
728
 
 
729
/* A crude PyString_FromFormat implementation for old Pythons */
 
730
#if PY_VERSION_HEX < 0x02020000
 
731
 
 
732
#ifndef SWIG_PYBUFFER_SIZE
 
733
# define SWIG_PYBUFFER_SIZE 1024
 
734
#endif
 
735
 
 
736
static PyObject *
 
737
PyString_FromFormat(const char *fmt, ...) {
 
738
  va_list ap;
 
739
  char buf[SWIG_PYBUFFER_SIZE * 2];
 
740
  int res;
 
741
  va_start(ap, fmt);
 
742
  res = vsnprintf(buf, sizeof(buf), fmt, ap);
 
743
  va_end(ap);
 
744
  return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
 
745
}
 
746
#endif
 
747
 
 
748
/* Add PyObject_Del for old Pythons */
 
749
#if PY_VERSION_HEX < 0x01060000
 
750
# define PyObject_Del(op) PyMem_DEL((op))
 
751
#endif
 
752
#ifndef PyObject_DEL
 
753
# define PyObject_DEL PyObject_Del
 
754
#endif
 
755
 
 
756
/* A crude PyExc_StopIteration exception for old Pythons */
 
757
#if PY_VERSION_HEX < 0x02020000
 
758
# ifndef PyExc_StopIteration
 
759
#  define PyExc_StopIteration PyExc_RuntimeError
 
760
# endif
 
761
# ifndef PyObject_GenericGetAttr
 
762
#  define PyObject_GenericGetAttr 0
 
763
# endif
 
764
#endif
 
765
/* Py_NotImplemented is defined in 2.1 and up. */
 
766
#if PY_VERSION_HEX < 0x02010000
 
767
# ifndef Py_NotImplemented
 
768
#  define Py_NotImplemented PyExc_RuntimeError
 
769
# endif
 
770
#endif
 
771
 
 
772
 
 
773
/* A crude PyString_AsStringAndSize implementation for old Pythons */
 
774
#if PY_VERSION_HEX < 0x02010000
 
775
# ifndef PyString_AsStringAndSize
 
776
#  define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
 
777
# endif
 
778
#endif
 
779
 
 
780
/* PySequence_Size for old Pythons */
 
781
#if PY_VERSION_HEX < 0x02000000
 
782
# ifndef PySequence_Size
 
783
#  define PySequence_Size PySequence_Length
 
784
# endif
 
785
#endif
 
786
 
 
787
 
 
788
/* PyBool_FromLong for old Pythons */
 
789
#if PY_VERSION_HEX < 0x02030000
 
790
static
 
791
PyObject *PyBool_FromLong(long ok)
 
792
{
 
793
  PyObject *result = ok ? Py_True : Py_False;
 
794
  Py_INCREF(result);
 
795
  return result;
 
796
}
 
797
#endif
 
798
 
 
799
 
 
800
/* -----------------------------------------------------------------------------
 
801
 * error manipulation
 
802
 * ----------------------------------------------------------------------------- */
 
803
 
 
804
SWIGRUNTIME PyObject*
 
805
SWIG_Python_ErrorType(int code) {
 
806
  PyObject* type = 0;
 
807
  switch(code) {
 
808
  case SWIG_MemoryError:
 
809
    type = PyExc_MemoryError;
 
810
    break;
 
811
  case SWIG_IOError:
 
812
    type = PyExc_IOError;
 
813
    break;
 
814
  case SWIG_RuntimeError:
 
815
    type = PyExc_RuntimeError;
 
816
    break;
 
817
  case SWIG_IndexError:
 
818
    type = PyExc_IndexError;
 
819
    break;
 
820
  case SWIG_TypeError:
 
821
    type = PyExc_TypeError;
 
822
    break;
 
823
  case SWIG_DivisionByZero:
 
824
    type = PyExc_ZeroDivisionError;
 
825
    break;
 
826
  case SWIG_OverflowError:
 
827
    type = PyExc_OverflowError;
 
828
    break;
 
829
  case SWIG_SyntaxError:
 
830
    type = PyExc_SyntaxError;
 
831
    break;
 
832
  case SWIG_ValueError:
 
833
    type = PyExc_ValueError;
 
834
    break;
 
835
  case SWIG_SystemError:
 
836
    type = PyExc_SystemError;
 
837
    break;
 
838
  case SWIG_AttributeError:
 
839
    type = PyExc_AttributeError;
 
840
    break;
 
841
  default:
 
842
    type = PyExc_RuntimeError;
 
843
  }
 
844
  return type;
 
845
}
 
846
 
 
847
 
 
848
SWIGRUNTIME void
 
849
SWIG_Python_AddErrorMsg(const char* mesg)
 
850
{
 
851
  PyObject *type = 0;
 
852
  PyObject *value = 0;
 
853
  PyObject *traceback = 0;
 
854
 
 
855
  if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
 
856
  if (value) {
 
857
    PyObject *old_str = PyObject_Str(value);
 
858
    PyErr_Clear();
 
859
    Py_XINCREF(type);
 
860
    PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
 
861
    Py_DECREF(old_str);
 
862
    Py_DECREF(value);
 
863
  } else {
 
864
    PyErr_Format(PyExc_RuntimeError, mesg);
 
865
  }
 
866
}
 
867
 
 
868
 
 
869
 
 
870
#if defined(SWIG_PYTHON_NO_THREADS)
 
871
#  if defined(SWIG_PYTHON_THREADS)
 
872
#    undef SWIG_PYTHON_THREADS
 
873
#  endif
 
874
#endif
 
875
#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
 
876
#  if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
 
877
#    if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
 
878
#      define SWIG_PYTHON_USE_GIL
 
879
#    endif
 
880
#  endif
 
881
#  if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
 
882
#    ifndef SWIG_PYTHON_INITIALIZE_THREADS
 
883
#     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads() 
 
884
#    endif
 
885
#    ifdef __cplusplus /* C++ code */
 
886
       class SWIG_Python_Thread_Block {
 
887
         bool status;
 
888
         PyGILState_STATE state;
 
889
       public:
 
890
         void end() { if (status) { PyGILState_Release(state); status = false;} }
 
891
         SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
 
892
         ~SWIG_Python_Thread_Block() { end(); }
 
893
       };
 
894
       class SWIG_Python_Thread_Allow {
 
895
         bool status;
 
896
         PyThreadState *save;
 
897
       public:
 
898
         void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
 
899
         SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
 
900
         ~SWIG_Python_Thread_Allow() { end(); }
 
901
       };
 
902
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block
 
903
#      define SWIG_PYTHON_THREAD_END_BLOCK     _swig_thread_block.end()
 
904
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   SWIG_Python_Thread_Allow _swig_thread_allow
 
905
#      define SWIG_PYTHON_THREAD_END_ALLOW     _swig_thread_allow.end()
 
906
#    else /* C code */
 
907
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
 
908
#      define SWIG_PYTHON_THREAD_END_BLOCK     PyGILState_Release(_swig_thread_block)
 
909
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   PyThreadState *_swig_thread_allow = PyEval_SaveThread()
 
910
#      define SWIG_PYTHON_THREAD_END_ALLOW     PyEval_RestoreThread(_swig_thread_allow)
 
911
#    endif
 
912
#  else /* Old thread way, not implemented, user must provide it */
 
913
#    if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
 
914
#      define SWIG_PYTHON_INITIALIZE_THREADS
 
915
#    endif
 
916
#    if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
 
917
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK
 
918
#    endif
 
919
#    if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
 
920
#      define SWIG_PYTHON_THREAD_END_BLOCK
 
921
#    endif
 
922
#    if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
 
923
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW
 
924
#    endif
 
925
#    if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
 
926
#      define SWIG_PYTHON_THREAD_END_ALLOW
 
927
#    endif
 
928
#  endif
 
929
#else /* No thread support */
 
930
#  define SWIG_PYTHON_INITIALIZE_THREADS
 
931
#  define SWIG_PYTHON_THREAD_BEGIN_BLOCK
 
932
#  define SWIG_PYTHON_THREAD_END_BLOCK
 
933
#  define SWIG_PYTHON_THREAD_BEGIN_ALLOW
 
934
#  define SWIG_PYTHON_THREAD_END_ALLOW
 
935
#endif
 
936
 
 
937
/* -----------------------------------------------------------------------------
 
938
 * Python API portion that goes into the runtime
 
939
 * ----------------------------------------------------------------------------- */
 
940
 
 
941
#ifdef __cplusplus
 
942
extern "C" {
 
943
#if 0
 
944
} /* cc-mode */
 
945
#endif
 
946
#endif
 
947
 
 
948
/* -----------------------------------------------------------------------------
 
949
 * Constant declarations
 
950
 * ----------------------------------------------------------------------------- */
 
951
 
 
952
/* Constant Types */
 
953
#define SWIG_PY_POINTER 4
 
954
#define SWIG_PY_BINARY  5
 
955
 
 
956
/* Constant information structure */
 
957
typedef struct swig_const_info {
 
958
  int type;
 
959
  char *name;
 
960
  long lvalue;
 
961
  double dvalue;
 
962
  void   *pvalue;
 
963
  swig_type_info **ptype;
 
964
} swig_const_info;
 
965
 
 
966
#ifdef __cplusplus
 
967
#if 0
 
968
{ /* cc-mode */
 
969
#endif
 
970
}
 
971
#endif
 
972
 
 
973
 
 
974
/* -----------------------------------------------------------------------------
 
975
 * See the LICENSE file for information on copyright, usage and redistribution
 
976
 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
 
977
 *
 
978
 * pyrun.swg
 
979
 *
 
980
 * This file contains the runtime support for Python modules
 
981
 * and includes code for managing global variables and pointer
 
982
 * type checking.
 
983
 *
 
984
 * ----------------------------------------------------------------------------- */
 
985
 
 
986
/* Common SWIG API */
 
987
 
 
988
#if PY_VERSION_HEX < 0x02050000
 
989
typedef int Py_ssize_t;
 
990
#endif
 
991
 
 
992
/* for raw pointers */
 
993
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
 
994
#define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Python_ConvertPtr(obj, pptr, type, flags)
 
995
#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
 
996
#define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(ptr, type, flags)
 
997
#define SWIG_CheckImplicit(ty)                          SWIG_Python_CheckImplicit(ty) 
 
998
#define SWIG_AcquirePtr(ptr, src)                       SWIG_Python_AcquirePtr(ptr, src)
 
999
#define swig_owntype                                    int
 
1000
 
 
1001
/* for raw packed data */
 
1002
#define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
 
1003
#define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type)
 
1004
 
 
1005
/* for class or struct pointers */
 
1006
#define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags)
 
1007
#define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags)
 
1008
 
 
1009
/* for C or C++ function pointers */
 
1010
#define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
 
1011
#define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_Python_NewPointerObj(ptr, type, 0)
 
1012
 
 
1013
/* for C++ member pointers, ie, member methods */
 
1014
#define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
 
1015
#define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type)
 
1016
 
 
1017
 
 
1018
/* Runtime API */
 
1019
 
 
1020
#define SWIG_GetModule(clientdata)                      SWIG_Python_GetModule()
 
1021
#define SWIG_SetModule(clientdata, pointer)             SWIG_Python_SetModule(pointer)
 
1022
#define SWIG_NewClientData(obj)                         PySwigClientData_New(obj)
 
1023
 
 
1024
#define SWIG_SetErrorObj                                SWIG_Python_SetErrorObj                            
 
1025
#define SWIG_SetErrorMsg                                SWIG_Python_SetErrorMsg                            
 
1026
#define SWIG_ErrorType(code)                            SWIG_Python_ErrorType(code)                        
 
1027
#define SWIG_Error(code, msg)                           SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) 
 
1028
#define SWIG_fail                                       goto fail                                          
 
1029
 
 
1030
 
 
1031
/* Runtime API implementation */
 
1032
 
 
1033
/* Error manipulation */
 
1034
 
 
1035
SWIGINTERN void 
 
1036
SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
 
1037
  SWIG_PYTHON_THREAD_BEGIN_BLOCK; 
 
1038
  PyErr_SetObject(errtype, obj);
 
1039
  Py_DECREF(obj);
 
1040
  SWIG_PYTHON_THREAD_END_BLOCK;
 
1041
}
 
1042
 
 
1043
SWIGINTERN void 
 
1044
SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
 
1045
  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
 
1046
  PyErr_SetString(errtype, (char *) msg);
 
1047
  SWIG_PYTHON_THREAD_END_BLOCK;
 
1048
}
 
1049
 
 
1050
#define SWIG_Python_Raise(obj, type, desc)  SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
 
1051
 
 
1052
/* Set a constant value */
 
1053
 
 
1054
SWIGINTERN void
 
1055
SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {   
 
1056
  PyDict_SetItemString(d, (char*) name, obj);
 
1057
  Py_DECREF(obj);                            
 
1058
}
 
1059
 
 
1060
/* Append a value to the result obj */
 
1061
 
 
1062
SWIGINTERN PyObject*
 
1063
SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
 
1064
#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
 
1065
  if (!result) {
 
1066
    result = obj;
 
1067
  } else if (result == Py_None) {
 
1068
    Py_DECREF(result);
 
1069
    result = obj;
 
1070
  } else {
 
1071
    if (!PyList_Check(result)) {
 
1072
      PyObject *o2 = result;
 
1073
      result = PyList_New(1);
 
1074
      PyList_SetItem(result, 0, o2);
 
1075
    }
 
1076
    PyList_Append(result,obj);
 
1077
    Py_DECREF(obj);
 
1078
  }
 
1079
  return result;
 
1080
#else
 
1081
  PyObject*   o2;
 
1082
  PyObject*   o3;
 
1083
  if (!result) {
 
1084
    result = obj;
 
1085
  } else if (result == Py_None) {
 
1086
    Py_DECREF(result);
 
1087
    result = obj;
 
1088
  } else {
 
1089
    if (!PyTuple_Check(result)) {
 
1090
      o2 = result;
 
1091
      result = PyTuple_New(1);
 
1092
      PyTuple_SET_ITEM(result, 0, o2);
 
1093
    }
 
1094
    o3 = PyTuple_New(1);
 
1095
    PyTuple_SET_ITEM(o3, 0, obj);
 
1096
    o2 = result;
 
1097
    result = PySequence_Concat(o2, o3);
 
1098
    Py_DECREF(o2);
 
1099
    Py_DECREF(o3);
 
1100
  }
 
1101
  return result;
 
1102
#endif
 
1103
}
 
1104
 
 
1105
/* Unpack the argument tuple */
 
1106
 
 
1107
SWIGINTERN int
 
1108
SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
 
1109
{
 
1110
  if (!args) {
 
1111
    if (!min && !max) {
 
1112
      return 1;
 
1113
    } else {
 
1114
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", 
 
1115
                   name, (min == max ? "" : "at least "), min);
 
1116
      return 0;
 
1117
    }
 
1118
  }  
 
1119
  if (!PyTuple_Check(args)) {
 
1120
    PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
 
1121
    return 0;
 
1122
  } else {
 
1123
    register int l = PyTuple_GET_SIZE(args);
 
1124
    if (l < min) {
 
1125
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
 
1126
                   name, (min == max ? "" : "at least "), min, l);
 
1127
      return 0;
 
1128
    } else if (l > max) {
 
1129
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
 
1130
                   name, (min == max ? "" : "at most "), max, l);
 
1131
      return 0;
 
1132
    } else {
 
1133
      register int i;
 
1134
      for (i = 0; i < l; ++i) {
 
1135
        objs[i] = PyTuple_GET_ITEM(args, i);
 
1136
      }
 
1137
      for (; l < max; ++l) {
 
1138
        objs[l] = 0;
 
1139
      }
 
1140
      return i + 1;
 
1141
    }    
 
1142
  }
 
1143
}
 
1144
 
 
1145
/* A functor is a function object with one single object argument */
 
1146
#if PY_VERSION_HEX >= 0x02020000
 
1147
#define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunctionObjArgs(functor, obj, NULL);
 
1148
#else
 
1149
#define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunction(functor, "O", obj);
 
1150
#endif
 
1151
 
 
1152
/*
 
1153
  Helper for static pointer initialization for both C and C++ code, for example
 
1154
  static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
 
1155
*/
 
1156
#ifdef __cplusplus
 
1157
#define SWIG_STATIC_POINTER(var)  var
 
1158
#else
 
1159
#define SWIG_STATIC_POINTER(var)  var = 0; if (!var) var
 
1160
#endif
 
1161
 
 
1162
/* -----------------------------------------------------------------------------
 
1163
 * Pointer declarations
 
1164
 * ----------------------------------------------------------------------------- */
 
1165
 
 
1166
/* Flags for new pointer objects */
 
1167
#define SWIG_POINTER_NOSHADOW       (SWIG_POINTER_OWN      << 1)
 
1168
#define SWIG_POINTER_NEW            (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
 
1169
 
 
1170
#define SWIG_POINTER_IMPLICIT_CONV  (SWIG_POINTER_DISOWN   << 1)
 
1171
 
 
1172
#ifdef __cplusplus
 
1173
extern "C" {
 
1174
#if 0
 
1175
} /* cc-mode */
 
1176
#endif
 
1177
#endif
 
1178
 
 
1179
/*  How to access Py_None */
 
1180
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
 
1181
#  ifndef SWIG_PYTHON_NO_BUILD_NONE
 
1182
#    ifndef SWIG_PYTHON_BUILD_NONE
 
1183
#      define SWIG_PYTHON_BUILD_NONE
 
1184
#    endif
 
1185
#  endif
 
1186
#endif
 
1187
 
 
1188
#ifdef SWIG_PYTHON_BUILD_NONE
 
1189
#  ifdef Py_None
 
1190
#   undef Py_None
 
1191
#   define Py_None SWIG_Py_None()
 
1192
#  endif
 
1193
SWIGRUNTIMEINLINE PyObject * 
 
1194
_SWIG_Py_None(void)
 
1195
{
 
1196
  PyObject *none = Py_BuildValue("");
 
1197
  Py_DECREF(none);
 
1198
  return none;
 
1199
}
 
1200
SWIGRUNTIME PyObject * 
 
1201
SWIG_Py_None(void)
 
1202
{
 
1203
  static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
 
1204
  return none;
 
1205
}
 
1206
#endif
 
1207
 
 
1208
/* The python void return value */
 
1209
 
 
1210
SWIGRUNTIMEINLINE PyObject * 
 
1211
SWIG_Py_Void(void)
 
1212
{
 
1213
  PyObject *none = Py_None;
 
1214
  Py_INCREF(none);
 
1215
  return none;
 
1216
}
 
1217
 
 
1218
/* PySwigClientData */
 
1219
 
 
1220
typedef struct {
 
1221
  PyObject *klass;
 
1222
  PyObject *newraw;
 
1223
  PyObject *newargs;
 
1224
  PyObject *destroy;
 
1225
  int delargs;
 
1226
  int implicitconv;
 
1227
} PySwigClientData;
 
1228
 
 
1229
SWIGRUNTIMEINLINE int 
 
1230
SWIG_Python_CheckImplicit(swig_type_info *ty)
 
1231
{
 
1232
  PySwigClientData *data = (PySwigClientData *)ty->clientdata;
 
1233
  return data ? data->implicitconv : 0;
 
1234
}
 
1235
 
 
1236
SWIGRUNTIMEINLINE PyObject *
 
1237
SWIG_Python_ExceptionType(swig_type_info *desc) {
 
1238
  PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
 
1239
  PyObject *klass = data ? data->klass : 0;
 
1240
  return (klass ? klass : PyExc_RuntimeError);
 
1241
}
 
1242
 
 
1243
 
 
1244
SWIGRUNTIME PySwigClientData * 
 
1245
PySwigClientData_New(PyObject* obj)
 
1246
{
 
1247
  if (!obj) {
 
1248
    return 0;
 
1249
  } else {
 
1250
    PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
 
1251
    /* the klass element */
 
1252
    data->klass = obj;
 
1253
    Py_INCREF(data->klass);
 
1254
    /* the newraw method and newargs arguments used to create a new raw instance */
 
1255
    if (PyClass_Check(obj)) {
 
1256
      data->newraw = 0;
 
1257
      data->newargs = obj;
 
1258
      Py_INCREF(obj);
 
1259
    } else {
 
1260
#if (PY_VERSION_HEX < 0x02020000)
 
1261
      data->newraw = 0;
 
1262
#else
 
1263
      data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
 
1264
#endif
 
1265
      if (data->newraw) {
 
1266
        Py_INCREF(data->newraw);
 
1267
        data->newargs = PyTuple_New(1);
 
1268
        PyTuple_SetItem(data->newargs, 0, obj);
 
1269
      } else {
 
1270
        data->newargs = obj;
 
1271
      }
 
1272
      Py_INCREF(data->newargs);
 
1273
    }
 
1274
    /* the destroy method, aka as the C++ delete method */
 
1275
    data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
 
1276
    if (PyErr_Occurred()) {
 
1277
      PyErr_Clear();
 
1278
      data->destroy = 0;
 
1279
    }
 
1280
    if (data->destroy) {
 
1281
      int flags;
 
1282
      Py_INCREF(data->destroy);
 
1283
      flags = PyCFunction_GET_FLAGS(data->destroy);
 
1284
#ifdef METH_O
 
1285
      data->delargs = !(flags & (METH_O));
 
1286
#else
 
1287
      data->delargs = 0;
 
1288
#endif
 
1289
    } else {
 
1290
      data->delargs = 0;
 
1291
    }
 
1292
    data->implicitconv = 0;
 
1293
    return data;
 
1294
  }
 
1295
}
 
1296
 
 
1297
SWIGRUNTIME void 
 
1298
PySwigClientData_Del(PySwigClientData* data)
 
1299
{
 
1300
  Py_XDECREF(data->newraw);
 
1301
  Py_XDECREF(data->newargs);
 
1302
  Py_XDECREF(data->destroy);
 
1303
}
 
1304
 
 
1305
/* =============== PySwigObject =====================*/
 
1306
 
 
1307
typedef struct {
 
1308
  PyObject_HEAD
 
1309
  void *ptr;
 
1310
  swig_type_info *ty;
 
1311
  int own;
 
1312
  PyObject *next;
 
1313
} PySwigObject;
 
1314
 
 
1315
SWIGRUNTIME PyObject *
 
1316
PySwigObject_long(PySwigObject *v)
 
1317
{
 
1318
  return PyLong_FromVoidPtr(v->ptr);
 
1319
}
 
1320
 
 
1321
SWIGRUNTIME PyObject *
 
1322
PySwigObject_format(const char* fmt, PySwigObject *v)
 
1323
{
 
1324
  PyObject *res = NULL;
 
1325
  PyObject *args = PyTuple_New(1);
 
1326
  if (args) {
 
1327
    if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
 
1328
      PyObject *ofmt = PyString_FromString(fmt);
 
1329
      if (ofmt) {
 
1330
        res = PyString_Format(ofmt,args);
 
1331
        Py_DECREF(ofmt);
 
1332
      }
 
1333
      Py_DECREF(args);
 
1334
    }
 
1335
  }
 
1336
  return res;
 
1337
}
 
1338
 
 
1339
SWIGRUNTIME PyObject *
 
1340
PySwigObject_oct(PySwigObject *v)
 
1341
{
 
1342
  return PySwigObject_format("%o",v);
 
1343
}
 
1344
 
 
1345
SWIGRUNTIME PyObject *
 
1346
PySwigObject_hex(PySwigObject *v)
 
1347
{
 
1348
  return PySwigObject_format("%x",v);
 
1349
}
 
1350
 
 
1351
SWIGRUNTIME PyObject *
 
1352
#ifdef METH_NOARGS
 
1353
PySwigObject_repr(PySwigObject *v)
 
1354
#else
 
1355
PySwigObject_repr(PySwigObject *v, PyObject *args)
 
1356
#endif
 
1357
{
 
1358
  const char *name = SWIG_TypePrettyName(v->ty);
 
1359
  PyObject *hex = PySwigObject_hex(v);    
 
1360
  PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
 
1361
  Py_DECREF(hex);
 
1362
  if (v->next) {
 
1363
#ifdef METH_NOARGS
 
1364
    PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
 
1365
#else
 
1366
    PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
 
1367
#endif
 
1368
    PyString_ConcatAndDel(&repr,nrep);
 
1369
  }
 
1370
  return repr;  
 
1371
}
 
1372
 
 
1373
SWIGRUNTIME int
 
1374
PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
 
1375
{
 
1376
#ifdef METH_NOARGS
 
1377
  PyObject *repr = PySwigObject_repr(v);
 
1378
#else
 
1379
  PyObject *repr = PySwigObject_repr(v, NULL);
 
1380
#endif
 
1381
  if (repr) {
 
1382
    fputs(PyString_AsString(repr), fp);
 
1383
    Py_DECREF(repr);
 
1384
    return 0; 
 
1385
  } else {
 
1386
    return 1; 
 
1387
  }
 
1388
}
 
1389
 
 
1390
SWIGRUNTIME PyObject *
 
1391
PySwigObject_str(PySwigObject *v)
 
1392
{
 
1393
  char result[SWIG_BUFFER_SIZE];
 
1394
  return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
 
1395
    PyString_FromString(result) : 0;
 
1396
}
 
1397
 
 
1398
SWIGRUNTIME int
 
1399
PySwigObject_compare(PySwigObject *v, PySwigObject *w)
 
1400
{
 
1401
  void *i = v->ptr;
 
1402
  void *j = w->ptr;
 
1403
  return (i < j) ? -1 : ((i > j) ? 1 : 0);
 
1404
}
 
1405
 
 
1406
SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
 
1407
 
 
1408
SWIGRUNTIME PyTypeObject*
 
1409
PySwigObject_type(void) {
 
1410
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
 
1411
  return type;
 
1412
}
 
1413
 
 
1414
SWIGRUNTIMEINLINE int
 
1415
PySwigObject_Check(PyObject *op) {
 
1416
  return ((op)->ob_type == PySwigObject_type())
 
1417
    || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
 
1418
}
 
1419
 
 
1420
SWIGRUNTIME PyObject *
 
1421
PySwigObject_New(void *ptr, swig_type_info *ty, int own);
 
1422
 
 
1423
SWIGRUNTIME void
 
1424
PySwigObject_dealloc(PyObject *v)
 
1425
{
 
1426
  PySwigObject *sobj = (PySwigObject *) v;
 
1427
  PyObject *next = sobj->next;
 
1428
  if (sobj->own) {
 
1429
    swig_type_info *ty = sobj->ty;
 
1430
    PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
 
1431
    PyObject *destroy = data ? data->destroy : 0;
 
1432
    if (destroy) {
 
1433
      /* destroy is always a VARARGS method */
 
1434
      PyObject *res;
 
1435
      if (data->delargs) {
 
1436
        /* we need to create a temporal object to carry the destroy operation */
 
1437
        PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
 
1438
        res = SWIG_Python_CallFunctor(destroy, tmp);
 
1439
        Py_DECREF(tmp);
 
1440
      } else {
 
1441
        PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
 
1442
        PyObject *mself = PyCFunction_GET_SELF(destroy);
 
1443
        res = ((*meth)(mself, v));
 
1444
      }
 
1445
      Py_XDECREF(res);
 
1446
    } else {
 
1447
      const char *name = SWIG_TypePrettyName(ty);
 
1448
#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
 
1449
      printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
 
1450
#endif
 
1451
    }
 
1452
  } 
 
1453
  Py_XDECREF(next);
 
1454
  PyObject_DEL(v);
 
1455
}
 
1456
 
 
1457
SWIGRUNTIME PyObject* 
 
1458
PySwigObject_append(PyObject* v, PyObject* next)
 
1459
{
 
1460
  PySwigObject *sobj = (PySwigObject *) v;
 
1461
#ifndef METH_O
 
1462
  PyObject *tmp = 0;
 
1463
  if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
 
1464
  next = tmp;
 
1465
#endif
 
1466
  if (!PySwigObject_Check(next)) {
 
1467
    return NULL;
 
1468
  }
 
1469
  sobj->next = next;
 
1470
  Py_INCREF(next);
 
1471
  return SWIG_Py_Void();
 
1472
}
 
1473
 
 
1474
SWIGRUNTIME PyObject* 
 
1475
#ifdef METH_NOARGS
 
1476
PySwigObject_next(PyObject* v)
 
1477
#else
 
1478
PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
 
1479
#endif
 
1480
{
 
1481
  PySwigObject *sobj = (PySwigObject *) v;
 
1482
  if (sobj->next) {    
 
1483
    Py_INCREF(sobj->next);
 
1484
    return sobj->next;
 
1485
  } else {
 
1486
    return SWIG_Py_Void();
 
1487
  }
 
1488
}
 
1489
 
 
1490
SWIGINTERN PyObject*
 
1491
#ifdef METH_NOARGS
 
1492
PySwigObject_disown(PyObject *v)
 
1493
#else
 
1494
PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
 
1495
#endif
 
1496
{
 
1497
  PySwigObject *sobj = (PySwigObject *)v;
 
1498
  sobj->own = 0;
 
1499
  return SWIG_Py_Void();
 
1500
}
 
1501
 
 
1502
SWIGINTERN PyObject*
 
1503
#ifdef METH_NOARGS
 
1504
PySwigObject_acquire(PyObject *v)
 
1505
#else
 
1506
PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
 
1507
#endif
 
1508
{
 
1509
  PySwigObject *sobj = (PySwigObject *)v;
 
1510
  sobj->own = SWIG_POINTER_OWN;
 
1511
  return SWIG_Py_Void();
 
1512
}
 
1513
 
 
1514
SWIGINTERN PyObject*
 
1515
PySwigObject_own(PyObject *v, PyObject *args)
 
1516
{
 
1517
  PyObject *val = 0;
 
1518
#if (PY_VERSION_HEX < 0x02020000)
 
1519
  if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
 
1520
#else
 
1521
  if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) 
 
1522
#endif
 
1523
    {
 
1524
      return NULL;
 
1525
    } 
 
1526
  else
 
1527
    {
 
1528
      PySwigObject *sobj = (PySwigObject *)v;
 
1529
      PyObject *obj = PyBool_FromLong(sobj->own);
 
1530
      if (val) {
 
1531
#ifdef METH_NOARGS
 
1532
        if (PyObject_IsTrue(val)) {
 
1533
          PySwigObject_acquire(v);
 
1534
        } else {
 
1535
          PySwigObject_disown(v);
 
1536
        }
 
1537
#else
 
1538
        if (PyObject_IsTrue(val)) {
 
1539
          PySwigObject_acquire(v,args);
 
1540
        } else {
 
1541
          PySwigObject_disown(v,args);
 
1542
        }
 
1543
#endif
 
1544
      } 
 
1545
      return obj;
 
1546
    }
 
1547
}
 
1548
 
 
1549
#ifdef METH_O
 
1550
static PyMethodDef
 
1551
swigobject_methods[] = {
 
1552
  {(char *)"disown",  (PyCFunction)PySwigObject_disown,  METH_NOARGS,  (char *)"releases ownership of the pointer"},
 
1553
  {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS,  (char *)"aquires ownership of the pointer"},
 
1554
  {(char *)"own",     (PyCFunction)PySwigObject_own,     METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
 
1555
  {(char *)"append",  (PyCFunction)PySwigObject_append,  METH_O,       (char *)"appends another 'this' object"},
 
1556
  {(char *)"next",    (PyCFunction)PySwigObject_next,    METH_NOARGS,  (char *)"returns the next 'this' object"},
 
1557
  {(char *)"__repr__",(PyCFunction)PySwigObject_repr,    METH_NOARGS,  (char *)"returns object representation"},
 
1558
  {0, 0, 0, 0}  
 
1559
};
 
1560
#else
 
1561
static PyMethodDef
 
1562
swigobject_methods[] = {
 
1563
  {(char *)"disown",  (PyCFunction)PySwigObject_disown,  METH_VARARGS,  (char *)"releases ownership of the pointer"},
 
1564
  {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS,  (char *)"aquires ownership of the pointer"},
 
1565
  {(char *)"own",     (PyCFunction)PySwigObject_own,     METH_VARARGS,  (char *)"returns/sets ownership of the pointer"},
 
1566
  {(char *)"append",  (PyCFunction)PySwigObject_append,  METH_VARARGS,  (char *)"appends another 'this' object"},
 
1567
  {(char *)"next",    (PyCFunction)PySwigObject_next,    METH_VARARGS,  (char *)"returns the next 'this' object"},
 
1568
  {(char *)"__repr__",(PyCFunction)PySwigObject_repr,   METH_VARARGS,  (char *)"returns object representation"},
 
1569
  {0, 0, 0, 0}  
 
1570
};
 
1571
#endif
 
1572
 
 
1573
#if PY_VERSION_HEX < 0x02020000
 
1574
SWIGINTERN PyObject *
 
1575
PySwigObject_getattr(PySwigObject *sobj,char *name)
 
1576
{
 
1577
  return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
 
1578
}
 
1579
#endif
 
1580
 
 
1581
SWIGRUNTIME PyTypeObject*
 
1582
_PySwigObject_type(void) {
 
1583
  static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
 
1584
  
 
1585
  static PyNumberMethods PySwigObject_as_number = {
 
1586
    (binaryfunc)0, /*nb_add*/
 
1587
    (binaryfunc)0, /*nb_subtract*/
 
1588
    (binaryfunc)0, /*nb_multiply*/
 
1589
    (binaryfunc)0, /*nb_divide*/
 
1590
    (binaryfunc)0, /*nb_remainder*/
 
1591
    (binaryfunc)0, /*nb_divmod*/
 
1592
    (ternaryfunc)0,/*nb_power*/
 
1593
    (unaryfunc)0,  /*nb_negative*/
 
1594
    (unaryfunc)0,  /*nb_positive*/
 
1595
    (unaryfunc)0,  /*nb_absolute*/
 
1596
    (inquiry)0,    /*nb_nonzero*/
 
1597
    0,             /*nb_invert*/
 
1598
    0,             /*nb_lshift*/
 
1599
    0,             /*nb_rshift*/
 
1600
    0,             /*nb_and*/
 
1601
    0,             /*nb_xor*/
 
1602
    0,             /*nb_or*/
 
1603
    (coercion)0,   /*nb_coerce*/
 
1604
    (unaryfunc)PySwigObject_long, /*nb_int*/
 
1605
    (unaryfunc)PySwigObject_long, /*nb_long*/
 
1606
    (unaryfunc)0,                 /*nb_float*/
 
1607
    (unaryfunc)PySwigObject_oct,  /*nb_oct*/
 
1608
    (unaryfunc)PySwigObject_hex,  /*nb_hex*/
 
1609
#if PY_VERSION_HEX >= 0x02020000
 
1610
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ 
 
1611
#elif PY_VERSION_HEX >= 0x02000000
 
1612
    0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
 
1613
#endif
 
1614
  };
 
1615
 
 
1616
  static PyTypeObject pyswigobject_type;  
 
1617
  static int type_init = 0;
 
1618
  if (!type_init) {
 
1619
    const PyTypeObject tmp
 
1620
      = {
 
1621
        PyObject_HEAD_INIT(NULL)
 
1622
        0,                                  /* ob_size */
 
1623
        (char *)"PySwigObject",             /* tp_name */
 
1624
        sizeof(PySwigObject),               /* tp_basicsize */
 
1625
        0,                                  /* tp_itemsize */
 
1626
        (destructor)PySwigObject_dealloc,   /* tp_dealloc */
 
1627
        (printfunc)PySwigObject_print,      /* tp_print */
 
1628
#if PY_VERSION_HEX < 0x02020000
 
1629
        (getattrfunc)PySwigObject_getattr,  /* tp_getattr */ 
 
1630
#else
 
1631
        (getattrfunc)0,                     /* tp_getattr */ 
 
1632
#endif
 
1633
        (setattrfunc)0,                     /* tp_setattr */ 
 
1634
        (cmpfunc)PySwigObject_compare,      /* tp_compare */ 
 
1635
        (reprfunc)PySwigObject_repr,        /* tp_repr */    
 
1636
        &PySwigObject_as_number,            /* tp_as_number */
 
1637
        0,                                  /* tp_as_sequence */
 
1638
        0,                                  /* tp_as_mapping */
 
1639
        (hashfunc)0,                        /* tp_hash */
 
1640
        (ternaryfunc)0,                     /* tp_call */
 
1641
        (reprfunc)PySwigObject_str,         /* tp_str */
 
1642
        PyObject_GenericGetAttr,            /* tp_getattro */
 
1643
        0,                                  /* tp_setattro */
 
1644
        0,                                  /* tp_as_buffer */
 
1645
        Py_TPFLAGS_DEFAULT,                 /* tp_flags */
 
1646
        swigobject_doc,                     /* tp_doc */        
 
1647
        0,                                  /* tp_traverse */
 
1648
        0,                                  /* tp_clear */
 
1649
        0,                                  /* tp_richcompare */
 
1650
        0,                                  /* tp_weaklistoffset */
 
1651
#if PY_VERSION_HEX >= 0x02020000
 
1652
        0,                                  /* tp_iter */
 
1653
        0,                                  /* tp_iternext */
 
1654
        swigobject_methods,                 /* tp_methods */ 
 
1655
        0,                                  /* tp_members */
 
1656
        0,                                  /* tp_getset */             
 
1657
        0,                                  /* tp_base */               
 
1658
        0,                                  /* tp_dict */               
 
1659
        0,                                  /* tp_descr_get */          
 
1660
        0,                                  /* tp_descr_set */          
 
1661
        0,                                  /* tp_dictoffset */         
 
1662
        0,                                  /* tp_init */               
 
1663
        0,                                  /* tp_alloc */              
 
1664
        0,                                  /* tp_new */                
 
1665
        0,                                  /* tp_free */          
 
1666
        0,                                  /* tp_is_gc */  
 
1667
        0,                                  /* tp_bases */   
 
1668
        0,                                  /* tp_mro */
 
1669
        0,                                  /* tp_cache */   
 
1670
        0,                                  /* tp_subclasses */
 
1671
        0,                                  /* tp_weaklist */
 
1672
#endif
 
1673
#if PY_VERSION_HEX >= 0x02030000
 
1674
        0,                                  /* tp_del */
 
1675
#endif
 
1676
#ifdef COUNT_ALLOCS
 
1677
        0,0,0,0                             /* tp_alloc -> tp_next */
 
1678
#endif
 
1679
      };
 
1680
    pyswigobject_type = tmp;
 
1681
    pyswigobject_type.ob_type = &PyType_Type;
 
1682
    type_init = 1;
 
1683
  }
 
1684
  return &pyswigobject_type;
 
1685
}
 
1686
 
 
1687
SWIGRUNTIME PyObject *
 
1688
PySwigObject_New(void *ptr, swig_type_info *ty, int own)
 
1689
{
 
1690
  PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
 
1691
  if (sobj) {
 
1692
    sobj->ptr  = ptr;
 
1693
    sobj->ty   = ty;
 
1694
    sobj->own  = own;
 
1695
    sobj->next = 0;
 
1696
  }
 
1697
  return (PyObject *)sobj;
 
1698
}
 
1699
 
 
1700
/* -----------------------------------------------------------------------------
 
1701
 * Implements a simple Swig Packed type, and use it instead of string
 
1702
 * ----------------------------------------------------------------------------- */
 
1703
 
 
1704
typedef struct {
 
1705
  PyObject_HEAD
 
1706
  void *pack;
 
1707
  swig_type_info *ty;
 
1708
  size_t size;
 
1709
} PySwigPacked;
 
1710
 
 
1711
SWIGRUNTIME int
 
1712
PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
 
1713
{
 
1714
  char result[SWIG_BUFFER_SIZE];
 
1715
  fputs("<Swig Packed ", fp); 
 
1716
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
 
1717
    fputs("at ", fp); 
 
1718
    fputs(result, fp); 
 
1719
  }
 
1720
  fputs(v->ty->name,fp); 
 
1721
  fputs(">", fp);
 
1722
  return 0; 
 
1723
}
 
1724
  
 
1725
SWIGRUNTIME PyObject *
 
1726
PySwigPacked_repr(PySwigPacked *v)
 
1727
{
 
1728
  char result[SWIG_BUFFER_SIZE];
 
1729
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
 
1730
    return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
 
1731
  } else {
 
1732
    return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
 
1733
  }  
 
1734
}
 
1735
 
 
1736
SWIGRUNTIME PyObject *
 
1737
PySwigPacked_str(PySwigPacked *v)
 
1738
{
 
1739
  char result[SWIG_BUFFER_SIZE];
 
1740
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
 
1741
    return PyString_FromFormat("%s%s", result, v->ty->name);
 
1742
  } else {
 
1743
    return PyString_FromString(v->ty->name);
 
1744
  }  
 
1745
}
 
1746
 
 
1747
SWIGRUNTIME int
 
1748
PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
 
1749
{
 
1750
  size_t i = v->size;
 
1751
  size_t j = w->size;
 
1752
  int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
 
1753
  return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
 
1754
}
 
1755
 
 
1756
SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
 
1757
 
 
1758
SWIGRUNTIME PyTypeObject*
 
1759
PySwigPacked_type(void) {
 
1760
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
 
1761
  return type;
 
1762
}
 
1763
 
 
1764
SWIGRUNTIMEINLINE int
 
1765
PySwigPacked_Check(PyObject *op) {
 
1766
  return ((op)->ob_type == _PySwigPacked_type()) 
 
1767
    || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
 
1768
}
 
1769
 
 
1770
SWIGRUNTIME void
 
1771
PySwigPacked_dealloc(PyObject *v)
 
1772
{
 
1773
  if (PySwigPacked_Check(v)) {
 
1774
    PySwigPacked *sobj = (PySwigPacked *) v;
 
1775
    free(sobj->pack);
 
1776
  }
 
1777
  PyObject_DEL(v);
 
1778
}
 
1779
 
 
1780
SWIGRUNTIME PyTypeObject*
 
1781
_PySwigPacked_type(void) {
 
1782
  static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
 
1783
  static PyTypeObject pyswigpacked_type;
 
1784
  static int type_init = 0;  
 
1785
  if (!type_init) {
 
1786
    const PyTypeObject tmp
 
1787
      = {
 
1788
        PyObject_HEAD_INIT(NULL)
 
1789
        0,                                  /* ob_size */       
 
1790
        (char *)"PySwigPacked",             /* tp_name */       
 
1791
        sizeof(PySwigPacked),               /* tp_basicsize */  
 
1792
        0,                                  /* tp_itemsize */   
 
1793
        (destructor)PySwigPacked_dealloc,   /* tp_dealloc */    
 
1794
        (printfunc)PySwigPacked_print,      /* tp_print */      
 
1795
        (getattrfunc)0,                     /* tp_getattr */    
 
1796
        (setattrfunc)0,                     /* tp_setattr */    
 
1797
        (cmpfunc)PySwigPacked_compare,      /* tp_compare */    
 
1798
        (reprfunc)PySwigPacked_repr,        /* tp_repr */       
 
1799
        0,                                  /* tp_as_number */  
 
1800
        0,                                  /* tp_as_sequence */
 
1801
        0,                                  /* tp_as_mapping */ 
 
1802
        (hashfunc)0,                        /* tp_hash */       
 
1803
        (ternaryfunc)0,                     /* tp_call */       
 
1804
        (reprfunc)PySwigPacked_str,         /* tp_str */        
 
1805
        PyObject_GenericGetAttr,            /* tp_getattro */
 
1806
        0,                                  /* tp_setattro */
 
1807
        0,                                  /* tp_as_buffer */
 
1808
        Py_TPFLAGS_DEFAULT,                 /* tp_flags */
 
1809
        swigpacked_doc,                     /* tp_doc */
 
1810
        0,                                  /* tp_traverse */
 
1811
        0,                                  /* tp_clear */
 
1812
        0,                                  /* tp_richcompare */
 
1813
        0,                                  /* tp_weaklistoffset */
 
1814
#if PY_VERSION_HEX >= 0x02020000
 
1815
        0,                                  /* tp_iter */
 
1816
        0,                                  /* tp_iternext */
 
1817
        0,                                  /* tp_methods */ 
 
1818
        0,                                  /* tp_members */
 
1819
        0,                                  /* tp_getset */             
 
1820
        0,                                  /* tp_base */               
 
1821
        0,                                  /* tp_dict */               
 
1822
        0,                                  /* tp_descr_get */          
 
1823
        0,                                  /* tp_descr_set */          
 
1824
        0,                                  /* tp_dictoffset */         
 
1825
        0,                                  /* tp_init */               
 
1826
        0,                                  /* tp_alloc */              
 
1827
        0,                                  /* tp_new */                
 
1828
        0,                                  /* tp_free */          
 
1829
        0,                                  /* tp_is_gc */  
 
1830
        0,                                  /* tp_bases */   
 
1831
        0,                                  /* tp_mro */
 
1832
        0,                                  /* tp_cache */   
 
1833
        0,                                  /* tp_subclasses */
 
1834
        0,                                  /* tp_weaklist */
 
1835
#endif
 
1836
#if PY_VERSION_HEX >= 0x02030000
 
1837
        0,                                  /* tp_del */
 
1838
#endif
 
1839
#ifdef COUNT_ALLOCS
 
1840
        0,0,0,0                             /* tp_alloc -> tp_next */
 
1841
#endif
 
1842
      };
 
1843
    pyswigpacked_type = tmp;
 
1844
    pyswigpacked_type.ob_type = &PyType_Type;
 
1845
    type_init = 1;
 
1846
  }
 
1847
  return &pyswigpacked_type;
 
1848
}
 
1849
 
 
1850
SWIGRUNTIME PyObject *
 
1851
PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
 
1852
{
 
1853
  PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
 
1854
  if (sobj) {
 
1855
    void *pack = malloc(size);
 
1856
    if (pack) {
 
1857
      memcpy(pack, ptr, size);
 
1858
      sobj->pack = pack;
 
1859
      sobj->ty   = ty;
 
1860
      sobj->size = size;
 
1861
    } else {
 
1862
      PyObject_DEL((PyObject *) sobj);
 
1863
      sobj = 0;
 
1864
    }
 
1865
  }
 
1866
  return (PyObject *) sobj;
 
1867
}
 
1868
 
 
1869
SWIGRUNTIME swig_type_info *
 
1870
PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
 
1871
{
 
1872
  if (PySwigPacked_Check(obj)) {
 
1873
    PySwigPacked *sobj = (PySwigPacked *)obj;
 
1874
    if (sobj->size != size) return 0;
 
1875
    memcpy(ptr, sobj->pack, size);
 
1876
    return sobj->ty;
 
1877
  } else {
 
1878
    return 0;
 
1879
  }
 
1880
}
 
1881
 
 
1882
/* -----------------------------------------------------------------------------
 
1883
 * pointers/data manipulation
 
1884
 * ----------------------------------------------------------------------------- */
 
1885
 
 
1886
SWIGRUNTIMEINLINE PyObject *
 
1887
_SWIG_This(void)
 
1888
{
 
1889
  return PyString_FromString("this");
 
1890
}
 
1891
 
 
1892
SWIGRUNTIME PyObject *
 
1893
SWIG_This(void)
 
1894
{
 
1895
  static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
 
1896
  return swig_this;
 
1897
}
 
1898
 
 
1899
/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
 
1900
 
 
1901
SWIGRUNTIME PySwigObject *
 
1902
SWIG_Python_GetSwigThis(PyObject *pyobj) 
 
1903
{
 
1904
  if (PySwigObject_Check(pyobj)) {
 
1905
    return (PySwigObject *) pyobj;
 
1906
  } else {
 
1907
    PyObject *obj = 0;
 
1908
#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
 
1909
    if (PyInstance_Check(pyobj)) {
 
1910
      obj = _PyInstance_Lookup(pyobj, SWIG_This());      
 
1911
    } else {
 
1912
      PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
 
1913
      if (dictptr != NULL) {
 
1914
        PyObject *dict = *dictptr;
 
1915
        obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
 
1916
      } else {
 
1917
#ifdef PyWeakref_CheckProxy
 
1918
        if (PyWeakref_CheckProxy(pyobj)) {
 
1919
          PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
 
1920
          return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
 
1921
        }
 
1922
#endif
 
1923
        obj = PyObject_GetAttr(pyobj,SWIG_This());
 
1924
        if (obj) {
 
1925
          Py_DECREF(obj);
 
1926
        } else {
 
1927
          if (PyErr_Occurred()) PyErr_Clear();
 
1928
          return 0;
 
1929
        }
 
1930
      }
 
1931
    }
 
1932
#else
 
1933
    obj = PyObject_GetAttr(pyobj,SWIG_This());
 
1934
    if (obj) {
 
1935
      Py_DECREF(obj);
 
1936
    } else {
 
1937
      if (PyErr_Occurred()) PyErr_Clear();
 
1938
      return 0;
 
1939
    }
 
1940
#endif
 
1941
    if (obj && !PySwigObject_Check(obj)) {
 
1942
      /* a PyObject is called 'this', try to get the 'real this'
 
1943
         PySwigObject from it */ 
 
1944
      return SWIG_Python_GetSwigThis(obj);
 
1945
    }
 
1946
    return (PySwigObject *)obj;
 
1947
  }
 
1948
}
 
1949
 
 
1950
/* Acquire a pointer value */
 
1951
 
 
1952
SWIGRUNTIME int
 
1953
SWIG_Python_AcquirePtr(PyObject *obj, int own) {
 
1954
  if (own) {
 
1955
    PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
 
1956
    if (sobj) {
 
1957
      int oldown = sobj->own;
 
1958
      sobj->own = own;
 
1959
      return oldown;
 
1960
    }
 
1961
  }
 
1962
  return 0;
 
1963
}
 
1964
 
 
1965
/* Convert a pointer value */
 
1966
 
 
1967
SWIGRUNTIME int
 
1968
SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
 
1969
  if (!obj) return SWIG_ERROR;
 
1970
  if (obj == Py_None) {
 
1971
    if (ptr) *ptr = 0;
 
1972
    return SWIG_OK;
 
1973
  } else {
 
1974
    PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
 
1975
    while (sobj) {
 
1976
      void *vptr = sobj->ptr;
 
1977
      if (ty) {
 
1978
        swig_type_info *to = sobj->ty;
 
1979
        if (to == ty) {
 
1980
          /* no type cast needed */
 
1981
          if (ptr) *ptr = vptr;
 
1982
          break;
 
1983
        } else {
 
1984
          swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
 
1985
          if (!tc) {
 
1986
            sobj = (PySwigObject *)sobj->next;
 
1987
          } else {
 
1988
            if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
 
1989
            break;
 
1990
          }
 
1991
        }
 
1992
      } else {
 
1993
        if (ptr) *ptr = vptr;
 
1994
        break;
 
1995
      }
 
1996
    }
 
1997
    if (sobj) {
 
1998
      if (own) *own = sobj->own;
 
1999
      if (flags & SWIG_POINTER_DISOWN) {
 
2000
        sobj->own = 0;
 
2001
      }
 
2002
      return SWIG_OK;
 
2003
    } else {
 
2004
      int res = SWIG_ERROR;
 
2005
      if (flags & SWIG_POINTER_IMPLICIT_CONV) {
 
2006
        PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
 
2007
        if (data && !data->implicitconv) {
 
2008
          PyObject *klass = data->klass;
 
2009
          if (klass) {
 
2010
            PyObject *impconv;
 
2011
            data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
 
2012
            impconv = SWIG_Python_CallFunctor(klass, obj);
 
2013
            data->implicitconv = 0;
 
2014
            if (PyErr_Occurred()) {
 
2015
              PyErr_Clear();
 
2016
              impconv = 0;
 
2017
            }
 
2018
            if (impconv) {
 
2019
              PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
 
2020
              if (iobj) {
 
2021
                void *vptr;
 
2022
                res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
 
2023
                if (SWIG_IsOK(res)) {
 
2024
                  if (ptr) {
 
2025
                    *ptr = vptr;
 
2026
                    /* transfer the ownership to 'ptr' */
 
2027
                    iobj->own = 0;
 
2028
                    res = SWIG_AddCast(res);
 
2029
                    res = SWIG_AddNewMask(res);
 
2030
                  } else {
 
2031
                    res = SWIG_AddCast(res);                
 
2032
                  }
 
2033
                }
 
2034
              }
 
2035
              Py_DECREF(impconv);
 
2036
            }
 
2037
          }
 
2038
        }
 
2039
      }
 
2040
      return res;
 
2041
    }
 
2042
  }
 
2043
}
 
2044
 
 
2045
/* Convert a function ptr value */
 
2046
 
 
2047
SWIGRUNTIME int
 
2048
SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
 
2049
  if (!PyCFunction_Check(obj)) {
 
2050
    return SWIG_ConvertPtr(obj, ptr, ty, 0);
 
2051
  } else {
 
2052
    void *vptr = 0;
 
2053
    
 
2054
    /* here we get the method pointer for callbacks */
 
2055
    const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
 
2056
    const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
 
2057
    if (desc) {
 
2058
      desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
 
2059
      if (!desc) return SWIG_ERROR;
 
2060
    }
 
2061
    if (ty) {
 
2062
      swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
 
2063
      if (!tc) return SWIG_ERROR;
 
2064
      *ptr = SWIG_TypeCast(tc,vptr);
 
2065
    } else {
 
2066
      *ptr = vptr;
 
2067
    }
 
2068
    return SWIG_OK;
 
2069
  }
 
2070
}
 
2071
 
 
2072
/* Convert a packed value value */
 
2073
 
 
2074
SWIGRUNTIME int
 
2075
SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
 
2076
  swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
 
2077
  if (!to) return SWIG_ERROR;
 
2078
  if (ty) {
 
2079
    if (to != ty) {
 
2080
      /* check type cast? */
 
2081
      swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
 
2082
      if (!tc) return SWIG_ERROR;
 
2083
    }
 
2084
  }
 
2085
  return SWIG_OK;
 
2086
}  
 
2087
 
 
2088
/* -----------------------------------------------------------------------------
 
2089
 * Create a new pointer object
 
2090
 * ----------------------------------------------------------------------------- */
 
2091
 
 
2092
/*
 
2093
  Create a new instance object, whitout calling __init__, and set the
 
2094
  'this' attribute.
 
2095
*/
 
2096
 
 
2097
SWIGRUNTIME PyObject* 
 
2098
SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
 
2099
{
 
2100
#if (PY_VERSION_HEX >= 0x02020000)
 
2101
  PyObject *inst = 0;
 
2102
  PyObject *newraw = data->newraw;
 
2103
  if (newraw) {
 
2104
    inst = PyObject_Call(newraw, data->newargs, NULL);
 
2105
    if (inst) {
 
2106
#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
 
2107
      PyObject **dictptr = _PyObject_GetDictPtr(inst);
 
2108
      if (dictptr != NULL) {
 
2109
        PyObject *dict = *dictptr;
 
2110
        if (dict == NULL) {
 
2111
          dict = PyDict_New();
 
2112
          *dictptr = dict;
 
2113
          PyDict_SetItem(dict, SWIG_This(), swig_this);
 
2114
        }
 
2115
      }
 
2116
#else
 
2117
      PyObject *key = SWIG_This();
 
2118
      PyObject_SetAttr(inst, key, swig_this);
 
2119
#endif
 
2120
    }
 
2121
  } else {
 
2122
    PyObject *dict = PyDict_New();
 
2123
    PyDict_SetItem(dict, SWIG_This(), swig_this);
 
2124
    inst = PyInstance_NewRaw(data->newargs, dict);
 
2125
    Py_DECREF(dict);
 
2126
  }
 
2127
  return inst;
 
2128
#else
 
2129
#if (PY_VERSION_HEX >= 0x02010000)
 
2130
  PyObject *inst;
 
2131
  PyObject *dict = PyDict_New();
 
2132
  PyDict_SetItem(dict, SWIG_This(), swig_this);
 
2133
  inst = PyInstance_NewRaw(data->newargs, dict);
 
2134
  Py_DECREF(dict);
 
2135
  return (PyObject *) inst;
 
2136
#else
 
2137
  PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
 
2138
  if (inst == NULL) {
 
2139
    return NULL;
 
2140
  }
 
2141
  inst->in_class = (PyClassObject *)data->newargs;
 
2142
  Py_INCREF(inst->in_class);
 
2143
  inst->in_dict = PyDict_New();
 
2144
  if (inst->in_dict == NULL) {
 
2145
    Py_DECREF(inst);
 
2146
    return NULL;
 
2147
  }
 
2148
#ifdef Py_TPFLAGS_HAVE_WEAKREFS
 
2149
  inst->in_weakreflist = NULL;
 
2150
#endif
 
2151
#ifdef Py_TPFLAGS_GC
 
2152
  PyObject_GC_Init(inst);
 
2153
#endif
 
2154
  PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
 
2155
  return (PyObject *) inst;
 
2156
#endif
 
2157
#endif
 
2158
}
 
2159
 
 
2160
SWIGRUNTIME void
 
2161
SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
 
2162
{
 
2163
 PyObject *dict;
 
2164
#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
 
2165
 PyObject **dictptr = _PyObject_GetDictPtr(inst);
 
2166
 if (dictptr != NULL) {
 
2167
   dict = *dictptr;
 
2168
   if (dict == NULL) {
 
2169
     dict = PyDict_New();
 
2170
     *dictptr = dict;
 
2171
   }
 
2172
   PyDict_SetItem(dict, SWIG_This(), swig_this);
 
2173
   return;
 
2174
 }
 
2175
#endif
 
2176
 dict = PyObject_GetAttrString(inst, "__dict__");
 
2177
 PyDict_SetItem(dict, SWIG_This(), swig_this);
 
2178
 Py_DECREF(dict);
 
2179
 
2180
 
 
2181
 
 
2182
SWIGINTERN PyObject *
 
2183
SWIG_Python_InitShadowInstance(PyObject *args) {
 
2184
  PyObject *obj[2];
 
2185
  if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
 
2186
    return NULL;
 
2187
  } else {
 
2188
    PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
 
2189
    if (sthis) {
 
2190
      PySwigObject_append((PyObject*) sthis, obj[1]);
 
2191
    } else {
 
2192
      SWIG_Python_SetSwigThis(obj[0], obj[1]);
 
2193
    }
 
2194
    return SWIG_Py_Void();
 
2195
  }
 
2196
}
 
2197
 
 
2198
/* Create a new pointer object */
 
2199
 
 
2200
SWIGRUNTIME PyObject *
 
2201
SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
 
2202
  if (!ptr) {
 
2203
    return SWIG_Py_Void();
 
2204
  } else {
 
2205
    int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
 
2206
    PyObject *robj = PySwigObject_New(ptr, type, own);
 
2207
    PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
 
2208
    if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
 
2209
      PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
 
2210
      if (inst) {
 
2211
        Py_DECREF(robj);
 
2212
        robj = inst;
 
2213
      }
 
2214
    }
 
2215
    return robj;
 
2216
  }
 
2217
}
 
2218
 
 
2219
/* Create a new packed object */
 
2220
 
 
2221
SWIGRUNTIMEINLINE PyObject *
 
2222
SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
 
2223
  return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
 
2224
}
 
2225
 
 
2226
/* -----------------------------------------------------------------------------*
 
2227
 *  Get type list 
 
2228
 * -----------------------------------------------------------------------------*/
 
2229
 
 
2230
#ifdef SWIG_LINK_RUNTIME
 
2231
void *SWIG_ReturnGlobalTypeList(void *);
 
2232
#endif
 
2233
 
 
2234
SWIGRUNTIME swig_module_info *
 
2235
SWIG_Python_GetModule(void) {
 
2236
  static void *type_pointer = (void *)0;
 
2237
  /* first check if module already created */
 
2238
  if (!type_pointer) {
 
2239
#ifdef SWIG_LINK_RUNTIME
 
2240
    type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
 
2241
#else
 
2242
    type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
 
2243
                                    (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
 
2244
    if (PyErr_Occurred()) {
 
2245
      PyErr_Clear();
 
2246
      type_pointer = (void *)0;
 
2247
    }
 
2248
#endif
 
2249
  }
 
2250
  return (swig_module_info *) type_pointer;
 
2251
}
 
2252
 
 
2253
#if PY_MAJOR_VERSION < 2
 
2254
/* PyModule_AddObject function was introduced in Python 2.0.  The following function
 
2255
   is copied out of Python/modsupport.c in python version 2.3.4 */
 
2256
SWIGINTERN int
 
2257
PyModule_AddObject(PyObject *m, char *name, PyObject *o)
 
2258
{
 
2259
  PyObject *dict;
 
2260
  if (!PyModule_Check(m)) {
 
2261
    PyErr_SetString(PyExc_TypeError,
 
2262
                    "PyModule_AddObject() needs module as first arg");
 
2263
    return SWIG_ERROR;
 
2264
  }
 
2265
  if (!o) {
 
2266
    PyErr_SetString(PyExc_TypeError,
 
2267
                    "PyModule_AddObject() needs non-NULL value");
 
2268
    return SWIG_ERROR;
 
2269
  }
 
2270
  
 
2271
  dict = PyModule_GetDict(m);
 
2272
  if (dict == NULL) {
 
2273
    /* Internal error -- modules must have a dict! */
 
2274
    PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
 
2275
                 PyModule_GetName(m));
 
2276
    return SWIG_ERROR;
 
2277
  }
 
2278
  if (PyDict_SetItemString(dict, name, o))
 
2279
    return SWIG_ERROR;
 
2280
  Py_DECREF(o);
 
2281
  return SWIG_OK;
 
2282
}
 
2283
#endif
 
2284
 
 
2285
SWIGRUNTIME void
 
2286
SWIG_Python_DestroyModule(void *vptr)
 
2287
{
 
2288
  swig_module_info *swig_module = (swig_module_info *) vptr;
 
2289
  swig_type_info **types = swig_module->types;
 
2290
  size_t i;
 
2291
  for (i =0; i < swig_module->size; ++i) {
 
2292
    swig_type_info *ty = types[i];
 
2293
    if (ty->owndata) {
 
2294
      PySwigClientData *data = (PySwigClientData *) ty->clientdata;
 
2295
      if (data) PySwigClientData_Del(data);
 
2296
    }
 
2297
  }
 
2298
  Py_DECREF(SWIG_This());
 
2299
}
 
2300
 
 
2301
SWIGRUNTIME void
 
2302
SWIG_Python_SetModule(swig_module_info *swig_module) {
 
2303
  static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
 
2304
 
 
2305
  PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
 
2306
                                   swig_empty_runtime_method_table);
 
2307
  PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
 
2308
  if (pointer && module) {
 
2309
    PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
 
2310
  } else {
 
2311
    Py_XDECREF(pointer);
 
2312
  }
 
2313
}
 
2314
 
 
2315
/* The python cached type query */
 
2316
SWIGRUNTIME PyObject *
 
2317
SWIG_Python_TypeCache() {
 
2318
  static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
 
2319
  return cache;
 
2320
}
 
2321
 
 
2322
SWIGRUNTIME swig_type_info *
 
2323
SWIG_Python_TypeQuery(const char *type)
 
2324
{
 
2325
  PyObject *cache = SWIG_Python_TypeCache();
 
2326
  PyObject *key = PyString_FromString(type); 
 
2327
  PyObject *obj = PyDict_GetItem(cache, key);
 
2328
  swig_type_info *descriptor;
 
2329
  if (obj) {
 
2330
    descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
 
2331
  } else {
 
2332
    swig_module_info *swig_module = SWIG_Python_GetModule();
 
2333
    descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
 
2334
    if (descriptor) {
 
2335
      obj = PyCObject_FromVoidPtr(descriptor, NULL);
 
2336
      PyDict_SetItem(cache, key, obj);
 
2337
      Py_DECREF(obj);
 
2338
    }
 
2339
  }
 
2340
  Py_DECREF(key);
 
2341
  return descriptor;
 
2342
}
 
2343
 
 
2344
/* 
 
2345
   For backward compatibility only
 
2346
*/
 
2347
#define SWIG_POINTER_EXCEPTION  0
 
2348
#define SWIG_arg_fail(arg)      SWIG_Python_ArgFail(arg)
 
2349
#define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags)
 
2350
 
 
2351
SWIGRUNTIME int
 
2352
SWIG_Python_AddErrMesg(const char* mesg, int infront)
 
2353
{
 
2354
  if (PyErr_Occurred()) {
 
2355
    PyObject *type = 0;
 
2356
    PyObject *value = 0;
 
2357
    PyObject *traceback = 0;
 
2358
    PyErr_Fetch(&type, &value, &traceback);
 
2359
    if (value) {
 
2360
      PyObject *old_str = PyObject_Str(value);
 
2361
      Py_XINCREF(type);
 
2362
      PyErr_Clear();
 
2363
      if (infront) {
 
2364
        PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
 
2365
      } else {
 
2366
        PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
 
2367
      }
 
2368
      Py_DECREF(old_str);
 
2369
    }
 
2370
    return 1;
 
2371
  } else {
 
2372
    return 0;
 
2373
  }
 
2374
}
 
2375
  
 
2376
SWIGRUNTIME int
 
2377
SWIG_Python_ArgFail(int argnum)
 
2378
{
 
2379
  if (PyErr_Occurred()) {
 
2380
    /* add information about failing argument */
 
2381
    char mesg[256];
 
2382
    PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
 
2383
    return SWIG_Python_AddErrMesg(mesg, 1);
 
2384
  } else {
 
2385
    return 0;
 
2386
  }
 
2387
}
 
2388
 
 
2389
SWIGRUNTIMEINLINE const char *
 
2390
PySwigObject_GetDesc(PyObject *self)
 
2391
{
 
2392
  PySwigObject *v = (PySwigObject *)self;
 
2393
  swig_type_info *ty = v ? v->ty : 0;
 
2394
  return ty ? ty->str : (char*)"";
 
2395
}
 
2396
 
 
2397
SWIGRUNTIME void
 
2398
SWIG_Python_TypeError(const char *type, PyObject *obj)
 
2399
{
 
2400
  if (type) {
 
2401
#if defined(SWIG_COBJECT_TYPES)
 
2402
    if (obj && PySwigObject_Check(obj)) {
 
2403
      const char *otype = (const char *) PySwigObject_GetDesc(obj);
 
2404
      if (otype) {
 
2405
        PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
 
2406
                     type, otype);
 
2407
        return;
 
2408
      }
 
2409
    } else 
 
2410
#endif      
 
2411
    {
 
2412
      const char *otype = (obj ? obj->ob_type->tp_name : 0); 
 
2413
      if (otype) {
 
2414
        PyObject *str = PyObject_Str(obj);
 
2415
        const char *cstr = str ? PyString_AsString(str) : 0;
 
2416
        if (cstr) {
 
2417
          PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
 
2418
                       type, otype, cstr);
 
2419
        } else {
 
2420
          PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
 
2421
                       type, otype);
 
2422
        }
 
2423
        Py_XDECREF(str);
 
2424
        return;
 
2425
      }
 
2426
    }   
 
2427
    PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
 
2428
  } else {
 
2429
    PyErr_Format(PyExc_TypeError, "unexpected type is received");
 
2430
  }
 
2431
}
 
2432
 
 
2433
 
 
2434
/* Convert a pointer value, signal an exception on a type mismatch */
 
2435
SWIGRUNTIME void *
 
2436
SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
 
2437
  void *result;
 
2438
  if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
 
2439
    PyErr_Clear();
 
2440
    if (flags & SWIG_POINTER_EXCEPTION) {
 
2441
      SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
 
2442
      SWIG_Python_ArgFail(argnum);
 
2443
    }
 
2444
  }
 
2445
  return result;
 
2446
}
 
2447
 
 
2448
 
 
2449
#ifdef __cplusplus
 
2450
#if 0
 
2451
{ /* cc-mode */
 
2452
#endif
 
2453
}
 
2454
#endif
 
2455
 
 
2456
 
 
2457
 
 
2458
#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 
 
2459
 
 
2460
#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 
 
2461
 
 
2462
 
 
2463
 
 
2464
/* -------- TYPES TABLE (BEGIN) -------- */
 
2465
 
 
2466
#define SWIGTYPE_p_char swig_types[0]
 
2467
#define SWIGTYPE_p_double swig_types[1]
 
2468
#define SWIGTYPE_p_int swig_types[2]
 
2469
#define SWIGTYPE_p_long swig_types[3]
 
2470
#define SWIGTYPE_p_unsigned_char swig_types[4]
 
2471
#define SWIGTYPE_p_unsigned_int swig_types[5]
 
2472
#define SWIGTYPE_p_unsigned_long swig_types[6]
 
2473
#define SWIGTYPE_p_void swig_types[7]
 
2474
#define SWIGTYPE_p_wxANIHandler swig_types[8]
 
2475
#define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
 
2476
#define SWIGTYPE_p_wxActivateEvent swig_types[10]
 
2477
#define SWIGTYPE_p_wxBMPHandler swig_types[11]
 
2478
#define SWIGTYPE_p_wxBitmap swig_types[12]
 
2479
#define SWIGTYPE_p_wxBookCtrlBase swig_types[13]
 
2480
#define SWIGTYPE_p_wxBookCtrlEvent swig_types[14]
 
2481
#define SWIGTYPE_p_wxBoxSizer swig_types[15]
 
2482
#define SWIGTYPE_p_wxBusyInfo swig_types[16]
 
2483
#define SWIGTYPE_p_wxCURHandler swig_types[17]
 
2484
#define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
 
2485
#define SWIGTYPE_p_wxClipboard swig_types[19]
 
2486
#define SWIGTYPE_p_wxClipboardEvent swig_types[20]
 
2487
#define SWIGTYPE_p_wxClipboardTextEvent swig_types[21]
 
2488
#define SWIGTYPE_p_wxCloseEvent swig_types[22]
 
2489
#define SWIGTYPE_p_wxColour swig_types[23]
 
2490
#define SWIGTYPE_p_wxCommandEvent swig_types[24]
 
2491
#define SWIGTYPE_p_wxContextMenuEvent swig_types[25]
 
2492
#define SWIGTYPE_p_wxControl swig_types[26]
 
2493
#define SWIGTYPE_p_wxControlWithItems swig_types[27]
 
2494
#define SWIGTYPE_p_wxDC swig_types[28]
 
2495
#define SWIGTYPE_p_wxDateEvent swig_types[29]
 
2496
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
 
2497
#define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
 
2498
#define SWIGTYPE_p_wxDuplexMode swig_types[32]
 
2499
#define SWIGTYPE_p_wxEraseEvent swig_types[33]
 
2500
#define SWIGTYPE_p_wxEvent swig_types[34]
 
2501
#define SWIGTYPE_p_wxEventBlocker swig_types[35]
 
2502
#define SWIGTYPE_p_wxEvtHandler swig_types[36]
 
2503
#define SWIGTYPE_p_wxFSFile swig_types[37]
 
2504
#define SWIGTYPE_p_wxFileHistory swig_types[38]
 
2505
#define SWIGTYPE_p_wxFileSystem swig_types[39]
 
2506
#define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
 
2507
#define SWIGTYPE_p_wxFocusEvent swig_types[41]
 
2508
#define SWIGTYPE_p_wxFont swig_types[42]
 
2509
#define SWIGTYPE_p_wxGBSizerItem swig_types[43]
 
2510
#define SWIGTYPE_p_wxGIFHandler swig_types[44]
 
2511
#define SWIGTYPE_p_wxGridBagSizer swig_types[45]
 
2512
#define SWIGTYPE_p_wxGridSizer swig_types[46]
 
2513
#define SWIGTYPE_p_wxICOHandler swig_types[47]
 
2514
#define SWIGTYPE_p_wxIconizeEvent swig_types[48]
 
2515
#define SWIGTYPE_p_wxIdleEvent swig_types[49]
 
2516
#define SWIGTYPE_p_wxImage swig_types[50]
 
2517
#define SWIGTYPE_p_wxImageHandler swig_types[51]
 
2518
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[52]
 
2519
#define SWIGTYPE_p_wxInitDialogEvent swig_types[53]
 
2520
#define SWIGTYPE_p_wxIntPtr swig_types[54]
 
2521
#define SWIGTYPE_p_wxJPEGHandler swig_types[55]
 
2522
#define SWIGTYPE_p_wxJoystickEvent swig_types[56]
 
2523
#define SWIGTYPE_p_wxKeyEvent swig_types[57]
 
2524
#define SWIGTYPE_p_wxLayoutConstraints swig_types[58]
 
2525
#define SWIGTYPE_p_wxMaximizeEvent swig_types[59]
 
2526
#define SWIGTYPE_p_wxMemoryBuffer swig_types[60]
 
2527
#define SWIGTYPE_p_wxMenu swig_types[61]
 
2528
#define SWIGTYPE_p_wxMenuBar swig_types[62]
 
2529
#define SWIGTYPE_p_wxMenuEvent swig_types[63]
 
2530
#define SWIGTYPE_p_wxMenuItem swig_types[64]
 
2531
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[65]
 
2532
#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[66]
 
2533
#define SWIGTYPE_p_wxMouseEvent swig_types[67]
 
2534
#define SWIGTYPE_p_wxMoveEvent swig_types[68]
 
2535
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[69]
 
2536
#define SWIGTYPE_p_wxNcPaintEvent swig_types[70]
 
2537
#define SWIGTYPE_p_wxNotificationMessage swig_types[71]
 
2538
#define SWIGTYPE_p_wxNotifyEvent swig_types[72]
 
2539
#define SWIGTYPE_p_wxObject swig_types[73]
 
2540
#define SWIGTYPE_p_wxPCXHandler swig_types[74]
 
2541
#define SWIGTYPE_p_wxPNGHandler swig_types[75]
 
2542
#define SWIGTYPE_p_wxPNMHandler swig_types[76]
 
2543
#define SWIGTYPE_p_wxPaintEvent swig_types[77]
 
2544
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[78]
 
2545
#define SWIGTYPE_p_wxPaperSize swig_types[79]
 
2546
#define SWIGTYPE_p_wxPoint swig_types[80]
 
2547
#define SWIGTYPE_p_wxPowerEvent swig_types[81]
 
2548
#define SWIGTYPE_p_wxProcessEvent swig_types[82]
 
2549
#define SWIGTYPE_p_wxPyApp swig_types[83]
 
2550
#define SWIGTYPE_p_wxPyCommandEvent swig_types[84]
 
2551
#define SWIGTYPE_p_wxPyEvent swig_types[85]
 
2552
#define SWIGTYPE_p_wxPyEvtHandler swig_types[86]
 
2553
#define SWIGTYPE_p_wxPyImageHandler swig_types[87]
 
2554
#define SWIGTYPE_p_wxPyProcess swig_types[88]
 
2555
#define SWIGTYPE_p_wxPySizer swig_types[89]
 
2556
#define SWIGTYPE_p_wxPyTimer swig_types[90]
 
2557
#define SWIGTYPE_p_wxPyValidator swig_types[91]
 
2558
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[92]
 
2559
#define SWIGTYPE_p_wxRect swig_types[93]
 
2560
#define SWIGTYPE_p_wxRefCounter swig_types[94]
 
2561
#define SWIGTYPE_p_wxScrollBar swig_types[95]
 
2562
#define SWIGTYPE_p_wxScrollEvent swig_types[96]
 
2563
#define SWIGTYPE_p_wxScrollWinEvent swig_types[97]
 
2564
#define SWIGTYPE_p_wxSetCursorEvent swig_types[98]
 
2565
#define SWIGTYPE_p_wxShowEvent swig_types[99]
 
2566
#define SWIGTYPE_p_wxSizeEvent swig_types[100]
 
2567
#define SWIGTYPE_p_wxSizer swig_types[101]
 
2568
#define SWIGTYPE_p_wxSizerItem swig_types[102]
 
2569
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[103]
 
2570
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[104]
 
2571
#define SWIGTYPE_p_wxStyledTextCtrl swig_types[105]
 
2572
#define SWIGTYPE_p_wxStyledTextEvent swig_types[106]
 
2573
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[107]
 
2574
#define SWIGTYPE_p_wxSystemOptions swig_types[108]
 
2575
#define SWIGTYPE_p_wxTGAHandler swig_types[109]
 
2576
#define SWIGTYPE_p_wxTIFFHandler swig_types[110]
 
2577
#define SWIGTYPE_p_wxTextAreaBase swig_types[111]
 
2578
#define SWIGTYPE_p_wxTextCtrlBase swig_types[112]
 
2579
#define SWIGTYPE_p_wxTextCtrlIface swig_types[113]
 
2580
#define SWIGTYPE_p_wxTextEntry swig_types[114]
 
2581
#define SWIGTYPE_p_wxTextEntryBase swig_types[115]
 
2582
#define SWIGTYPE_p_wxThreadEvent swig_types[116]
 
2583
#define SWIGTYPE_p_wxTimerEvent swig_types[117]
 
2584
#define SWIGTYPE_p_wxToolTip swig_types[118]
 
2585
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[119]
 
2586
#define SWIGTYPE_p_wxValidator swig_types[120]
 
2587
#define SWIGTYPE_p_wxVersionInfo swig_types[121]
 
2588
#define SWIGTYPE_p_wxWindow swig_types[122]
 
2589
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[123]
 
2590
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[124]
 
2591
#define SWIGTYPE_p_wxWrapSizer swig_types[125]
 
2592
#define SWIGTYPE_p_wxXPMHandler swig_types[126]
 
2593
static swig_type_info *swig_types[128];
 
2594
static swig_module_info swig_module = {swig_types, 127, 0, 0, 0, 0};
 
2595
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
 
2596
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
 
2597
 
 
2598
/* -------- TYPES TABLE (END) -------- */
 
2599
 
 
2600
#if (PY_VERSION_HEX <= 0x02000000)
 
2601
# if !defined(SWIG_PYTHON_CLASSIC)
 
2602
#  error "This python version requires to use swig with the '-classic' option"
 
2603
# endif
 
2604
#endif
 
2605
#if (PY_VERSION_HEX <= 0x02020000)
 
2606
# error "This python version requires to use swig with the '-nomodern' option"
 
2607
#endif
 
2608
#if (PY_VERSION_HEX <= 0x02020000)
 
2609
# error "This python version requires to use swig with the '-nomodernargs' option"
 
2610
#endif
 
2611
#ifndef METH_O
 
2612
# error "This python version requires to use swig with the '-nofastunpack' option"
 
2613
#endif
 
2614
 
 
2615
/*-----------------------------------------------
 
2616
              @(target):= _stc.so
 
2617
  ------------------------------------------------*/
 
2618
#define SWIG_init    init_stc
 
2619
 
 
2620
#define SWIG_name    "_stc"
 
2621
 
 
2622
#define SWIGVERSION 0x010329 
 
2623
 
 
2624
 
 
2625
#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) 
 
2626
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) 
 
2627
 
 
2628
 
 
2629
#include <stdexcept>
 
2630
 
 
2631
 
 
2632
namespace swig {
 
2633
  class PyObject_ptr {
 
2634
  protected:
 
2635
    PyObject *_obj;
 
2636
 
 
2637
  public:
 
2638
    PyObject_ptr() :_obj(0)
 
2639
    {
 
2640
    }
 
2641
 
 
2642
    PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
 
2643
    {
 
2644
      Py_XINCREF(_obj);      
 
2645
    }
 
2646
    
 
2647
    PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
 
2648
    {
 
2649
      if (initial_ref) Py_XINCREF(_obj);
 
2650
    }
 
2651
    
 
2652
    PyObject_ptr & operator=(const PyObject_ptr& item) 
 
2653
    {
 
2654
      Py_XINCREF(item._obj);
 
2655
      Py_XDECREF(_obj);
 
2656
      _obj = item._obj;
 
2657
      return *this;      
 
2658
    }
 
2659
    
 
2660
    ~PyObject_ptr() 
 
2661
    {
 
2662
      Py_XDECREF(_obj);
 
2663
    }
 
2664
    
 
2665
    operator PyObject *() const
 
2666
    {
 
2667
      return _obj;
 
2668
    }
 
2669
 
 
2670
    PyObject *operator->() const
 
2671
    {
 
2672
      return _obj;
 
2673
    }
 
2674
  };
 
2675
}
 
2676
 
 
2677
 
 
2678
namespace swig {
 
2679
  struct PyObject_var : PyObject_ptr {
 
2680
    PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
 
2681
    
 
2682
    PyObject_var & operator = (PyObject* obj)
 
2683
    {
 
2684
      Py_XDECREF(_obj);
 
2685
      _obj = obj;
 
2686
      return *this;      
 
2687
    }
 
2688
  };
 
2689
}
 
2690
 
 
2691
 
 
2692
#include "wx/wxPython/wxPython.h"
 
2693
#include "wx/wxPython/pyclasses.h"
 
2694
#include <wx/stc/stc.h>
 
2695
 
 
2696
 static const wxString wxPySTCNameStr(wxSTCNameStr); 
 
2697
 
 
2698
  #define SWIG_From_long   PyInt_FromLong 
 
2699
 
 
2700
 
 
2701
SWIGINTERNINLINE PyObject *
 
2702
SWIG_From_int  (int value)
 
2703
{    
 
2704
  return SWIG_From_long  (value);
 
2705
}
 
2706
 
 
2707
 
 
2708
#include <limits.h>
 
2709
#ifndef LLONG_MIN
 
2710
# define LLONG_MIN      LONG_LONG_MIN
 
2711
#endif
 
2712
#ifndef LLONG_MAX
 
2713
# define LLONG_MAX      LONG_LONG_MAX
 
2714
#endif
 
2715
#ifndef ULLONG_MAX
 
2716
# define ULLONG_MAX     ULONG_LONG_MAX
 
2717
#endif
 
2718
 
 
2719
 
 
2720
SWIGINTERN int
 
2721
SWIG_AsVal_long (PyObject* obj, long* val)
 
2722
{
 
2723
    if (PyNumber_Check(obj)) {
 
2724
        if (val) *val = PyInt_AsLong(obj);
 
2725
        return SWIG_OK;
 
2726
    }
 
2727
    return SWIG_TypeError;
 
2728
}
 
2729
 
 
2730
 
 
2731
SWIGINTERN int
 
2732
SWIG_AsVal_int (PyObject * obj, int *val)
 
2733
{
 
2734
  long v;
 
2735
  int res = SWIG_AsVal_long (obj, &v);
 
2736
  if (SWIG_IsOK(res)) {
 
2737
    if ((v < INT_MIN || v > INT_MAX)) {
 
2738
      return SWIG_OverflowError;
 
2739
    } else {
 
2740
      if (val) *val = static_cast< int >(v);
 
2741
    }
 
2742
  }  
 
2743
  return res;
 
2744
}
 
2745
 
 
2746
 
 
2747
SWIGINTERN int
 
2748
SWIG_AsVal_bool (PyObject *obj, bool *val)
 
2749
{
 
2750
  if (obj == Py_True) {
 
2751
    if (val) *val = true;
 
2752
    return SWIG_OK;
 
2753
  } else if (obj == Py_False) {
 
2754
    if (val) *val = false;
 
2755
    return SWIG_OK;
 
2756
  } else {
 
2757
    long v = 0;
 
2758
    int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
 
2759
    if (SWIG_IsOK(res) && val) *val = v ? true : false;
 
2760
    return res;
 
2761
  }
 
2762
}
 
2763
 
 
2764
 
 
2765
SWIGINTERN swig_type_info*
 
2766
SWIG_pchar_descriptor()
 
2767
{
 
2768
  static int init = 0;
 
2769
  static swig_type_info* info = 0;
 
2770
  if (!init) {
 
2771
    info = SWIG_TypeQuery("_p_char");
 
2772
    init = 1;
 
2773
  }
 
2774
  return info;
 
2775
}
 
2776
 
 
2777
 
 
2778
SWIGINTERN int
 
2779
SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
 
2780
{
 
2781
  if (PyString_Check(obj)) {
 
2782
    char *cstr; Py_ssize_t len;
 
2783
    PyString_AsStringAndSize(obj, &cstr, &len);
 
2784
    if (cptr)  {
 
2785
      if (alloc) {
 
2786
        /* 
 
2787
           In python the user should not be able to modify the inner
 
2788
           string representation. To warranty that, if you define
 
2789
           SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
 
2790
           buffer is always returned.
 
2791
 
 
2792
           The default behavior is just to return the pointer value,
 
2793
           so, be careful.
 
2794
        */ 
 
2795
#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
 
2796
        if (*alloc != SWIG_OLDOBJ) 
 
2797
#else
 
2798
        if (*alloc == SWIG_NEWOBJ) 
 
2799
#endif
 
2800
          {
 
2801
            *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
 
2802
            *alloc = SWIG_NEWOBJ;
 
2803
          }
 
2804
        else {
 
2805
          *cptr = cstr;
 
2806
          *alloc = SWIG_OLDOBJ;
 
2807
        }
 
2808
      } else {
 
2809
        *cptr = PyString_AsString(obj);
 
2810
      }
 
2811
    }
 
2812
    if (psize) *psize = len + 1;
 
2813
    return SWIG_OK;
 
2814
  } else {
 
2815
    swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
 
2816
    if (pchar_descriptor) {
 
2817
      void* vptr = 0;
 
2818
      if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
 
2819
        if (cptr) *cptr = (char *) vptr;
 
2820
        if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
 
2821
        if (alloc) *alloc = SWIG_OLDOBJ;
 
2822
        return SWIG_OK;
 
2823
      }
 
2824
    }
 
2825
  }
 
2826
  return SWIG_TypeError;
 
2827
}
 
2828
 
 
2829
 
 
2830
 
 
2831
 
 
2832
 
 
2833
SWIGINTERN int 
 
2834
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
 
2835
{
 
2836
    long v = 0;
 
2837
    int res = SWIG_AsVal_long(obj, &v);
 
2838
    if (SWIG_IsOK(res)) {
 
2839
        if ( v < 0) {
 
2840
            return SWIG_ValueError;
 
2841
        }
 
2842
        else if (val)
 
2843
            *val = (unsigned long)v;
 
2844
    }
 
2845
    return res;
 
2846
}
 
2847
 
 
2848
#ifdef __cplusplus
 
2849
extern "C" {
 
2850
#endif
 
2851
SWIGINTERN int STCNameStr_set(PyObject *) {
 
2852
  SWIG_Error(SWIG_AttributeError,"Variable STCNameStr is read-only.");
 
2853
  return 1;
 
2854
}
 
2855
 
 
2856
 
 
2857
SWIGINTERN PyObject *STCNameStr_get(void) {
 
2858
  PyObject *pyobj = 0;
 
2859
  
 
2860
  {
 
2861
#if wxUSE_UNICODE
 
2862
    pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
 
2863
#else
 
2864
    pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
 
2865
#endif
 
2866
  }
 
2867
  return pyobj;
 
2868
}
 
2869
 
 
2870
 
 
2871
SWIGINTERN PyObject *_wrap_new_StyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
2872
  PyObject *resultobj = 0;
 
2873
  wxWindow *arg1 = (wxWindow *) 0 ;
 
2874
  int arg2 = (int) wxID_ANY ;
 
2875
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
 
2876
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
 
2877
  wxSize const &arg4_defvalue = wxDefaultSize ;
 
2878
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
 
2879
  long arg5 = (long) 0 ;
 
2880
  wxString const &arg6_defvalue = wxPySTCNameStr ;
 
2881
  wxString *arg6 = (wxString *) &arg6_defvalue ;
 
2882
  wxStyledTextCtrl *result = 0 ;
 
2883
  void *argp1 = 0 ;
 
2884
  int res1 = 0 ;
 
2885
  int val2 ;
 
2886
  int ecode2 = 0 ;
 
2887
  wxPoint temp3 ;
 
2888
  wxSize temp4 ;
 
2889
  long val5 ;
 
2890
  int ecode5 = 0 ;
 
2891
  bool temp6 = false ;
 
2892
  PyObject * obj0 = 0 ;
 
2893
  PyObject * obj1 = 0 ;
 
2894
  PyObject * obj2 = 0 ;
 
2895
  PyObject * obj3 = 0 ;
 
2896
  PyObject * obj4 = 0 ;
 
2897
  PyObject * obj5 = 0 ;
 
2898
  char *  kwnames[] = {
 
2899
    (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
2900
  };
 
2901
  
 
2902
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
2903
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
2904
  if (!SWIG_IsOK(res1)) {
 
2905
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StyledTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
2906
  }
 
2907
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
2908
  if (obj1) {
 
2909
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
2910
    if (!SWIG_IsOK(ecode2)) {
 
2911
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextCtrl" "', expected argument " "2"" of type '" "int""'");
 
2912
    } 
 
2913
    arg2 = static_cast< int >(val2);
 
2914
  }
 
2915
  if (obj2) {
 
2916
    {
 
2917
      arg3 = &temp3;
 
2918
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
2919
    }
 
2920
  }
 
2921
  if (obj3) {
 
2922
    {
 
2923
      arg4 = &temp4;
 
2924
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
 
2925
    }
 
2926
  }
 
2927
  if (obj4) {
 
2928
    ecode5 = SWIG_AsVal_long(obj4, &val5);
 
2929
    if (!SWIG_IsOK(ecode5)) {
 
2930
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StyledTextCtrl" "', expected argument " "5"" of type '" "long""'");
 
2931
    } 
 
2932
    arg5 = static_cast< long >(val5);
 
2933
  }
 
2934
  if (obj5) {
 
2935
    {
 
2936
      arg6 = wxString_in_helper(obj5);
 
2937
      if (arg6 == NULL) SWIG_fail;
 
2938
      temp6 = true;
 
2939
    }
 
2940
  }
 
2941
  {
 
2942
    if (!wxPyCheckForApp()) SWIG_fail;
 
2943
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
2944
    result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
 
2945
    wxPyEndAllowThreads(__tstate);
 
2946
    if (PyErr_Occurred()) SWIG_fail;
 
2947
  }
 
2948
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_NEW |  0 );
 
2949
  {
 
2950
    if (temp6)
 
2951
    delete arg6;
 
2952
  }
 
2953
  return resultobj;
 
2954
fail:
 
2955
  {
 
2956
    if (temp6)
 
2957
    delete arg6;
 
2958
  }
 
2959
  return NULL;
 
2960
}
 
2961
 
 
2962
 
 
2963
SWIGINTERN PyObject *_wrap_new_PreStyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
2964
  PyObject *resultobj = 0;
 
2965
  wxStyledTextCtrl *result = 0 ;
 
2966
  
 
2967
  if (!SWIG_Python_UnpackTuple(args,"new_PreStyledTextCtrl",0,0,0)) SWIG_fail;
 
2968
  {
 
2969
    if (!wxPyCheckForApp()) SWIG_fail;
 
2970
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
2971
    result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
 
2972
    wxPyEndAllowThreads(__tstate);
 
2973
    if (PyErr_Occurred()) SWIG_fail;
 
2974
  }
 
2975
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_OWN |  0 );
 
2976
  return resultobj;
 
2977
fail:
 
2978
  return NULL;
 
2979
}
 
2980
 
 
2981
 
 
2982
SWIGINTERN PyObject *_wrap_StyledTextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
2983
  PyObject *resultobj = 0;
 
2984
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
2985
  wxWindow *arg2 = (wxWindow *) 0 ;
 
2986
  int arg3 = (int) wxID_ANY ;
 
2987
  wxPoint const &arg4_defvalue = wxDefaultPosition ;
 
2988
  wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
 
2989
  wxSize const &arg5_defvalue = wxDefaultSize ;
 
2990
  wxSize *arg5 = (wxSize *) &arg5_defvalue ;
 
2991
  long arg6 = (long) 0 ;
 
2992
  wxString const &arg7_defvalue = wxSTCNameStr ;
 
2993
  wxString *arg7 = (wxString *) &arg7_defvalue ;
 
2994
  bool result;
 
2995
  void *argp1 = 0 ;
 
2996
  int res1 = 0 ;
 
2997
  void *argp2 = 0 ;
 
2998
  int res2 = 0 ;
 
2999
  int val3 ;
 
3000
  int ecode3 = 0 ;
 
3001
  wxPoint temp4 ;
 
3002
  wxSize temp5 ;
 
3003
  long val6 ;
 
3004
  int ecode6 = 0 ;
 
3005
  bool temp7 = false ;
 
3006
  PyObject * obj0 = 0 ;
 
3007
  PyObject * obj1 = 0 ;
 
3008
  PyObject * obj2 = 0 ;
 
3009
  PyObject * obj3 = 0 ;
 
3010
  PyObject * obj4 = 0 ;
 
3011
  PyObject * obj5 = 0 ;
 
3012
  PyObject * obj6 = 0 ;
 
3013
  char *  kwnames[] = {
 
3014
    (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3015
  };
 
3016
  
 
3017
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
3018
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3019
  if (!SWIG_IsOK(res1)) {
 
3020
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Create" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3021
  }
 
3022
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3023
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
3024
  if (!SWIG_IsOK(res2)) {
 
3025
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
3026
  }
 
3027
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
3028
  if (obj2) {
 
3029
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
3030
    if (!SWIG_IsOK(ecode3)) {
 
3031
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
 
3032
    } 
 
3033
    arg3 = static_cast< int >(val3);
 
3034
  }
 
3035
  if (obj3) {
 
3036
    {
 
3037
      arg4 = &temp4;
 
3038
      if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
 
3039
    }
 
3040
  }
 
3041
  if (obj4) {
 
3042
    {
 
3043
      arg5 = &temp5;
 
3044
      if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
 
3045
    }
 
3046
  }
 
3047
  if (obj5) {
 
3048
    ecode6 = SWIG_AsVal_long(obj5, &val6);
 
3049
    if (!SWIG_IsOK(ecode6)) {
 
3050
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_Create" "', expected argument " "6"" of type '" "long""'");
 
3051
    } 
 
3052
    arg6 = static_cast< long >(val6);
 
3053
  }
 
3054
  if (obj6) {
 
3055
    {
 
3056
      arg7 = wxString_in_helper(obj6);
 
3057
      if (arg7 == NULL) SWIG_fail;
 
3058
      temp7 = true;
 
3059
    }
 
3060
  }
 
3061
  {
 
3062
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3063
    result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
 
3064
    wxPyEndAllowThreads(__tstate);
 
3065
    if (PyErr_Occurred()) SWIG_fail;
 
3066
  }
 
3067
  {
 
3068
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
3069
  }
 
3070
  {
 
3071
    if (temp7)
 
3072
    delete arg7;
 
3073
  }
 
3074
  return resultobj;
 
3075
fail:
 
3076
  {
 
3077
    if (temp7)
 
3078
    delete arg7;
 
3079
  }
 
3080
  return NULL;
 
3081
}
 
3082
 
 
3083
 
 
3084
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3085
  PyObject *resultobj = 0;
 
3086
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3087
  wxString *arg2 = 0 ;
 
3088
  void *argp1 = 0 ;
 
3089
  int res1 = 0 ;
 
3090
  bool temp2 = false ;
 
3091
  PyObject * obj0 = 0 ;
 
3092
  PyObject * obj1 = 0 ;
 
3093
  char *  kwnames[] = {
 
3094
    (char *) "self",(char *) "text", NULL 
 
3095
  };
 
3096
  
 
3097
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) SWIG_fail;
 
3098
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3099
  if (!SWIG_IsOK(res1)) {
 
3100
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3101
  }
 
3102
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3103
  {
 
3104
    arg2 = wxString_in_helper(obj1);
 
3105
    if (arg2 == NULL) SWIG_fail;
 
3106
    temp2 = true;
 
3107
  }
 
3108
  {
 
3109
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3110
    (arg1)->AddText((wxString const &)*arg2);
 
3111
    wxPyEndAllowThreads(__tstate);
 
3112
    if (PyErr_Occurred()) SWIG_fail;
 
3113
  }
 
3114
  resultobj = SWIG_Py_Void();
 
3115
  {
 
3116
    if (temp2)
 
3117
    delete arg2;
 
3118
  }
 
3119
  return resultobj;
 
3120
fail:
 
3121
  {
 
3122
    if (temp2)
 
3123
    delete arg2;
 
3124
  }
 
3125
  return NULL;
 
3126
}
 
3127
 
 
3128
 
 
3129
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3130
  PyObject *resultobj = 0;
 
3131
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3132
  wxMemoryBuffer *arg2 = 0 ;
 
3133
  void *argp1 = 0 ;
 
3134
  int res1 = 0 ;
 
3135
  bool temp2 = false ;
 
3136
  PyObject * obj0 = 0 ;
 
3137
  PyObject * obj1 = 0 ;
 
3138
  char *  kwnames[] = {
 
3139
    (char *) "self",(char *) "data", NULL 
 
3140
  };
 
3141
  
 
3142
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) SWIG_fail;
 
3143
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3144
  if (!SWIG_IsOK(res1)) {
 
3145
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3146
  }
 
3147
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3148
  {
 
3149
    if (!PyString_Check(obj1)) {
 
3150
      PyErr_SetString(PyExc_TypeError, "String buffer expected");
 
3151
      SWIG_fail;
 
3152
    }
 
3153
    char* str = PyString_AS_STRING(obj1);
 
3154
    int   len = PyString_GET_SIZE(obj1);
 
3155
    arg2 = new wxMemoryBuffer(len);
 
3156
    temp2 = true;
 
3157
    memcpy(arg2->GetData(), str, len);
 
3158
    arg2->SetDataLen(len);
 
3159
  }
 
3160
  {
 
3161
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3162
    (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
 
3163
    wxPyEndAllowThreads(__tstate);
 
3164
    if (PyErr_Occurred()) SWIG_fail;
 
3165
  }
 
3166
  resultobj = SWIG_Py_Void();
 
3167
  {
 
3168
    if (temp2) delete arg2;
 
3169
  }
 
3170
  return resultobj;
 
3171
fail:
 
3172
  {
 
3173
    if (temp2) delete arg2;
 
3174
  }
 
3175
  return NULL;
 
3176
}
 
3177
 
 
3178
 
 
3179
SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3180
  PyObject *resultobj = 0;
 
3181
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3182
  int arg2 ;
 
3183
  wxString *arg3 = 0 ;
 
3184
  void *argp1 = 0 ;
 
3185
  int res1 = 0 ;
 
3186
  int val2 ;
 
3187
  int ecode2 = 0 ;
 
3188
  bool temp3 = false ;
 
3189
  PyObject * obj0 = 0 ;
 
3190
  PyObject * obj1 = 0 ;
 
3191
  PyObject * obj2 = 0 ;
 
3192
  char *  kwnames[] = {
 
3193
    (char *) "self",(char *) "pos",(char *) "text", NULL 
 
3194
  };
 
3195
  
 
3196
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
3197
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3198
  if (!SWIG_IsOK(res1)) {
 
3199
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3200
  }
 
3201
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3202
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3203
  if (!SWIG_IsOK(ecode2)) {
 
3204
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "2"" of type '" "int""'");
 
3205
  } 
 
3206
  arg2 = static_cast< int >(val2);
 
3207
  {
 
3208
    arg3 = wxString_in_helper(obj2);
 
3209
    if (arg3 == NULL) SWIG_fail;
 
3210
    temp3 = true;
 
3211
  }
 
3212
  {
 
3213
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3214
    (arg1)->InsertText(arg2,(wxString const &)*arg3);
 
3215
    wxPyEndAllowThreads(__tstate);
 
3216
    if (PyErr_Occurred()) SWIG_fail;
 
3217
  }
 
3218
  resultobj = SWIG_Py_Void();
 
3219
  {
 
3220
    if (temp3)
 
3221
    delete arg3;
 
3222
  }
 
3223
  return resultobj;
 
3224
fail:
 
3225
  {
 
3226
    if (temp3)
 
3227
    delete arg3;
 
3228
  }
 
3229
  return NULL;
 
3230
}
 
3231
 
 
3232
 
 
3233
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3234
  PyObject *resultobj = 0;
 
3235
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3236
  void *argp1 = 0 ;
 
3237
  int res1 = 0 ;
 
3238
  PyObject *swig_obj[1] ;
 
3239
  
 
3240
  if (!args) SWIG_fail;
 
3241
  swig_obj[0] = args;
 
3242
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3243
  if (!SWIG_IsOK(res1)) {
 
3244
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3245
  }
 
3246
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3247
  {
 
3248
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3249
    (arg1)->ClearAll();
 
3250
    wxPyEndAllowThreads(__tstate);
 
3251
    if (PyErr_Occurred()) SWIG_fail;
 
3252
  }
 
3253
  resultobj = SWIG_Py_Void();
 
3254
  return resultobj;
 
3255
fail:
 
3256
  return NULL;
 
3257
}
 
3258
 
 
3259
 
 
3260
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3261
  PyObject *resultobj = 0;
 
3262
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3263
  void *argp1 = 0 ;
 
3264
  int res1 = 0 ;
 
3265
  PyObject *swig_obj[1] ;
 
3266
  
 
3267
  if (!args) SWIG_fail;
 
3268
  swig_obj[0] = args;
 
3269
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3270
  if (!SWIG_IsOK(res1)) {
 
3271
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearDocumentStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3272
  }
 
3273
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3274
  {
 
3275
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3276
    (arg1)->ClearDocumentStyle();
 
3277
    wxPyEndAllowThreads(__tstate);
 
3278
    if (PyErr_Occurred()) SWIG_fail;
 
3279
  }
 
3280
  resultobj = SWIG_Py_Void();
 
3281
  return resultobj;
 
3282
fail:
 
3283
  return NULL;
 
3284
}
 
3285
 
 
3286
 
 
3287
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3288
  PyObject *resultobj = 0;
 
3289
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3290
  int result;
 
3291
  void *argp1 = 0 ;
 
3292
  int res1 = 0 ;
 
3293
  PyObject *swig_obj[1] ;
 
3294
  
 
3295
  if (!args) SWIG_fail;
 
3296
  swig_obj[0] = args;
 
3297
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3298
  if (!SWIG_IsOK(res1)) {
 
3299
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
3300
  }
 
3301
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3302
  {
 
3303
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3304
    result = (int)((wxStyledTextCtrl const *)arg1)->GetLength();
 
3305
    wxPyEndAllowThreads(__tstate);
 
3306
    if (PyErr_Occurred()) SWIG_fail;
 
3307
  }
 
3308
  resultobj = SWIG_From_int(static_cast< int >(result));
 
3309
  return resultobj;
 
3310
fail:
 
3311
  return NULL;
 
3312
}
 
3313
 
 
3314
 
 
3315
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3316
  PyObject *resultobj = 0;
 
3317
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3318
  int arg2 ;
 
3319
  int result;
 
3320
  void *argp1 = 0 ;
 
3321
  int res1 = 0 ;
 
3322
  int val2 ;
 
3323
  int ecode2 = 0 ;
 
3324
  PyObject * obj0 = 0 ;
 
3325
  PyObject * obj1 = 0 ;
 
3326
  char *  kwnames[] = {
 
3327
    (char *) "self",(char *) "pos", NULL 
 
3328
  };
 
3329
  
 
3330
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) SWIG_fail;
 
3331
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3332
  if (!SWIG_IsOK(res1)) {
 
3333
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
3334
  }
 
3335
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3336
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3337
  if (!SWIG_IsOK(ecode2)) {
 
3338
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "2"" of type '" "int""'");
 
3339
  } 
 
3340
  arg2 = static_cast< int >(val2);
 
3341
  {
 
3342
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3343
    result = (int)((wxStyledTextCtrl const *)arg1)->GetCharAt(arg2);
 
3344
    wxPyEndAllowThreads(__tstate);
 
3345
    if (PyErr_Occurred()) SWIG_fail;
 
3346
  }
 
3347
  resultobj = SWIG_From_int(static_cast< int >(result));
 
3348
  return resultobj;
 
3349
fail:
 
3350
  return NULL;
 
3351
}
 
3352
 
 
3353
 
 
3354
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3355
  PyObject *resultobj = 0;
 
3356
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3357
  int result;
 
3358
  void *argp1 = 0 ;
 
3359
  int res1 = 0 ;
 
3360
  PyObject *swig_obj[1] ;
 
3361
  
 
3362
  if (!args) SWIG_fail;
 
3363
  swig_obj[0] = args;
 
3364
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3365
  if (!SWIG_IsOK(res1)) {
 
3366
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
3367
  }
 
3368
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3369
  {
 
3370
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3371
    result = (int)((wxStyledTextCtrl const *)arg1)->GetCurrentPos();
 
3372
    wxPyEndAllowThreads(__tstate);
 
3373
    if (PyErr_Occurred()) SWIG_fail;
 
3374
  }
 
3375
  resultobj = SWIG_From_int(static_cast< int >(result));
 
3376
  return resultobj;
 
3377
fail:
 
3378
  return NULL;
 
3379
}
 
3380
 
 
3381
 
 
3382
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3383
  PyObject *resultobj = 0;
 
3384
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3385
  int result;
 
3386
  void *argp1 = 0 ;
 
3387
  int res1 = 0 ;
 
3388
  PyObject *swig_obj[1] ;
 
3389
  
 
3390
  if (!args) SWIG_fail;
 
3391
  swig_obj[0] = args;
 
3392
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3393
  if (!SWIG_IsOK(res1)) {
 
3394
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
3395
  }
 
3396
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3397
  {
 
3398
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3399
    result = (int)((wxStyledTextCtrl const *)arg1)->GetAnchor();
 
3400
    wxPyEndAllowThreads(__tstate);
 
3401
    if (PyErr_Occurred()) SWIG_fail;
 
3402
  }
 
3403
  resultobj = SWIG_From_int(static_cast< int >(result));
 
3404
  return resultobj;
 
3405
fail:
 
3406
  return NULL;
 
3407
}
 
3408
 
 
3409
 
 
3410
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3411
  PyObject *resultobj = 0;
 
3412
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3413
  int arg2 ;
 
3414
  int result;
 
3415
  void *argp1 = 0 ;
 
3416
  int res1 = 0 ;
 
3417
  int val2 ;
 
3418
  int ecode2 = 0 ;
 
3419
  PyObject * obj0 = 0 ;
 
3420
  PyObject * obj1 = 0 ;
 
3421
  char *  kwnames[] = {
 
3422
    (char *) "self",(char *) "pos", NULL 
 
3423
  };
 
3424
  
 
3425
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) SWIG_fail;
 
3426
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3427
  if (!SWIG_IsOK(res1)) {
 
3428
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
3429
  }
 
3430
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3431
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3432
  if (!SWIG_IsOK(ecode2)) {
 
3433
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "2"" of type '" "int""'");
 
3434
  } 
 
3435
  arg2 = static_cast< int >(val2);
 
3436
  {
 
3437
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3438
    result = (int)((wxStyledTextCtrl const *)arg1)->GetStyleAt(arg2);
 
3439
    wxPyEndAllowThreads(__tstate);
 
3440
    if (PyErr_Occurred()) SWIG_fail;
 
3441
  }
 
3442
  resultobj = SWIG_From_int(static_cast< int >(result));
 
3443
  return resultobj;
 
3444
fail:
 
3445
  return NULL;
 
3446
}
 
3447
 
 
3448
 
 
3449
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3450
  PyObject *resultobj = 0;
 
3451
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3452
  bool arg2 ;
 
3453
  void *argp1 = 0 ;
 
3454
  int res1 = 0 ;
 
3455
  bool val2 ;
 
3456
  int ecode2 = 0 ;
 
3457
  PyObject * obj0 = 0 ;
 
3458
  PyObject * obj1 = 0 ;
 
3459
  char *  kwnames[] = {
 
3460
    (char *) "self",(char *) "collectUndo", NULL 
 
3461
  };
 
3462
  
 
3463
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) SWIG_fail;
 
3464
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3465
  if (!SWIG_IsOK(res1)) {
 
3466
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3467
  }
 
3468
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3469
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
3470
  if (!SWIG_IsOK(ecode2)) {
 
3471
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "2"" of type '" "bool""'");
 
3472
  } 
 
3473
  arg2 = static_cast< bool >(val2);
 
3474
  {
 
3475
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3476
    (arg1)->SetUndoCollection(arg2);
 
3477
    wxPyEndAllowThreads(__tstate);
 
3478
    if (PyErr_Occurred()) SWIG_fail;
 
3479
  }
 
3480
  resultobj = SWIG_Py_Void();
 
3481
  return resultobj;
 
3482
fail:
 
3483
  return NULL;
 
3484
}
 
3485
 
 
3486
 
 
3487
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3488
  PyObject *resultobj = 0;
 
3489
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3490
  void *argp1 = 0 ;
 
3491
  int res1 = 0 ;
 
3492
  PyObject *swig_obj[1] ;
 
3493
  
 
3494
  if (!args) SWIG_fail;
 
3495
  swig_obj[0] = args;
 
3496
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3497
  if (!SWIG_IsOK(res1)) {
 
3498
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSavePoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3499
  }
 
3500
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3501
  {
 
3502
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3503
    (arg1)->SetSavePoint();
 
3504
    wxPyEndAllowThreads(__tstate);
 
3505
    if (PyErr_Occurred()) SWIG_fail;
 
3506
  }
 
3507
  resultobj = SWIG_Py_Void();
 
3508
  return resultobj;
 
3509
fail:
 
3510
  return NULL;
 
3511
}
 
3512
 
 
3513
 
 
3514
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3515
  PyObject *resultobj = 0;
 
3516
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3517
  int arg2 ;
 
3518
  int arg3 ;
 
3519
  wxMemoryBuffer result;
 
3520
  void *argp1 = 0 ;
 
3521
  int res1 = 0 ;
 
3522
  int val2 ;
 
3523
  int ecode2 = 0 ;
 
3524
  int val3 ;
 
3525
  int ecode3 = 0 ;
 
3526
  PyObject * obj0 = 0 ;
 
3527
  PyObject * obj1 = 0 ;
 
3528
  PyObject * obj2 = 0 ;
 
3529
  char *  kwnames[] = {
 
3530
    (char *) "self",(char *) "startPos",(char *) "endPos", NULL 
 
3531
  };
 
3532
  
 
3533
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
3534
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3535
  if (!SWIG_IsOK(res1)) {
 
3536
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3537
  }
 
3538
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3539
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3540
  if (!SWIG_IsOK(ecode2)) {
 
3541
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "2"" of type '" "int""'");
 
3542
  } 
 
3543
  arg2 = static_cast< int >(val2);
 
3544
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
3545
  if (!SWIG_IsOK(ecode3)) {
 
3546
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "3"" of type '" "int""'");
 
3547
  } 
 
3548
  arg3 = static_cast< int >(val3);
 
3549
  {
 
3550
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3551
    result = (arg1)->GetStyledText(arg2,arg3);
 
3552
    wxPyEndAllowThreads(__tstate);
 
3553
    if (PyErr_Occurred()) SWIG_fail;
 
3554
  }
 
3555
  {
 
3556
    resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
 
3557
  }
 
3558
  return resultobj;
 
3559
fail:
 
3560
  return NULL;
 
3561
}
 
3562
 
 
3563
 
 
3564
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3565
  PyObject *resultobj = 0;
 
3566
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3567
  int arg2 ;
 
3568
  int result;
 
3569
  void *argp1 = 0 ;
 
3570
  int res1 = 0 ;
 
3571
  int val2 ;
 
3572
  int ecode2 = 0 ;
 
3573
  PyObject * obj0 = 0 ;
 
3574
  PyObject * obj1 = 0 ;
 
3575
  char *  kwnames[] = {
 
3576
    (char *) "self",(char *) "handle", NULL 
 
3577
  };
 
3578
  
 
3579
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) SWIG_fail;
 
3580
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3581
  if (!SWIG_IsOK(res1)) {
 
3582
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3583
  }
 
3584
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3585
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3586
  if (!SWIG_IsOK(ecode2)) {
 
3587
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "2"" of type '" "int""'");
 
3588
  } 
 
3589
  arg2 = static_cast< int >(val2);
 
3590
  {
 
3591
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3592
    result = (int)(arg1)->MarkerLineFromHandle(arg2);
 
3593
    wxPyEndAllowThreads(__tstate);
 
3594
    if (PyErr_Occurred()) SWIG_fail;
 
3595
  }
 
3596
  resultobj = SWIG_From_int(static_cast< int >(result));
 
3597
  return resultobj;
 
3598
fail:
 
3599
  return NULL;
 
3600
}
 
3601
 
 
3602
 
 
3603
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3604
  PyObject *resultobj = 0;
 
3605
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3606
  int arg2 ;
 
3607
  void *argp1 = 0 ;
 
3608
  int res1 = 0 ;
 
3609
  int val2 ;
 
3610
  int ecode2 = 0 ;
 
3611
  PyObject * obj0 = 0 ;
 
3612
  PyObject * obj1 = 0 ;
 
3613
  char *  kwnames[] = {
 
3614
    (char *) "self",(char *) "handle", NULL 
 
3615
  };
 
3616
  
 
3617
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) SWIG_fail;
 
3618
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3619
  if (!SWIG_IsOK(res1)) {
 
3620
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3621
  }
 
3622
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3623
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3624
  if (!SWIG_IsOK(ecode2)) {
 
3625
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "2"" of type '" "int""'");
 
3626
  } 
 
3627
  arg2 = static_cast< int >(val2);
 
3628
  {
 
3629
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3630
    (arg1)->MarkerDeleteHandle(arg2);
 
3631
    wxPyEndAllowThreads(__tstate);
 
3632
    if (PyErr_Occurred()) SWIG_fail;
 
3633
  }
 
3634
  resultobj = SWIG_Py_Void();
 
3635
  return resultobj;
 
3636
fail:
 
3637
  return NULL;
 
3638
}
 
3639
 
 
3640
 
 
3641
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3642
  PyObject *resultobj = 0;
 
3643
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3644
  bool result;
 
3645
  void *argp1 = 0 ;
 
3646
  int res1 = 0 ;
 
3647
  PyObject *swig_obj[1] ;
 
3648
  
 
3649
  if (!args) SWIG_fail;
 
3650
  swig_obj[0] = args;
 
3651
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3652
  if (!SWIG_IsOK(res1)) {
 
3653
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
3654
  }
 
3655
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3656
  {
 
3657
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3658
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetUndoCollection();
 
3659
    wxPyEndAllowThreads(__tstate);
 
3660
    if (PyErr_Occurred()) SWIG_fail;
 
3661
  }
 
3662
  {
 
3663
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
3664
  }
 
3665
  return resultobj;
 
3666
fail:
 
3667
  return NULL;
 
3668
}
 
3669
 
 
3670
 
 
3671
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3672
  PyObject *resultobj = 0;
 
3673
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3674
  int result;
 
3675
  void *argp1 = 0 ;
 
3676
  int res1 = 0 ;
 
3677
  PyObject *swig_obj[1] ;
 
3678
  
 
3679
  if (!args) SWIG_fail;
 
3680
  swig_obj[0] = args;
 
3681
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3682
  if (!SWIG_IsOK(res1)) {
 
3683
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
3684
  }
 
3685
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3686
  {
 
3687
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3688
    result = (int)((wxStyledTextCtrl const *)arg1)->GetViewWhiteSpace();
 
3689
    wxPyEndAllowThreads(__tstate);
 
3690
    if (PyErr_Occurred()) SWIG_fail;
 
3691
  }
 
3692
  resultobj = SWIG_From_int(static_cast< int >(result));
 
3693
  return resultobj;
 
3694
fail:
 
3695
  return NULL;
 
3696
}
 
3697
 
 
3698
 
 
3699
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3700
  PyObject *resultobj = 0;
 
3701
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3702
  int arg2 ;
 
3703
  void *argp1 = 0 ;
 
3704
  int res1 = 0 ;
 
3705
  int val2 ;
 
3706
  int ecode2 = 0 ;
 
3707
  PyObject * obj0 = 0 ;
 
3708
  PyObject * obj1 = 0 ;
 
3709
  char *  kwnames[] = {
 
3710
    (char *) "self",(char *) "viewWS", NULL 
 
3711
  };
 
3712
  
 
3713
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) SWIG_fail;
 
3714
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3715
  if (!SWIG_IsOK(res1)) {
 
3716
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3717
  }
 
3718
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3719
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3720
  if (!SWIG_IsOK(ecode2)) {
 
3721
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "2"" of type '" "int""'");
 
3722
  } 
 
3723
  arg2 = static_cast< int >(val2);
 
3724
  {
 
3725
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3726
    (arg1)->SetViewWhiteSpace(arg2);
 
3727
    wxPyEndAllowThreads(__tstate);
 
3728
    if (PyErr_Occurred()) SWIG_fail;
 
3729
  }
 
3730
  resultobj = SWIG_Py_Void();
 
3731
  return resultobj;
 
3732
fail:
 
3733
  return NULL;
 
3734
}
 
3735
 
 
3736
 
 
3737
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3738
  PyObject *resultobj = 0;
 
3739
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3740
  wxPoint arg2 ;
 
3741
  int result;
 
3742
  void *argp1 = 0 ;
 
3743
  int res1 = 0 ;
 
3744
  void *argp2 ;
 
3745
  int res2 = 0 ;
 
3746
  PyObject * obj0 = 0 ;
 
3747
  PyObject * obj1 = 0 ;
 
3748
  char *  kwnames[] = {
 
3749
    (char *) "self",(char *) "pt", NULL 
 
3750
  };
 
3751
  
 
3752
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) SWIG_fail;
 
3753
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3754
  if (!SWIG_IsOK(res1)) {
 
3755
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
3756
  }
 
3757
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3758
  {
 
3759
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPoint,  0  | 0);
 
3760
    if (!SWIG_IsOK(res2)) {
 
3761
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'"); 
 
3762
    }  
 
3763
    if (!argp2) {
 
3764
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
 
3765
    } else {
 
3766
      wxPoint * temp = reinterpret_cast< wxPoint * >(argp2);
 
3767
      arg2 = *temp;
 
3768
      if (SWIG_IsNewObj(res2)) delete temp;
 
3769
    }
 
3770
  }
 
3771
  {
 
3772
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3773
    result = (int)((wxStyledTextCtrl const *)arg1)->PositionFromPoint(arg2);
 
3774
    wxPyEndAllowThreads(__tstate);
 
3775
    if (PyErr_Occurred()) SWIG_fail;
 
3776
  }
 
3777
  resultobj = SWIG_From_int(static_cast< int >(result));
 
3778
  return resultobj;
 
3779
fail:
 
3780
  return NULL;
 
3781
}
 
3782
 
 
3783
 
 
3784
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3785
  PyObject *resultobj = 0;
 
3786
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3787
  int arg2 ;
 
3788
  int arg3 ;
 
3789
  int result;
 
3790
  void *argp1 = 0 ;
 
3791
  int res1 = 0 ;
 
3792
  int val2 ;
 
3793
  int ecode2 = 0 ;
 
3794
  int val3 ;
 
3795
  int ecode3 = 0 ;
 
3796
  PyObject * obj0 = 0 ;
 
3797
  PyObject * obj1 = 0 ;
 
3798
  PyObject * obj2 = 0 ;
 
3799
  char *  kwnames[] = {
 
3800
    (char *) "self",(char *) "x",(char *) "y", NULL 
 
3801
  };
 
3802
  
 
3803
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
3804
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3805
  if (!SWIG_IsOK(res1)) {
 
3806
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3807
  }
 
3808
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3809
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3810
  if (!SWIG_IsOK(ecode2)) {
 
3811
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "2"" of type '" "int""'");
 
3812
  } 
 
3813
  arg2 = static_cast< int >(val2);
 
3814
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
3815
  if (!SWIG_IsOK(ecode3)) {
 
3816
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "3"" of type '" "int""'");
 
3817
  } 
 
3818
  arg3 = static_cast< int >(val3);
 
3819
  {
 
3820
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3821
    result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
 
3822
    wxPyEndAllowThreads(__tstate);
 
3823
    if (PyErr_Occurred()) SWIG_fail;
 
3824
  }
 
3825
  resultobj = SWIG_From_int(static_cast< int >(result));
 
3826
  return resultobj;
 
3827
fail:
 
3828
  return NULL;
 
3829
}
 
3830
 
 
3831
 
 
3832
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3833
  PyObject *resultobj = 0;
 
3834
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3835
  int arg2 ;
 
3836
  void *argp1 = 0 ;
 
3837
  int res1 = 0 ;
 
3838
  int val2 ;
 
3839
  int ecode2 = 0 ;
 
3840
  PyObject * obj0 = 0 ;
 
3841
  PyObject * obj1 = 0 ;
 
3842
  char *  kwnames[] = {
 
3843
    (char *) "self",(char *) "line", NULL 
 
3844
  };
 
3845
  
 
3846
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
3847
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3848
  if (!SWIG_IsOK(res1)) {
 
3849
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3850
  }
 
3851
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3852
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3853
  if (!SWIG_IsOK(ecode2)) {
 
3854
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "2"" of type '" "int""'");
 
3855
  } 
 
3856
  arg2 = static_cast< int >(val2);
 
3857
  {
 
3858
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3859
    (arg1)->GotoLine(arg2);
 
3860
    wxPyEndAllowThreads(__tstate);
 
3861
    if (PyErr_Occurred()) SWIG_fail;
 
3862
  }
 
3863
  resultobj = SWIG_Py_Void();
 
3864
  return resultobj;
 
3865
fail:
 
3866
  return NULL;
 
3867
}
 
3868
 
 
3869
 
 
3870
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3871
  PyObject *resultobj = 0;
 
3872
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3873
  int arg2 ;
 
3874
  void *argp1 = 0 ;
 
3875
  int res1 = 0 ;
 
3876
  int val2 ;
 
3877
  int ecode2 = 0 ;
 
3878
  PyObject * obj0 = 0 ;
 
3879
  PyObject * obj1 = 0 ;
 
3880
  char *  kwnames[] = {
 
3881
    (char *) "self",(char *) "pos", NULL 
 
3882
  };
 
3883
  
 
3884
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) SWIG_fail;
 
3885
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3886
  if (!SWIG_IsOK(res1)) {
 
3887
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3888
  }
 
3889
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3890
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3891
  if (!SWIG_IsOK(ecode2)) {
 
3892
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "2"" of type '" "int""'");
 
3893
  } 
 
3894
  arg2 = static_cast< int >(val2);
 
3895
  {
 
3896
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3897
    (arg1)->GotoPos(arg2);
 
3898
    wxPyEndAllowThreads(__tstate);
 
3899
    if (PyErr_Occurred()) SWIG_fail;
 
3900
  }
 
3901
  resultobj = SWIG_Py_Void();
 
3902
  return resultobj;
 
3903
fail:
 
3904
  return NULL;
 
3905
}
 
3906
 
 
3907
 
 
3908
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3909
  PyObject *resultobj = 0;
 
3910
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3911
  int arg2 ;
 
3912
  void *argp1 = 0 ;
 
3913
  int res1 = 0 ;
 
3914
  int val2 ;
 
3915
  int ecode2 = 0 ;
 
3916
  PyObject * obj0 = 0 ;
 
3917
  PyObject * obj1 = 0 ;
 
3918
  char *  kwnames[] = {
 
3919
    (char *) "self",(char *) "posAnchor", NULL 
 
3920
  };
 
3921
  
 
3922
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
 
3923
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3924
  if (!SWIG_IsOK(res1)) {
 
3925
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3926
  }
 
3927
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3928
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3929
  if (!SWIG_IsOK(ecode2)) {
 
3930
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "2"" of type '" "int""'");
 
3931
  } 
 
3932
  arg2 = static_cast< int >(val2);
 
3933
  {
 
3934
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3935
    (arg1)->SetAnchor(arg2);
 
3936
    wxPyEndAllowThreads(__tstate);
 
3937
    if (PyErr_Occurred()) SWIG_fail;
 
3938
  }
 
3939
  resultobj = SWIG_Py_Void();
 
3940
  return resultobj;
 
3941
fail:
 
3942
  return NULL;
 
3943
}
 
3944
 
 
3945
 
 
3946
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3947
  PyObject *resultobj = 0;
 
3948
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3949
  int *arg2 = (int *) 0 ;
 
3950
  wxString result;
 
3951
  void *argp1 = 0 ;
 
3952
  int res1 = 0 ;
 
3953
  int temp2 ;
 
3954
  int res2 = SWIG_TMPOBJ ;
 
3955
  PyObject *swig_obj[1] ;
 
3956
  
 
3957
  arg2 = &temp2;
 
3958
  if (!args) SWIG_fail;
 
3959
  swig_obj[0] = args;
 
3960
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
3961
  if (!SWIG_IsOK(res1)) {
 
3962
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
3963
  }
 
3964
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
3965
  {
 
3966
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3967
    result = (arg1)->GetCurLine(arg2);
 
3968
    wxPyEndAllowThreads(__tstate);
 
3969
    if (PyErr_Occurred()) SWIG_fail;
 
3970
  }
 
3971
  {
 
3972
#if wxUSE_UNICODE
 
3973
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
3974
#else
 
3975
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
3976
#endif
 
3977
  }
 
3978
  if (SWIG_IsTmpObj(res2)) {
 
3979
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
 
3980
  } else {
 
3981
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
 
3982
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
 
3983
  }
 
3984
  return resultobj;
 
3985
fail:
 
3986
  return NULL;
 
3987
}
 
3988
 
 
3989
 
 
3990
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3991
  PyObject *resultobj = 0;
 
3992
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
3993
  int result;
 
3994
  void *argp1 = 0 ;
 
3995
  int res1 = 0 ;
 
3996
  PyObject *swig_obj[1] ;
 
3997
  
 
3998
  if (!args) SWIG_fail;
 
3999
  swig_obj[0] = args;
 
4000
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4001
  if (!SWIG_IsOK(res1)) {
 
4002
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndStyled" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
4003
  }
 
4004
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4005
  {
 
4006
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4007
    result = (int)((wxStyledTextCtrl const *)arg1)->GetEndStyled();
 
4008
    wxPyEndAllowThreads(__tstate);
 
4009
    if (PyErr_Occurred()) SWIG_fail;
 
4010
  }
 
4011
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4012
  return resultobj;
 
4013
fail:
 
4014
  return NULL;
 
4015
}
 
4016
 
 
4017
 
 
4018
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4019
  PyObject *resultobj = 0;
 
4020
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4021
  int arg2 ;
 
4022
  void *argp1 = 0 ;
 
4023
  int res1 = 0 ;
 
4024
  int val2 ;
 
4025
  int ecode2 = 0 ;
 
4026
  PyObject * obj0 = 0 ;
 
4027
  PyObject * obj1 = 0 ;
 
4028
  char *  kwnames[] = {
 
4029
    (char *) "self",(char *) "eolMode", NULL 
 
4030
  };
 
4031
  
 
4032
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) SWIG_fail;
 
4033
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4034
  if (!SWIG_IsOK(res1)) {
 
4035
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4036
  }
 
4037
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4038
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4039
  if (!SWIG_IsOK(ecode2)) {
 
4040
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "2"" of type '" "int""'");
 
4041
  } 
 
4042
  arg2 = static_cast< int >(val2);
 
4043
  {
 
4044
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4045
    (arg1)->ConvertEOLs(arg2);
 
4046
    wxPyEndAllowThreads(__tstate);
 
4047
    if (PyErr_Occurred()) SWIG_fail;
 
4048
  }
 
4049
  resultobj = SWIG_Py_Void();
 
4050
  return resultobj;
 
4051
fail:
 
4052
  return NULL;
 
4053
}
 
4054
 
 
4055
 
 
4056
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4057
  PyObject *resultobj = 0;
 
4058
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4059
  int result;
 
4060
  void *argp1 = 0 ;
 
4061
  int res1 = 0 ;
 
4062
  PyObject *swig_obj[1] ;
 
4063
  
 
4064
  if (!args) SWIG_fail;
 
4065
  swig_obj[0] = args;
 
4066
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4067
  if (!SWIG_IsOK(res1)) {
 
4068
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
4069
  }
 
4070
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4071
  {
 
4072
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4073
    result = (int)((wxStyledTextCtrl const *)arg1)->GetEOLMode();
 
4074
    wxPyEndAllowThreads(__tstate);
 
4075
    if (PyErr_Occurred()) SWIG_fail;
 
4076
  }
 
4077
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4078
  return resultobj;
 
4079
fail:
 
4080
  return NULL;
 
4081
}
 
4082
 
 
4083
 
 
4084
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4085
  PyObject *resultobj = 0;
 
4086
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4087
  int arg2 ;
 
4088
  void *argp1 = 0 ;
 
4089
  int res1 = 0 ;
 
4090
  int val2 ;
 
4091
  int ecode2 = 0 ;
 
4092
  PyObject * obj0 = 0 ;
 
4093
  PyObject * obj1 = 0 ;
 
4094
  char *  kwnames[] = {
 
4095
    (char *) "self",(char *) "eolMode", NULL 
 
4096
  };
 
4097
  
 
4098
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) SWIG_fail;
 
4099
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4100
  if (!SWIG_IsOK(res1)) {
 
4101
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4102
  }
 
4103
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4104
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4105
  if (!SWIG_IsOK(ecode2)) {
 
4106
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "2"" of type '" "int""'");
 
4107
  } 
 
4108
  arg2 = static_cast< int >(val2);
 
4109
  {
 
4110
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4111
    (arg1)->SetEOLMode(arg2);
 
4112
    wxPyEndAllowThreads(__tstate);
 
4113
    if (PyErr_Occurred()) SWIG_fail;
 
4114
  }
 
4115
  resultobj = SWIG_Py_Void();
 
4116
  return resultobj;
 
4117
fail:
 
4118
  return NULL;
 
4119
}
 
4120
 
 
4121
 
 
4122
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4123
  PyObject *resultobj = 0;
 
4124
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4125
  int arg2 ;
 
4126
  int arg3 ;
 
4127
  void *argp1 = 0 ;
 
4128
  int res1 = 0 ;
 
4129
  int val2 ;
 
4130
  int ecode2 = 0 ;
 
4131
  int val3 ;
 
4132
  int ecode3 = 0 ;
 
4133
  PyObject * obj0 = 0 ;
 
4134
  PyObject * obj1 = 0 ;
 
4135
  PyObject * obj2 = 0 ;
 
4136
  char *  kwnames[] = {
 
4137
    (char *) "self",(char *) "pos",(char *) "mask", NULL 
 
4138
  };
 
4139
  
 
4140
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4141
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4142
  if (!SWIG_IsOK(res1)) {
 
4143
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4144
  }
 
4145
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4146
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4147
  if (!SWIG_IsOK(ecode2)) {
 
4148
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "2"" of type '" "int""'");
 
4149
  } 
 
4150
  arg2 = static_cast< int >(val2);
 
4151
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4152
  if (!SWIG_IsOK(ecode3)) {
 
4153
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "3"" of type '" "int""'");
 
4154
  } 
 
4155
  arg3 = static_cast< int >(val3);
 
4156
  {
 
4157
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4158
    (arg1)->StartStyling(arg2,arg3);
 
4159
    wxPyEndAllowThreads(__tstate);
 
4160
    if (PyErr_Occurred()) SWIG_fail;
 
4161
  }
 
4162
  resultobj = SWIG_Py_Void();
 
4163
  return resultobj;
 
4164
fail:
 
4165
  return NULL;
 
4166
}
 
4167
 
 
4168
 
 
4169
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4170
  PyObject *resultobj = 0;
 
4171
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4172
  int arg2 ;
 
4173
  int arg3 ;
 
4174
  void *argp1 = 0 ;
 
4175
  int res1 = 0 ;
 
4176
  int val2 ;
 
4177
  int ecode2 = 0 ;
 
4178
  int val3 ;
 
4179
  int ecode3 = 0 ;
 
4180
  PyObject * obj0 = 0 ;
 
4181
  PyObject * obj1 = 0 ;
 
4182
  PyObject * obj2 = 0 ;
 
4183
  char *  kwnames[] = {
 
4184
    (char *) "self",(char *) "length",(char *) "style", NULL 
 
4185
  };
 
4186
  
 
4187
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4188
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4189
  if (!SWIG_IsOK(res1)) {
 
4190
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4191
  }
 
4192
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4193
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4194
  if (!SWIG_IsOK(ecode2)) {
 
4195
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "2"" of type '" "int""'");
 
4196
  } 
 
4197
  arg2 = static_cast< int >(val2);
 
4198
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4199
  if (!SWIG_IsOK(ecode3)) {
 
4200
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "3"" of type '" "int""'");
 
4201
  } 
 
4202
  arg3 = static_cast< int >(val3);
 
4203
  {
 
4204
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4205
    (arg1)->SetStyling(arg2,arg3);
 
4206
    wxPyEndAllowThreads(__tstate);
 
4207
    if (PyErr_Occurred()) SWIG_fail;
 
4208
  }
 
4209
  resultobj = SWIG_Py_Void();
 
4210
  return resultobj;
 
4211
fail:
 
4212
  return NULL;
 
4213
}
 
4214
 
 
4215
 
 
4216
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4217
  PyObject *resultobj = 0;
 
4218
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4219
  bool result;
 
4220
  void *argp1 = 0 ;
 
4221
  int res1 = 0 ;
 
4222
  PyObject *swig_obj[1] ;
 
4223
  
 
4224
  if (!args) SWIG_fail;
 
4225
  swig_obj[0] = args;
 
4226
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4227
  if (!SWIG_IsOK(res1)) {
 
4228
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
4229
  }
 
4230
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4231
  {
 
4232
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4233
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetBufferedDraw();
 
4234
    wxPyEndAllowThreads(__tstate);
 
4235
    if (PyErr_Occurred()) SWIG_fail;
 
4236
  }
 
4237
  {
 
4238
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
4239
  }
 
4240
  return resultobj;
 
4241
fail:
 
4242
  return NULL;
 
4243
}
 
4244
 
 
4245
 
 
4246
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4247
  PyObject *resultobj = 0;
 
4248
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4249
  bool arg2 ;
 
4250
  void *argp1 = 0 ;
 
4251
  int res1 = 0 ;
 
4252
  bool val2 ;
 
4253
  int ecode2 = 0 ;
 
4254
  PyObject * obj0 = 0 ;
 
4255
  PyObject * obj1 = 0 ;
 
4256
  char *  kwnames[] = {
 
4257
    (char *) "self",(char *) "buffered", NULL 
 
4258
  };
 
4259
  
 
4260
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) SWIG_fail;
 
4261
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4262
  if (!SWIG_IsOK(res1)) {
 
4263
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4264
  }
 
4265
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4266
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
4267
  if (!SWIG_IsOK(ecode2)) {
 
4268
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "2"" of type '" "bool""'");
 
4269
  } 
 
4270
  arg2 = static_cast< bool >(val2);
 
4271
  {
 
4272
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4273
    (arg1)->SetBufferedDraw(arg2);
 
4274
    wxPyEndAllowThreads(__tstate);
 
4275
    if (PyErr_Occurred()) SWIG_fail;
 
4276
  }
 
4277
  resultobj = SWIG_Py_Void();
 
4278
  return resultobj;
 
4279
fail:
 
4280
  return NULL;
 
4281
}
 
4282
 
 
4283
 
 
4284
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4285
  PyObject *resultobj = 0;
 
4286
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4287
  int arg2 ;
 
4288
  void *argp1 = 0 ;
 
4289
  int res1 = 0 ;
 
4290
  int val2 ;
 
4291
  int ecode2 = 0 ;
 
4292
  PyObject * obj0 = 0 ;
 
4293
  PyObject * obj1 = 0 ;
 
4294
  char *  kwnames[] = {
 
4295
    (char *) "self",(char *) "tabWidth", NULL 
 
4296
  };
 
4297
  
 
4298
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) SWIG_fail;
 
4299
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4300
  if (!SWIG_IsOK(res1)) {
 
4301
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4302
  }
 
4303
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4304
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4305
  if (!SWIG_IsOK(ecode2)) {
 
4306
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "2"" of type '" "int""'");
 
4307
  } 
 
4308
  arg2 = static_cast< int >(val2);
 
4309
  {
 
4310
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4311
    (arg1)->SetTabWidth(arg2);
 
4312
    wxPyEndAllowThreads(__tstate);
 
4313
    if (PyErr_Occurred()) SWIG_fail;
 
4314
  }
 
4315
  resultobj = SWIG_Py_Void();
 
4316
  return resultobj;
 
4317
fail:
 
4318
  return NULL;
 
4319
}
 
4320
 
 
4321
 
 
4322
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4323
  PyObject *resultobj = 0;
 
4324
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4325
  int result;
 
4326
  void *argp1 = 0 ;
 
4327
  int res1 = 0 ;
 
4328
  PyObject *swig_obj[1] ;
 
4329
  
 
4330
  if (!args) SWIG_fail;
 
4331
  swig_obj[0] = args;
 
4332
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4333
  if (!SWIG_IsOK(res1)) {
 
4334
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
4335
  }
 
4336
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4337
  {
 
4338
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4339
    result = (int)((wxStyledTextCtrl const *)arg1)->GetTabWidth();
 
4340
    wxPyEndAllowThreads(__tstate);
 
4341
    if (PyErr_Occurred()) SWIG_fail;
 
4342
  }
 
4343
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4344
  return resultobj;
 
4345
fail:
 
4346
  return NULL;
 
4347
}
 
4348
 
 
4349
 
 
4350
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4351
  PyObject *resultobj = 0;
 
4352
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4353
  int arg2 ;
 
4354
  void *argp1 = 0 ;
 
4355
  int res1 = 0 ;
 
4356
  int val2 ;
 
4357
  int ecode2 = 0 ;
 
4358
  PyObject * obj0 = 0 ;
 
4359
  PyObject * obj1 = 0 ;
 
4360
  char *  kwnames[] = {
 
4361
    (char *) "self",(char *) "codePage", NULL 
 
4362
  };
 
4363
  
 
4364
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) SWIG_fail;
 
4365
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4366
  if (!SWIG_IsOK(res1)) {
 
4367
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4368
  }
 
4369
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4370
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4371
  if (!SWIG_IsOK(ecode2)) {
 
4372
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "2"" of type '" "int""'");
 
4373
  } 
 
4374
  arg2 = static_cast< int >(val2);
 
4375
  {
 
4376
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4377
    (arg1)->SetCodePage(arg2);
 
4378
    wxPyEndAllowThreads(__tstate);
 
4379
    if (PyErr_Occurred()) SWIG_fail;
 
4380
  }
 
4381
  resultobj = SWIG_Py_Void();
 
4382
  return resultobj;
 
4383
fail:
 
4384
  return NULL;
 
4385
}
 
4386
 
 
4387
 
 
4388
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4389
  PyObject *resultobj = 0;
 
4390
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4391
  int arg2 ;
 
4392
  int arg3 ;
 
4393
  wxColour const &arg4_defvalue = wxNullColour ;
 
4394
  wxColour *arg4 = (wxColour *) &arg4_defvalue ;
 
4395
  wxColour const &arg5_defvalue = wxNullColour ;
 
4396
  wxColour *arg5 = (wxColour *) &arg5_defvalue ;
 
4397
  void *argp1 = 0 ;
 
4398
  int res1 = 0 ;
 
4399
  int val2 ;
 
4400
  int ecode2 = 0 ;
 
4401
  int val3 ;
 
4402
  int ecode3 = 0 ;
 
4403
  wxColour temp4 ;
 
4404
  wxColour temp5 ;
 
4405
  PyObject * obj0 = 0 ;
 
4406
  PyObject * obj1 = 0 ;
 
4407
  PyObject * obj2 = 0 ;
 
4408
  PyObject * obj3 = 0 ;
 
4409
  PyObject * obj4 = 0 ;
 
4410
  char *  kwnames[] = {
 
4411
    (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL 
 
4412
  };
 
4413
  
 
4414
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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_MarkerDefine" "', 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_MarkerDefine" "', expected argument " "2"" of type '" "int""'");
 
4423
  } 
 
4424
  arg2 = static_cast< int >(val2);
 
4425
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4426
  if (!SWIG_IsOK(ecode3)) {
 
4427
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "3"" of type '" "int""'");
 
4428
  } 
 
4429
  arg3 = static_cast< int >(val3);
 
4430
  if (obj3) {
 
4431
    {
 
4432
      arg4 = &temp4;
 
4433
      if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
 
4434
    }
 
4435
  }
 
4436
  if (obj4) {
 
4437
    {
 
4438
      arg5 = &temp5;
 
4439
      if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
 
4440
    }
 
4441
  }
 
4442
  {
 
4443
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4444
    (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
 
4445
    wxPyEndAllowThreads(__tstate);
 
4446
    if (PyErr_Occurred()) SWIG_fail;
 
4447
  }
 
4448
  resultobj = SWIG_Py_Void();
 
4449
  return resultobj;
 
4450
fail:
 
4451
  return NULL;
 
4452
}
 
4453
 
 
4454
 
 
4455
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4456
  PyObject *resultobj = 0;
 
4457
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4458
  int arg2 ;
 
4459
  wxColour *arg3 = 0 ;
 
4460
  void *argp1 = 0 ;
 
4461
  int res1 = 0 ;
 
4462
  int val2 ;
 
4463
  int ecode2 = 0 ;
 
4464
  wxColour temp3 ;
 
4465
  PyObject * obj0 = 0 ;
 
4466
  PyObject * obj1 = 0 ;
 
4467
  PyObject * obj2 = 0 ;
 
4468
  char *  kwnames[] = {
 
4469
    (char *) "self",(char *) "markerNumber",(char *) "fore", NULL 
 
4470
  };
 
4471
  
 
4472
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4473
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4474
  if (!SWIG_IsOK(res1)) {
 
4475
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4476
  }
 
4477
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4478
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4479
  if (!SWIG_IsOK(ecode2)) {
 
4480
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "2"" of type '" "int""'");
 
4481
  } 
 
4482
  arg2 = static_cast< int >(val2);
 
4483
  {
 
4484
    arg3 = &temp3;
 
4485
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
4486
  }
 
4487
  {
 
4488
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4489
    (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
 
4490
    wxPyEndAllowThreads(__tstate);
 
4491
    if (PyErr_Occurred()) SWIG_fail;
 
4492
  }
 
4493
  resultobj = SWIG_Py_Void();
 
4494
  return resultobj;
 
4495
fail:
 
4496
  return NULL;
 
4497
}
 
4498
 
 
4499
 
 
4500
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4501
  PyObject *resultobj = 0;
 
4502
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4503
  int arg2 ;
 
4504
  wxColour *arg3 = 0 ;
 
4505
  void *argp1 = 0 ;
 
4506
  int res1 = 0 ;
 
4507
  int val2 ;
 
4508
  int ecode2 = 0 ;
 
4509
  wxColour temp3 ;
 
4510
  PyObject * obj0 = 0 ;
 
4511
  PyObject * obj1 = 0 ;
 
4512
  PyObject * obj2 = 0 ;
 
4513
  char *  kwnames[] = {
 
4514
    (char *) "self",(char *) "markerNumber",(char *) "back", NULL 
 
4515
  };
 
4516
  
 
4517
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4518
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4519
  if (!SWIG_IsOK(res1)) {
 
4520
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4521
  }
 
4522
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4523
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4524
  if (!SWIG_IsOK(ecode2)) {
 
4525
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "2"" of type '" "int""'");
 
4526
  } 
 
4527
  arg2 = static_cast< int >(val2);
 
4528
  {
 
4529
    arg3 = &temp3;
 
4530
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
4531
  }
 
4532
  {
 
4533
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4534
    (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
 
4535
    wxPyEndAllowThreads(__tstate);
 
4536
    if (PyErr_Occurred()) SWIG_fail;
 
4537
  }
 
4538
  resultobj = SWIG_Py_Void();
 
4539
  return resultobj;
 
4540
fail:
 
4541
  return NULL;
 
4542
}
 
4543
 
 
4544
 
 
4545
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4546
  PyObject *resultobj = 0;
 
4547
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4548
  int arg2 ;
 
4549
  int arg3 ;
 
4550
  int result;
 
4551
  void *argp1 = 0 ;
 
4552
  int res1 = 0 ;
 
4553
  int val2 ;
 
4554
  int ecode2 = 0 ;
 
4555
  int val3 ;
 
4556
  int ecode3 = 0 ;
 
4557
  PyObject * obj0 = 0 ;
 
4558
  PyObject * obj1 = 0 ;
 
4559
  PyObject * obj2 = 0 ;
 
4560
  char *  kwnames[] = {
 
4561
    (char *) "self",(char *) "line",(char *) "markerNumber", NULL 
 
4562
  };
 
4563
  
 
4564
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4565
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4566
  if (!SWIG_IsOK(res1)) {
 
4567
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4568
  }
 
4569
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4570
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4571
  if (!SWIG_IsOK(ecode2)) {
 
4572
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "2"" of type '" "int""'");
 
4573
  } 
 
4574
  arg2 = static_cast< int >(val2);
 
4575
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4576
  if (!SWIG_IsOK(ecode3)) {
 
4577
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "3"" of type '" "int""'");
 
4578
  } 
 
4579
  arg3 = static_cast< int >(val3);
 
4580
  {
 
4581
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4582
    result = (int)(arg1)->MarkerAdd(arg2,arg3);
 
4583
    wxPyEndAllowThreads(__tstate);
 
4584
    if (PyErr_Occurred()) SWIG_fail;
 
4585
  }
 
4586
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4587
  return resultobj;
 
4588
fail:
 
4589
  return NULL;
 
4590
}
 
4591
 
 
4592
 
 
4593
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4594
  PyObject *resultobj = 0;
 
4595
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4596
  int arg2 ;
 
4597
  int arg3 ;
 
4598
  void *argp1 = 0 ;
 
4599
  int res1 = 0 ;
 
4600
  int val2 ;
 
4601
  int ecode2 = 0 ;
 
4602
  int val3 ;
 
4603
  int ecode3 = 0 ;
 
4604
  PyObject * obj0 = 0 ;
 
4605
  PyObject * obj1 = 0 ;
 
4606
  PyObject * obj2 = 0 ;
 
4607
  char *  kwnames[] = {
 
4608
    (char *) "self",(char *) "line",(char *) "markerNumber", NULL 
 
4609
  };
 
4610
  
 
4611
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4612
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4613
  if (!SWIG_IsOK(res1)) {
 
4614
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4615
  }
 
4616
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4617
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4618
  if (!SWIG_IsOK(ecode2)) {
 
4619
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "2"" of type '" "int""'");
 
4620
  } 
 
4621
  arg2 = static_cast< int >(val2);
 
4622
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4623
  if (!SWIG_IsOK(ecode3)) {
 
4624
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "3"" of type '" "int""'");
 
4625
  } 
 
4626
  arg3 = static_cast< int >(val3);
 
4627
  {
 
4628
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4629
    (arg1)->MarkerDelete(arg2,arg3);
 
4630
    wxPyEndAllowThreads(__tstate);
 
4631
    if (PyErr_Occurred()) SWIG_fail;
 
4632
  }
 
4633
  resultobj = SWIG_Py_Void();
 
4634
  return resultobj;
 
4635
fail:
 
4636
  return NULL;
 
4637
}
 
4638
 
 
4639
 
 
4640
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4641
  PyObject *resultobj = 0;
 
4642
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4643
  int arg2 ;
 
4644
  void *argp1 = 0 ;
 
4645
  int res1 = 0 ;
 
4646
  int val2 ;
 
4647
  int ecode2 = 0 ;
 
4648
  PyObject * obj0 = 0 ;
 
4649
  PyObject * obj1 = 0 ;
 
4650
  char *  kwnames[] = {
 
4651
    (char *) "self",(char *) "markerNumber", NULL 
 
4652
  };
 
4653
  
 
4654
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) SWIG_fail;
 
4655
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4656
  if (!SWIG_IsOK(res1)) {
 
4657
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4658
  }
 
4659
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4660
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4661
  if (!SWIG_IsOK(ecode2)) {
 
4662
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "2"" of type '" "int""'");
 
4663
  } 
 
4664
  arg2 = static_cast< int >(val2);
 
4665
  {
 
4666
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4667
    (arg1)->MarkerDeleteAll(arg2);
 
4668
    wxPyEndAllowThreads(__tstate);
 
4669
    if (PyErr_Occurred()) SWIG_fail;
 
4670
  }
 
4671
  resultobj = SWIG_Py_Void();
 
4672
  return resultobj;
 
4673
fail:
 
4674
  return NULL;
 
4675
}
 
4676
 
 
4677
 
 
4678
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4679
  PyObject *resultobj = 0;
 
4680
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4681
  int arg2 ;
 
4682
  int result;
 
4683
  void *argp1 = 0 ;
 
4684
  int res1 = 0 ;
 
4685
  int val2 ;
 
4686
  int ecode2 = 0 ;
 
4687
  PyObject * obj0 = 0 ;
 
4688
  PyObject * obj1 = 0 ;
 
4689
  char *  kwnames[] = {
 
4690
    (char *) "self",(char *) "line", NULL 
 
4691
  };
 
4692
  
 
4693
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) SWIG_fail;
 
4694
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4695
  if (!SWIG_IsOK(res1)) {
 
4696
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4697
  }
 
4698
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4699
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4700
  if (!SWIG_IsOK(ecode2)) {
 
4701
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "2"" of type '" "int""'");
 
4702
  } 
 
4703
  arg2 = static_cast< int >(val2);
 
4704
  {
 
4705
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4706
    result = (int)(arg1)->MarkerGet(arg2);
 
4707
    wxPyEndAllowThreads(__tstate);
 
4708
    if (PyErr_Occurred()) SWIG_fail;
 
4709
  }
 
4710
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4711
  return resultobj;
 
4712
fail:
 
4713
  return NULL;
 
4714
}
 
4715
 
 
4716
 
 
4717
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4718
  PyObject *resultobj = 0;
 
4719
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4720
  int arg2 ;
 
4721
  int arg3 ;
 
4722
  int result;
 
4723
  void *argp1 = 0 ;
 
4724
  int res1 = 0 ;
 
4725
  int val2 ;
 
4726
  int ecode2 = 0 ;
 
4727
  int val3 ;
 
4728
  int ecode3 = 0 ;
 
4729
  PyObject * obj0 = 0 ;
 
4730
  PyObject * obj1 = 0 ;
 
4731
  PyObject * obj2 = 0 ;
 
4732
  char *  kwnames[] = {
 
4733
    (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL 
 
4734
  };
 
4735
  
 
4736
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4737
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4738
  if (!SWIG_IsOK(res1)) {
 
4739
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4740
  }
 
4741
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4742
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4743
  if (!SWIG_IsOK(ecode2)) {
 
4744
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "2"" of type '" "int""'");
 
4745
  } 
 
4746
  arg2 = static_cast< int >(val2);
 
4747
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4748
  if (!SWIG_IsOK(ecode3)) {
 
4749
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "3"" of type '" "int""'");
 
4750
  } 
 
4751
  arg3 = static_cast< int >(val3);
 
4752
  {
 
4753
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4754
    result = (int)(arg1)->MarkerNext(arg2,arg3);
 
4755
    wxPyEndAllowThreads(__tstate);
 
4756
    if (PyErr_Occurred()) SWIG_fail;
 
4757
  }
 
4758
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4759
  return resultobj;
 
4760
fail:
 
4761
  return NULL;
 
4762
}
 
4763
 
 
4764
 
 
4765
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4766
  PyObject *resultobj = 0;
 
4767
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4768
  int arg2 ;
 
4769
  int arg3 ;
 
4770
  int result;
 
4771
  void *argp1 = 0 ;
 
4772
  int res1 = 0 ;
 
4773
  int val2 ;
 
4774
  int ecode2 = 0 ;
 
4775
  int val3 ;
 
4776
  int ecode3 = 0 ;
 
4777
  PyObject * obj0 = 0 ;
 
4778
  PyObject * obj1 = 0 ;
 
4779
  PyObject * obj2 = 0 ;
 
4780
  char *  kwnames[] = {
 
4781
    (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL 
 
4782
  };
 
4783
  
 
4784
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4785
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4786
  if (!SWIG_IsOK(res1)) {
 
4787
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4788
  }
 
4789
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4790
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4791
  if (!SWIG_IsOK(ecode2)) {
 
4792
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "2"" of type '" "int""'");
 
4793
  } 
 
4794
  arg2 = static_cast< int >(val2);
 
4795
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4796
  if (!SWIG_IsOK(ecode3)) {
 
4797
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "3"" of type '" "int""'");
 
4798
  } 
 
4799
  arg3 = static_cast< int >(val3);
 
4800
  {
 
4801
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4802
    result = (int)(arg1)->MarkerPrevious(arg2,arg3);
 
4803
    wxPyEndAllowThreads(__tstate);
 
4804
    if (PyErr_Occurred()) SWIG_fail;
 
4805
  }
 
4806
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4807
  return resultobj;
 
4808
fail:
 
4809
  return NULL;
 
4810
}
 
4811
 
 
4812
 
 
4813
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4814
  PyObject *resultobj = 0;
 
4815
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4816
  int arg2 ;
 
4817
  wxBitmap *arg3 = 0 ;
 
4818
  void *argp1 = 0 ;
 
4819
  int res1 = 0 ;
 
4820
  int val2 ;
 
4821
  int ecode2 = 0 ;
 
4822
  void *argp3 = 0 ;
 
4823
  int res3 = 0 ;
 
4824
  PyObject * obj0 = 0 ;
 
4825
  PyObject * obj1 = 0 ;
 
4826
  PyObject * obj2 = 0 ;
 
4827
  char *  kwnames[] = {
 
4828
    (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL 
 
4829
  };
 
4830
  
 
4831
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4832
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4833
  if (!SWIG_IsOK(res1)) {
 
4834
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4835
  }
 
4836
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4837
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4838
  if (!SWIG_IsOK(ecode2)) {
 
4839
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "2"" of type '" "int""'");
 
4840
  } 
 
4841
  arg2 = static_cast< int >(val2);
 
4842
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap,  0  | 0);
 
4843
  if (!SWIG_IsOK(res3)) {
 
4844
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); 
 
4845
  }
 
4846
  if (!argp3) {
 
4847
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); 
 
4848
  }
 
4849
  arg3 = reinterpret_cast< wxBitmap * >(argp3);
 
4850
  {
 
4851
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4852
    (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
 
4853
    wxPyEndAllowThreads(__tstate);
 
4854
    if (PyErr_Occurred()) SWIG_fail;
 
4855
  }
 
4856
  resultobj = SWIG_Py_Void();
 
4857
  return resultobj;
 
4858
fail:
 
4859
  return NULL;
 
4860
}
 
4861
 
 
4862
 
 
4863
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAddSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4864
  PyObject *resultobj = 0;
 
4865
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4866
  int arg2 ;
 
4867
  int arg3 ;
 
4868
  void *argp1 = 0 ;
 
4869
  int res1 = 0 ;
 
4870
  int val2 ;
 
4871
  int ecode2 = 0 ;
 
4872
  int val3 ;
 
4873
  int ecode3 = 0 ;
 
4874
  PyObject * obj0 = 0 ;
 
4875
  PyObject * obj1 = 0 ;
 
4876
  PyObject * obj2 = 0 ;
 
4877
  char *  kwnames[] = {
 
4878
    (char *) "self",(char *) "line",(char *) "set", NULL 
 
4879
  };
 
4880
  
 
4881
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAddSet",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_MarkerAddSet" "', 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_MarkerAddSet" "', expected argument " "2"" of type '" "int""'");
 
4890
  } 
 
4891
  arg2 = static_cast< int >(val2);
 
4892
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4893
  if (!SWIG_IsOK(ecode3)) {
 
4894
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "3"" of type '" "int""'");
 
4895
  } 
 
4896
  arg3 = static_cast< int >(val3);
 
4897
  {
 
4898
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4899
    (arg1)->MarkerAddSet(arg2,arg3);
 
4900
    wxPyEndAllowThreads(__tstate);
 
4901
    if (PyErr_Occurred()) SWIG_fail;
 
4902
  }
 
4903
  resultobj = SWIG_Py_Void();
 
4904
  return resultobj;
 
4905
fail:
 
4906
  return NULL;
 
4907
}
 
4908
 
 
4909
 
 
4910
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4911
  PyObject *resultobj = 0;
 
4912
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4913
  int arg2 ;
 
4914
  int arg3 ;
 
4915
  void *argp1 = 0 ;
 
4916
  int res1 = 0 ;
 
4917
  int val2 ;
 
4918
  int ecode2 = 0 ;
 
4919
  int val3 ;
 
4920
  int ecode3 = 0 ;
 
4921
  PyObject * obj0 = 0 ;
 
4922
  PyObject * obj1 = 0 ;
 
4923
  PyObject * obj2 = 0 ;
 
4924
  char *  kwnames[] = {
 
4925
    (char *) "self",(char *) "markerNumber",(char *) "alpha", NULL 
 
4926
  };
 
4927
  
 
4928
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetAlpha",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4929
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4930
  if (!SWIG_IsOK(res1)) {
 
4931
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4932
  }
 
4933
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4934
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4935
  if (!SWIG_IsOK(ecode2)) {
 
4936
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "2"" of type '" "int""'");
 
4937
  } 
 
4938
  arg2 = static_cast< int >(val2);
 
4939
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4940
  if (!SWIG_IsOK(ecode3)) {
 
4941
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "3"" of type '" "int""'");
 
4942
  } 
 
4943
  arg3 = static_cast< int >(val3);
 
4944
  {
 
4945
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4946
    (arg1)->MarkerSetAlpha(arg2,arg3);
 
4947
    wxPyEndAllowThreads(__tstate);
 
4948
    if (PyErr_Occurred()) SWIG_fail;
 
4949
  }
 
4950
  resultobj = SWIG_Py_Void();
 
4951
  return resultobj;
 
4952
fail:
 
4953
  return NULL;
 
4954
}
 
4955
 
 
4956
 
 
4957
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4958
  PyObject *resultobj = 0;
 
4959
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
4960
  int arg2 ;
 
4961
  int arg3 ;
 
4962
  void *argp1 = 0 ;
 
4963
  int res1 = 0 ;
 
4964
  int val2 ;
 
4965
  int ecode2 = 0 ;
 
4966
  int val3 ;
 
4967
  int ecode3 = 0 ;
 
4968
  PyObject * obj0 = 0 ;
 
4969
  PyObject * obj1 = 0 ;
 
4970
  PyObject * obj2 = 0 ;
 
4971
  char *  kwnames[] = {
 
4972
    (char *) "self",(char *) "margin",(char *) "marginType", NULL 
 
4973
  };
 
4974
  
 
4975
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4976
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
4977
  if (!SWIG_IsOK(res1)) {
 
4978
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
4979
  }
 
4980
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
4981
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4982
  if (!SWIG_IsOK(ecode2)) {
 
4983
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "2"" of type '" "int""'");
 
4984
  } 
 
4985
  arg2 = static_cast< int >(val2);
 
4986
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4987
  if (!SWIG_IsOK(ecode3)) {
 
4988
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "3"" of type '" "int""'");
 
4989
  } 
 
4990
  arg3 = static_cast< int >(val3);
 
4991
  {
 
4992
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4993
    (arg1)->SetMarginType(arg2,arg3);
 
4994
    wxPyEndAllowThreads(__tstate);
 
4995
    if (PyErr_Occurred()) SWIG_fail;
 
4996
  }
 
4997
  resultobj = SWIG_Py_Void();
 
4998
  return resultobj;
 
4999
fail:
 
5000
  return NULL;
 
5001
}
 
5002
 
 
5003
 
 
5004
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5005
  PyObject *resultobj = 0;
 
5006
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5007
  int arg2 ;
 
5008
  int result;
 
5009
  void *argp1 = 0 ;
 
5010
  int res1 = 0 ;
 
5011
  int val2 ;
 
5012
  int ecode2 = 0 ;
 
5013
  PyObject * obj0 = 0 ;
 
5014
  PyObject * obj1 = 0 ;
 
5015
  char *  kwnames[] = {
 
5016
    (char *) "self",(char *) "margin", NULL 
 
5017
  };
 
5018
  
 
5019
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) SWIG_fail;
 
5020
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5021
  if (!SWIG_IsOK(res1)) {
 
5022
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
5023
  }
 
5024
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5025
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5026
  if (!SWIG_IsOK(ecode2)) {
 
5027
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "2"" of type '" "int""'");
 
5028
  } 
 
5029
  arg2 = static_cast< int >(val2);
 
5030
  {
 
5031
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5032
    result = (int)((wxStyledTextCtrl const *)arg1)->GetMarginType(arg2);
 
5033
    wxPyEndAllowThreads(__tstate);
 
5034
    if (PyErr_Occurred()) SWIG_fail;
 
5035
  }
 
5036
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5037
  return resultobj;
 
5038
fail:
 
5039
  return NULL;
 
5040
}
 
5041
 
 
5042
 
 
5043
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5044
  PyObject *resultobj = 0;
 
5045
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5046
  int arg2 ;
 
5047
  int arg3 ;
 
5048
  void *argp1 = 0 ;
 
5049
  int res1 = 0 ;
 
5050
  int val2 ;
 
5051
  int ecode2 = 0 ;
 
5052
  int val3 ;
 
5053
  int ecode3 = 0 ;
 
5054
  PyObject * obj0 = 0 ;
 
5055
  PyObject * obj1 = 0 ;
 
5056
  PyObject * obj2 = 0 ;
 
5057
  char *  kwnames[] = {
 
5058
    (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL 
 
5059
  };
 
5060
  
 
5061
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5062
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5063
  if (!SWIG_IsOK(res1)) {
 
5064
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5065
  }
 
5066
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5067
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5068
  if (!SWIG_IsOK(ecode2)) {
 
5069
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
 
5070
  } 
 
5071
  arg2 = static_cast< int >(val2);
 
5072
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
5073
  if (!SWIG_IsOK(ecode3)) {
 
5074
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "3"" of type '" "int""'");
 
5075
  } 
 
5076
  arg3 = static_cast< int >(val3);
 
5077
  {
 
5078
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5079
    (arg1)->SetMarginWidth(arg2,arg3);
 
5080
    wxPyEndAllowThreads(__tstate);
 
5081
    if (PyErr_Occurred()) SWIG_fail;
 
5082
  }
 
5083
  resultobj = SWIG_Py_Void();
 
5084
  return resultobj;
 
5085
fail:
 
5086
  return NULL;
 
5087
}
 
5088
 
 
5089
 
 
5090
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5091
  PyObject *resultobj = 0;
 
5092
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5093
  int arg2 ;
 
5094
  int result;
 
5095
  void *argp1 = 0 ;
 
5096
  int res1 = 0 ;
 
5097
  int val2 ;
 
5098
  int ecode2 = 0 ;
 
5099
  PyObject * obj0 = 0 ;
 
5100
  PyObject * obj1 = 0 ;
 
5101
  char *  kwnames[] = {
 
5102
    (char *) "self",(char *) "margin", NULL 
 
5103
  };
 
5104
  
 
5105
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) SWIG_fail;
 
5106
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5107
  if (!SWIG_IsOK(res1)) {
 
5108
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
5109
  }
 
5110
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5111
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5112
  if (!SWIG_IsOK(ecode2)) {
 
5113
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "2"" of type '" "int""'");
 
5114
  } 
 
5115
  arg2 = static_cast< int >(val2);
 
5116
  {
 
5117
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5118
    result = (int)((wxStyledTextCtrl const *)arg1)->GetMarginWidth(arg2);
 
5119
    wxPyEndAllowThreads(__tstate);
 
5120
    if (PyErr_Occurred()) SWIG_fail;
 
5121
  }
 
5122
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5123
  return resultobj;
 
5124
fail:
 
5125
  return NULL;
 
5126
}
 
5127
 
 
5128
 
 
5129
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5130
  PyObject *resultobj = 0;
 
5131
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5132
  int arg2 ;
 
5133
  int arg3 ;
 
5134
  void *argp1 = 0 ;
 
5135
  int res1 = 0 ;
 
5136
  int val2 ;
 
5137
  int ecode2 = 0 ;
 
5138
  int val3 ;
 
5139
  int ecode3 = 0 ;
 
5140
  PyObject * obj0 = 0 ;
 
5141
  PyObject * obj1 = 0 ;
 
5142
  PyObject * obj2 = 0 ;
 
5143
  char *  kwnames[] = {
 
5144
    (char *) "self",(char *) "margin",(char *) "mask", NULL 
 
5145
  };
 
5146
  
 
5147
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5148
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5149
  if (!SWIG_IsOK(res1)) {
 
5150
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5151
  }
 
5152
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5153
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5154
  if (!SWIG_IsOK(ecode2)) {
 
5155
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "2"" of type '" "int""'");
 
5156
  } 
 
5157
  arg2 = static_cast< int >(val2);
 
5158
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
5159
  if (!SWIG_IsOK(ecode3)) {
 
5160
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "3"" of type '" "int""'");
 
5161
  } 
 
5162
  arg3 = static_cast< int >(val3);
 
5163
  {
 
5164
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5165
    (arg1)->SetMarginMask(arg2,arg3);
 
5166
    wxPyEndAllowThreads(__tstate);
 
5167
    if (PyErr_Occurred()) SWIG_fail;
 
5168
  }
 
5169
  resultobj = SWIG_Py_Void();
 
5170
  return resultobj;
 
5171
fail:
 
5172
  return NULL;
 
5173
}
 
5174
 
 
5175
 
 
5176
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5177
  PyObject *resultobj = 0;
 
5178
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5179
  int arg2 ;
 
5180
  int result;
 
5181
  void *argp1 = 0 ;
 
5182
  int res1 = 0 ;
 
5183
  int val2 ;
 
5184
  int ecode2 = 0 ;
 
5185
  PyObject * obj0 = 0 ;
 
5186
  PyObject * obj1 = 0 ;
 
5187
  char *  kwnames[] = {
 
5188
    (char *) "self",(char *) "margin", NULL 
 
5189
  };
 
5190
  
 
5191
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) SWIG_fail;
 
5192
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5193
  if (!SWIG_IsOK(res1)) {
 
5194
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
5195
  }
 
5196
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5197
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5198
  if (!SWIG_IsOK(ecode2)) {
 
5199
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "2"" of type '" "int""'");
 
5200
  } 
 
5201
  arg2 = static_cast< int >(val2);
 
5202
  {
 
5203
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5204
    result = (int)((wxStyledTextCtrl const *)arg1)->GetMarginMask(arg2);
 
5205
    wxPyEndAllowThreads(__tstate);
 
5206
    if (PyErr_Occurred()) SWIG_fail;
 
5207
  }
 
5208
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5209
  return resultobj;
 
5210
fail:
 
5211
  return NULL;
 
5212
}
 
5213
 
 
5214
 
 
5215
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5216
  PyObject *resultobj = 0;
 
5217
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5218
  int arg2 ;
 
5219
  bool arg3 ;
 
5220
  void *argp1 = 0 ;
 
5221
  int res1 = 0 ;
 
5222
  int val2 ;
 
5223
  int ecode2 = 0 ;
 
5224
  bool val3 ;
 
5225
  int ecode3 = 0 ;
 
5226
  PyObject * obj0 = 0 ;
 
5227
  PyObject * obj1 = 0 ;
 
5228
  PyObject * obj2 = 0 ;
 
5229
  char *  kwnames[] = {
 
5230
    (char *) "self",(char *) "margin",(char *) "sensitive", NULL 
 
5231
  };
 
5232
  
 
5233
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5234
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5235
  if (!SWIG_IsOK(res1)) {
 
5236
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5237
  }
 
5238
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5239
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5240
  if (!SWIG_IsOK(ecode2)) {
 
5241
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
 
5242
  } 
 
5243
  arg2 = static_cast< int >(val2);
 
5244
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
5245
  if (!SWIG_IsOK(ecode3)) {
 
5246
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "3"" of type '" "bool""'");
 
5247
  } 
 
5248
  arg3 = static_cast< bool >(val3);
 
5249
  {
 
5250
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5251
    (arg1)->SetMarginSensitive(arg2,arg3);
 
5252
    wxPyEndAllowThreads(__tstate);
 
5253
    if (PyErr_Occurred()) SWIG_fail;
 
5254
  }
 
5255
  resultobj = SWIG_Py_Void();
 
5256
  return resultobj;
 
5257
fail:
 
5258
  return NULL;
 
5259
}
 
5260
 
 
5261
 
 
5262
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5263
  PyObject *resultobj = 0;
 
5264
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5265
  int arg2 ;
 
5266
  bool result;
 
5267
  void *argp1 = 0 ;
 
5268
  int res1 = 0 ;
 
5269
  int val2 ;
 
5270
  int ecode2 = 0 ;
 
5271
  PyObject * obj0 = 0 ;
 
5272
  PyObject * obj1 = 0 ;
 
5273
  char *  kwnames[] = {
 
5274
    (char *) "self",(char *) "margin", NULL 
 
5275
  };
 
5276
  
 
5277
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) SWIG_fail;
 
5278
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5279
  if (!SWIG_IsOK(res1)) {
 
5280
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
5281
  }
 
5282
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5283
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5284
  if (!SWIG_IsOK(ecode2)) {
 
5285
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
 
5286
  } 
 
5287
  arg2 = static_cast< int >(val2);
 
5288
  {
 
5289
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5290
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetMarginSensitive(arg2);
 
5291
    wxPyEndAllowThreads(__tstate);
 
5292
    if (PyErr_Occurred()) SWIG_fail;
 
5293
  }
 
5294
  {
 
5295
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
5296
  }
 
5297
  return resultobj;
 
5298
fail:
 
5299
  return NULL;
 
5300
}
 
5301
 
 
5302
 
 
5303
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5304
  PyObject *resultobj = 0;
 
5305
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5306
  void *argp1 = 0 ;
 
5307
  int res1 = 0 ;
 
5308
  PyObject *swig_obj[1] ;
 
5309
  
 
5310
  if (!args) SWIG_fail;
 
5311
  swig_obj[0] = args;
 
5312
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5313
  if (!SWIG_IsOK(res1)) {
 
5314
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5315
  }
 
5316
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5317
  {
 
5318
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5319
    (arg1)->StyleClearAll();
 
5320
    wxPyEndAllowThreads(__tstate);
 
5321
    if (PyErr_Occurred()) SWIG_fail;
 
5322
  }
 
5323
  resultobj = SWIG_Py_Void();
 
5324
  return resultobj;
 
5325
fail:
 
5326
  return NULL;
 
5327
}
 
5328
 
 
5329
 
 
5330
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5331
  PyObject *resultobj = 0;
 
5332
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5333
  int arg2 ;
 
5334
  wxColour *arg3 = 0 ;
 
5335
  void *argp1 = 0 ;
 
5336
  int res1 = 0 ;
 
5337
  int val2 ;
 
5338
  int ecode2 = 0 ;
 
5339
  wxColour temp3 ;
 
5340
  PyObject * obj0 = 0 ;
 
5341
  PyObject * obj1 = 0 ;
 
5342
  PyObject * obj2 = 0 ;
 
5343
  char *  kwnames[] = {
 
5344
    (char *) "self",(char *) "style",(char *) "fore", NULL 
 
5345
  };
 
5346
  
 
5347
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5348
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5349
  if (!SWIG_IsOK(res1)) {
 
5350
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5351
  }
 
5352
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5353
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5354
  if (!SWIG_IsOK(ecode2)) {
 
5355
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "2"" of type '" "int""'");
 
5356
  } 
 
5357
  arg2 = static_cast< int >(val2);
 
5358
  {
 
5359
    arg3 = &temp3;
 
5360
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
5361
  }
 
5362
  {
 
5363
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5364
    (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
 
5365
    wxPyEndAllowThreads(__tstate);
 
5366
    if (PyErr_Occurred()) SWIG_fail;
 
5367
  }
 
5368
  resultobj = SWIG_Py_Void();
 
5369
  return resultobj;
 
5370
fail:
 
5371
  return NULL;
 
5372
}
 
5373
 
 
5374
 
 
5375
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5376
  PyObject *resultobj = 0;
 
5377
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5378
  int arg2 ;
 
5379
  wxColour *arg3 = 0 ;
 
5380
  void *argp1 = 0 ;
 
5381
  int res1 = 0 ;
 
5382
  int val2 ;
 
5383
  int ecode2 = 0 ;
 
5384
  wxColour temp3 ;
 
5385
  PyObject * obj0 = 0 ;
 
5386
  PyObject * obj1 = 0 ;
 
5387
  PyObject * obj2 = 0 ;
 
5388
  char *  kwnames[] = {
 
5389
    (char *) "self",(char *) "style",(char *) "back", NULL 
 
5390
  };
 
5391
  
 
5392
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5393
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5394
  if (!SWIG_IsOK(res1)) {
 
5395
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5396
  }
 
5397
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5398
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5399
  if (!SWIG_IsOK(ecode2)) {
 
5400
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "2"" of type '" "int""'");
 
5401
  } 
 
5402
  arg2 = static_cast< int >(val2);
 
5403
  {
 
5404
    arg3 = &temp3;
 
5405
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
5406
  }
 
5407
  {
 
5408
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5409
    (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
 
5410
    wxPyEndAllowThreads(__tstate);
 
5411
    if (PyErr_Occurred()) SWIG_fail;
 
5412
  }
 
5413
  resultobj = SWIG_Py_Void();
 
5414
  return resultobj;
 
5415
fail:
 
5416
  return NULL;
 
5417
}
 
5418
 
 
5419
 
 
5420
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5421
  PyObject *resultobj = 0;
 
5422
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5423
  int arg2 ;
 
5424
  bool arg3 ;
 
5425
  void *argp1 = 0 ;
 
5426
  int res1 = 0 ;
 
5427
  int val2 ;
 
5428
  int ecode2 = 0 ;
 
5429
  bool val3 ;
 
5430
  int ecode3 = 0 ;
 
5431
  PyObject * obj0 = 0 ;
 
5432
  PyObject * obj1 = 0 ;
 
5433
  PyObject * obj2 = 0 ;
 
5434
  char *  kwnames[] = {
 
5435
    (char *) "self",(char *) "style",(char *) "bold", NULL 
 
5436
  };
 
5437
  
 
5438
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5439
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5440
  if (!SWIG_IsOK(res1)) {
 
5441
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5442
  }
 
5443
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5444
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5445
  if (!SWIG_IsOK(ecode2)) {
 
5446
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "2"" of type '" "int""'");
 
5447
  } 
 
5448
  arg2 = static_cast< int >(val2);
 
5449
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
5450
  if (!SWIG_IsOK(ecode3)) {
 
5451
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "3"" of type '" "bool""'");
 
5452
  } 
 
5453
  arg3 = static_cast< bool >(val3);
 
5454
  {
 
5455
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5456
    (arg1)->StyleSetBold(arg2,arg3);
 
5457
    wxPyEndAllowThreads(__tstate);
 
5458
    if (PyErr_Occurred()) SWIG_fail;
 
5459
  }
 
5460
  resultobj = SWIG_Py_Void();
 
5461
  return resultobj;
 
5462
fail:
 
5463
  return NULL;
 
5464
}
 
5465
 
 
5466
 
 
5467
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5468
  PyObject *resultobj = 0;
 
5469
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5470
  int arg2 ;
 
5471
  bool arg3 ;
 
5472
  void *argp1 = 0 ;
 
5473
  int res1 = 0 ;
 
5474
  int val2 ;
 
5475
  int ecode2 = 0 ;
 
5476
  bool val3 ;
 
5477
  int ecode3 = 0 ;
 
5478
  PyObject * obj0 = 0 ;
 
5479
  PyObject * obj1 = 0 ;
 
5480
  PyObject * obj2 = 0 ;
 
5481
  char *  kwnames[] = {
 
5482
    (char *) "self",(char *) "style",(char *) "italic", NULL 
 
5483
  };
 
5484
  
 
5485
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5486
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5487
  if (!SWIG_IsOK(res1)) {
 
5488
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5489
  }
 
5490
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5491
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5492
  if (!SWIG_IsOK(ecode2)) {
 
5493
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "2"" of type '" "int""'");
 
5494
  } 
 
5495
  arg2 = static_cast< int >(val2);
 
5496
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
5497
  if (!SWIG_IsOK(ecode3)) {
 
5498
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "3"" of type '" "bool""'");
 
5499
  } 
 
5500
  arg3 = static_cast< bool >(val3);
 
5501
  {
 
5502
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5503
    (arg1)->StyleSetItalic(arg2,arg3);
 
5504
    wxPyEndAllowThreads(__tstate);
 
5505
    if (PyErr_Occurred()) SWIG_fail;
 
5506
  }
 
5507
  resultobj = SWIG_Py_Void();
 
5508
  return resultobj;
 
5509
fail:
 
5510
  return NULL;
 
5511
}
 
5512
 
 
5513
 
 
5514
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5515
  PyObject *resultobj = 0;
 
5516
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5517
  int arg2 ;
 
5518
  int arg3 ;
 
5519
  void *argp1 = 0 ;
 
5520
  int res1 = 0 ;
 
5521
  int val2 ;
 
5522
  int ecode2 = 0 ;
 
5523
  int val3 ;
 
5524
  int ecode3 = 0 ;
 
5525
  PyObject * obj0 = 0 ;
 
5526
  PyObject * obj1 = 0 ;
 
5527
  PyObject * obj2 = 0 ;
 
5528
  char *  kwnames[] = {
 
5529
    (char *) "self",(char *) "style",(char *) "sizePoints", NULL 
 
5530
  };
 
5531
  
 
5532
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5533
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5534
  if (!SWIG_IsOK(res1)) {
 
5535
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5536
  }
 
5537
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5538
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5539
  if (!SWIG_IsOK(ecode2)) {
 
5540
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "2"" of type '" "int""'");
 
5541
  } 
 
5542
  arg2 = static_cast< int >(val2);
 
5543
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
5544
  if (!SWIG_IsOK(ecode3)) {
 
5545
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "3"" of type '" "int""'");
 
5546
  } 
 
5547
  arg3 = static_cast< int >(val3);
 
5548
  {
 
5549
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5550
    (arg1)->StyleSetSize(arg2,arg3);
 
5551
    wxPyEndAllowThreads(__tstate);
 
5552
    if (PyErr_Occurred()) SWIG_fail;
 
5553
  }
 
5554
  resultobj = SWIG_Py_Void();
 
5555
  return resultobj;
 
5556
fail:
 
5557
  return NULL;
 
5558
}
 
5559
 
 
5560
 
 
5561
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5562
  PyObject *resultobj = 0;
 
5563
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5564
  int arg2 ;
 
5565
  wxString *arg3 = 0 ;
 
5566
  void *argp1 = 0 ;
 
5567
  int res1 = 0 ;
 
5568
  int val2 ;
 
5569
  int ecode2 = 0 ;
 
5570
  bool temp3 = false ;
 
5571
  PyObject * obj0 = 0 ;
 
5572
  PyObject * obj1 = 0 ;
 
5573
  PyObject * obj2 = 0 ;
 
5574
  char *  kwnames[] = {
 
5575
    (char *) "self",(char *) "style",(char *) "fontName", NULL 
 
5576
  };
 
5577
  
 
5578
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5579
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5580
  if (!SWIG_IsOK(res1)) {
 
5581
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5582
  }
 
5583
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5584
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5585
  if (!SWIG_IsOK(ecode2)) {
 
5586
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "2"" of type '" "int""'");
 
5587
  } 
 
5588
  arg2 = static_cast< int >(val2);
 
5589
  {
 
5590
    arg3 = wxString_in_helper(obj2);
 
5591
    if (arg3 == NULL) SWIG_fail;
 
5592
    temp3 = true;
 
5593
  }
 
5594
  {
 
5595
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5596
    (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
 
5597
    wxPyEndAllowThreads(__tstate);
 
5598
    if (PyErr_Occurred()) SWIG_fail;
 
5599
  }
 
5600
  resultobj = SWIG_Py_Void();
 
5601
  {
 
5602
    if (temp3)
 
5603
    delete arg3;
 
5604
  }
 
5605
  return resultobj;
 
5606
fail:
 
5607
  {
 
5608
    if (temp3)
 
5609
    delete arg3;
 
5610
  }
 
5611
  return NULL;
 
5612
}
 
5613
 
 
5614
 
 
5615
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5616
  PyObject *resultobj = 0;
 
5617
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5618
  int arg2 ;
 
5619
  bool arg3 ;
 
5620
  void *argp1 = 0 ;
 
5621
  int res1 = 0 ;
 
5622
  int val2 ;
 
5623
  int ecode2 = 0 ;
 
5624
  bool val3 ;
 
5625
  int ecode3 = 0 ;
 
5626
  PyObject * obj0 = 0 ;
 
5627
  PyObject * obj1 = 0 ;
 
5628
  PyObject * obj2 = 0 ;
 
5629
  char *  kwnames[] = {
 
5630
    (char *) "self",(char *) "style",(char *) "filled", NULL 
 
5631
  };
 
5632
  
 
5633
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5634
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5635
  if (!SWIG_IsOK(res1)) {
 
5636
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5637
  }
 
5638
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5639
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5640
  if (!SWIG_IsOK(ecode2)) {
 
5641
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "2"" of type '" "int""'");
 
5642
  } 
 
5643
  arg2 = static_cast< int >(val2);
 
5644
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
5645
  if (!SWIG_IsOK(ecode3)) {
 
5646
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "3"" of type '" "bool""'");
 
5647
  } 
 
5648
  arg3 = static_cast< bool >(val3);
 
5649
  {
 
5650
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5651
    (arg1)->StyleSetEOLFilled(arg2,arg3);
 
5652
    wxPyEndAllowThreads(__tstate);
 
5653
    if (PyErr_Occurred()) SWIG_fail;
 
5654
  }
 
5655
  resultobj = SWIG_Py_Void();
 
5656
  return resultobj;
 
5657
fail:
 
5658
  return NULL;
 
5659
}
 
5660
 
 
5661
 
 
5662
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5663
  PyObject *resultobj = 0;
 
5664
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5665
  void *argp1 = 0 ;
 
5666
  int res1 = 0 ;
 
5667
  PyObject *swig_obj[1] ;
 
5668
  
 
5669
  if (!args) SWIG_fail;
 
5670
  swig_obj[0] = args;
 
5671
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5672
  if (!SWIG_IsOK(res1)) {
 
5673
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleResetDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5674
  }
 
5675
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5676
  {
 
5677
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5678
    (arg1)->StyleResetDefault();
 
5679
    wxPyEndAllowThreads(__tstate);
 
5680
    if (PyErr_Occurred()) SWIG_fail;
 
5681
  }
 
5682
  resultobj = SWIG_Py_Void();
 
5683
  return resultobj;
 
5684
fail:
 
5685
  return NULL;
 
5686
}
 
5687
 
 
5688
 
 
5689
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5690
  PyObject *resultobj = 0;
 
5691
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5692
  int arg2 ;
 
5693
  bool arg3 ;
 
5694
  void *argp1 = 0 ;
 
5695
  int res1 = 0 ;
 
5696
  int val2 ;
 
5697
  int ecode2 = 0 ;
 
5698
  bool val3 ;
 
5699
  int ecode3 = 0 ;
 
5700
  PyObject * obj0 = 0 ;
 
5701
  PyObject * obj1 = 0 ;
 
5702
  PyObject * obj2 = 0 ;
 
5703
  char *  kwnames[] = {
 
5704
    (char *) "self",(char *) "style",(char *) "underline", NULL 
 
5705
  };
 
5706
  
 
5707
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5708
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5709
  if (!SWIG_IsOK(res1)) {
 
5710
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5711
  }
 
5712
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5713
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5714
  if (!SWIG_IsOK(ecode2)) {
 
5715
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "2"" of type '" "int""'");
 
5716
  } 
 
5717
  arg2 = static_cast< int >(val2);
 
5718
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
5719
  if (!SWIG_IsOK(ecode3)) {
 
5720
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "3"" of type '" "bool""'");
 
5721
  } 
 
5722
  arg3 = static_cast< bool >(val3);
 
5723
  {
 
5724
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5725
    (arg1)->StyleSetUnderline(arg2,arg3);
 
5726
    wxPyEndAllowThreads(__tstate);
 
5727
    if (PyErr_Occurred()) SWIG_fail;
 
5728
  }
 
5729
  resultobj = SWIG_Py_Void();
 
5730
  return resultobj;
 
5731
fail:
 
5732
  return NULL;
 
5733
}
 
5734
 
 
5735
 
 
5736
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5737
  PyObject *resultobj = 0;
 
5738
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5739
  int arg2 ;
 
5740
  wxColour result;
 
5741
  void *argp1 = 0 ;
 
5742
  int res1 = 0 ;
 
5743
  int val2 ;
 
5744
  int ecode2 = 0 ;
 
5745
  PyObject * obj0 = 0 ;
 
5746
  PyObject * obj1 = 0 ;
 
5747
  char *  kwnames[] = {
 
5748
    (char *) "self",(char *) "style", NULL 
 
5749
  };
 
5750
  
 
5751
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
 
5752
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5753
  if (!SWIG_IsOK(res1)) {
 
5754
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
5755
  }
 
5756
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5757
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5758
  if (!SWIG_IsOK(ecode2)) {
 
5759
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetForeground" "', expected argument " "2"" of type '" "int""'");
 
5760
  } 
 
5761
  arg2 = static_cast< int >(val2);
 
5762
  {
 
5763
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5764
    result = ((wxStyledTextCtrl const *)arg1)->StyleGetForeground(arg2);
 
5765
    wxPyEndAllowThreads(__tstate);
 
5766
    if (PyErr_Occurred()) SWIG_fail;
 
5767
  }
 
5768
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
5769
  return resultobj;
 
5770
fail:
 
5771
  return NULL;
 
5772
}
 
5773
 
 
5774
 
 
5775
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5776
  PyObject *resultobj = 0;
 
5777
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5778
  int arg2 ;
 
5779
  wxColour result;
 
5780
  void *argp1 = 0 ;
 
5781
  int res1 = 0 ;
 
5782
  int val2 ;
 
5783
  int ecode2 = 0 ;
 
5784
  PyObject * obj0 = 0 ;
 
5785
  PyObject * obj1 = 0 ;
 
5786
  char *  kwnames[] = {
 
5787
    (char *) "self",(char *) "style", NULL 
 
5788
  };
 
5789
  
 
5790
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetBackground",kwnames,&obj0,&obj1)) SWIG_fail;
 
5791
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5792
  if (!SWIG_IsOK(res1)) {
 
5793
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
5794
  }
 
5795
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5796
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5797
  if (!SWIG_IsOK(ecode2)) {
 
5798
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetBackground" "', expected argument " "2"" of type '" "int""'");
 
5799
  } 
 
5800
  arg2 = static_cast< int >(val2);
 
5801
  {
 
5802
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5803
    result = ((wxStyledTextCtrl const *)arg1)->StyleGetBackground(arg2);
 
5804
    wxPyEndAllowThreads(__tstate);
 
5805
    if (PyErr_Occurred()) SWIG_fail;
 
5806
  }
 
5807
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
5808
  return resultobj;
 
5809
fail:
 
5810
  return NULL;
 
5811
}
 
5812
 
 
5813
 
 
5814
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5815
  PyObject *resultobj = 0;
 
5816
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5817
  int arg2 ;
 
5818
  bool result;
 
5819
  void *argp1 = 0 ;
 
5820
  int res1 = 0 ;
 
5821
  int val2 ;
 
5822
  int ecode2 = 0 ;
 
5823
  PyObject * obj0 = 0 ;
 
5824
  PyObject * obj1 = 0 ;
 
5825
  char *  kwnames[] = {
 
5826
    (char *) "self",(char *) "style", NULL 
 
5827
  };
 
5828
  
 
5829
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetBold",kwnames,&obj0,&obj1)) SWIG_fail;
 
5830
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5831
  if (!SWIG_IsOK(res1)) {
 
5832
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetBold" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
5833
  }
 
5834
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5835
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5836
  if (!SWIG_IsOK(ecode2)) {
 
5837
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetBold" "', expected argument " "2"" of type '" "int""'");
 
5838
  } 
 
5839
  arg2 = static_cast< int >(val2);
 
5840
  {
 
5841
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5842
    result = (bool)((wxStyledTextCtrl const *)arg1)->StyleGetBold(arg2);
 
5843
    wxPyEndAllowThreads(__tstate);
 
5844
    if (PyErr_Occurred()) SWIG_fail;
 
5845
  }
 
5846
  {
 
5847
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
5848
  }
 
5849
  return resultobj;
 
5850
fail:
 
5851
  return NULL;
 
5852
}
 
5853
 
 
5854
 
 
5855
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5856
  PyObject *resultobj = 0;
 
5857
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5858
  int arg2 ;
 
5859
  bool result;
 
5860
  void *argp1 = 0 ;
 
5861
  int res1 = 0 ;
 
5862
  int val2 ;
 
5863
  int ecode2 = 0 ;
 
5864
  PyObject * obj0 = 0 ;
 
5865
  PyObject * obj1 = 0 ;
 
5866
  char *  kwnames[] = {
 
5867
    (char *) "self",(char *) "style", NULL 
 
5868
  };
 
5869
  
 
5870
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetItalic",kwnames,&obj0,&obj1)) SWIG_fail;
 
5871
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5872
  if (!SWIG_IsOK(res1)) {
 
5873
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetItalic" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
5874
  }
 
5875
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5876
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5877
  if (!SWIG_IsOK(ecode2)) {
 
5878
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetItalic" "', expected argument " "2"" of type '" "int""'");
 
5879
  } 
 
5880
  arg2 = static_cast< int >(val2);
 
5881
  {
 
5882
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5883
    result = (bool)((wxStyledTextCtrl const *)arg1)->StyleGetItalic(arg2);
 
5884
    wxPyEndAllowThreads(__tstate);
 
5885
    if (PyErr_Occurred()) SWIG_fail;
 
5886
  }
 
5887
  {
 
5888
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
5889
  }
 
5890
  return resultobj;
 
5891
fail:
 
5892
  return NULL;
 
5893
}
 
5894
 
 
5895
 
 
5896
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5897
  PyObject *resultobj = 0;
 
5898
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5899
  int arg2 ;
 
5900
  int result;
 
5901
  void *argp1 = 0 ;
 
5902
  int res1 = 0 ;
 
5903
  int val2 ;
 
5904
  int ecode2 = 0 ;
 
5905
  PyObject * obj0 = 0 ;
 
5906
  PyObject * obj1 = 0 ;
 
5907
  char *  kwnames[] = {
 
5908
    (char *) "self",(char *) "style", NULL 
 
5909
  };
 
5910
  
 
5911
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetSize",kwnames,&obj0,&obj1)) SWIG_fail;
 
5912
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5913
  if (!SWIG_IsOK(res1)) {
 
5914
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
5915
  }
 
5916
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5917
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5918
  if (!SWIG_IsOK(ecode2)) {
 
5919
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetSize" "', expected argument " "2"" of type '" "int""'");
 
5920
  } 
 
5921
  arg2 = static_cast< int >(val2);
 
5922
  {
 
5923
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5924
    result = (int)((wxStyledTextCtrl const *)arg1)->StyleGetSize(arg2);
 
5925
    wxPyEndAllowThreads(__tstate);
 
5926
    if (PyErr_Occurred()) SWIG_fail;
 
5927
  }
 
5928
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5929
  return resultobj;
 
5930
fail:
 
5931
  return NULL;
 
5932
}
 
5933
 
 
5934
 
 
5935
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5936
  PyObject *resultobj = 0;
 
5937
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5938
  int arg2 ;
 
5939
  wxString result;
 
5940
  void *argp1 = 0 ;
 
5941
  int res1 = 0 ;
 
5942
  int val2 ;
 
5943
  int ecode2 = 0 ;
 
5944
  PyObject * obj0 = 0 ;
 
5945
  PyObject * obj1 = 0 ;
 
5946
  char *  kwnames[] = {
 
5947
    (char *) "self",(char *) "style", NULL 
 
5948
  };
 
5949
  
 
5950
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetFaceName",kwnames,&obj0,&obj1)) SWIG_fail;
 
5951
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5952
  if (!SWIG_IsOK(res1)) {
 
5953
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetFaceName" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
5954
  }
 
5955
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
5956
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5957
  if (!SWIG_IsOK(ecode2)) {
 
5958
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetFaceName" "', expected argument " "2"" of type '" "int""'");
 
5959
  } 
 
5960
  arg2 = static_cast< int >(val2);
 
5961
  {
 
5962
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5963
    result = (arg1)->StyleGetFaceName(arg2);
 
5964
    wxPyEndAllowThreads(__tstate);
 
5965
    if (PyErr_Occurred()) SWIG_fail;
 
5966
  }
 
5967
  {
 
5968
#if wxUSE_UNICODE
 
5969
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
5970
#else
 
5971
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
5972
#endif
 
5973
  }
 
5974
  return resultobj;
 
5975
fail:
 
5976
  return NULL;
 
5977
}
 
5978
 
 
5979
 
 
5980
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetEOLFilled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5981
  PyObject *resultobj = 0;
 
5982
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
5983
  int arg2 ;
 
5984
  bool result;
 
5985
  void *argp1 = 0 ;
 
5986
  int res1 = 0 ;
 
5987
  int val2 ;
 
5988
  int ecode2 = 0 ;
 
5989
  PyObject * obj0 = 0 ;
 
5990
  PyObject * obj1 = 0 ;
 
5991
  char *  kwnames[] = {
 
5992
    (char *) "self",(char *) "style", NULL 
 
5993
  };
 
5994
  
 
5995
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetEOLFilled",kwnames,&obj0,&obj1)) SWIG_fail;
 
5996
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
5997
  if (!SWIG_IsOK(res1)) {
 
5998
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetEOLFilled" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
5999
  }
 
6000
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6001
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6002
  if (!SWIG_IsOK(ecode2)) {
 
6003
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetEOLFilled" "', expected argument " "2"" of type '" "int""'");
 
6004
  } 
 
6005
  arg2 = static_cast< int >(val2);
 
6006
  {
 
6007
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6008
    result = (bool)((wxStyledTextCtrl const *)arg1)->StyleGetEOLFilled(arg2);
 
6009
    wxPyEndAllowThreads(__tstate);
 
6010
    if (PyErr_Occurred()) SWIG_fail;
 
6011
  }
 
6012
  {
 
6013
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6014
  }
 
6015
  return resultobj;
 
6016
fail:
 
6017
  return NULL;
 
6018
}
 
6019
 
 
6020
 
 
6021
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6022
  PyObject *resultobj = 0;
 
6023
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6024
  int arg2 ;
 
6025
  bool result;
 
6026
  void *argp1 = 0 ;
 
6027
  int res1 = 0 ;
 
6028
  int val2 ;
 
6029
  int ecode2 = 0 ;
 
6030
  PyObject * obj0 = 0 ;
 
6031
  PyObject * obj1 = 0 ;
 
6032
  char *  kwnames[] = {
 
6033
    (char *) "self",(char *) "style", NULL 
 
6034
  };
 
6035
  
 
6036
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetUnderline",kwnames,&obj0,&obj1)) SWIG_fail;
 
6037
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6038
  if (!SWIG_IsOK(res1)) {
 
6039
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
6040
  }
 
6041
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6042
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6043
  if (!SWIG_IsOK(ecode2)) {
 
6044
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetUnderline" "', expected argument " "2"" of type '" "int""'");
 
6045
  } 
 
6046
  arg2 = static_cast< int >(val2);
 
6047
  {
 
6048
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6049
    result = (bool)((wxStyledTextCtrl const *)arg1)->StyleGetUnderline(arg2);
 
6050
    wxPyEndAllowThreads(__tstate);
 
6051
    if (PyErr_Occurred()) SWIG_fail;
 
6052
  }
 
6053
  {
 
6054
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6055
  }
 
6056
  return resultobj;
 
6057
fail:
 
6058
  return NULL;
 
6059
}
 
6060
 
 
6061
 
 
6062
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6063
  PyObject *resultobj = 0;
 
6064
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6065
  int arg2 ;
 
6066
  int result;
 
6067
  void *argp1 = 0 ;
 
6068
  int res1 = 0 ;
 
6069
  int val2 ;
 
6070
  int ecode2 = 0 ;
 
6071
  PyObject * obj0 = 0 ;
 
6072
  PyObject * obj1 = 0 ;
 
6073
  char *  kwnames[] = {
 
6074
    (char *) "self",(char *) "style", NULL 
 
6075
  };
 
6076
  
 
6077
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetCase",kwnames,&obj0,&obj1)) SWIG_fail;
 
6078
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6079
  if (!SWIG_IsOK(res1)) {
 
6080
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
6081
  }
 
6082
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6083
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6084
  if (!SWIG_IsOK(ecode2)) {
 
6085
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetCase" "', expected argument " "2"" of type '" "int""'");
 
6086
  } 
 
6087
  arg2 = static_cast< int >(val2);
 
6088
  {
 
6089
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6090
    result = (int)((wxStyledTextCtrl const *)arg1)->StyleGetCase(arg2);
 
6091
    wxPyEndAllowThreads(__tstate);
 
6092
    if (PyErr_Occurred()) SWIG_fail;
 
6093
  }
 
6094
  resultobj = SWIG_From_int(static_cast< int >(result));
 
6095
  return resultobj;
 
6096
fail:
 
6097
  return NULL;
 
6098
}
 
6099
 
 
6100
 
 
6101
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetCharacterSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6102
  PyObject *resultobj = 0;
 
6103
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6104
  int arg2 ;
 
6105
  int result;
 
6106
  void *argp1 = 0 ;
 
6107
  int res1 = 0 ;
 
6108
  int val2 ;
 
6109
  int ecode2 = 0 ;
 
6110
  PyObject * obj0 = 0 ;
 
6111
  PyObject * obj1 = 0 ;
 
6112
  char *  kwnames[] = {
 
6113
    (char *) "self",(char *) "style", NULL 
 
6114
  };
 
6115
  
 
6116
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetCharacterSet",kwnames,&obj0,&obj1)) SWIG_fail;
 
6117
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6118
  if (!SWIG_IsOK(res1)) {
 
6119
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetCharacterSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
6120
  }
 
6121
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6122
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6123
  if (!SWIG_IsOK(ecode2)) {
 
6124
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetCharacterSet" "', expected argument " "2"" of type '" "int""'");
 
6125
  } 
 
6126
  arg2 = static_cast< int >(val2);
 
6127
  {
 
6128
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6129
    result = (int)((wxStyledTextCtrl const *)arg1)->StyleGetCharacterSet(arg2);
 
6130
    wxPyEndAllowThreads(__tstate);
 
6131
    if (PyErr_Occurred()) SWIG_fail;
 
6132
  }
 
6133
  resultobj = SWIG_From_int(static_cast< int >(result));
 
6134
  return resultobj;
 
6135
fail:
 
6136
  return NULL;
 
6137
}
 
6138
 
 
6139
 
 
6140
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6141
  PyObject *resultobj = 0;
 
6142
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6143
  int arg2 ;
 
6144
  bool result;
 
6145
  void *argp1 = 0 ;
 
6146
  int res1 = 0 ;
 
6147
  int val2 ;
 
6148
  int ecode2 = 0 ;
 
6149
  PyObject * obj0 = 0 ;
 
6150
  PyObject * obj1 = 0 ;
 
6151
  char *  kwnames[] = {
 
6152
    (char *) "self",(char *) "style", NULL 
 
6153
  };
 
6154
  
 
6155
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetVisible",kwnames,&obj0,&obj1)) SWIG_fail;
 
6156
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6157
  if (!SWIG_IsOK(res1)) {
 
6158
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
6159
  }
 
6160
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6161
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6162
  if (!SWIG_IsOK(ecode2)) {
 
6163
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetVisible" "', expected argument " "2"" of type '" "int""'");
 
6164
  } 
 
6165
  arg2 = static_cast< int >(val2);
 
6166
  {
 
6167
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6168
    result = (bool)((wxStyledTextCtrl const *)arg1)->StyleGetVisible(arg2);
 
6169
    wxPyEndAllowThreads(__tstate);
 
6170
    if (PyErr_Occurred()) SWIG_fail;
 
6171
  }
 
6172
  {
 
6173
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6174
  }
 
6175
  return resultobj;
 
6176
fail:
 
6177
  return NULL;
 
6178
}
 
6179
 
 
6180
 
 
6181
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetChangeable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6182
  PyObject *resultobj = 0;
 
6183
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6184
  int arg2 ;
 
6185
  bool result;
 
6186
  void *argp1 = 0 ;
 
6187
  int res1 = 0 ;
 
6188
  int val2 ;
 
6189
  int ecode2 = 0 ;
 
6190
  PyObject * obj0 = 0 ;
 
6191
  PyObject * obj1 = 0 ;
 
6192
  char *  kwnames[] = {
 
6193
    (char *) "self",(char *) "style", NULL 
 
6194
  };
 
6195
  
 
6196
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetChangeable",kwnames,&obj0,&obj1)) SWIG_fail;
 
6197
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6198
  if (!SWIG_IsOK(res1)) {
 
6199
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetChangeable" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
6200
  }
 
6201
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6202
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6203
  if (!SWIG_IsOK(ecode2)) {
 
6204
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetChangeable" "', expected argument " "2"" of type '" "int""'");
 
6205
  } 
 
6206
  arg2 = static_cast< int >(val2);
 
6207
  {
 
6208
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6209
    result = (bool)((wxStyledTextCtrl const *)arg1)->StyleGetChangeable(arg2);
 
6210
    wxPyEndAllowThreads(__tstate);
 
6211
    if (PyErr_Occurred()) SWIG_fail;
 
6212
  }
 
6213
  {
 
6214
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6215
  }
 
6216
  return resultobj;
 
6217
fail:
 
6218
  return NULL;
 
6219
}
 
6220
 
 
6221
 
 
6222
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetHotSpot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6223
  PyObject *resultobj = 0;
 
6224
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6225
  int arg2 ;
 
6226
  bool result;
 
6227
  void *argp1 = 0 ;
 
6228
  int res1 = 0 ;
 
6229
  int val2 ;
 
6230
  int ecode2 = 0 ;
 
6231
  PyObject * obj0 = 0 ;
 
6232
  PyObject * obj1 = 0 ;
 
6233
  char *  kwnames[] = {
 
6234
    (char *) "self",(char *) "style", NULL 
 
6235
  };
 
6236
  
 
6237
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetHotSpot",kwnames,&obj0,&obj1)) SWIG_fail;
 
6238
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6239
  if (!SWIG_IsOK(res1)) {
 
6240
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetHotSpot" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
6241
  }
 
6242
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6243
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6244
  if (!SWIG_IsOK(ecode2)) {
 
6245
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetHotSpot" "', expected argument " "2"" of type '" "int""'");
 
6246
  } 
 
6247
  arg2 = static_cast< int >(val2);
 
6248
  {
 
6249
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6250
    result = (bool)((wxStyledTextCtrl const *)arg1)->StyleGetHotSpot(arg2);
 
6251
    wxPyEndAllowThreads(__tstate);
 
6252
    if (PyErr_Occurred()) SWIG_fail;
 
6253
  }
 
6254
  {
 
6255
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6256
  }
 
6257
  return resultobj;
 
6258
fail:
 
6259
  return NULL;
 
6260
}
 
6261
 
 
6262
 
 
6263
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6264
  PyObject *resultobj = 0;
 
6265
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6266
  int arg2 ;
 
6267
  int arg3 ;
 
6268
  void *argp1 = 0 ;
 
6269
  int res1 = 0 ;
 
6270
  int val2 ;
 
6271
  int ecode2 = 0 ;
 
6272
  int val3 ;
 
6273
  int ecode3 = 0 ;
 
6274
  PyObject * obj0 = 0 ;
 
6275
  PyObject * obj1 = 0 ;
 
6276
  PyObject * obj2 = 0 ;
 
6277
  char *  kwnames[] = {
 
6278
    (char *) "self",(char *) "style",(char *) "caseForce", NULL 
 
6279
  };
 
6280
  
 
6281
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
6282
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6283
  if (!SWIG_IsOK(res1)) {
 
6284
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6285
  }
 
6286
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6287
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6288
  if (!SWIG_IsOK(ecode2)) {
 
6289
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "2"" of type '" "int""'");
 
6290
  } 
 
6291
  arg2 = static_cast< int >(val2);
 
6292
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
6293
  if (!SWIG_IsOK(ecode3)) {
 
6294
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "3"" of type '" "int""'");
 
6295
  } 
 
6296
  arg3 = static_cast< int >(val3);
 
6297
  {
 
6298
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6299
    (arg1)->StyleSetCase(arg2,arg3);
 
6300
    wxPyEndAllowThreads(__tstate);
 
6301
    if (PyErr_Occurred()) SWIG_fail;
 
6302
  }
 
6303
  resultobj = SWIG_Py_Void();
 
6304
  return resultobj;
 
6305
fail:
 
6306
  return NULL;
 
6307
}
 
6308
 
 
6309
 
 
6310
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6311
  PyObject *resultobj = 0;
 
6312
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6313
  int arg2 ;
 
6314
  bool arg3 ;
 
6315
  void *argp1 = 0 ;
 
6316
  int res1 = 0 ;
 
6317
  int val2 ;
 
6318
  int ecode2 = 0 ;
 
6319
  bool val3 ;
 
6320
  int ecode3 = 0 ;
 
6321
  PyObject * obj0 = 0 ;
 
6322
  PyObject * obj1 = 0 ;
 
6323
  PyObject * obj2 = 0 ;
 
6324
  char *  kwnames[] = {
 
6325
    (char *) "self",(char *) "style",(char *) "hotspot", NULL 
 
6326
  };
 
6327
  
 
6328
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
6329
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6330
  if (!SWIG_IsOK(res1)) {
 
6331
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6332
  }
 
6333
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6334
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6335
  if (!SWIG_IsOK(ecode2)) {
 
6336
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "2"" of type '" "int""'");
 
6337
  } 
 
6338
  arg2 = static_cast< int >(val2);
 
6339
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
6340
  if (!SWIG_IsOK(ecode3)) {
 
6341
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "3"" of type '" "bool""'");
 
6342
  } 
 
6343
  arg3 = static_cast< bool >(val3);
 
6344
  {
 
6345
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6346
    (arg1)->StyleSetHotSpot(arg2,arg3);
 
6347
    wxPyEndAllowThreads(__tstate);
 
6348
    if (PyErr_Occurred()) SWIG_fail;
 
6349
  }
 
6350
  resultobj = SWIG_Py_Void();
 
6351
  return resultobj;
 
6352
fail:
 
6353
  return NULL;
 
6354
}
 
6355
 
 
6356
 
 
6357
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6358
  PyObject *resultobj = 0;
 
6359
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6360
  bool arg2 ;
 
6361
  wxColour *arg3 = 0 ;
 
6362
  void *argp1 = 0 ;
 
6363
  int res1 = 0 ;
 
6364
  bool val2 ;
 
6365
  int ecode2 = 0 ;
 
6366
  wxColour temp3 ;
 
6367
  PyObject * obj0 = 0 ;
 
6368
  PyObject * obj1 = 0 ;
 
6369
  PyObject * obj2 = 0 ;
 
6370
  char *  kwnames[] = {
 
6371
    (char *) "self",(char *) "useSetting",(char *) "fore", NULL 
 
6372
  };
 
6373
  
 
6374
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
6375
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6376
  if (!SWIG_IsOK(res1)) {
 
6377
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6378
  }
 
6379
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6380
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
6381
  if (!SWIG_IsOK(ecode2)) {
 
6382
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "2"" of type '" "bool""'");
 
6383
  } 
 
6384
  arg2 = static_cast< bool >(val2);
 
6385
  {
 
6386
    arg3 = &temp3;
 
6387
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
6388
  }
 
6389
  {
 
6390
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6391
    (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
 
6392
    wxPyEndAllowThreads(__tstate);
 
6393
    if (PyErr_Occurred()) SWIG_fail;
 
6394
  }
 
6395
  resultobj = SWIG_Py_Void();
 
6396
  return resultobj;
 
6397
fail:
 
6398
  return NULL;
 
6399
}
 
6400
 
 
6401
 
 
6402
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6403
  PyObject *resultobj = 0;
 
6404
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6405
  bool arg2 ;
 
6406
  wxColour *arg3 = 0 ;
 
6407
  void *argp1 = 0 ;
 
6408
  int res1 = 0 ;
 
6409
  bool val2 ;
 
6410
  int ecode2 = 0 ;
 
6411
  wxColour temp3 ;
 
6412
  PyObject * obj0 = 0 ;
 
6413
  PyObject * obj1 = 0 ;
 
6414
  PyObject * obj2 = 0 ;
 
6415
  char *  kwnames[] = {
 
6416
    (char *) "self",(char *) "useSetting",(char *) "back", NULL 
 
6417
  };
 
6418
  
 
6419
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
6420
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6421
  if (!SWIG_IsOK(res1)) {
 
6422
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6423
  }
 
6424
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6425
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
6426
  if (!SWIG_IsOK(ecode2)) {
 
6427
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "2"" of type '" "bool""'");
 
6428
  } 
 
6429
  arg2 = static_cast< bool >(val2);
 
6430
  {
 
6431
    arg3 = &temp3;
 
6432
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
6433
  }
 
6434
  {
 
6435
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6436
    (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
 
6437
    wxPyEndAllowThreads(__tstate);
 
6438
    if (PyErr_Occurred()) SWIG_fail;
 
6439
  }
 
6440
  resultobj = SWIG_Py_Void();
 
6441
  return resultobj;
 
6442
fail:
 
6443
  return NULL;
 
6444
}
 
6445
 
 
6446
 
 
6447
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6448
  PyObject *resultobj = 0;
 
6449
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6450
  int result;
 
6451
  void *argp1 = 0 ;
 
6452
  int res1 = 0 ;
 
6453
  PyObject *swig_obj[1] ;
 
6454
  
 
6455
  if (!args) SWIG_fail;
 
6456
  swig_obj[0] = args;
 
6457
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6458
  if (!SWIG_IsOK(res1)) {
 
6459
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
6460
  }
 
6461
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6462
  {
 
6463
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6464
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSelAlpha();
 
6465
    wxPyEndAllowThreads(__tstate);
 
6466
    if (PyErr_Occurred()) SWIG_fail;
 
6467
  }
 
6468
  resultobj = SWIG_From_int(static_cast< int >(result));
 
6469
  return resultobj;
 
6470
fail:
 
6471
  return NULL;
 
6472
}
 
6473
 
 
6474
 
 
6475
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6476
  PyObject *resultobj = 0;
 
6477
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6478
  int arg2 ;
 
6479
  void *argp1 = 0 ;
 
6480
  int res1 = 0 ;
 
6481
  int val2 ;
 
6482
  int ecode2 = 0 ;
 
6483
  PyObject * obj0 = 0 ;
 
6484
  PyObject * obj1 = 0 ;
 
6485
  char *  kwnames[] = {
 
6486
    (char *) "self",(char *) "alpha", NULL 
 
6487
  };
 
6488
  
 
6489
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelAlpha",kwnames,&obj0,&obj1)) SWIG_fail;
 
6490
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6491
  if (!SWIG_IsOK(res1)) {
 
6492
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6493
  }
 
6494
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6495
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6496
  if (!SWIG_IsOK(ecode2)) {
 
6497
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelAlpha" "', expected argument " "2"" of type '" "int""'");
 
6498
  } 
 
6499
  arg2 = static_cast< int >(val2);
 
6500
  {
 
6501
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6502
    (arg1)->SetSelAlpha(arg2);
 
6503
    wxPyEndAllowThreads(__tstate);
 
6504
    if (PyErr_Occurred()) SWIG_fail;
 
6505
  }
 
6506
  resultobj = SWIG_Py_Void();
 
6507
  return resultobj;
 
6508
fail:
 
6509
  return NULL;
 
6510
}
 
6511
 
 
6512
 
 
6513
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelEOLFilled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6514
  PyObject *resultobj = 0;
 
6515
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6516
  bool result;
 
6517
  void *argp1 = 0 ;
 
6518
  int res1 = 0 ;
 
6519
  PyObject *swig_obj[1] ;
 
6520
  
 
6521
  if (!args) SWIG_fail;
 
6522
  swig_obj[0] = args;
 
6523
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6524
  if (!SWIG_IsOK(res1)) {
 
6525
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelEOLFilled" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
6526
  }
 
6527
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6528
  {
 
6529
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6530
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetSelEOLFilled();
 
6531
    wxPyEndAllowThreads(__tstate);
 
6532
    if (PyErr_Occurred()) SWIG_fail;
 
6533
  }
 
6534
  {
 
6535
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6536
  }
 
6537
  return resultobj;
 
6538
fail:
 
6539
  return NULL;
 
6540
}
 
6541
 
 
6542
 
 
6543
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelEOLFilled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6544
  PyObject *resultobj = 0;
 
6545
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6546
  bool arg2 ;
 
6547
  void *argp1 = 0 ;
 
6548
  int res1 = 0 ;
 
6549
  bool val2 ;
 
6550
  int ecode2 = 0 ;
 
6551
  PyObject * obj0 = 0 ;
 
6552
  PyObject * obj1 = 0 ;
 
6553
  char *  kwnames[] = {
 
6554
    (char *) "self",(char *) "filled", NULL 
 
6555
  };
 
6556
  
 
6557
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelEOLFilled",kwnames,&obj0,&obj1)) SWIG_fail;
 
6558
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6559
  if (!SWIG_IsOK(res1)) {
 
6560
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelEOLFilled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6561
  }
 
6562
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6563
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
6564
  if (!SWIG_IsOK(ecode2)) {
 
6565
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelEOLFilled" "', expected argument " "2"" of type '" "bool""'");
 
6566
  } 
 
6567
  arg2 = static_cast< bool >(val2);
 
6568
  {
 
6569
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6570
    (arg1)->SetSelEOLFilled(arg2);
 
6571
    wxPyEndAllowThreads(__tstate);
 
6572
    if (PyErr_Occurred()) SWIG_fail;
 
6573
  }
 
6574
  resultobj = SWIG_Py_Void();
 
6575
  return resultobj;
 
6576
fail:
 
6577
  return NULL;
 
6578
}
 
6579
 
 
6580
 
 
6581
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6582
  PyObject *resultobj = 0;
 
6583
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6584
  wxColour *arg2 = 0 ;
 
6585
  void *argp1 = 0 ;
 
6586
  int res1 = 0 ;
 
6587
  wxColour temp2 ;
 
6588
  PyObject * obj0 = 0 ;
 
6589
  PyObject * obj1 = 0 ;
 
6590
  char *  kwnames[] = {
 
6591
    (char *) "self",(char *) "fore", NULL 
 
6592
  };
 
6593
  
 
6594
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) SWIG_fail;
 
6595
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6596
  if (!SWIG_IsOK(res1)) {
 
6597
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6598
  }
 
6599
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6600
  {
 
6601
    arg2 = &temp2;
 
6602
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
6603
  }
 
6604
  {
 
6605
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6606
    (arg1)->SetCaretForeground((wxColour const &)*arg2);
 
6607
    wxPyEndAllowThreads(__tstate);
 
6608
    if (PyErr_Occurred()) SWIG_fail;
 
6609
  }
 
6610
  resultobj = SWIG_Py_Void();
 
6611
  return resultobj;
 
6612
fail:
 
6613
  return NULL;
 
6614
}
 
6615
 
 
6616
 
 
6617
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6618
  PyObject *resultobj = 0;
 
6619
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6620
  int arg2 ;
 
6621
  int arg3 ;
 
6622
  int arg4 ;
 
6623
  void *argp1 = 0 ;
 
6624
  int res1 = 0 ;
 
6625
  int val2 ;
 
6626
  int ecode2 = 0 ;
 
6627
  int val3 ;
 
6628
  int ecode3 = 0 ;
 
6629
  int val4 ;
 
6630
  int ecode4 = 0 ;
 
6631
  PyObject * obj0 = 0 ;
 
6632
  PyObject * obj1 = 0 ;
 
6633
  PyObject * obj2 = 0 ;
 
6634
  PyObject * obj3 = 0 ;
 
6635
  char *  kwnames[] = {
 
6636
    (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL 
 
6637
  };
 
6638
  
 
6639
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
6640
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6641
  if (!SWIG_IsOK(res1)) {
 
6642
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6643
  }
 
6644
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6645
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6646
  if (!SWIG_IsOK(ecode2)) {
 
6647
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "2"" of type '" "int""'");
 
6648
  } 
 
6649
  arg2 = static_cast< int >(val2);
 
6650
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
6651
  if (!SWIG_IsOK(ecode3)) {
 
6652
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "3"" of type '" "int""'");
 
6653
  } 
 
6654
  arg3 = static_cast< int >(val3);
 
6655
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
6656
  if (!SWIG_IsOK(ecode4)) {
 
6657
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "4"" of type '" "int""'");
 
6658
  } 
 
6659
  arg4 = static_cast< int >(val4);
 
6660
  {
 
6661
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6662
    (arg1)->CmdKeyAssign(arg2,arg3,arg4);
 
6663
    wxPyEndAllowThreads(__tstate);
 
6664
    if (PyErr_Occurred()) SWIG_fail;
 
6665
  }
 
6666
  resultobj = SWIG_Py_Void();
 
6667
  return resultobj;
 
6668
fail:
 
6669
  return NULL;
 
6670
}
 
6671
 
 
6672
 
 
6673
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6674
  PyObject *resultobj = 0;
 
6675
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6676
  int arg2 ;
 
6677
  int arg3 ;
 
6678
  void *argp1 = 0 ;
 
6679
  int res1 = 0 ;
 
6680
  int val2 ;
 
6681
  int ecode2 = 0 ;
 
6682
  int val3 ;
 
6683
  int ecode3 = 0 ;
 
6684
  PyObject * obj0 = 0 ;
 
6685
  PyObject * obj1 = 0 ;
 
6686
  PyObject * obj2 = 0 ;
 
6687
  char *  kwnames[] = {
 
6688
    (char *) "self",(char *) "key",(char *) "modifiers", NULL 
 
6689
  };
 
6690
  
 
6691
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
6692
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6693
  if (!SWIG_IsOK(res1)) {
 
6694
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6695
  }
 
6696
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6697
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6698
  if (!SWIG_IsOK(ecode2)) {
 
6699
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "2"" of type '" "int""'");
 
6700
  } 
 
6701
  arg2 = static_cast< int >(val2);
 
6702
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
6703
  if (!SWIG_IsOK(ecode3)) {
 
6704
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "3"" of type '" "int""'");
 
6705
  } 
 
6706
  arg3 = static_cast< int >(val3);
 
6707
  {
 
6708
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6709
    (arg1)->CmdKeyClear(arg2,arg3);
 
6710
    wxPyEndAllowThreads(__tstate);
 
6711
    if (PyErr_Occurred()) SWIG_fail;
 
6712
  }
 
6713
  resultobj = SWIG_Py_Void();
 
6714
  return resultobj;
 
6715
fail:
 
6716
  return NULL;
 
6717
}
 
6718
 
 
6719
 
 
6720
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6721
  PyObject *resultobj = 0;
 
6722
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6723
  void *argp1 = 0 ;
 
6724
  int res1 = 0 ;
 
6725
  PyObject *swig_obj[1] ;
 
6726
  
 
6727
  if (!args) SWIG_fail;
 
6728
  swig_obj[0] = args;
 
6729
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6730
  if (!SWIG_IsOK(res1)) {
 
6731
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6732
  }
 
6733
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6734
  {
 
6735
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6736
    (arg1)->CmdKeyClearAll();
 
6737
    wxPyEndAllowThreads(__tstate);
 
6738
    if (PyErr_Occurred()) SWIG_fail;
 
6739
  }
 
6740
  resultobj = SWIG_Py_Void();
 
6741
  return resultobj;
 
6742
fail:
 
6743
  return NULL;
 
6744
}
 
6745
 
 
6746
 
 
6747
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6748
  PyObject *resultobj = 0;
 
6749
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6750
  int arg2 ;
 
6751
  char *arg3 = (char *) 0 ;
 
6752
  void *argp1 = 0 ;
 
6753
  int res1 = 0 ;
 
6754
  int val2 ;
 
6755
  int ecode2 = 0 ;
 
6756
  int res3 ;
 
6757
  char *buf3 = 0 ;
 
6758
  int alloc3 = 0 ;
 
6759
  PyObject * obj0 = 0 ;
 
6760
  PyObject * obj1 = 0 ;
 
6761
  PyObject * obj2 = 0 ;
 
6762
  char *  kwnames[] = {
 
6763
    (char *) "self",(char *) "length",(char *) "styleBytes", NULL 
 
6764
  };
 
6765
  
 
6766
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
6767
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6768
  if (!SWIG_IsOK(res1)) {
 
6769
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6770
  }
 
6771
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6772
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6773
  if (!SWIG_IsOK(ecode2)) {
 
6774
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "2"" of type '" "int""'");
 
6775
  } 
 
6776
  arg2 = static_cast< int >(val2);
 
6777
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
 
6778
  if (!SWIG_IsOK(res3)) {
 
6779
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "3"" of type '" "char *""'");
 
6780
  }
 
6781
  arg3 = buf3;
 
6782
  {
 
6783
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6784
    (arg1)->SetStyleBytes(arg2,arg3);
 
6785
    wxPyEndAllowThreads(__tstate);
 
6786
    if (PyErr_Occurred()) SWIG_fail;
 
6787
  }
 
6788
  resultobj = SWIG_Py_Void();
 
6789
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
 
6790
  return resultobj;
 
6791
fail:
 
6792
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
 
6793
  return NULL;
 
6794
}
 
6795
 
 
6796
 
 
6797
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6798
  PyObject *resultobj = 0;
 
6799
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6800
  int arg2 ;
 
6801
  bool arg3 ;
 
6802
  void *argp1 = 0 ;
 
6803
  int res1 = 0 ;
 
6804
  int val2 ;
 
6805
  int ecode2 = 0 ;
 
6806
  bool val3 ;
 
6807
  int ecode3 = 0 ;
 
6808
  PyObject * obj0 = 0 ;
 
6809
  PyObject * obj1 = 0 ;
 
6810
  PyObject * obj2 = 0 ;
 
6811
  char *  kwnames[] = {
 
6812
    (char *) "self",(char *) "style",(char *) "visible", NULL 
 
6813
  };
 
6814
  
 
6815
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
6816
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6817
  if (!SWIG_IsOK(res1)) {
 
6818
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6819
  }
 
6820
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6821
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6822
  if (!SWIG_IsOK(ecode2)) {
 
6823
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "2"" of type '" "int""'");
 
6824
  } 
 
6825
  arg2 = static_cast< int >(val2);
 
6826
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
6827
  if (!SWIG_IsOK(ecode3)) {
 
6828
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "3"" of type '" "bool""'");
 
6829
  } 
 
6830
  arg3 = static_cast< bool >(val3);
 
6831
  {
 
6832
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6833
    (arg1)->StyleSetVisible(arg2,arg3);
 
6834
    wxPyEndAllowThreads(__tstate);
 
6835
    if (PyErr_Occurred()) SWIG_fail;
 
6836
  }
 
6837
  resultobj = SWIG_Py_Void();
 
6838
  return resultobj;
 
6839
fail:
 
6840
  return NULL;
 
6841
}
 
6842
 
 
6843
 
 
6844
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6845
  PyObject *resultobj = 0;
 
6846
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6847
  int result;
 
6848
  void *argp1 = 0 ;
 
6849
  int res1 = 0 ;
 
6850
  PyObject *swig_obj[1] ;
 
6851
  
 
6852
  if (!args) SWIG_fail;
 
6853
  swig_obj[0] = args;
 
6854
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6855
  if (!SWIG_IsOK(res1)) {
 
6856
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
6857
  }
 
6858
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6859
  {
 
6860
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6861
    result = (int)((wxStyledTextCtrl const *)arg1)->GetCaretPeriod();
 
6862
    wxPyEndAllowThreads(__tstate);
 
6863
    if (PyErr_Occurred()) SWIG_fail;
 
6864
  }
 
6865
  resultobj = SWIG_From_int(static_cast< int >(result));
 
6866
  return resultobj;
 
6867
fail:
 
6868
  return NULL;
 
6869
}
 
6870
 
 
6871
 
 
6872
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6873
  PyObject *resultobj = 0;
 
6874
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6875
  int arg2 ;
 
6876
  void *argp1 = 0 ;
 
6877
  int res1 = 0 ;
 
6878
  int val2 ;
 
6879
  int ecode2 = 0 ;
 
6880
  PyObject * obj0 = 0 ;
 
6881
  PyObject * obj1 = 0 ;
 
6882
  char *  kwnames[] = {
 
6883
    (char *) "self",(char *) "periodMilliseconds", NULL 
 
6884
  };
 
6885
  
 
6886
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) SWIG_fail;
 
6887
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6888
  if (!SWIG_IsOK(res1)) {
 
6889
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6890
  }
 
6891
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6892
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6893
  if (!SWIG_IsOK(ecode2)) {
 
6894
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "2"" of type '" "int""'");
 
6895
  } 
 
6896
  arg2 = static_cast< int >(val2);
 
6897
  {
 
6898
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6899
    (arg1)->SetCaretPeriod(arg2);
 
6900
    wxPyEndAllowThreads(__tstate);
 
6901
    if (PyErr_Occurred()) SWIG_fail;
 
6902
  }
 
6903
  resultobj = SWIG_Py_Void();
 
6904
  return resultobj;
 
6905
fail:
 
6906
  return NULL;
 
6907
}
 
6908
 
 
6909
 
 
6910
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6911
  PyObject *resultobj = 0;
 
6912
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6913
  wxString *arg2 = 0 ;
 
6914
  void *argp1 = 0 ;
 
6915
  int res1 = 0 ;
 
6916
  bool temp2 = false ;
 
6917
  PyObject * obj0 = 0 ;
 
6918
  PyObject * obj1 = 0 ;
 
6919
  char *  kwnames[] = {
 
6920
    (char *) "self",(char *) "characters", NULL 
 
6921
  };
 
6922
  
 
6923
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) SWIG_fail;
 
6924
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6925
  if (!SWIG_IsOK(res1)) {
 
6926
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWordChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6927
  }
 
6928
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6929
  {
 
6930
    arg2 = wxString_in_helper(obj1);
 
6931
    if (arg2 == NULL) SWIG_fail;
 
6932
    temp2 = true;
 
6933
  }
 
6934
  {
 
6935
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6936
    (arg1)->SetWordChars((wxString const &)*arg2);
 
6937
    wxPyEndAllowThreads(__tstate);
 
6938
    if (PyErr_Occurred()) SWIG_fail;
 
6939
  }
 
6940
  resultobj = SWIG_Py_Void();
 
6941
  {
 
6942
    if (temp2)
 
6943
    delete arg2;
 
6944
  }
 
6945
  return resultobj;
 
6946
fail:
 
6947
  {
 
6948
    if (temp2)
 
6949
    delete arg2;
 
6950
  }
 
6951
  return NULL;
 
6952
}
 
6953
 
 
6954
 
 
6955
SWIGINTERN PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6956
  PyObject *resultobj = 0;
 
6957
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6958
  void *argp1 = 0 ;
 
6959
  int res1 = 0 ;
 
6960
  PyObject *swig_obj[1] ;
 
6961
  
 
6962
  if (!args) SWIG_fail;
 
6963
  swig_obj[0] = args;
 
6964
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6965
  if (!SWIG_IsOK(res1)) {
 
6966
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BeginUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6967
  }
 
6968
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6969
  {
 
6970
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6971
    (arg1)->BeginUndoAction();
 
6972
    wxPyEndAllowThreads(__tstate);
 
6973
    if (PyErr_Occurred()) SWIG_fail;
 
6974
  }
 
6975
  resultobj = SWIG_Py_Void();
 
6976
  return resultobj;
 
6977
fail:
 
6978
  return NULL;
 
6979
}
 
6980
 
 
6981
 
 
6982
SWIGINTERN PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6983
  PyObject *resultobj = 0;
 
6984
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
6985
  void *argp1 = 0 ;
 
6986
  int res1 = 0 ;
 
6987
  PyObject *swig_obj[1] ;
 
6988
  
 
6989
  if (!args) SWIG_fail;
 
6990
  swig_obj[0] = args;
 
6991
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
6992
  if (!SWIG_IsOK(res1)) {
 
6993
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EndUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
6994
  }
 
6995
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
6996
  {
 
6997
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6998
    (arg1)->EndUndoAction();
 
6999
    wxPyEndAllowThreads(__tstate);
 
7000
    if (PyErr_Occurred()) SWIG_fail;
 
7001
  }
 
7002
  resultobj = SWIG_Py_Void();
 
7003
  return resultobj;
 
7004
fail:
 
7005
  return NULL;
 
7006
}
 
7007
 
 
7008
 
 
7009
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7010
  PyObject *resultobj = 0;
 
7011
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7012
  int arg2 ;
 
7013
  int arg3 ;
 
7014
  void *argp1 = 0 ;
 
7015
  int res1 = 0 ;
 
7016
  int val2 ;
 
7017
  int ecode2 = 0 ;
 
7018
  int val3 ;
 
7019
  int ecode3 = 0 ;
 
7020
  PyObject * obj0 = 0 ;
 
7021
  PyObject * obj1 = 0 ;
 
7022
  PyObject * obj2 = 0 ;
 
7023
  char *  kwnames[] = {
 
7024
    (char *) "self",(char *) "indic",(char *) "style", NULL 
 
7025
  };
 
7026
  
 
7027
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7028
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7029
  if (!SWIG_IsOK(res1)) {
 
7030
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7031
  }
 
7032
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7033
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7034
  if (!SWIG_IsOK(ecode2)) {
 
7035
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "2"" of type '" "int""'");
 
7036
  } 
 
7037
  arg2 = static_cast< int >(val2);
 
7038
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7039
  if (!SWIG_IsOK(ecode3)) {
 
7040
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "3"" of type '" "int""'");
 
7041
  } 
 
7042
  arg3 = static_cast< int >(val3);
 
7043
  {
 
7044
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7045
    (arg1)->IndicatorSetStyle(arg2,arg3);
 
7046
    wxPyEndAllowThreads(__tstate);
 
7047
    if (PyErr_Occurred()) SWIG_fail;
 
7048
  }
 
7049
  resultobj = SWIG_Py_Void();
 
7050
  return resultobj;
 
7051
fail:
 
7052
  return NULL;
 
7053
}
 
7054
 
 
7055
 
 
7056
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7057
  PyObject *resultobj = 0;
 
7058
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7059
  int arg2 ;
 
7060
  int result;
 
7061
  void *argp1 = 0 ;
 
7062
  int res1 = 0 ;
 
7063
  int val2 ;
 
7064
  int ecode2 = 0 ;
 
7065
  PyObject * obj0 = 0 ;
 
7066
  PyObject * obj1 = 0 ;
 
7067
  char *  kwnames[] = {
 
7068
    (char *) "self",(char *) "indic", NULL 
 
7069
  };
 
7070
  
 
7071
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
7072
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7073
  if (!SWIG_IsOK(res1)) {
 
7074
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
7075
  }
 
7076
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7077
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7078
  if (!SWIG_IsOK(ecode2)) {
 
7079
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "2"" of type '" "int""'");
 
7080
  } 
 
7081
  arg2 = static_cast< int >(val2);
 
7082
  {
 
7083
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7084
    result = (int)((wxStyledTextCtrl const *)arg1)->IndicatorGetStyle(arg2);
 
7085
    wxPyEndAllowThreads(__tstate);
 
7086
    if (PyErr_Occurred()) SWIG_fail;
 
7087
  }
 
7088
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7089
  return resultobj;
 
7090
fail:
 
7091
  return NULL;
 
7092
}
 
7093
 
 
7094
 
 
7095
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7096
  PyObject *resultobj = 0;
 
7097
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7098
  int arg2 ;
 
7099
  wxColour *arg3 = 0 ;
 
7100
  void *argp1 = 0 ;
 
7101
  int res1 = 0 ;
 
7102
  int val2 ;
 
7103
  int ecode2 = 0 ;
 
7104
  wxColour temp3 ;
 
7105
  PyObject * obj0 = 0 ;
 
7106
  PyObject * obj1 = 0 ;
 
7107
  PyObject * obj2 = 0 ;
 
7108
  char *  kwnames[] = {
 
7109
    (char *) "self",(char *) "indic",(char *) "fore", NULL 
 
7110
  };
 
7111
  
 
7112
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7113
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7114
  if (!SWIG_IsOK(res1)) {
 
7115
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7116
  }
 
7117
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7118
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7119
  if (!SWIG_IsOK(ecode2)) {
 
7120
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "2"" of type '" "int""'");
 
7121
  } 
 
7122
  arg2 = static_cast< int >(val2);
 
7123
  {
 
7124
    arg3 = &temp3;
 
7125
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
7126
  }
 
7127
  {
 
7128
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7129
    (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
 
7130
    wxPyEndAllowThreads(__tstate);
 
7131
    if (PyErr_Occurred()) SWIG_fail;
 
7132
  }
 
7133
  resultobj = SWIG_Py_Void();
 
7134
  return resultobj;
 
7135
fail:
 
7136
  return NULL;
 
7137
}
 
7138
 
 
7139
 
 
7140
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7141
  PyObject *resultobj = 0;
 
7142
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7143
  int arg2 ;
 
7144
  wxColour result;
 
7145
  void *argp1 = 0 ;
 
7146
  int res1 = 0 ;
 
7147
  int val2 ;
 
7148
  int ecode2 = 0 ;
 
7149
  PyObject * obj0 = 0 ;
 
7150
  PyObject * obj1 = 0 ;
 
7151
  char *  kwnames[] = {
 
7152
    (char *) "self",(char *) "indic", NULL 
 
7153
  };
 
7154
  
 
7155
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
 
7156
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7157
  if (!SWIG_IsOK(res1)) {
 
7158
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
7159
  }
 
7160
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7161
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7162
  if (!SWIG_IsOK(ecode2)) {
 
7163
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "2"" of type '" "int""'");
 
7164
  } 
 
7165
  arg2 = static_cast< int >(val2);
 
7166
  {
 
7167
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7168
    result = ((wxStyledTextCtrl const *)arg1)->IndicatorGetForeground(arg2);
 
7169
    wxPyEndAllowThreads(__tstate);
 
7170
    if (PyErr_Occurred()) SWIG_fail;
 
7171
  }
 
7172
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
7173
  return resultobj;
 
7174
fail:
 
7175
  return NULL;
 
7176
}
 
7177
 
 
7178
 
 
7179
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetUnder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7180
  PyObject *resultobj = 0;
 
7181
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7182
  int arg2 ;
 
7183
  bool arg3 ;
 
7184
  void *argp1 = 0 ;
 
7185
  int res1 = 0 ;
 
7186
  int val2 ;
 
7187
  int ecode2 = 0 ;
 
7188
  bool val3 ;
 
7189
  int ecode3 = 0 ;
 
7190
  PyObject * obj0 = 0 ;
 
7191
  PyObject * obj1 = 0 ;
 
7192
  PyObject * obj2 = 0 ;
 
7193
  char *  kwnames[] = {
 
7194
    (char *) "self",(char *) "indic",(char *) "under", NULL 
 
7195
  };
 
7196
  
 
7197
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetUnder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7198
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7199
  if (!SWIG_IsOK(res1)) {
 
7200
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetUnder" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7201
  }
 
7202
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7203
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7204
  if (!SWIG_IsOK(ecode2)) {
 
7205
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetUnder" "', expected argument " "2"" of type '" "int""'");
 
7206
  } 
 
7207
  arg2 = static_cast< int >(val2);
 
7208
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
7209
  if (!SWIG_IsOK(ecode3)) {
 
7210
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorSetUnder" "', expected argument " "3"" of type '" "bool""'");
 
7211
  } 
 
7212
  arg3 = static_cast< bool >(val3);
 
7213
  {
 
7214
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7215
    (arg1)->IndicatorSetUnder(arg2,arg3);
 
7216
    wxPyEndAllowThreads(__tstate);
 
7217
    if (PyErr_Occurred()) SWIG_fail;
 
7218
  }
 
7219
  resultobj = SWIG_Py_Void();
 
7220
  return resultobj;
 
7221
fail:
 
7222
  return NULL;
 
7223
}
 
7224
 
 
7225
 
 
7226
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetUnder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7227
  PyObject *resultobj = 0;
 
7228
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7229
  int arg2 ;
 
7230
  bool result;
 
7231
  void *argp1 = 0 ;
 
7232
  int res1 = 0 ;
 
7233
  int val2 ;
 
7234
  int ecode2 = 0 ;
 
7235
  PyObject * obj0 = 0 ;
 
7236
  PyObject * obj1 = 0 ;
 
7237
  char *  kwnames[] = {
 
7238
    (char *) "self",(char *) "indic", NULL 
 
7239
  };
 
7240
  
 
7241
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetUnder",kwnames,&obj0,&obj1)) SWIG_fail;
 
7242
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7243
  if (!SWIG_IsOK(res1)) {
 
7244
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetUnder" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
7245
  }
 
7246
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7247
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7248
  if (!SWIG_IsOK(ecode2)) {
 
7249
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetUnder" "', expected argument " "2"" of type '" "int""'");
 
7250
  } 
 
7251
  arg2 = static_cast< int >(val2);
 
7252
  {
 
7253
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7254
    result = (bool)((wxStyledTextCtrl const *)arg1)->IndicatorGetUnder(arg2);
 
7255
    wxPyEndAllowThreads(__tstate);
 
7256
    if (PyErr_Occurred()) SWIG_fail;
 
7257
  }
 
7258
  {
 
7259
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7260
  }
 
7261
  return resultobj;
 
7262
fail:
 
7263
  return NULL;
 
7264
}
 
7265
 
 
7266
 
 
7267
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7268
  PyObject *resultobj = 0;
 
7269
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7270
  bool arg2 ;
 
7271
  wxColour *arg3 = 0 ;
 
7272
  void *argp1 = 0 ;
 
7273
  int res1 = 0 ;
 
7274
  bool val2 ;
 
7275
  int ecode2 = 0 ;
 
7276
  wxColour temp3 ;
 
7277
  PyObject * obj0 = 0 ;
 
7278
  PyObject * obj1 = 0 ;
 
7279
  PyObject * obj2 = 0 ;
 
7280
  char *  kwnames[] = {
 
7281
    (char *) "self",(char *) "useSetting",(char *) "fore", NULL 
 
7282
  };
 
7283
  
 
7284
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7285
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7286
  if (!SWIG_IsOK(res1)) {
 
7287
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7288
  }
 
7289
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7290
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
7291
  if (!SWIG_IsOK(ecode2)) {
 
7292
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "2"" of type '" "bool""'");
 
7293
  } 
 
7294
  arg2 = static_cast< bool >(val2);
 
7295
  {
 
7296
    arg3 = &temp3;
 
7297
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
7298
  }
 
7299
  {
 
7300
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7301
    (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
 
7302
    wxPyEndAllowThreads(__tstate);
 
7303
    if (PyErr_Occurred()) SWIG_fail;
 
7304
  }
 
7305
  resultobj = SWIG_Py_Void();
 
7306
  return resultobj;
 
7307
fail:
 
7308
  return NULL;
 
7309
}
 
7310
 
 
7311
 
 
7312
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7313
  PyObject *resultobj = 0;
 
7314
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7315
  bool arg2 ;
 
7316
  wxColour *arg3 = 0 ;
 
7317
  void *argp1 = 0 ;
 
7318
  int res1 = 0 ;
 
7319
  bool val2 ;
 
7320
  int ecode2 = 0 ;
 
7321
  wxColour temp3 ;
 
7322
  PyObject * obj0 = 0 ;
 
7323
  PyObject * obj1 = 0 ;
 
7324
  PyObject * obj2 = 0 ;
 
7325
  char *  kwnames[] = {
 
7326
    (char *) "self",(char *) "useSetting",(char *) "back", NULL 
 
7327
  };
 
7328
  
 
7329
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7330
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7331
  if (!SWIG_IsOK(res1)) {
 
7332
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7333
  }
 
7334
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7335
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
7336
  if (!SWIG_IsOK(ecode2)) {
 
7337
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "2"" of type '" "bool""'");
 
7338
  } 
 
7339
  arg2 = static_cast< bool >(val2);
 
7340
  {
 
7341
    arg3 = &temp3;
 
7342
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
7343
  }
 
7344
  {
 
7345
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7346
    (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
 
7347
    wxPyEndAllowThreads(__tstate);
 
7348
    if (PyErr_Occurred()) SWIG_fail;
 
7349
  }
 
7350
  resultobj = SWIG_Py_Void();
 
7351
  return resultobj;
 
7352
fail:
 
7353
  return NULL;
 
7354
}
 
7355
 
 
7356
 
 
7357
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7358
  PyObject *resultobj = 0;
 
7359
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7360
  int arg2 ;
 
7361
  void *argp1 = 0 ;
 
7362
  int res1 = 0 ;
 
7363
  int val2 ;
 
7364
  int ecode2 = 0 ;
 
7365
  PyObject * obj0 = 0 ;
 
7366
  PyObject * obj1 = 0 ;
 
7367
  char *  kwnames[] = {
 
7368
    (char *) "self",(char *) "size", NULL 
 
7369
  };
 
7370
  
 
7371
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceSize",kwnames,&obj0,&obj1)) SWIG_fail;
 
7372
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7373
  if (!SWIG_IsOK(res1)) {
 
7374
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7375
  }
 
7376
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7377
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7378
  if (!SWIG_IsOK(ecode2)) {
 
7379
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceSize" "', expected argument " "2"" of type '" "int""'");
 
7380
  } 
 
7381
  arg2 = static_cast< int >(val2);
 
7382
  {
 
7383
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7384
    (arg1)->SetWhitespaceSize(arg2);
 
7385
    wxPyEndAllowThreads(__tstate);
 
7386
    if (PyErr_Occurred()) SWIG_fail;
 
7387
  }
 
7388
  resultobj = SWIG_Py_Void();
 
7389
  return resultobj;
 
7390
fail:
 
7391
  return NULL;
 
7392
}
 
7393
 
 
7394
 
 
7395
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWhitespaceSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7396
  PyObject *resultobj = 0;
 
7397
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7398
  int result;
 
7399
  void *argp1 = 0 ;
 
7400
  int res1 = 0 ;
 
7401
  PyObject *swig_obj[1] ;
 
7402
  
 
7403
  if (!args) SWIG_fail;
 
7404
  swig_obj[0] = args;
 
7405
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7406
  if (!SWIG_IsOK(res1)) {
 
7407
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWhitespaceSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
7408
  }
 
7409
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7410
  {
 
7411
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7412
    result = (int)((wxStyledTextCtrl const *)arg1)->GetWhitespaceSize();
 
7413
    wxPyEndAllowThreads(__tstate);
 
7414
    if (PyErr_Occurred()) SWIG_fail;
 
7415
  }
 
7416
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7417
  return resultobj;
 
7418
fail:
 
7419
  return NULL;
 
7420
}
 
7421
 
 
7422
 
 
7423
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7424
  PyObject *resultobj = 0;
 
7425
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7426
  int arg2 ;
 
7427
  void *argp1 = 0 ;
 
7428
  int res1 = 0 ;
 
7429
  int val2 ;
 
7430
  int ecode2 = 0 ;
 
7431
  PyObject * obj0 = 0 ;
 
7432
  PyObject * obj1 = 0 ;
 
7433
  char *  kwnames[] = {
 
7434
    (char *) "self",(char *) "bits", NULL 
 
7435
  };
 
7436
  
 
7437
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) SWIG_fail;
 
7438
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7439
  if (!SWIG_IsOK(res1)) {
 
7440
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7441
  }
 
7442
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7443
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7444
  if (!SWIG_IsOK(ecode2)) {
 
7445
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "2"" of type '" "int""'");
 
7446
  } 
 
7447
  arg2 = static_cast< int >(val2);
 
7448
  {
 
7449
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7450
    (arg1)->SetStyleBits(arg2);
 
7451
    wxPyEndAllowThreads(__tstate);
 
7452
    if (PyErr_Occurred()) SWIG_fail;
 
7453
  }
 
7454
  resultobj = SWIG_Py_Void();
 
7455
  return resultobj;
 
7456
fail:
 
7457
  return NULL;
 
7458
}
 
7459
 
 
7460
 
 
7461
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7462
  PyObject *resultobj = 0;
 
7463
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7464
  int result;
 
7465
  void *argp1 = 0 ;
 
7466
  int res1 = 0 ;
 
7467
  PyObject *swig_obj[1] ;
 
7468
  
 
7469
  if (!args) SWIG_fail;
 
7470
  swig_obj[0] = args;
 
7471
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7472
  if (!SWIG_IsOK(res1)) {
 
7473
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
7474
  }
 
7475
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7476
  {
 
7477
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7478
    result = (int)((wxStyledTextCtrl const *)arg1)->GetStyleBits();
 
7479
    wxPyEndAllowThreads(__tstate);
 
7480
    if (PyErr_Occurred()) SWIG_fail;
 
7481
  }
 
7482
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7483
  return resultobj;
 
7484
fail:
 
7485
  return NULL;
 
7486
}
 
7487
 
 
7488
 
 
7489
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7490
  PyObject *resultobj = 0;
 
7491
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7492
  int arg2 ;
 
7493
  int arg3 ;
 
7494
  void *argp1 = 0 ;
 
7495
  int res1 = 0 ;
 
7496
  int val2 ;
 
7497
  int ecode2 = 0 ;
 
7498
  int val3 ;
 
7499
  int ecode3 = 0 ;
 
7500
  PyObject * obj0 = 0 ;
 
7501
  PyObject * obj1 = 0 ;
 
7502
  PyObject * obj2 = 0 ;
 
7503
  char *  kwnames[] = {
 
7504
    (char *) "self",(char *) "line",(char *) "state", NULL 
 
7505
  };
 
7506
  
 
7507
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7508
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7509
  if (!SWIG_IsOK(res1)) {
 
7510
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7511
  }
 
7512
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7513
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7514
  if (!SWIG_IsOK(ecode2)) {
 
7515
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "2"" of type '" "int""'");
 
7516
  } 
 
7517
  arg2 = static_cast< int >(val2);
 
7518
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7519
  if (!SWIG_IsOK(ecode3)) {
 
7520
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "3"" of type '" "int""'");
 
7521
  } 
 
7522
  arg3 = static_cast< int >(val3);
 
7523
  {
 
7524
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7525
    (arg1)->SetLineState(arg2,arg3);
 
7526
    wxPyEndAllowThreads(__tstate);
 
7527
    if (PyErr_Occurred()) SWIG_fail;
 
7528
  }
 
7529
  resultobj = SWIG_Py_Void();
 
7530
  return resultobj;
 
7531
fail:
 
7532
  return NULL;
 
7533
}
 
7534
 
 
7535
 
 
7536
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7537
  PyObject *resultobj = 0;
 
7538
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7539
  int arg2 ;
 
7540
  int result;
 
7541
  void *argp1 = 0 ;
 
7542
  int res1 = 0 ;
 
7543
  int val2 ;
 
7544
  int ecode2 = 0 ;
 
7545
  PyObject * obj0 = 0 ;
 
7546
  PyObject * obj1 = 0 ;
 
7547
  char *  kwnames[] = {
 
7548
    (char *) "self",(char *) "line", NULL 
 
7549
  };
 
7550
  
 
7551
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) SWIG_fail;
 
7552
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7553
  if (!SWIG_IsOK(res1)) {
 
7554
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
7555
  }
 
7556
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7557
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7558
  if (!SWIG_IsOK(ecode2)) {
 
7559
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "2"" of type '" "int""'");
 
7560
  } 
 
7561
  arg2 = static_cast< int >(val2);
 
7562
  {
 
7563
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7564
    result = (int)((wxStyledTextCtrl const *)arg1)->GetLineState(arg2);
 
7565
    wxPyEndAllowThreads(__tstate);
 
7566
    if (PyErr_Occurred()) SWIG_fail;
 
7567
  }
 
7568
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7569
  return resultobj;
 
7570
fail:
 
7571
  return NULL;
 
7572
}
 
7573
 
 
7574
 
 
7575
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7576
  PyObject *resultobj = 0;
 
7577
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7578
  int result;
 
7579
  void *argp1 = 0 ;
 
7580
  int res1 = 0 ;
 
7581
  PyObject *swig_obj[1] ;
 
7582
  
 
7583
  if (!args) SWIG_fail;
 
7584
  swig_obj[0] = args;
 
7585
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7586
  if (!SWIG_IsOK(res1)) {
 
7587
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMaxLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
7588
  }
 
7589
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7590
  {
 
7591
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7592
    result = (int)((wxStyledTextCtrl const *)arg1)->GetMaxLineState();
 
7593
    wxPyEndAllowThreads(__tstate);
 
7594
    if (PyErr_Occurred()) SWIG_fail;
 
7595
  }
 
7596
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7597
  return resultobj;
 
7598
fail:
 
7599
  return NULL;
 
7600
}
 
7601
 
 
7602
 
 
7603
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7604
  PyObject *resultobj = 0;
 
7605
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7606
  bool result;
 
7607
  void *argp1 = 0 ;
 
7608
  int res1 = 0 ;
 
7609
  PyObject *swig_obj[1] ;
 
7610
  
 
7611
  if (!args) SWIG_fail;
 
7612
  swig_obj[0] = args;
 
7613
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7614
  if (!SWIG_IsOK(res1)) {
 
7615
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
7616
  }
 
7617
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7618
  {
 
7619
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7620
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetCaretLineVisible();
 
7621
    wxPyEndAllowThreads(__tstate);
 
7622
    if (PyErr_Occurred()) SWIG_fail;
 
7623
  }
 
7624
  {
 
7625
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7626
  }
 
7627
  return resultobj;
 
7628
fail:
 
7629
  return NULL;
 
7630
}
 
7631
 
 
7632
 
 
7633
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7634
  PyObject *resultobj = 0;
 
7635
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7636
  bool arg2 ;
 
7637
  void *argp1 = 0 ;
 
7638
  int res1 = 0 ;
 
7639
  bool val2 ;
 
7640
  int ecode2 = 0 ;
 
7641
  PyObject * obj0 = 0 ;
 
7642
  PyObject * obj1 = 0 ;
 
7643
  char *  kwnames[] = {
 
7644
    (char *) "self",(char *) "show", NULL 
 
7645
  };
 
7646
  
 
7647
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
 
7648
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7649
  if (!SWIG_IsOK(res1)) {
 
7650
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7651
  }
 
7652
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7653
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
7654
  if (!SWIG_IsOK(ecode2)) {
 
7655
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "2"" of type '" "bool""'");
 
7656
  } 
 
7657
  arg2 = static_cast< bool >(val2);
 
7658
  {
 
7659
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7660
    (arg1)->SetCaretLineVisible(arg2);
 
7661
    wxPyEndAllowThreads(__tstate);
 
7662
    if (PyErr_Occurred()) SWIG_fail;
 
7663
  }
 
7664
  resultobj = SWIG_Py_Void();
 
7665
  return resultobj;
 
7666
fail:
 
7667
  return NULL;
 
7668
}
 
7669
 
 
7670
 
 
7671
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7672
  PyObject *resultobj = 0;
 
7673
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7674
  wxColour result;
 
7675
  void *argp1 = 0 ;
 
7676
  int res1 = 0 ;
 
7677
  PyObject *swig_obj[1] ;
 
7678
  
 
7679
  if (!args) SWIG_fail;
 
7680
  swig_obj[0] = args;
 
7681
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7682
  if (!SWIG_IsOK(res1)) {
 
7683
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
7684
  }
 
7685
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7686
  {
 
7687
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7688
    result = ((wxStyledTextCtrl const *)arg1)->GetCaretLineBackground();
 
7689
    wxPyEndAllowThreads(__tstate);
 
7690
    if (PyErr_Occurred()) SWIG_fail;
 
7691
  }
 
7692
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
7693
  return resultobj;
 
7694
fail:
 
7695
  return NULL;
 
7696
}
 
7697
 
 
7698
 
 
7699
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7700
  PyObject *resultobj = 0;
 
7701
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7702
  wxColour *arg2 = 0 ;
 
7703
  void *argp1 = 0 ;
 
7704
  int res1 = 0 ;
 
7705
  wxColour temp2 ;
 
7706
  PyObject * obj0 = 0 ;
 
7707
  PyObject * obj1 = 0 ;
 
7708
  char *  kwnames[] = {
 
7709
    (char *) "self",(char *) "back", NULL 
 
7710
  };
 
7711
  
 
7712
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBackground",kwnames,&obj0,&obj1)) SWIG_fail;
 
7713
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7714
  if (!SWIG_IsOK(res1)) {
 
7715
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7716
  }
 
7717
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7718
  {
 
7719
    arg2 = &temp2;
 
7720
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
7721
  }
 
7722
  {
 
7723
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7724
    (arg1)->SetCaretLineBackground((wxColour const &)*arg2);
 
7725
    wxPyEndAllowThreads(__tstate);
 
7726
    if (PyErr_Occurred()) SWIG_fail;
 
7727
  }
 
7728
  resultobj = SWIG_Py_Void();
 
7729
  return resultobj;
 
7730
fail:
 
7731
  return NULL;
 
7732
}
 
7733
 
 
7734
 
 
7735
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7736
  PyObject *resultobj = 0;
 
7737
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7738
  int arg2 ;
 
7739
  bool arg3 ;
 
7740
  void *argp1 = 0 ;
 
7741
  int res1 = 0 ;
 
7742
  int val2 ;
 
7743
  int ecode2 = 0 ;
 
7744
  bool val3 ;
 
7745
  int ecode3 = 0 ;
 
7746
  PyObject * obj0 = 0 ;
 
7747
  PyObject * obj1 = 0 ;
 
7748
  PyObject * obj2 = 0 ;
 
7749
  char *  kwnames[] = {
 
7750
    (char *) "self",(char *) "style",(char *) "changeable", NULL 
 
7751
  };
 
7752
  
 
7753
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7754
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7755
  if (!SWIG_IsOK(res1)) {
 
7756
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7757
  }
 
7758
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7759
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7760
  if (!SWIG_IsOK(ecode2)) {
 
7761
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "2"" of type '" "int""'");
 
7762
  } 
 
7763
  arg2 = static_cast< int >(val2);
 
7764
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
7765
  if (!SWIG_IsOK(ecode3)) {
 
7766
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "3"" of type '" "bool""'");
 
7767
  } 
 
7768
  arg3 = static_cast< bool >(val3);
 
7769
  {
 
7770
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7771
    (arg1)->StyleSetChangeable(arg2,arg3);
 
7772
    wxPyEndAllowThreads(__tstate);
 
7773
    if (PyErr_Occurred()) SWIG_fail;
 
7774
  }
 
7775
  resultobj = SWIG_Py_Void();
 
7776
  return resultobj;
 
7777
fail:
 
7778
  return NULL;
 
7779
}
 
7780
 
 
7781
 
 
7782
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7783
  PyObject *resultobj = 0;
 
7784
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7785
  int arg2 ;
 
7786
  wxString *arg3 = 0 ;
 
7787
  void *argp1 = 0 ;
 
7788
  int res1 = 0 ;
 
7789
  int val2 ;
 
7790
  int ecode2 = 0 ;
 
7791
  bool temp3 = false ;
 
7792
  PyObject * obj0 = 0 ;
 
7793
  PyObject * obj1 = 0 ;
 
7794
  PyObject * obj2 = 0 ;
 
7795
  char *  kwnames[] = {
 
7796
    (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL 
 
7797
  };
 
7798
  
 
7799
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7800
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7801
  if (!SWIG_IsOK(res1)) {
 
7802
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7803
  }
 
7804
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7805
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7806
  if (!SWIG_IsOK(ecode2)) {
 
7807
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "2"" of type '" "int""'");
 
7808
  } 
 
7809
  arg2 = static_cast< int >(val2);
 
7810
  {
 
7811
    arg3 = wxString_in_helper(obj2);
 
7812
    if (arg3 == NULL) SWIG_fail;
 
7813
    temp3 = true;
 
7814
  }
 
7815
  {
 
7816
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7817
    (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
 
7818
    wxPyEndAllowThreads(__tstate);
 
7819
    if (PyErr_Occurred()) SWIG_fail;
 
7820
  }
 
7821
  resultobj = SWIG_Py_Void();
 
7822
  {
 
7823
    if (temp3)
 
7824
    delete arg3;
 
7825
  }
 
7826
  return resultobj;
 
7827
fail:
 
7828
  {
 
7829
    if (temp3)
 
7830
    delete arg3;
 
7831
  }
 
7832
  return NULL;
 
7833
}
 
7834
 
 
7835
 
 
7836
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7837
  PyObject *resultobj = 0;
 
7838
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7839
  void *argp1 = 0 ;
 
7840
  int res1 = 0 ;
 
7841
  PyObject *swig_obj[1] ;
 
7842
  
 
7843
  if (!args) SWIG_fail;
 
7844
  swig_obj[0] = args;
 
7845
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7846
  if (!SWIG_IsOK(res1)) {
 
7847
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7848
  }
 
7849
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7850
  {
 
7851
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7852
    (arg1)->AutoCompCancel();
 
7853
    wxPyEndAllowThreads(__tstate);
 
7854
    if (PyErr_Occurred()) SWIG_fail;
 
7855
  }
 
7856
  resultobj = SWIG_Py_Void();
 
7857
  return resultobj;
 
7858
fail:
 
7859
  return NULL;
 
7860
}
 
7861
 
 
7862
 
 
7863
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7864
  PyObject *resultobj = 0;
 
7865
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7866
  bool result;
 
7867
  void *argp1 = 0 ;
 
7868
  int res1 = 0 ;
 
7869
  PyObject *swig_obj[1] ;
 
7870
  
 
7871
  if (!args) SWIG_fail;
 
7872
  swig_obj[0] = args;
 
7873
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7874
  if (!SWIG_IsOK(res1)) {
 
7875
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7876
  }
 
7877
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7878
  {
 
7879
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7880
    result = (bool)(arg1)->AutoCompActive();
 
7881
    wxPyEndAllowThreads(__tstate);
 
7882
    if (PyErr_Occurred()) SWIG_fail;
 
7883
  }
 
7884
  {
 
7885
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7886
  }
 
7887
  return resultobj;
 
7888
fail:
 
7889
  return NULL;
 
7890
}
 
7891
 
 
7892
 
 
7893
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7894
  PyObject *resultobj = 0;
 
7895
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7896
  int result;
 
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_AutoCompPosStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7906
  }
 
7907
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7908
  {
 
7909
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7910
    result = (int)(arg1)->AutoCompPosStart();
 
7911
    wxPyEndAllowThreads(__tstate);
 
7912
    if (PyErr_Occurred()) SWIG_fail;
 
7913
  }
 
7914
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7915
  return resultobj;
 
7916
fail:
 
7917
  return NULL;
 
7918
}
 
7919
 
 
7920
 
 
7921
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7922
  PyObject *resultobj = 0;
 
7923
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7924
  void *argp1 = 0 ;
 
7925
  int res1 = 0 ;
 
7926
  PyObject *swig_obj[1] ;
 
7927
  
 
7928
  if (!args) SWIG_fail;
 
7929
  swig_obj[0] = args;
 
7930
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7931
  if (!SWIG_IsOK(res1)) {
 
7932
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompComplete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7933
  }
 
7934
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7935
  {
 
7936
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7937
    (arg1)->AutoCompComplete();
 
7938
    wxPyEndAllowThreads(__tstate);
 
7939
    if (PyErr_Occurred()) SWIG_fail;
 
7940
  }
 
7941
  resultobj = SWIG_Py_Void();
 
7942
  return resultobj;
 
7943
fail:
 
7944
  return NULL;
 
7945
}
 
7946
 
 
7947
 
 
7948
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7949
  PyObject *resultobj = 0;
 
7950
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7951
  wxString *arg2 = 0 ;
 
7952
  void *argp1 = 0 ;
 
7953
  int res1 = 0 ;
 
7954
  bool temp2 = false ;
 
7955
  PyObject * obj0 = 0 ;
 
7956
  PyObject * obj1 = 0 ;
 
7957
  char *  kwnames[] = {
 
7958
    (char *) "self",(char *) "characterSet", NULL 
 
7959
  };
 
7960
  
 
7961
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) SWIG_fail;
 
7962
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
7963
  if (!SWIG_IsOK(res1)) {
 
7964
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompStops" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
7965
  }
 
7966
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
7967
  {
 
7968
    arg2 = wxString_in_helper(obj1);
 
7969
    if (arg2 == NULL) SWIG_fail;
 
7970
    temp2 = true;
 
7971
  }
 
7972
  {
 
7973
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7974
    (arg1)->AutoCompStops((wxString const &)*arg2);
 
7975
    wxPyEndAllowThreads(__tstate);
 
7976
    if (PyErr_Occurred()) SWIG_fail;
 
7977
  }
 
7978
  resultobj = SWIG_Py_Void();
 
7979
  {
 
7980
    if (temp2)
 
7981
    delete arg2;
 
7982
  }
 
7983
  return resultobj;
 
7984
fail:
 
7985
  {
 
7986
    if (temp2)
 
7987
    delete arg2;
 
7988
  }
 
7989
  return NULL;
 
7990
}
 
7991
 
 
7992
 
 
7993
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7994
  PyObject *resultobj = 0;
 
7995
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
7996
  int arg2 ;
 
7997
  void *argp1 = 0 ;
 
7998
  int res1 = 0 ;
 
7999
  int val2 ;
 
8000
  int ecode2 = 0 ;
 
8001
  PyObject * obj0 = 0 ;
 
8002
  PyObject * obj1 = 0 ;
 
8003
  char *  kwnames[] = {
 
8004
    (char *) "self",(char *) "separatorCharacter", NULL 
 
8005
  };
 
8006
  
 
8007
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
 
8008
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8009
  if (!SWIG_IsOK(res1)) {
 
8010
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8011
  }
 
8012
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8013
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8014
  if (!SWIG_IsOK(ecode2)) {
 
8015
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "2"" of type '" "int""'");
 
8016
  } 
 
8017
  arg2 = static_cast< int >(val2);
 
8018
  {
 
8019
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8020
    (arg1)->AutoCompSetSeparator(arg2);
 
8021
    wxPyEndAllowThreads(__tstate);
 
8022
    if (PyErr_Occurred()) SWIG_fail;
 
8023
  }
 
8024
  resultobj = SWIG_Py_Void();
 
8025
  return resultobj;
 
8026
fail:
 
8027
  return NULL;
 
8028
}
 
8029
 
 
8030
 
 
8031
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8032
  PyObject *resultobj = 0;
 
8033
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8034
  int result;
 
8035
  void *argp1 = 0 ;
 
8036
  int res1 = 0 ;
 
8037
  PyObject *swig_obj[1] ;
 
8038
  
 
8039
  if (!args) SWIG_fail;
 
8040
  swig_obj[0] = args;
 
8041
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8042
  if (!SWIG_IsOK(res1)) {
 
8043
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
8044
  }
 
8045
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8046
  {
 
8047
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8048
    result = (int)((wxStyledTextCtrl const *)arg1)->AutoCompGetSeparator();
 
8049
    wxPyEndAllowThreads(__tstate);
 
8050
    if (PyErr_Occurred()) SWIG_fail;
 
8051
  }
 
8052
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8053
  return resultobj;
 
8054
fail:
 
8055
  return NULL;
 
8056
}
 
8057
 
 
8058
 
 
8059
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8060
  PyObject *resultobj = 0;
 
8061
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8062
  wxString *arg2 = 0 ;
 
8063
  void *argp1 = 0 ;
 
8064
  int res1 = 0 ;
 
8065
  bool temp2 = false ;
 
8066
  PyObject * obj0 = 0 ;
 
8067
  PyObject * obj1 = 0 ;
 
8068
  char *  kwnames[] = {
 
8069
    (char *) "self",(char *) "text", NULL 
 
8070
  };
 
8071
  
 
8072
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) SWIG_fail;
 
8073
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8074
  if (!SWIG_IsOK(res1)) {
 
8075
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSelect" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8076
  }
 
8077
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8078
  {
 
8079
    arg2 = wxString_in_helper(obj1);
 
8080
    if (arg2 == NULL) SWIG_fail;
 
8081
    temp2 = true;
 
8082
  }
 
8083
  {
 
8084
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8085
    (arg1)->AutoCompSelect((wxString const &)*arg2);
 
8086
    wxPyEndAllowThreads(__tstate);
 
8087
    if (PyErr_Occurred()) SWIG_fail;
 
8088
  }
 
8089
  resultobj = SWIG_Py_Void();
 
8090
  {
 
8091
    if (temp2)
 
8092
    delete arg2;
 
8093
  }
 
8094
  return resultobj;
 
8095
fail:
 
8096
  {
 
8097
    if (temp2)
 
8098
    delete arg2;
 
8099
  }
 
8100
  return NULL;
 
8101
}
 
8102
 
 
8103
 
 
8104
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8105
  PyObject *resultobj = 0;
 
8106
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8107
  bool arg2 ;
 
8108
  void *argp1 = 0 ;
 
8109
  int res1 = 0 ;
 
8110
  bool val2 ;
 
8111
  int ecode2 = 0 ;
 
8112
  PyObject * obj0 = 0 ;
 
8113
  PyObject * obj1 = 0 ;
 
8114
  char *  kwnames[] = {
 
8115
    (char *) "self",(char *) "cancel", NULL 
 
8116
  };
 
8117
  
 
8118
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) SWIG_fail;
 
8119
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8120
  if (!SWIG_IsOK(res1)) {
 
8121
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8122
  }
 
8123
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8124
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
8125
  if (!SWIG_IsOK(ecode2)) {
 
8126
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "2"" of type '" "bool""'");
 
8127
  } 
 
8128
  arg2 = static_cast< bool >(val2);
 
8129
  {
 
8130
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8131
    (arg1)->AutoCompSetCancelAtStart(arg2);
 
8132
    wxPyEndAllowThreads(__tstate);
 
8133
    if (PyErr_Occurred()) SWIG_fail;
 
8134
  }
 
8135
  resultobj = SWIG_Py_Void();
 
8136
  return resultobj;
 
8137
fail:
 
8138
  return NULL;
 
8139
}
 
8140
 
 
8141
 
 
8142
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8143
  PyObject *resultobj = 0;
 
8144
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8145
  bool result;
 
8146
  void *argp1 = 0 ;
 
8147
  int res1 = 0 ;
 
8148
  PyObject *swig_obj[1] ;
 
8149
  
 
8150
  if (!args) SWIG_fail;
 
8151
  swig_obj[0] = args;
 
8152
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8153
  if (!SWIG_IsOK(res1)) {
 
8154
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
8155
  }
 
8156
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8157
  {
 
8158
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8159
    result = (bool)((wxStyledTextCtrl const *)arg1)->AutoCompGetCancelAtStart();
 
8160
    wxPyEndAllowThreads(__tstate);
 
8161
    if (PyErr_Occurred()) SWIG_fail;
 
8162
  }
 
8163
  {
 
8164
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8165
  }
 
8166
  return resultobj;
 
8167
fail:
 
8168
  return NULL;
 
8169
}
 
8170
 
 
8171
 
 
8172
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8173
  PyObject *resultobj = 0;
 
8174
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8175
  wxString *arg2 = 0 ;
 
8176
  void *argp1 = 0 ;
 
8177
  int res1 = 0 ;
 
8178
  bool temp2 = false ;
 
8179
  PyObject * obj0 = 0 ;
 
8180
  PyObject * obj1 = 0 ;
 
8181
  char *  kwnames[] = {
 
8182
    (char *) "self",(char *) "characterSet", NULL 
 
8183
  };
 
8184
  
 
8185
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) SWIG_fail;
 
8186
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8187
  if (!SWIG_IsOK(res1)) {
 
8188
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetFillUps" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8189
  }
 
8190
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8191
  {
 
8192
    arg2 = wxString_in_helper(obj1);
 
8193
    if (arg2 == NULL) SWIG_fail;
 
8194
    temp2 = true;
 
8195
  }
 
8196
  {
 
8197
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8198
    (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
 
8199
    wxPyEndAllowThreads(__tstate);
 
8200
    if (PyErr_Occurred()) SWIG_fail;
 
8201
  }
 
8202
  resultobj = SWIG_Py_Void();
 
8203
  {
 
8204
    if (temp2)
 
8205
    delete arg2;
 
8206
  }
 
8207
  return resultobj;
 
8208
fail:
 
8209
  {
 
8210
    if (temp2)
 
8211
    delete arg2;
 
8212
  }
 
8213
  return NULL;
 
8214
}
 
8215
 
 
8216
 
 
8217
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8218
  PyObject *resultobj = 0;
 
8219
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8220
  bool arg2 ;
 
8221
  void *argp1 = 0 ;
 
8222
  int res1 = 0 ;
 
8223
  bool val2 ;
 
8224
  int ecode2 = 0 ;
 
8225
  PyObject * obj0 = 0 ;
 
8226
  PyObject * obj1 = 0 ;
 
8227
  char *  kwnames[] = {
 
8228
    (char *) "self",(char *) "chooseSingle", NULL 
 
8229
  };
 
8230
  
 
8231
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) SWIG_fail;
 
8232
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8233
  if (!SWIG_IsOK(res1)) {
 
8234
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8235
  }
 
8236
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8237
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
8238
  if (!SWIG_IsOK(ecode2)) {
 
8239
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "2"" of type '" "bool""'");
 
8240
  } 
 
8241
  arg2 = static_cast< bool >(val2);
 
8242
  {
 
8243
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8244
    (arg1)->AutoCompSetChooseSingle(arg2);
 
8245
    wxPyEndAllowThreads(__tstate);
 
8246
    if (PyErr_Occurred()) SWIG_fail;
 
8247
  }
 
8248
  resultobj = SWIG_Py_Void();
 
8249
  return resultobj;
 
8250
fail:
 
8251
  return NULL;
 
8252
}
 
8253
 
 
8254
 
 
8255
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8256
  PyObject *resultobj = 0;
 
8257
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8258
  bool result;
 
8259
  void *argp1 = 0 ;
 
8260
  int res1 = 0 ;
 
8261
  PyObject *swig_obj[1] ;
 
8262
  
 
8263
  if (!args) SWIG_fail;
 
8264
  swig_obj[0] = args;
 
8265
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8266
  if (!SWIG_IsOK(res1)) {
 
8267
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
8268
  }
 
8269
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8270
  {
 
8271
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8272
    result = (bool)((wxStyledTextCtrl const *)arg1)->AutoCompGetChooseSingle();
 
8273
    wxPyEndAllowThreads(__tstate);
 
8274
    if (PyErr_Occurred()) SWIG_fail;
 
8275
  }
 
8276
  {
 
8277
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8278
  }
 
8279
  return resultobj;
 
8280
fail:
 
8281
  return NULL;
 
8282
}
 
8283
 
 
8284
 
 
8285
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8286
  PyObject *resultobj = 0;
 
8287
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8288
  bool arg2 ;
 
8289
  void *argp1 = 0 ;
 
8290
  int res1 = 0 ;
 
8291
  bool val2 ;
 
8292
  int ecode2 = 0 ;
 
8293
  PyObject * obj0 = 0 ;
 
8294
  PyObject * obj1 = 0 ;
 
8295
  char *  kwnames[] = {
 
8296
    (char *) "self",(char *) "ignoreCase", NULL 
 
8297
  };
 
8298
  
 
8299
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) SWIG_fail;
 
8300
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8301
  if (!SWIG_IsOK(res1)) {
 
8302
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8303
  }
 
8304
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8305
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
8306
  if (!SWIG_IsOK(ecode2)) {
 
8307
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "2"" of type '" "bool""'");
 
8308
  } 
 
8309
  arg2 = static_cast< bool >(val2);
 
8310
  {
 
8311
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8312
    (arg1)->AutoCompSetIgnoreCase(arg2);
 
8313
    wxPyEndAllowThreads(__tstate);
 
8314
    if (PyErr_Occurred()) SWIG_fail;
 
8315
  }
 
8316
  resultobj = SWIG_Py_Void();
 
8317
  return resultobj;
 
8318
fail:
 
8319
  return NULL;
 
8320
}
 
8321
 
 
8322
 
 
8323
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8324
  PyObject *resultobj = 0;
 
8325
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8326
  bool result;
 
8327
  void *argp1 = 0 ;
 
8328
  int res1 = 0 ;
 
8329
  PyObject *swig_obj[1] ;
 
8330
  
 
8331
  if (!args) SWIG_fail;
 
8332
  swig_obj[0] = args;
 
8333
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8334
  if (!SWIG_IsOK(res1)) {
 
8335
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
8336
  }
 
8337
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8338
  {
 
8339
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8340
    result = (bool)((wxStyledTextCtrl const *)arg1)->AutoCompGetIgnoreCase();
 
8341
    wxPyEndAllowThreads(__tstate);
 
8342
    if (PyErr_Occurred()) SWIG_fail;
 
8343
  }
 
8344
  {
 
8345
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8346
  }
 
8347
  return resultobj;
 
8348
fail:
 
8349
  return NULL;
 
8350
}
 
8351
 
 
8352
 
 
8353
SWIGINTERN PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8354
  PyObject *resultobj = 0;
 
8355
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8356
  int arg2 ;
 
8357
  wxString *arg3 = 0 ;
 
8358
  void *argp1 = 0 ;
 
8359
  int res1 = 0 ;
 
8360
  int val2 ;
 
8361
  int ecode2 = 0 ;
 
8362
  bool temp3 = false ;
 
8363
  PyObject * obj0 = 0 ;
 
8364
  PyObject * obj1 = 0 ;
 
8365
  PyObject * obj2 = 0 ;
 
8366
  char *  kwnames[] = {
 
8367
    (char *) "self",(char *) "listType",(char *) "itemList", NULL 
 
8368
  };
 
8369
  
 
8370
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8371
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8372
  if (!SWIG_IsOK(res1)) {
 
8373
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8374
  }
 
8375
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8376
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8377
  if (!SWIG_IsOK(ecode2)) {
 
8378
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "2"" of type '" "int""'");
 
8379
  } 
 
8380
  arg2 = static_cast< int >(val2);
 
8381
  {
 
8382
    arg3 = wxString_in_helper(obj2);
 
8383
    if (arg3 == NULL) SWIG_fail;
 
8384
    temp3 = true;
 
8385
  }
 
8386
  {
 
8387
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8388
    (arg1)->UserListShow(arg2,(wxString const &)*arg3);
 
8389
    wxPyEndAllowThreads(__tstate);
 
8390
    if (PyErr_Occurred()) SWIG_fail;
 
8391
  }
 
8392
  resultobj = SWIG_Py_Void();
 
8393
  {
 
8394
    if (temp3)
 
8395
    delete arg3;
 
8396
  }
 
8397
  return resultobj;
 
8398
fail:
 
8399
  {
 
8400
    if (temp3)
 
8401
    delete arg3;
 
8402
  }
 
8403
  return NULL;
 
8404
}
 
8405
 
 
8406
 
 
8407
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8408
  PyObject *resultobj = 0;
 
8409
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8410
  bool arg2 ;
 
8411
  void *argp1 = 0 ;
 
8412
  int res1 = 0 ;
 
8413
  bool val2 ;
 
8414
  int ecode2 = 0 ;
 
8415
  PyObject * obj0 = 0 ;
 
8416
  PyObject * obj1 = 0 ;
 
8417
  char *  kwnames[] = {
 
8418
    (char *) "self",(char *) "autoHide", NULL 
 
8419
  };
 
8420
  
 
8421
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) SWIG_fail;
 
8422
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8423
  if (!SWIG_IsOK(res1)) {
 
8424
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8425
  }
 
8426
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8427
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
8428
  if (!SWIG_IsOK(ecode2)) {
 
8429
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "2"" of type '" "bool""'");
 
8430
  } 
 
8431
  arg2 = static_cast< bool >(val2);
 
8432
  {
 
8433
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8434
    (arg1)->AutoCompSetAutoHide(arg2);
 
8435
    wxPyEndAllowThreads(__tstate);
 
8436
    if (PyErr_Occurred()) SWIG_fail;
 
8437
  }
 
8438
  resultobj = SWIG_Py_Void();
 
8439
  return resultobj;
 
8440
fail:
 
8441
  return NULL;
 
8442
}
 
8443
 
 
8444
 
 
8445
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8446
  PyObject *resultobj = 0;
 
8447
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8448
  bool result;
 
8449
  void *argp1 = 0 ;
 
8450
  int res1 = 0 ;
 
8451
  PyObject *swig_obj[1] ;
 
8452
  
 
8453
  if (!args) SWIG_fail;
 
8454
  swig_obj[0] = args;
 
8455
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8456
  if (!SWIG_IsOK(res1)) {
 
8457
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
8458
  }
 
8459
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8460
  {
 
8461
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8462
    result = (bool)((wxStyledTextCtrl const *)arg1)->AutoCompGetAutoHide();
 
8463
    wxPyEndAllowThreads(__tstate);
 
8464
    if (PyErr_Occurred()) SWIG_fail;
 
8465
  }
 
8466
  {
 
8467
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8468
  }
 
8469
  return resultobj;
 
8470
fail:
 
8471
  return NULL;
 
8472
}
 
8473
 
 
8474
 
 
8475
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8476
  PyObject *resultobj = 0;
 
8477
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8478
  bool arg2 ;
 
8479
  void *argp1 = 0 ;
 
8480
  int res1 = 0 ;
 
8481
  bool val2 ;
 
8482
  int ecode2 = 0 ;
 
8483
  PyObject * obj0 = 0 ;
 
8484
  PyObject * obj1 = 0 ;
 
8485
  char *  kwnames[] = {
 
8486
    (char *) "self",(char *) "dropRestOfWord", NULL 
 
8487
  };
 
8488
  
 
8489
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) SWIG_fail;
 
8490
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8491
  if (!SWIG_IsOK(res1)) {
 
8492
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8493
  }
 
8494
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8495
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
8496
  if (!SWIG_IsOK(ecode2)) {
 
8497
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "2"" of type '" "bool""'");
 
8498
  } 
 
8499
  arg2 = static_cast< bool >(val2);
 
8500
  {
 
8501
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8502
    (arg1)->AutoCompSetDropRestOfWord(arg2);
 
8503
    wxPyEndAllowThreads(__tstate);
 
8504
    if (PyErr_Occurred()) SWIG_fail;
 
8505
  }
 
8506
  resultobj = SWIG_Py_Void();
 
8507
  return resultobj;
 
8508
fail:
 
8509
  return NULL;
 
8510
}
 
8511
 
 
8512
 
 
8513
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8514
  PyObject *resultobj = 0;
 
8515
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8516
  bool result;
 
8517
  void *argp1 = 0 ;
 
8518
  int res1 = 0 ;
 
8519
  PyObject *swig_obj[1] ;
 
8520
  
 
8521
  if (!args) SWIG_fail;
 
8522
  swig_obj[0] = args;
 
8523
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8524
  if (!SWIG_IsOK(res1)) {
 
8525
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
8526
  }
 
8527
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8528
  {
 
8529
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8530
    result = (bool)((wxStyledTextCtrl const *)arg1)->AutoCompGetDropRestOfWord();
 
8531
    wxPyEndAllowThreads(__tstate);
 
8532
    if (PyErr_Occurred()) SWIG_fail;
 
8533
  }
 
8534
  {
 
8535
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8536
  }
 
8537
  return resultobj;
 
8538
fail:
 
8539
  return NULL;
 
8540
}
 
8541
 
 
8542
 
 
8543
SWIGINTERN PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8544
  PyObject *resultobj = 0;
 
8545
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8546
  int arg2 ;
 
8547
  wxBitmap *arg3 = 0 ;
 
8548
  void *argp1 = 0 ;
 
8549
  int res1 = 0 ;
 
8550
  int val2 ;
 
8551
  int ecode2 = 0 ;
 
8552
  void *argp3 = 0 ;
 
8553
  int res3 = 0 ;
 
8554
  PyObject * obj0 = 0 ;
 
8555
  PyObject * obj1 = 0 ;
 
8556
  PyObject * obj2 = 0 ;
 
8557
  char *  kwnames[] = {
 
8558
    (char *) "self",(char *) "type",(char *) "bmp", NULL 
 
8559
  };
 
8560
  
 
8561
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8562
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8563
  if (!SWIG_IsOK(res1)) {
 
8564
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8565
  }
 
8566
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8567
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8568
  if (!SWIG_IsOK(ecode2)) {
 
8569
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "2"" of type '" "int""'");
 
8570
  } 
 
8571
  arg2 = static_cast< int >(val2);
 
8572
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap,  0  | 0);
 
8573
  if (!SWIG_IsOK(res3)) {
 
8574
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'"); 
 
8575
  }
 
8576
  if (!argp3) {
 
8577
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'"); 
 
8578
  }
 
8579
  arg3 = reinterpret_cast< wxBitmap * >(argp3);
 
8580
  {
 
8581
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8582
    (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
 
8583
    wxPyEndAllowThreads(__tstate);
 
8584
    if (PyErr_Occurred()) SWIG_fail;
 
8585
  }
 
8586
  resultobj = SWIG_Py_Void();
 
8587
  return resultobj;
 
8588
fail:
 
8589
  return NULL;
 
8590
}
 
8591
 
 
8592
 
 
8593
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8594
  PyObject *resultobj = 0;
 
8595
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8596
  void *argp1 = 0 ;
 
8597
  int res1 = 0 ;
 
8598
  PyObject *swig_obj[1] ;
 
8599
  
 
8600
  if (!args) SWIG_fail;
 
8601
  swig_obj[0] = args;
 
8602
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8603
  if (!SWIG_IsOK(res1)) {
 
8604
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearRegisteredImages" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8605
  }
 
8606
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8607
  {
 
8608
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8609
    (arg1)->ClearRegisteredImages();
 
8610
    wxPyEndAllowThreads(__tstate);
 
8611
    if (PyErr_Occurred()) SWIG_fail;
 
8612
  }
 
8613
  resultobj = SWIG_Py_Void();
 
8614
  return resultobj;
 
8615
fail:
 
8616
  return NULL;
 
8617
}
 
8618
 
 
8619
 
 
8620
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8621
  PyObject *resultobj = 0;
 
8622
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8623
  int result;
 
8624
  void *argp1 = 0 ;
 
8625
  int res1 = 0 ;
 
8626
  PyObject *swig_obj[1] ;
 
8627
  
 
8628
  if (!args) SWIG_fail;
 
8629
  swig_obj[0] = args;
 
8630
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8631
  if (!SWIG_IsOK(res1)) {
 
8632
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
8633
  }
 
8634
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8635
  {
 
8636
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8637
    result = (int)((wxStyledTextCtrl const *)arg1)->AutoCompGetTypeSeparator();
 
8638
    wxPyEndAllowThreads(__tstate);
 
8639
    if (PyErr_Occurred()) SWIG_fail;
 
8640
  }
 
8641
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8642
  return resultobj;
 
8643
fail:
 
8644
  return NULL;
 
8645
}
 
8646
 
 
8647
 
 
8648
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8649
  PyObject *resultobj = 0;
 
8650
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8651
  int arg2 ;
 
8652
  void *argp1 = 0 ;
 
8653
  int res1 = 0 ;
 
8654
  int val2 ;
 
8655
  int ecode2 = 0 ;
 
8656
  PyObject * obj0 = 0 ;
 
8657
  PyObject * obj1 = 0 ;
 
8658
  char *  kwnames[] = {
 
8659
    (char *) "self",(char *) "separatorCharacter", NULL 
 
8660
  };
 
8661
  
 
8662
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
 
8663
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8664
  if (!SWIG_IsOK(res1)) {
 
8665
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8666
  }
 
8667
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8668
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8669
  if (!SWIG_IsOK(ecode2)) {
 
8670
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "2"" of type '" "int""'");
 
8671
  } 
 
8672
  arg2 = static_cast< int >(val2);
 
8673
  {
 
8674
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8675
    (arg1)->AutoCompSetTypeSeparator(arg2);
 
8676
    wxPyEndAllowThreads(__tstate);
 
8677
    if (PyErr_Occurred()) SWIG_fail;
 
8678
  }
 
8679
  resultobj = SWIG_Py_Void();
 
8680
  return resultobj;
 
8681
fail:
 
8682
  return NULL;
 
8683
}
 
8684
 
 
8685
 
 
8686
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8687
  PyObject *resultobj = 0;
 
8688
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8689
  int arg2 ;
 
8690
  void *argp1 = 0 ;
 
8691
  int res1 = 0 ;
 
8692
  int val2 ;
 
8693
  int ecode2 = 0 ;
 
8694
  PyObject * obj0 = 0 ;
 
8695
  PyObject * obj1 = 0 ;
 
8696
  char *  kwnames[] = {
 
8697
    (char *) "self",(char *) "characterCount", NULL 
 
8698
  };
 
8699
  
 
8700
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxWidth",kwnames,&obj0,&obj1)) SWIG_fail;
 
8701
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8702
  if (!SWIG_IsOK(res1)) {
 
8703
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8704
  }
 
8705
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8706
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8707
  if (!SWIG_IsOK(ecode2)) {
 
8708
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "2"" of type '" "int""'");
 
8709
  } 
 
8710
  arg2 = static_cast< int >(val2);
 
8711
  {
 
8712
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8713
    (arg1)->AutoCompSetMaxWidth(arg2);
 
8714
    wxPyEndAllowThreads(__tstate);
 
8715
    if (PyErr_Occurred()) SWIG_fail;
 
8716
  }
 
8717
  resultobj = SWIG_Py_Void();
 
8718
  return resultobj;
 
8719
fail:
 
8720
  return NULL;
 
8721
}
 
8722
 
 
8723
 
 
8724
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8725
  PyObject *resultobj = 0;
 
8726
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8727
  int result;
 
8728
  void *argp1 = 0 ;
 
8729
  int res1 = 0 ;
 
8730
  PyObject *swig_obj[1] ;
 
8731
  
 
8732
  if (!args) SWIG_fail;
 
8733
  swig_obj[0] = args;
 
8734
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8735
  if (!SWIG_IsOK(res1)) {
 
8736
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
8737
  }
 
8738
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8739
  {
 
8740
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8741
    result = (int)((wxStyledTextCtrl const *)arg1)->AutoCompGetMaxWidth();
 
8742
    wxPyEndAllowThreads(__tstate);
 
8743
    if (PyErr_Occurred()) SWIG_fail;
 
8744
  }
 
8745
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8746
  return resultobj;
 
8747
fail:
 
8748
  return NULL;
 
8749
}
 
8750
 
 
8751
 
 
8752
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8753
  PyObject *resultobj = 0;
 
8754
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8755
  int arg2 ;
 
8756
  void *argp1 = 0 ;
 
8757
  int res1 = 0 ;
 
8758
  int val2 ;
 
8759
  int ecode2 = 0 ;
 
8760
  PyObject * obj0 = 0 ;
 
8761
  PyObject * obj1 = 0 ;
 
8762
  char *  kwnames[] = {
 
8763
    (char *) "self",(char *) "rowCount", NULL 
 
8764
  };
 
8765
  
 
8766
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxHeight",kwnames,&obj0,&obj1)) SWIG_fail;
 
8767
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8768
  if (!SWIG_IsOK(res1)) {
 
8769
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8770
  }
 
8771
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8772
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8773
  if (!SWIG_IsOK(ecode2)) {
 
8774
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "2"" of type '" "int""'");
 
8775
  } 
 
8776
  arg2 = static_cast< int >(val2);
 
8777
  {
 
8778
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8779
    (arg1)->AutoCompSetMaxHeight(arg2);
 
8780
    wxPyEndAllowThreads(__tstate);
 
8781
    if (PyErr_Occurred()) SWIG_fail;
 
8782
  }
 
8783
  resultobj = SWIG_Py_Void();
 
8784
  return resultobj;
 
8785
fail:
 
8786
  return NULL;
 
8787
}
 
8788
 
 
8789
 
 
8790
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8791
  PyObject *resultobj = 0;
 
8792
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8793
  int result;
 
8794
  void *argp1 = 0 ;
 
8795
  int res1 = 0 ;
 
8796
  PyObject *swig_obj[1] ;
 
8797
  
 
8798
  if (!args) SWIG_fail;
 
8799
  swig_obj[0] = args;
 
8800
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8801
  if (!SWIG_IsOK(res1)) {
 
8802
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
8803
  }
 
8804
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8805
  {
 
8806
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8807
    result = (int)((wxStyledTextCtrl const *)arg1)->AutoCompGetMaxHeight();
 
8808
    wxPyEndAllowThreads(__tstate);
 
8809
    if (PyErr_Occurred()) SWIG_fail;
 
8810
  }
 
8811
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8812
  return resultobj;
 
8813
fail:
 
8814
  return NULL;
 
8815
}
 
8816
 
 
8817
 
 
8818
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8819
  PyObject *resultobj = 0;
 
8820
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8821
  int arg2 ;
 
8822
  void *argp1 = 0 ;
 
8823
  int res1 = 0 ;
 
8824
  int val2 ;
 
8825
  int ecode2 = 0 ;
 
8826
  PyObject * obj0 = 0 ;
 
8827
  PyObject * obj1 = 0 ;
 
8828
  char *  kwnames[] = {
 
8829
    (char *) "self",(char *) "indentSize", NULL 
 
8830
  };
 
8831
  
 
8832
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
 
8833
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8834
  if (!SWIG_IsOK(res1)) {
 
8835
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8836
  }
 
8837
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8838
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8839
  if (!SWIG_IsOK(ecode2)) {
 
8840
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "2"" of type '" "int""'");
 
8841
  } 
 
8842
  arg2 = static_cast< int >(val2);
 
8843
  {
 
8844
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8845
    (arg1)->SetIndent(arg2);
 
8846
    wxPyEndAllowThreads(__tstate);
 
8847
    if (PyErr_Occurred()) SWIG_fail;
 
8848
  }
 
8849
  resultobj = SWIG_Py_Void();
 
8850
  return resultobj;
 
8851
fail:
 
8852
  return NULL;
 
8853
}
 
8854
 
 
8855
 
 
8856
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8857
  PyObject *resultobj = 0;
 
8858
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8859
  int result;
 
8860
  void *argp1 = 0 ;
 
8861
  int res1 = 0 ;
 
8862
  PyObject *swig_obj[1] ;
 
8863
  
 
8864
  if (!args) SWIG_fail;
 
8865
  swig_obj[0] = args;
 
8866
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8867
  if (!SWIG_IsOK(res1)) {
 
8868
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
8869
  }
 
8870
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8871
  {
 
8872
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8873
    result = (int)((wxStyledTextCtrl const *)arg1)->GetIndent();
 
8874
    wxPyEndAllowThreads(__tstate);
 
8875
    if (PyErr_Occurred()) SWIG_fail;
 
8876
  }
 
8877
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8878
  return resultobj;
 
8879
fail:
 
8880
  return NULL;
 
8881
}
 
8882
 
 
8883
 
 
8884
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8885
  PyObject *resultobj = 0;
 
8886
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8887
  bool arg2 ;
 
8888
  void *argp1 = 0 ;
 
8889
  int res1 = 0 ;
 
8890
  bool val2 ;
 
8891
  int ecode2 = 0 ;
 
8892
  PyObject * obj0 = 0 ;
 
8893
  PyObject * obj1 = 0 ;
 
8894
  char *  kwnames[] = {
 
8895
    (char *) "self",(char *) "useTabs", NULL 
 
8896
  };
 
8897
  
 
8898
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) SWIG_fail;
 
8899
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8900
  if (!SWIG_IsOK(res1)) {
 
8901
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8902
  }
 
8903
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8904
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
8905
  if (!SWIG_IsOK(ecode2)) {
 
8906
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "2"" of type '" "bool""'");
 
8907
  } 
 
8908
  arg2 = static_cast< bool >(val2);
 
8909
  {
 
8910
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8911
    (arg1)->SetUseTabs(arg2);
 
8912
    wxPyEndAllowThreads(__tstate);
 
8913
    if (PyErr_Occurred()) SWIG_fail;
 
8914
  }
 
8915
  resultobj = SWIG_Py_Void();
 
8916
  return resultobj;
 
8917
fail:
 
8918
  return NULL;
 
8919
}
 
8920
 
 
8921
 
 
8922
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8923
  PyObject *resultobj = 0;
 
8924
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8925
  bool result;
 
8926
  void *argp1 = 0 ;
 
8927
  int res1 = 0 ;
 
8928
  PyObject *swig_obj[1] ;
 
8929
  
 
8930
  if (!args) SWIG_fail;
 
8931
  swig_obj[0] = args;
 
8932
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8933
  if (!SWIG_IsOK(res1)) {
 
8934
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
8935
  }
 
8936
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8937
  {
 
8938
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8939
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetUseTabs();
 
8940
    wxPyEndAllowThreads(__tstate);
 
8941
    if (PyErr_Occurred()) SWIG_fail;
 
8942
  }
 
8943
  {
 
8944
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8945
  }
 
8946
  return resultobj;
 
8947
fail:
 
8948
  return NULL;
 
8949
}
 
8950
 
 
8951
 
 
8952
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8953
  PyObject *resultobj = 0;
 
8954
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
8955
  int arg2 ;
 
8956
  int arg3 ;
 
8957
  void *argp1 = 0 ;
 
8958
  int res1 = 0 ;
 
8959
  int val2 ;
 
8960
  int ecode2 = 0 ;
 
8961
  int val3 ;
 
8962
  int ecode3 = 0 ;
 
8963
  PyObject * obj0 = 0 ;
 
8964
  PyObject * obj1 = 0 ;
 
8965
  PyObject * obj2 = 0 ;
 
8966
  char *  kwnames[] = {
 
8967
    (char *) "self",(char *) "line",(char *) "indentSize", NULL 
 
8968
  };
 
8969
  
 
8970
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8971
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
8972
  if (!SWIG_IsOK(res1)) {
 
8973
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
8974
  }
 
8975
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
8976
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8977
  if (!SWIG_IsOK(ecode2)) {
 
8978
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "2"" of type '" "int""'");
 
8979
  } 
 
8980
  arg2 = static_cast< int >(val2);
 
8981
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
8982
  if (!SWIG_IsOK(ecode3)) {
 
8983
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "3"" of type '" "int""'");
 
8984
  } 
 
8985
  arg3 = static_cast< int >(val3);
 
8986
  {
 
8987
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8988
    (arg1)->SetLineIndentation(arg2,arg3);
 
8989
    wxPyEndAllowThreads(__tstate);
 
8990
    if (PyErr_Occurred()) SWIG_fail;
 
8991
  }
 
8992
  resultobj = SWIG_Py_Void();
 
8993
  return resultobj;
 
8994
fail:
 
8995
  return NULL;
 
8996
}
 
8997
 
 
8998
 
 
8999
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9000
  PyObject *resultobj = 0;
 
9001
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9002
  int arg2 ;
 
9003
  int result;
 
9004
  void *argp1 = 0 ;
 
9005
  int res1 = 0 ;
 
9006
  int val2 ;
 
9007
  int ecode2 = 0 ;
 
9008
  PyObject * obj0 = 0 ;
 
9009
  PyObject * obj1 = 0 ;
 
9010
  char *  kwnames[] = {
 
9011
    (char *) "self",(char *) "line", NULL 
 
9012
  };
 
9013
  
 
9014
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) SWIG_fail;
 
9015
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9016
  if (!SWIG_IsOK(res1)) {
 
9017
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9018
  }
 
9019
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9020
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9021
  if (!SWIG_IsOK(ecode2)) {
 
9022
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "2"" of type '" "int""'");
 
9023
  } 
 
9024
  arg2 = static_cast< int >(val2);
 
9025
  {
 
9026
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9027
    result = (int)((wxStyledTextCtrl const *)arg1)->GetLineIndentation(arg2);
 
9028
    wxPyEndAllowThreads(__tstate);
 
9029
    if (PyErr_Occurred()) SWIG_fail;
 
9030
  }
 
9031
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9032
  return resultobj;
 
9033
fail:
 
9034
  return NULL;
 
9035
}
 
9036
 
 
9037
 
 
9038
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9039
  PyObject *resultobj = 0;
 
9040
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9041
  int arg2 ;
 
9042
  int result;
 
9043
  void *argp1 = 0 ;
 
9044
  int res1 = 0 ;
 
9045
  int val2 ;
 
9046
  int ecode2 = 0 ;
 
9047
  PyObject * obj0 = 0 ;
 
9048
  PyObject * obj1 = 0 ;
 
9049
  char *  kwnames[] = {
 
9050
    (char *) "self",(char *) "line", NULL 
 
9051
  };
 
9052
  
 
9053
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
9054
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9055
  if (!SWIG_IsOK(res1)) {
 
9056
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9057
  }
 
9058
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9059
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9060
  if (!SWIG_IsOK(ecode2)) {
 
9061
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "2"" of type '" "int""'");
 
9062
  } 
 
9063
  arg2 = static_cast< int >(val2);
 
9064
  {
 
9065
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9066
    result = (int)((wxStyledTextCtrl const *)arg1)->GetLineIndentPosition(arg2);
 
9067
    wxPyEndAllowThreads(__tstate);
 
9068
    if (PyErr_Occurred()) SWIG_fail;
 
9069
  }
 
9070
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9071
  return resultobj;
 
9072
fail:
 
9073
  return NULL;
 
9074
}
 
9075
 
 
9076
 
 
9077
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9078
  PyObject *resultobj = 0;
 
9079
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9080
  int arg2 ;
 
9081
  int result;
 
9082
  void *argp1 = 0 ;
 
9083
  int res1 = 0 ;
 
9084
  int val2 ;
 
9085
  int ecode2 = 0 ;
 
9086
  PyObject * obj0 = 0 ;
 
9087
  PyObject * obj1 = 0 ;
 
9088
  char *  kwnames[] = {
 
9089
    (char *) "self",(char *) "pos", NULL 
 
9090
  };
 
9091
  
 
9092
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
 
9093
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9094
  if (!SWIG_IsOK(res1)) {
 
9095
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9096
  }
 
9097
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9098
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9099
  if (!SWIG_IsOK(ecode2)) {
 
9100
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
 
9101
  } 
 
9102
  arg2 = static_cast< int >(val2);
 
9103
  {
 
9104
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9105
    result = (int)((wxStyledTextCtrl const *)arg1)->GetColumn(arg2);
 
9106
    wxPyEndAllowThreads(__tstate);
 
9107
    if (PyErr_Occurred()) SWIG_fail;
 
9108
  }
 
9109
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9110
  return resultobj;
 
9111
fail:
 
9112
  return NULL;
 
9113
}
 
9114
 
 
9115
 
 
9116
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9117
  PyObject *resultobj = 0;
 
9118
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9119
  bool arg2 ;
 
9120
  void *argp1 = 0 ;
 
9121
  int res1 = 0 ;
 
9122
  bool val2 ;
 
9123
  int ecode2 = 0 ;
 
9124
  PyObject * obj0 = 0 ;
 
9125
  PyObject * obj1 = 0 ;
 
9126
  char *  kwnames[] = {
 
9127
    (char *) "self",(char *) "show", NULL 
 
9128
  };
 
9129
  
 
9130
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
 
9131
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9132
  if (!SWIG_IsOK(res1)) {
 
9133
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
9134
  }
 
9135
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9136
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
9137
  if (!SWIG_IsOK(ecode2)) {
 
9138
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "2"" of type '" "bool""'");
 
9139
  } 
 
9140
  arg2 = static_cast< bool >(val2);
 
9141
  {
 
9142
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9143
    (arg1)->SetUseHorizontalScrollBar(arg2);
 
9144
    wxPyEndAllowThreads(__tstate);
 
9145
    if (PyErr_Occurred()) SWIG_fail;
 
9146
  }
 
9147
  resultobj = SWIG_Py_Void();
 
9148
  return resultobj;
 
9149
fail:
 
9150
  return NULL;
 
9151
}
 
9152
 
 
9153
 
 
9154
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9155
  PyObject *resultobj = 0;
 
9156
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9157
  bool result;
 
9158
  void *argp1 = 0 ;
 
9159
  int res1 = 0 ;
 
9160
  PyObject *swig_obj[1] ;
 
9161
  
 
9162
  if (!args) SWIG_fail;
 
9163
  swig_obj[0] = args;
 
9164
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9165
  if (!SWIG_IsOK(res1)) {
 
9166
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9167
  }
 
9168
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9169
  {
 
9170
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9171
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetUseHorizontalScrollBar();
 
9172
    wxPyEndAllowThreads(__tstate);
 
9173
    if (PyErr_Occurred()) SWIG_fail;
 
9174
  }
 
9175
  {
 
9176
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
9177
  }
 
9178
  return resultobj;
 
9179
fail:
 
9180
  return NULL;
 
9181
}
 
9182
 
 
9183
 
 
9184
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9185
  PyObject *resultobj = 0;
 
9186
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9187
  int arg2 ;
 
9188
  void *argp1 = 0 ;
 
9189
  int res1 = 0 ;
 
9190
  int val2 ;
 
9191
  int ecode2 = 0 ;
 
9192
  PyObject * obj0 = 0 ;
 
9193
  PyObject * obj1 = 0 ;
 
9194
  char *  kwnames[] = {
 
9195
    (char *) "self",(char *) "indentView", NULL 
 
9196
  };
 
9197
  
 
9198
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) SWIG_fail;
 
9199
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9200
  if (!SWIG_IsOK(res1)) {
 
9201
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
9202
  }
 
9203
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9204
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9205
  if (!SWIG_IsOK(ecode2)) {
 
9206
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "2"" of type '" "int""'");
 
9207
  } 
 
9208
  arg2 = static_cast< int >(val2);
 
9209
  {
 
9210
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9211
    (arg1)->SetIndentationGuides(arg2);
 
9212
    wxPyEndAllowThreads(__tstate);
 
9213
    if (PyErr_Occurred()) SWIG_fail;
 
9214
  }
 
9215
  resultobj = SWIG_Py_Void();
 
9216
  return resultobj;
 
9217
fail:
 
9218
  return NULL;
 
9219
}
 
9220
 
 
9221
 
 
9222
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9223
  PyObject *resultobj = 0;
 
9224
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9225
  int result;
 
9226
  void *argp1 = 0 ;
 
9227
  int res1 = 0 ;
 
9228
  PyObject *swig_obj[1] ;
 
9229
  
 
9230
  if (!args) SWIG_fail;
 
9231
  swig_obj[0] = args;
 
9232
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9233
  if (!SWIG_IsOK(res1)) {
 
9234
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9235
  }
 
9236
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9237
  {
 
9238
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9239
    result = (int)((wxStyledTextCtrl const *)arg1)->GetIndentationGuides();
 
9240
    wxPyEndAllowThreads(__tstate);
 
9241
    if (PyErr_Occurred()) SWIG_fail;
 
9242
  }
 
9243
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9244
  return resultobj;
 
9245
fail:
 
9246
  return NULL;
 
9247
}
 
9248
 
 
9249
 
 
9250
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9251
  PyObject *resultobj = 0;
 
9252
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9253
  int arg2 ;
 
9254
  void *argp1 = 0 ;
 
9255
  int res1 = 0 ;
 
9256
  int val2 ;
 
9257
  int ecode2 = 0 ;
 
9258
  PyObject * obj0 = 0 ;
 
9259
  PyObject * obj1 = 0 ;
 
9260
  char *  kwnames[] = {
 
9261
    (char *) "self",(char *) "column", NULL 
 
9262
  };
 
9263
  
 
9264
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) SWIG_fail;
 
9265
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9266
  if (!SWIG_IsOK(res1)) {
 
9267
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
9268
  }
 
9269
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9270
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9271
  if (!SWIG_IsOK(ecode2)) {
 
9272
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "2"" of type '" "int""'");
 
9273
  } 
 
9274
  arg2 = static_cast< int >(val2);
 
9275
  {
 
9276
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9277
    (arg1)->SetHighlightGuide(arg2);
 
9278
    wxPyEndAllowThreads(__tstate);
 
9279
    if (PyErr_Occurred()) SWIG_fail;
 
9280
  }
 
9281
  resultobj = SWIG_Py_Void();
 
9282
  return resultobj;
 
9283
fail:
 
9284
  return NULL;
 
9285
}
 
9286
 
 
9287
 
 
9288
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9289
  PyObject *resultobj = 0;
 
9290
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9291
  int result;
 
9292
  void *argp1 = 0 ;
 
9293
  int res1 = 0 ;
 
9294
  PyObject *swig_obj[1] ;
 
9295
  
 
9296
  if (!args) SWIG_fail;
 
9297
  swig_obj[0] = args;
 
9298
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9299
  if (!SWIG_IsOK(res1)) {
 
9300
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9301
  }
 
9302
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9303
  {
 
9304
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9305
    result = (int)((wxStyledTextCtrl const *)arg1)->GetHighlightGuide();
 
9306
    wxPyEndAllowThreads(__tstate);
 
9307
    if (PyErr_Occurred()) SWIG_fail;
 
9308
  }
 
9309
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9310
  return resultobj;
 
9311
fail:
 
9312
  return NULL;
 
9313
}
 
9314
 
 
9315
 
 
9316
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9317
  PyObject *resultobj = 0;
 
9318
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9319
  int arg2 ;
 
9320
  int result;
 
9321
  void *argp1 = 0 ;
 
9322
  int res1 = 0 ;
 
9323
  int val2 ;
 
9324
  int ecode2 = 0 ;
 
9325
  PyObject * obj0 = 0 ;
 
9326
  PyObject * obj1 = 0 ;
 
9327
  char *  kwnames[] = {
 
9328
    (char *) "self",(char *) "line", NULL 
 
9329
  };
 
9330
  
 
9331
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
9332
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9333
  if (!SWIG_IsOK(res1)) {
 
9334
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9335
  }
 
9336
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9337
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9338
  if (!SWIG_IsOK(ecode2)) {
 
9339
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "2"" of type '" "int""'");
 
9340
  } 
 
9341
  arg2 = static_cast< int >(val2);
 
9342
  {
 
9343
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9344
    result = (int)((wxStyledTextCtrl const *)arg1)->GetLineEndPosition(arg2);
 
9345
    wxPyEndAllowThreads(__tstate);
 
9346
    if (PyErr_Occurred()) SWIG_fail;
 
9347
  }
 
9348
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9349
  return resultobj;
 
9350
fail:
 
9351
  return NULL;
 
9352
}
 
9353
 
 
9354
 
 
9355
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9356
  PyObject *resultobj = 0;
 
9357
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9358
  int result;
 
9359
  void *argp1 = 0 ;
 
9360
  int res1 = 0 ;
 
9361
  PyObject *swig_obj[1] ;
 
9362
  
 
9363
  if (!args) SWIG_fail;
 
9364
  swig_obj[0] = args;
 
9365
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9366
  if (!SWIG_IsOK(res1)) {
 
9367
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9368
  }
 
9369
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9370
  {
 
9371
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9372
    result = (int)((wxStyledTextCtrl const *)arg1)->GetCodePage();
 
9373
    wxPyEndAllowThreads(__tstate);
 
9374
    if (PyErr_Occurred()) SWIG_fail;
 
9375
  }
 
9376
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9377
  return resultobj;
 
9378
fail:
 
9379
  return NULL;
 
9380
}
 
9381
 
 
9382
 
 
9383
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9384
  PyObject *resultobj = 0;
 
9385
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9386
  wxColour result;
 
9387
  void *argp1 = 0 ;
 
9388
  int res1 = 0 ;
 
9389
  PyObject *swig_obj[1] ;
 
9390
  
 
9391
  if (!args) SWIG_fail;
 
9392
  swig_obj[0] = args;
 
9393
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9394
  if (!SWIG_IsOK(res1)) {
 
9395
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9396
  }
 
9397
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9398
  {
 
9399
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9400
    result = ((wxStyledTextCtrl const *)arg1)->GetCaretForeground();
 
9401
    wxPyEndAllowThreads(__tstate);
 
9402
    if (PyErr_Occurred()) SWIG_fail;
 
9403
  }
 
9404
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
9405
  return resultobj;
 
9406
fail:
 
9407
  return NULL;
 
9408
}
 
9409
 
 
9410
 
 
9411
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9412
  PyObject *resultobj = 0;
 
9413
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9414
  bool result;
 
9415
  void *argp1 = 0 ;
 
9416
  int res1 = 0 ;
 
9417
  PyObject *swig_obj[1] ;
 
9418
  
 
9419
  if (!args) SWIG_fail;
 
9420
  swig_obj[0] = args;
 
9421
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9422
  if (!SWIG_IsOK(res1)) {
 
9423
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9424
  }
 
9425
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9426
  {
 
9427
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9428
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetReadOnly();
 
9429
    wxPyEndAllowThreads(__tstate);
 
9430
    if (PyErr_Occurred()) SWIG_fail;
 
9431
  }
 
9432
  {
 
9433
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
9434
  }
 
9435
  return resultobj;
 
9436
fail:
 
9437
  return NULL;
 
9438
}
 
9439
 
 
9440
 
 
9441
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9442
  PyObject *resultobj = 0;
 
9443
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9444
  int arg2 ;
 
9445
  void *argp1 = 0 ;
 
9446
  int res1 = 0 ;
 
9447
  int val2 ;
 
9448
  int ecode2 = 0 ;
 
9449
  PyObject * obj0 = 0 ;
 
9450
  PyObject * obj1 = 0 ;
 
9451
  char *  kwnames[] = {
 
9452
    (char *) "self",(char *) "pos", NULL 
 
9453
  };
 
9454
  
 
9455
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) SWIG_fail;
 
9456
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9457
  if (!SWIG_IsOK(res1)) {
 
9458
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
9459
  }
 
9460
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9461
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9462
  if (!SWIG_IsOK(ecode2)) {
 
9463
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "2"" of type '" "int""'");
 
9464
  } 
 
9465
  arg2 = static_cast< int >(val2);
 
9466
  {
 
9467
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9468
    (arg1)->SetCurrentPos(arg2);
 
9469
    wxPyEndAllowThreads(__tstate);
 
9470
    if (PyErr_Occurred()) SWIG_fail;
 
9471
  }
 
9472
  resultobj = SWIG_Py_Void();
 
9473
  return resultobj;
 
9474
fail:
 
9475
  return NULL;
 
9476
}
 
9477
 
 
9478
 
 
9479
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9480
  PyObject *resultobj = 0;
 
9481
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9482
  int arg2 ;
 
9483
  void *argp1 = 0 ;
 
9484
  int res1 = 0 ;
 
9485
  int val2 ;
 
9486
  int ecode2 = 0 ;
 
9487
  PyObject * obj0 = 0 ;
 
9488
  PyObject * obj1 = 0 ;
 
9489
  char *  kwnames[] = {
 
9490
    (char *) "self",(char *) "pos", NULL 
 
9491
  };
 
9492
  
 
9493
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) SWIG_fail;
 
9494
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9495
  if (!SWIG_IsOK(res1)) {
 
9496
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
9497
  }
 
9498
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9499
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9500
  if (!SWIG_IsOK(ecode2)) {
 
9501
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "2"" of type '" "int""'");
 
9502
  } 
 
9503
  arg2 = static_cast< int >(val2);
 
9504
  {
 
9505
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9506
    (arg1)->SetSelectionStart(arg2);
 
9507
    wxPyEndAllowThreads(__tstate);
 
9508
    if (PyErr_Occurred()) SWIG_fail;
 
9509
  }
 
9510
  resultobj = SWIG_Py_Void();
 
9511
  return resultobj;
 
9512
fail:
 
9513
  return NULL;
 
9514
}
 
9515
 
 
9516
 
 
9517
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9518
  PyObject *resultobj = 0;
 
9519
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9520
  int result;
 
9521
  void *argp1 = 0 ;
 
9522
  int res1 = 0 ;
 
9523
  PyObject *swig_obj[1] ;
 
9524
  
 
9525
  if (!args) SWIG_fail;
 
9526
  swig_obj[0] = args;
 
9527
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9528
  if (!SWIG_IsOK(res1)) {
 
9529
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9530
  }
 
9531
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9532
  {
 
9533
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9534
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSelectionStart();
 
9535
    wxPyEndAllowThreads(__tstate);
 
9536
    if (PyErr_Occurred()) SWIG_fail;
 
9537
  }
 
9538
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9539
  return resultobj;
 
9540
fail:
 
9541
  return NULL;
 
9542
}
 
9543
 
 
9544
 
 
9545
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9546
  PyObject *resultobj = 0;
 
9547
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9548
  int arg2 ;
 
9549
  void *argp1 = 0 ;
 
9550
  int res1 = 0 ;
 
9551
  int val2 ;
 
9552
  int ecode2 = 0 ;
 
9553
  PyObject * obj0 = 0 ;
 
9554
  PyObject * obj1 = 0 ;
 
9555
  char *  kwnames[] = {
 
9556
    (char *) "self",(char *) "pos", NULL 
 
9557
  };
 
9558
  
 
9559
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) SWIG_fail;
 
9560
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9561
  if (!SWIG_IsOK(res1)) {
 
9562
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
9563
  }
 
9564
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9565
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9566
  if (!SWIG_IsOK(ecode2)) {
 
9567
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "2"" of type '" "int""'");
 
9568
  } 
 
9569
  arg2 = static_cast< int >(val2);
 
9570
  {
 
9571
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9572
    (arg1)->SetSelectionEnd(arg2);
 
9573
    wxPyEndAllowThreads(__tstate);
 
9574
    if (PyErr_Occurred()) SWIG_fail;
 
9575
  }
 
9576
  resultobj = SWIG_Py_Void();
 
9577
  return resultobj;
 
9578
fail:
 
9579
  return NULL;
 
9580
}
 
9581
 
 
9582
 
 
9583
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9584
  PyObject *resultobj = 0;
 
9585
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9586
  int result;
 
9587
  void *argp1 = 0 ;
 
9588
  int res1 = 0 ;
 
9589
  PyObject *swig_obj[1] ;
 
9590
  
 
9591
  if (!args) SWIG_fail;
 
9592
  swig_obj[0] = args;
 
9593
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9594
  if (!SWIG_IsOK(res1)) {
 
9595
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9596
  }
 
9597
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9598
  {
 
9599
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9600
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSelectionEnd();
 
9601
    wxPyEndAllowThreads(__tstate);
 
9602
    if (PyErr_Occurred()) SWIG_fail;
 
9603
  }
 
9604
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9605
  return resultobj;
 
9606
fail:
 
9607
  return NULL;
 
9608
}
 
9609
 
 
9610
 
 
9611
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9612
  PyObject *resultobj = 0;
 
9613
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9614
  int arg2 ;
 
9615
  void *argp1 = 0 ;
 
9616
  int res1 = 0 ;
 
9617
  int val2 ;
 
9618
  int ecode2 = 0 ;
 
9619
  PyObject * obj0 = 0 ;
 
9620
  PyObject * obj1 = 0 ;
 
9621
  char *  kwnames[] = {
 
9622
    (char *) "self",(char *) "magnification", NULL 
 
9623
  };
 
9624
  
 
9625
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) SWIG_fail;
 
9626
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9627
  if (!SWIG_IsOK(res1)) {
 
9628
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
9629
  }
 
9630
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9631
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9632
  if (!SWIG_IsOK(ecode2)) {
 
9633
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "2"" of type '" "int""'");
 
9634
  } 
 
9635
  arg2 = static_cast< int >(val2);
 
9636
  {
 
9637
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9638
    (arg1)->SetPrintMagnification(arg2);
 
9639
    wxPyEndAllowThreads(__tstate);
 
9640
    if (PyErr_Occurred()) SWIG_fail;
 
9641
  }
 
9642
  resultobj = SWIG_Py_Void();
 
9643
  return resultobj;
 
9644
fail:
 
9645
  return NULL;
 
9646
}
 
9647
 
 
9648
 
 
9649
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9650
  PyObject *resultobj = 0;
 
9651
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9652
  int result;
 
9653
  void *argp1 = 0 ;
 
9654
  int res1 = 0 ;
 
9655
  PyObject *swig_obj[1] ;
 
9656
  
 
9657
  if (!args) SWIG_fail;
 
9658
  swig_obj[0] = args;
 
9659
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9660
  if (!SWIG_IsOK(res1)) {
 
9661
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9662
  }
 
9663
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9664
  {
 
9665
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9666
    result = (int)((wxStyledTextCtrl const *)arg1)->GetPrintMagnification();
 
9667
    wxPyEndAllowThreads(__tstate);
 
9668
    if (PyErr_Occurred()) SWIG_fail;
 
9669
  }
 
9670
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9671
  return resultobj;
 
9672
fail:
 
9673
  return NULL;
 
9674
}
 
9675
 
 
9676
 
 
9677
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9678
  PyObject *resultobj = 0;
 
9679
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9680
  int arg2 ;
 
9681
  void *argp1 = 0 ;
 
9682
  int res1 = 0 ;
 
9683
  int val2 ;
 
9684
  int ecode2 = 0 ;
 
9685
  PyObject * obj0 = 0 ;
 
9686
  PyObject * obj1 = 0 ;
 
9687
  char *  kwnames[] = {
 
9688
    (char *) "self",(char *) "mode", NULL 
 
9689
  };
 
9690
  
 
9691
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) SWIG_fail;
 
9692
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9693
  if (!SWIG_IsOK(res1)) {
 
9694
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
9695
  }
 
9696
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9697
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9698
  if (!SWIG_IsOK(ecode2)) {
 
9699
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "2"" of type '" "int""'");
 
9700
  } 
 
9701
  arg2 = static_cast< int >(val2);
 
9702
  {
 
9703
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9704
    (arg1)->SetPrintColourMode(arg2);
 
9705
    wxPyEndAllowThreads(__tstate);
 
9706
    if (PyErr_Occurred()) SWIG_fail;
 
9707
  }
 
9708
  resultobj = SWIG_Py_Void();
 
9709
  return resultobj;
 
9710
fail:
 
9711
  return NULL;
 
9712
}
 
9713
 
 
9714
 
 
9715
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9716
  PyObject *resultobj = 0;
 
9717
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9718
  int result;
 
9719
  void *argp1 = 0 ;
 
9720
  int res1 = 0 ;
 
9721
  PyObject *swig_obj[1] ;
 
9722
  
 
9723
  if (!args) SWIG_fail;
 
9724
  swig_obj[0] = args;
 
9725
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9726
  if (!SWIG_IsOK(res1)) {
 
9727
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9728
  }
 
9729
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9730
  {
 
9731
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9732
    result = (int)((wxStyledTextCtrl const *)arg1)->GetPrintColourMode();
 
9733
    wxPyEndAllowThreads(__tstate);
 
9734
    if (PyErr_Occurred()) SWIG_fail;
 
9735
  }
 
9736
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9737
  return resultobj;
 
9738
fail:
 
9739
  return NULL;
 
9740
}
 
9741
 
 
9742
 
 
9743
SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9744
  PyObject *resultobj = 0;
 
9745
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9746
  int arg2 ;
 
9747
  int arg3 ;
 
9748
  wxString *arg4 = 0 ;
 
9749
  int arg5 = (int) 0 ;
 
9750
  int result;
 
9751
  void *argp1 = 0 ;
 
9752
  int res1 = 0 ;
 
9753
  int val2 ;
 
9754
  int ecode2 = 0 ;
 
9755
  int val3 ;
 
9756
  int ecode3 = 0 ;
 
9757
  bool temp4 = false ;
 
9758
  int val5 ;
 
9759
  int ecode5 = 0 ;
 
9760
  PyObject * obj0 = 0 ;
 
9761
  PyObject * obj1 = 0 ;
 
9762
  PyObject * obj2 = 0 ;
 
9763
  PyObject * obj3 = 0 ;
 
9764
  PyObject * obj4 = 0 ;
 
9765
  char *  kwnames[] = {
 
9766
    (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL 
 
9767
  };
 
9768
  
 
9769
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
9770
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9771
  if (!SWIG_IsOK(res1)) {
 
9772
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
9773
  }
 
9774
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9775
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9776
  if (!SWIG_IsOK(ecode2)) {
 
9777
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindText" "', expected argument " "2"" of type '" "int""'");
 
9778
  } 
 
9779
  arg2 = static_cast< int >(val2);
 
9780
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
9781
  if (!SWIG_IsOK(ecode3)) {
 
9782
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindText" "', expected argument " "3"" of type '" "int""'");
 
9783
  } 
 
9784
  arg3 = static_cast< int >(val3);
 
9785
  {
 
9786
    arg4 = wxString_in_helper(obj3);
 
9787
    if (arg4 == NULL) SWIG_fail;
 
9788
    temp4 = true;
 
9789
  }
 
9790
  if (obj4) {
 
9791
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
9792
    if (!SWIG_IsOK(ecode5)) {
 
9793
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_FindText" "', expected argument " "5"" of type '" "int""'");
 
9794
    } 
 
9795
    arg5 = static_cast< int >(val5);
 
9796
  }
 
9797
  {
 
9798
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9799
    result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
 
9800
    wxPyEndAllowThreads(__tstate);
 
9801
    if (PyErr_Occurred()) SWIG_fail;
 
9802
  }
 
9803
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9804
  {
 
9805
    if (temp4)
 
9806
    delete arg4;
 
9807
  }
 
9808
  return resultobj;
 
9809
fail:
 
9810
  {
 
9811
    if (temp4)
 
9812
    delete arg4;
 
9813
  }
 
9814
  return NULL;
 
9815
}
 
9816
 
 
9817
 
 
9818
SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9819
  PyObject *resultobj = 0;
 
9820
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9821
  bool arg2 ;
 
9822
  int arg3 ;
 
9823
  int arg4 ;
 
9824
  wxDC *arg5 = (wxDC *) 0 ;
 
9825
  wxDC *arg6 = (wxDC *) 0 ;
 
9826
  wxRect arg7 ;
 
9827
  wxRect arg8 ;
 
9828
  int result;
 
9829
  void *argp1 = 0 ;
 
9830
  int res1 = 0 ;
 
9831
  bool val2 ;
 
9832
  int ecode2 = 0 ;
 
9833
  int val3 ;
 
9834
  int ecode3 = 0 ;
 
9835
  int val4 ;
 
9836
  int ecode4 = 0 ;
 
9837
  void *argp5 = 0 ;
 
9838
  int res5 = 0 ;
 
9839
  void *argp6 = 0 ;
 
9840
  int res6 = 0 ;
 
9841
  void *argp7 ;
 
9842
  int res7 = 0 ;
 
9843
  void *argp8 ;
 
9844
  int res8 = 0 ;
 
9845
  PyObject * obj0 = 0 ;
 
9846
  PyObject * obj1 = 0 ;
 
9847
  PyObject * obj2 = 0 ;
 
9848
  PyObject * obj3 = 0 ;
 
9849
  PyObject * obj4 = 0 ;
 
9850
  PyObject * obj5 = 0 ;
 
9851
  PyObject * obj6 = 0 ;
 
9852
  PyObject * obj7 = 0 ;
 
9853
  char *  kwnames[] = {
 
9854
    (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL 
 
9855
  };
 
9856
  
 
9857
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
 
9858
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9859
  if (!SWIG_IsOK(res1)) {
 
9860
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
9861
  }
 
9862
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9863
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
9864
  if (!SWIG_IsOK(ecode2)) {
 
9865
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "2"" of type '" "bool""'");
 
9866
  } 
 
9867
  arg2 = static_cast< bool >(val2);
 
9868
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
9869
  if (!SWIG_IsOK(ecode3)) {
 
9870
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "3"" of type '" "int""'");
 
9871
  } 
 
9872
  arg3 = static_cast< int >(val3);
 
9873
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
9874
  if (!SWIG_IsOK(ecode4)) {
 
9875
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "4"" of type '" "int""'");
 
9876
  } 
 
9877
  arg4 = static_cast< int >(val4);
 
9878
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxDC, 0 |  0 );
 
9879
  if (!SWIG_IsOK(res5)) {
 
9880
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "5"" of type '" "wxDC *""'"); 
 
9881
  }
 
9882
  arg5 = reinterpret_cast< wxDC * >(argp5);
 
9883
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxDC, 0 |  0 );
 
9884
  if (!SWIG_IsOK(res6)) {
 
9885
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "6"" of type '" "wxDC *""'"); 
 
9886
  }
 
9887
  arg6 = reinterpret_cast< wxDC * >(argp6);
 
9888
  {
 
9889
    res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxRect,  0  | 0);
 
9890
    if (!SWIG_IsOK(res7)) {
 
9891
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'"); 
 
9892
    }  
 
9893
    if (!argp7) {
 
9894
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
 
9895
    } else {
 
9896
      wxRect * temp = reinterpret_cast< wxRect * >(argp7);
 
9897
      arg7 = *temp;
 
9898
      if (SWIG_IsNewObj(res7)) delete temp;
 
9899
    }
 
9900
  }
 
9901
  {
 
9902
    res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxRect,  0  | 0);
 
9903
    if (!SWIG_IsOK(res8)) {
 
9904
      SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'"); 
 
9905
    }  
 
9906
    if (!argp8) {
 
9907
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
 
9908
    } else {
 
9909
      wxRect * temp = reinterpret_cast< wxRect * >(argp8);
 
9910
      arg8 = *temp;
 
9911
      if (SWIG_IsNewObj(res8)) delete temp;
 
9912
    }
 
9913
  }
 
9914
  {
 
9915
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9916
    result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
 
9917
    wxPyEndAllowThreads(__tstate);
 
9918
    if (PyErr_Occurred()) SWIG_fail;
 
9919
  }
 
9920
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9921
  return resultobj;
 
9922
fail:
 
9923
  return NULL;
 
9924
}
 
9925
 
 
9926
 
 
9927
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9928
  PyObject *resultobj = 0;
 
9929
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9930
  int result;
 
9931
  void *argp1 = 0 ;
 
9932
  int res1 = 0 ;
 
9933
  PyObject *swig_obj[1] ;
 
9934
  
 
9935
  if (!args) SWIG_fail;
 
9936
  swig_obj[0] = args;
 
9937
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9938
  if (!SWIG_IsOK(res1)) {
 
9939
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9940
  }
 
9941
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9942
  {
 
9943
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9944
    result = (int)((wxStyledTextCtrl const *)arg1)->GetFirstVisibleLine();
 
9945
    wxPyEndAllowThreads(__tstate);
 
9946
    if (PyErr_Occurred()) SWIG_fail;
 
9947
  }
 
9948
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9949
  return resultobj;
 
9950
fail:
 
9951
  return NULL;
 
9952
}
 
9953
 
 
9954
 
 
9955
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9956
  PyObject *resultobj = 0;
 
9957
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
9958
  int arg2 ;
 
9959
  wxString result;
 
9960
  void *argp1 = 0 ;
 
9961
  int res1 = 0 ;
 
9962
  int val2 ;
 
9963
  int ecode2 = 0 ;
 
9964
  PyObject * obj0 = 0 ;
 
9965
  PyObject * obj1 = 0 ;
 
9966
  char *  kwnames[] = {
 
9967
    (char *) "self",(char *) "line", NULL 
 
9968
  };
 
9969
  
 
9970
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
9971
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
9972
  if (!SWIG_IsOK(res1)) {
 
9973
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
9974
  }
 
9975
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
9976
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9977
  if (!SWIG_IsOK(ecode2)) {
 
9978
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "2"" of type '" "int""'");
 
9979
  } 
 
9980
  arg2 = static_cast< int >(val2);
 
9981
  {
 
9982
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9983
    result = ((wxStyledTextCtrl const *)arg1)->GetLine(arg2);
 
9984
    wxPyEndAllowThreads(__tstate);
 
9985
    if (PyErr_Occurred()) SWIG_fail;
 
9986
  }
 
9987
  {
 
9988
#if wxUSE_UNICODE
 
9989
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
9990
#else
 
9991
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
9992
#endif
 
9993
  }
 
9994
  return resultobj;
 
9995
fail:
 
9996
  return NULL;
 
9997
}
 
9998
 
 
9999
 
 
10000
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10001
  PyObject *resultobj = 0;
 
10002
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10003
  int result;
 
10004
  void *argp1 = 0 ;
 
10005
  int res1 = 0 ;
 
10006
  PyObject *swig_obj[1] ;
 
10007
  
 
10008
  if (!args) SWIG_fail;
 
10009
  swig_obj[0] = args;
 
10010
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10011
  if (!SWIG_IsOK(res1)) {
 
10012
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
10013
  }
 
10014
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10015
  {
 
10016
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10017
    result = (int)((wxStyledTextCtrl const *)arg1)->GetLineCount();
 
10018
    wxPyEndAllowThreads(__tstate);
 
10019
    if (PyErr_Occurred()) SWIG_fail;
 
10020
  }
 
10021
  resultobj = SWIG_From_int(static_cast< int >(result));
 
10022
  return resultobj;
 
10023
fail:
 
10024
  return NULL;
 
10025
}
 
10026
 
 
10027
 
 
10028
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10029
  PyObject *resultobj = 0;
 
10030
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10031
  int arg2 ;
 
10032
  void *argp1 = 0 ;
 
10033
  int res1 = 0 ;
 
10034
  int val2 ;
 
10035
  int ecode2 = 0 ;
 
10036
  PyObject * obj0 = 0 ;
 
10037
  PyObject * obj1 = 0 ;
 
10038
  char *  kwnames[] = {
 
10039
    (char *) "self",(char *) "pixelWidth", NULL 
 
10040
  };
 
10041
  
 
10042
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) SWIG_fail;
 
10043
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10044
  if (!SWIG_IsOK(res1)) {
 
10045
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10046
  }
 
10047
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10048
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10049
  if (!SWIG_IsOK(ecode2)) {
 
10050
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "2"" of type '" "int""'");
 
10051
  } 
 
10052
  arg2 = static_cast< int >(val2);
 
10053
  {
 
10054
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10055
    (arg1)->SetMarginLeft(arg2);
 
10056
    wxPyEndAllowThreads(__tstate);
 
10057
    if (PyErr_Occurred()) SWIG_fail;
 
10058
  }
 
10059
  resultobj = SWIG_Py_Void();
 
10060
  return resultobj;
 
10061
fail:
 
10062
  return NULL;
 
10063
}
 
10064
 
 
10065
 
 
10066
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10067
  PyObject *resultobj = 0;
 
10068
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10069
  int result;
 
10070
  void *argp1 = 0 ;
 
10071
  int res1 = 0 ;
 
10072
  PyObject *swig_obj[1] ;
 
10073
  
 
10074
  if (!args) SWIG_fail;
 
10075
  swig_obj[0] = args;
 
10076
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10077
  if (!SWIG_IsOK(res1)) {
 
10078
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
10079
  }
 
10080
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10081
  {
 
10082
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10083
    result = (int)((wxStyledTextCtrl const *)arg1)->GetMarginLeft();
 
10084
    wxPyEndAllowThreads(__tstate);
 
10085
    if (PyErr_Occurred()) SWIG_fail;
 
10086
  }
 
10087
  resultobj = SWIG_From_int(static_cast< int >(result));
 
10088
  return resultobj;
 
10089
fail:
 
10090
  return NULL;
 
10091
}
 
10092
 
 
10093
 
 
10094
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10095
  PyObject *resultobj = 0;
 
10096
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10097
  int arg2 ;
 
10098
  void *argp1 = 0 ;
 
10099
  int res1 = 0 ;
 
10100
  int val2 ;
 
10101
  int ecode2 = 0 ;
 
10102
  PyObject * obj0 = 0 ;
 
10103
  PyObject * obj1 = 0 ;
 
10104
  char *  kwnames[] = {
 
10105
    (char *) "self",(char *) "pixelWidth", NULL 
 
10106
  };
 
10107
  
 
10108
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) SWIG_fail;
 
10109
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10110
  if (!SWIG_IsOK(res1)) {
 
10111
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10112
  }
 
10113
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10114
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10115
  if (!SWIG_IsOK(ecode2)) {
 
10116
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "2"" of type '" "int""'");
 
10117
  } 
 
10118
  arg2 = static_cast< int >(val2);
 
10119
  {
 
10120
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10121
    (arg1)->SetMarginRight(arg2);
 
10122
    wxPyEndAllowThreads(__tstate);
 
10123
    if (PyErr_Occurred()) SWIG_fail;
 
10124
  }
 
10125
  resultobj = SWIG_Py_Void();
 
10126
  return resultobj;
 
10127
fail:
 
10128
  return NULL;
 
10129
}
 
10130
 
 
10131
 
 
10132
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10133
  PyObject *resultobj = 0;
 
10134
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10135
  int result;
 
10136
  void *argp1 = 0 ;
 
10137
  int res1 = 0 ;
 
10138
  PyObject *swig_obj[1] ;
 
10139
  
 
10140
  if (!args) SWIG_fail;
 
10141
  swig_obj[0] = args;
 
10142
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10143
  if (!SWIG_IsOK(res1)) {
 
10144
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
10145
  }
 
10146
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10147
  {
 
10148
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10149
    result = (int)((wxStyledTextCtrl const *)arg1)->GetMarginRight();
 
10150
    wxPyEndAllowThreads(__tstate);
 
10151
    if (PyErr_Occurred()) SWIG_fail;
 
10152
  }
 
10153
  resultobj = SWIG_From_int(static_cast< int >(result));
 
10154
  return resultobj;
 
10155
fail:
 
10156
  return NULL;
 
10157
}
 
10158
 
 
10159
 
 
10160
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10161
  PyObject *resultobj = 0;
 
10162
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10163
  bool result;
 
10164
  void *argp1 = 0 ;
 
10165
  int res1 = 0 ;
 
10166
  PyObject *swig_obj[1] ;
 
10167
  
 
10168
  if (!args) SWIG_fail;
 
10169
  swig_obj[0] = args;
 
10170
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10171
  if (!SWIG_IsOK(res1)) {
 
10172
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModify" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
10173
  }
 
10174
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10175
  {
 
10176
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10177
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetModify();
 
10178
    wxPyEndAllowThreads(__tstate);
 
10179
    if (PyErr_Occurred()) SWIG_fail;
 
10180
  }
 
10181
  {
 
10182
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10183
  }
 
10184
  return resultobj;
 
10185
fail:
 
10186
  return NULL;
 
10187
}
 
10188
 
 
10189
 
 
10190
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10191
  PyObject *resultobj = 0;
 
10192
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10193
  wxString result;
 
10194
  void *argp1 = 0 ;
 
10195
  int res1 = 0 ;
 
10196
  PyObject *swig_obj[1] ;
 
10197
  
 
10198
  if (!args) SWIG_fail;
 
10199
  swig_obj[0] = args;
 
10200
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10201
  if (!SWIG_IsOK(res1)) {
 
10202
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10203
  }
 
10204
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10205
  {
 
10206
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10207
    result = (arg1)->GetSelectedText();
 
10208
    wxPyEndAllowThreads(__tstate);
 
10209
    if (PyErr_Occurred()) SWIG_fail;
 
10210
  }
 
10211
  {
 
10212
#if wxUSE_UNICODE
 
10213
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
10214
#else
 
10215
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
10216
#endif
 
10217
  }
 
10218
  return resultobj;
 
10219
fail:
 
10220
  return NULL;
 
10221
}
 
10222
 
 
10223
 
 
10224
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10225
  PyObject *resultobj = 0;
 
10226
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10227
  int arg2 ;
 
10228
  int arg3 ;
 
10229
  wxString result;
 
10230
  void *argp1 = 0 ;
 
10231
  int res1 = 0 ;
 
10232
  int val2 ;
 
10233
  int ecode2 = 0 ;
 
10234
  int val3 ;
 
10235
  int ecode3 = 0 ;
 
10236
  PyObject * obj0 = 0 ;
 
10237
  PyObject * obj1 = 0 ;
 
10238
  PyObject * obj2 = 0 ;
 
10239
  char *  kwnames[] = {
 
10240
    (char *) "self",(char *) "startPos",(char *) "endPos", NULL 
 
10241
  };
 
10242
  
 
10243
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10244
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10245
  if (!SWIG_IsOK(res1)) {
 
10246
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10247
  }
 
10248
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10249
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10250
  if (!SWIG_IsOK(ecode2)) {
 
10251
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "2"" of type '" "int""'");
 
10252
  } 
 
10253
  arg2 = static_cast< int >(val2);
 
10254
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
10255
  if (!SWIG_IsOK(ecode3)) {
 
10256
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "3"" of type '" "int""'");
 
10257
  } 
 
10258
  arg3 = static_cast< int >(val3);
 
10259
  {
 
10260
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10261
    result = (arg1)->GetTextRange(arg2,arg3);
 
10262
    wxPyEndAllowThreads(__tstate);
 
10263
    if (PyErr_Occurred()) SWIG_fail;
 
10264
  }
 
10265
  {
 
10266
#if wxUSE_UNICODE
 
10267
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
10268
#else
 
10269
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
10270
#endif
 
10271
  }
 
10272
  return resultobj;
 
10273
fail:
 
10274
  return NULL;
 
10275
}
 
10276
 
 
10277
 
 
10278
SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10279
  PyObject *resultobj = 0;
 
10280
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10281
  bool arg2 ;
 
10282
  void *argp1 = 0 ;
 
10283
  int res1 = 0 ;
 
10284
  bool val2 ;
 
10285
  int ecode2 = 0 ;
 
10286
  PyObject * obj0 = 0 ;
 
10287
  PyObject * obj1 = 0 ;
 
10288
  char *  kwnames[] = {
 
10289
    (char *) "self",(char *) "normal", NULL 
 
10290
  };
 
10291
  
 
10292
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) SWIG_fail;
 
10293
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10294
  if (!SWIG_IsOK(res1)) {
 
10295
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10296
  }
 
10297
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10298
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
10299
  if (!SWIG_IsOK(ecode2)) {
 
10300
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "2"" of type '" "bool""'");
 
10301
  } 
 
10302
  arg2 = static_cast< bool >(val2);
 
10303
  {
 
10304
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10305
    (arg1)->HideSelection(arg2);
 
10306
    wxPyEndAllowThreads(__tstate);
 
10307
    if (PyErr_Occurred()) SWIG_fail;
 
10308
  }
 
10309
  resultobj = SWIG_Py_Void();
 
10310
  return resultobj;
 
10311
fail:
 
10312
  return NULL;
 
10313
}
 
10314
 
 
10315
 
 
10316
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10317
  PyObject *resultobj = 0;
 
10318
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10319
  int arg2 ;
 
10320
  int result;
 
10321
  void *argp1 = 0 ;
 
10322
  int res1 = 0 ;
 
10323
  int val2 ;
 
10324
  int ecode2 = 0 ;
 
10325
  PyObject * obj0 = 0 ;
 
10326
  PyObject * obj1 = 0 ;
 
10327
  char *  kwnames[] = {
 
10328
    (char *) "self",(char *) "pos", NULL 
 
10329
  };
 
10330
  
 
10331
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
10332
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10333
  if (!SWIG_IsOK(res1)) {
 
10334
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
10335
  }
 
10336
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10337
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10338
  if (!SWIG_IsOK(ecode2)) {
 
10339
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "2"" of type '" "int""'");
 
10340
  } 
 
10341
  arg2 = static_cast< int >(val2);
 
10342
  {
 
10343
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10344
    result = (int)((wxStyledTextCtrl const *)arg1)->LineFromPosition(arg2);
 
10345
    wxPyEndAllowThreads(__tstate);
 
10346
    if (PyErr_Occurred()) SWIG_fail;
 
10347
  }
 
10348
  resultobj = SWIG_From_int(static_cast< int >(result));
 
10349
  return resultobj;
 
10350
fail:
 
10351
  return NULL;
 
10352
}
 
10353
 
 
10354
 
 
10355
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10356
  PyObject *resultobj = 0;
 
10357
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10358
  int arg2 ;
 
10359
  int result;
 
10360
  void *argp1 = 0 ;
 
10361
  int res1 = 0 ;
 
10362
  int val2 ;
 
10363
  int ecode2 = 0 ;
 
10364
  PyObject * obj0 = 0 ;
 
10365
  PyObject * obj1 = 0 ;
 
10366
  char *  kwnames[] = {
 
10367
    (char *) "self",(char *) "line", NULL 
 
10368
  };
 
10369
  
 
10370
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
10371
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10372
  if (!SWIG_IsOK(res1)) {
 
10373
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
10374
  }
 
10375
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10376
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10377
  if (!SWIG_IsOK(ecode2)) {
 
10378
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "2"" of type '" "int""'");
 
10379
  } 
 
10380
  arg2 = static_cast< int >(val2);
 
10381
  {
 
10382
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10383
    result = (int)((wxStyledTextCtrl const *)arg1)->PositionFromLine(arg2);
 
10384
    wxPyEndAllowThreads(__tstate);
 
10385
    if (PyErr_Occurred()) SWIG_fail;
 
10386
  }
 
10387
  resultobj = SWIG_From_int(static_cast< int >(result));
 
10388
  return resultobj;
 
10389
fail:
 
10390
  return NULL;
 
10391
}
 
10392
 
 
10393
 
 
10394
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10395
  PyObject *resultobj = 0;
 
10396
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10397
  int arg2 ;
 
10398
  int arg3 ;
 
10399
  void *argp1 = 0 ;
 
10400
  int res1 = 0 ;
 
10401
  int val2 ;
 
10402
  int ecode2 = 0 ;
 
10403
  int val3 ;
 
10404
  int ecode3 = 0 ;
 
10405
  PyObject * obj0 = 0 ;
 
10406
  PyObject * obj1 = 0 ;
 
10407
  PyObject * obj2 = 0 ;
 
10408
  char *  kwnames[] = {
 
10409
    (char *) "self",(char *) "columns",(char *) "lines", NULL 
 
10410
  };
 
10411
  
 
10412
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10413
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10414
  if (!SWIG_IsOK(res1)) {
 
10415
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10416
  }
 
10417
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10418
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10419
  if (!SWIG_IsOK(ecode2)) {
 
10420
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "2"" of type '" "int""'");
 
10421
  } 
 
10422
  arg2 = static_cast< int >(val2);
 
10423
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
10424
  if (!SWIG_IsOK(ecode3)) {
 
10425
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "3"" of type '" "int""'");
 
10426
  } 
 
10427
  arg3 = static_cast< int >(val3);
 
10428
  {
 
10429
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10430
    (arg1)->LineScroll(arg2,arg3);
 
10431
    wxPyEndAllowThreads(__tstate);
 
10432
    if (PyErr_Occurred()) SWIG_fail;
 
10433
  }
 
10434
  resultobj = SWIG_Py_Void();
 
10435
  return resultobj;
 
10436
fail:
 
10437
  return NULL;
 
10438
}
 
10439
 
 
10440
 
 
10441
SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10442
  PyObject *resultobj = 0;
 
10443
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10444
  void *argp1 = 0 ;
 
10445
  int res1 = 0 ;
 
10446
  PyObject *swig_obj[1] ;
 
10447
  
 
10448
  if (!args) SWIG_fail;
 
10449
  swig_obj[0] = args;
 
10450
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10451
  if (!SWIG_IsOK(res1)) {
 
10452
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureCaretVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10453
  }
 
10454
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10455
  {
 
10456
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10457
    (arg1)->EnsureCaretVisible();
 
10458
    wxPyEndAllowThreads(__tstate);
 
10459
    if (PyErr_Occurred()) SWIG_fail;
 
10460
  }
 
10461
  resultobj = SWIG_Py_Void();
 
10462
  return resultobj;
 
10463
fail:
 
10464
  return NULL;
 
10465
}
 
10466
 
 
10467
 
 
10468
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10469
  PyObject *resultobj = 0;
 
10470
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10471
  wxString *arg2 = 0 ;
 
10472
  void *argp1 = 0 ;
 
10473
  int res1 = 0 ;
 
10474
  bool temp2 = false ;
 
10475
  PyObject * obj0 = 0 ;
 
10476
  PyObject * obj1 = 0 ;
 
10477
  char *  kwnames[] = {
 
10478
    (char *) "self",(char *) "text", NULL 
 
10479
  };
 
10480
  
 
10481
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
 
10482
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10483
  if (!SWIG_IsOK(res1)) {
 
10484
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10485
  }
 
10486
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10487
  {
 
10488
    arg2 = wxString_in_helper(obj1);
 
10489
    if (arg2 == NULL) SWIG_fail;
 
10490
    temp2 = true;
 
10491
  }
 
10492
  {
 
10493
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10494
    (arg1)->ReplaceSelection((wxString const &)*arg2);
 
10495
    wxPyEndAllowThreads(__tstate);
 
10496
    if (PyErr_Occurred()) SWIG_fail;
 
10497
  }
 
10498
  resultobj = SWIG_Py_Void();
 
10499
  {
 
10500
    if (temp2)
 
10501
    delete arg2;
 
10502
  }
 
10503
  return resultobj;
 
10504
fail:
 
10505
  {
 
10506
    if (temp2)
 
10507
    delete arg2;
 
10508
  }
 
10509
  return NULL;
 
10510
}
 
10511
 
 
10512
 
 
10513
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10514
  PyObject *resultobj = 0;
 
10515
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10516
  bool arg2 ;
 
10517
  void *argp1 = 0 ;
 
10518
  int res1 = 0 ;
 
10519
  bool val2 ;
 
10520
  int ecode2 = 0 ;
 
10521
  PyObject * obj0 = 0 ;
 
10522
  PyObject * obj1 = 0 ;
 
10523
  char *  kwnames[] = {
 
10524
    (char *) "self",(char *) "readOnly", NULL 
 
10525
  };
 
10526
  
 
10527
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) SWIG_fail;
 
10528
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10529
  if (!SWIG_IsOK(res1)) {
 
10530
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10531
  }
 
10532
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10533
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
10534
  if (!SWIG_IsOK(ecode2)) {
 
10535
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
 
10536
  } 
 
10537
  arg2 = static_cast< bool >(val2);
 
10538
  {
 
10539
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10540
    (arg1)->SetReadOnly(arg2);
 
10541
    wxPyEndAllowThreads(__tstate);
 
10542
    if (PyErr_Occurred()) SWIG_fail;
 
10543
  }
 
10544
  resultobj = SWIG_Py_Void();
 
10545
  return resultobj;
 
10546
fail:
 
10547
  return NULL;
 
10548
}
 
10549
 
 
10550
 
 
10551
SWIGINTERN PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10552
  PyObject *resultobj = 0;
 
10553
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10554
  void *argp1 = 0 ;
 
10555
  int res1 = 0 ;
 
10556
  PyObject *swig_obj[1] ;
 
10557
  
 
10558
  if (!args) SWIG_fail;
 
10559
  swig_obj[0] = args;
 
10560
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10561
  if (!SWIG_IsOK(res1)) {
 
10562
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EmptyUndoBuffer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10563
  }
 
10564
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10565
  {
 
10566
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10567
    (arg1)->EmptyUndoBuffer();
 
10568
    wxPyEndAllowThreads(__tstate);
 
10569
    if (PyErr_Occurred()) SWIG_fail;
 
10570
  }
 
10571
  resultobj = SWIG_Py_Void();
 
10572
  return resultobj;
 
10573
fail:
 
10574
  return NULL;
 
10575
}
 
10576
 
 
10577
 
 
10578
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10579
  PyObject *resultobj = 0;
 
10580
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10581
  wxString *arg2 = 0 ;
 
10582
  void *argp1 = 0 ;
 
10583
  int res1 = 0 ;
 
10584
  bool temp2 = false ;
 
10585
  PyObject * obj0 = 0 ;
 
10586
  PyObject * obj1 = 0 ;
 
10587
  char *  kwnames[] = {
 
10588
    (char *) "self",(char *) "text", NULL 
 
10589
  };
 
10590
  
 
10591
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
 
10592
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10593
  if (!SWIG_IsOK(res1)) {
 
10594
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10595
  }
 
10596
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10597
  {
 
10598
    arg2 = wxString_in_helper(obj1);
 
10599
    if (arg2 == NULL) SWIG_fail;
 
10600
    temp2 = true;
 
10601
  }
 
10602
  {
 
10603
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10604
    (arg1)->SetText((wxString const &)*arg2);
 
10605
    wxPyEndAllowThreads(__tstate);
 
10606
    if (PyErr_Occurred()) SWIG_fail;
 
10607
  }
 
10608
  resultobj = SWIG_Py_Void();
 
10609
  {
 
10610
    if (temp2)
 
10611
    delete arg2;
 
10612
  }
 
10613
  return resultobj;
 
10614
fail:
 
10615
  {
 
10616
    if (temp2)
 
10617
    delete arg2;
 
10618
  }
 
10619
  return NULL;
 
10620
}
 
10621
 
 
10622
 
 
10623
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10624
  PyObject *resultobj = 0;
 
10625
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10626
  wxString result;
 
10627
  void *argp1 = 0 ;
 
10628
  int res1 = 0 ;
 
10629
  PyObject *swig_obj[1] ;
 
10630
  
 
10631
  if (!args) SWIG_fail;
 
10632
  swig_obj[0] = args;
 
10633
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10634
  if (!SWIG_IsOK(res1)) {
 
10635
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
10636
  }
 
10637
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10638
  {
 
10639
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10640
    result = ((wxStyledTextCtrl const *)arg1)->GetText();
 
10641
    wxPyEndAllowThreads(__tstate);
 
10642
    if (PyErr_Occurred()) SWIG_fail;
 
10643
  }
 
10644
  {
 
10645
#if wxUSE_UNICODE
 
10646
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
10647
#else
 
10648
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
10649
#endif
 
10650
  }
 
10651
  return resultobj;
 
10652
fail:
 
10653
  return NULL;
 
10654
}
 
10655
 
 
10656
 
 
10657
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10658
  PyObject *resultobj = 0;
 
10659
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10660
  int result;
 
10661
  void *argp1 = 0 ;
 
10662
  int res1 = 0 ;
 
10663
  PyObject *swig_obj[1] ;
 
10664
  
 
10665
  if (!args) SWIG_fail;
 
10666
  swig_obj[0] = args;
 
10667
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10668
  if (!SWIG_IsOK(res1)) {
 
10669
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
10670
  }
 
10671
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10672
  {
 
10673
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10674
    result = (int)((wxStyledTextCtrl const *)arg1)->GetTextLength();
 
10675
    wxPyEndAllowThreads(__tstate);
 
10676
    if (PyErr_Occurred()) SWIG_fail;
 
10677
  }
 
10678
  resultobj = SWIG_From_int(static_cast< int >(result));
 
10679
  return resultobj;
 
10680
fail:
 
10681
  return NULL;
 
10682
}
 
10683
 
 
10684
 
 
10685
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10686
  PyObject *resultobj = 0;
 
10687
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10688
  bool arg2 ;
 
10689
  void *argp1 = 0 ;
 
10690
  int res1 = 0 ;
 
10691
  bool val2 ;
 
10692
  int ecode2 = 0 ;
 
10693
  PyObject * obj0 = 0 ;
 
10694
  PyObject * obj1 = 0 ;
 
10695
  char *  kwnames[] = {
 
10696
    (char *) "self",(char *) "overtype", NULL 
 
10697
  };
 
10698
  
 
10699
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) SWIG_fail;
 
10700
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10701
  if (!SWIG_IsOK(res1)) {
 
10702
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10703
  }
 
10704
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10705
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
10706
  if (!SWIG_IsOK(ecode2)) {
 
10707
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "2"" of type '" "bool""'");
 
10708
  } 
 
10709
  arg2 = static_cast< bool >(val2);
 
10710
  {
 
10711
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10712
    (arg1)->SetOvertype(arg2);
 
10713
    wxPyEndAllowThreads(__tstate);
 
10714
    if (PyErr_Occurred()) SWIG_fail;
 
10715
  }
 
10716
  resultobj = SWIG_Py_Void();
 
10717
  return resultobj;
 
10718
fail:
 
10719
  return NULL;
 
10720
}
 
10721
 
 
10722
 
 
10723
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10724
  PyObject *resultobj = 0;
 
10725
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10726
  bool result;
 
10727
  void *argp1 = 0 ;
 
10728
  int res1 = 0 ;
 
10729
  PyObject *swig_obj[1] ;
 
10730
  
 
10731
  if (!args) SWIG_fail;
 
10732
  swig_obj[0] = args;
 
10733
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10734
  if (!SWIG_IsOK(res1)) {
 
10735
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
10736
  }
 
10737
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10738
  {
 
10739
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10740
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetOvertype();
 
10741
    wxPyEndAllowThreads(__tstate);
 
10742
    if (PyErr_Occurred()) SWIG_fail;
 
10743
  }
 
10744
  {
 
10745
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10746
  }
 
10747
  return resultobj;
 
10748
fail:
 
10749
  return NULL;
 
10750
}
 
10751
 
 
10752
 
 
10753
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10754
  PyObject *resultobj = 0;
 
10755
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10756
  int arg2 ;
 
10757
  void *argp1 = 0 ;
 
10758
  int res1 = 0 ;
 
10759
  int val2 ;
 
10760
  int ecode2 = 0 ;
 
10761
  PyObject * obj0 = 0 ;
 
10762
  PyObject * obj1 = 0 ;
 
10763
  char *  kwnames[] = {
 
10764
    (char *) "self",(char *) "pixelWidth", NULL 
 
10765
  };
 
10766
  
 
10767
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) SWIG_fail;
 
10768
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10769
  if (!SWIG_IsOK(res1)) {
 
10770
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10771
  }
 
10772
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10773
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10774
  if (!SWIG_IsOK(ecode2)) {
 
10775
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "2"" of type '" "int""'");
 
10776
  } 
 
10777
  arg2 = static_cast< int >(val2);
 
10778
  {
 
10779
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10780
    (arg1)->SetCaretWidth(arg2);
 
10781
    wxPyEndAllowThreads(__tstate);
 
10782
    if (PyErr_Occurred()) SWIG_fail;
 
10783
  }
 
10784
  resultobj = SWIG_Py_Void();
 
10785
  return resultobj;
 
10786
fail:
 
10787
  return NULL;
 
10788
}
 
10789
 
 
10790
 
 
10791
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10792
  PyObject *resultobj = 0;
 
10793
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10794
  int result;
 
10795
  void *argp1 = 0 ;
 
10796
  int res1 = 0 ;
 
10797
  PyObject *swig_obj[1] ;
 
10798
  
 
10799
  if (!args) SWIG_fail;
 
10800
  swig_obj[0] = args;
 
10801
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10802
  if (!SWIG_IsOK(res1)) {
 
10803
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
10804
  }
 
10805
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10806
  {
 
10807
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10808
    result = (int)((wxStyledTextCtrl const *)arg1)->GetCaretWidth();
 
10809
    wxPyEndAllowThreads(__tstate);
 
10810
    if (PyErr_Occurred()) SWIG_fail;
 
10811
  }
 
10812
  resultobj = SWIG_From_int(static_cast< int >(result));
 
10813
  return resultobj;
 
10814
fail:
 
10815
  return NULL;
 
10816
}
 
10817
 
 
10818
 
 
10819
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10820
  PyObject *resultobj = 0;
 
10821
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10822
  int arg2 ;
 
10823
  void *argp1 = 0 ;
 
10824
  int res1 = 0 ;
 
10825
  int val2 ;
 
10826
  int ecode2 = 0 ;
 
10827
  PyObject * obj0 = 0 ;
 
10828
  PyObject * obj1 = 0 ;
 
10829
  char *  kwnames[] = {
 
10830
    (char *) "self",(char *) "pos", NULL 
 
10831
  };
 
10832
  
 
10833
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) SWIG_fail;
 
10834
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10835
  if (!SWIG_IsOK(res1)) {
 
10836
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10837
  }
 
10838
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10839
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10840
  if (!SWIG_IsOK(ecode2)) {
 
10841
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "2"" of type '" "int""'");
 
10842
  } 
 
10843
  arg2 = static_cast< int >(val2);
 
10844
  {
 
10845
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10846
    (arg1)->SetTargetStart(arg2);
 
10847
    wxPyEndAllowThreads(__tstate);
 
10848
    if (PyErr_Occurred()) SWIG_fail;
 
10849
  }
 
10850
  resultobj = SWIG_Py_Void();
 
10851
  return resultobj;
 
10852
fail:
 
10853
  return NULL;
 
10854
}
 
10855
 
 
10856
 
 
10857
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10858
  PyObject *resultobj = 0;
 
10859
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10860
  int result;
 
10861
  void *argp1 = 0 ;
 
10862
  int res1 = 0 ;
 
10863
  PyObject *swig_obj[1] ;
 
10864
  
 
10865
  if (!args) SWIG_fail;
 
10866
  swig_obj[0] = args;
 
10867
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10868
  if (!SWIG_IsOK(res1)) {
 
10869
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
10870
  }
 
10871
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10872
  {
 
10873
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10874
    result = (int)((wxStyledTextCtrl const *)arg1)->GetTargetStart();
 
10875
    wxPyEndAllowThreads(__tstate);
 
10876
    if (PyErr_Occurred()) SWIG_fail;
 
10877
  }
 
10878
  resultobj = SWIG_From_int(static_cast< int >(result));
 
10879
  return resultobj;
 
10880
fail:
 
10881
  return NULL;
 
10882
}
 
10883
 
 
10884
 
 
10885
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10886
  PyObject *resultobj = 0;
 
10887
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10888
  int arg2 ;
 
10889
  void *argp1 = 0 ;
 
10890
  int res1 = 0 ;
 
10891
  int val2 ;
 
10892
  int ecode2 = 0 ;
 
10893
  PyObject * obj0 = 0 ;
 
10894
  PyObject * obj1 = 0 ;
 
10895
  char *  kwnames[] = {
 
10896
    (char *) "self",(char *) "pos", NULL 
 
10897
  };
 
10898
  
 
10899
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",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_SetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10903
  }
 
10904
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10905
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10906
  if (!SWIG_IsOK(ecode2)) {
 
10907
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "2"" of type '" "int""'");
 
10908
  } 
 
10909
  arg2 = static_cast< int >(val2);
 
10910
  {
 
10911
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10912
    (arg1)->SetTargetEnd(arg2);
 
10913
    wxPyEndAllowThreads(__tstate);
 
10914
    if (PyErr_Occurred()) SWIG_fail;
 
10915
  }
 
10916
  resultobj = SWIG_Py_Void();
 
10917
  return resultobj;
 
10918
fail:
 
10919
  return NULL;
 
10920
}
 
10921
 
 
10922
 
 
10923
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10924
  PyObject *resultobj = 0;
 
10925
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10926
  int result;
 
10927
  void *argp1 = 0 ;
 
10928
  int res1 = 0 ;
 
10929
  PyObject *swig_obj[1] ;
 
10930
  
 
10931
  if (!args) SWIG_fail;
 
10932
  swig_obj[0] = args;
 
10933
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10934
  if (!SWIG_IsOK(res1)) {
 
10935
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
10936
  }
 
10937
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10938
  {
 
10939
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10940
    result = (int)((wxStyledTextCtrl const *)arg1)->GetTargetEnd();
 
10941
    wxPyEndAllowThreads(__tstate);
 
10942
    if (PyErr_Occurred()) SWIG_fail;
 
10943
  }
 
10944
  resultobj = SWIG_From_int(static_cast< int >(result));
 
10945
  return resultobj;
 
10946
fail:
 
10947
  return NULL;
 
10948
}
 
10949
 
 
10950
 
 
10951
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10952
  PyObject *resultobj = 0;
 
10953
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
10954
  wxString *arg2 = 0 ;
 
10955
  int result;
 
10956
  void *argp1 = 0 ;
 
10957
  int res1 = 0 ;
 
10958
  bool temp2 = false ;
 
10959
  PyObject * obj0 = 0 ;
 
10960
  PyObject * obj1 = 0 ;
 
10961
  char *  kwnames[] = {
 
10962
    (char *) "self",(char *) "text", NULL 
 
10963
  };
 
10964
  
 
10965
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) SWIG_fail;
 
10966
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
10967
  if (!SWIG_IsOK(res1)) {
 
10968
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
10969
  }
 
10970
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
10971
  {
 
10972
    arg2 = wxString_in_helper(obj1);
 
10973
    if (arg2 == NULL) SWIG_fail;
 
10974
    temp2 = true;
 
10975
  }
 
10976
  {
 
10977
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10978
    result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
 
10979
    wxPyEndAllowThreads(__tstate);
 
10980
    if (PyErr_Occurred()) SWIG_fail;
 
10981
  }
 
10982
  resultobj = SWIG_From_int(static_cast< int >(result));
 
10983
  {
 
10984
    if (temp2)
 
10985
    delete arg2;
 
10986
  }
 
10987
  return resultobj;
 
10988
fail:
 
10989
  {
 
10990
    if (temp2)
 
10991
    delete arg2;
 
10992
  }
 
10993
  return NULL;
 
10994
}
 
10995
 
 
10996
 
 
10997
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10998
  PyObject *resultobj = 0;
 
10999
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11000
  wxString *arg2 = 0 ;
 
11001
  int result;
 
11002
  void *argp1 = 0 ;
 
11003
  int res1 = 0 ;
 
11004
  bool temp2 = false ;
 
11005
  PyObject * obj0 = 0 ;
 
11006
  PyObject * obj1 = 0 ;
 
11007
  char *  kwnames[] = {
 
11008
    (char *) "self",(char *) "text", NULL 
 
11009
  };
 
11010
  
 
11011
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) SWIG_fail;
 
11012
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11013
  if (!SWIG_IsOK(res1)) {
 
11014
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTargetRE" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11015
  }
 
11016
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11017
  {
 
11018
    arg2 = wxString_in_helper(obj1);
 
11019
    if (arg2 == NULL) SWIG_fail;
 
11020
    temp2 = true;
 
11021
  }
 
11022
  {
 
11023
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11024
    result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
 
11025
    wxPyEndAllowThreads(__tstate);
 
11026
    if (PyErr_Occurred()) SWIG_fail;
 
11027
  }
 
11028
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11029
  {
 
11030
    if (temp2)
 
11031
    delete arg2;
 
11032
  }
 
11033
  return resultobj;
 
11034
fail:
 
11035
  {
 
11036
    if (temp2)
 
11037
    delete arg2;
 
11038
  }
 
11039
  return NULL;
 
11040
}
 
11041
 
 
11042
 
 
11043
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11044
  PyObject *resultobj = 0;
 
11045
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11046
  wxString *arg2 = 0 ;
 
11047
  int result;
 
11048
  void *argp1 = 0 ;
 
11049
  int res1 = 0 ;
 
11050
  bool temp2 = false ;
 
11051
  PyObject * obj0 = 0 ;
 
11052
  PyObject * obj1 = 0 ;
 
11053
  char *  kwnames[] = {
 
11054
    (char *) "self",(char *) "text", NULL 
 
11055
  };
 
11056
  
 
11057
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) SWIG_fail;
 
11058
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11059
  if (!SWIG_IsOK(res1)) {
 
11060
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchInTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11061
  }
 
11062
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11063
  {
 
11064
    arg2 = wxString_in_helper(obj1);
 
11065
    if (arg2 == NULL) SWIG_fail;
 
11066
    temp2 = true;
 
11067
  }
 
11068
  {
 
11069
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11070
    result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
 
11071
    wxPyEndAllowThreads(__tstate);
 
11072
    if (PyErr_Occurred()) SWIG_fail;
 
11073
  }
 
11074
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11075
  {
 
11076
    if (temp2)
 
11077
    delete arg2;
 
11078
  }
 
11079
  return resultobj;
 
11080
fail:
 
11081
  {
 
11082
    if (temp2)
 
11083
    delete arg2;
 
11084
  }
 
11085
  return NULL;
 
11086
}
 
11087
 
 
11088
 
 
11089
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11090
  PyObject *resultobj = 0;
 
11091
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11092
  int arg2 ;
 
11093
  void *argp1 = 0 ;
 
11094
  int res1 = 0 ;
 
11095
  int val2 ;
 
11096
  int ecode2 = 0 ;
 
11097
  PyObject * obj0 = 0 ;
 
11098
  PyObject * obj1 = 0 ;
 
11099
  char *  kwnames[] = {
 
11100
    (char *) "self",(char *) "flags", NULL 
 
11101
  };
 
11102
  
 
11103
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) SWIG_fail;
 
11104
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11105
  if (!SWIG_IsOK(res1)) {
 
11106
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11107
  }
 
11108
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11109
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11110
  if (!SWIG_IsOK(ecode2)) {
 
11111
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "2"" of type '" "int""'");
 
11112
  } 
 
11113
  arg2 = static_cast< int >(val2);
 
11114
  {
 
11115
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11116
    (arg1)->SetSearchFlags(arg2);
 
11117
    wxPyEndAllowThreads(__tstate);
 
11118
    if (PyErr_Occurred()) SWIG_fail;
 
11119
  }
 
11120
  resultobj = SWIG_Py_Void();
 
11121
  return resultobj;
 
11122
fail:
 
11123
  return NULL;
 
11124
}
 
11125
 
 
11126
 
 
11127
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11128
  PyObject *resultobj = 0;
 
11129
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11130
  int result;
 
11131
  void *argp1 = 0 ;
 
11132
  int res1 = 0 ;
 
11133
  PyObject *swig_obj[1] ;
 
11134
  
 
11135
  if (!args) SWIG_fail;
 
11136
  swig_obj[0] = args;
 
11137
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11138
  if (!SWIG_IsOK(res1)) {
 
11139
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
11140
  }
 
11141
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11142
  {
 
11143
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11144
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSearchFlags();
 
11145
    wxPyEndAllowThreads(__tstate);
 
11146
    if (PyErr_Occurred()) SWIG_fail;
 
11147
  }
 
11148
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11149
  return resultobj;
 
11150
fail:
 
11151
  return NULL;
 
11152
}
 
11153
 
 
11154
 
 
11155
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11156
  PyObject *resultobj = 0;
 
11157
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11158
  int arg2 ;
 
11159
  wxString *arg3 = 0 ;
 
11160
  void *argp1 = 0 ;
 
11161
  int res1 = 0 ;
 
11162
  int val2 ;
 
11163
  int ecode2 = 0 ;
 
11164
  bool temp3 = false ;
 
11165
  PyObject * obj0 = 0 ;
 
11166
  PyObject * obj1 = 0 ;
 
11167
  PyObject * obj2 = 0 ;
 
11168
  char *  kwnames[] = {
 
11169
    (char *) "self",(char *) "pos",(char *) "definition", NULL 
 
11170
  };
 
11171
  
 
11172
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11173
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11174
  if (!SWIG_IsOK(res1)) {
 
11175
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11176
  }
 
11177
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11178
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11179
  if (!SWIG_IsOK(ecode2)) {
 
11180
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "2"" of type '" "int""'");
 
11181
  } 
 
11182
  arg2 = static_cast< int >(val2);
 
11183
  {
 
11184
    arg3 = wxString_in_helper(obj2);
 
11185
    if (arg3 == NULL) SWIG_fail;
 
11186
    temp3 = true;
 
11187
  }
 
11188
  {
 
11189
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11190
    (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
 
11191
    wxPyEndAllowThreads(__tstate);
 
11192
    if (PyErr_Occurred()) SWIG_fail;
 
11193
  }
 
11194
  resultobj = SWIG_Py_Void();
 
11195
  {
 
11196
    if (temp3)
 
11197
    delete arg3;
 
11198
  }
 
11199
  return resultobj;
 
11200
fail:
 
11201
  {
 
11202
    if (temp3)
 
11203
    delete arg3;
 
11204
  }
 
11205
  return NULL;
 
11206
}
 
11207
 
 
11208
 
 
11209
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11210
  PyObject *resultobj = 0;
 
11211
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11212
  void *argp1 = 0 ;
 
11213
  int res1 = 0 ;
 
11214
  PyObject *swig_obj[1] ;
 
11215
  
 
11216
  if (!args) SWIG_fail;
 
11217
  swig_obj[0] = args;
 
11218
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11219
  if (!SWIG_IsOK(res1)) {
 
11220
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11221
  }
 
11222
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11223
  {
 
11224
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11225
    (arg1)->CallTipCancel();
 
11226
    wxPyEndAllowThreads(__tstate);
 
11227
    if (PyErr_Occurred()) SWIG_fail;
 
11228
  }
 
11229
  resultobj = SWIG_Py_Void();
 
11230
  return resultobj;
 
11231
fail:
 
11232
  return NULL;
 
11233
}
 
11234
 
 
11235
 
 
11236
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11237
  PyObject *resultobj = 0;
 
11238
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11239
  bool result;
 
11240
  void *argp1 = 0 ;
 
11241
  int res1 = 0 ;
 
11242
  PyObject *swig_obj[1] ;
 
11243
  
 
11244
  if (!args) SWIG_fail;
 
11245
  swig_obj[0] = args;
 
11246
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11247
  if (!SWIG_IsOK(res1)) {
 
11248
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11249
  }
 
11250
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11251
  {
 
11252
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11253
    result = (bool)(arg1)->CallTipActive();
 
11254
    wxPyEndAllowThreads(__tstate);
 
11255
    if (PyErr_Occurred()) SWIG_fail;
 
11256
  }
 
11257
  {
 
11258
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
11259
  }
 
11260
  return resultobj;
 
11261
fail:
 
11262
  return NULL;
 
11263
}
 
11264
 
 
11265
 
 
11266
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11267
  PyObject *resultobj = 0;
 
11268
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11269
  int result;
 
11270
  void *argp1 = 0 ;
 
11271
  int res1 = 0 ;
 
11272
  PyObject *swig_obj[1] ;
 
11273
  
 
11274
  if (!args) SWIG_fail;
 
11275
  swig_obj[0] = args;
 
11276
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11277
  if (!SWIG_IsOK(res1)) {
 
11278
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipPosAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11279
  }
 
11280
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11281
  {
 
11282
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11283
    result = (int)(arg1)->CallTipPosAtStart();
 
11284
    wxPyEndAllowThreads(__tstate);
 
11285
    if (PyErr_Occurred()) SWIG_fail;
 
11286
  }
 
11287
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11288
  return resultobj;
 
11289
fail:
 
11290
  return NULL;
 
11291
}
 
11292
 
 
11293
 
 
11294
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11295
  PyObject *resultobj = 0;
 
11296
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11297
  int arg2 ;
 
11298
  int arg3 ;
 
11299
  void *argp1 = 0 ;
 
11300
  int res1 = 0 ;
 
11301
  int val2 ;
 
11302
  int ecode2 = 0 ;
 
11303
  int val3 ;
 
11304
  int ecode3 = 0 ;
 
11305
  PyObject * obj0 = 0 ;
 
11306
  PyObject * obj1 = 0 ;
 
11307
  PyObject * obj2 = 0 ;
 
11308
  char *  kwnames[] = {
 
11309
    (char *) "self",(char *) "start",(char *) "end", NULL 
 
11310
  };
 
11311
  
 
11312
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11313
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11314
  if (!SWIG_IsOK(res1)) {
 
11315
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11316
  }
 
11317
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11318
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11319
  if (!SWIG_IsOK(ecode2)) {
 
11320
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "2"" of type '" "int""'");
 
11321
  } 
 
11322
  arg2 = static_cast< int >(val2);
 
11323
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
11324
  if (!SWIG_IsOK(ecode3)) {
 
11325
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "3"" of type '" "int""'");
 
11326
  } 
 
11327
  arg3 = static_cast< int >(val3);
 
11328
  {
 
11329
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11330
    (arg1)->CallTipSetHighlight(arg2,arg3);
 
11331
    wxPyEndAllowThreads(__tstate);
 
11332
    if (PyErr_Occurred()) SWIG_fail;
 
11333
  }
 
11334
  resultobj = SWIG_Py_Void();
 
11335
  return resultobj;
 
11336
fail:
 
11337
  return NULL;
 
11338
}
 
11339
 
 
11340
 
 
11341
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11342
  PyObject *resultobj = 0;
 
11343
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11344
  wxColour *arg2 = 0 ;
 
11345
  void *argp1 = 0 ;
 
11346
  int res1 = 0 ;
 
11347
  wxColour temp2 ;
 
11348
  PyObject * obj0 = 0 ;
 
11349
  PyObject * obj1 = 0 ;
 
11350
  char *  kwnames[] = {
 
11351
    (char *) "self",(char *) "back", NULL 
 
11352
  };
 
11353
  
 
11354
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) SWIG_fail;
 
11355
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11356
  if (!SWIG_IsOK(res1)) {
 
11357
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11358
  }
 
11359
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11360
  {
 
11361
    arg2 = &temp2;
 
11362
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
11363
  }
 
11364
  {
 
11365
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11366
    (arg1)->CallTipSetBackground((wxColour const &)*arg2);
 
11367
    wxPyEndAllowThreads(__tstate);
 
11368
    if (PyErr_Occurred()) SWIG_fail;
 
11369
  }
 
11370
  resultobj = SWIG_Py_Void();
 
11371
  return resultobj;
 
11372
fail:
 
11373
  return NULL;
 
11374
}
 
11375
 
 
11376
 
 
11377
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11378
  PyObject *resultobj = 0;
 
11379
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11380
  wxColour *arg2 = 0 ;
 
11381
  void *argp1 = 0 ;
 
11382
  int res1 = 0 ;
 
11383
  wxColour temp2 ;
 
11384
  PyObject * obj0 = 0 ;
 
11385
  PyObject * obj1 = 0 ;
 
11386
  char *  kwnames[] = {
 
11387
    (char *) "self",(char *) "fore", NULL 
 
11388
  };
 
11389
  
 
11390
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
 
11391
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11392
  if (!SWIG_IsOK(res1)) {
 
11393
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11394
  }
 
11395
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11396
  {
 
11397
    arg2 = &temp2;
 
11398
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
11399
  }
 
11400
  {
 
11401
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11402
    (arg1)->CallTipSetForeground((wxColour const &)*arg2);
 
11403
    wxPyEndAllowThreads(__tstate);
 
11404
    if (PyErr_Occurred()) SWIG_fail;
 
11405
  }
 
11406
  resultobj = SWIG_Py_Void();
 
11407
  return resultobj;
 
11408
fail:
 
11409
  return NULL;
 
11410
}
 
11411
 
 
11412
 
 
11413
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11414
  PyObject *resultobj = 0;
 
11415
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11416
  wxColour *arg2 = 0 ;
 
11417
  void *argp1 = 0 ;
 
11418
  int res1 = 0 ;
 
11419
  wxColour temp2 ;
 
11420
  PyObject * obj0 = 0 ;
 
11421
  PyObject * obj1 = 0 ;
 
11422
  char *  kwnames[] = {
 
11423
    (char *) "self",(char *) "fore", NULL 
 
11424
  };
 
11425
  
 
11426
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) SWIG_fail;
 
11427
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11428
  if (!SWIG_IsOK(res1)) {
 
11429
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForegroundHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11430
  }
 
11431
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11432
  {
 
11433
    arg2 = &temp2;
 
11434
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
11435
  }
 
11436
  {
 
11437
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11438
    (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
 
11439
    wxPyEndAllowThreads(__tstate);
 
11440
    if (PyErr_Occurred()) SWIG_fail;
 
11441
  }
 
11442
  resultobj = SWIG_Py_Void();
 
11443
  return resultobj;
 
11444
fail:
 
11445
  return NULL;
 
11446
}
 
11447
 
 
11448
 
 
11449
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipUseStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11450
  PyObject *resultobj = 0;
 
11451
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11452
  int arg2 ;
 
11453
  void *argp1 = 0 ;
 
11454
  int res1 = 0 ;
 
11455
  int val2 ;
 
11456
  int ecode2 = 0 ;
 
11457
  PyObject * obj0 = 0 ;
 
11458
  PyObject * obj1 = 0 ;
 
11459
  char *  kwnames[] = {
 
11460
    (char *) "self",(char *) "tabSize", NULL 
 
11461
  };
 
11462
  
 
11463
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipUseStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
11464
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11465
  if (!SWIG_IsOK(res1)) {
 
11466
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipUseStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11467
  }
 
11468
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11469
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11470
  if (!SWIG_IsOK(ecode2)) {
 
11471
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipUseStyle" "', expected argument " "2"" of type '" "int""'");
 
11472
  } 
 
11473
  arg2 = static_cast< int >(val2);
 
11474
  {
 
11475
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11476
    (arg1)->CallTipUseStyle(arg2);
 
11477
    wxPyEndAllowThreads(__tstate);
 
11478
    if (PyErr_Occurred()) SWIG_fail;
 
11479
  }
 
11480
  resultobj = SWIG_Py_Void();
 
11481
  return resultobj;
 
11482
fail:
 
11483
  return NULL;
 
11484
}
 
11485
 
 
11486
 
 
11487
SWIGINTERN PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11488
  PyObject *resultobj = 0;
 
11489
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11490
  int arg2 ;
 
11491
  int result;
 
11492
  void *argp1 = 0 ;
 
11493
  int res1 = 0 ;
 
11494
  int val2 ;
 
11495
  int ecode2 = 0 ;
 
11496
  PyObject * obj0 = 0 ;
 
11497
  PyObject * obj1 = 0 ;
 
11498
  char *  kwnames[] = {
 
11499
    (char *) "self",(char *) "line", NULL 
 
11500
  };
 
11501
  
 
11502
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
11503
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11504
  if (!SWIG_IsOK(res1)) {
 
11505
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11506
  }
 
11507
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11508
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11509
  if (!SWIG_IsOK(ecode2)) {
 
11510
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "2"" of type '" "int""'");
 
11511
  } 
 
11512
  arg2 = static_cast< int >(val2);
 
11513
  {
 
11514
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11515
    result = (int)(arg1)->VisibleFromDocLine(arg2);
 
11516
    wxPyEndAllowThreads(__tstate);
 
11517
    if (PyErr_Occurred()) SWIG_fail;
 
11518
  }
 
11519
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11520
  return resultobj;
 
11521
fail:
 
11522
  return NULL;
 
11523
}
 
11524
 
 
11525
 
 
11526
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11527
  PyObject *resultobj = 0;
 
11528
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11529
  int arg2 ;
 
11530
  int result;
 
11531
  void *argp1 = 0 ;
 
11532
  int res1 = 0 ;
 
11533
  int val2 ;
 
11534
  int ecode2 = 0 ;
 
11535
  PyObject * obj0 = 0 ;
 
11536
  PyObject * obj1 = 0 ;
 
11537
  char *  kwnames[] = {
 
11538
    (char *) "self",(char *) "lineDisplay", NULL 
 
11539
  };
 
11540
  
 
11541
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) SWIG_fail;
 
11542
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11543
  if (!SWIG_IsOK(res1)) {
 
11544
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11545
  }
 
11546
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11547
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11548
  if (!SWIG_IsOK(ecode2)) {
 
11549
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "2"" of type '" "int""'");
 
11550
  } 
 
11551
  arg2 = static_cast< int >(val2);
 
11552
  {
 
11553
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11554
    result = (int)(arg1)->DocLineFromVisible(arg2);
 
11555
    wxPyEndAllowThreads(__tstate);
 
11556
    if (PyErr_Occurred()) SWIG_fail;
 
11557
  }
 
11558
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11559
  return resultobj;
 
11560
fail:
 
11561
  return NULL;
 
11562
}
 
11563
 
 
11564
 
 
11565
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WrapCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11566
  PyObject *resultobj = 0;
 
11567
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11568
  int arg2 ;
 
11569
  int result;
 
11570
  void *argp1 = 0 ;
 
11571
  int res1 = 0 ;
 
11572
  int val2 ;
 
11573
  int ecode2 = 0 ;
 
11574
  PyObject * obj0 = 0 ;
 
11575
  PyObject * obj1 = 0 ;
 
11576
  char *  kwnames[] = {
 
11577
    (char *) "self",(char *) "line", NULL 
 
11578
  };
 
11579
  
 
11580
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_WrapCount",kwnames,&obj0,&obj1)) SWIG_fail;
 
11581
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11582
  if (!SWIG_IsOK(res1)) {
 
11583
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11584
  }
 
11585
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11586
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11587
  if (!SWIG_IsOK(ecode2)) {
 
11588
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "2"" of type '" "int""'");
 
11589
  } 
 
11590
  arg2 = static_cast< int >(val2);
 
11591
  {
 
11592
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11593
    result = (int)(arg1)->WrapCount(arg2);
 
11594
    wxPyEndAllowThreads(__tstate);
 
11595
    if (PyErr_Occurred()) SWIG_fail;
 
11596
  }
 
11597
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11598
  return resultobj;
 
11599
fail:
 
11600
  return NULL;
 
11601
}
 
11602
 
 
11603
 
 
11604
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11605
  PyObject *resultobj = 0;
 
11606
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11607
  int arg2 ;
 
11608
  int arg3 ;
 
11609
  void *argp1 = 0 ;
 
11610
  int res1 = 0 ;
 
11611
  int val2 ;
 
11612
  int ecode2 = 0 ;
 
11613
  int val3 ;
 
11614
  int ecode3 = 0 ;
 
11615
  PyObject * obj0 = 0 ;
 
11616
  PyObject * obj1 = 0 ;
 
11617
  PyObject * obj2 = 0 ;
 
11618
  char *  kwnames[] = {
 
11619
    (char *) "self",(char *) "line",(char *) "level", NULL 
 
11620
  };
 
11621
  
 
11622
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11623
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11624
  if (!SWIG_IsOK(res1)) {
 
11625
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11626
  }
 
11627
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11628
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11629
  if (!SWIG_IsOK(ecode2)) {
 
11630
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "2"" of type '" "int""'");
 
11631
  } 
 
11632
  arg2 = static_cast< int >(val2);
 
11633
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
11634
  if (!SWIG_IsOK(ecode3)) {
 
11635
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "3"" of type '" "int""'");
 
11636
  } 
 
11637
  arg3 = static_cast< int >(val3);
 
11638
  {
 
11639
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11640
    (arg1)->SetFoldLevel(arg2,arg3);
 
11641
    wxPyEndAllowThreads(__tstate);
 
11642
    if (PyErr_Occurred()) SWIG_fail;
 
11643
  }
 
11644
  resultobj = SWIG_Py_Void();
 
11645
  return resultobj;
 
11646
fail:
 
11647
  return NULL;
 
11648
}
 
11649
 
 
11650
 
 
11651
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11652
  PyObject *resultobj = 0;
 
11653
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11654
  int arg2 ;
 
11655
  int result;
 
11656
  void *argp1 = 0 ;
 
11657
  int res1 = 0 ;
 
11658
  int val2 ;
 
11659
  int ecode2 = 0 ;
 
11660
  PyObject * obj0 = 0 ;
 
11661
  PyObject * obj1 = 0 ;
 
11662
  char *  kwnames[] = {
 
11663
    (char *) "self",(char *) "line", NULL 
 
11664
  };
 
11665
  
 
11666
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) SWIG_fail;
 
11667
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11668
  if (!SWIG_IsOK(res1)) {
 
11669
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
11670
  }
 
11671
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11672
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11673
  if (!SWIG_IsOK(ecode2)) {
 
11674
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "2"" of type '" "int""'");
 
11675
  } 
 
11676
  arg2 = static_cast< int >(val2);
 
11677
  {
 
11678
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11679
    result = (int)((wxStyledTextCtrl const *)arg1)->GetFoldLevel(arg2);
 
11680
    wxPyEndAllowThreads(__tstate);
 
11681
    if (PyErr_Occurred()) SWIG_fail;
 
11682
  }
 
11683
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11684
  return resultobj;
 
11685
fail:
 
11686
  return NULL;
 
11687
}
 
11688
 
 
11689
 
 
11690
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11691
  PyObject *resultobj = 0;
 
11692
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11693
  int arg2 ;
 
11694
  int arg3 ;
 
11695
  int result;
 
11696
  void *argp1 = 0 ;
 
11697
  int res1 = 0 ;
 
11698
  int val2 ;
 
11699
  int ecode2 = 0 ;
 
11700
  int val3 ;
 
11701
  int ecode3 = 0 ;
 
11702
  PyObject * obj0 = 0 ;
 
11703
  PyObject * obj1 = 0 ;
 
11704
  PyObject * obj2 = 0 ;
 
11705
  char *  kwnames[] = {
 
11706
    (char *) "self",(char *) "line",(char *) "level", NULL 
 
11707
  };
 
11708
  
 
11709
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11710
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11711
  if (!SWIG_IsOK(res1)) {
 
11712
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
11713
  }
 
11714
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11715
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11716
  if (!SWIG_IsOK(ecode2)) {
 
11717
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "2"" of type '" "int""'");
 
11718
  } 
 
11719
  arg2 = static_cast< int >(val2);
 
11720
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
11721
  if (!SWIG_IsOK(ecode3)) {
 
11722
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "3"" of type '" "int""'");
 
11723
  } 
 
11724
  arg3 = static_cast< int >(val3);
 
11725
  {
 
11726
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11727
    result = (int)((wxStyledTextCtrl const *)arg1)->GetLastChild(arg2,arg3);
 
11728
    wxPyEndAllowThreads(__tstate);
 
11729
    if (PyErr_Occurred()) SWIG_fail;
 
11730
  }
 
11731
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11732
  return resultobj;
 
11733
fail:
 
11734
  return NULL;
 
11735
}
 
11736
 
 
11737
 
 
11738
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11739
  PyObject *resultobj = 0;
 
11740
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11741
  int arg2 ;
 
11742
  int result;
 
11743
  void *argp1 = 0 ;
 
11744
  int res1 = 0 ;
 
11745
  int val2 ;
 
11746
  int ecode2 = 0 ;
 
11747
  PyObject * obj0 = 0 ;
 
11748
  PyObject * obj1 = 0 ;
 
11749
  char *  kwnames[] = {
 
11750
    (char *) "self",(char *) "line", NULL 
 
11751
  };
 
11752
  
 
11753
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) SWIG_fail;
 
11754
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11755
  if (!SWIG_IsOK(res1)) {
 
11756
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
11757
  }
 
11758
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11759
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11760
  if (!SWIG_IsOK(ecode2)) {
 
11761
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "2"" of type '" "int""'");
 
11762
  } 
 
11763
  arg2 = static_cast< int >(val2);
 
11764
  {
 
11765
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11766
    result = (int)((wxStyledTextCtrl const *)arg1)->GetFoldParent(arg2);
 
11767
    wxPyEndAllowThreads(__tstate);
 
11768
    if (PyErr_Occurred()) SWIG_fail;
 
11769
  }
 
11770
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11771
  return resultobj;
 
11772
fail:
 
11773
  return NULL;
 
11774
}
 
11775
 
 
11776
 
 
11777
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11778
  PyObject *resultobj = 0;
 
11779
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11780
  int arg2 ;
 
11781
  int arg3 ;
 
11782
  void *argp1 = 0 ;
 
11783
  int res1 = 0 ;
 
11784
  int val2 ;
 
11785
  int ecode2 = 0 ;
 
11786
  int val3 ;
 
11787
  int ecode3 = 0 ;
 
11788
  PyObject * obj0 = 0 ;
 
11789
  PyObject * obj1 = 0 ;
 
11790
  PyObject * obj2 = 0 ;
 
11791
  char *  kwnames[] = {
 
11792
    (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL 
 
11793
  };
 
11794
  
 
11795
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11796
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11797
  if (!SWIG_IsOK(res1)) {
 
11798
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11799
  }
 
11800
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11801
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11802
  if (!SWIG_IsOK(ecode2)) {
 
11803
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "2"" of type '" "int""'");
 
11804
  } 
 
11805
  arg2 = static_cast< int >(val2);
 
11806
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
11807
  if (!SWIG_IsOK(ecode3)) {
 
11808
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "3"" of type '" "int""'");
 
11809
  } 
 
11810
  arg3 = static_cast< int >(val3);
 
11811
  {
 
11812
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11813
    (arg1)->ShowLines(arg2,arg3);
 
11814
    wxPyEndAllowThreads(__tstate);
 
11815
    if (PyErr_Occurred()) SWIG_fail;
 
11816
  }
 
11817
  resultobj = SWIG_Py_Void();
 
11818
  return resultobj;
 
11819
fail:
 
11820
  return NULL;
 
11821
}
 
11822
 
 
11823
 
 
11824
SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11825
  PyObject *resultobj = 0;
 
11826
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11827
  int arg2 ;
 
11828
  int arg3 ;
 
11829
  void *argp1 = 0 ;
 
11830
  int res1 = 0 ;
 
11831
  int val2 ;
 
11832
  int ecode2 = 0 ;
 
11833
  int val3 ;
 
11834
  int ecode3 = 0 ;
 
11835
  PyObject * obj0 = 0 ;
 
11836
  PyObject * obj1 = 0 ;
 
11837
  PyObject * obj2 = 0 ;
 
11838
  char *  kwnames[] = {
 
11839
    (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL 
 
11840
  };
 
11841
  
 
11842
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11843
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11844
  if (!SWIG_IsOK(res1)) {
 
11845
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11846
  }
 
11847
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11848
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11849
  if (!SWIG_IsOK(ecode2)) {
 
11850
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "2"" of type '" "int""'");
 
11851
  } 
 
11852
  arg2 = static_cast< int >(val2);
 
11853
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
11854
  if (!SWIG_IsOK(ecode3)) {
 
11855
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "3"" of type '" "int""'");
 
11856
  } 
 
11857
  arg3 = static_cast< int >(val3);
 
11858
  {
 
11859
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11860
    (arg1)->HideLines(arg2,arg3);
 
11861
    wxPyEndAllowThreads(__tstate);
 
11862
    if (PyErr_Occurred()) SWIG_fail;
 
11863
  }
 
11864
  resultobj = SWIG_Py_Void();
 
11865
  return resultobj;
 
11866
fail:
 
11867
  return NULL;
 
11868
}
 
11869
 
 
11870
 
 
11871
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11872
  PyObject *resultobj = 0;
 
11873
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11874
  int arg2 ;
 
11875
  bool result;
 
11876
  void *argp1 = 0 ;
 
11877
  int res1 = 0 ;
 
11878
  int val2 ;
 
11879
  int ecode2 = 0 ;
 
11880
  PyObject * obj0 = 0 ;
 
11881
  PyObject * obj1 = 0 ;
 
11882
  char *  kwnames[] = {
 
11883
    (char *) "self",(char *) "line", NULL 
 
11884
  };
 
11885
  
 
11886
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
 
11887
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11888
  if (!SWIG_IsOK(res1)) {
 
11889
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
11890
  }
 
11891
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11892
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11893
  if (!SWIG_IsOK(ecode2)) {
 
11894
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "2"" of type '" "int""'");
 
11895
  } 
 
11896
  arg2 = static_cast< int >(val2);
 
11897
  {
 
11898
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11899
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetLineVisible(arg2);
 
11900
    wxPyEndAllowThreads(__tstate);
 
11901
    if (PyErr_Occurred()) SWIG_fail;
 
11902
  }
 
11903
  {
 
11904
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
11905
  }
 
11906
  return resultobj;
 
11907
fail:
 
11908
  return NULL;
 
11909
}
 
11910
 
 
11911
 
 
11912
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11913
  PyObject *resultobj = 0;
 
11914
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11915
  int arg2 ;
 
11916
  bool arg3 ;
 
11917
  void *argp1 = 0 ;
 
11918
  int res1 = 0 ;
 
11919
  int val2 ;
 
11920
  int ecode2 = 0 ;
 
11921
  bool val3 ;
 
11922
  int ecode3 = 0 ;
 
11923
  PyObject * obj0 = 0 ;
 
11924
  PyObject * obj1 = 0 ;
 
11925
  PyObject * obj2 = 0 ;
 
11926
  char *  kwnames[] = {
 
11927
    (char *) "self",(char *) "line",(char *) "expanded", NULL 
 
11928
  };
 
11929
  
 
11930
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11931
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11932
  if (!SWIG_IsOK(res1)) {
 
11933
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
11934
  }
 
11935
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11936
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11937
  if (!SWIG_IsOK(ecode2)) {
 
11938
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
 
11939
  } 
 
11940
  arg2 = static_cast< int >(val2);
 
11941
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
11942
  if (!SWIG_IsOK(ecode3)) {
 
11943
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "3"" of type '" "bool""'");
 
11944
  } 
 
11945
  arg3 = static_cast< bool >(val3);
 
11946
  {
 
11947
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11948
    (arg1)->SetFoldExpanded(arg2,arg3);
 
11949
    wxPyEndAllowThreads(__tstate);
 
11950
    if (PyErr_Occurred()) SWIG_fail;
 
11951
  }
 
11952
  resultobj = SWIG_Py_Void();
 
11953
  return resultobj;
 
11954
fail:
 
11955
  return NULL;
 
11956
}
 
11957
 
 
11958
 
 
11959
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11960
  PyObject *resultobj = 0;
 
11961
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
11962
  int arg2 ;
 
11963
  bool result;
 
11964
  void *argp1 = 0 ;
 
11965
  int res1 = 0 ;
 
11966
  int val2 ;
 
11967
  int ecode2 = 0 ;
 
11968
  PyObject * obj0 = 0 ;
 
11969
  PyObject * obj1 = 0 ;
 
11970
  char *  kwnames[] = {
 
11971
    (char *) "self",(char *) "line", NULL 
 
11972
  };
 
11973
  
 
11974
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
 
11975
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
11976
  if (!SWIG_IsOK(res1)) {
 
11977
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
11978
  }
 
11979
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
11980
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11981
  if (!SWIG_IsOK(ecode2)) {
 
11982
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
 
11983
  } 
 
11984
  arg2 = static_cast< int >(val2);
 
11985
  {
 
11986
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11987
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetFoldExpanded(arg2);
 
11988
    wxPyEndAllowThreads(__tstate);
 
11989
    if (PyErr_Occurred()) SWIG_fail;
 
11990
  }
 
11991
  {
 
11992
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
11993
  }
 
11994
  return resultobj;
 
11995
fail:
 
11996
  return NULL;
 
11997
}
 
11998
 
 
11999
 
 
12000
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12001
  PyObject *resultobj = 0;
 
12002
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12003
  int arg2 ;
 
12004
  void *argp1 = 0 ;
 
12005
  int res1 = 0 ;
 
12006
  int val2 ;
 
12007
  int ecode2 = 0 ;
 
12008
  PyObject * obj0 = 0 ;
 
12009
  PyObject * obj1 = 0 ;
 
12010
  char *  kwnames[] = {
 
12011
    (char *) "self",(char *) "line", NULL 
 
12012
  };
 
12013
  
 
12014
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) SWIG_fail;
 
12015
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12016
  if (!SWIG_IsOK(res1)) {
 
12017
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12018
  }
 
12019
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12020
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12021
  if (!SWIG_IsOK(ecode2)) {
 
12022
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "2"" of type '" "int""'");
 
12023
  } 
 
12024
  arg2 = static_cast< int >(val2);
 
12025
  {
 
12026
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12027
    (arg1)->ToggleFold(arg2);
 
12028
    wxPyEndAllowThreads(__tstate);
 
12029
    if (PyErr_Occurred()) SWIG_fail;
 
12030
  }
 
12031
  resultobj = SWIG_Py_Void();
 
12032
  return resultobj;
 
12033
fail:
 
12034
  return NULL;
 
12035
}
 
12036
 
 
12037
 
 
12038
SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12039
  PyObject *resultobj = 0;
 
12040
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12041
  int arg2 ;
 
12042
  void *argp1 = 0 ;
 
12043
  int res1 = 0 ;
 
12044
  int val2 ;
 
12045
  int ecode2 = 0 ;
 
12046
  PyObject * obj0 = 0 ;
 
12047
  PyObject * obj1 = 0 ;
 
12048
  char *  kwnames[] = {
 
12049
    (char *) "self",(char *) "line", NULL 
 
12050
  };
 
12051
  
 
12052
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
 
12053
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12054
  if (!SWIG_IsOK(res1)) {
 
12055
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12056
  }
 
12057
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12058
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12059
  if (!SWIG_IsOK(ecode2)) {
 
12060
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
 
12061
  } 
 
12062
  arg2 = static_cast< int >(val2);
 
12063
  {
 
12064
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12065
    (arg1)->EnsureVisible(arg2);
 
12066
    wxPyEndAllowThreads(__tstate);
 
12067
    if (PyErr_Occurred()) SWIG_fail;
 
12068
  }
 
12069
  resultobj = SWIG_Py_Void();
 
12070
  return resultobj;
 
12071
fail:
 
12072
  return NULL;
 
12073
}
 
12074
 
 
12075
 
 
12076
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12077
  PyObject *resultobj = 0;
 
12078
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12079
  int arg2 ;
 
12080
  void *argp1 = 0 ;
 
12081
  int res1 = 0 ;
 
12082
  int val2 ;
 
12083
  int ecode2 = 0 ;
 
12084
  PyObject * obj0 = 0 ;
 
12085
  PyObject * obj1 = 0 ;
 
12086
  char *  kwnames[] = {
 
12087
    (char *) "self",(char *) "flags", NULL 
 
12088
  };
 
12089
  
 
12090
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) SWIG_fail;
 
12091
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12092
  if (!SWIG_IsOK(res1)) {
 
12093
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12094
  }
 
12095
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12096
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12097
  if (!SWIG_IsOK(ecode2)) {
 
12098
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "2"" of type '" "int""'");
 
12099
  } 
 
12100
  arg2 = static_cast< int >(val2);
 
12101
  {
 
12102
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12103
    (arg1)->SetFoldFlags(arg2);
 
12104
    wxPyEndAllowThreads(__tstate);
 
12105
    if (PyErr_Occurred()) SWIG_fail;
 
12106
  }
 
12107
  resultobj = SWIG_Py_Void();
 
12108
  return resultobj;
 
12109
fail:
 
12110
  return NULL;
 
12111
}
 
12112
 
 
12113
 
 
12114
SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12115
  PyObject *resultobj = 0;
 
12116
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12117
  int arg2 ;
 
12118
  void *argp1 = 0 ;
 
12119
  int res1 = 0 ;
 
12120
  int val2 ;
 
12121
  int ecode2 = 0 ;
 
12122
  PyObject * obj0 = 0 ;
 
12123
  PyObject * obj1 = 0 ;
 
12124
  char *  kwnames[] = {
 
12125
    (char *) "self",(char *) "line", NULL 
 
12126
  };
 
12127
  
 
12128
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) SWIG_fail;
 
12129
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12130
  if (!SWIG_IsOK(res1)) {
 
12131
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12132
  }
 
12133
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12134
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12135
  if (!SWIG_IsOK(ecode2)) {
 
12136
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "2"" of type '" "int""'");
 
12137
  } 
 
12138
  arg2 = static_cast< int >(val2);
 
12139
  {
 
12140
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12141
    (arg1)->EnsureVisibleEnforcePolicy(arg2);
 
12142
    wxPyEndAllowThreads(__tstate);
 
12143
    if (PyErr_Occurred()) SWIG_fail;
 
12144
  }
 
12145
  resultobj = SWIG_Py_Void();
 
12146
  return resultobj;
 
12147
fail:
 
12148
  return NULL;
 
12149
}
 
12150
 
 
12151
 
 
12152
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12153
  PyObject *resultobj = 0;
 
12154
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12155
  bool arg2 ;
 
12156
  void *argp1 = 0 ;
 
12157
  int res1 = 0 ;
 
12158
  bool val2 ;
 
12159
  int ecode2 = 0 ;
 
12160
  PyObject * obj0 = 0 ;
 
12161
  PyObject * obj1 = 0 ;
 
12162
  char *  kwnames[] = {
 
12163
    (char *) "self",(char *) "tabIndents", NULL 
 
12164
  };
 
12165
  
 
12166
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) SWIG_fail;
 
12167
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12168
  if (!SWIG_IsOK(res1)) {
 
12169
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12170
  }
 
12171
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12172
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
12173
  if (!SWIG_IsOK(ecode2)) {
 
12174
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "2"" of type '" "bool""'");
 
12175
  } 
 
12176
  arg2 = static_cast< bool >(val2);
 
12177
  {
 
12178
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12179
    (arg1)->SetTabIndents(arg2);
 
12180
    wxPyEndAllowThreads(__tstate);
 
12181
    if (PyErr_Occurred()) SWIG_fail;
 
12182
  }
 
12183
  resultobj = SWIG_Py_Void();
 
12184
  return resultobj;
 
12185
fail:
 
12186
  return NULL;
 
12187
}
 
12188
 
 
12189
 
 
12190
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12191
  PyObject *resultobj = 0;
 
12192
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12193
  bool result;
 
12194
  void *argp1 = 0 ;
 
12195
  int res1 = 0 ;
 
12196
  PyObject *swig_obj[1] ;
 
12197
  
 
12198
  if (!args) SWIG_fail;
 
12199
  swig_obj[0] = args;
 
12200
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12201
  if (!SWIG_IsOK(res1)) {
 
12202
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
12203
  }
 
12204
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12205
  {
 
12206
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12207
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetTabIndents();
 
12208
    wxPyEndAllowThreads(__tstate);
 
12209
    if (PyErr_Occurred()) SWIG_fail;
 
12210
  }
 
12211
  {
 
12212
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
12213
  }
 
12214
  return resultobj;
 
12215
fail:
 
12216
  return NULL;
 
12217
}
 
12218
 
 
12219
 
 
12220
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12221
  PyObject *resultobj = 0;
 
12222
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12223
  bool arg2 ;
 
12224
  void *argp1 = 0 ;
 
12225
  int res1 = 0 ;
 
12226
  bool val2 ;
 
12227
  int ecode2 = 0 ;
 
12228
  PyObject * obj0 = 0 ;
 
12229
  PyObject * obj1 = 0 ;
 
12230
  char *  kwnames[] = {
 
12231
    (char *) "self",(char *) "bsUnIndents", NULL 
 
12232
  };
 
12233
  
 
12234
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) SWIG_fail;
 
12235
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12236
  if (!SWIG_IsOK(res1)) {
 
12237
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12238
  }
 
12239
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12240
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
12241
  if (!SWIG_IsOK(ecode2)) {
 
12242
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "2"" of type '" "bool""'");
 
12243
  } 
 
12244
  arg2 = static_cast< bool >(val2);
 
12245
  {
 
12246
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12247
    (arg1)->SetBackSpaceUnIndents(arg2);
 
12248
    wxPyEndAllowThreads(__tstate);
 
12249
    if (PyErr_Occurred()) SWIG_fail;
 
12250
  }
 
12251
  resultobj = SWIG_Py_Void();
 
12252
  return resultobj;
 
12253
fail:
 
12254
  return NULL;
 
12255
}
 
12256
 
 
12257
 
 
12258
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12259
  PyObject *resultobj = 0;
 
12260
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12261
  bool result;
 
12262
  void *argp1 = 0 ;
 
12263
  int res1 = 0 ;
 
12264
  PyObject *swig_obj[1] ;
 
12265
  
 
12266
  if (!args) SWIG_fail;
 
12267
  swig_obj[0] = args;
 
12268
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12269
  if (!SWIG_IsOK(res1)) {
 
12270
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
12271
  }
 
12272
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12273
  {
 
12274
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12275
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetBackSpaceUnIndents();
 
12276
    wxPyEndAllowThreads(__tstate);
 
12277
    if (PyErr_Occurred()) SWIG_fail;
 
12278
  }
 
12279
  {
 
12280
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
12281
  }
 
12282
  return resultobj;
 
12283
fail:
 
12284
  return NULL;
 
12285
}
 
12286
 
 
12287
 
 
12288
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12289
  PyObject *resultobj = 0;
 
12290
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12291
  int arg2 ;
 
12292
  void *argp1 = 0 ;
 
12293
  int res1 = 0 ;
 
12294
  int val2 ;
 
12295
  int ecode2 = 0 ;
 
12296
  PyObject * obj0 = 0 ;
 
12297
  PyObject * obj1 = 0 ;
 
12298
  char *  kwnames[] = {
 
12299
    (char *) "self",(char *) "periodMilliseconds", NULL 
 
12300
  };
 
12301
  
 
12302
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) SWIG_fail;
 
12303
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12304
  if (!SWIG_IsOK(res1)) {
 
12305
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12306
  }
 
12307
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12308
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12309
  if (!SWIG_IsOK(ecode2)) {
 
12310
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "2"" of type '" "int""'");
 
12311
  } 
 
12312
  arg2 = static_cast< int >(val2);
 
12313
  {
 
12314
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12315
    (arg1)->SetMouseDwellTime(arg2);
 
12316
    wxPyEndAllowThreads(__tstate);
 
12317
    if (PyErr_Occurred()) SWIG_fail;
 
12318
  }
 
12319
  resultobj = SWIG_Py_Void();
 
12320
  return resultobj;
 
12321
fail:
 
12322
  return NULL;
 
12323
}
 
12324
 
 
12325
 
 
12326
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12327
  PyObject *resultobj = 0;
 
12328
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12329
  int result;
 
12330
  void *argp1 = 0 ;
 
12331
  int res1 = 0 ;
 
12332
  PyObject *swig_obj[1] ;
 
12333
  
 
12334
  if (!args) SWIG_fail;
 
12335
  swig_obj[0] = args;
 
12336
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12337
  if (!SWIG_IsOK(res1)) {
 
12338
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
12339
  }
 
12340
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12341
  {
 
12342
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12343
    result = (int)((wxStyledTextCtrl const *)arg1)->GetMouseDwellTime();
 
12344
    wxPyEndAllowThreads(__tstate);
 
12345
    if (PyErr_Occurred()) SWIG_fail;
 
12346
  }
 
12347
  resultobj = SWIG_From_int(static_cast< int >(result));
 
12348
  return resultobj;
 
12349
fail:
 
12350
  return NULL;
 
12351
}
 
12352
 
 
12353
 
 
12354
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12355
  PyObject *resultobj = 0;
 
12356
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12357
  int arg2 ;
 
12358
  bool arg3 ;
 
12359
  int result;
 
12360
  void *argp1 = 0 ;
 
12361
  int res1 = 0 ;
 
12362
  int val2 ;
 
12363
  int ecode2 = 0 ;
 
12364
  bool val3 ;
 
12365
  int ecode3 = 0 ;
 
12366
  PyObject * obj0 = 0 ;
 
12367
  PyObject * obj1 = 0 ;
 
12368
  PyObject * obj2 = 0 ;
 
12369
  char *  kwnames[] = {
 
12370
    (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL 
 
12371
  };
 
12372
  
 
12373
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12374
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12375
  if (!SWIG_IsOK(res1)) {
 
12376
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12377
  }
 
12378
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12379
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12380
  if (!SWIG_IsOK(ecode2)) {
 
12381
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "2"" of type '" "int""'");
 
12382
  } 
 
12383
  arg2 = static_cast< int >(val2);
 
12384
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
12385
  if (!SWIG_IsOK(ecode3)) {
 
12386
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "3"" of type '" "bool""'");
 
12387
  } 
 
12388
  arg3 = static_cast< bool >(val3);
 
12389
  {
 
12390
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12391
    result = (int)(arg1)->WordStartPosition(arg2,arg3);
 
12392
    wxPyEndAllowThreads(__tstate);
 
12393
    if (PyErr_Occurred()) SWIG_fail;
 
12394
  }
 
12395
  resultobj = SWIG_From_int(static_cast< int >(result));
 
12396
  return resultobj;
 
12397
fail:
 
12398
  return NULL;
 
12399
}
 
12400
 
 
12401
 
 
12402
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12403
  PyObject *resultobj = 0;
 
12404
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12405
  int arg2 ;
 
12406
  bool arg3 ;
 
12407
  int result;
 
12408
  void *argp1 = 0 ;
 
12409
  int res1 = 0 ;
 
12410
  int val2 ;
 
12411
  int ecode2 = 0 ;
 
12412
  bool val3 ;
 
12413
  int ecode3 = 0 ;
 
12414
  PyObject * obj0 = 0 ;
 
12415
  PyObject * obj1 = 0 ;
 
12416
  PyObject * obj2 = 0 ;
 
12417
  char *  kwnames[] = {
 
12418
    (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL 
 
12419
  };
 
12420
  
 
12421
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12422
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12423
  if (!SWIG_IsOK(res1)) {
 
12424
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12425
  }
 
12426
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12427
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12428
  if (!SWIG_IsOK(ecode2)) {
 
12429
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "2"" of type '" "int""'");
 
12430
  } 
 
12431
  arg2 = static_cast< int >(val2);
 
12432
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
12433
  if (!SWIG_IsOK(ecode3)) {
 
12434
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "3"" of type '" "bool""'");
 
12435
  } 
 
12436
  arg3 = static_cast< bool >(val3);
 
12437
  {
 
12438
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12439
    result = (int)(arg1)->WordEndPosition(arg2,arg3);
 
12440
    wxPyEndAllowThreads(__tstate);
 
12441
    if (PyErr_Occurred()) SWIG_fail;
 
12442
  }
 
12443
  resultobj = SWIG_From_int(static_cast< int >(result));
 
12444
  return resultobj;
 
12445
fail:
 
12446
  return NULL;
 
12447
}
 
12448
 
 
12449
 
 
12450
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12451
  PyObject *resultobj = 0;
 
12452
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12453
  int arg2 ;
 
12454
  void *argp1 = 0 ;
 
12455
  int res1 = 0 ;
 
12456
  int val2 ;
 
12457
  int ecode2 = 0 ;
 
12458
  PyObject * obj0 = 0 ;
 
12459
  PyObject * obj1 = 0 ;
 
12460
  char *  kwnames[] = {
 
12461
    (char *) "self",(char *) "mode", NULL 
 
12462
  };
 
12463
  
 
12464
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
 
12465
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12466
  if (!SWIG_IsOK(res1)) {
 
12467
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12468
  }
 
12469
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12470
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12471
  if (!SWIG_IsOK(ecode2)) {
 
12472
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "2"" of type '" "int""'");
 
12473
  } 
 
12474
  arg2 = static_cast< int >(val2);
 
12475
  {
 
12476
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12477
    (arg1)->SetWrapMode(arg2);
 
12478
    wxPyEndAllowThreads(__tstate);
 
12479
    if (PyErr_Occurred()) SWIG_fail;
 
12480
  }
 
12481
  resultobj = SWIG_Py_Void();
 
12482
  return resultobj;
 
12483
fail:
 
12484
  return NULL;
 
12485
}
 
12486
 
 
12487
 
 
12488
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12489
  PyObject *resultobj = 0;
 
12490
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12491
  int result;
 
12492
  void *argp1 = 0 ;
 
12493
  int res1 = 0 ;
 
12494
  PyObject *swig_obj[1] ;
 
12495
  
 
12496
  if (!args) SWIG_fail;
 
12497
  swig_obj[0] = args;
 
12498
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12499
  if (!SWIG_IsOK(res1)) {
 
12500
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
12501
  }
 
12502
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12503
  {
 
12504
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12505
    result = (int)((wxStyledTextCtrl const *)arg1)->GetWrapMode();
 
12506
    wxPyEndAllowThreads(__tstate);
 
12507
    if (PyErr_Occurred()) SWIG_fail;
 
12508
  }
 
12509
  resultobj = SWIG_From_int(static_cast< int >(result));
 
12510
  return resultobj;
 
12511
fail:
 
12512
  return NULL;
 
12513
}
 
12514
 
 
12515
 
 
12516
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12517
  PyObject *resultobj = 0;
 
12518
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12519
  int arg2 ;
 
12520
  void *argp1 = 0 ;
 
12521
  int res1 = 0 ;
 
12522
  int val2 ;
 
12523
  int ecode2 = 0 ;
 
12524
  PyObject * obj0 = 0 ;
 
12525
  PyObject * obj1 = 0 ;
 
12526
  char *  kwnames[] = {
 
12527
    (char *) "self",(char *) "wrapVisualFlags", NULL 
 
12528
  };
 
12529
  
 
12530
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) SWIG_fail;
 
12531
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12532
  if (!SWIG_IsOK(res1)) {
 
12533
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12534
  }
 
12535
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12536
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12537
  if (!SWIG_IsOK(ecode2)) {
 
12538
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "2"" of type '" "int""'");
 
12539
  } 
 
12540
  arg2 = static_cast< int >(val2);
 
12541
  {
 
12542
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12543
    (arg1)->SetWrapVisualFlags(arg2);
 
12544
    wxPyEndAllowThreads(__tstate);
 
12545
    if (PyErr_Occurred()) SWIG_fail;
 
12546
  }
 
12547
  resultobj = SWIG_Py_Void();
 
12548
  return resultobj;
 
12549
fail:
 
12550
  return NULL;
 
12551
}
 
12552
 
 
12553
 
 
12554
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12555
  PyObject *resultobj = 0;
 
12556
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12557
  int result;
 
12558
  void *argp1 = 0 ;
 
12559
  int res1 = 0 ;
 
12560
  PyObject *swig_obj[1] ;
 
12561
  
 
12562
  if (!args) SWIG_fail;
 
12563
  swig_obj[0] = args;
 
12564
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12565
  if (!SWIG_IsOK(res1)) {
 
12566
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
12567
  }
 
12568
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12569
  {
 
12570
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12571
    result = (int)((wxStyledTextCtrl const *)arg1)->GetWrapVisualFlags();
 
12572
    wxPyEndAllowThreads(__tstate);
 
12573
    if (PyErr_Occurred()) SWIG_fail;
 
12574
  }
 
12575
  resultobj = SWIG_From_int(static_cast< int >(result));
 
12576
  return resultobj;
 
12577
fail:
 
12578
  return NULL;
 
12579
}
 
12580
 
 
12581
 
 
12582
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12583
  PyObject *resultobj = 0;
 
12584
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12585
  int arg2 ;
 
12586
  void *argp1 = 0 ;
 
12587
  int res1 = 0 ;
 
12588
  int val2 ;
 
12589
  int ecode2 = 0 ;
 
12590
  PyObject * obj0 = 0 ;
 
12591
  PyObject * obj1 = 0 ;
 
12592
  char *  kwnames[] = {
 
12593
    (char *) "self",(char *) "wrapVisualFlagsLocation", NULL 
 
12594
  };
 
12595
  
 
12596
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) SWIG_fail;
 
12597
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12598
  if (!SWIG_IsOK(res1)) {
 
12599
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12600
  }
 
12601
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12602
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12603
  if (!SWIG_IsOK(ecode2)) {
 
12604
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "2"" of type '" "int""'");
 
12605
  } 
 
12606
  arg2 = static_cast< int >(val2);
 
12607
  {
 
12608
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12609
    (arg1)->SetWrapVisualFlagsLocation(arg2);
 
12610
    wxPyEndAllowThreads(__tstate);
 
12611
    if (PyErr_Occurred()) SWIG_fail;
 
12612
  }
 
12613
  resultobj = SWIG_Py_Void();
 
12614
  return resultobj;
 
12615
fail:
 
12616
  return NULL;
 
12617
}
 
12618
 
 
12619
 
 
12620
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12621
  PyObject *resultobj = 0;
 
12622
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12623
  int result;
 
12624
  void *argp1 = 0 ;
 
12625
  int res1 = 0 ;
 
12626
  PyObject *swig_obj[1] ;
 
12627
  
 
12628
  if (!args) SWIG_fail;
 
12629
  swig_obj[0] = args;
 
12630
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12631
  if (!SWIG_IsOK(res1)) {
 
12632
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
12633
  }
 
12634
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12635
  {
 
12636
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12637
    result = (int)((wxStyledTextCtrl const *)arg1)->GetWrapVisualFlagsLocation();
 
12638
    wxPyEndAllowThreads(__tstate);
 
12639
    if (PyErr_Occurred()) SWIG_fail;
 
12640
  }
 
12641
  resultobj = SWIG_From_int(static_cast< int >(result));
 
12642
  return resultobj;
 
12643
fail:
 
12644
  return NULL;
 
12645
}
 
12646
 
 
12647
 
 
12648
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12649
  PyObject *resultobj = 0;
 
12650
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12651
  int arg2 ;
 
12652
  void *argp1 = 0 ;
 
12653
  int res1 = 0 ;
 
12654
  int val2 ;
 
12655
  int ecode2 = 0 ;
 
12656
  PyObject * obj0 = 0 ;
 
12657
  PyObject * obj1 = 0 ;
 
12658
  char *  kwnames[] = {
 
12659
    (char *) "self",(char *) "indent", NULL 
 
12660
  };
 
12661
  
 
12662
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) SWIG_fail;
 
12663
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12664
  if (!SWIG_IsOK(res1)) {
 
12665
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12666
  }
 
12667
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12668
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12669
  if (!SWIG_IsOK(ecode2)) {
 
12670
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "2"" of type '" "int""'");
 
12671
  } 
 
12672
  arg2 = static_cast< int >(val2);
 
12673
  {
 
12674
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12675
    (arg1)->SetWrapStartIndent(arg2);
 
12676
    wxPyEndAllowThreads(__tstate);
 
12677
    if (PyErr_Occurred()) SWIG_fail;
 
12678
  }
 
12679
  resultobj = SWIG_Py_Void();
 
12680
  return resultobj;
 
12681
fail:
 
12682
  return NULL;
 
12683
}
 
12684
 
 
12685
 
 
12686
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12687
  PyObject *resultobj = 0;
 
12688
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12689
  int result;
 
12690
  void *argp1 = 0 ;
 
12691
  int res1 = 0 ;
 
12692
  PyObject *swig_obj[1] ;
 
12693
  
 
12694
  if (!args) SWIG_fail;
 
12695
  swig_obj[0] = args;
 
12696
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12697
  if (!SWIG_IsOK(res1)) {
 
12698
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
12699
  }
 
12700
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12701
  {
 
12702
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12703
    result = (int)((wxStyledTextCtrl const *)arg1)->GetWrapStartIndent();
 
12704
    wxPyEndAllowThreads(__tstate);
 
12705
    if (PyErr_Occurred()) SWIG_fail;
 
12706
  }
 
12707
  resultobj = SWIG_From_int(static_cast< int >(result));
 
12708
  return resultobj;
 
12709
fail:
 
12710
  return NULL;
 
12711
}
 
12712
 
 
12713
 
 
12714
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapIndentMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12715
  PyObject *resultobj = 0;
 
12716
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12717
  int arg2 ;
 
12718
  void *argp1 = 0 ;
 
12719
  int res1 = 0 ;
 
12720
  int val2 ;
 
12721
  int ecode2 = 0 ;
 
12722
  PyObject * obj0 = 0 ;
 
12723
  PyObject * obj1 = 0 ;
 
12724
  char *  kwnames[] = {
 
12725
    (char *) "self",(char *) "mode", NULL 
 
12726
  };
 
12727
  
 
12728
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapIndentMode",kwnames,&obj0,&obj1)) SWIG_fail;
 
12729
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12730
  if (!SWIG_IsOK(res1)) {
 
12731
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapIndentMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12732
  }
 
12733
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12734
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12735
  if (!SWIG_IsOK(ecode2)) {
 
12736
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapIndentMode" "', expected argument " "2"" of type '" "int""'");
 
12737
  } 
 
12738
  arg2 = static_cast< int >(val2);
 
12739
  {
 
12740
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12741
    (arg1)->SetWrapIndentMode(arg2);
 
12742
    wxPyEndAllowThreads(__tstate);
 
12743
    if (PyErr_Occurred()) SWIG_fail;
 
12744
  }
 
12745
  resultobj = SWIG_Py_Void();
 
12746
  return resultobj;
 
12747
fail:
 
12748
  return NULL;
 
12749
}
 
12750
 
 
12751
 
 
12752
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapIndentMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12753
  PyObject *resultobj = 0;
 
12754
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12755
  int result;
 
12756
  void *argp1 = 0 ;
 
12757
  int res1 = 0 ;
 
12758
  PyObject *swig_obj[1] ;
 
12759
  
 
12760
  if (!args) SWIG_fail;
 
12761
  swig_obj[0] = args;
 
12762
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12763
  if (!SWIG_IsOK(res1)) {
 
12764
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapIndentMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
12765
  }
 
12766
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12767
  {
 
12768
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12769
    result = (int)((wxStyledTextCtrl const *)arg1)->GetWrapIndentMode();
 
12770
    wxPyEndAllowThreads(__tstate);
 
12771
    if (PyErr_Occurred()) SWIG_fail;
 
12772
  }
 
12773
  resultobj = SWIG_From_int(static_cast< int >(result));
 
12774
  return resultobj;
 
12775
fail:
 
12776
  return NULL;
 
12777
}
 
12778
 
 
12779
 
 
12780
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12781
  PyObject *resultobj = 0;
 
12782
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12783
  int arg2 ;
 
12784
  void *argp1 = 0 ;
 
12785
  int res1 = 0 ;
 
12786
  int val2 ;
 
12787
  int ecode2 = 0 ;
 
12788
  PyObject * obj0 = 0 ;
 
12789
  PyObject * obj1 = 0 ;
 
12790
  char *  kwnames[] = {
 
12791
    (char *) "self",(char *) "mode", NULL 
 
12792
  };
 
12793
  
 
12794
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) SWIG_fail;
 
12795
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12796
  if (!SWIG_IsOK(res1)) {
 
12797
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12798
  }
 
12799
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12800
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12801
  if (!SWIG_IsOK(ecode2)) {
 
12802
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "2"" of type '" "int""'");
 
12803
  } 
 
12804
  arg2 = static_cast< int >(val2);
 
12805
  {
 
12806
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12807
    (arg1)->SetLayoutCache(arg2);
 
12808
    wxPyEndAllowThreads(__tstate);
 
12809
    if (PyErr_Occurred()) SWIG_fail;
 
12810
  }
 
12811
  resultobj = SWIG_Py_Void();
 
12812
  return resultobj;
 
12813
fail:
 
12814
  return NULL;
 
12815
}
 
12816
 
 
12817
 
 
12818
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12819
  PyObject *resultobj = 0;
 
12820
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12821
  int result;
 
12822
  void *argp1 = 0 ;
 
12823
  int res1 = 0 ;
 
12824
  PyObject *swig_obj[1] ;
 
12825
  
 
12826
  if (!args) SWIG_fail;
 
12827
  swig_obj[0] = args;
 
12828
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12829
  if (!SWIG_IsOK(res1)) {
 
12830
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
12831
  }
 
12832
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12833
  {
 
12834
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12835
    result = (int)((wxStyledTextCtrl const *)arg1)->GetLayoutCache();
 
12836
    wxPyEndAllowThreads(__tstate);
 
12837
    if (PyErr_Occurred()) SWIG_fail;
 
12838
  }
 
12839
  resultobj = SWIG_From_int(static_cast< int >(result));
 
12840
  return resultobj;
 
12841
fail:
 
12842
  return NULL;
 
12843
}
 
12844
 
 
12845
 
 
12846
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12847
  PyObject *resultobj = 0;
 
12848
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12849
  int arg2 ;
 
12850
  void *argp1 = 0 ;
 
12851
  int res1 = 0 ;
 
12852
  int val2 ;
 
12853
  int ecode2 = 0 ;
 
12854
  PyObject * obj0 = 0 ;
 
12855
  PyObject * obj1 = 0 ;
 
12856
  char *  kwnames[] = {
 
12857
    (char *) "self",(char *) "pixelWidth", NULL 
 
12858
  };
 
12859
  
 
12860
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) SWIG_fail;
 
12861
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12862
  if (!SWIG_IsOK(res1)) {
 
12863
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12864
  }
 
12865
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12866
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12867
  if (!SWIG_IsOK(ecode2)) {
 
12868
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "2"" of type '" "int""'");
 
12869
  } 
 
12870
  arg2 = static_cast< int >(val2);
 
12871
  {
 
12872
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12873
    (arg1)->SetScrollWidth(arg2);
 
12874
    wxPyEndAllowThreads(__tstate);
 
12875
    if (PyErr_Occurred()) SWIG_fail;
 
12876
  }
 
12877
  resultobj = SWIG_Py_Void();
 
12878
  return resultobj;
 
12879
fail:
 
12880
  return NULL;
 
12881
}
 
12882
 
 
12883
 
 
12884
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12885
  PyObject *resultobj = 0;
 
12886
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12887
  int result;
 
12888
  void *argp1 = 0 ;
 
12889
  int res1 = 0 ;
 
12890
  PyObject *swig_obj[1] ;
 
12891
  
 
12892
  if (!args) SWIG_fail;
 
12893
  swig_obj[0] = args;
 
12894
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12895
  if (!SWIG_IsOK(res1)) {
 
12896
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
12897
  }
 
12898
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12899
  {
 
12900
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12901
    result = (int)((wxStyledTextCtrl const *)arg1)->GetScrollWidth();
 
12902
    wxPyEndAllowThreads(__tstate);
 
12903
    if (PyErr_Occurred()) SWIG_fail;
 
12904
  }
 
12905
  resultobj = SWIG_From_int(static_cast< int >(result));
 
12906
  return resultobj;
 
12907
fail:
 
12908
  return NULL;
 
12909
}
 
12910
 
 
12911
 
 
12912
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetScrollWidthTracking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12913
  PyObject *resultobj = 0;
 
12914
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12915
  bool arg2 ;
 
12916
  void *argp1 = 0 ;
 
12917
  int res1 = 0 ;
 
12918
  bool val2 ;
 
12919
  int ecode2 = 0 ;
 
12920
  PyObject * obj0 = 0 ;
 
12921
  PyObject * obj1 = 0 ;
 
12922
  char *  kwnames[] = {
 
12923
    (char *) "self",(char *) "tracking", NULL 
 
12924
  };
 
12925
  
 
12926
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidthTracking",kwnames,&obj0,&obj1)) SWIG_fail;
 
12927
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12928
  if (!SWIG_IsOK(res1)) {
 
12929
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetScrollWidthTracking" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
12930
  }
 
12931
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12932
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
12933
  if (!SWIG_IsOK(ecode2)) {
 
12934
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetScrollWidthTracking" "', expected argument " "2"" of type '" "bool""'");
 
12935
  } 
 
12936
  arg2 = static_cast< bool >(val2);
 
12937
  {
 
12938
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12939
    (arg1)->SetScrollWidthTracking(arg2);
 
12940
    wxPyEndAllowThreads(__tstate);
 
12941
    if (PyErr_Occurred()) SWIG_fail;
 
12942
  }
 
12943
  resultobj = SWIG_Py_Void();
 
12944
  return resultobj;
 
12945
fail:
 
12946
  return NULL;
 
12947
}
 
12948
 
 
12949
 
 
12950
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetScrollWidthTracking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12951
  PyObject *resultobj = 0;
 
12952
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12953
  bool result;
 
12954
  void *argp1 = 0 ;
 
12955
  int res1 = 0 ;
 
12956
  PyObject *swig_obj[1] ;
 
12957
  
 
12958
  if (!args) SWIG_fail;
 
12959
  swig_obj[0] = args;
 
12960
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
12961
  if (!SWIG_IsOK(res1)) {
 
12962
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetScrollWidthTracking" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
12963
  }
 
12964
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
12965
  {
 
12966
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12967
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetScrollWidthTracking();
 
12968
    wxPyEndAllowThreads(__tstate);
 
12969
    if (PyErr_Occurred()) SWIG_fail;
 
12970
  }
 
12971
  {
 
12972
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
12973
  }
 
12974
  return resultobj;
 
12975
fail:
 
12976
  return NULL;
 
12977
}
 
12978
 
 
12979
 
 
12980
SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12981
  PyObject *resultobj = 0;
 
12982
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
12983
  int arg2 ;
 
12984
  wxString *arg3 = 0 ;
 
12985
  int result;
 
12986
  void *argp1 = 0 ;
 
12987
  int res1 = 0 ;
 
12988
  int val2 ;
 
12989
  int ecode2 = 0 ;
 
12990
  bool temp3 = false ;
 
12991
  PyObject * obj0 = 0 ;
 
12992
  PyObject * obj1 = 0 ;
 
12993
  PyObject * obj2 = 0 ;
 
12994
  char *  kwnames[] = {
 
12995
    (char *) "self",(char *) "style",(char *) "text", NULL 
 
12996
  };
 
12997
  
 
12998
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12999
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13000
  if (!SWIG_IsOK(res1)) {
 
13001
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13002
  }
 
13003
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13004
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
13005
  if (!SWIG_IsOK(ecode2)) {
 
13006
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "2"" of type '" "int""'");
 
13007
  } 
 
13008
  arg2 = static_cast< int >(val2);
 
13009
  {
 
13010
    arg3 = wxString_in_helper(obj2);
 
13011
    if (arg3 == NULL) SWIG_fail;
 
13012
    temp3 = true;
 
13013
  }
 
13014
  {
 
13015
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13016
    result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
 
13017
    wxPyEndAllowThreads(__tstate);
 
13018
    if (PyErr_Occurred()) SWIG_fail;
 
13019
  }
 
13020
  resultobj = SWIG_From_int(static_cast< int >(result));
 
13021
  {
 
13022
    if (temp3)
 
13023
    delete arg3;
 
13024
  }
 
13025
  return resultobj;
 
13026
fail:
 
13027
  {
 
13028
    if (temp3)
 
13029
    delete arg3;
 
13030
  }
 
13031
  return NULL;
 
13032
}
 
13033
 
 
13034
 
 
13035
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13036
  PyObject *resultobj = 0;
 
13037
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13038
  bool arg2 ;
 
13039
  void *argp1 = 0 ;
 
13040
  int res1 = 0 ;
 
13041
  bool val2 ;
 
13042
  int ecode2 = 0 ;
 
13043
  PyObject * obj0 = 0 ;
 
13044
  PyObject * obj1 = 0 ;
 
13045
  char *  kwnames[] = {
 
13046
    (char *) "self",(char *) "endAtLastLine", NULL 
 
13047
  };
 
13048
  
 
13049
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
13050
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13051
  if (!SWIG_IsOK(res1)) {
 
13052
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13053
  }
 
13054
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13055
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
13056
  if (!SWIG_IsOK(ecode2)) {
 
13057
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "2"" of type '" "bool""'");
 
13058
  } 
 
13059
  arg2 = static_cast< bool >(val2);
 
13060
  {
 
13061
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13062
    (arg1)->SetEndAtLastLine(arg2);
 
13063
    wxPyEndAllowThreads(__tstate);
 
13064
    if (PyErr_Occurred()) SWIG_fail;
 
13065
  }
 
13066
  resultobj = SWIG_Py_Void();
 
13067
  return resultobj;
 
13068
fail:
 
13069
  return NULL;
 
13070
}
 
13071
 
 
13072
 
 
13073
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13074
  PyObject *resultobj = 0;
 
13075
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13076
  bool result;
 
13077
  void *argp1 = 0 ;
 
13078
  int res1 = 0 ;
 
13079
  PyObject *swig_obj[1] ;
 
13080
  
 
13081
  if (!args) SWIG_fail;
 
13082
  swig_obj[0] = args;
 
13083
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13084
  if (!SWIG_IsOK(res1)) {
 
13085
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
13086
  }
 
13087
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13088
  {
 
13089
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13090
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetEndAtLastLine();
 
13091
    wxPyEndAllowThreads(__tstate);
 
13092
    if (PyErr_Occurred()) SWIG_fail;
 
13093
  }
 
13094
  {
 
13095
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
13096
  }
 
13097
  return resultobj;
 
13098
fail:
 
13099
  return NULL;
 
13100
}
 
13101
 
 
13102
 
 
13103
SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13104
  PyObject *resultobj = 0;
 
13105
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13106
  int arg2 ;
 
13107
  int result;
 
13108
  void *argp1 = 0 ;
 
13109
  int res1 = 0 ;
 
13110
  int val2 ;
 
13111
  int ecode2 = 0 ;
 
13112
  PyObject * obj0 = 0 ;
 
13113
  PyObject * obj1 = 0 ;
 
13114
  char *  kwnames[] = {
 
13115
    (char *) "self",(char *) "line", NULL 
 
13116
  };
 
13117
  
 
13118
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) SWIG_fail;
 
13119
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13120
  if (!SWIG_IsOK(res1)) {
 
13121
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13122
  }
 
13123
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13124
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
13125
  if (!SWIG_IsOK(ecode2)) {
 
13126
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "2"" of type '" "int""'");
 
13127
  } 
 
13128
  arg2 = static_cast< int >(val2);
 
13129
  {
 
13130
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13131
    result = (int)(arg1)->TextHeight(arg2);
 
13132
    wxPyEndAllowThreads(__tstate);
 
13133
    if (PyErr_Occurred()) SWIG_fail;
 
13134
  }
 
13135
  resultobj = SWIG_From_int(static_cast< int >(result));
 
13136
  return resultobj;
 
13137
fail:
 
13138
  return NULL;
 
13139
}
 
13140
 
 
13141
 
 
13142
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13143
  PyObject *resultobj = 0;
 
13144
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13145
  bool arg2 ;
 
13146
  void *argp1 = 0 ;
 
13147
  int res1 = 0 ;
 
13148
  bool val2 ;
 
13149
  int ecode2 = 0 ;
 
13150
  PyObject * obj0 = 0 ;
 
13151
  PyObject * obj1 = 0 ;
 
13152
  char *  kwnames[] = {
 
13153
    (char *) "self",(char *) "show", NULL 
 
13154
  };
 
13155
  
 
13156
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
 
13157
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13158
  if (!SWIG_IsOK(res1)) {
 
13159
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13160
  }
 
13161
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13162
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
13163
  if (!SWIG_IsOK(ecode2)) {
 
13164
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "2"" of type '" "bool""'");
 
13165
  } 
 
13166
  arg2 = static_cast< bool >(val2);
 
13167
  {
 
13168
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13169
    (arg1)->SetUseVerticalScrollBar(arg2);
 
13170
    wxPyEndAllowThreads(__tstate);
 
13171
    if (PyErr_Occurred()) SWIG_fail;
 
13172
  }
 
13173
  resultobj = SWIG_Py_Void();
 
13174
  return resultobj;
 
13175
fail:
 
13176
  return NULL;
 
13177
}
 
13178
 
 
13179
 
 
13180
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13181
  PyObject *resultobj = 0;
 
13182
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13183
  bool result;
 
13184
  void *argp1 = 0 ;
 
13185
  int res1 = 0 ;
 
13186
  PyObject *swig_obj[1] ;
 
13187
  
 
13188
  if (!args) SWIG_fail;
 
13189
  swig_obj[0] = args;
 
13190
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13191
  if (!SWIG_IsOK(res1)) {
 
13192
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
13193
  }
 
13194
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13195
  {
 
13196
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13197
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetUseVerticalScrollBar();
 
13198
    wxPyEndAllowThreads(__tstate);
 
13199
    if (PyErr_Occurred()) SWIG_fail;
 
13200
  }
 
13201
  {
 
13202
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
13203
  }
 
13204
  return resultobj;
 
13205
fail:
 
13206
  return NULL;
 
13207
}
 
13208
 
 
13209
 
 
13210
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13211
  PyObject *resultobj = 0;
 
13212
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13213
  bool result;
 
13214
  void *argp1 = 0 ;
 
13215
  int res1 = 0 ;
 
13216
  PyObject *swig_obj[1] ;
 
13217
  
 
13218
  if (!args) SWIG_fail;
 
13219
  swig_obj[0] = args;
 
13220
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13221
  if (!SWIG_IsOK(res1)) {
 
13222
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
13223
  }
 
13224
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13225
  {
 
13226
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13227
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetTwoPhaseDraw();
 
13228
    wxPyEndAllowThreads(__tstate);
 
13229
    if (PyErr_Occurred()) SWIG_fail;
 
13230
  }
 
13231
  {
 
13232
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
13233
  }
 
13234
  return resultobj;
 
13235
fail:
 
13236
  return NULL;
 
13237
}
 
13238
 
 
13239
 
 
13240
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13241
  PyObject *resultobj = 0;
 
13242
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13243
  bool arg2 ;
 
13244
  void *argp1 = 0 ;
 
13245
  int res1 = 0 ;
 
13246
  bool val2 ;
 
13247
  int ecode2 = 0 ;
 
13248
  PyObject * obj0 = 0 ;
 
13249
  PyObject * obj1 = 0 ;
 
13250
  char *  kwnames[] = {
 
13251
    (char *) "self",(char *) "twoPhase", NULL 
 
13252
  };
 
13253
  
 
13254
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) SWIG_fail;
 
13255
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13256
  if (!SWIG_IsOK(res1)) {
 
13257
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13258
  }
 
13259
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13260
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
13261
  if (!SWIG_IsOK(ecode2)) {
 
13262
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "2"" of type '" "bool""'");
 
13263
  } 
 
13264
  arg2 = static_cast< bool >(val2);
 
13265
  {
 
13266
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13267
    (arg1)->SetTwoPhaseDraw(arg2);
 
13268
    wxPyEndAllowThreads(__tstate);
 
13269
    if (PyErr_Occurred()) SWIG_fail;
 
13270
  }
 
13271
  resultobj = SWIG_Py_Void();
 
13272
  return resultobj;
 
13273
fail:
 
13274
  return NULL;
 
13275
}
 
13276
 
 
13277
 
 
13278
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13279
  PyObject *resultobj = 0;
 
13280
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13281
  int arg2 ;
 
13282
  void *argp1 = 0 ;
 
13283
  int res1 = 0 ;
 
13284
  int val2 ;
 
13285
  int ecode2 = 0 ;
 
13286
  PyObject * obj0 = 0 ;
 
13287
  PyObject * obj1 = 0 ;
 
13288
  char *  kwnames[] = {
 
13289
    (char *) "self",(char *) "lineDisplay", NULL 
 
13290
  };
 
13291
  
 
13292
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFirstVisibleLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
13293
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13294
  if (!SWIG_IsOK(res1)) {
 
13295
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFirstVisibleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13296
  }
 
13297
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13298
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
13299
  if (!SWIG_IsOK(ecode2)) {
 
13300
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFirstVisibleLine" "', expected argument " "2"" of type '" "int""'");
 
13301
  } 
 
13302
  arg2 = static_cast< int >(val2);
 
13303
  {
 
13304
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13305
    (arg1)->SetFirstVisibleLine(arg2);
 
13306
    wxPyEndAllowThreads(__tstate);
 
13307
    if (PyErr_Occurred()) SWIG_fail;
 
13308
  }
 
13309
  resultobj = SWIG_Py_Void();
 
13310
  return resultobj;
 
13311
fail:
 
13312
  return NULL;
 
13313
}
 
13314
 
 
13315
 
 
13316
SWIGINTERN PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13317
  PyObject *resultobj = 0;
 
13318
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13319
  void *argp1 = 0 ;
 
13320
  int res1 = 0 ;
 
13321
  PyObject *swig_obj[1] ;
 
13322
  
 
13323
  if (!args) SWIG_fail;
 
13324
  swig_obj[0] = args;
 
13325
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13326
  if (!SWIG_IsOK(res1)) {
 
13327
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TargetFromSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13328
  }
 
13329
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13330
  {
 
13331
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13332
    (arg1)->TargetFromSelection();
 
13333
    wxPyEndAllowThreads(__tstate);
 
13334
    if (PyErr_Occurred()) SWIG_fail;
 
13335
  }
 
13336
  resultobj = SWIG_Py_Void();
 
13337
  return resultobj;
 
13338
fail:
 
13339
  return NULL;
 
13340
}
 
13341
 
 
13342
 
 
13343
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13344
  PyObject *resultobj = 0;
 
13345
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13346
  void *argp1 = 0 ;
 
13347
  int res1 = 0 ;
 
13348
  PyObject *swig_obj[1] ;
 
13349
  
 
13350
  if (!args) SWIG_fail;
 
13351
  swig_obj[0] = args;
 
13352
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13353
  if (!SWIG_IsOK(res1)) {
 
13354
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesJoin" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13355
  }
 
13356
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13357
  {
 
13358
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13359
    (arg1)->LinesJoin();
 
13360
    wxPyEndAllowThreads(__tstate);
 
13361
    if (PyErr_Occurred()) SWIG_fail;
 
13362
  }
 
13363
  resultobj = SWIG_Py_Void();
 
13364
  return resultobj;
 
13365
fail:
 
13366
  return NULL;
 
13367
}
 
13368
 
 
13369
 
 
13370
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13371
  PyObject *resultobj = 0;
 
13372
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13373
  int arg2 ;
 
13374
  void *argp1 = 0 ;
 
13375
  int res1 = 0 ;
 
13376
  int val2 ;
 
13377
  int ecode2 = 0 ;
 
13378
  PyObject * obj0 = 0 ;
 
13379
  PyObject * obj1 = 0 ;
 
13380
  char *  kwnames[] = {
 
13381
    (char *) "self",(char *) "pixelWidth", NULL 
 
13382
  };
 
13383
  
 
13384
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) SWIG_fail;
 
13385
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13386
  if (!SWIG_IsOK(res1)) {
 
13387
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13388
  }
 
13389
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13390
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
13391
  if (!SWIG_IsOK(ecode2)) {
 
13392
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "2"" of type '" "int""'");
 
13393
  } 
 
13394
  arg2 = static_cast< int >(val2);
 
13395
  {
 
13396
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13397
    (arg1)->LinesSplit(arg2);
 
13398
    wxPyEndAllowThreads(__tstate);
 
13399
    if (PyErr_Occurred()) SWIG_fail;
 
13400
  }
 
13401
  resultobj = SWIG_Py_Void();
 
13402
  return resultobj;
 
13403
fail:
 
13404
  return NULL;
 
13405
}
 
13406
 
 
13407
 
 
13408
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13409
  PyObject *resultobj = 0;
 
13410
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13411
  bool arg2 ;
 
13412
  wxColour *arg3 = 0 ;
 
13413
  void *argp1 = 0 ;
 
13414
  int res1 = 0 ;
 
13415
  bool val2 ;
 
13416
  int ecode2 = 0 ;
 
13417
  wxColour temp3 ;
 
13418
  PyObject * obj0 = 0 ;
 
13419
  PyObject * obj1 = 0 ;
 
13420
  PyObject * obj2 = 0 ;
 
13421
  char *  kwnames[] = {
 
13422
    (char *) "self",(char *) "useSetting",(char *) "back", NULL 
 
13423
  };
 
13424
  
 
13425
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
13426
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13427
  if (!SWIG_IsOK(res1)) {
 
13428
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13429
  }
 
13430
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13431
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
13432
  if (!SWIG_IsOK(ecode2)) {
 
13433
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "2"" of type '" "bool""'");
 
13434
  } 
 
13435
  arg2 = static_cast< bool >(val2);
 
13436
  {
 
13437
    arg3 = &temp3;
 
13438
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
13439
  }
 
13440
  {
 
13441
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13442
    (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
 
13443
    wxPyEndAllowThreads(__tstate);
 
13444
    if (PyErr_Occurred()) SWIG_fail;
 
13445
  }
 
13446
  resultobj = SWIG_Py_Void();
 
13447
  return resultobj;
 
13448
fail:
 
13449
  return NULL;
 
13450
}
 
13451
 
 
13452
 
 
13453
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13454
  PyObject *resultobj = 0;
 
13455
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13456
  bool arg2 ;
 
13457
  wxColour *arg3 = 0 ;
 
13458
  void *argp1 = 0 ;
 
13459
  int res1 = 0 ;
 
13460
  bool val2 ;
 
13461
  int ecode2 = 0 ;
 
13462
  wxColour temp3 ;
 
13463
  PyObject * obj0 = 0 ;
 
13464
  PyObject * obj1 = 0 ;
 
13465
  PyObject * obj2 = 0 ;
 
13466
  char *  kwnames[] = {
 
13467
    (char *) "self",(char *) "useSetting",(char *) "fore", NULL 
 
13468
  };
 
13469
  
 
13470
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
13471
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13472
  if (!SWIG_IsOK(res1)) {
 
13473
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13474
  }
 
13475
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13476
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
13477
  if (!SWIG_IsOK(ecode2)) {
 
13478
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "2"" of type '" "bool""'");
 
13479
  } 
 
13480
  arg2 = static_cast< bool >(val2);
 
13481
  {
 
13482
    arg3 = &temp3;
 
13483
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
13484
  }
 
13485
  {
 
13486
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13487
    (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
 
13488
    wxPyEndAllowThreads(__tstate);
 
13489
    if (PyErr_Occurred()) SWIG_fail;
 
13490
  }
 
13491
  resultobj = SWIG_Py_Void();
 
13492
  return resultobj;
 
13493
fail:
 
13494
  return NULL;
 
13495
}
 
13496
 
 
13497
 
 
13498
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13499
  PyObject *resultobj = 0;
 
13500
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13501
  void *argp1 = 0 ;
 
13502
  int res1 = 0 ;
 
13503
  PyObject *swig_obj[1] ;
 
13504
  
 
13505
  if (!args) SWIG_fail;
 
13506
  swig_obj[0] = args;
 
13507
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13508
  if (!SWIG_IsOK(res1)) {
 
13509
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13510
  }
 
13511
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13512
  {
 
13513
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13514
    (arg1)->LineDown();
 
13515
    wxPyEndAllowThreads(__tstate);
 
13516
    if (PyErr_Occurred()) SWIG_fail;
 
13517
  }
 
13518
  resultobj = SWIG_Py_Void();
 
13519
  return resultobj;
 
13520
fail:
 
13521
  return NULL;
 
13522
}
 
13523
 
 
13524
 
 
13525
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13526
  PyObject *resultobj = 0;
 
13527
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13528
  void *argp1 = 0 ;
 
13529
  int res1 = 0 ;
 
13530
  PyObject *swig_obj[1] ;
 
13531
  
 
13532
  if (!args) SWIG_fail;
 
13533
  swig_obj[0] = args;
 
13534
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13535
  if (!SWIG_IsOK(res1)) {
 
13536
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13537
  }
 
13538
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13539
  {
 
13540
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13541
    (arg1)->LineDownExtend();
 
13542
    wxPyEndAllowThreads(__tstate);
 
13543
    if (PyErr_Occurred()) SWIG_fail;
 
13544
  }
 
13545
  resultobj = SWIG_Py_Void();
 
13546
  return resultobj;
 
13547
fail:
 
13548
  return NULL;
 
13549
}
 
13550
 
 
13551
 
 
13552
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13553
  PyObject *resultobj = 0;
 
13554
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13555
  void *argp1 = 0 ;
 
13556
  int res1 = 0 ;
 
13557
  PyObject *swig_obj[1] ;
 
13558
  
 
13559
  if (!args) SWIG_fail;
 
13560
  swig_obj[0] = args;
 
13561
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13562
  if (!SWIG_IsOK(res1)) {
 
13563
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13564
  }
 
13565
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13566
  {
 
13567
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13568
    (arg1)->LineUp();
 
13569
    wxPyEndAllowThreads(__tstate);
 
13570
    if (PyErr_Occurred()) SWIG_fail;
 
13571
  }
 
13572
  resultobj = SWIG_Py_Void();
 
13573
  return resultobj;
 
13574
fail:
 
13575
  return NULL;
 
13576
}
 
13577
 
 
13578
 
 
13579
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13580
  PyObject *resultobj = 0;
 
13581
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13582
  void *argp1 = 0 ;
 
13583
  int res1 = 0 ;
 
13584
  PyObject *swig_obj[1] ;
 
13585
  
 
13586
  if (!args) SWIG_fail;
 
13587
  swig_obj[0] = args;
 
13588
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13589
  if (!SWIG_IsOK(res1)) {
 
13590
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13591
  }
 
13592
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13593
  {
 
13594
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13595
    (arg1)->LineUpExtend();
 
13596
    wxPyEndAllowThreads(__tstate);
 
13597
    if (PyErr_Occurred()) SWIG_fail;
 
13598
  }
 
13599
  resultobj = SWIG_Py_Void();
 
13600
  return resultobj;
 
13601
fail:
 
13602
  return NULL;
 
13603
}
 
13604
 
 
13605
 
 
13606
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13607
  PyObject *resultobj = 0;
 
13608
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13609
  void *argp1 = 0 ;
 
13610
  int res1 = 0 ;
 
13611
  PyObject *swig_obj[1] ;
 
13612
  
 
13613
  if (!args) SWIG_fail;
 
13614
  swig_obj[0] = args;
 
13615
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13616
  if (!SWIG_IsOK(res1)) {
 
13617
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13618
  }
 
13619
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13620
  {
 
13621
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13622
    (arg1)->CharLeft();
 
13623
    wxPyEndAllowThreads(__tstate);
 
13624
    if (PyErr_Occurred()) SWIG_fail;
 
13625
  }
 
13626
  resultobj = SWIG_Py_Void();
 
13627
  return resultobj;
 
13628
fail:
 
13629
  return NULL;
 
13630
}
 
13631
 
 
13632
 
 
13633
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13634
  PyObject *resultobj = 0;
 
13635
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13636
  void *argp1 = 0 ;
 
13637
  int res1 = 0 ;
 
13638
  PyObject *swig_obj[1] ;
 
13639
  
 
13640
  if (!args) SWIG_fail;
 
13641
  swig_obj[0] = args;
 
13642
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13643
  if (!SWIG_IsOK(res1)) {
 
13644
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13645
  }
 
13646
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13647
  {
 
13648
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13649
    (arg1)->CharLeftExtend();
 
13650
    wxPyEndAllowThreads(__tstate);
 
13651
    if (PyErr_Occurred()) SWIG_fail;
 
13652
  }
 
13653
  resultobj = SWIG_Py_Void();
 
13654
  return resultobj;
 
13655
fail:
 
13656
  return NULL;
 
13657
}
 
13658
 
 
13659
 
 
13660
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13661
  PyObject *resultobj = 0;
 
13662
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13663
  void *argp1 = 0 ;
 
13664
  int res1 = 0 ;
 
13665
  PyObject *swig_obj[1] ;
 
13666
  
 
13667
  if (!args) SWIG_fail;
 
13668
  swig_obj[0] = args;
 
13669
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13670
  if (!SWIG_IsOK(res1)) {
 
13671
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13672
  }
 
13673
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13674
  {
 
13675
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13676
    (arg1)->CharRight();
 
13677
    wxPyEndAllowThreads(__tstate);
 
13678
    if (PyErr_Occurred()) SWIG_fail;
 
13679
  }
 
13680
  resultobj = SWIG_Py_Void();
 
13681
  return resultobj;
 
13682
fail:
 
13683
  return NULL;
 
13684
}
 
13685
 
 
13686
 
 
13687
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13688
  PyObject *resultobj = 0;
 
13689
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13690
  void *argp1 = 0 ;
 
13691
  int res1 = 0 ;
 
13692
  PyObject *swig_obj[1] ;
 
13693
  
 
13694
  if (!args) SWIG_fail;
 
13695
  swig_obj[0] = args;
 
13696
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13697
  if (!SWIG_IsOK(res1)) {
 
13698
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13699
  }
 
13700
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13701
  {
 
13702
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13703
    (arg1)->CharRightExtend();
 
13704
    wxPyEndAllowThreads(__tstate);
 
13705
    if (PyErr_Occurred()) SWIG_fail;
 
13706
  }
 
13707
  resultobj = SWIG_Py_Void();
 
13708
  return resultobj;
 
13709
fail:
 
13710
  return NULL;
 
13711
}
 
13712
 
 
13713
 
 
13714
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13715
  PyObject *resultobj = 0;
 
13716
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13717
  void *argp1 = 0 ;
 
13718
  int res1 = 0 ;
 
13719
  PyObject *swig_obj[1] ;
 
13720
  
 
13721
  if (!args) SWIG_fail;
 
13722
  swig_obj[0] = args;
 
13723
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13724
  if (!SWIG_IsOK(res1)) {
 
13725
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13726
  }
 
13727
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13728
  {
 
13729
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13730
    (arg1)->WordLeft();
 
13731
    wxPyEndAllowThreads(__tstate);
 
13732
    if (PyErr_Occurred()) SWIG_fail;
 
13733
  }
 
13734
  resultobj = SWIG_Py_Void();
 
13735
  return resultobj;
 
13736
fail:
 
13737
  return NULL;
 
13738
}
 
13739
 
 
13740
 
 
13741
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13742
  PyObject *resultobj = 0;
 
13743
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13744
  void *argp1 = 0 ;
 
13745
  int res1 = 0 ;
 
13746
  PyObject *swig_obj[1] ;
 
13747
  
 
13748
  if (!args) SWIG_fail;
 
13749
  swig_obj[0] = args;
 
13750
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13751
  if (!SWIG_IsOK(res1)) {
 
13752
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13753
  }
 
13754
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13755
  {
 
13756
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13757
    (arg1)->WordLeftExtend();
 
13758
    wxPyEndAllowThreads(__tstate);
 
13759
    if (PyErr_Occurred()) SWIG_fail;
 
13760
  }
 
13761
  resultobj = SWIG_Py_Void();
 
13762
  return resultobj;
 
13763
fail:
 
13764
  return NULL;
 
13765
}
 
13766
 
 
13767
 
 
13768
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13769
  PyObject *resultobj = 0;
 
13770
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13771
  void *argp1 = 0 ;
 
13772
  int res1 = 0 ;
 
13773
  PyObject *swig_obj[1] ;
 
13774
  
 
13775
  if (!args) SWIG_fail;
 
13776
  swig_obj[0] = args;
 
13777
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13778
  if (!SWIG_IsOK(res1)) {
 
13779
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13780
  }
 
13781
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13782
  {
 
13783
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13784
    (arg1)->WordRight();
 
13785
    wxPyEndAllowThreads(__tstate);
 
13786
    if (PyErr_Occurred()) SWIG_fail;
 
13787
  }
 
13788
  resultobj = SWIG_Py_Void();
 
13789
  return resultobj;
 
13790
fail:
 
13791
  return NULL;
 
13792
}
 
13793
 
 
13794
 
 
13795
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13796
  PyObject *resultobj = 0;
 
13797
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13798
  void *argp1 = 0 ;
 
13799
  int res1 = 0 ;
 
13800
  PyObject *swig_obj[1] ;
 
13801
  
 
13802
  if (!args) SWIG_fail;
 
13803
  swig_obj[0] = args;
 
13804
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13805
  if (!SWIG_IsOK(res1)) {
 
13806
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13807
  }
 
13808
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13809
  {
 
13810
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13811
    (arg1)->WordRightExtend();
 
13812
    wxPyEndAllowThreads(__tstate);
 
13813
    if (PyErr_Occurred()) SWIG_fail;
 
13814
  }
 
13815
  resultobj = SWIG_Py_Void();
 
13816
  return resultobj;
 
13817
fail:
 
13818
  return NULL;
 
13819
}
 
13820
 
 
13821
 
 
13822
SWIGINTERN PyObject *_wrap_StyledTextCtrl_Home(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13823
  PyObject *resultobj = 0;
 
13824
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13825
  void *argp1 = 0 ;
 
13826
  int res1 = 0 ;
 
13827
  PyObject *swig_obj[1] ;
 
13828
  
 
13829
  if (!args) SWIG_fail;
 
13830
  swig_obj[0] = args;
 
13831
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13832
  if (!SWIG_IsOK(res1)) {
 
13833
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Home" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13834
  }
 
13835
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13836
  {
 
13837
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13838
    (arg1)->Home();
 
13839
    wxPyEndAllowThreads(__tstate);
 
13840
    if (PyErr_Occurred()) SWIG_fail;
 
13841
  }
 
13842
  resultobj = SWIG_Py_Void();
 
13843
  return resultobj;
 
13844
fail:
 
13845
  return NULL;
 
13846
}
 
13847
 
 
13848
 
 
13849
SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13850
  PyObject *resultobj = 0;
 
13851
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13852
  void *argp1 = 0 ;
 
13853
  int res1 = 0 ;
 
13854
  PyObject *swig_obj[1] ;
 
13855
  
 
13856
  if (!args) SWIG_fail;
 
13857
  swig_obj[0] = args;
 
13858
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13859
  if (!SWIG_IsOK(res1)) {
 
13860
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13861
  }
 
13862
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13863
  {
 
13864
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13865
    (arg1)->HomeExtend();
 
13866
    wxPyEndAllowThreads(__tstate);
 
13867
    if (PyErr_Occurred()) SWIG_fail;
 
13868
  }
 
13869
  resultobj = SWIG_Py_Void();
 
13870
  return resultobj;
 
13871
fail:
 
13872
  return NULL;
 
13873
}
 
13874
 
 
13875
 
 
13876
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13877
  PyObject *resultobj = 0;
 
13878
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13879
  void *argp1 = 0 ;
 
13880
  int res1 = 0 ;
 
13881
  PyObject *swig_obj[1] ;
 
13882
  
 
13883
  if (!args) SWIG_fail;
 
13884
  swig_obj[0] = args;
 
13885
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13886
  if (!SWIG_IsOK(res1)) {
 
13887
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13888
  }
 
13889
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13890
  {
 
13891
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13892
    (arg1)->LineEnd();
 
13893
    wxPyEndAllowThreads(__tstate);
 
13894
    if (PyErr_Occurred()) SWIG_fail;
 
13895
  }
 
13896
  resultobj = SWIG_Py_Void();
 
13897
  return resultobj;
 
13898
fail:
 
13899
  return NULL;
 
13900
}
 
13901
 
 
13902
 
 
13903
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13904
  PyObject *resultobj = 0;
 
13905
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13906
  void *argp1 = 0 ;
 
13907
  int res1 = 0 ;
 
13908
  PyObject *swig_obj[1] ;
 
13909
  
 
13910
  if (!args) SWIG_fail;
 
13911
  swig_obj[0] = args;
 
13912
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13913
  if (!SWIG_IsOK(res1)) {
 
13914
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13915
  }
 
13916
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13917
  {
 
13918
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13919
    (arg1)->LineEndExtend();
 
13920
    wxPyEndAllowThreads(__tstate);
 
13921
    if (PyErr_Occurred()) SWIG_fail;
 
13922
  }
 
13923
  resultobj = SWIG_Py_Void();
 
13924
  return resultobj;
 
13925
fail:
 
13926
  return NULL;
 
13927
}
 
13928
 
 
13929
 
 
13930
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13931
  PyObject *resultobj = 0;
 
13932
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13933
  void *argp1 = 0 ;
 
13934
  int res1 = 0 ;
 
13935
  PyObject *swig_obj[1] ;
 
13936
  
 
13937
  if (!args) SWIG_fail;
 
13938
  swig_obj[0] = args;
 
13939
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13940
  if (!SWIG_IsOK(res1)) {
 
13941
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13942
  }
 
13943
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13944
  {
 
13945
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13946
    (arg1)->DocumentStart();
 
13947
    wxPyEndAllowThreads(__tstate);
 
13948
    if (PyErr_Occurred()) SWIG_fail;
 
13949
  }
 
13950
  resultobj = SWIG_Py_Void();
 
13951
  return resultobj;
 
13952
fail:
 
13953
  return NULL;
 
13954
}
 
13955
 
 
13956
 
 
13957
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13958
  PyObject *resultobj = 0;
 
13959
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13960
  void *argp1 = 0 ;
 
13961
  int res1 = 0 ;
 
13962
  PyObject *swig_obj[1] ;
 
13963
  
 
13964
  if (!args) SWIG_fail;
 
13965
  swig_obj[0] = args;
 
13966
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13967
  if (!SWIG_IsOK(res1)) {
 
13968
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStartExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13969
  }
 
13970
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13971
  {
 
13972
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13973
    (arg1)->DocumentStartExtend();
 
13974
    wxPyEndAllowThreads(__tstate);
 
13975
    if (PyErr_Occurred()) SWIG_fail;
 
13976
  }
 
13977
  resultobj = SWIG_Py_Void();
 
13978
  return resultobj;
 
13979
fail:
 
13980
  return NULL;
 
13981
}
 
13982
 
 
13983
 
 
13984
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13985
  PyObject *resultobj = 0;
 
13986
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
13987
  void *argp1 = 0 ;
 
13988
  int res1 = 0 ;
 
13989
  PyObject *swig_obj[1] ;
 
13990
  
 
13991
  if (!args) SWIG_fail;
 
13992
  swig_obj[0] = args;
 
13993
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
13994
  if (!SWIG_IsOK(res1)) {
 
13995
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
13996
  }
 
13997
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
13998
  {
 
13999
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14000
    (arg1)->DocumentEnd();
 
14001
    wxPyEndAllowThreads(__tstate);
 
14002
    if (PyErr_Occurred()) SWIG_fail;
 
14003
  }
 
14004
  resultobj = SWIG_Py_Void();
 
14005
  return resultobj;
 
14006
fail:
 
14007
  return NULL;
 
14008
}
 
14009
 
 
14010
 
 
14011
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14012
  PyObject *resultobj = 0;
 
14013
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14014
  void *argp1 = 0 ;
 
14015
  int res1 = 0 ;
 
14016
  PyObject *swig_obj[1] ;
 
14017
  
 
14018
  if (!args) SWIG_fail;
 
14019
  swig_obj[0] = args;
 
14020
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14021
  if (!SWIG_IsOK(res1)) {
 
14022
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14023
  }
 
14024
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14025
  {
 
14026
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14027
    (arg1)->DocumentEndExtend();
 
14028
    wxPyEndAllowThreads(__tstate);
 
14029
    if (PyErr_Occurred()) SWIG_fail;
 
14030
  }
 
14031
  resultobj = SWIG_Py_Void();
 
14032
  return resultobj;
 
14033
fail:
 
14034
  return NULL;
 
14035
}
 
14036
 
 
14037
 
 
14038
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14039
  PyObject *resultobj = 0;
 
14040
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14041
  void *argp1 = 0 ;
 
14042
  int res1 = 0 ;
 
14043
  PyObject *swig_obj[1] ;
 
14044
  
 
14045
  if (!args) SWIG_fail;
 
14046
  swig_obj[0] = args;
 
14047
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14048
  if (!SWIG_IsOK(res1)) {
 
14049
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14050
  }
 
14051
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14052
  {
 
14053
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14054
    (arg1)->PageUp();
 
14055
    wxPyEndAllowThreads(__tstate);
 
14056
    if (PyErr_Occurred()) SWIG_fail;
 
14057
  }
 
14058
  resultobj = SWIG_Py_Void();
 
14059
  return resultobj;
 
14060
fail:
 
14061
  return NULL;
 
14062
}
 
14063
 
 
14064
 
 
14065
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14066
  PyObject *resultobj = 0;
 
14067
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14068
  void *argp1 = 0 ;
 
14069
  int res1 = 0 ;
 
14070
  PyObject *swig_obj[1] ;
 
14071
  
 
14072
  if (!args) SWIG_fail;
 
14073
  swig_obj[0] = args;
 
14074
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14075
  if (!SWIG_IsOK(res1)) {
 
14076
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14077
  }
 
14078
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14079
  {
 
14080
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14081
    (arg1)->PageUpExtend();
 
14082
    wxPyEndAllowThreads(__tstate);
 
14083
    if (PyErr_Occurred()) SWIG_fail;
 
14084
  }
 
14085
  resultobj = SWIG_Py_Void();
 
14086
  return resultobj;
 
14087
fail:
 
14088
  return NULL;
 
14089
}
 
14090
 
 
14091
 
 
14092
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14093
  PyObject *resultobj = 0;
 
14094
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14095
  void *argp1 = 0 ;
 
14096
  int res1 = 0 ;
 
14097
  PyObject *swig_obj[1] ;
 
14098
  
 
14099
  if (!args) SWIG_fail;
 
14100
  swig_obj[0] = args;
 
14101
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14102
  if (!SWIG_IsOK(res1)) {
 
14103
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14104
  }
 
14105
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14106
  {
 
14107
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14108
    (arg1)->PageDown();
 
14109
    wxPyEndAllowThreads(__tstate);
 
14110
    if (PyErr_Occurred()) SWIG_fail;
 
14111
  }
 
14112
  resultobj = SWIG_Py_Void();
 
14113
  return resultobj;
 
14114
fail:
 
14115
  return NULL;
 
14116
}
 
14117
 
 
14118
 
 
14119
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14120
  PyObject *resultobj = 0;
 
14121
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14122
  void *argp1 = 0 ;
 
14123
  int res1 = 0 ;
 
14124
  PyObject *swig_obj[1] ;
 
14125
  
 
14126
  if (!args) SWIG_fail;
 
14127
  swig_obj[0] = args;
 
14128
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14129
  if (!SWIG_IsOK(res1)) {
 
14130
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14131
  }
 
14132
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14133
  {
 
14134
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14135
    (arg1)->PageDownExtend();
 
14136
    wxPyEndAllowThreads(__tstate);
 
14137
    if (PyErr_Occurred()) SWIG_fail;
 
14138
  }
 
14139
  resultobj = SWIG_Py_Void();
 
14140
  return resultobj;
 
14141
fail:
 
14142
  return NULL;
 
14143
}
 
14144
 
 
14145
 
 
14146
SWIGINTERN PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14147
  PyObject *resultobj = 0;
 
14148
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14149
  void *argp1 = 0 ;
 
14150
  int res1 = 0 ;
 
14151
  PyObject *swig_obj[1] ;
 
14152
  
 
14153
  if (!args) SWIG_fail;
 
14154
  swig_obj[0] = args;
 
14155
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14156
  if (!SWIG_IsOK(res1)) {
 
14157
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EditToggleOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14158
  }
 
14159
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14160
  {
 
14161
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14162
    (arg1)->EditToggleOvertype();
 
14163
    wxPyEndAllowThreads(__tstate);
 
14164
    if (PyErr_Occurred()) SWIG_fail;
 
14165
  }
 
14166
  resultobj = SWIG_Py_Void();
 
14167
  return resultobj;
 
14168
fail:
 
14169
  return NULL;
 
14170
}
 
14171
 
 
14172
 
 
14173
SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14174
  PyObject *resultobj = 0;
 
14175
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14176
  void *argp1 = 0 ;
 
14177
  int res1 = 0 ;
 
14178
  PyObject *swig_obj[1] ;
 
14179
  
 
14180
  if (!args) SWIG_fail;
 
14181
  swig_obj[0] = args;
 
14182
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14183
  if (!SWIG_IsOK(res1)) {
 
14184
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14185
  }
 
14186
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14187
  {
 
14188
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14189
    (arg1)->Cancel();
 
14190
    wxPyEndAllowThreads(__tstate);
 
14191
    if (PyErr_Occurred()) SWIG_fail;
 
14192
  }
 
14193
  resultobj = SWIG_Py_Void();
 
14194
  return resultobj;
 
14195
fail:
 
14196
  return NULL;
 
14197
}
 
14198
 
 
14199
 
 
14200
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14201
  PyObject *resultobj = 0;
 
14202
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14203
  void *argp1 = 0 ;
 
14204
  int res1 = 0 ;
 
14205
  PyObject *swig_obj[1] ;
 
14206
  
 
14207
  if (!args) SWIG_fail;
 
14208
  swig_obj[0] = args;
 
14209
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14210
  if (!SWIG_IsOK(res1)) {
 
14211
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14212
  }
 
14213
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14214
  {
 
14215
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14216
    (arg1)->DeleteBack();
 
14217
    wxPyEndAllowThreads(__tstate);
 
14218
    if (PyErr_Occurred()) SWIG_fail;
 
14219
  }
 
14220
  resultobj = SWIG_Py_Void();
 
14221
  return resultobj;
 
14222
fail:
 
14223
  return NULL;
 
14224
}
 
14225
 
 
14226
 
 
14227
SWIGINTERN PyObject *_wrap_StyledTextCtrl_Tab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14228
  PyObject *resultobj = 0;
 
14229
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14230
  void *argp1 = 0 ;
 
14231
  int res1 = 0 ;
 
14232
  PyObject *swig_obj[1] ;
 
14233
  
 
14234
  if (!args) SWIG_fail;
 
14235
  swig_obj[0] = args;
 
14236
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14237
  if (!SWIG_IsOK(res1)) {
 
14238
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Tab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14239
  }
 
14240
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14241
  {
 
14242
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14243
    (arg1)->Tab();
 
14244
    wxPyEndAllowThreads(__tstate);
 
14245
    if (PyErr_Occurred()) SWIG_fail;
 
14246
  }
 
14247
  resultobj = SWIG_Py_Void();
 
14248
  return resultobj;
 
14249
fail:
 
14250
  return NULL;
 
14251
}
 
14252
 
 
14253
 
 
14254
SWIGINTERN PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14255
  PyObject *resultobj = 0;
 
14256
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14257
  void *argp1 = 0 ;
 
14258
  int res1 = 0 ;
 
14259
  PyObject *swig_obj[1] ;
 
14260
  
 
14261
  if (!args) SWIG_fail;
 
14262
  swig_obj[0] = args;
 
14263
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14264
  if (!SWIG_IsOK(res1)) {
 
14265
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BackTab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14266
  }
 
14267
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14268
  {
 
14269
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14270
    (arg1)->BackTab();
 
14271
    wxPyEndAllowThreads(__tstate);
 
14272
    if (PyErr_Occurred()) SWIG_fail;
 
14273
  }
 
14274
  resultobj = SWIG_Py_Void();
 
14275
  return resultobj;
 
14276
fail:
 
14277
  return NULL;
 
14278
}
 
14279
 
 
14280
 
 
14281
SWIGINTERN PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14282
  PyObject *resultobj = 0;
 
14283
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14284
  void *argp1 = 0 ;
 
14285
  int res1 = 0 ;
 
14286
  PyObject *swig_obj[1] ;
 
14287
  
 
14288
  if (!args) SWIG_fail;
 
14289
  swig_obj[0] = args;
 
14290
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14291
  if (!SWIG_IsOK(res1)) {
 
14292
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_NewLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14293
  }
 
14294
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14295
  {
 
14296
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14297
    (arg1)->NewLine();
 
14298
    wxPyEndAllowThreads(__tstate);
 
14299
    if (PyErr_Occurred()) SWIG_fail;
 
14300
  }
 
14301
  resultobj = SWIG_Py_Void();
 
14302
  return resultobj;
 
14303
fail:
 
14304
  return NULL;
 
14305
}
 
14306
 
 
14307
 
 
14308
SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14309
  PyObject *resultobj = 0;
 
14310
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14311
  void *argp1 = 0 ;
 
14312
  int res1 = 0 ;
 
14313
  PyObject *swig_obj[1] ;
 
14314
  
 
14315
  if (!args) SWIG_fail;
 
14316
  swig_obj[0] = args;
 
14317
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14318
  if (!SWIG_IsOK(res1)) {
 
14319
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormFeed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14320
  }
 
14321
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14322
  {
 
14323
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14324
    (arg1)->FormFeed();
 
14325
    wxPyEndAllowThreads(__tstate);
 
14326
    if (PyErr_Occurred()) SWIG_fail;
 
14327
  }
 
14328
  resultobj = SWIG_Py_Void();
 
14329
  return resultobj;
 
14330
fail:
 
14331
  return NULL;
 
14332
}
 
14333
 
 
14334
 
 
14335
SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14336
  PyObject *resultobj = 0;
 
14337
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14338
  void *argp1 = 0 ;
 
14339
  int res1 = 0 ;
 
14340
  PyObject *swig_obj[1] ;
 
14341
  
 
14342
  if (!args) SWIG_fail;
 
14343
  swig_obj[0] = args;
 
14344
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14345
  if (!SWIG_IsOK(res1)) {
 
14346
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHome" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14347
  }
 
14348
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14349
  {
 
14350
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14351
    (arg1)->VCHome();
 
14352
    wxPyEndAllowThreads(__tstate);
 
14353
    if (PyErr_Occurred()) SWIG_fail;
 
14354
  }
 
14355
  resultobj = SWIG_Py_Void();
 
14356
  return resultobj;
 
14357
fail:
 
14358
  return NULL;
 
14359
}
 
14360
 
 
14361
 
 
14362
SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14363
  PyObject *resultobj = 0;
 
14364
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14365
  void *argp1 = 0 ;
 
14366
  int res1 = 0 ;
 
14367
  PyObject *swig_obj[1] ;
 
14368
  
 
14369
  if (!args) SWIG_fail;
 
14370
  swig_obj[0] = args;
 
14371
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14372
  if (!SWIG_IsOK(res1)) {
 
14373
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14374
  }
 
14375
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14376
  {
 
14377
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14378
    (arg1)->VCHomeExtend();
 
14379
    wxPyEndAllowThreads(__tstate);
 
14380
    if (PyErr_Occurred()) SWIG_fail;
 
14381
  }
 
14382
  resultobj = SWIG_Py_Void();
 
14383
  return resultobj;
 
14384
fail:
 
14385
  return NULL;
 
14386
}
 
14387
 
 
14388
 
 
14389
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14390
  PyObject *resultobj = 0;
 
14391
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14392
  void *argp1 = 0 ;
 
14393
  int res1 = 0 ;
 
14394
  PyObject *swig_obj[1] ;
 
14395
  
 
14396
  if (!args) SWIG_fail;
 
14397
  swig_obj[0] = args;
 
14398
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14399
  if (!SWIG_IsOK(res1)) {
 
14400
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomIn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14401
  }
 
14402
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14403
  {
 
14404
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14405
    (arg1)->ZoomIn();
 
14406
    wxPyEndAllowThreads(__tstate);
 
14407
    if (PyErr_Occurred()) SWIG_fail;
 
14408
  }
 
14409
  resultobj = SWIG_Py_Void();
 
14410
  return resultobj;
 
14411
fail:
 
14412
  return NULL;
 
14413
}
 
14414
 
 
14415
 
 
14416
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14417
  PyObject *resultobj = 0;
 
14418
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14419
  void *argp1 = 0 ;
 
14420
  int res1 = 0 ;
 
14421
  PyObject *swig_obj[1] ;
 
14422
  
 
14423
  if (!args) SWIG_fail;
 
14424
  swig_obj[0] = args;
 
14425
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14426
  if (!SWIG_IsOK(res1)) {
 
14427
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomOut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14428
  }
 
14429
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14430
  {
 
14431
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14432
    (arg1)->ZoomOut();
 
14433
    wxPyEndAllowThreads(__tstate);
 
14434
    if (PyErr_Occurred()) SWIG_fail;
 
14435
  }
 
14436
  resultobj = SWIG_Py_Void();
 
14437
  return resultobj;
 
14438
fail:
 
14439
  return NULL;
 
14440
}
 
14441
 
 
14442
 
 
14443
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14444
  PyObject *resultobj = 0;
 
14445
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14446
  void *argp1 = 0 ;
 
14447
  int res1 = 0 ;
 
14448
  PyObject *swig_obj[1] ;
 
14449
  
 
14450
  if (!args) SWIG_fail;
 
14451
  swig_obj[0] = args;
 
14452
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14453
  if (!SWIG_IsOK(res1)) {
 
14454
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14455
  }
 
14456
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14457
  {
 
14458
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14459
    (arg1)->DelWordLeft();
 
14460
    wxPyEndAllowThreads(__tstate);
 
14461
    if (PyErr_Occurred()) SWIG_fail;
 
14462
  }
 
14463
  resultobj = SWIG_Py_Void();
 
14464
  return resultobj;
 
14465
fail:
 
14466
  return NULL;
 
14467
}
 
14468
 
 
14469
 
 
14470
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14471
  PyObject *resultobj = 0;
 
14472
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14473
  void *argp1 = 0 ;
 
14474
  int res1 = 0 ;
 
14475
  PyObject *swig_obj[1] ;
 
14476
  
 
14477
  if (!args) SWIG_fail;
 
14478
  swig_obj[0] = args;
 
14479
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14480
  if (!SWIG_IsOK(res1)) {
 
14481
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14482
  }
 
14483
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14484
  {
 
14485
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14486
    (arg1)->DelWordRight();
 
14487
    wxPyEndAllowThreads(__tstate);
 
14488
    if (PyErr_Occurred()) SWIG_fail;
 
14489
  }
 
14490
  resultobj = SWIG_Py_Void();
 
14491
  return resultobj;
 
14492
fail:
 
14493
  return NULL;
 
14494
}
 
14495
 
 
14496
 
 
14497
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordRightEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14498
  PyObject *resultobj = 0;
 
14499
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14500
  void *argp1 = 0 ;
 
14501
  int res1 = 0 ;
 
14502
  PyObject *swig_obj[1] ;
 
14503
  
 
14504
  if (!args) SWIG_fail;
 
14505
  swig_obj[0] = args;
 
14506
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14507
  if (!SWIG_IsOK(res1)) {
 
14508
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordRightEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14509
  }
 
14510
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14511
  {
 
14512
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14513
    (arg1)->DelWordRightEnd();
 
14514
    wxPyEndAllowThreads(__tstate);
 
14515
    if (PyErr_Occurred()) SWIG_fail;
 
14516
  }
 
14517
  resultobj = SWIG_Py_Void();
 
14518
  return resultobj;
 
14519
fail:
 
14520
  return NULL;
 
14521
}
 
14522
 
 
14523
 
 
14524
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14525
  PyObject *resultobj = 0;
 
14526
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14527
  void *argp1 = 0 ;
 
14528
  int res1 = 0 ;
 
14529
  PyObject *swig_obj[1] ;
 
14530
  
 
14531
  if (!args) SWIG_fail;
 
14532
  swig_obj[0] = args;
 
14533
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14534
  if (!SWIG_IsOK(res1)) {
 
14535
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14536
  }
 
14537
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14538
  {
 
14539
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14540
    (arg1)->LineCut();
 
14541
    wxPyEndAllowThreads(__tstate);
 
14542
    if (PyErr_Occurred()) SWIG_fail;
 
14543
  }
 
14544
  resultobj = SWIG_Py_Void();
 
14545
  return resultobj;
 
14546
fail:
 
14547
  return NULL;
 
14548
}
 
14549
 
 
14550
 
 
14551
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14552
  PyObject *resultobj = 0;
 
14553
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14554
  void *argp1 = 0 ;
 
14555
  int res1 = 0 ;
 
14556
  PyObject *swig_obj[1] ;
 
14557
  
 
14558
  if (!args) SWIG_fail;
 
14559
  swig_obj[0] = args;
 
14560
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14561
  if (!SWIG_IsOK(res1)) {
 
14562
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14563
  }
 
14564
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14565
  {
 
14566
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14567
    (arg1)->LineDelete();
 
14568
    wxPyEndAllowThreads(__tstate);
 
14569
    if (PyErr_Occurred()) SWIG_fail;
 
14570
  }
 
14571
  resultobj = SWIG_Py_Void();
 
14572
  return resultobj;
 
14573
fail:
 
14574
  return NULL;
 
14575
}
 
14576
 
 
14577
 
 
14578
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14579
  PyObject *resultobj = 0;
 
14580
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14581
  void *argp1 = 0 ;
 
14582
  int res1 = 0 ;
 
14583
  PyObject *swig_obj[1] ;
 
14584
  
 
14585
  if (!args) SWIG_fail;
 
14586
  swig_obj[0] = args;
 
14587
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14588
  if (!SWIG_IsOK(res1)) {
 
14589
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineTranspose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14590
  }
 
14591
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14592
  {
 
14593
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14594
    (arg1)->LineTranspose();
 
14595
    wxPyEndAllowThreads(__tstate);
 
14596
    if (PyErr_Occurred()) SWIG_fail;
 
14597
  }
 
14598
  resultobj = SWIG_Py_Void();
 
14599
  return resultobj;
 
14600
fail:
 
14601
  return NULL;
 
14602
}
 
14603
 
 
14604
 
 
14605
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14606
  PyObject *resultobj = 0;
 
14607
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14608
  void *argp1 = 0 ;
 
14609
  int res1 = 0 ;
 
14610
  PyObject *swig_obj[1] ;
 
14611
  
 
14612
  if (!args) SWIG_fail;
 
14613
  swig_obj[0] = args;
 
14614
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14615
  if (!SWIG_IsOK(res1)) {
 
14616
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14617
  }
 
14618
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14619
  {
 
14620
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14621
    (arg1)->LineDuplicate();
 
14622
    wxPyEndAllowThreads(__tstate);
 
14623
    if (PyErr_Occurred()) SWIG_fail;
 
14624
  }
 
14625
  resultobj = SWIG_Py_Void();
 
14626
  return resultobj;
 
14627
fail:
 
14628
  return NULL;
 
14629
}
 
14630
 
 
14631
 
 
14632
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14633
  PyObject *resultobj = 0;
 
14634
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14635
  void *argp1 = 0 ;
 
14636
  int res1 = 0 ;
 
14637
  PyObject *swig_obj[1] ;
 
14638
  
 
14639
  if (!args) SWIG_fail;
 
14640
  swig_obj[0] = args;
 
14641
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14642
  if (!SWIG_IsOK(res1)) {
 
14643
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LowerCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14644
  }
 
14645
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14646
  {
 
14647
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14648
    (arg1)->LowerCase();
 
14649
    wxPyEndAllowThreads(__tstate);
 
14650
    if (PyErr_Occurred()) SWIG_fail;
 
14651
  }
 
14652
  resultobj = SWIG_Py_Void();
 
14653
  return resultobj;
 
14654
fail:
 
14655
  return NULL;
 
14656
}
 
14657
 
 
14658
 
 
14659
SWIGINTERN PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14660
  PyObject *resultobj = 0;
 
14661
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14662
  void *argp1 = 0 ;
 
14663
  int res1 = 0 ;
 
14664
  PyObject *swig_obj[1] ;
 
14665
  
 
14666
  if (!args) SWIG_fail;
 
14667
  swig_obj[0] = args;
 
14668
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14669
  if (!SWIG_IsOK(res1)) {
 
14670
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UpperCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14671
  }
 
14672
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14673
  {
 
14674
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14675
    (arg1)->UpperCase();
 
14676
    wxPyEndAllowThreads(__tstate);
 
14677
    if (PyErr_Occurred()) SWIG_fail;
 
14678
  }
 
14679
  resultobj = SWIG_Py_Void();
 
14680
  return resultobj;
 
14681
fail:
 
14682
  return NULL;
 
14683
}
 
14684
 
 
14685
 
 
14686
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14687
  PyObject *resultobj = 0;
 
14688
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14689
  void *argp1 = 0 ;
 
14690
  int res1 = 0 ;
 
14691
  PyObject *swig_obj[1] ;
 
14692
  
 
14693
  if (!args) SWIG_fail;
 
14694
  swig_obj[0] = args;
 
14695
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14696
  if (!SWIG_IsOK(res1)) {
 
14697
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14698
  }
 
14699
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14700
  {
 
14701
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14702
    (arg1)->LineScrollDown();
 
14703
    wxPyEndAllowThreads(__tstate);
 
14704
    if (PyErr_Occurred()) SWIG_fail;
 
14705
  }
 
14706
  resultobj = SWIG_Py_Void();
 
14707
  return resultobj;
 
14708
fail:
 
14709
  return NULL;
 
14710
}
 
14711
 
 
14712
 
 
14713
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14714
  PyObject *resultobj = 0;
 
14715
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14716
  void *argp1 = 0 ;
 
14717
  int res1 = 0 ;
 
14718
  PyObject *swig_obj[1] ;
 
14719
  
 
14720
  if (!args) SWIG_fail;
 
14721
  swig_obj[0] = args;
 
14722
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14723
  if (!SWIG_IsOK(res1)) {
 
14724
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14725
  }
 
14726
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14727
  {
 
14728
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14729
    (arg1)->LineScrollUp();
 
14730
    wxPyEndAllowThreads(__tstate);
 
14731
    if (PyErr_Occurred()) SWIG_fail;
 
14732
  }
 
14733
  resultobj = SWIG_Py_Void();
 
14734
  return resultobj;
 
14735
fail:
 
14736
  return NULL;
 
14737
}
 
14738
 
 
14739
 
 
14740
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14741
  PyObject *resultobj = 0;
 
14742
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14743
  void *argp1 = 0 ;
 
14744
  int res1 = 0 ;
 
14745
  PyObject *swig_obj[1] ;
 
14746
  
 
14747
  if (!args) SWIG_fail;
 
14748
  swig_obj[0] = args;
 
14749
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14750
  if (!SWIG_IsOK(res1)) {
 
14751
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBackNotLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14752
  }
 
14753
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14754
  {
 
14755
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14756
    (arg1)->DeleteBackNotLine();
 
14757
    wxPyEndAllowThreads(__tstate);
 
14758
    if (PyErr_Occurred()) SWIG_fail;
 
14759
  }
 
14760
  resultobj = SWIG_Py_Void();
 
14761
  return resultobj;
 
14762
fail:
 
14763
  return NULL;
 
14764
}
 
14765
 
 
14766
 
 
14767
SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14768
  PyObject *resultobj = 0;
 
14769
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14770
  void *argp1 = 0 ;
 
14771
  int res1 = 0 ;
 
14772
  PyObject *swig_obj[1] ;
 
14773
  
 
14774
  if (!args) SWIG_fail;
 
14775
  swig_obj[0] = args;
 
14776
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14777
  if (!SWIG_IsOK(res1)) {
 
14778
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14779
  }
 
14780
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14781
  {
 
14782
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14783
    (arg1)->HomeDisplay();
 
14784
    wxPyEndAllowThreads(__tstate);
 
14785
    if (PyErr_Occurred()) SWIG_fail;
 
14786
  }
 
14787
  resultobj = SWIG_Py_Void();
 
14788
  return resultobj;
 
14789
fail:
 
14790
  return NULL;
 
14791
}
 
14792
 
 
14793
 
 
14794
SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14795
  PyObject *resultobj = 0;
 
14796
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14797
  void *argp1 = 0 ;
 
14798
  int res1 = 0 ;
 
14799
  PyObject *swig_obj[1] ;
 
14800
  
 
14801
  if (!args) SWIG_fail;
 
14802
  swig_obj[0] = args;
 
14803
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14804
  if (!SWIG_IsOK(res1)) {
 
14805
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14806
  }
 
14807
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14808
  {
 
14809
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14810
    (arg1)->HomeDisplayExtend();
 
14811
    wxPyEndAllowThreads(__tstate);
 
14812
    if (PyErr_Occurred()) SWIG_fail;
 
14813
  }
 
14814
  resultobj = SWIG_Py_Void();
 
14815
  return resultobj;
 
14816
fail:
 
14817
  return NULL;
 
14818
}
 
14819
 
 
14820
 
 
14821
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14822
  PyObject *resultobj = 0;
 
14823
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14824
  void *argp1 = 0 ;
 
14825
  int res1 = 0 ;
 
14826
  PyObject *swig_obj[1] ;
 
14827
  
 
14828
  if (!args) SWIG_fail;
 
14829
  swig_obj[0] = args;
 
14830
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14831
  if (!SWIG_IsOK(res1)) {
 
14832
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14833
  }
 
14834
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14835
  {
 
14836
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14837
    (arg1)->LineEndDisplay();
 
14838
    wxPyEndAllowThreads(__tstate);
 
14839
    if (PyErr_Occurred()) SWIG_fail;
 
14840
  }
 
14841
  resultobj = SWIG_Py_Void();
 
14842
  return resultobj;
 
14843
fail:
 
14844
  return NULL;
 
14845
}
 
14846
 
 
14847
 
 
14848
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14849
  PyObject *resultobj = 0;
 
14850
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14851
  void *argp1 = 0 ;
 
14852
  int res1 = 0 ;
 
14853
  PyObject *swig_obj[1] ;
 
14854
  
 
14855
  if (!args) SWIG_fail;
 
14856
  swig_obj[0] = args;
 
14857
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14858
  if (!SWIG_IsOK(res1)) {
 
14859
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14860
  }
 
14861
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14862
  {
 
14863
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14864
    (arg1)->LineEndDisplayExtend();
 
14865
    wxPyEndAllowThreads(__tstate);
 
14866
    if (PyErr_Occurred()) SWIG_fail;
 
14867
  }
 
14868
  resultobj = SWIG_Py_Void();
 
14869
  return resultobj;
 
14870
fail:
 
14871
  return NULL;
 
14872
}
 
14873
 
 
14874
 
 
14875
SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14876
  PyObject *resultobj = 0;
 
14877
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14878
  void *argp1 = 0 ;
 
14879
  int res1 = 0 ;
 
14880
  PyObject *swig_obj[1] ;
 
14881
  
 
14882
  if (!args) SWIG_fail;
 
14883
  swig_obj[0] = args;
 
14884
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14885
  if (!SWIG_IsOK(res1)) {
 
14886
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14887
  }
 
14888
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14889
  {
 
14890
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14891
    (arg1)->HomeWrap();
 
14892
    wxPyEndAllowThreads(__tstate);
 
14893
    if (PyErr_Occurred()) SWIG_fail;
 
14894
  }
 
14895
  resultobj = SWIG_Py_Void();
 
14896
  return resultobj;
 
14897
fail:
 
14898
  return NULL;
 
14899
}
 
14900
 
 
14901
 
 
14902
SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14903
  PyObject *resultobj = 0;
 
14904
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14905
  void *argp1 = 0 ;
 
14906
  int res1 = 0 ;
 
14907
  PyObject *swig_obj[1] ;
 
14908
  
 
14909
  if (!args) SWIG_fail;
 
14910
  swig_obj[0] = args;
 
14911
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14912
  if (!SWIG_IsOK(res1)) {
 
14913
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14914
  }
 
14915
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14916
  {
 
14917
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14918
    (arg1)->HomeWrapExtend();
 
14919
    wxPyEndAllowThreads(__tstate);
 
14920
    if (PyErr_Occurred()) SWIG_fail;
 
14921
  }
 
14922
  resultobj = SWIG_Py_Void();
 
14923
  return resultobj;
 
14924
fail:
 
14925
  return NULL;
 
14926
}
 
14927
 
 
14928
 
 
14929
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14930
  PyObject *resultobj = 0;
 
14931
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14932
  void *argp1 = 0 ;
 
14933
  int res1 = 0 ;
 
14934
  PyObject *swig_obj[1] ;
 
14935
  
 
14936
  if (!args) SWIG_fail;
 
14937
  swig_obj[0] = args;
 
14938
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14939
  if (!SWIG_IsOK(res1)) {
 
14940
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14941
  }
 
14942
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14943
  {
 
14944
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14945
    (arg1)->LineEndWrap();
 
14946
    wxPyEndAllowThreads(__tstate);
 
14947
    if (PyErr_Occurred()) SWIG_fail;
 
14948
  }
 
14949
  resultobj = SWIG_Py_Void();
 
14950
  return resultobj;
 
14951
fail:
 
14952
  return NULL;
 
14953
}
 
14954
 
 
14955
 
 
14956
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14957
  PyObject *resultobj = 0;
 
14958
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14959
  void *argp1 = 0 ;
 
14960
  int res1 = 0 ;
 
14961
  PyObject *swig_obj[1] ;
 
14962
  
 
14963
  if (!args) SWIG_fail;
 
14964
  swig_obj[0] = args;
 
14965
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14966
  if (!SWIG_IsOK(res1)) {
 
14967
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14968
  }
 
14969
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14970
  {
 
14971
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14972
    (arg1)->LineEndWrapExtend();
 
14973
    wxPyEndAllowThreads(__tstate);
 
14974
    if (PyErr_Occurred()) SWIG_fail;
 
14975
  }
 
14976
  resultobj = SWIG_Py_Void();
 
14977
  return resultobj;
 
14978
fail:
 
14979
  return NULL;
 
14980
}
 
14981
 
 
14982
 
 
14983
SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14984
  PyObject *resultobj = 0;
 
14985
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
14986
  void *argp1 = 0 ;
 
14987
  int res1 = 0 ;
 
14988
  PyObject *swig_obj[1] ;
 
14989
  
 
14990
  if (!args) SWIG_fail;
 
14991
  swig_obj[0] = args;
 
14992
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
14993
  if (!SWIG_IsOK(res1)) {
 
14994
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
14995
  }
 
14996
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
14997
  {
 
14998
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14999
    (arg1)->VCHomeWrap();
 
15000
    wxPyEndAllowThreads(__tstate);
 
15001
    if (PyErr_Occurred()) SWIG_fail;
 
15002
  }
 
15003
  resultobj = SWIG_Py_Void();
 
15004
  return resultobj;
 
15005
fail:
 
15006
  return NULL;
 
15007
}
 
15008
 
 
15009
 
 
15010
SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15011
  PyObject *resultobj = 0;
 
15012
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15013
  void *argp1 = 0 ;
 
15014
  int res1 = 0 ;
 
15015
  PyObject *swig_obj[1] ;
 
15016
  
 
15017
  if (!args) SWIG_fail;
 
15018
  swig_obj[0] = args;
 
15019
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15020
  if (!SWIG_IsOK(res1)) {
 
15021
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15022
  }
 
15023
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15024
  {
 
15025
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15026
    (arg1)->VCHomeWrapExtend();
 
15027
    wxPyEndAllowThreads(__tstate);
 
15028
    if (PyErr_Occurred()) SWIG_fail;
 
15029
  }
 
15030
  resultobj = SWIG_Py_Void();
 
15031
  return resultobj;
 
15032
fail:
 
15033
  return NULL;
 
15034
}
 
15035
 
 
15036
 
 
15037
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15038
  PyObject *resultobj = 0;
 
15039
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15040
  void *argp1 = 0 ;
 
15041
  int res1 = 0 ;
 
15042
  PyObject *swig_obj[1] ;
 
15043
  
 
15044
  if (!args) SWIG_fail;
 
15045
  swig_obj[0] = args;
 
15046
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15047
  if (!SWIG_IsOK(res1)) {
 
15048
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCopy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15049
  }
 
15050
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15051
  {
 
15052
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15053
    (arg1)->LineCopy();
 
15054
    wxPyEndAllowThreads(__tstate);
 
15055
    if (PyErr_Occurred()) SWIG_fail;
 
15056
  }
 
15057
  resultobj = SWIG_Py_Void();
 
15058
  return resultobj;
 
15059
fail:
 
15060
  return NULL;
 
15061
}
 
15062
 
 
15063
 
 
15064
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15065
  PyObject *resultobj = 0;
 
15066
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15067
  void *argp1 = 0 ;
 
15068
  int res1 = 0 ;
 
15069
  PyObject *swig_obj[1] ;
 
15070
  
 
15071
  if (!args) SWIG_fail;
 
15072
  swig_obj[0] = args;
 
15073
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15074
  if (!SWIG_IsOK(res1)) {
 
15075
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MoveCaretInsideView" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15076
  }
 
15077
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15078
  {
 
15079
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15080
    (arg1)->MoveCaretInsideView();
 
15081
    wxPyEndAllowThreads(__tstate);
 
15082
    if (PyErr_Occurred()) SWIG_fail;
 
15083
  }
 
15084
  resultobj = SWIG_Py_Void();
 
15085
  return resultobj;
 
15086
fail:
 
15087
  return NULL;
 
15088
}
 
15089
 
 
15090
 
 
15091
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15092
  PyObject *resultobj = 0;
 
15093
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15094
  int arg2 ;
 
15095
  int result;
 
15096
  void *argp1 = 0 ;
 
15097
  int res1 = 0 ;
 
15098
  int val2 ;
 
15099
  int ecode2 = 0 ;
 
15100
  PyObject * obj0 = 0 ;
 
15101
  PyObject * obj1 = 0 ;
 
15102
  char *  kwnames[] = {
 
15103
    (char *) "self",(char *) "line", NULL 
 
15104
  };
 
15105
  
 
15106
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) SWIG_fail;
 
15107
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15108
  if (!SWIG_IsOK(res1)) {
 
15109
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
15110
  }
 
15111
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15112
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15113
  if (!SWIG_IsOK(ecode2)) {
 
15114
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "2"" of type '" "int""'");
 
15115
  } 
 
15116
  arg2 = static_cast< int >(val2);
 
15117
  {
 
15118
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15119
    result = (int)((wxStyledTextCtrl const *)arg1)->LineLength(arg2);
 
15120
    wxPyEndAllowThreads(__tstate);
 
15121
    if (PyErr_Occurred()) SWIG_fail;
 
15122
  }
 
15123
  resultobj = SWIG_From_int(static_cast< int >(result));
 
15124
  return resultobj;
 
15125
fail:
 
15126
  return NULL;
 
15127
}
 
15128
 
 
15129
 
 
15130
SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15131
  PyObject *resultobj = 0;
 
15132
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15133
  int arg2 ;
 
15134
  int arg3 ;
 
15135
  void *argp1 = 0 ;
 
15136
  int res1 = 0 ;
 
15137
  int val2 ;
 
15138
  int ecode2 = 0 ;
 
15139
  int val3 ;
 
15140
  int ecode3 = 0 ;
 
15141
  PyObject * obj0 = 0 ;
 
15142
  PyObject * obj1 = 0 ;
 
15143
  PyObject * obj2 = 0 ;
 
15144
  char *  kwnames[] = {
 
15145
    (char *) "self",(char *) "pos1",(char *) "pos2", NULL 
 
15146
  };
 
15147
  
 
15148
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
15149
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15150
  if (!SWIG_IsOK(res1)) {
 
15151
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15152
  }
 
15153
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15154
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15155
  if (!SWIG_IsOK(ecode2)) {
 
15156
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "2"" of type '" "int""'");
 
15157
  } 
 
15158
  arg2 = static_cast< int >(val2);
 
15159
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
15160
  if (!SWIG_IsOK(ecode3)) {
 
15161
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "3"" of type '" "int""'");
 
15162
  } 
 
15163
  arg3 = static_cast< int >(val3);
 
15164
  {
 
15165
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15166
    (arg1)->BraceHighlight(arg2,arg3);
 
15167
    wxPyEndAllowThreads(__tstate);
 
15168
    if (PyErr_Occurred()) SWIG_fail;
 
15169
  }
 
15170
  resultobj = SWIG_Py_Void();
 
15171
  return resultobj;
 
15172
fail:
 
15173
  return NULL;
 
15174
}
 
15175
 
 
15176
 
 
15177
SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15178
  PyObject *resultobj = 0;
 
15179
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15180
  int arg2 ;
 
15181
  void *argp1 = 0 ;
 
15182
  int res1 = 0 ;
 
15183
  int val2 ;
 
15184
  int ecode2 = 0 ;
 
15185
  PyObject * obj0 = 0 ;
 
15186
  PyObject * obj1 = 0 ;
 
15187
  char *  kwnames[] = {
 
15188
    (char *) "self",(char *) "pos", NULL 
 
15189
  };
 
15190
  
 
15191
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) SWIG_fail;
 
15192
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15193
  if (!SWIG_IsOK(res1)) {
 
15194
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15195
  }
 
15196
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15197
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15198
  if (!SWIG_IsOK(ecode2)) {
 
15199
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "2"" of type '" "int""'");
 
15200
  } 
 
15201
  arg2 = static_cast< int >(val2);
 
15202
  {
 
15203
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15204
    (arg1)->BraceBadLight(arg2);
 
15205
    wxPyEndAllowThreads(__tstate);
 
15206
    if (PyErr_Occurred()) SWIG_fail;
 
15207
  }
 
15208
  resultobj = SWIG_Py_Void();
 
15209
  return resultobj;
 
15210
fail:
 
15211
  return NULL;
 
15212
}
 
15213
 
 
15214
 
 
15215
SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15216
  PyObject *resultobj = 0;
 
15217
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15218
  int arg2 ;
 
15219
  int result;
 
15220
  void *argp1 = 0 ;
 
15221
  int res1 = 0 ;
 
15222
  int val2 ;
 
15223
  int ecode2 = 0 ;
 
15224
  PyObject * obj0 = 0 ;
 
15225
  PyObject * obj1 = 0 ;
 
15226
  char *  kwnames[] = {
 
15227
    (char *) "self",(char *) "pos", NULL 
 
15228
  };
 
15229
  
 
15230
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) SWIG_fail;
 
15231
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15232
  if (!SWIG_IsOK(res1)) {
 
15233
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15234
  }
 
15235
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15236
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15237
  if (!SWIG_IsOK(ecode2)) {
 
15238
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "2"" of type '" "int""'");
 
15239
  } 
 
15240
  arg2 = static_cast< int >(val2);
 
15241
  {
 
15242
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15243
    result = (int)(arg1)->BraceMatch(arg2);
 
15244
    wxPyEndAllowThreads(__tstate);
 
15245
    if (PyErr_Occurred()) SWIG_fail;
 
15246
  }
 
15247
  resultobj = SWIG_From_int(static_cast< int >(result));
 
15248
  return resultobj;
 
15249
fail:
 
15250
  return NULL;
 
15251
}
 
15252
 
 
15253
 
 
15254
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15255
  PyObject *resultobj = 0;
 
15256
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15257
  bool result;
 
15258
  void *argp1 = 0 ;
 
15259
  int res1 = 0 ;
 
15260
  PyObject *swig_obj[1] ;
 
15261
  
 
15262
  if (!args) SWIG_fail;
 
15263
  swig_obj[0] = args;
 
15264
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15265
  if (!SWIG_IsOK(res1)) {
 
15266
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
15267
  }
 
15268
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15269
  {
 
15270
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15271
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetViewEOL();
 
15272
    wxPyEndAllowThreads(__tstate);
 
15273
    if (PyErr_Occurred()) SWIG_fail;
 
15274
  }
 
15275
  {
 
15276
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15277
  }
 
15278
  return resultobj;
 
15279
fail:
 
15280
  return NULL;
 
15281
}
 
15282
 
 
15283
 
 
15284
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15285
  PyObject *resultobj = 0;
 
15286
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15287
  bool arg2 ;
 
15288
  void *argp1 = 0 ;
 
15289
  int res1 = 0 ;
 
15290
  bool val2 ;
 
15291
  int ecode2 = 0 ;
 
15292
  PyObject * obj0 = 0 ;
 
15293
  PyObject * obj1 = 0 ;
 
15294
  char *  kwnames[] = {
 
15295
    (char *) "self",(char *) "visible", NULL 
 
15296
  };
 
15297
  
 
15298
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) SWIG_fail;
 
15299
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15300
  if (!SWIG_IsOK(res1)) {
 
15301
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15302
  }
 
15303
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15304
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
15305
  if (!SWIG_IsOK(ecode2)) {
 
15306
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "2"" of type '" "bool""'");
 
15307
  } 
 
15308
  arg2 = static_cast< bool >(val2);
 
15309
  {
 
15310
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15311
    (arg1)->SetViewEOL(arg2);
 
15312
    wxPyEndAllowThreads(__tstate);
 
15313
    if (PyErr_Occurred()) SWIG_fail;
 
15314
  }
 
15315
  resultobj = SWIG_Py_Void();
 
15316
  return resultobj;
 
15317
fail:
 
15318
  return NULL;
 
15319
}
 
15320
 
 
15321
 
 
15322
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15323
  PyObject *resultobj = 0;
 
15324
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15325
  void *result = 0 ;
 
15326
  void *argp1 = 0 ;
 
15327
  int res1 = 0 ;
 
15328
  PyObject *swig_obj[1] ;
 
15329
  
 
15330
  if (!args) SWIG_fail;
 
15331
  swig_obj[0] = args;
 
15332
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15333
  if (!SWIG_IsOK(res1)) {
 
15334
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15335
  }
 
15336
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15337
  {
 
15338
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15339
    result = (void *)(arg1)->GetDocPointer();
 
15340
    wxPyEndAllowThreads(__tstate);
 
15341
    if (PyErr_Occurred()) SWIG_fail;
 
15342
  }
 
15343
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
 
15344
  return resultobj;
 
15345
fail:
 
15346
  return NULL;
 
15347
}
 
15348
 
 
15349
 
 
15350
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15351
  PyObject *resultobj = 0;
 
15352
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15353
  void *arg2 = (void *) 0 ;
 
15354
  void *argp1 = 0 ;
 
15355
  int res1 = 0 ;
 
15356
  int res2 ;
 
15357
  PyObject * obj0 = 0 ;
 
15358
  PyObject * obj1 = 0 ;
 
15359
  char *  kwnames[] = {
 
15360
    (char *) "self",(char *) "docPointer", NULL 
 
15361
  };
 
15362
  
 
15363
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) SWIG_fail;
 
15364
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15365
  if (!SWIG_IsOK(res1)) {
 
15366
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15367
  }
 
15368
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15369
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
 
15370
  if (!SWIG_IsOK(res2)) {
 
15371
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "2"" of type '" "void *""'"); 
 
15372
  }
 
15373
  {
 
15374
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15375
    (arg1)->SetDocPointer(arg2);
 
15376
    wxPyEndAllowThreads(__tstate);
 
15377
    if (PyErr_Occurred()) SWIG_fail;
 
15378
  }
 
15379
  resultobj = SWIG_Py_Void();
 
15380
  return resultobj;
 
15381
fail:
 
15382
  return NULL;
 
15383
}
 
15384
 
 
15385
 
 
15386
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15387
  PyObject *resultobj = 0;
 
15388
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15389
  int arg2 ;
 
15390
  void *argp1 = 0 ;
 
15391
  int res1 = 0 ;
 
15392
  int val2 ;
 
15393
  int ecode2 = 0 ;
 
15394
  PyObject * obj0 = 0 ;
 
15395
  PyObject * obj1 = 0 ;
 
15396
  char *  kwnames[] = {
 
15397
    (char *) "self",(char *) "mask", NULL 
 
15398
  };
 
15399
  
 
15400
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) SWIG_fail;
 
15401
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15402
  if (!SWIG_IsOK(res1)) {
 
15403
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15404
  }
 
15405
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15406
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15407
  if (!SWIG_IsOK(ecode2)) {
 
15408
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "2"" of type '" "int""'");
 
15409
  } 
 
15410
  arg2 = static_cast< int >(val2);
 
15411
  {
 
15412
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15413
    (arg1)->SetModEventMask(arg2);
 
15414
    wxPyEndAllowThreads(__tstate);
 
15415
    if (PyErr_Occurred()) SWIG_fail;
 
15416
  }
 
15417
  resultobj = SWIG_Py_Void();
 
15418
  return resultobj;
 
15419
fail:
 
15420
  return NULL;
 
15421
}
 
15422
 
 
15423
 
 
15424
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15425
  PyObject *resultobj = 0;
 
15426
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15427
  int result;
 
15428
  void *argp1 = 0 ;
 
15429
  int res1 = 0 ;
 
15430
  PyObject *swig_obj[1] ;
 
15431
  
 
15432
  if (!args) SWIG_fail;
 
15433
  swig_obj[0] = args;
 
15434
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15435
  if (!SWIG_IsOK(res1)) {
 
15436
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
15437
  }
 
15438
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15439
  {
 
15440
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15441
    result = (int)((wxStyledTextCtrl const *)arg1)->GetEdgeColumn();
 
15442
    wxPyEndAllowThreads(__tstate);
 
15443
    if (PyErr_Occurred()) SWIG_fail;
 
15444
  }
 
15445
  resultobj = SWIG_From_int(static_cast< int >(result));
 
15446
  return resultobj;
 
15447
fail:
 
15448
  return NULL;
 
15449
}
 
15450
 
 
15451
 
 
15452
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15453
  PyObject *resultobj = 0;
 
15454
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15455
  int arg2 ;
 
15456
  void *argp1 = 0 ;
 
15457
  int res1 = 0 ;
 
15458
  int val2 ;
 
15459
  int ecode2 = 0 ;
 
15460
  PyObject * obj0 = 0 ;
 
15461
  PyObject * obj1 = 0 ;
 
15462
  char *  kwnames[] = {
 
15463
    (char *) "self",(char *) "column", NULL 
 
15464
  };
 
15465
  
 
15466
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) SWIG_fail;
 
15467
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15468
  if (!SWIG_IsOK(res1)) {
 
15469
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15470
  }
 
15471
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15472
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15473
  if (!SWIG_IsOK(ecode2)) {
 
15474
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "2"" of type '" "int""'");
 
15475
  } 
 
15476
  arg2 = static_cast< int >(val2);
 
15477
  {
 
15478
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15479
    (arg1)->SetEdgeColumn(arg2);
 
15480
    wxPyEndAllowThreads(__tstate);
 
15481
    if (PyErr_Occurred()) SWIG_fail;
 
15482
  }
 
15483
  resultobj = SWIG_Py_Void();
 
15484
  return resultobj;
 
15485
fail:
 
15486
  return NULL;
 
15487
}
 
15488
 
 
15489
 
 
15490
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15491
  PyObject *resultobj = 0;
 
15492
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15493
  int result;
 
15494
  void *argp1 = 0 ;
 
15495
  int res1 = 0 ;
 
15496
  PyObject *swig_obj[1] ;
 
15497
  
 
15498
  if (!args) SWIG_fail;
 
15499
  swig_obj[0] = args;
 
15500
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15501
  if (!SWIG_IsOK(res1)) {
 
15502
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
15503
  }
 
15504
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15505
  {
 
15506
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15507
    result = (int)((wxStyledTextCtrl const *)arg1)->GetEdgeMode();
 
15508
    wxPyEndAllowThreads(__tstate);
 
15509
    if (PyErr_Occurred()) SWIG_fail;
 
15510
  }
 
15511
  resultobj = SWIG_From_int(static_cast< int >(result));
 
15512
  return resultobj;
 
15513
fail:
 
15514
  return NULL;
 
15515
}
 
15516
 
 
15517
 
 
15518
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15519
  PyObject *resultobj = 0;
 
15520
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15521
  int arg2 ;
 
15522
  void *argp1 = 0 ;
 
15523
  int res1 = 0 ;
 
15524
  int val2 ;
 
15525
  int ecode2 = 0 ;
 
15526
  PyObject * obj0 = 0 ;
 
15527
  PyObject * obj1 = 0 ;
 
15528
  char *  kwnames[] = {
 
15529
    (char *) "self",(char *) "mode", NULL 
 
15530
  };
 
15531
  
 
15532
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) SWIG_fail;
 
15533
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15534
  if (!SWIG_IsOK(res1)) {
 
15535
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15536
  }
 
15537
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15538
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15539
  if (!SWIG_IsOK(ecode2)) {
 
15540
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "2"" of type '" "int""'");
 
15541
  } 
 
15542
  arg2 = static_cast< int >(val2);
 
15543
  {
 
15544
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15545
    (arg1)->SetEdgeMode(arg2);
 
15546
    wxPyEndAllowThreads(__tstate);
 
15547
    if (PyErr_Occurred()) SWIG_fail;
 
15548
  }
 
15549
  resultobj = SWIG_Py_Void();
 
15550
  return resultobj;
 
15551
fail:
 
15552
  return NULL;
 
15553
}
 
15554
 
 
15555
 
 
15556
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15557
  PyObject *resultobj = 0;
 
15558
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15559
  wxColour result;
 
15560
  void *argp1 = 0 ;
 
15561
  int res1 = 0 ;
 
15562
  PyObject *swig_obj[1] ;
 
15563
  
 
15564
  if (!args) SWIG_fail;
 
15565
  swig_obj[0] = args;
 
15566
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15567
  if (!SWIG_IsOK(res1)) {
 
15568
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
15569
  }
 
15570
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15571
  {
 
15572
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15573
    result = ((wxStyledTextCtrl const *)arg1)->GetEdgeColour();
 
15574
    wxPyEndAllowThreads(__tstate);
 
15575
    if (PyErr_Occurred()) SWIG_fail;
 
15576
  }
 
15577
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
15578
  return resultobj;
 
15579
fail:
 
15580
  return NULL;
 
15581
}
 
15582
 
 
15583
 
 
15584
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15585
  PyObject *resultobj = 0;
 
15586
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15587
  wxColour *arg2 = 0 ;
 
15588
  void *argp1 = 0 ;
 
15589
  int res1 = 0 ;
 
15590
  wxColour temp2 ;
 
15591
  PyObject * obj0 = 0 ;
 
15592
  PyObject * obj1 = 0 ;
 
15593
  char *  kwnames[] = {
 
15594
    (char *) "self",(char *) "edgeColour", NULL 
 
15595
  };
 
15596
  
 
15597
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) SWIG_fail;
 
15598
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15599
  if (!SWIG_IsOK(res1)) {
 
15600
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15601
  }
 
15602
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15603
  {
 
15604
    arg2 = &temp2;
 
15605
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
15606
  }
 
15607
  {
 
15608
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15609
    (arg1)->SetEdgeColour((wxColour const &)*arg2);
 
15610
    wxPyEndAllowThreads(__tstate);
 
15611
    if (PyErr_Occurred()) SWIG_fail;
 
15612
  }
 
15613
  resultobj = SWIG_Py_Void();
 
15614
  return resultobj;
 
15615
fail:
 
15616
  return NULL;
 
15617
}
 
15618
 
 
15619
 
 
15620
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15621
  PyObject *resultobj = 0;
 
15622
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15623
  void *argp1 = 0 ;
 
15624
  int res1 = 0 ;
 
15625
  PyObject *swig_obj[1] ;
 
15626
  
 
15627
  if (!args) SWIG_fail;
 
15628
  swig_obj[0] = args;
 
15629
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15630
  if (!SWIG_IsOK(res1)) {
 
15631
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15632
  }
 
15633
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15634
  {
 
15635
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15636
    (arg1)->SearchAnchor();
 
15637
    wxPyEndAllowThreads(__tstate);
 
15638
    if (PyErr_Occurred()) SWIG_fail;
 
15639
  }
 
15640
  resultobj = SWIG_Py_Void();
 
15641
  return resultobj;
 
15642
fail:
 
15643
  return NULL;
 
15644
}
 
15645
 
 
15646
 
 
15647
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15648
  PyObject *resultobj = 0;
 
15649
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15650
  int arg2 ;
 
15651
  wxString *arg3 = 0 ;
 
15652
  int result;
 
15653
  void *argp1 = 0 ;
 
15654
  int res1 = 0 ;
 
15655
  int val2 ;
 
15656
  int ecode2 = 0 ;
 
15657
  bool temp3 = false ;
 
15658
  PyObject * obj0 = 0 ;
 
15659
  PyObject * obj1 = 0 ;
 
15660
  PyObject * obj2 = 0 ;
 
15661
  char *  kwnames[] = {
 
15662
    (char *) "self",(char *) "flags",(char *) "text", NULL 
 
15663
  };
 
15664
  
 
15665
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
15666
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15667
  if (!SWIG_IsOK(res1)) {
 
15668
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15669
  }
 
15670
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15671
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15672
  if (!SWIG_IsOK(ecode2)) {
 
15673
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "2"" of type '" "int""'");
 
15674
  } 
 
15675
  arg2 = static_cast< int >(val2);
 
15676
  {
 
15677
    arg3 = wxString_in_helper(obj2);
 
15678
    if (arg3 == NULL) SWIG_fail;
 
15679
    temp3 = true;
 
15680
  }
 
15681
  {
 
15682
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15683
    result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
 
15684
    wxPyEndAllowThreads(__tstate);
 
15685
    if (PyErr_Occurred()) SWIG_fail;
 
15686
  }
 
15687
  resultobj = SWIG_From_int(static_cast< int >(result));
 
15688
  {
 
15689
    if (temp3)
 
15690
    delete arg3;
 
15691
  }
 
15692
  return resultobj;
 
15693
fail:
 
15694
  {
 
15695
    if (temp3)
 
15696
    delete arg3;
 
15697
  }
 
15698
  return NULL;
 
15699
}
 
15700
 
 
15701
 
 
15702
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15703
  PyObject *resultobj = 0;
 
15704
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15705
  int arg2 ;
 
15706
  wxString *arg3 = 0 ;
 
15707
  int result;
 
15708
  void *argp1 = 0 ;
 
15709
  int res1 = 0 ;
 
15710
  int val2 ;
 
15711
  int ecode2 = 0 ;
 
15712
  bool temp3 = false ;
 
15713
  PyObject * obj0 = 0 ;
 
15714
  PyObject * obj1 = 0 ;
 
15715
  PyObject * obj2 = 0 ;
 
15716
  char *  kwnames[] = {
 
15717
    (char *) "self",(char *) "flags",(char *) "text", NULL 
 
15718
  };
 
15719
  
 
15720
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) 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_SearchPrev" "', 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_SearchPrev" "', expected argument " "2"" of type '" "int""'");
 
15729
  } 
 
15730
  arg2 = static_cast< int >(val2);
 
15731
  {
 
15732
    arg3 = wxString_in_helper(obj2);
 
15733
    if (arg3 == NULL) SWIG_fail;
 
15734
    temp3 = true;
 
15735
  }
 
15736
  {
 
15737
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15738
    result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
 
15739
    wxPyEndAllowThreads(__tstate);
 
15740
    if (PyErr_Occurred()) SWIG_fail;
 
15741
  }
 
15742
  resultobj = SWIG_From_int(static_cast< int >(result));
 
15743
  {
 
15744
    if (temp3)
 
15745
    delete arg3;
 
15746
  }
 
15747
  return resultobj;
 
15748
fail:
 
15749
  {
 
15750
    if (temp3)
 
15751
    delete arg3;
 
15752
  }
 
15753
  return NULL;
 
15754
}
 
15755
 
 
15756
 
 
15757
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15758
  PyObject *resultobj = 0;
 
15759
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15760
  int result;
 
15761
  void *argp1 = 0 ;
 
15762
  int res1 = 0 ;
 
15763
  PyObject *swig_obj[1] ;
 
15764
  
 
15765
  if (!args) SWIG_fail;
 
15766
  swig_obj[0] = args;
 
15767
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15768
  if (!SWIG_IsOK(res1)) {
 
15769
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesOnScreen" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
15770
  }
 
15771
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15772
  {
 
15773
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15774
    result = (int)((wxStyledTextCtrl const *)arg1)->LinesOnScreen();
 
15775
    wxPyEndAllowThreads(__tstate);
 
15776
    if (PyErr_Occurred()) SWIG_fail;
 
15777
  }
 
15778
  resultobj = SWIG_From_int(static_cast< int >(result));
 
15779
  return resultobj;
 
15780
fail:
 
15781
  return NULL;
 
15782
}
 
15783
 
 
15784
 
 
15785
SWIGINTERN PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15786
  PyObject *resultobj = 0;
 
15787
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15788
  bool arg2 ;
 
15789
  void *argp1 = 0 ;
 
15790
  int res1 = 0 ;
 
15791
  bool val2 ;
 
15792
  int ecode2 = 0 ;
 
15793
  PyObject * obj0 = 0 ;
 
15794
  PyObject * obj1 = 0 ;
 
15795
  char *  kwnames[] = {
 
15796
    (char *) "self",(char *) "allowPopUp", NULL 
 
15797
  };
 
15798
  
 
15799
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) SWIG_fail;
 
15800
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15801
  if (!SWIG_IsOK(res1)) {
 
15802
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15803
  }
 
15804
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15805
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
15806
  if (!SWIG_IsOK(ecode2)) {
 
15807
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "2"" of type '" "bool""'");
 
15808
  } 
 
15809
  arg2 = static_cast< bool >(val2);
 
15810
  {
 
15811
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15812
    (arg1)->UsePopUp(arg2);
 
15813
    wxPyEndAllowThreads(__tstate);
 
15814
    if (PyErr_Occurred()) SWIG_fail;
 
15815
  }
 
15816
  resultobj = SWIG_Py_Void();
 
15817
  return resultobj;
 
15818
fail:
 
15819
  return NULL;
 
15820
}
 
15821
 
 
15822
 
 
15823
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15824
  PyObject *resultobj = 0;
 
15825
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15826
  bool result;
 
15827
  void *argp1 = 0 ;
 
15828
  int res1 = 0 ;
 
15829
  PyObject *swig_obj[1] ;
 
15830
  
 
15831
  if (!args) SWIG_fail;
 
15832
  swig_obj[0] = args;
 
15833
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15834
  if (!SWIG_IsOK(res1)) {
 
15835
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionIsRectangle" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
15836
  }
 
15837
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15838
  {
 
15839
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15840
    result = (bool)((wxStyledTextCtrl const *)arg1)->SelectionIsRectangle();
 
15841
    wxPyEndAllowThreads(__tstate);
 
15842
    if (PyErr_Occurred()) SWIG_fail;
 
15843
  }
 
15844
  {
 
15845
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15846
  }
 
15847
  return resultobj;
 
15848
fail:
 
15849
  return NULL;
 
15850
}
 
15851
 
 
15852
 
 
15853
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15854
  PyObject *resultobj = 0;
 
15855
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15856
  int arg2 ;
 
15857
  void *argp1 = 0 ;
 
15858
  int res1 = 0 ;
 
15859
  int val2 ;
 
15860
  int ecode2 = 0 ;
 
15861
  PyObject * obj0 = 0 ;
 
15862
  PyObject * obj1 = 0 ;
 
15863
  char *  kwnames[] = {
 
15864
    (char *) "self",(char *) "zoom", NULL 
 
15865
  };
 
15866
  
 
15867
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
 
15868
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15869
  if (!SWIG_IsOK(res1)) {
 
15870
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15871
  }
 
15872
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15873
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15874
  if (!SWIG_IsOK(ecode2)) {
 
15875
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "2"" of type '" "int""'");
 
15876
  } 
 
15877
  arg2 = static_cast< int >(val2);
 
15878
  {
 
15879
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15880
    (arg1)->SetZoom(arg2);
 
15881
    wxPyEndAllowThreads(__tstate);
 
15882
    if (PyErr_Occurred()) SWIG_fail;
 
15883
  }
 
15884
  resultobj = SWIG_Py_Void();
 
15885
  return resultobj;
 
15886
fail:
 
15887
  return NULL;
 
15888
}
 
15889
 
 
15890
 
 
15891
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15892
  PyObject *resultobj = 0;
 
15893
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15894
  int result;
 
15895
  void *argp1 = 0 ;
 
15896
  int res1 = 0 ;
 
15897
  PyObject *swig_obj[1] ;
 
15898
  
 
15899
  if (!args) SWIG_fail;
 
15900
  swig_obj[0] = args;
 
15901
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15902
  if (!SWIG_IsOK(res1)) {
 
15903
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
15904
  }
 
15905
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15906
  {
 
15907
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15908
    result = (int)((wxStyledTextCtrl const *)arg1)->GetZoom();
 
15909
    wxPyEndAllowThreads(__tstate);
 
15910
    if (PyErr_Occurred()) SWIG_fail;
 
15911
  }
 
15912
  resultobj = SWIG_From_int(static_cast< int >(result));
 
15913
  return resultobj;
 
15914
fail:
 
15915
  return NULL;
 
15916
}
 
15917
 
 
15918
 
 
15919
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15920
  PyObject *resultobj = 0;
 
15921
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15922
  void *result = 0 ;
 
15923
  void *argp1 = 0 ;
 
15924
  int res1 = 0 ;
 
15925
  PyObject *swig_obj[1] ;
 
15926
  
 
15927
  if (!args) SWIG_fail;
 
15928
  swig_obj[0] = args;
 
15929
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15930
  if (!SWIG_IsOK(res1)) {
 
15931
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CreateDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15932
  }
 
15933
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15934
  {
 
15935
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15936
    result = (void *)(arg1)->CreateDocument();
 
15937
    wxPyEndAllowThreads(__tstate);
 
15938
    if (PyErr_Occurred()) SWIG_fail;
 
15939
  }
 
15940
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
 
15941
  return resultobj;
 
15942
fail:
 
15943
  return NULL;
 
15944
}
 
15945
 
 
15946
 
 
15947
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15948
  PyObject *resultobj = 0;
 
15949
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15950
  void *arg2 = (void *) 0 ;
 
15951
  void *argp1 = 0 ;
 
15952
  int res1 = 0 ;
 
15953
  int res2 ;
 
15954
  PyObject * obj0 = 0 ;
 
15955
  PyObject * obj1 = 0 ;
 
15956
  char *  kwnames[] = {
 
15957
    (char *) "self",(char *) "docPointer", NULL 
 
15958
  };
 
15959
  
 
15960
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) SWIG_fail;
 
15961
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15962
  if (!SWIG_IsOK(res1)) {
 
15963
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
15964
  }
 
15965
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
15966
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
 
15967
  if (!SWIG_IsOK(res2)) {
 
15968
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "2"" of type '" "void *""'"); 
 
15969
  }
 
15970
  {
 
15971
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15972
    (arg1)->AddRefDocument(arg2);
 
15973
    wxPyEndAllowThreads(__tstate);
 
15974
    if (PyErr_Occurred()) SWIG_fail;
 
15975
  }
 
15976
  resultobj = SWIG_Py_Void();
 
15977
  return resultobj;
 
15978
fail:
 
15979
  return NULL;
 
15980
}
 
15981
 
 
15982
 
 
15983
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15984
  PyObject *resultobj = 0;
 
15985
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
15986
  void *arg2 = (void *) 0 ;
 
15987
  void *argp1 = 0 ;
 
15988
  int res1 = 0 ;
 
15989
  int res2 ;
 
15990
  PyObject * obj0 = 0 ;
 
15991
  PyObject * obj1 = 0 ;
 
15992
  char *  kwnames[] = {
 
15993
    (char *) "self",(char *) "docPointer", NULL 
 
15994
  };
 
15995
  
 
15996
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) SWIG_fail;
 
15997
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
15998
  if (!SWIG_IsOK(res1)) {
 
15999
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16000
  }
 
16001
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16002
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
 
16003
  if (!SWIG_IsOK(res2)) {
 
16004
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "2"" of type '" "void *""'"); 
 
16005
  }
 
16006
  {
 
16007
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16008
    (arg1)->ReleaseDocument(arg2);
 
16009
    wxPyEndAllowThreads(__tstate);
 
16010
    if (PyErr_Occurred()) SWIG_fail;
 
16011
  }
 
16012
  resultobj = SWIG_Py_Void();
 
16013
  return resultobj;
 
16014
fail:
 
16015
  return NULL;
 
16016
}
 
16017
 
 
16018
 
 
16019
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModEventMask(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_GetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
16032
  }
 
16033
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16034
  {
 
16035
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16036
    result = (int)((wxStyledTextCtrl const *)arg1)->GetModEventMask();
 
16037
    wxPyEndAllowThreads(__tstate);
 
16038
    if (PyErr_Occurred()) SWIG_fail;
 
16039
  }
 
16040
  resultobj = SWIG_From_int(static_cast< int >(result));
 
16041
  return resultobj;
 
16042
fail:
 
16043
  return NULL;
 
16044
}
 
16045
 
 
16046
 
 
16047
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16048
  PyObject *resultobj = 0;
 
16049
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16050
  bool arg2 ;
 
16051
  void *argp1 = 0 ;
 
16052
  int res1 = 0 ;
 
16053
  bool val2 ;
 
16054
  int ecode2 = 0 ;
 
16055
  PyObject * obj0 = 0 ;
 
16056
  PyObject * obj1 = 0 ;
 
16057
  char *  kwnames[] = {
 
16058
    (char *) "self",(char *) "focus", NULL 
 
16059
  };
 
16060
  
 
16061
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) SWIG_fail;
 
16062
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16063
  if (!SWIG_IsOK(res1)) {
 
16064
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16065
  }
 
16066
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16067
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
16068
  if (!SWIG_IsOK(ecode2)) {
 
16069
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "2"" of type '" "bool""'");
 
16070
  } 
 
16071
  arg2 = static_cast< bool >(val2);
 
16072
  {
 
16073
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16074
    (arg1)->SetSTCFocus(arg2);
 
16075
    wxPyEndAllowThreads(__tstate);
 
16076
    if (PyErr_Occurred()) SWIG_fail;
 
16077
  }
 
16078
  resultobj = SWIG_Py_Void();
 
16079
  return resultobj;
 
16080
fail:
 
16081
  return NULL;
 
16082
}
 
16083
 
 
16084
 
 
16085
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16086
  PyObject *resultobj = 0;
 
16087
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16088
  bool result;
 
16089
  void *argp1 = 0 ;
 
16090
  int res1 = 0 ;
 
16091
  PyObject *swig_obj[1] ;
 
16092
  
 
16093
  if (!args) SWIG_fail;
 
16094
  swig_obj[0] = args;
 
16095
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16096
  if (!SWIG_IsOK(res1)) {
 
16097
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
16098
  }
 
16099
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16100
  {
 
16101
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16102
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetSTCFocus();
 
16103
    wxPyEndAllowThreads(__tstate);
 
16104
    if (PyErr_Occurred()) SWIG_fail;
 
16105
  }
 
16106
  {
 
16107
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16108
  }
 
16109
  return resultobj;
 
16110
fail:
 
16111
  return NULL;
 
16112
}
 
16113
 
 
16114
 
 
16115
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16116
  PyObject *resultobj = 0;
 
16117
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16118
  int arg2 ;
 
16119
  void *argp1 = 0 ;
 
16120
  int res1 = 0 ;
 
16121
  int val2 ;
 
16122
  int ecode2 = 0 ;
 
16123
  PyObject * obj0 = 0 ;
 
16124
  PyObject * obj1 = 0 ;
 
16125
  char *  kwnames[] = {
 
16126
    (char *) "self",(char *) "statusCode", NULL 
 
16127
  };
 
16128
  
 
16129
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) SWIG_fail;
 
16130
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16131
  if (!SWIG_IsOK(res1)) {
 
16132
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16133
  }
 
16134
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16135
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
16136
  if (!SWIG_IsOK(ecode2)) {
 
16137
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "2"" of type '" "int""'");
 
16138
  } 
 
16139
  arg2 = static_cast< int >(val2);
 
16140
  {
 
16141
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16142
    (arg1)->SetStatus(arg2);
 
16143
    wxPyEndAllowThreads(__tstate);
 
16144
    if (PyErr_Occurred()) SWIG_fail;
 
16145
  }
 
16146
  resultobj = SWIG_Py_Void();
 
16147
  return resultobj;
 
16148
fail:
 
16149
  return NULL;
 
16150
}
 
16151
 
 
16152
 
 
16153
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16154
  PyObject *resultobj = 0;
 
16155
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16156
  int result;
 
16157
  void *argp1 = 0 ;
 
16158
  int res1 = 0 ;
 
16159
  PyObject *swig_obj[1] ;
 
16160
  
 
16161
  if (!args) SWIG_fail;
 
16162
  swig_obj[0] = args;
 
16163
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16164
  if (!SWIG_IsOK(res1)) {
 
16165
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
16166
  }
 
16167
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16168
  {
 
16169
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16170
    result = (int)((wxStyledTextCtrl const *)arg1)->GetStatus();
 
16171
    wxPyEndAllowThreads(__tstate);
 
16172
    if (PyErr_Occurred()) SWIG_fail;
 
16173
  }
 
16174
  resultobj = SWIG_From_int(static_cast< int >(result));
 
16175
  return resultobj;
 
16176
fail:
 
16177
  return NULL;
 
16178
}
 
16179
 
 
16180
 
 
16181
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16182
  PyObject *resultobj = 0;
 
16183
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16184
  bool arg2 ;
 
16185
  void *argp1 = 0 ;
 
16186
  int res1 = 0 ;
 
16187
  bool val2 ;
 
16188
  int ecode2 = 0 ;
 
16189
  PyObject * obj0 = 0 ;
 
16190
  PyObject * obj1 = 0 ;
 
16191
  char *  kwnames[] = {
 
16192
    (char *) "self",(char *) "captures", NULL 
 
16193
  };
 
16194
  
 
16195
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) SWIG_fail;
 
16196
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16197
  if (!SWIG_IsOK(res1)) {
 
16198
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16199
  }
 
16200
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16201
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
16202
  if (!SWIG_IsOK(ecode2)) {
 
16203
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "2"" of type '" "bool""'");
 
16204
  } 
 
16205
  arg2 = static_cast< bool >(val2);
 
16206
  {
 
16207
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16208
    (arg1)->SetMouseDownCaptures(arg2);
 
16209
    wxPyEndAllowThreads(__tstate);
 
16210
    if (PyErr_Occurred()) SWIG_fail;
 
16211
  }
 
16212
  resultobj = SWIG_Py_Void();
 
16213
  return resultobj;
 
16214
fail:
 
16215
  return NULL;
 
16216
}
 
16217
 
 
16218
 
 
16219
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16220
  PyObject *resultobj = 0;
 
16221
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16222
  bool result;
 
16223
  void *argp1 = 0 ;
 
16224
  int res1 = 0 ;
 
16225
  PyObject *swig_obj[1] ;
 
16226
  
 
16227
  if (!args) SWIG_fail;
 
16228
  swig_obj[0] = args;
 
16229
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16230
  if (!SWIG_IsOK(res1)) {
 
16231
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
16232
  }
 
16233
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16234
  {
 
16235
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16236
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetMouseDownCaptures();
 
16237
    wxPyEndAllowThreads(__tstate);
 
16238
    if (PyErr_Occurred()) SWIG_fail;
 
16239
  }
 
16240
  {
 
16241
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16242
  }
 
16243
  return resultobj;
 
16244
fail:
 
16245
  return NULL;
 
16246
}
 
16247
 
 
16248
 
 
16249
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16250
  PyObject *resultobj = 0;
 
16251
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16252
  int arg2 ;
 
16253
  void *argp1 = 0 ;
 
16254
  int res1 = 0 ;
 
16255
  int val2 ;
 
16256
  int ecode2 = 0 ;
 
16257
  PyObject * obj0 = 0 ;
 
16258
  PyObject * obj1 = 0 ;
 
16259
  char *  kwnames[] = {
 
16260
    (char *) "self",(char *) "cursorType", NULL 
 
16261
  };
 
16262
  
 
16263
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) SWIG_fail;
 
16264
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16265
  if (!SWIG_IsOK(res1)) {
 
16266
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16267
  }
 
16268
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16269
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
16270
  if (!SWIG_IsOK(ecode2)) {
 
16271
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "2"" of type '" "int""'");
 
16272
  } 
 
16273
  arg2 = static_cast< int >(val2);
 
16274
  {
 
16275
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16276
    (arg1)->SetSTCCursor(arg2);
 
16277
    wxPyEndAllowThreads(__tstate);
 
16278
    if (PyErr_Occurred()) SWIG_fail;
 
16279
  }
 
16280
  resultobj = SWIG_Py_Void();
 
16281
  return resultobj;
 
16282
fail:
 
16283
  return NULL;
 
16284
}
 
16285
 
 
16286
 
 
16287
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16288
  PyObject *resultobj = 0;
 
16289
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16290
  int result;
 
16291
  void *argp1 = 0 ;
 
16292
  int res1 = 0 ;
 
16293
  PyObject *swig_obj[1] ;
 
16294
  
 
16295
  if (!args) SWIG_fail;
 
16296
  swig_obj[0] = args;
 
16297
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16298
  if (!SWIG_IsOK(res1)) {
 
16299
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
16300
  }
 
16301
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16302
  {
 
16303
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16304
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSTCCursor();
 
16305
    wxPyEndAllowThreads(__tstate);
 
16306
    if (PyErr_Occurred()) SWIG_fail;
 
16307
  }
 
16308
  resultobj = SWIG_From_int(static_cast< int >(result));
 
16309
  return resultobj;
 
16310
fail:
 
16311
  return NULL;
 
16312
}
 
16313
 
 
16314
 
 
16315
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16316
  PyObject *resultobj = 0;
 
16317
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16318
  int arg2 ;
 
16319
  void *argp1 = 0 ;
 
16320
  int res1 = 0 ;
 
16321
  int val2 ;
 
16322
  int ecode2 = 0 ;
 
16323
  PyObject * obj0 = 0 ;
 
16324
  PyObject * obj1 = 0 ;
 
16325
  char *  kwnames[] = {
 
16326
    (char *) "self",(char *) "symbol", NULL 
 
16327
  };
 
16328
  
 
16329
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) SWIG_fail;
 
16330
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16331
  if (!SWIG_IsOK(res1)) {
 
16332
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16333
  }
 
16334
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16335
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
16336
  if (!SWIG_IsOK(ecode2)) {
 
16337
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "2"" of type '" "int""'");
 
16338
  } 
 
16339
  arg2 = static_cast< int >(val2);
 
16340
  {
 
16341
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16342
    (arg1)->SetControlCharSymbol(arg2);
 
16343
    wxPyEndAllowThreads(__tstate);
 
16344
    if (PyErr_Occurred()) SWIG_fail;
 
16345
  }
 
16346
  resultobj = SWIG_Py_Void();
 
16347
  return resultobj;
 
16348
fail:
 
16349
  return NULL;
 
16350
}
 
16351
 
 
16352
 
 
16353
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16354
  PyObject *resultobj = 0;
 
16355
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16356
  int result;
 
16357
  void *argp1 = 0 ;
 
16358
  int res1 = 0 ;
 
16359
  PyObject *swig_obj[1] ;
 
16360
  
 
16361
  if (!args) SWIG_fail;
 
16362
  swig_obj[0] = args;
 
16363
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16364
  if (!SWIG_IsOK(res1)) {
 
16365
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
16366
  }
 
16367
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16368
  {
 
16369
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16370
    result = (int)((wxStyledTextCtrl const *)arg1)->GetControlCharSymbol();
 
16371
    wxPyEndAllowThreads(__tstate);
 
16372
    if (PyErr_Occurred()) SWIG_fail;
 
16373
  }
 
16374
  resultobj = SWIG_From_int(static_cast< int >(result));
 
16375
  return resultobj;
 
16376
fail:
 
16377
  return NULL;
 
16378
}
 
16379
 
 
16380
 
 
16381
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16382
  PyObject *resultobj = 0;
 
16383
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16384
  void *argp1 = 0 ;
 
16385
  int res1 = 0 ;
 
16386
  PyObject *swig_obj[1] ;
 
16387
  
 
16388
  if (!args) SWIG_fail;
 
16389
  swig_obj[0] = args;
 
16390
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16391
  if (!SWIG_IsOK(res1)) {
 
16392
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16393
  }
 
16394
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16395
  {
 
16396
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16397
    (arg1)->WordPartLeft();
 
16398
    wxPyEndAllowThreads(__tstate);
 
16399
    if (PyErr_Occurred()) SWIG_fail;
 
16400
  }
 
16401
  resultobj = SWIG_Py_Void();
 
16402
  return resultobj;
 
16403
fail:
 
16404
  return NULL;
 
16405
}
 
16406
 
 
16407
 
 
16408
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16409
  PyObject *resultobj = 0;
 
16410
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16411
  void *argp1 = 0 ;
 
16412
  int res1 = 0 ;
 
16413
  PyObject *swig_obj[1] ;
 
16414
  
 
16415
  if (!args) SWIG_fail;
 
16416
  swig_obj[0] = args;
 
16417
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16418
  if (!SWIG_IsOK(res1)) {
 
16419
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16420
  }
 
16421
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16422
  {
 
16423
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16424
    (arg1)->WordPartLeftExtend();
 
16425
    wxPyEndAllowThreads(__tstate);
 
16426
    if (PyErr_Occurred()) SWIG_fail;
 
16427
  }
 
16428
  resultobj = SWIG_Py_Void();
 
16429
  return resultobj;
 
16430
fail:
 
16431
  return NULL;
 
16432
}
 
16433
 
 
16434
 
 
16435
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16436
  PyObject *resultobj = 0;
 
16437
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16438
  void *argp1 = 0 ;
 
16439
  int res1 = 0 ;
 
16440
  PyObject *swig_obj[1] ;
 
16441
  
 
16442
  if (!args) SWIG_fail;
 
16443
  swig_obj[0] = args;
 
16444
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16445
  if (!SWIG_IsOK(res1)) {
 
16446
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16447
  }
 
16448
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16449
  {
 
16450
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16451
    (arg1)->WordPartRight();
 
16452
    wxPyEndAllowThreads(__tstate);
 
16453
    if (PyErr_Occurred()) SWIG_fail;
 
16454
  }
 
16455
  resultobj = SWIG_Py_Void();
 
16456
  return resultobj;
 
16457
fail:
 
16458
  return NULL;
 
16459
}
 
16460
 
 
16461
 
 
16462
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16463
  PyObject *resultobj = 0;
 
16464
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16465
  void *argp1 = 0 ;
 
16466
  int res1 = 0 ;
 
16467
  PyObject *swig_obj[1] ;
 
16468
  
 
16469
  if (!args) SWIG_fail;
 
16470
  swig_obj[0] = args;
 
16471
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16472
  if (!SWIG_IsOK(res1)) {
 
16473
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16474
  }
 
16475
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16476
  {
 
16477
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16478
    (arg1)->WordPartRightExtend();
 
16479
    wxPyEndAllowThreads(__tstate);
 
16480
    if (PyErr_Occurred()) SWIG_fail;
 
16481
  }
 
16482
  resultobj = SWIG_Py_Void();
 
16483
  return resultobj;
 
16484
fail:
 
16485
  return NULL;
 
16486
}
 
16487
 
 
16488
 
 
16489
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16490
  PyObject *resultobj = 0;
 
16491
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16492
  int arg2 ;
 
16493
  int arg3 ;
 
16494
  void *argp1 = 0 ;
 
16495
  int res1 = 0 ;
 
16496
  int val2 ;
 
16497
  int ecode2 = 0 ;
 
16498
  int val3 ;
 
16499
  int ecode3 = 0 ;
 
16500
  PyObject * obj0 = 0 ;
 
16501
  PyObject * obj1 = 0 ;
 
16502
  PyObject * obj2 = 0 ;
 
16503
  char *  kwnames[] = {
 
16504
    (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL 
 
16505
  };
 
16506
  
 
16507
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
16508
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16509
  if (!SWIG_IsOK(res1)) {
 
16510
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16511
  }
 
16512
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16513
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
16514
  if (!SWIG_IsOK(ecode2)) {
 
16515
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "2"" of type '" "int""'");
 
16516
  } 
 
16517
  arg2 = static_cast< int >(val2);
 
16518
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
16519
  if (!SWIG_IsOK(ecode3)) {
 
16520
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "3"" of type '" "int""'");
 
16521
  } 
 
16522
  arg3 = static_cast< int >(val3);
 
16523
  {
 
16524
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16525
    (arg1)->SetVisiblePolicy(arg2,arg3);
 
16526
    wxPyEndAllowThreads(__tstate);
 
16527
    if (PyErr_Occurred()) SWIG_fail;
 
16528
  }
 
16529
  resultobj = SWIG_Py_Void();
 
16530
  return resultobj;
 
16531
fail:
 
16532
  return NULL;
 
16533
}
 
16534
 
 
16535
 
 
16536
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16537
  PyObject *resultobj = 0;
 
16538
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16539
  void *argp1 = 0 ;
 
16540
  int res1 = 0 ;
 
16541
  PyObject *swig_obj[1] ;
 
16542
  
 
16543
  if (!args) SWIG_fail;
 
16544
  swig_obj[0] = args;
 
16545
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16546
  if (!SWIG_IsOK(res1)) {
 
16547
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16548
  }
 
16549
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16550
  {
 
16551
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16552
    (arg1)->DelLineLeft();
 
16553
    wxPyEndAllowThreads(__tstate);
 
16554
    if (PyErr_Occurred()) SWIG_fail;
 
16555
  }
 
16556
  resultobj = SWIG_Py_Void();
 
16557
  return resultobj;
 
16558
fail:
 
16559
  return NULL;
 
16560
}
 
16561
 
 
16562
 
 
16563
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16564
  PyObject *resultobj = 0;
 
16565
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16566
  void *argp1 = 0 ;
 
16567
  int res1 = 0 ;
 
16568
  PyObject *swig_obj[1] ;
 
16569
  
 
16570
  if (!args) SWIG_fail;
 
16571
  swig_obj[0] = args;
 
16572
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16573
  if (!SWIG_IsOK(res1)) {
 
16574
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16575
  }
 
16576
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16577
  {
 
16578
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16579
    (arg1)->DelLineRight();
 
16580
    wxPyEndAllowThreads(__tstate);
 
16581
    if (PyErr_Occurred()) SWIG_fail;
 
16582
  }
 
16583
  resultobj = SWIG_Py_Void();
 
16584
  return resultobj;
 
16585
fail:
 
16586
  return NULL;
 
16587
}
 
16588
 
 
16589
 
 
16590
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16591
  PyObject *resultobj = 0;
 
16592
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16593
  int arg2 ;
 
16594
  void *argp1 = 0 ;
 
16595
  int res1 = 0 ;
 
16596
  int val2 ;
 
16597
  int ecode2 = 0 ;
 
16598
  PyObject * obj0 = 0 ;
 
16599
  PyObject * obj1 = 0 ;
 
16600
  char *  kwnames[] = {
 
16601
    (char *) "self",(char *) "newOffset", NULL 
 
16602
  };
 
16603
  
 
16604
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) 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_SetXOffset" "', 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_SetXOffset" "', expected argument " "2"" of type '" "int""'");
 
16613
  } 
 
16614
  arg2 = static_cast< int >(val2);
 
16615
  {
 
16616
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16617
    (arg1)->SetXOffset(arg2);
 
16618
    wxPyEndAllowThreads(__tstate);
 
16619
    if (PyErr_Occurred()) SWIG_fail;
 
16620
  }
 
16621
  resultobj = SWIG_Py_Void();
 
16622
  return resultobj;
 
16623
fail:
 
16624
  return NULL;
 
16625
}
 
16626
 
 
16627
 
 
16628
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16629
  PyObject *resultobj = 0;
 
16630
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16631
  int result;
 
16632
  void *argp1 = 0 ;
 
16633
  int res1 = 0 ;
 
16634
  PyObject *swig_obj[1] ;
 
16635
  
 
16636
  if (!args) SWIG_fail;
 
16637
  swig_obj[0] = args;
 
16638
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16639
  if (!SWIG_IsOK(res1)) {
 
16640
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
16641
  }
 
16642
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16643
  {
 
16644
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16645
    result = (int)((wxStyledTextCtrl const *)arg1)->GetXOffset();
 
16646
    wxPyEndAllowThreads(__tstate);
 
16647
    if (PyErr_Occurred()) SWIG_fail;
 
16648
  }
 
16649
  resultobj = SWIG_From_int(static_cast< int >(result));
 
16650
  return resultobj;
 
16651
fail:
 
16652
  return NULL;
 
16653
}
 
16654
 
 
16655
 
 
16656
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16657
  PyObject *resultobj = 0;
 
16658
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16659
  void *argp1 = 0 ;
 
16660
  int res1 = 0 ;
 
16661
  PyObject *swig_obj[1] ;
 
16662
  
 
16663
  if (!args) SWIG_fail;
 
16664
  swig_obj[0] = args;
 
16665
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16666
  if (!SWIG_IsOK(res1)) {
 
16667
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ChooseCaretX" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16668
  }
 
16669
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16670
  {
 
16671
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16672
    (arg1)->ChooseCaretX();
 
16673
    wxPyEndAllowThreads(__tstate);
 
16674
    if (PyErr_Occurred()) SWIG_fail;
 
16675
  }
 
16676
  resultobj = SWIG_Py_Void();
 
16677
  return resultobj;
 
16678
fail:
 
16679
  return NULL;
 
16680
}
 
16681
 
 
16682
 
 
16683
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16684
  PyObject *resultobj = 0;
 
16685
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16686
  int arg2 ;
 
16687
  int arg3 ;
 
16688
  void *argp1 = 0 ;
 
16689
  int res1 = 0 ;
 
16690
  int val2 ;
 
16691
  int ecode2 = 0 ;
 
16692
  int val3 ;
 
16693
  int ecode3 = 0 ;
 
16694
  PyObject * obj0 = 0 ;
 
16695
  PyObject * obj1 = 0 ;
 
16696
  PyObject * obj2 = 0 ;
 
16697
  char *  kwnames[] = {
 
16698
    (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL 
 
16699
  };
 
16700
  
 
16701
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) 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_SetXCaretPolicy" "', 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_SetXCaretPolicy" "', expected argument " "2"" of type '" "int""'");
 
16710
  } 
 
16711
  arg2 = static_cast< int >(val2);
 
16712
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
16713
  if (!SWIG_IsOK(ecode3)) {
 
16714
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "3"" of type '" "int""'");
 
16715
  } 
 
16716
  arg3 = static_cast< int >(val3);
 
16717
  {
 
16718
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16719
    (arg1)->SetXCaretPolicy(arg2,arg3);
 
16720
    wxPyEndAllowThreads(__tstate);
 
16721
    if (PyErr_Occurred()) SWIG_fail;
 
16722
  }
 
16723
  resultobj = SWIG_Py_Void();
 
16724
  return resultobj;
 
16725
fail:
 
16726
  return NULL;
 
16727
}
 
16728
 
 
16729
 
 
16730
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16731
  PyObject *resultobj = 0;
 
16732
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16733
  int arg2 ;
 
16734
  int arg3 ;
 
16735
  void *argp1 = 0 ;
 
16736
  int res1 = 0 ;
 
16737
  int val2 ;
 
16738
  int ecode2 = 0 ;
 
16739
  int val3 ;
 
16740
  int ecode3 = 0 ;
 
16741
  PyObject * obj0 = 0 ;
 
16742
  PyObject * obj1 = 0 ;
 
16743
  PyObject * obj2 = 0 ;
 
16744
  char *  kwnames[] = {
 
16745
    (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL 
 
16746
  };
 
16747
  
 
16748
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
16749
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16750
  if (!SWIG_IsOK(res1)) {
 
16751
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16752
  }
 
16753
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16754
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
16755
  if (!SWIG_IsOK(ecode2)) {
 
16756
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "2"" of type '" "int""'");
 
16757
  } 
 
16758
  arg2 = static_cast< int >(val2);
 
16759
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
16760
  if (!SWIG_IsOK(ecode3)) {
 
16761
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "3"" of type '" "int""'");
 
16762
  } 
 
16763
  arg3 = static_cast< int >(val3);
 
16764
  {
 
16765
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16766
    (arg1)->SetYCaretPolicy(arg2,arg3);
 
16767
    wxPyEndAllowThreads(__tstate);
 
16768
    if (PyErr_Occurred()) SWIG_fail;
 
16769
  }
 
16770
  resultobj = SWIG_Py_Void();
 
16771
  return resultobj;
 
16772
fail:
 
16773
  return NULL;
 
16774
}
 
16775
 
 
16776
 
 
16777
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16778
  PyObject *resultobj = 0;
 
16779
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16780
  int arg2 ;
 
16781
  void *argp1 = 0 ;
 
16782
  int res1 = 0 ;
 
16783
  int val2 ;
 
16784
  int ecode2 = 0 ;
 
16785
  PyObject * obj0 = 0 ;
 
16786
  PyObject * obj1 = 0 ;
 
16787
  char *  kwnames[] = {
 
16788
    (char *) "self",(char *) "mode", NULL 
 
16789
  };
 
16790
  
 
16791
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
 
16792
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16793
  if (!SWIG_IsOK(res1)) {
 
16794
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16795
  }
 
16796
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16797
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
16798
  if (!SWIG_IsOK(ecode2)) {
 
16799
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "2"" of type '" "int""'");
 
16800
  } 
 
16801
  arg2 = static_cast< int >(val2);
 
16802
  {
 
16803
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16804
    (arg1)->SetPrintWrapMode(arg2);
 
16805
    wxPyEndAllowThreads(__tstate);
 
16806
    if (PyErr_Occurred()) SWIG_fail;
 
16807
  }
 
16808
  resultobj = SWIG_Py_Void();
 
16809
  return resultobj;
 
16810
fail:
 
16811
  return NULL;
 
16812
}
 
16813
 
 
16814
 
 
16815
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16816
  PyObject *resultobj = 0;
 
16817
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16818
  int result;
 
16819
  void *argp1 = 0 ;
 
16820
  int res1 = 0 ;
 
16821
  PyObject *swig_obj[1] ;
 
16822
  
 
16823
  if (!args) SWIG_fail;
 
16824
  swig_obj[0] = args;
 
16825
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16826
  if (!SWIG_IsOK(res1)) {
 
16827
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
16828
  }
 
16829
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16830
  {
 
16831
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16832
    result = (int)((wxStyledTextCtrl const *)arg1)->GetPrintWrapMode();
 
16833
    wxPyEndAllowThreads(__tstate);
 
16834
    if (PyErr_Occurred()) SWIG_fail;
 
16835
  }
 
16836
  resultobj = SWIG_From_int(static_cast< int >(result));
 
16837
  return resultobj;
 
16838
fail:
 
16839
  return NULL;
 
16840
}
 
16841
 
 
16842
 
 
16843
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16844
  PyObject *resultobj = 0;
 
16845
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16846
  bool arg2 ;
 
16847
  wxColour *arg3 = 0 ;
 
16848
  void *argp1 = 0 ;
 
16849
  int res1 = 0 ;
 
16850
  bool val2 ;
 
16851
  int ecode2 = 0 ;
 
16852
  wxColour temp3 ;
 
16853
  PyObject * obj0 = 0 ;
 
16854
  PyObject * obj1 = 0 ;
 
16855
  PyObject * obj2 = 0 ;
 
16856
  char *  kwnames[] = {
 
16857
    (char *) "self",(char *) "useSetting",(char *) "fore", NULL 
 
16858
  };
 
16859
  
 
16860
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
16861
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16862
  if (!SWIG_IsOK(res1)) {
 
16863
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16864
  }
 
16865
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16866
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
16867
  if (!SWIG_IsOK(ecode2)) {
 
16868
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "2"" of type '" "bool""'");
 
16869
  } 
 
16870
  arg2 = static_cast< bool >(val2);
 
16871
  {
 
16872
    arg3 = &temp3;
 
16873
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
16874
  }
 
16875
  {
 
16876
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16877
    (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
 
16878
    wxPyEndAllowThreads(__tstate);
 
16879
    if (PyErr_Occurred()) SWIG_fail;
 
16880
  }
 
16881
  resultobj = SWIG_Py_Void();
 
16882
  return resultobj;
 
16883
fail:
 
16884
  return NULL;
 
16885
}
 
16886
 
 
16887
 
 
16888
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetHotspotActiveForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16889
  PyObject *resultobj = 0;
 
16890
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16891
  wxColour result;
 
16892
  void *argp1 = 0 ;
 
16893
  int res1 = 0 ;
 
16894
  PyObject *swig_obj[1] ;
 
16895
  
 
16896
  if (!args) SWIG_fail;
 
16897
  swig_obj[0] = args;
 
16898
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16899
  if (!SWIG_IsOK(res1)) {
 
16900
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetHotspotActiveForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
16901
  }
 
16902
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16903
  {
 
16904
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16905
    result = ((wxStyledTextCtrl const *)arg1)->GetHotspotActiveForeground();
 
16906
    wxPyEndAllowThreads(__tstate);
 
16907
    if (PyErr_Occurred()) SWIG_fail;
 
16908
  }
 
16909
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
16910
  return resultobj;
 
16911
fail:
 
16912
  return NULL;
 
16913
}
 
16914
 
 
16915
 
 
16916
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16917
  PyObject *resultobj = 0;
 
16918
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16919
  bool arg2 ;
 
16920
  wxColour *arg3 = 0 ;
 
16921
  void *argp1 = 0 ;
 
16922
  int res1 = 0 ;
 
16923
  bool val2 ;
 
16924
  int ecode2 = 0 ;
 
16925
  wxColour temp3 ;
 
16926
  PyObject * obj0 = 0 ;
 
16927
  PyObject * obj1 = 0 ;
 
16928
  PyObject * obj2 = 0 ;
 
16929
  char *  kwnames[] = {
 
16930
    (char *) "self",(char *) "useSetting",(char *) "back", NULL 
 
16931
  };
 
16932
  
 
16933
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
16934
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16935
  if (!SWIG_IsOK(res1)) {
 
16936
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
16937
  }
 
16938
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16939
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
16940
  if (!SWIG_IsOK(ecode2)) {
 
16941
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "2"" of type '" "bool""'");
 
16942
  } 
 
16943
  arg2 = static_cast< bool >(val2);
 
16944
  {
 
16945
    arg3 = &temp3;
 
16946
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
16947
  }
 
16948
  {
 
16949
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16950
    (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
 
16951
    wxPyEndAllowThreads(__tstate);
 
16952
    if (PyErr_Occurred()) SWIG_fail;
 
16953
  }
 
16954
  resultobj = SWIG_Py_Void();
 
16955
  return resultobj;
 
16956
fail:
 
16957
  return NULL;
 
16958
}
 
16959
 
 
16960
 
 
16961
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetHotspotActiveBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16962
  PyObject *resultobj = 0;
 
16963
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16964
  wxColour result;
 
16965
  void *argp1 = 0 ;
 
16966
  int res1 = 0 ;
 
16967
  PyObject *swig_obj[1] ;
 
16968
  
 
16969
  if (!args) SWIG_fail;
 
16970
  swig_obj[0] = args;
 
16971
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
16972
  if (!SWIG_IsOK(res1)) {
 
16973
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetHotspotActiveBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
16974
  }
 
16975
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
16976
  {
 
16977
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16978
    result = ((wxStyledTextCtrl const *)arg1)->GetHotspotActiveBackground();
 
16979
    wxPyEndAllowThreads(__tstate);
 
16980
    if (PyErr_Occurred()) SWIG_fail;
 
16981
  }
 
16982
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
16983
  return resultobj;
 
16984
fail:
 
16985
  return NULL;
 
16986
}
 
16987
 
 
16988
 
 
16989
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16990
  PyObject *resultobj = 0;
 
16991
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
16992
  bool arg2 ;
 
16993
  void *argp1 = 0 ;
 
16994
  int res1 = 0 ;
 
16995
  bool val2 ;
 
16996
  int ecode2 = 0 ;
 
16997
  PyObject * obj0 = 0 ;
 
16998
  PyObject * obj1 = 0 ;
 
16999
  char *  kwnames[] = {
 
17000
    (char *) "self",(char *) "underline", NULL 
 
17001
  };
 
17002
  
 
17003
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) SWIG_fail;
 
17004
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17005
  if (!SWIG_IsOK(res1)) {
 
17006
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17007
  }
 
17008
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17009
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
17010
  if (!SWIG_IsOK(ecode2)) {
 
17011
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "2"" of type '" "bool""'");
 
17012
  } 
 
17013
  arg2 = static_cast< bool >(val2);
 
17014
  {
 
17015
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17016
    (arg1)->SetHotspotActiveUnderline(arg2);
 
17017
    wxPyEndAllowThreads(__tstate);
 
17018
    if (PyErr_Occurred()) SWIG_fail;
 
17019
  }
 
17020
  resultobj = SWIG_Py_Void();
 
17021
  return resultobj;
 
17022
fail:
 
17023
  return NULL;
 
17024
}
 
17025
 
 
17026
 
 
17027
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetHotspotActiveUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17028
  PyObject *resultobj = 0;
 
17029
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17030
  bool result;
 
17031
  void *argp1 = 0 ;
 
17032
  int res1 = 0 ;
 
17033
  PyObject *swig_obj[1] ;
 
17034
  
 
17035
  if (!args) SWIG_fail;
 
17036
  swig_obj[0] = args;
 
17037
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17038
  if (!SWIG_IsOK(res1)) {
 
17039
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetHotspotActiveUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
17040
  }
 
17041
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17042
  {
 
17043
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17044
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetHotspotActiveUnderline();
 
17045
    wxPyEndAllowThreads(__tstate);
 
17046
    if (PyErr_Occurred()) SWIG_fail;
 
17047
  }
 
17048
  {
 
17049
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17050
  }
 
17051
  return resultobj;
 
17052
fail:
 
17053
  return NULL;
 
17054
}
 
17055
 
 
17056
 
 
17057
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17058
  PyObject *resultobj = 0;
 
17059
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17060
  bool arg2 ;
 
17061
  void *argp1 = 0 ;
 
17062
  int res1 = 0 ;
 
17063
  bool val2 ;
 
17064
  int ecode2 = 0 ;
 
17065
  PyObject * obj0 = 0 ;
 
17066
  PyObject * obj1 = 0 ;
 
17067
  char *  kwnames[] = {
 
17068
    (char *) "self",(char *) "singleLine", NULL 
 
17069
  };
 
17070
  
 
17071
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
17072
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17073
  if (!SWIG_IsOK(res1)) {
 
17074
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17075
  }
 
17076
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17077
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
17078
  if (!SWIG_IsOK(ecode2)) {
 
17079
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "2"" of type '" "bool""'");
 
17080
  } 
 
17081
  arg2 = static_cast< bool >(val2);
 
17082
  {
 
17083
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17084
    (arg1)->SetHotspotSingleLine(arg2);
 
17085
    wxPyEndAllowThreads(__tstate);
 
17086
    if (PyErr_Occurred()) SWIG_fail;
 
17087
  }
 
17088
  resultobj = SWIG_Py_Void();
 
17089
  return resultobj;
 
17090
fail:
 
17091
  return NULL;
 
17092
}
 
17093
 
 
17094
 
 
17095
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetHotspotSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17096
  PyObject *resultobj = 0;
 
17097
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17098
  bool result;
 
17099
  void *argp1 = 0 ;
 
17100
  int res1 = 0 ;
 
17101
  PyObject *swig_obj[1] ;
 
17102
  
 
17103
  if (!args) SWIG_fail;
 
17104
  swig_obj[0] = args;
 
17105
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17106
  if (!SWIG_IsOK(res1)) {
 
17107
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetHotspotSingleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
17108
  }
 
17109
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17110
  {
 
17111
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17112
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetHotspotSingleLine();
 
17113
    wxPyEndAllowThreads(__tstate);
 
17114
    if (PyErr_Occurred()) SWIG_fail;
 
17115
  }
 
17116
  {
 
17117
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17118
  }
 
17119
  return resultobj;
 
17120
fail:
 
17121
  return NULL;
 
17122
}
 
17123
 
 
17124
 
 
17125
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17126
  PyObject *resultobj = 0;
 
17127
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17128
  void *argp1 = 0 ;
 
17129
  int res1 = 0 ;
 
17130
  PyObject *swig_obj[1] ;
 
17131
  
 
17132
  if (!args) SWIG_fail;
 
17133
  swig_obj[0] = args;
 
17134
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17135
  if (!SWIG_IsOK(res1)) {
 
17136
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17137
  }
 
17138
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17139
  {
 
17140
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17141
    (arg1)->ParaDown();
 
17142
    wxPyEndAllowThreads(__tstate);
 
17143
    if (PyErr_Occurred()) SWIG_fail;
 
17144
  }
 
17145
  resultobj = SWIG_Py_Void();
 
17146
  return resultobj;
 
17147
fail:
 
17148
  return NULL;
 
17149
}
 
17150
 
 
17151
 
 
17152
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17153
  PyObject *resultobj = 0;
 
17154
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17155
  void *argp1 = 0 ;
 
17156
  int res1 = 0 ;
 
17157
  PyObject *swig_obj[1] ;
 
17158
  
 
17159
  if (!args) SWIG_fail;
 
17160
  swig_obj[0] = args;
 
17161
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17162
  if (!SWIG_IsOK(res1)) {
 
17163
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17164
  }
 
17165
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17166
  {
 
17167
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17168
    (arg1)->ParaDownExtend();
 
17169
    wxPyEndAllowThreads(__tstate);
 
17170
    if (PyErr_Occurred()) SWIG_fail;
 
17171
  }
 
17172
  resultobj = SWIG_Py_Void();
 
17173
  return resultobj;
 
17174
fail:
 
17175
  return NULL;
 
17176
}
 
17177
 
 
17178
 
 
17179
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17180
  PyObject *resultobj = 0;
 
17181
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17182
  void *argp1 = 0 ;
 
17183
  int res1 = 0 ;
 
17184
  PyObject *swig_obj[1] ;
 
17185
  
 
17186
  if (!args) SWIG_fail;
 
17187
  swig_obj[0] = args;
 
17188
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17189
  if (!SWIG_IsOK(res1)) {
 
17190
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17191
  }
 
17192
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17193
  {
 
17194
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17195
    (arg1)->ParaUp();
 
17196
    wxPyEndAllowThreads(__tstate);
 
17197
    if (PyErr_Occurred()) SWIG_fail;
 
17198
  }
 
17199
  resultobj = SWIG_Py_Void();
 
17200
  return resultobj;
 
17201
fail:
 
17202
  return NULL;
 
17203
}
 
17204
 
 
17205
 
 
17206
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17207
  PyObject *resultobj = 0;
 
17208
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17209
  void *argp1 = 0 ;
 
17210
  int res1 = 0 ;
 
17211
  PyObject *swig_obj[1] ;
 
17212
  
 
17213
  if (!args) SWIG_fail;
 
17214
  swig_obj[0] = args;
 
17215
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17216
  if (!SWIG_IsOK(res1)) {
 
17217
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17218
  }
 
17219
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17220
  {
 
17221
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17222
    (arg1)->ParaUpExtend();
 
17223
    wxPyEndAllowThreads(__tstate);
 
17224
    if (PyErr_Occurred()) SWIG_fail;
 
17225
  }
 
17226
  resultobj = SWIG_Py_Void();
 
17227
  return resultobj;
 
17228
fail:
 
17229
  return NULL;
 
17230
}
 
17231
 
 
17232
 
 
17233
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17234
  PyObject *resultobj = 0;
 
17235
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17236
  int arg2 ;
 
17237
  int result;
 
17238
  void *argp1 = 0 ;
 
17239
  int res1 = 0 ;
 
17240
  int val2 ;
 
17241
  int ecode2 = 0 ;
 
17242
  PyObject * obj0 = 0 ;
 
17243
  PyObject * obj1 = 0 ;
 
17244
  char *  kwnames[] = {
 
17245
    (char *) "self",(char *) "pos", NULL 
 
17246
  };
 
17247
  
 
17248
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) SWIG_fail;
 
17249
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17250
  if (!SWIG_IsOK(res1)) {
 
17251
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17252
  }
 
17253
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17254
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
17255
  if (!SWIG_IsOK(ecode2)) {
 
17256
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "2"" of type '" "int""'");
 
17257
  } 
 
17258
  arg2 = static_cast< int >(val2);
 
17259
  {
 
17260
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17261
    result = (int)(arg1)->PositionBefore(arg2);
 
17262
    wxPyEndAllowThreads(__tstate);
 
17263
    if (PyErr_Occurred()) SWIG_fail;
 
17264
  }
 
17265
  resultobj = SWIG_From_int(static_cast< int >(result));
 
17266
  return resultobj;
 
17267
fail:
 
17268
  return NULL;
 
17269
}
 
17270
 
 
17271
 
 
17272
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17273
  PyObject *resultobj = 0;
 
17274
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17275
  int arg2 ;
 
17276
  int result;
 
17277
  void *argp1 = 0 ;
 
17278
  int res1 = 0 ;
 
17279
  int val2 ;
 
17280
  int ecode2 = 0 ;
 
17281
  PyObject * obj0 = 0 ;
 
17282
  PyObject * obj1 = 0 ;
 
17283
  char *  kwnames[] = {
 
17284
    (char *) "self",(char *) "pos", NULL 
 
17285
  };
 
17286
  
 
17287
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) SWIG_fail;
 
17288
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17289
  if (!SWIG_IsOK(res1)) {
 
17290
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17291
  }
 
17292
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17293
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
17294
  if (!SWIG_IsOK(ecode2)) {
 
17295
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "2"" of type '" "int""'");
 
17296
  } 
 
17297
  arg2 = static_cast< int >(val2);
 
17298
  {
 
17299
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17300
    result = (int)(arg1)->PositionAfter(arg2);
 
17301
    wxPyEndAllowThreads(__tstate);
 
17302
    if (PyErr_Occurred()) SWIG_fail;
 
17303
  }
 
17304
  resultobj = SWIG_From_int(static_cast< int >(result));
 
17305
  return resultobj;
 
17306
fail:
 
17307
  return NULL;
 
17308
}
 
17309
 
 
17310
 
 
17311
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17312
  PyObject *resultobj = 0;
 
17313
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17314
  int arg2 ;
 
17315
  int arg3 ;
 
17316
  void *argp1 = 0 ;
 
17317
  int res1 = 0 ;
 
17318
  int val2 ;
 
17319
  int ecode2 = 0 ;
 
17320
  int val3 ;
 
17321
  int ecode3 = 0 ;
 
17322
  PyObject * obj0 = 0 ;
 
17323
  PyObject * obj1 = 0 ;
 
17324
  PyObject * obj2 = 0 ;
 
17325
  char *  kwnames[] = {
 
17326
    (char *) "self",(char *) "start",(char *) "end", NULL 
 
17327
  };
 
17328
  
 
17329
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
17330
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17331
  if (!SWIG_IsOK(res1)) {
 
17332
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17333
  }
 
17334
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17335
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
17336
  if (!SWIG_IsOK(ecode2)) {
 
17337
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "2"" of type '" "int""'");
 
17338
  } 
 
17339
  arg2 = static_cast< int >(val2);
 
17340
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
17341
  if (!SWIG_IsOK(ecode3)) {
 
17342
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "3"" of type '" "int""'");
 
17343
  } 
 
17344
  arg3 = static_cast< int >(val3);
 
17345
  {
 
17346
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17347
    (arg1)->CopyRange(arg2,arg3);
 
17348
    wxPyEndAllowThreads(__tstate);
 
17349
    if (PyErr_Occurred()) SWIG_fail;
 
17350
  }
 
17351
  resultobj = SWIG_Py_Void();
 
17352
  return resultobj;
 
17353
fail:
 
17354
  return NULL;
 
17355
}
 
17356
 
 
17357
 
 
17358
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17359
  PyObject *resultobj = 0;
 
17360
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17361
  int arg2 ;
 
17362
  wxString *arg3 = 0 ;
 
17363
  void *argp1 = 0 ;
 
17364
  int res1 = 0 ;
 
17365
  int val2 ;
 
17366
  int ecode2 = 0 ;
 
17367
  bool temp3 = false ;
 
17368
  PyObject * obj0 = 0 ;
 
17369
  PyObject * obj1 = 0 ;
 
17370
  PyObject * obj2 = 0 ;
 
17371
  char *  kwnames[] = {
 
17372
    (char *) "self",(char *) "length",(char *) "text", NULL 
 
17373
  };
 
17374
  
 
17375
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
17376
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17377
  if (!SWIG_IsOK(res1)) {
 
17378
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17379
  }
 
17380
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17381
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
17382
  if (!SWIG_IsOK(ecode2)) {
 
17383
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "2"" of type '" "int""'");
 
17384
  } 
 
17385
  arg2 = static_cast< int >(val2);
 
17386
  {
 
17387
    arg3 = wxString_in_helper(obj2);
 
17388
    if (arg3 == NULL) SWIG_fail;
 
17389
    temp3 = true;
 
17390
  }
 
17391
  {
 
17392
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17393
    (arg1)->CopyText(arg2,(wxString const &)*arg3);
 
17394
    wxPyEndAllowThreads(__tstate);
 
17395
    if (PyErr_Occurred()) SWIG_fail;
 
17396
  }
 
17397
  resultobj = SWIG_Py_Void();
 
17398
  {
 
17399
    if (temp3)
 
17400
    delete arg3;
 
17401
  }
 
17402
  return resultobj;
 
17403
fail:
 
17404
  {
 
17405
    if (temp3)
 
17406
    delete arg3;
 
17407
  }
 
17408
  return NULL;
 
17409
}
 
17410
 
 
17411
 
 
17412
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17413
  PyObject *resultobj = 0;
 
17414
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17415
  int arg2 ;
 
17416
  void *argp1 = 0 ;
 
17417
  int res1 = 0 ;
 
17418
  int val2 ;
 
17419
  int ecode2 = 0 ;
 
17420
  PyObject * obj0 = 0 ;
 
17421
  PyObject * obj1 = 0 ;
 
17422
  char *  kwnames[] = {
 
17423
    (char *) "self",(char *) "mode", NULL 
 
17424
  };
 
17425
  
 
17426
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) SWIG_fail;
 
17427
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17428
  if (!SWIG_IsOK(res1)) {
 
17429
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17430
  }
 
17431
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17432
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
17433
  if (!SWIG_IsOK(ecode2)) {
 
17434
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "2"" of type '" "int""'");
 
17435
  } 
 
17436
  arg2 = static_cast< int >(val2);
 
17437
  {
 
17438
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17439
    (arg1)->SetSelectionMode(arg2);
 
17440
    wxPyEndAllowThreads(__tstate);
 
17441
    if (PyErr_Occurred()) SWIG_fail;
 
17442
  }
 
17443
  resultobj = SWIG_Py_Void();
 
17444
  return resultobj;
 
17445
fail:
 
17446
  return NULL;
 
17447
}
 
17448
 
 
17449
 
 
17450
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17451
  PyObject *resultobj = 0;
 
17452
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17453
  int result;
 
17454
  void *argp1 = 0 ;
 
17455
  int res1 = 0 ;
 
17456
  PyObject *swig_obj[1] ;
 
17457
  
 
17458
  if (!args) SWIG_fail;
 
17459
  swig_obj[0] = args;
 
17460
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17461
  if (!SWIG_IsOK(res1)) {
 
17462
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
17463
  }
 
17464
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17465
  {
 
17466
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17467
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSelectionMode();
 
17468
    wxPyEndAllowThreads(__tstate);
 
17469
    if (PyErr_Occurred()) SWIG_fail;
 
17470
  }
 
17471
  resultobj = SWIG_From_int(static_cast< int >(result));
 
17472
  return resultobj;
 
17473
fail:
 
17474
  return NULL;
 
17475
}
 
17476
 
 
17477
 
 
17478
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17479
  PyObject *resultobj = 0;
 
17480
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17481
  int arg2 ;
 
17482
  int result;
 
17483
  void *argp1 = 0 ;
 
17484
  int res1 = 0 ;
 
17485
  int val2 ;
 
17486
  int ecode2 = 0 ;
 
17487
  PyObject * obj0 = 0 ;
 
17488
  PyObject * obj1 = 0 ;
 
17489
  char *  kwnames[] = {
 
17490
    (char *) "self",(char *) "line", NULL 
 
17491
  };
 
17492
  
 
17493
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
17494
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17495
  if (!SWIG_IsOK(res1)) {
 
17496
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17497
  }
 
17498
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17499
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
17500
  if (!SWIG_IsOK(ecode2)) {
 
17501
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "2"" of type '" "int""'");
 
17502
  } 
 
17503
  arg2 = static_cast< int >(val2);
 
17504
  {
 
17505
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17506
    result = (int)(arg1)->GetLineSelStartPosition(arg2);
 
17507
    wxPyEndAllowThreads(__tstate);
 
17508
    if (PyErr_Occurred()) SWIG_fail;
 
17509
  }
 
17510
  resultobj = SWIG_From_int(static_cast< int >(result));
 
17511
  return resultobj;
 
17512
fail:
 
17513
  return NULL;
 
17514
}
 
17515
 
 
17516
 
 
17517
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17518
  PyObject *resultobj = 0;
 
17519
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17520
  int arg2 ;
 
17521
  int result;
 
17522
  void *argp1 = 0 ;
 
17523
  int res1 = 0 ;
 
17524
  int val2 ;
 
17525
  int ecode2 = 0 ;
 
17526
  PyObject * obj0 = 0 ;
 
17527
  PyObject * obj1 = 0 ;
 
17528
  char *  kwnames[] = {
 
17529
    (char *) "self",(char *) "line", NULL 
 
17530
  };
 
17531
  
 
17532
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
17533
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17534
  if (!SWIG_IsOK(res1)) {
 
17535
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17536
  }
 
17537
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17538
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
17539
  if (!SWIG_IsOK(ecode2)) {
 
17540
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "2"" of type '" "int""'");
 
17541
  } 
 
17542
  arg2 = static_cast< int >(val2);
 
17543
  {
 
17544
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17545
    result = (int)(arg1)->GetLineSelEndPosition(arg2);
 
17546
    wxPyEndAllowThreads(__tstate);
 
17547
    if (PyErr_Occurred()) SWIG_fail;
 
17548
  }
 
17549
  resultobj = SWIG_From_int(static_cast< int >(result));
 
17550
  return resultobj;
 
17551
fail:
 
17552
  return NULL;
 
17553
}
 
17554
 
 
17555
 
 
17556
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17557
  PyObject *resultobj = 0;
 
17558
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17559
  void *argp1 = 0 ;
 
17560
  int res1 = 0 ;
 
17561
  PyObject *swig_obj[1] ;
 
17562
  
 
17563
  if (!args) SWIG_fail;
 
17564
  swig_obj[0] = args;
 
17565
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17566
  if (!SWIG_IsOK(res1)) {
 
17567
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17568
  }
 
17569
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17570
  {
 
17571
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17572
    (arg1)->LineDownRectExtend();
 
17573
    wxPyEndAllowThreads(__tstate);
 
17574
    if (PyErr_Occurred()) SWIG_fail;
 
17575
  }
 
17576
  resultobj = SWIG_Py_Void();
 
17577
  return resultobj;
 
17578
fail:
 
17579
  return NULL;
 
17580
}
 
17581
 
 
17582
 
 
17583
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17584
  PyObject *resultobj = 0;
 
17585
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17586
  void *argp1 = 0 ;
 
17587
  int res1 = 0 ;
 
17588
  PyObject *swig_obj[1] ;
 
17589
  
 
17590
  if (!args) SWIG_fail;
 
17591
  swig_obj[0] = args;
 
17592
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17593
  if (!SWIG_IsOK(res1)) {
 
17594
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17595
  }
 
17596
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17597
  {
 
17598
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17599
    (arg1)->LineUpRectExtend();
 
17600
    wxPyEndAllowThreads(__tstate);
 
17601
    if (PyErr_Occurred()) SWIG_fail;
 
17602
  }
 
17603
  resultobj = SWIG_Py_Void();
 
17604
  return resultobj;
 
17605
fail:
 
17606
  return NULL;
 
17607
}
 
17608
 
 
17609
 
 
17610
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17611
  PyObject *resultobj = 0;
 
17612
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
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_CharLeftRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17622
  }
 
17623
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17624
  {
 
17625
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17626
    (arg1)->CharLeftRectExtend();
 
17627
    wxPyEndAllowThreads(__tstate);
 
17628
    if (PyErr_Occurred()) SWIG_fail;
 
17629
  }
 
17630
  resultobj = SWIG_Py_Void();
 
17631
  return resultobj;
 
17632
fail:
 
17633
  return NULL;
 
17634
}
 
17635
 
 
17636
 
 
17637
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17638
  PyObject *resultobj = 0;
 
17639
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17640
  void *argp1 = 0 ;
 
17641
  int res1 = 0 ;
 
17642
  PyObject *swig_obj[1] ;
 
17643
  
 
17644
  if (!args) SWIG_fail;
 
17645
  swig_obj[0] = args;
 
17646
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17647
  if (!SWIG_IsOK(res1)) {
 
17648
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17649
  }
 
17650
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17651
  {
 
17652
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17653
    (arg1)->CharRightRectExtend();
 
17654
    wxPyEndAllowThreads(__tstate);
 
17655
    if (PyErr_Occurred()) SWIG_fail;
 
17656
  }
 
17657
  resultobj = SWIG_Py_Void();
 
17658
  return resultobj;
 
17659
fail:
 
17660
  return NULL;
 
17661
}
 
17662
 
 
17663
 
 
17664
SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17665
  PyObject *resultobj = 0;
 
17666
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17667
  void *argp1 = 0 ;
 
17668
  int res1 = 0 ;
 
17669
  PyObject *swig_obj[1] ;
 
17670
  
 
17671
  if (!args) SWIG_fail;
 
17672
  swig_obj[0] = args;
 
17673
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17674
  if (!SWIG_IsOK(res1)) {
 
17675
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17676
  }
 
17677
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17678
  {
 
17679
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17680
    (arg1)->HomeRectExtend();
 
17681
    wxPyEndAllowThreads(__tstate);
 
17682
    if (PyErr_Occurred()) SWIG_fail;
 
17683
  }
 
17684
  resultobj = SWIG_Py_Void();
 
17685
  return resultobj;
 
17686
fail:
 
17687
  return NULL;
 
17688
}
 
17689
 
 
17690
 
 
17691
SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17692
  PyObject *resultobj = 0;
 
17693
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17694
  void *argp1 = 0 ;
 
17695
  int res1 = 0 ;
 
17696
  PyObject *swig_obj[1] ;
 
17697
  
 
17698
  if (!args) SWIG_fail;
 
17699
  swig_obj[0] = args;
 
17700
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17701
  if (!SWIG_IsOK(res1)) {
 
17702
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17703
  }
 
17704
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17705
  {
 
17706
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17707
    (arg1)->VCHomeRectExtend();
 
17708
    wxPyEndAllowThreads(__tstate);
 
17709
    if (PyErr_Occurred()) SWIG_fail;
 
17710
  }
 
17711
  resultobj = SWIG_Py_Void();
 
17712
  return resultobj;
 
17713
fail:
 
17714
  return NULL;
 
17715
}
 
17716
 
 
17717
 
 
17718
SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17719
  PyObject *resultobj = 0;
 
17720
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17721
  void *argp1 = 0 ;
 
17722
  int res1 = 0 ;
 
17723
  PyObject *swig_obj[1] ;
 
17724
  
 
17725
  if (!args) SWIG_fail;
 
17726
  swig_obj[0] = args;
 
17727
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17728
  if (!SWIG_IsOK(res1)) {
 
17729
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17730
  }
 
17731
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17732
  {
 
17733
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17734
    (arg1)->LineEndRectExtend();
 
17735
    wxPyEndAllowThreads(__tstate);
 
17736
    if (PyErr_Occurred()) SWIG_fail;
 
17737
  }
 
17738
  resultobj = SWIG_Py_Void();
 
17739
  return resultobj;
 
17740
fail:
 
17741
  return NULL;
 
17742
}
 
17743
 
 
17744
 
 
17745
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17746
  PyObject *resultobj = 0;
 
17747
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17748
  void *argp1 = 0 ;
 
17749
  int res1 = 0 ;
 
17750
  PyObject *swig_obj[1] ;
 
17751
  
 
17752
  if (!args) SWIG_fail;
 
17753
  swig_obj[0] = args;
 
17754
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17755
  if (!SWIG_IsOK(res1)) {
 
17756
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17757
  }
 
17758
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17759
  {
 
17760
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17761
    (arg1)->PageUpRectExtend();
 
17762
    wxPyEndAllowThreads(__tstate);
 
17763
    if (PyErr_Occurred()) SWIG_fail;
 
17764
  }
 
17765
  resultobj = SWIG_Py_Void();
 
17766
  return resultobj;
 
17767
fail:
 
17768
  return NULL;
 
17769
}
 
17770
 
 
17771
 
 
17772
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17773
  PyObject *resultobj = 0;
 
17774
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17775
  void *argp1 = 0 ;
 
17776
  int res1 = 0 ;
 
17777
  PyObject *swig_obj[1] ;
 
17778
  
 
17779
  if (!args) SWIG_fail;
 
17780
  swig_obj[0] = args;
 
17781
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17782
  if (!SWIG_IsOK(res1)) {
 
17783
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17784
  }
 
17785
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17786
  {
 
17787
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17788
    (arg1)->PageDownRectExtend();
 
17789
    wxPyEndAllowThreads(__tstate);
 
17790
    if (PyErr_Occurred()) SWIG_fail;
 
17791
  }
 
17792
  resultobj = SWIG_Py_Void();
 
17793
  return resultobj;
 
17794
fail:
 
17795
  return NULL;
 
17796
}
 
17797
 
 
17798
 
 
17799
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17800
  PyObject *resultobj = 0;
 
17801
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17802
  void *argp1 = 0 ;
 
17803
  int res1 = 0 ;
 
17804
  PyObject *swig_obj[1] ;
 
17805
  
 
17806
  if (!args) SWIG_fail;
 
17807
  swig_obj[0] = args;
 
17808
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17809
  if (!SWIG_IsOK(res1)) {
 
17810
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17811
  }
 
17812
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17813
  {
 
17814
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17815
    (arg1)->StutteredPageUp();
 
17816
    wxPyEndAllowThreads(__tstate);
 
17817
    if (PyErr_Occurred()) SWIG_fail;
 
17818
  }
 
17819
  resultobj = SWIG_Py_Void();
 
17820
  return resultobj;
 
17821
fail:
 
17822
  return NULL;
 
17823
}
 
17824
 
 
17825
 
 
17826
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17827
  PyObject *resultobj = 0;
 
17828
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17829
  void *argp1 = 0 ;
 
17830
  int res1 = 0 ;
 
17831
  PyObject *swig_obj[1] ;
 
17832
  
 
17833
  if (!args) SWIG_fail;
 
17834
  swig_obj[0] = args;
 
17835
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17836
  if (!SWIG_IsOK(res1)) {
 
17837
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17838
  }
 
17839
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17840
  {
 
17841
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17842
    (arg1)->StutteredPageUpExtend();
 
17843
    wxPyEndAllowThreads(__tstate);
 
17844
    if (PyErr_Occurred()) SWIG_fail;
 
17845
  }
 
17846
  resultobj = SWIG_Py_Void();
 
17847
  return resultobj;
 
17848
fail:
 
17849
  return NULL;
 
17850
}
 
17851
 
 
17852
 
 
17853
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17854
  PyObject *resultobj = 0;
 
17855
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17856
  void *argp1 = 0 ;
 
17857
  int res1 = 0 ;
 
17858
  PyObject *swig_obj[1] ;
 
17859
  
 
17860
  if (!args) SWIG_fail;
 
17861
  swig_obj[0] = args;
 
17862
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17863
  if (!SWIG_IsOK(res1)) {
 
17864
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17865
  }
 
17866
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17867
  {
 
17868
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17869
    (arg1)->StutteredPageDown();
 
17870
    wxPyEndAllowThreads(__tstate);
 
17871
    if (PyErr_Occurred()) SWIG_fail;
 
17872
  }
 
17873
  resultobj = SWIG_Py_Void();
 
17874
  return resultobj;
 
17875
fail:
 
17876
  return NULL;
 
17877
}
 
17878
 
 
17879
 
 
17880
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17881
  PyObject *resultobj = 0;
 
17882
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17883
  void *argp1 = 0 ;
 
17884
  int res1 = 0 ;
 
17885
  PyObject *swig_obj[1] ;
 
17886
  
 
17887
  if (!args) SWIG_fail;
 
17888
  swig_obj[0] = args;
 
17889
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17890
  if (!SWIG_IsOK(res1)) {
 
17891
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17892
  }
 
17893
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17894
  {
 
17895
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17896
    (arg1)->StutteredPageDownExtend();
 
17897
    wxPyEndAllowThreads(__tstate);
 
17898
    if (PyErr_Occurred()) SWIG_fail;
 
17899
  }
 
17900
  resultobj = SWIG_Py_Void();
 
17901
  return resultobj;
 
17902
fail:
 
17903
  return NULL;
 
17904
}
 
17905
 
 
17906
 
 
17907
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17908
  PyObject *resultobj = 0;
 
17909
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17910
  void *argp1 = 0 ;
 
17911
  int res1 = 0 ;
 
17912
  PyObject *swig_obj[1] ;
 
17913
  
 
17914
  if (!args) SWIG_fail;
 
17915
  swig_obj[0] = args;
 
17916
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17917
  if (!SWIG_IsOK(res1)) {
 
17918
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17919
  }
 
17920
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17921
  {
 
17922
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17923
    (arg1)->WordLeftEnd();
 
17924
    wxPyEndAllowThreads(__tstate);
 
17925
    if (PyErr_Occurred()) SWIG_fail;
 
17926
  }
 
17927
  resultobj = SWIG_Py_Void();
 
17928
  return resultobj;
 
17929
fail:
 
17930
  return NULL;
 
17931
}
 
17932
 
 
17933
 
 
17934
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17935
  PyObject *resultobj = 0;
 
17936
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17937
  void *argp1 = 0 ;
 
17938
  int res1 = 0 ;
 
17939
  PyObject *swig_obj[1] ;
 
17940
  
 
17941
  if (!args) SWIG_fail;
 
17942
  swig_obj[0] = args;
 
17943
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17944
  if (!SWIG_IsOK(res1)) {
 
17945
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17946
  }
 
17947
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17948
  {
 
17949
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17950
    (arg1)->WordLeftEndExtend();
 
17951
    wxPyEndAllowThreads(__tstate);
 
17952
    if (PyErr_Occurred()) SWIG_fail;
 
17953
  }
 
17954
  resultobj = SWIG_Py_Void();
 
17955
  return resultobj;
 
17956
fail:
 
17957
  return NULL;
 
17958
}
 
17959
 
 
17960
 
 
17961
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17962
  PyObject *resultobj = 0;
 
17963
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17964
  void *argp1 = 0 ;
 
17965
  int res1 = 0 ;
 
17966
  PyObject *swig_obj[1] ;
 
17967
  
 
17968
  if (!args) SWIG_fail;
 
17969
  swig_obj[0] = args;
 
17970
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17971
  if (!SWIG_IsOK(res1)) {
 
17972
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
17973
  }
 
17974
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
17975
  {
 
17976
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17977
    (arg1)->WordRightEnd();
 
17978
    wxPyEndAllowThreads(__tstate);
 
17979
    if (PyErr_Occurred()) SWIG_fail;
 
17980
  }
 
17981
  resultobj = SWIG_Py_Void();
 
17982
  return resultobj;
 
17983
fail:
 
17984
  return NULL;
 
17985
}
 
17986
 
 
17987
 
 
17988
SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17989
  PyObject *resultobj = 0;
 
17990
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
17991
  void *argp1 = 0 ;
 
17992
  int res1 = 0 ;
 
17993
  PyObject *swig_obj[1] ;
 
17994
  
 
17995
  if (!args) SWIG_fail;
 
17996
  swig_obj[0] = args;
 
17997
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
17998
  if (!SWIG_IsOK(res1)) {
 
17999
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18000
  }
 
18001
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18002
  {
 
18003
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18004
    (arg1)->WordRightEndExtend();
 
18005
    wxPyEndAllowThreads(__tstate);
 
18006
    if (PyErr_Occurred()) SWIG_fail;
 
18007
  }
 
18008
  resultobj = SWIG_Py_Void();
 
18009
  return resultobj;
 
18010
fail:
 
18011
  return NULL;
 
18012
}
 
18013
 
 
18014
 
 
18015
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18016
  PyObject *resultobj = 0;
 
18017
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18018
  wxString *arg2 = 0 ;
 
18019
  void *argp1 = 0 ;
 
18020
  int res1 = 0 ;
 
18021
  bool temp2 = false ;
 
18022
  PyObject * obj0 = 0 ;
 
18023
  PyObject * obj1 = 0 ;
 
18024
  char *  kwnames[] = {
 
18025
    (char *) "self",(char *) "characters", NULL 
 
18026
  };
 
18027
  
 
18028
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) SWIG_fail;
 
18029
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18030
  if (!SWIG_IsOK(res1)) {
 
18031
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18032
  }
 
18033
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18034
  {
 
18035
    arg2 = wxString_in_helper(obj1);
 
18036
    if (arg2 == NULL) SWIG_fail;
 
18037
    temp2 = true;
 
18038
  }
 
18039
  {
 
18040
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18041
    (arg1)->SetWhitespaceChars((wxString const &)*arg2);
 
18042
    wxPyEndAllowThreads(__tstate);
 
18043
    if (PyErr_Occurred()) SWIG_fail;
 
18044
  }
 
18045
  resultobj = SWIG_Py_Void();
 
18046
  {
 
18047
    if (temp2)
 
18048
    delete arg2;
 
18049
  }
 
18050
  return resultobj;
 
18051
fail:
 
18052
  {
 
18053
    if (temp2)
 
18054
    delete arg2;
 
18055
  }
 
18056
  return NULL;
 
18057
}
 
18058
 
 
18059
 
 
18060
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18061
  PyObject *resultobj = 0;
 
18062
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18063
  void *argp1 = 0 ;
 
18064
  int res1 = 0 ;
 
18065
  PyObject *swig_obj[1] ;
 
18066
  
 
18067
  if (!args) SWIG_fail;
 
18068
  swig_obj[0] = args;
 
18069
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18070
  if (!SWIG_IsOK(res1)) {
 
18071
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCharsDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18072
  }
 
18073
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18074
  {
 
18075
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18076
    (arg1)->SetCharsDefault();
 
18077
    wxPyEndAllowThreads(__tstate);
 
18078
    if (PyErr_Occurred()) SWIG_fail;
 
18079
  }
 
18080
  resultobj = SWIG_Py_Void();
 
18081
  return resultobj;
 
18082
fail:
 
18083
  return NULL;
 
18084
}
 
18085
 
 
18086
 
 
18087
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18088
  PyObject *resultobj = 0;
 
18089
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18090
  int result;
 
18091
  void *argp1 = 0 ;
 
18092
  int res1 = 0 ;
 
18093
  PyObject *swig_obj[1] ;
 
18094
  
 
18095
  if (!args) SWIG_fail;
 
18096
  swig_obj[0] = args;
 
18097
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18098
  if (!SWIG_IsOK(res1)) {
 
18099
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCurrent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18100
  }
 
18101
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18102
  {
 
18103
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18104
    result = (int)(arg1)->AutoCompGetCurrent();
 
18105
    wxPyEndAllowThreads(__tstate);
 
18106
    if (PyErr_Occurred()) SWIG_fail;
 
18107
  }
 
18108
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18109
  return resultobj;
 
18110
fail:
 
18111
  return NULL;
 
18112
}
 
18113
 
 
18114
 
 
18115
SWIGINTERN PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18116
  PyObject *resultobj = 0;
 
18117
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18118
  int arg2 ;
 
18119
  void *argp1 = 0 ;
 
18120
  int res1 = 0 ;
 
18121
  int val2 ;
 
18122
  int ecode2 = 0 ;
 
18123
  PyObject * obj0 = 0 ;
 
18124
  PyObject * obj1 = 0 ;
 
18125
  char *  kwnames[] = {
 
18126
    (char *) "self",(char *) "bytes", NULL 
 
18127
  };
 
18128
  
 
18129
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) SWIG_fail;
 
18130
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18131
  if (!SWIG_IsOK(res1)) {
 
18132
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18133
  }
 
18134
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18135
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18136
  if (!SWIG_IsOK(ecode2)) {
 
18137
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "2"" of type '" "int""'");
 
18138
  } 
 
18139
  arg2 = static_cast< int >(val2);
 
18140
  {
 
18141
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18142
    (arg1)->Allocate(arg2);
 
18143
    wxPyEndAllowThreads(__tstate);
 
18144
    if (PyErr_Occurred()) SWIG_fail;
 
18145
  }
 
18146
  resultobj = SWIG_Py_Void();
 
18147
  return resultobj;
 
18148
fail:
 
18149
  return NULL;
 
18150
}
 
18151
 
 
18152
 
 
18153
SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18154
  PyObject *resultobj = 0;
 
18155
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18156
  int arg2 ;
 
18157
  int arg3 ;
 
18158
  int result;
 
18159
  void *argp1 = 0 ;
 
18160
  int res1 = 0 ;
 
18161
  int val2 ;
 
18162
  int ecode2 = 0 ;
 
18163
  int val3 ;
 
18164
  int ecode3 = 0 ;
 
18165
  PyObject * obj0 = 0 ;
 
18166
  PyObject * obj1 = 0 ;
 
18167
  PyObject * obj2 = 0 ;
 
18168
  char *  kwnames[] = {
 
18169
    (char *) "self",(char *) "line",(char *) "column", NULL 
 
18170
  };
 
18171
  
 
18172
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
18173
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18174
  if (!SWIG_IsOK(res1)) {
 
18175
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18176
  }
 
18177
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18178
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18179
  if (!SWIG_IsOK(ecode2)) {
 
18180
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "2"" of type '" "int""'");
 
18181
  } 
 
18182
  arg2 = static_cast< int >(val2);
 
18183
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
18184
  if (!SWIG_IsOK(ecode3)) {
 
18185
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "3"" of type '" "int""'");
 
18186
  } 
 
18187
  arg3 = static_cast< int >(val3);
 
18188
  {
 
18189
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18190
    result = (int)(arg1)->FindColumn(arg2,arg3);
 
18191
    wxPyEndAllowThreads(__tstate);
 
18192
    if (PyErr_Occurred()) SWIG_fail;
 
18193
  }
 
18194
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18195
  return resultobj;
 
18196
fail:
 
18197
  return NULL;
 
18198
}
 
18199
 
 
18200
 
 
18201
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18202
  PyObject *resultobj = 0;
 
18203
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18204
  bool result;
 
18205
  void *argp1 = 0 ;
 
18206
  int res1 = 0 ;
 
18207
  PyObject *swig_obj[1] ;
 
18208
  
 
18209
  if (!args) SWIG_fail;
 
18210
  swig_obj[0] = args;
 
18211
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18212
  if (!SWIG_IsOK(res1)) {
 
18213
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
18214
  }
 
18215
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18216
  {
 
18217
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18218
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetCaretSticky();
 
18219
    wxPyEndAllowThreads(__tstate);
 
18220
    if (PyErr_Occurred()) SWIG_fail;
 
18221
  }
 
18222
  {
 
18223
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
18224
  }
 
18225
  return resultobj;
 
18226
fail:
 
18227
  return NULL;
 
18228
}
 
18229
 
 
18230
 
 
18231
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18232
  PyObject *resultobj = 0;
 
18233
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18234
  bool arg2 ;
 
18235
  void *argp1 = 0 ;
 
18236
  int res1 = 0 ;
 
18237
  bool val2 ;
 
18238
  int ecode2 = 0 ;
 
18239
  PyObject * obj0 = 0 ;
 
18240
  PyObject * obj1 = 0 ;
 
18241
  char *  kwnames[] = {
 
18242
    (char *) "self",(char *) "useCaretStickyBehaviour", NULL 
 
18243
  };
 
18244
  
 
18245
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretSticky",kwnames,&obj0,&obj1)) SWIG_fail;
 
18246
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18247
  if (!SWIG_IsOK(res1)) {
 
18248
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18249
  }
 
18250
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18251
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
18252
  if (!SWIG_IsOK(ecode2)) {
 
18253
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "2"" of type '" "bool""'");
 
18254
  } 
 
18255
  arg2 = static_cast< bool >(val2);
 
18256
  {
 
18257
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18258
    (arg1)->SetCaretSticky(arg2);
 
18259
    wxPyEndAllowThreads(__tstate);
 
18260
    if (PyErr_Occurred()) SWIG_fail;
 
18261
  }
 
18262
  resultobj = SWIG_Py_Void();
 
18263
  return resultobj;
 
18264
fail:
 
18265
  return NULL;
 
18266
}
 
18267
 
 
18268
 
 
18269
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18270
  PyObject *resultobj = 0;
 
18271
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18272
  void *argp1 = 0 ;
 
18273
  int res1 = 0 ;
 
18274
  PyObject *swig_obj[1] ;
 
18275
  
 
18276
  if (!args) SWIG_fail;
 
18277
  swig_obj[0] = args;
 
18278
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18279
  if (!SWIG_IsOK(res1)) {
 
18280
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18281
  }
 
18282
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18283
  {
 
18284
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18285
    (arg1)->ToggleCaretSticky();
 
18286
    wxPyEndAllowThreads(__tstate);
 
18287
    if (PyErr_Occurred()) SWIG_fail;
 
18288
  }
 
18289
  resultobj = SWIG_Py_Void();
 
18290
  return resultobj;
 
18291
fail:
 
18292
  return NULL;
 
18293
}
 
18294
 
 
18295
 
 
18296
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18297
  PyObject *resultobj = 0;
 
18298
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18299
  bool arg2 ;
 
18300
  void *argp1 = 0 ;
 
18301
  int res1 = 0 ;
 
18302
  bool val2 ;
 
18303
  int ecode2 = 0 ;
 
18304
  PyObject * obj0 = 0 ;
 
18305
  PyObject * obj1 = 0 ;
 
18306
  char *  kwnames[] = {
 
18307
    (char *) "self",(char *) "convert", NULL 
 
18308
  };
 
18309
  
 
18310
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPasteConvertEndings",kwnames,&obj0,&obj1)) SWIG_fail;
 
18311
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18312
  if (!SWIG_IsOK(res1)) {
 
18313
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18314
  }
 
18315
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18316
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
18317
  if (!SWIG_IsOK(ecode2)) {
 
18318
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "2"" of type '" "bool""'");
 
18319
  } 
 
18320
  arg2 = static_cast< bool >(val2);
 
18321
  {
 
18322
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18323
    (arg1)->SetPasteConvertEndings(arg2);
 
18324
    wxPyEndAllowThreads(__tstate);
 
18325
    if (PyErr_Occurred()) SWIG_fail;
 
18326
  }
 
18327
  resultobj = SWIG_Py_Void();
 
18328
  return resultobj;
 
18329
fail:
 
18330
  return NULL;
 
18331
}
 
18332
 
 
18333
 
 
18334
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18335
  PyObject *resultobj = 0;
 
18336
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18337
  bool result;
 
18338
  void *argp1 = 0 ;
 
18339
  int res1 = 0 ;
 
18340
  PyObject *swig_obj[1] ;
 
18341
  
 
18342
  if (!args) SWIG_fail;
 
18343
  swig_obj[0] = args;
 
18344
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18345
  if (!SWIG_IsOK(res1)) {
 
18346
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
18347
  }
 
18348
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18349
  {
 
18350
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18351
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetPasteConvertEndings();
 
18352
    wxPyEndAllowThreads(__tstate);
 
18353
    if (PyErr_Occurred()) SWIG_fail;
 
18354
  }
 
18355
  {
 
18356
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
18357
  }
 
18358
  return resultobj;
 
18359
fail:
 
18360
  return NULL;
 
18361
}
 
18362
 
 
18363
 
 
18364
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18365
  PyObject *resultobj = 0;
 
18366
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18367
  void *argp1 = 0 ;
 
18368
  int res1 = 0 ;
 
18369
  PyObject *swig_obj[1] ;
 
18370
  
 
18371
  if (!args) SWIG_fail;
 
18372
  swig_obj[0] = args;
 
18373
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18374
  if (!SWIG_IsOK(res1)) {
 
18375
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18376
  }
 
18377
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18378
  {
 
18379
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18380
    (arg1)->SelectionDuplicate();
 
18381
    wxPyEndAllowThreads(__tstate);
 
18382
    if (PyErr_Occurred()) SWIG_fail;
 
18383
  }
 
18384
  resultobj = SWIG_Py_Void();
 
18385
  return resultobj;
 
18386
fail:
 
18387
  return NULL;
 
18388
}
 
18389
 
 
18390
 
 
18391
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineBackAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18392
  PyObject *resultobj = 0;
 
18393
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18394
  int arg2 ;
 
18395
  void *argp1 = 0 ;
 
18396
  int res1 = 0 ;
 
18397
  int val2 ;
 
18398
  int ecode2 = 0 ;
 
18399
  PyObject * obj0 = 0 ;
 
18400
  PyObject * obj1 = 0 ;
 
18401
  char *  kwnames[] = {
 
18402
    (char *) "self",(char *) "alpha", NULL 
 
18403
  };
 
18404
  
 
18405
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBackAlpha",kwnames,&obj0,&obj1)) SWIG_fail;
 
18406
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18407
  if (!SWIG_IsOK(res1)) {
 
18408
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineBackAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18409
  }
 
18410
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18411
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18412
  if (!SWIG_IsOK(ecode2)) {
 
18413
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretLineBackAlpha" "', expected argument " "2"" of type '" "int""'");
 
18414
  } 
 
18415
  arg2 = static_cast< int >(val2);
 
18416
  {
 
18417
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18418
    (arg1)->SetCaretLineBackAlpha(arg2);
 
18419
    wxPyEndAllowThreads(__tstate);
 
18420
    if (PyErr_Occurred()) SWIG_fail;
 
18421
  }
 
18422
  resultobj = SWIG_Py_Void();
 
18423
  return resultobj;
 
18424
fail:
 
18425
  return NULL;
 
18426
}
 
18427
 
 
18428
 
 
18429
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineBackAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18430
  PyObject *resultobj = 0;
 
18431
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18432
  int result;
 
18433
  void *argp1 = 0 ;
 
18434
  int res1 = 0 ;
 
18435
  PyObject *swig_obj[1] ;
 
18436
  
 
18437
  if (!args) SWIG_fail;
 
18438
  swig_obj[0] = args;
 
18439
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18440
  if (!SWIG_IsOK(res1)) {
 
18441
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineBackAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
18442
  }
 
18443
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18444
  {
 
18445
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18446
    result = (int)((wxStyledTextCtrl const *)arg1)->GetCaretLineBackAlpha();
 
18447
    wxPyEndAllowThreads(__tstate);
 
18448
    if (PyErr_Occurred()) SWIG_fail;
 
18449
  }
 
18450
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18451
  return resultobj;
 
18452
fail:
 
18453
  return NULL;
 
18454
}
 
18455
 
 
18456
 
 
18457
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18458
  PyObject *resultobj = 0;
 
18459
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18460
  int arg2 ;
 
18461
  void *argp1 = 0 ;
 
18462
  int res1 = 0 ;
 
18463
  int val2 ;
 
18464
  int ecode2 = 0 ;
 
18465
  PyObject * obj0 = 0 ;
 
18466
  PyObject * obj1 = 0 ;
 
18467
  char *  kwnames[] = {
 
18468
    (char *) "self",(char *) "caretStyle", NULL 
 
18469
  };
 
18470
  
 
18471
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
18472
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18473
  if (!SWIG_IsOK(res1)) {
 
18474
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18475
  }
 
18476
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18477
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18478
  if (!SWIG_IsOK(ecode2)) {
 
18479
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretStyle" "', expected argument " "2"" of type '" "int""'");
 
18480
  } 
 
18481
  arg2 = static_cast< int >(val2);
 
18482
  {
 
18483
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18484
    (arg1)->SetCaretStyle(arg2);
 
18485
    wxPyEndAllowThreads(__tstate);
 
18486
    if (PyErr_Occurred()) SWIG_fail;
 
18487
  }
 
18488
  resultobj = SWIG_Py_Void();
 
18489
  return resultobj;
 
18490
fail:
 
18491
  return NULL;
 
18492
}
 
18493
 
 
18494
 
 
18495
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18496
  PyObject *resultobj = 0;
 
18497
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18498
  int result;
 
18499
  void *argp1 = 0 ;
 
18500
  int res1 = 0 ;
 
18501
  PyObject *swig_obj[1] ;
 
18502
  
 
18503
  if (!args) SWIG_fail;
 
18504
  swig_obj[0] = args;
 
18505
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18506
  if (!SWIG_IsOK(res1)) {
 
18507
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
18508
  }
 
18509
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18510
  {
 
18511
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18512
    result = (int)((wxStyledTextCtrl const *)arg1)->GetCaretStyle();
 
18513
    wxPyEndAllowThreads(__tstate);
 
18514
    if (PyErr_Occurred()) SWIG_fail;
 
18515
  }
 
18516
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18517
  return resultobj;
 
18518
fail:
 
18519
  return NULL;
 
18520
}
 
18521
 
 
18522
 
 
18523
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndicatorCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18524
  PyObject *resultobj = 0;
 
18525
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18526
  int arg2 ;
 
18527
  void *argp1 = 0 ;
 
18528
  int res1 = 0 ;
 
18529
  int val2 ;
 
18530
  int ecode2 = 0 ;
 
18531
  PyObject * obj0 = 0 ;
 
18532
  PyObject * obj1 = 0 ;
 
18533
  char *  kwnames[] = {
 
18534
    (char *) "self",(char *) "indicator", NULL 
 
18535
  };
 
18536
  
 
18537
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndicatorCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
 
18538
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18539
  if (!SWIG_IsOK(res1)) {
 
18540
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndicatorCurrent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18541
  }
 
18542
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18543
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18544
  if (!SWIG_IsOK(ecode2)) {
 
18545
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndicatorCurrent" "', expected argument " "2"" of type '" "int""'");
 
18546
  } 
 
18547
  arg2 = static_cast< int >(val2);
 
18548
  {
 
18549
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18550
    (arg1)->SetIndicatorCurrent(arg2);
 
18551
    wxPyEndAllowThreads(__tstate);
 
18552
    if (PyErr_Occurred()) SWIG_fail;
 
18553
  }
 
18554
  resultobj = SWIG_Py_Void();
 
18555
  return resultobj;
 
18556
fail:
 
18557
  return NULL;
 
18558
}
 
18559
 
 
18560
 
 
18561
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndicatorCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18562
  PyObject *resultobj = 0;
 
18563
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18564
  int result;
 
18565
  void *argp1 = 0 ;
 
18566
  int res1 = 0 ;
 
18567
  PyObject *swig_obj[1] ;
 
18568
  
 
18569
  if (!args) SWIG_fail;
 
18570
  swig_obj[0] = args;
 
18571
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18572
  if (!SWIG_IsOK(res1)) {
 
18573
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndicatorCurrent" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
18574
  }
 
18575
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18576
  {
 
18577
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18578
    result = (int)((wxStyledTextCtrl const *)arg1)->GetIndicatorCurrent();
 
18579
    wxPyEndAllowThreads(__tstate);
 
18580
    if (PyErr_Occurred()) SWIG_fail;
 
18581
  }
 
18582
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18583
  return resultobj;
 
18584
fail:
 
18585
  return NULL;
 
18586
}
 
18587
 
 
18588
 
 
18589
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndicatorValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18590
  PyObject *resultobj = 0;
 
18591
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18592
  int arg2 ;
 
18593
  void *argp1 = 0 ;
 
18594
  int res1 = 0 ;
 
18595
  int val2 ;
 
18596
  int ecode2 = 0 ;
 
18597
  PyObject * obj0 = 0 ;
 
18598
  PyObject * obj1 = 0 ;
 
18599
  char *  kwnames[] = {
 
18600
    (char *) "self",(char *) "value", NULL 
 
18601
  };
 
18602
  
 
18603
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndicatorValue",kwnames,&obj0,&obj1)) SWIG_fail;
 
18604
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18605
  if (!SWIG_IsOK(res1)) {
 
18606
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndicatorValue" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18607
  }
 
18608
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18609
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18610
  if (!SWIG_IsOK(ecode2)) {
 
18611
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndicatorValue" "', expected argument " "2"" of type '" "int""'");
 
18612
  } 
 
18613
  arg2 = static_cast< int >(val2);
 
18614
  {
 
18615
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18616
    (arg1)->SetIndicatorValue(arg2);
 
18617
    wxPyEndAllowThreads(__tstate);
 
18618
    if (PyErr_Occurred()) SWIG_fail;
 
18619
  }
 
18620
  resultobj = SWIG_Py_Void();
 
18621
  return resultobj;
 
18622
fail:
 
18623
  return NULL;
 
18624
}
 
18625
 
 
18626
 
 
18627
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndicatorValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18628
  PyObject *resultobj = 0;
 
18629
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18630
  int result;
 
18631
  void *argp1 = 0 ;
 
18632
  int res1 = 0 ;
 
18633
  PyObject *swig_obj[1] ;
 
18634
  
 
18635
  if (!args) SWIG_fail;
 
18636
  swig_obj[0] = args;
 
18637
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18638
  if (!SWIG_IsOK(res1)) {
 
18639
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndicatorValue" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
18640
  }
 
18641
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18642
  {
 
18643
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18644
    result = (int)((wxStyledTextCtrl const *)arg1)->GetIndicatorValue();
 
18645
    wxPyEndAllowThreads(__tstate);
 
18646
    if (PyErr_Occurred()) SWIG_fail;
 
18647
  }
 
18648
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18649
  return resultobj;
 
18650
fail:
 
18651
  return NULL;
 
18652
}
 
18653
 
 
18654
 
 
18655
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorFillRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18656
  PyObject *resultobj = 0;
 
18657
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18658
  int arg2 ;
 
18659
  int arg3 ;
 
18660
  void *argp1 = 0 ;
 
18661
  int res1 = 0 ;
 
18662
  int val2 ;
 
18663
  int ecode2 = 0 ;
 
18664
  int val3 ;
 
18665
  int ecode3 = 0 ;
 
18666
  PyObject * obj0 = 0 ;
 
18667
  PyObject * obj1 = 0 ;
 
18668
  PyObject * obj2 = 0 ;
 
18669
  char *  kwnames[] = {
 
18670
    (char *) "self",(char *) "position",(char *) "fillLength", NULL 
 
18671
  };
 
18672
  
 
18673
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorFillRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
18674
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18675
  if (!SWIG_IsOK(res1)) {
 
18676
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorFillRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18677
  }
 
18678
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18679
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18680
  if (!SWIG_IsOK(ecode2)) {
 
18681
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorFillRange" "', expected argument " "2"" of type '" "int""'");
 
18682
  } 
 
18683
  arg2 = static_cast< int >(val2);
 
18684
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
18685
  if (!SWIG_IsOK(ecode3)) {
 
18686
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorFillRange" "', expected argument " "3"" of type '" "int""'");
 
18687
  } 
 
18688
  arg3 = static_cast< int >(val3);
 
18689
  {
 
18690
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18691
    (arg1)->IndicatorFillRange(arg2,arg3);
 
18692
    wxPyEndAllowThreads(__tstate);
 
18693
    if (PyErr_Occurred()) SWIG_fail;
 
18694
  }
 
18695
  resultobj = SWIG_Py_Void();
 
18696
  return resultobj;
 
18697
fail:
 
18698
  return NULL;
 
18699
}
 
18700
 
 
18701
 
 
18702
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorClearRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18703
  PyObject *resultobj = 0;
 
18704
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18705
  int arg2 ;
 
18706
  int arg3 ;
 
18707
  void *argp1 = 0 ;
 
18708
  int res1 = 0 ;
 
18709
  int val2 ;
 
18710
  int ecode2 = 0 ;
 
18711
  int val3 ;
 
18712
  int ecode3 = 0 ;
 
18713
  PyObject * obj0 = 0 ;
 
18714
  PyObject * obj1 = 0 ;
 
18715
  PyObject * obj2 = 0 ;
 
18716
  char *  kwnames[] = {
 
18717
    (char *) "self",(char *) "position",(char *) "clearLength", NULL 
 
18718
  };
 
18719
  
 
18720
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorClearRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
18721
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18722
  if (!SWIG_IsOK(res1)) {
 
18723
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorClearRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18724
  }
 
18725
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18726
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18727
  if (!SWIG_IsOK(ecode2)) {
 
18728
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorClearRange" "', expected argument " "2"" of type '" "int""'");
 
18729
  } 
 
18730
  arg2 = static_cast< int >(val2);
 
18731
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
18732
  if (!SWIG_IsOK(ecode3)) {
 
18733
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorClearRange" "', expected argument " "3"" of type '" "int""'");
 
18734
  } 
 
18735
  arg3 = static_cast< int >(val3);
 
18736
  {
 
18737
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18738
    (arg1)->IndicatorClearRange(arg2,arg3);
 
18739
    wxPyEndAllowThreads(__tstate);
 
18740
    if (PyErr_Occurred()) SWIG_fail;
 
18741
  }
 
18742
  resultobj = SWIG_Py_Void();
 
18743
  return resultobj;
 
18744
fail:
 
18745
  return NULL;
 
18746
}
 
18747
 
 
18748
 
 
18749
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorAllOnFor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18750
  PyObject *resultobj = 0;
 
18751
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18752
  int arg2 ;
 
18753
  int result;
 
18754
  void *argp1 = 0 ;
 
18755
  int res1 = 0 ;
 
18756
  int val2 ;
 
18757
  int ecode2 = 0 ;
 
18758
  PyObject * obj0 = 0 ;
 
18759
  PyObject * obj1 = 0 ;
 
18760
  char *  kwnames[] = {
 
18761
    (char *) "self",(char *) "position", NULL 
 
18762
  };
 
18763
  
 
18764
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorAllOnFor",kwnames,&obj0,&obj1)) SWIG_fail;
 
18765
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18766
  if (!SWIG_IsOK(res1)) {
 
18767
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorAllOnFor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18768
  }
 
18769
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18770
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18771
  if (!SWIG_IsOK(ecode2)) {
 
18772
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorAllOnFor" "', expected argument " "2"" of type '" "int""'");
 
18773
  } 
 
18774
  arg2 = static_cast< int >(val2);
 
18775
  {
 
18776
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18777
    result = (int)(arg1)->IndicatorAllOnFor(arg2);
 
18778
    wxPyEndAllowThreads(__tstate);
 
18779
    if (PyErr_Occurred()) SWIG_fail;
 
18780
  }
 
18781
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18782
  return resultobj;
 
18783
fail:
 
18784
  return NULL;
 
18785
}
 
18786
 
 
18787
 
 
18788
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorValueAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18789
  PyObject *resultobj = 0;
 
18790
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18791
  int arg2 ;
 
18792
  int arg3 ;
 
18793
  int result;
 
18794
  void *argp1 = 0 ;
 
18795
  int res1 = 0 ;
 
18796
  int val2 ;
 
18797
  int ecode2 = 0 ;
 
18798
  int val3 ;
 
18799
  int ecode3 = 0 ;
 
18800
  PyObject * obj0 = 0 ;
 
18801
  PyObject * obj1 = 0 ;
 
18802
  PyObject * obj2 = 0 ;
 
18803
  char *  kwnames[] = {
 
18804
    (char *) "self",(char *) "indicator",(char *) "position", NULL 
 
18805
  };
 
18806
  
 
18807
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorValueAt",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
18808
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18809
  if (!SWIG_IsOK(res1)) {
 
18810
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorValueAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18811
  }
 
18812
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18813
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18814
  if (!SWIG_IsOK(ecode2)) {
 
18815
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorValueAt" "', expected argument " "2"" of type '" "int""'");
 
18816
  } 
 
18817
  arg2 = static_cast< int >(val2);
 
18818
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
18819
  if (!SWIG_IsOK(ecode3)) {
 
18820
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorValueAt" "', expected argument " "3"" of type '" "int""'");
 
18821
  } 
 
18822
  arg3 = static_cast< int >(val3);
 
18823
  {
 
18824
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18825
    result = (int)(arg1)->IndicatorValueAt(arg2,arg3);
 
18826
    wxPyEndAllowThreads(__tstate);
 
18827
    if (PyErr_Occurred()) SWIG_fail;
 
18828
  }
 
18829
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18830
  return resultobj;
 
18831
fail:
 
18832
  return NULL;
 
18833
}
 
18834
 
 
18835
 
 
18836
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18837
  PyObject *resultobj = 0;
 
18838
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18839
  int arg2 ;
 
18840
  int arg3 ;
 
18841
  int result;
 
18842
  void *argp1 = 0 ;
 
18843
  int res1 = 0 ;
 
18844
  int val2 ;
 
18845
  int ecode2 = 0 ;
 
18846
  int val3 ;
 
18847
  int ecode3 = 0 ;
 
18848
  PyObject * obj0 = 0 ;
 
18849
  PyObject * obj1 = 0 ;
 
18850
  PyObject * obj2 = 0 ;
 
18851
  char *  kwnames[] = {
 
18852
    (char *) "self",(char *) "indicator",(char *) "position", NULL 
 
18853
  };
 
18854
  
 
18855
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorStart",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
18856
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18857
  if (!SWIG_IsOK(res1)) {
 
18858
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18859
  }
 
18860
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18861
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18862
  if (!SWIG_IsOK(ecode2)) {
 
18863
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorStart" "', expected argument " "2"" of type '" "int""'");
 
18864
  } 
 
18865
  arg2 = static_cast< int >(val2);
 
18866
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
18867
  if (!SWIG_IsOK(ecode3)) {
 
18868
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorStart" "', expected argument " "3"" of type '" "int""'");
 
18869
  } 
 
18870
  arg3 = static_cast< int >(val3);
 
18871
  {
 
18872
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18873
    result = (int)(arg1)->IndicatorStart(arg2,arg3);
 
18874
    wxPyEndAllowThreads(__tstate);
 
18875
    if (PyErr_Occurred()) SWIG_fail;
 
18876
  }
 
18877
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18878
  return resultobj;
 
18879
fail:
 
18880
  return NULL;
 
18881
}
 
18882
 
 
18883
 
 
18884
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18885
  PyObject *resultobj = 0;
 
18886
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18887
  int arg2 ;
 
18888
  int arg3 ;
 
18889
  int result;
 
18890
  void *argp1 = 0 ;
 
18891
  int res1 = 0 ;
 
18892
  int val2 ;
 
18893
  int ecode2 = 0 ;
 
18894
  int val3 ;
 
18895
  int ecode3 = 0 ;
 
18896
  PyObject * obj0 = 0 ;
 
18897
  PyObject * obj1 = 0 ;
 
18898
  PyObject * obj2 = 0 ;
 
18899
  char *  kwnames[] = {
 
18900
    (char *) "self",(char *) "indicator",(char *) "position", NULL 
 
18901
  };
 
18902
  
 
18903
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorEnd",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
18904
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18905
  if (!SWIG_IsOK(res1)) {
 
18906
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18907
  }
 
18908
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18909
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18910
  if (!SWIG_IsOK(ecode2)) {
 
18911
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorEnd" "', expected argument " "2"" of type '" "int""'");
 
18912
  } 
 
18913
  arg2 = static_cast< int >(val2);
 
18914
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
18915
  if (!SWIG_IsOK(ecode3)) {
 
18916
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorEnd" "', expected argument " "3"" of type '" "int""'");
 
18917
  } 
 
18918
  arg3 = static_cast< int >(val3);
 
18919
  {
 
18920
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18921
    result = (int)(arg1)->IndicatorEnd(arg2,arg3);
 
18922
    wxPyEndAllowThreads(__tstate);
 
18923
    if (PyErr_Occurred()) SWIG_fail;
 
18924
  }
 
18925
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18926
  return resultobj;
 
18927
fail:
 
18928
  return NULL;
 
18929
}
 
18930
 
 
18931
 
 
18932
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPositionCacheSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18933
  PyObject *resultobj = 0;
 
18934
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18935
  int arg2 ;
 
18936
  void *argp1 = 0 ;
 
18937
  int res1 = 0 ;
 
18938
  int val2 ;
 
18939
  int ecode2 = 0 ;
 
18940
  PyObject * obj0 = 0 ;
 
18941
  PyObject * obj1 = 0 ;
 
18942
  char *  kwnames[] = {
 
18943
    (char *) "self",(char *) "size", NULL 
 
18944
  };
 
18945
  
 
18946
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPositionCacheSize",kwnames,&obj0,&obj1)) SWIG_fail;
 
18947
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18948
  if (!SWIG_IsOK(res1)) {
 
18949
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPositionCacheSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
18950
  }
 
18951
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18952
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18953
  if (!SWIG_IsOK(ecode2)) {
 
18954
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPositionCacheSize" "', expected argument " "2"" of type '" "int""'");
 
18955
  } 
 
18956
  arg2 = static_cast< int >(val2);
 
18957
  {
 
18958
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18959
    (arg1)->SetPositionCacheSize(arg2);
 
18960
    wxPyEndAllowThreads(__tstate);
 
18961
    if (PyErr_Occurred()) SWIG_fail;
 
18962
  }
 
18963
  resultobj = SWIG_Py_Void();
 
18964
  return resultobj;
 
18965
fail:
 
18966
  return NULL;
 
18967
}
 
18968
 
 
18969
 
 
18970
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPositionCacheSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18971
  PyObject *resultobj = 0;
 
18972
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
18973
  int result;
 
18974
  void *argp1 = 0 ;
 
18975
  int res1 = 0 ;
 
18976
  PyObject *swig_obj[1] ;
 
18977
  
 
18978
  if (!args) SWIG_fail;
 
18979
  swig_obj[0] = args;
 
18980
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
18981
  if (!SWIG_IsOK(res1)) {
 
18982
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPositionCacheSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
18983
  }
 
18984
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
18985
  {
 
18986
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18987
    result = (int)((wxStyledTextCtrl const *)arg1)->GetPositionCacheSize();
 
18988
    wxPyEndAllowThreads(__tstate);
 
18989
    if (PyErr_Occurred()) SWIG_fail;
 
18990
  }
 
18991
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18992
  return resultobj;
 
18993
fail:
 
18994
  return NULL;
 
18995
}
 
18996
 
 
18997
 
 
18998
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyAllowLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18999
  PyObject *resultobj = 0;
 
19000
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19001
  void *argp1 = 0 ;
 
19002
  int res1 = 0 ;
 
19003
  PyObject *swig_obj[1] ;
 
19004
  
 
19005
  if (!args) SWIG_fail;
 
19006
  swig_obj[0] = args;
 
19007
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19008
  if (!SWIG_IsOK(res1)) {
 
19009
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyAllowLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19010
  }
 
19011
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19012
  {
 
19013
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19014
    (arg1)->CopyAllowLine();
 
19015
    wxPyEndAllowThreads(__tstate);
 
19016
    if (PyErr_Occurred()) SWIG_fail;
 
19017
  }
 
19018
  resultobj = SWIG_Py_Void();
 
19019
  return resultobj;
 
19020
fail:
 
19021
  return NULL;
 
19022
}
 
19023
 
 
19024
 
 
19025
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetKeysUnicode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19026
  PyObject *resultobj = 0;
 
19027
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19028
  bool arg2 ;
 
19029
  void *argp1 = 0 ;
 
19030
  int res1 = 0 ;
 
19031
  bool val2 ;
 
19032
  int ecode2 = 0 ;
 
19033
  PyObject * obj0 = 0 ;
 
19034
  PyObject * obj1 = 0 ;
 
19035
  char *  kwnames[] = {
 
19036
    (char *) "self",(char *) "keysUnicode", NULL 
 
19037
  };
 
19038
  
 
19039
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetKeysUnicode",kwnames,&obj0,&obj1)) SWIG_fail;
 
19040
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19041
  if (!SWIG_IsOK(res1)) {
 
19042
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetKeysUnicode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19043
  }
 
19044
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19045
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
19046
  if (!SWIG_IsOK(ecode2)) {
 
19047
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetKeysUnicode" "', expected argument " "2"" of type '" "bool""'");
 
19048
  } 
 
19049
  arg2 = static_cast< bool >(val2);
 
19050
  {
 
19051
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19052
    (arg1)->SetKeysUnicode(arg2);
 
19053
    wxPyEndAllowThreads(__tstate);
 
19054
    if (PyErr_Occurred()) SWIG_fail;
 
19055
  }
 
19056
  resultobj = SWIG_Py_Void();
 
19057
  return resultobj;
 
19058
fail:
 
19059
  return NULL;
 
19060
}
 
19061
 
 
19062
 
 
19063
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetKeysUnicode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
19064
  PyObject *resultobj = 0;
 
19065
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19066
  bool result;
 
19067
  void *argp1 = 0 ;
 
19068
  int res1 = 0 ;
 
19069
  PyObject *swig_obj[1] ;
 
19070
  
 
19071
  if (!args) SWIG_fail;
 
19072
  swig_obj[0] = args;
 
19073
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19074
  if (!SWIG_IsOK(res1)) {
 
19075
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetKeysUnicode" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
19076
  }
 
19077
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19078
  {
 
19079
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19080
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetKeysUnicode();
 
19081
    wxPyEndAllowThreads(__tstate);
 
19082
    if (PyErr_Occurred()) SWIG_fail;
 
19083
  }
 
19084
  {
 
19085
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
19086
  }
 
19087
  return resultobj;
 
19088
fail:
 
19089
  return NULL;
 
19090
}
 
19091
 
 
19092
 
 
19093
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19094
  PyObject *resultobj = 0;
 
19095
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19096
  int arg2 ;
 
19097
  int arg3 ;
 
19098
  void *argp1 = 0 ;
 
19099
  int res1 = 0 ;
 
19100
  int val2 ;
 
19101
  int ecode2 = 0 ;
 
19102
  int val3 ;
 
19103
  int ecode3 = 0 ;
 
19104
  PyObject * obj0 = 0 ;
 
19105
  PyObject * obj1 = 0 ;
 
19106
  PyObject * obj2 = 0 ;
 
19107
  char *  kwnames[] = {
 
19108
    (char *) "self",(char *) "indicator",(char *) "alpha", NULL 
 
19109
  };
 
19110
  
 
19111
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetAlpha",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
19112
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19113
  if (!SWIG_IsOK(res1)) {
 
19114
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19115
  }
 
19116
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19117
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19118
  if (!SWIG_IsOK(ecode2)) {
 
19119
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetAlpha" "', expected argument " "2"" of type '" "int""'");
 
19120
  } 
 
19121
  arg2 = static_cast< int >(val2);
 
19122
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
19123
  if (!SWIG_IsOK(ecode3)) {
 
19124
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorSetAlpha" "', expected argument " "3"" of type '" "int""'");
 
19125
  } 
 
19126
  arg3 = static_cast< int >(val3);
 
19127
  {
 
19128
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19129
    (arg1)->IndicatorSetAlpha(arg2,arg3);
 
19130
    wxPyEndAllowThreads(__tstate);
 
19131
    if (PyErr_Occurred()) SWIG_fail;
 
19132
  }
 
19133
  resultobj = SWIG_Py_Void();
 
19134
  return resultobj;
 
19135
fail:
 
19136
  return NULL;
 
19137
}
 
19138
 
 
19139
 
 
19140
SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19141
  PyObject *resultobj = 0;
 
19142
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19143
  int arg2 ;
 
19144
  int result;
 
19145
  void *argp1 = 0 ;
 
19146
  int res1 = 0 ;
 
19147
  int val2 ;
 
19148
  int ecode2 = 0 ;
 
19149
  PyObject * obj0 = 0 ;
 
19150
  PyObject * obj1 = 0 ;
 
19151
  char *  kwnames[] = {
 
19152
    (char *) "self",(char *) "indicator", NULL 
 
19153
  };
 
19154
  
 
19155
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetAlpha",kwnames,&obj0,&obj1)) SWIG_fail;
 
19156
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19157
  if (!SWIG_IsOK(res1)) {
 
19158
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
19159
  }
 
19160
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19161
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19162
  if (!SWIG_IsOK(ecode2)) {
 
19163
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetAlpha" "', expected argument " "2"" of type '" "int""'");
 
19164
  } 
 
19165
  arg2 = static_cast< int >(val2);
 
19166
  {
 
19167
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19168
    result = (int)((wxStyledTextCtrl const *)arg1)->IndicatorGetAlpha(arg2);
 
19169
    wxPyEndAllowThreads(__tstate);
 
19170
    if (PyErr_Occurred()) SWIG_fail;
 
19171
  }
 
19172
  resultobj = SWIG_From_int(static_cast< int >(result));
 
19173
  return resultobj;
 
19174
fail:
 
19175
  return NULL;
 
19176
}
 
19177
 
 
19178
 
 
19179
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetExtraAscent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19180
  PyObject *resultobj = 0;
 
19181
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19182
  int arg2 ;
 
19183
  void *argp1 = 0 ;
 
19184
  int res1 = 0 ;
 
19185
  int val2 ;
 
19186
  int ecode2 = 0 ;
 
19187
  PyObject * obj0 = 0 ;
 
19188
  PyObject * obj1 = 0 ;
 
19189
  char *  kwnames[] = {
 
19190
    (char *) "self",(char *) "extraAscent", NULL 
 
19191
  };
 
19192
  
 
19193
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetExtraAscent",kwnames,&obj0,&obj1)) SWIG_fail;
 
19194
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19195
  if (!SWIG_IsOK(res1)) {
 
19196
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetExtraAscent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19197
  }
 
19198
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19199
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19200
  if (!SWIG_IsOK(ecode2)) {
 
19201
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetExtraAscent" "', expected argument " "2"" of type '" "int""'");
 
19202
  } 
 
19203
  arg2 = static_cast< int >(val2);
 
19204
  {
 
19205
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19206
    (arg1)->SetExtraAscent(arg2);
 
19207
    wxPyEndAllowThreads(__tstate);
 
19208
    if (PyErr_Occurred()) SWIG_fail;
 
19209
  }
 
19210
  resultobj = SWIG_Py_Void();
 
19211
  return resultobj;
 
19212
fail:
 
19213
  return NULL;
 
19214
}
 
19215
 
 
19216
 
 
19217
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetExtraAscent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
19218
  PyObject *resultobj = 0;
 
19219
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19220
  int result;
 
19221
  void *argp1 = 0 ;
 
19222
  int res1 = 0 ;
 
19223
  PyObject *swig_obj[1] ;
 
19224
  
 
19225
  if (!args) SWIG_fail;
 
19226
  swig_obj[0] = args;
 
19227
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19228
  if (!SWIG_IsOK(res1)) {
 
19229
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetExtraAscent" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
19230
  }
 
19231
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19232
  {
 
19233
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19234
    result = (int)((wxStyledTextCtrl const *)arg1)->GetExtraAscent();
 
19235
    wxPyEndAllowThreads(__tstate);
 
19236
    if (PyErr_Occurred()) SWIG_fail;
 
19237
  }
 
19238
  resultobj = SWIG_From_int(static_cast< int >(result));
 
19239
  return resultobj;
 
19240
fail:
 
19241
  return NULL;
 
19242
}
 
19243
 
 
19244
 
 
19245
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetExtraDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19246
  PyObject *resultobj = 0;
 
19247
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19248
  int arg2 ;
 
19249
  void *argp1 = 0 ;
 
19250
  int res1 = 0 ;
 
19251
  int val2 ;
 
19252
  int ecode2 = 0 ;
 
19253
  PyObject * obj0 = 0 ;
 
19254
  PyObject * obj1 = 0 ;
 
19255
  char *  kwnames[] = {
 
19256
    (char *) "self",(char *) "extraDescent", NULL 
 
19257
  };
 
19258
  
 
19259
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetExtraDescent",kwnames,&obj0,&obj1)) SWIG_fail;
 
19260
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19261
  if (!SWIG_IsOK(res1)) {
 
19262
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetExtraDescent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19263
  }
 
19264
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19265
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19266
  if (!SWIG_IsOK(ecode2)) {
 
19267
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetExtraDescent" "', expected argument " "2"" of type '" "int""'");
 
19268
  } 
 
19269
  arg2 = static_cast< int >(val2);
 
19270
  {
 
19271
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19272
    (arg1)->SetExtraDescent(arg2);
 
19273
    wxPyEndAllowThreads(__tstate);
 
19274
    if (PyErr_Occurred()) SWIG_fail;
 
19275
  }
 
19276
  resultobj = SWIG_Py_Void();
 
19277
  return resultobj;
 
19278
fail:
 
19279
  return NULL;
 
19280
}
 
19281
 
 
19282
 
 
19283
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetExtraDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
19284
  PyObject *resultobj = 0;
 
19285
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19286
  int result;
 
19287
  void *argp1 = 0 ;
 
19288
  int res1 = 0 ;
 
19289
  PyObject *swig_obj[1] ;
 
19290
  
 
19291
  if (!args) SWIG_fail;
 
19292
  swig_obj[0] = args;
 
19293
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19294
  if (!SWIG_IsOK(res1)) {
 
19295
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetExtraDescent" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
19296
  }
 
19297
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19298
  {
 
19299
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19300
    result = (int)((wxStyledTextCtrl const *)arg1)->GetExtraDescent();
 
19301
    wxPyEndAllowThreads(__tstate);
 
19302
    if (PyErr_Occurred()) SWIG_fail;
 
19303
  }
 
19304
  resultobj = SWIG_From_int(static_cast< int >(result));
 
19305
  return resultobj;
 
19306
fail:
 
19307
  return NULL;
 
19308
}
 
19309
 
 
19310
 
 
19311
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarkerSymbolDefined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19312
  PyObject *resultobj = 0;
 
19313
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19314
  int arg2 ;
 
19315
  int result;
 
19316
  void *argp1 = 0 ;
 
19317
  int res1 = 0 ;
 
19318
  int val2 ;
 
19319
  int ecode2 = 0 ;
 
19320
  PyObject * obj0 = 0 ;
 
19321
  PyObject * obj1 = 0 ;
 
19322
  char *  kwnames[] = {
 
19323
    (char *) "self",(char *) "markerNumber", NULL 
 
19324
  };
 
19325
  
 
19326
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarkerSymbolDefined",kwnames,&obj0,&obj1)) SWIG_fail;
 
19327
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19328
  if (!SWIG_IsOK(res1)) {
 
19329
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarkerSymbolDefined" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19330
  }
 
19331
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19332
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19333
  if (!SWIG_IsOK(ecode2)) {
 
19334
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarkerSymbolDefined" "', expected argument " "2"" of type '" "int""'");
 
19335
  } 
 
19336
  arg2 = static_cast< int >(val2);
 
19337
  {
 
19338
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19339
    result = (int)(arg1)->GetMarkerSymbolDefined(arg2);
 
19340
    wxPyEndAllowThreads(__tstate);
 
19341
    if (PyErr_Occurred()) SWIG_fail;
 
19342
  }
 
19343
  resultobj = SWIG_From_int(static_cast< int >(result));
 
19344
  return resultobj;
 
19345
fail:
 
19346
  return NULL;
 
19347
}
 
19348
 
 
19349
 
 
19350
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarginSetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19351
  PyObject *resultobj = 0;
 
19352
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19353
  int arg2 ;
 
19354
  wxString *arg3 = 0 ;
 
19355
  void *argp1 = 0 ;
 
19356
  int res1 = 0 ;
 
19357
  int val2 ;
 
19358
  int ecode2 = 0 ;
 
19359
  bool temp3 = false ;
 
19360
  PyObject * obj0 = 0 ;
 
19361
  PyObject * obj1 = 0 ;
 
19362
  PyObject * obj2 = 0 ;
 
19363
  char *  kwnames[] = {
 
19364
    (char *) "self",(char *) "line",(char *) "text", NULL 
 
19365
  };
 
19366
  
 
19367
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarginSetText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
19368
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19369
  if (!SWIG_IsOK(res1)) {
 
19370
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarginSetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19371
  }
 
19372
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19373
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19374
  if (!SWIG_IsOK(ecode2)) {
 
19375
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarginSetText" "', expected argument " "2"" of type '" "int""'");
 
19376
  } 
 
19377
  arg2 = static_cast< int >(val2);
 
19378
  {
 
19379
    arg3 = wxString_in_helper(obj2);
 
19380
    if (arg3 == NULL) SWIG_fail;
 
19381
    temp3 = true;
 
19382
  }
 
19383
  {
 
19384
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19385
    (arg1)->MarginSetText(arg2,(wxString const &)*arg3);
 
19386
    wxPyEndAllowThreads(__tstate);
 
19387
    if (PyErr_Occurred()) SWIG_fail;
 
19388
  }
 
19389
  resultobj = SWIG_Py_Void();
 
19390
  {
 
19391
    if (temp3)
 
19392
    delete arg3;
 
19393
  }
 
19394
  return resultobj;
 
19395
fail:
 
19396
  {
 
19397
    if (temp3)
 
19398
    delete arg3;
 
19399
  }
 
19400
  return NULL;
 
19401
}
 
19402
 
 
19403
 
 
19404
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarginGetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19405
  PyObject *resultobj = 0;
 
19406
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19407
  int arg2 ;
 
19408
  wxString result;
 
19409
  void *argp1 = 0 ;
 
19410
  int res1 = 0 ;
 
19411
  int val2 ;
 
19412
  int ecode2 = 0 ;
 
19413
  PyObject * obj0 = 0 ;
 
19414
  PyObject * obj1 = 0 ;
 
19415
  char *  kwnames[] = {
 
19416
    (char *) "self",(char *) "line", NULL 
 
19417
  };
 
19418
  
 
19419
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarginGetText",kwnames,&obj0,&obj1)) SWIG_fail;
 
19420
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19421
  if (!SWIG_IsOK(res1)) {
 
19422
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarginGetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
19423
  }
 
19424
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19425
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19426
  if (!SWIG_IsOK(ecode2)) {
 
19427
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarginGetText" "', expected argument " "2"" of type '" "int""'");
 
19428
  } 
 
19429
  arg2 = static_cast< int >(val2);
 
19430
  {
 
19431
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19432
    result = ((wxStyledTextCtrl const *)arg1)->MarginGetText(arg2);
 
19433
    wxPyEndAllowThreads(__tstate);
 
19434
    if (PyErr_Occurred()) SWIG_fail;
 
19435
  }
 
19436
  {
 
19437
#if wxUSE_UNICODE
 
19438
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
19439
#else
 
19440
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
19441
#endif
 
19442
  }
 
19443
  return resultobj;
 
19444
fail:
 
19445
  return NULL;
 
19446
}
 
19447
 
 
19448
 
 
19449
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarginSetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19450
  PyObject *resultobj = 0;
 
19451
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19452
  int arg2 ;
 
19453
  int arg3 ;
 
19454
  void *argp1 = 0 ;
 
19455
  int res1 = 0 ;
 
19456
  int val2 ;
 
19457
  int ecode2 = 0 ;
 
19458
  int val3 ;
 
19459
  int ecode3 = 0 ;
 
19460
  PyObject * obj0 = 0 ;
 
19461
  PyObject * obj1 = 0 ;
 
19462
  PyObject * obj2 = 0 ;
 
19463
  char *  kwnames[] = {
 
19464
    (char *) "self",(char *) "line",(char *) "style", NULL 
 
19465
  };
 
19466
  
 
19467
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarginSetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
19468
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19469
  if (!SWIG_IsOK(res1)) {
 
19470
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarginSetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19471
  }
 
19472
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19473
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19474
  if (!SWIG_IsOK(ecode2)) {
 
19475
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarginSetStyle" "', expected argument " "2"" of type '" "int""'");
 
19476
  } 
 
19477
  arg2 = static_cast< int >(val2);
 
19478
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
19479
  if (!SWIG_IsOK(ecode3)) {
 
19480
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarginSetStyle" "', expected argument " "3"" of type '" "int""'");
 
19481
  } 
 
19482
  arg3 = static_cast< int >(val3);
 
19483
  {
 
19484
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19485
    (arg1)->MarginSetStyle(arg2,arg3);
 
19486
    wxPyEndAllowThreads(__tstate);
 
19487
    if (PyErr_Occurred()) SWIG_fail;
 
19488
  }
 
19489
  resultobj = SWIG_Py_Void();
 
19490
  return resultobj;
 
19491
fail:
 
19492
  return NULL;
 
19493
}
 
19494
 
 
19495
 
 
19496
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarginGetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19497
  PyObject *resultobj = 0;
 
19498
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19499
  int arg2 ;
 
19500
  int result;
 
19501
  void *argp1 = 0 ;
 
19502
  int res1 = 0 ;
 
19503
  int val2 ;
 
19504
  int ecode2 = 0 ;
 
19505
  PyObject * obj0 = 0 ;
 
19506
  PyObject * obj1 = 0 ;
 
19507
  char *  kwnames[] = {
 
19508
    (char *) "self",(char *) "line", NULL 
 
19509
  };
 
19510
  
 
19511
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarginGetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
19512
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19513
  if (!SWIG_IsOK(res1)) {
 
19514
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarginGetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
19515
  }
 
19516
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19517
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19518
  if (!SWIG_IsOK(ecode2)) {
 
19519
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarginGetStyle" "', expected argument " "2"" of type '" "int""'");
 
19520
  } 
 
19521
  arg2 = static_cast< int >(val2);
 
19522
  {
 
19523
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19524
    result = (int)((wxStyledTextCtrl const *)arg1)->MarginGetStyle(arg2);
 
19525
    wxPyEndAllowThreads(__tstate);
 
19526
    if (PyErr_Occurred()) SWIG_fail;
 
19527
  }
 
19528
  resultobj = SWIG_From_int(static_cast< int >(result));
 
19529
  return resultobj;
 
19530
fail:
 
19531
  return NULL;
 
19532
}
 
19533
 
 
19534
 
 
19535
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarginSetStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19536
  PyObject *resultobj = 0;
 
19537
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19538
  int arg2 ;
 
19539
  wxString *arg3 = 0 ;
 
19540
  void *argp1 = 0 ;
 
19541
  int res1 = 0 ;
 
19542
  int val2 ;
 
19543
  int ecode2 = 0 ;
 
19544
  bool temp3 = false ;
 
19545
  PyObject * obj0 = 0 ;
 
19546
  PyObject * obj1 = 0 ;
 
19547
  PyObject * obj2 = 0 ;
 
19548
  char *  kwnames[] = {
 
19549
    (char *) "self",(char *) "line",(char *) "styles", NULL 
 
19550
  };
 
19551
  
 
19552
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarginSetStyles",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
19553
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19554
  if (!SWIG_IsOK(res1)) {
 
19555
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarginSetStyles" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19556
  }
 
19557
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19558
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19559
  if (!SWIG_IsOK(ecode2)) {
 
19560
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarginSetStyles" "', expected argument " "2"" of type '" "int""'");
 
19561
  } 
 
19562
  arg2 = static_cast< int >(val2);
 
19563
  {
 
19564
    arg3 = wxString_in_helper(obj2);
 
19565
    if (arg3 == NULL) SWIG_fail;
 
19566
    temp3 = true;
 
19567
  }
 
19568
  {
 
19569
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19570
    (arg1)->MarginSetStyles(arg2,(wxString const &)*arg3);
 
19571
    wxPyEndAllowThreads(__tstate);
 
19572
    if (PyErr_Occurred()) SWIG_fail;
 
19573
  }
 
19574
  resultobj = SWIG_Py_Void();
 
19575
  {
 
19576
    if (temp3)
 
19577
    delete arg3;
 
19578
  }
 
19579
  return resultobj;
 
19580
fail:
 
19581
  {
 
19582
    if (temp3)
 
19583
    delete arg3;
 
19584
  }
 
19585
  return NULL;
 
19586
}
 
19587
 
 
19588
 
 
19589
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarginGetStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19590
  PyObject *resultobj = 0;
 
19591
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19592
  int arg2 ;
 
19593
  wxString result;
 
19594
  void *argp1 = 0 ;
 
19595
  int res1 = 0 ;
 
19596
  int val2 ;
 
19597
  int ecode2 = 0 ;
 
19598
  PyObject * obj0 = 0 ;
 
19599
  PyObject * obj1 = 0 ;
 
19600
  char *  kwnames[] = {
 
19601
    (char *) "self",(char *) "line", NULL 
 
19602
  };
 
19603
  
 
19604
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarginGetStyles",kwnames,&obj0,&obj1)) SWIG_fail;
 
19605
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19606
  if (!SWIG_IsOK(res1)) {
 
19607
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarginGetStyles" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
19608
  }
 
19609
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19610
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19611
  if (!SWIG_IsOK(ecode2)) {
 
19612
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarginGetStyles" "', expected argument " "2"" of type '" "int""'");
 
19613
  } 
 
19614
  arg2 = static_cast< int >(val2);
 
19615
  {
 
19616
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19617
    result = ((wxStyledTextCtrl const *)arg1)->MarginGetStyles(arg2);
 
19618
    wxPyEndAllowThreads(__tstate);
 
19619
    if (PyErr_Occurred()) SWIG_fail;
 
19620
  }
 
19621
  {
 
19622
#if wxUSE_UNICODE
 
19623
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
19624
#else
 
19625
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
19626
#endif
 
19627
  }
 
19628
  return resultobj;
 
19629
fail:
 
19630
  return NULL;
 
19631
}
 
19632
 
 
19633
 
 
19634
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarginTextClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
19635
  PyObject *resultobj = 0;
 
19636
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19637
  void *argp1 = 0 ;
 
19638
  int res1 = 0 ;
 
19639
  PyObject *swig_obj[1] ;
 
19640
  
 
19641
  if (!args) SWIG_fail;
 
19642
  swig_obj[0] = args;
 
19643
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19644
  if (!SWIG_IsOK(res1)) {
 
19645
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarginTextClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19646
  }
 
19647
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19648
  {
 
19649
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19650
    (arg1)->MarginTextClearAll();
 
19651
    wxPyEndAllowThreads(__tstate);
 
19652
    if (PyErr_Occurred()) SWIG_fail;
 
19653
  }
 
19654
  resultobj = SWIG_Py_Void();
 
19655
  return resultobj;
 
19656
fail:
 
19657
  return NULL;
 
19658
}
 
19659
 
 
19660
 
 
19661
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarginSetStyleOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19662
  PyObject *resultobj = 0;
 
19663
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19664
  int arg2 ;
 
19665
  void *argp1 = 0 ;
 
19666
  int res1 = 0 ;
 
19667
  int val2 ;
 
19668
  int ecode2 = 0 ;
 
19669
  PyObject * obj0 = 0 ;
 
19670
  PyObject * obj1 = 0 ;
 
19671
  char *  kwnames[] = {
 
19672
    (char *) "self",(char *) "style", NULL 
 
19673
  };
 
19674
  
 
19675
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarginSetStyleOffset",kwnames,&obj0,&obj1)) SWIG_fail;
 
19676
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19677
  if (!SWIG_IsOK(res1)) {
 
19678
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarginSetStyleOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19679
  }
 
19680
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19681
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19682
  if (!SWIG_IsOK(ecode2)) {
 
19683
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarginSetStyleOffset" "', expected argument " "2"" of type '" "int""'");
 
19684
  } 
 
19685
  arg2 = static_cast< int >(val2);
 
19686
  {
 
19687
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19688
    (arg1)->MarginSetStyleOffset(arg2);
 
19689
    wxPyEndAllowThreads(__tstate);
 
19690
    if (PyErr_Occurred()) SWIG_fail;
 
19691
  }
 
19692
  resultobj = SWIG_Py_Void();
 
19693
  return resultobj;
 
19694
fail:
 
19695
  return NULL;
 
19696
}
 
19697
 
 
19698
 
 
19699
SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarginGetStyleOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
19700
  PyObject *resultobj = 0;
 
19701
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19702
  int result;
 
19703
  void *argp1 = 0 ;
 
19704
  int res1 = 0 ;
 
19705
  PyObject *swig_obj[1] ;
 
19706
  
 
19707
  if (!args) SWIG_fail;
 
19708
  swig_obj[0] = args;
 
19709
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19710
  if (!SWIG_IsOK(res1)) {
 
19711
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarginGetStyleOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
19712
  }
 
19713
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19714
  {
 
19715
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19716
    result = (int)((wxStyledTextCtrl const *)arg1)->MarginGetStyleOffset();
 
19717
    wxPyEndAllowThreads(__tstate);
 
19718
    if (PyErr_Occurred()) SWIG_fail;
 
19719
  }
 
19720
  resultobj = SWIG_From_int(static_cast< int >(result));
 
19721
  return resultobj;
 
19722
fail:
 
19723
  return NULL;
 
19724
}
 
19725
 
 
19726
 
 
19727
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AnnotationSetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19728
  PyObject *resultobj = 0;
 
19729
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19730
  int arg2 ;
 
19731
  wxString *arg3 = 0 ;
 
19732
  void *argp1 = 0 ;
 
19733
  int res1 = 0 ;
 
19734
  int val2 ;
 
19735
  int ecode2 = 0 ;
 
19736
  bool temp3 = false ;
 
19737
  PyObject * obj0 = 0 ;
 
19738
  PyObject * obj1 = 0 ;
 
19739
  PyObject * obj2 = 0 ;
 
19740
  char *  kwnames[] = {
 
19741
    (char *) "self",(char *) "line",(char *) "text", NULL 
 
19742
  };
 
19743
  
 
19744
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AnnotationSetText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
19745
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19746
  if (!SWIG_IsOK(res1)) {
 
19747
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AnnotationSetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19748
  }
 
19749
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19750
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19751
  if (!SWIG_IsOK(ecode2)) {
 
19752
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AnnotationSetText" "', expected argument " "2"" of type '" "int""'");
 
19753
  } 
 
19754
  arg2 = static_cast< int >(val2);
 
19755
  {
 
19756
    arg3 = wxString_in_helper(obj2);
 
19757
    if (arg3 == NULL) SWIG_fail;
 
19758
    temp3 = true;
 
19759
  }
 
19760
  {
 
19761
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19762
    (arg1)->AnnotationSetText(arg2,(wxString const &)*arg3);
 
19763
    wxPyEndAllowThreads(__tstate);
 
19764
    if (PyErr_Occurred()) SWIG_fail;
 
19765
  }
 
19766
  resultobj = SWIG_Py_Void();
 
19767
  {
 
19768
    if (temp3)
 
19769
    delete arg3;
 
19770
  }
 
19771
  return resultobj;
 
19772
fail:
 
19773
  {
 
19774
    if (temp3)
 
19775
    delete arg3;
 
19776
  }
 
19777
  return NULL;
 
19778
}
 
19779
 
 
19780
 
 
19781
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AnnotationGetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19782
  PyObject *resultobj = 0;
 
19783
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19784
  int arg2 ;
 
19785
  wxString result;
 
19786
  void *argp1 = 0 ;
 
19787
  int res1 = 0 ;
 
19788
  int val2 ;
 
19789
  int ecode2 = 0 ;
 
19790
  PyObject * obj0 = 0 ;
 
19791
  PyObject * obj1 = 0 ;
 
19792
  char *  kwnames[] = {
 
19793
    (char *) "self",(char *) "line", NULL 
 
19794
  };
 
19795
  
 
19796
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AnnotationGetText",kwnames,&obj0,&obj1)) SWIG_fail;
 
19797
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19798
  if (!SWIG_IsOK(res1)) {
 
19799
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AnnotationGetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
19800
  }
 
19801
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19802
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19803
  if (!SWIG_IsOK(ecode2)) {
 
19804
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AnnotationGetText" "', expected argument " "2"" of type '" "int""'");
 
19805
  } 
 
19806
  arg2 = static_cast< int >(val2);
 
19807
  {
 
19808
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19809
    result = ((wxStyledTextCtrl const *)arg1)->AnnotationGetText(arg2);
 
19810
    wxPyEndAllowThreads(__tstate);
 
19811
    if (PyErr_Occurred()) SWIG_fail;
 
19812
  }
 
19813
  {
 
19814
#if wxUSE_UNICODE
 
19815
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
19816
#else
 
19817
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
19818
#endif
 
19819
  }
 
19820
  return resultobj;
 
19821
fail:
 
19822
  return NULL;
 
19823
}
 
19824
 
 
19825
 
 
19826
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AnnotationSetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19827
  PyObject *resultobj = 0;
 
19828
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19829
  int arg2 ;
 
19830
  int arg3 ;
 
19831
  void *argp1 = 0 ;
 
19832
  int res1 = 0 ;
 
19833
  int val2 ;
 
19834
  int ecode2 = 0 ;
 
19835
  int val3 ;
 
19836
  int ecode3 = 0 ;
 
19837
  PyObject * obj0 = 0 ;
 
19838
  PyObject * obj1 = 0 ;
 
19839
  PyObject * obj2 = 0 ;
 
19840
  char *  kwnames[] = {
 
19841
    (char *) "self",(char *) "line",(char *) "style", NULL 
 
19842
  };
 
19843
  
 
19844
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AnnotationSetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
19845
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19846
  if (!SWIG_IsOK(res1)) {
 
19847
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AnnotationSetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19848
  }
 
19849
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19850
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19851
  if (!SWIG_IsOK(ecode2)) {
 
19852
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AnnotationSetStyle" "', expected argument " "2"" of type '" "int""'");
 
19853
  } 
 
19854
  arg2 = static_cast< int >(val2);
 
19855
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
19856
  if (!SWIG_IsOK(ecode3)) {
 
19857
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_AnnotationSetStyle" "', expected argument " "3"" of type '" "int""'");
 
19858
  } 
 
19859
  arg3 = static_cast< int >(val3);
 
19860
  {
 
19861
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19862
    (arg1)->AnnotationSetStyle(arg2,arg3);
 
19863
    wxPyEndAllowThreads(__tstate);
 
19864
    if (PyErr_Occurred()) SWIG_fail;
 
19865
  }
 
19866
  resultobj = SWIG_Py_Void();
 
19867
  return resultobj;
 
19868
fail:
 
19869
  return NULL;
 
19870
}
 
19871
 
 
19872
 
 
19873
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AnnotationGetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19874
  PyObject *resultobj = 0;
 
19875
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19876
  int arg2 ;
 
19877
  int result;
 
19878
  void *argp1 = 0 ;
 
19879
  int res1 = 0 ;
 
19880
  int val2 ;
 
19881
  int ecode2 = 0 ;
 
19882
  PyObject * obj0 = 0 ;
 
19883
  PyObject * obj1 = 0 ;
 
19884
  char *  kwnames[] = {
 
19885
    (char *) "self",(char *) "line", NULL 
 
19886
  };
 
19887
  
 
19888
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AnnotationGetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
19889
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19890
  if (!SWIG_IsOK(res1)) {
 
19891
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AnnotationGetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
19892
  }
 
19893
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19894
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19895
  if (!SWIG_IsOK(ecode2)) {
 
19896
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AnnotationGetStyle" "', expected argument " "2"" of type '" "int""'");
 
19897
  } 
 
19898
  arg2 = static_cast< int >(val2);
 
19899
  {
 
19900
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19901
    result = (int)((wxStyledTextCtrl const *)arg1)->AnnotationGetStyle(arg2);
 
19902
    wxPyEndAllowThreads(__tstate);
 
19903
    if (PyErr_Occurred()) SWIG_fail;
 
19904
  }
 
19905
  resultobj = SWIG_From_int(static_cast< int >(result));
 
19906
  return resultobj;
 
19907
fail:
 
19908
  return NULL;
 
19909
}
 
19910
 
 
19911
 
 
19912
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AnnotationSetStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19913
  PyObject *resultobj = 0;
 
19914
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19915
  int arg2 ;
 
19916
  wxString *arg3 = 0 ;
 
19917
  void *argp1 = 0 ;
 
19918
  int res1 = 0 ;
 
19919
  int val2 ;
 
19920
  int ecode2 = 0 ;
 
19921
  bool temp3 = false ;
 
19922
  PyObject * obj0 = 0 ;
 
19923
  PyObject * obj1 = 0 ;
 
19924
  PyObject * obj2 = 0 ;
 
19925
  char *  kwnames[] = {
 
19926
    (char *) "self",(char *) "line",(char *) "styles", NULL 
 
19927
  };
 
19928
  
 
19929
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AnnotationSetStyles",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
19930
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19931
  if (!SWIG_IsOK(res1)) {
 
19932
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AnnotationSetStyles" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
19933
  }
 
19934
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19935
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19936
  if (!SWIG_IsOK(ecode2)) {
 
19937
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AnnotationSetStyles" "', expected argument " "2"" of type '" "int""'");
 
19938
  } 
 
19939
  arg2 = static_cast< int >(val2);
 
19940
  {
 
19941
    arg3 = wxString_in_helper(obj2);
 
19942
    if (arg3 == NULL) SWIG_fail;
 
19943
    temp3 = true;
 
19944
  }
 
19945
  {
 
19946
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19947
    (arg1)->AnnotationSetStyles(arg2,(wxString const &)*arg3);
 
19948
    wxPyEndAllowThreads(__tstate);
 
19949
    if (PyErr_Occurred()) SWIG_fail;
 
19950
  }
 
19951
  resultobj = SWIG_Py_Void();
 
19952
  {
 
19953
    if (temp3)
 
19954
    delete arg3;
 
19955
  }
 
19956
  return resultobj;
 
19957
fail:
 
19958
  {
 
19959
    if (temp3)
 
19960
    delete arg3;
 
19961
  }
 
19962
  return NULL;
 
19963
}
 
19964
 
 
19965
 
 
19966
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AnnotationGetStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
19967
  PyObject *resultobj = 0;
 
19968
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
19969
  int arg2 ;
 
19970
  wxString result;
 
19971
  void *argp1 = 0 ;
 
19972
  int res1 = 0 ;
 
19973
  int val2 ;
 
19974
  int ecode2 = 0 ;
 
19975
  PyObject * obj0 = 0 ;
 
19976
  PyObject * obj1 = 0 ;
 
19977
  char *  kwnames[] = {
 
19978
    (char *) "self",(char *) "line", NULL 
 
19979
  };
 
19980
  
 
19981
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AnnotationGetStyles",kwnames,&obj0,&obj1)) SWIG_fail;
 
19982
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
19983
  if (!SWIG_IsOK(res1)) {
 
19984
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AnnotationGetStyles" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
19985
  }
 
19986
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
19987
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
19988
  if (!SWIG_IsOK(ecode2)) {
 
19989
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AnnotationGetStyles" "', expected argument " "2"" of type '" "int""'");
 
19990
  } 
 
19991
  arg2 = static_cast< int >(val2);
 
19992
  {
 
19993
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
19994
    result = ((wxStyledTextCtrl const *)arg1)->AnnotationGetStyles(arg2);
 
19995
    wxPyEndAllowThreads(__tstate);
 
19996
    if (PyErr_Occurred()) SWIG_fail;
 
19997
  }
 
19998
  {
 
19999
#if wxUSE_UNICODE
 
20000
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
20001
#else
 
20002
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
20003
#endif
 
20004
  }
 
20005
  return resultobj;
 
20006
fail:
 
20007
  return NULL;
 
20008
}
 
20009
 
 
20010
 
 
20011
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AnnotationGetLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20012
  PyObject *resultobj = 0;
 
20013
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20014
  int arg2 ;
 
20015
  int result;
 
20016
  void *argp1 = 0 ;
 
20017
  int res1 = 0 ;
 
20018
  int val2 ;
 
20019
  int ecode2 = 0 ;
 
20020
  PyObject * obj0 = 0 ;
 
20021
  PyObject * obj1 = 0 ;
 
20022
  char *  kwnames[] = {
 
20023
    (char *) "self",(char *) "line", NULL 
 
20024
  };
 
20025
  
 
20026
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AnnotationGetLines",kwnames,&obj0,&obj1)) SWIG_fail;
 
20027
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20028
  if (!SWIG_IsOK(res1)) {
 
20029
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AnnotationGetLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
20030
  }
 
20031
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20032
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20033
  if (!SWIG_IsOK(ecode2)) {
 
20034
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AnnotationGetLines" "', expected argument " "2"" of type '" "int""'");
 
20035
  } 
 
20036
  arg2 = static_cast< int >(val2);
 
20037
  {
 
20038
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20039
    result = (int)((wxStyledTextCtrl const *)arg1)->AnnotationGetLines(arg2);
 
20040
    wxPyEndAllowThreads(__tstate);
 
20041
    if (PyErr_Occurred()) SWIG_fail;
 
20042
  }
 
20043
  resultobj = SWIG_From_int(static_cast< int >(result));
 
20044
  return resultobj;
 
20045
fail:
 
20046
  return NULL;
 
20047
}
 
20048
 
 
20049
 
 
20050
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AnnotationClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
20051
  PyObject *resultobj = 0;
 
20052
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20053
  void *argp1 = 0 ;
 
20054
  int res1 = 0 ;
 
20055
  PyObject *swig_obj[1] ;
 
20056
  
 
20057
  if (!args) SWIG_fail;
 
20058
  swig_obj[0] = args;
 
20059
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20060
  if (!SWIG_IsOK(res1)) {
 
20061
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AnnotationClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20062
  }
 
20063
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20064
  {
 
20065
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20066
    (arg1)->AnnotationClearAll();
 
20067
    wxPyEndAllowThreads(__tstate);
 
20068
    if (PyErr_Occurred()) SWIG_fail;
 
20069
  }
 
20070
  resultobj = SWIG_Py_Void();
 
20071
  return resultobj;
 
20072
fail:
 
20073
  return NULL;
 
20074
}
 
20075
 
 
20076
 
 
20077
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AnnotationSetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20078
  PyObject *resultobj = 0;
 
20079
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20080
  int arg2 ;
 
20081
  void *argp1 = 0 ;
 
20082
  int res1 = 0 ;
 
20083
  int val2 ;
 
20084
  int ecode2 = 0 ;
 
20085
  PyObject * obj0 = 0 ;
 
20086
  PyObject * obj1 = 0 ;
 
20087
  char *  kwnames[] = {
 
20088
    (char *) "self",(char *) "visible", NULL 
 
20089
  };
 
20090
  
 
20091
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AnnotationSetVisible",kwnames,&obj0,&obj1)) SWIG_fail;
 
20092
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20093
  if (!SWIG_IsOK(res1)) {
 
20094
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AnnotationSetVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20095
  }
 
20096
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20097
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20098
  if (!SWIG_IsOK(ecode2)) {
 
20099
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AnnotationSetVisible" "', expected argument " "2"" of type '" "int""'");
 
20100
  } 
 
20101
  arg2 = static_cast< int >(val2);
 
20102
  {
 
20103
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20104
    (arg1)->AnnotationSetVisible(arg2);
 
20105
    wxPyEndAllowThreads(__tstate);
 
20106
    if (PyErr_Occurred()) SWIG_fail;
 
20107
  }
 
20108
  resultobj = SWIG_Py_Void();
 
20109
  return resultobj;
 
20110
fail:
 
20111
  return NULL;
 
20112
}
 
20113
 
 
20114
 
 
20115
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AnnotationGetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
20116
  PyObject *resultobj = 0;
 
20117
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20118
  int result;
 
20119
  void *argp1 = 0 ;
 
20120
  int res1 = 0 ;
 
20121
  PyObject *swig_obj[1] ;
 
20122
  
 
20123
  if (!args) SWIG_fail;
 
20124
  swig_obj[0] = args;
 
20125
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20126
  if (!SWIG_IsOK(res1)) {
 
20127
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AnnotationGetVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
20128
  }
 
20129
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20130
  {
 
20131
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20132
    result = (int)((wxStyledTextCtrl const *)arg1)->AnnotationGetVisible();
 
20133
    wxPyEndAllowThreads(__tstate);
 
20134
    if (PyErr_Occurred()) SWIG_fail;
 
20135
  }
 
20136
  resultobj = SWIG_From_int(static_cast< int >(result));
 
20137
  return resultobj;
 
20138
fail:
 
20139
  return NULL;
 
20140
}
 
20141
 
 
20142
 
 
20143
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AnnotationSetStyleOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20144
  PyObject *resultobj = 0;
 
20145
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20146
  int arg2 ;
 
20147
  void *argp1 = 0 ;
 
20148
  int res1 = 0 ;
 
20149
  int val2 ;
 
20150
  int ecode2 = 0 ;
 
20151
  PyObject * obj0 = 0 ;
 
20152
  PyObject * obj1 = 0 ;
 
20153
  char *  kwnames[] = {
 
20154
    (char *) "self",(char *) "style", NULL 
 
20155
  };
 
20156
  
 
20157
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AnnotationSetStyleOffset",kwnames,&obj0,&obj1)) SWIG_fail;
 
20158
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20159
  if (!SWIG_IsOK(res1)) {
 
20160
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AnnotationSetStyleOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20161
  }
 
20162
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20163
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20164
  if (!SWIG_IsOK(ecode2)) {
 
20165
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AnnotationSetStyleOffset" "', expected argument " "2"" of type '" "int""'");
 
20166
  } 
 
20167
  arg2 = static_cast< int >(val2);
 
20168
  {
 
20169
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20170
    (arg1)->AnnotationSetStyleOffset(arg2);
 
20171
    wxPyEndAllowThreads(__tstate);
 
20172
    if (PyErr_Occurred()) SWIG_fail;
 
20173
  }
 
20174
  resultobj = SWIG_Py_Void();
 
20175
  return resultobj;
 
20176
fail:
 
20177
  return NULL;
 
20178
}
 
20179
 
 
20180
 
 
20181
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AnnotationGetStyleOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
20182
  PyObject *resultobj = 0;
 
20183
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20184
  int result;
 
20185
  void *argp1 = 0 ;
 
20186
  int res1 = 0 ;
 
20187
  PyObject *swig_obj[1] ;
 
20188
  
 
20189
  if (!args) SWIG_fail;
 
20190
  swig_obj[0] = args;
 
20191
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20192
  if (!SWIG_IsOK(res1)) {
 
20193
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AnnotationGetStyleOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
20194
  }
 
20195
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20196
  {
 
20197
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20198
    result = (int)((wxStyledTextCtrl const *)arg1)->AnnotationGetStyleOffset();
 
20199
    wxPyEndAllowThreads(__tstate);
 
20200
    if (PyErr_Occurred()) SWIG_fail;
 
20201
  }
 
20202
  resultobj = SWIG_From_int(static_cast< int >(result));
 
20203
  return resultobj;
 
20204
fail:
 
20205
  return NULL;
 
20206
}
 
20207
 
 
20208
 
 
20209
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20210
  PyObject *resultobj = 0;
 
20211
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20212
  int arg2 ;
 
20213
  int arg3 ;
 
20214
  void *argp1 = 0 ;
 
20215
  int res1 = 0 ;
 
20216
  int val2 ;
 
20217
  int ecode2 = 0 ;
 
20218
  int val3 ;
 
20219
  int ecode3 = 0 ;
 
20220
  PyObject * obj0 = 0 ;
 
20221
  PyObject * obj1 = 0 ;
 
20222
  PyObject * obj2 = 0 ;
 
20223
  char *  kwnames[] = {
 
20224
    (char *) "self",(char *) "token",(char *) "flags", NULL 
 
20225
  };
 
20226
  
 
20227
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AddUndoAction",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
20228
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20229
  if (!SWIG_IsOK(res1)) {
 
20230
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20231
  }
 
20232
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20233
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20234
  if (!SWIG_IsOK(ecode2)) {
 
20235
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AddUndoAction" "', expected argument " "2"" of type '" "int""'");
 
20236
  } 
 
20237
  arg2 = static_cast< int >(val2);
 
20238
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
20239
  if (!SWIG_IsOK(ecode3)) {
 
20240
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_AddUndoAction" "', expected argument " "3"" of type '" "int""'");
 
20241
  } 
 
20242
  arg3 = static_cast< int >(val3);
 
20243
  {
 
20244
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20245
    (arg1)->AddUndoAction(arg2,arg3);
 
20246
    wxPyEndAllowThreads(__tstate);
 
20247
    if (PyErr_Occurred()) SWIG_fail;
 
20248
  }
 
20249
  resultobj = SWIG_Py_Void();
 
20250
  return resultobj;
 
20251
fail:
 
20252
  return NULL;
 
20253
}
 
20254
 
 
20255
 
 
20256
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharPositionFromPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20257
  PyObject *resultobj = 0;
 
20258
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20259
  int arg2 ;
 
20260
  int arg3 ;
 
20261
  int result;
 
20262
  void *argp1 = 0 ;
 
20263
  int res1 = 0 ;
 
20264
  int val2 ;
 
20265
  int ecode2 = 0 ;
 
20266
  int val3 ;
 
20267
  int ecode3 = 0 ;
 
20268
  PyObject * obj0 = 0 ;
 
20269
  PyObject * obj1 = 0 ;
 
20270
  PyObject * obj2 = 0 ;
 
20271
  char *  kwnames[] = {
 
20272
    (char *) "self",(char *) "x",(char *) "y", NULL 
 
20273
  };
 
20274
  
 
20275
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CharPositionFromPoint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
20276
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20277
  if (!SWIG_IsOK(res1)) {
 
20278
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharPositionFromPoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20279
  }
 
20280
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20281
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20282
  if (!SWIG_IsOK(ecode2)) {
 
20283
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CharPositionFromPoint" "', expected argument " "2"" of type '" "int""'");
 
20284
  } 
 
20285
  arg2 = static_cast< int >(val2);
 
20286
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
20287
  if (!SWIG_IsOK(ecode3)) {
 
20288
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CharPositionFromPoint" "', expected argument " "3"" of type '" "int""'");
 
20289
  } 
 
20290
  arg3 = static_cast< int >(val3);
 
20291
  {
 
20292
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20293
    result = (int)(arg1)->CharPositionFromPoint(arg2,arg3);
 
20294
    wxPyEndAllowThreads(__tstate);
 
20295
    if (PyErr_Occurred()) SWIG_fail;
 
20296
  }
 
20297
  resultobj = SWIG_From_int(static_cast< int >(result));
 
20298
  return resultobj;
 
20299
fail:
 
20300
  return NULL;
 
20301
}
 
20302
 
 
20303
 
 
20304
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharPositionFromPointClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20305
  PyObject *resultobj = 0;
 
20306
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20307
  int arg2 ;
 
20308
  int arg3 ;
 
20309
  int result;
 
20310
  void *argp1 = 0 ;
 
20311
  int res1 = 0 ;
 
20312
  int val2 ;
 
20313
  int ecode2 = 0 ;
 
20314
  int val3 ;
 
20315
  int ecode3 = 0 ;
 
20316
  PyObject * obj0 = 0 ;
 
20317
  PyObject * obj1 = 0 ;
 
20318
  PyObject * obj2 = 0 ;
 
20319
  char *  kwnames[] = {
 
20320
    (char *) "self",(char *) "x",(char *) "y", NULL 
 
20321
  };
 
20322
  
 
20323
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CharPositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
20324
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20325
  if (!SWIG_IsOK(res1)) {
 
20326
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharPositionFromPointClose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20327
  }
 
20328
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20329
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20330
  if (!SWIG_IsOK(ecode2)) {
 
20331
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CharPositionFromPointClose" "', expected argument " "2"" of type '" "int""'");
 
20332
  } 
 
20333
  arg2 = static_cast< int >(val2);
 
20334
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
20335
  if (!SWIG_IsOK(ecode3)) {
 
20336
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CharPositionFromPointClose" "', expected argument " "3"" of type '" "int""'");
 
20337
  } 
 
20338
  arg3 = static_cast< int >(val3);
 
20339
  {
 
20340
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20341
    result = (int)(arg1)->CharPositionFromPointClose(arg2,arg3);
 
20342
    wxPyEndAllowThreads(__tstate);
 
20343
    if (PyErr_Occurred()) SWIG_fail;
 
20344
  }
 
20345
  resultobj = SWIG_From_int(static_cast< int >(result));
 
20346
  return resultobj;
 
20347
fail:
 
20348
  return NULL;
 
20349
}
 
20350
 
 
20351
 
 
20352
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20353
  PyObject *resultobj = 0;
 
20354
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20355
  bool arg2 ;
 
20356
  void *argp1 = 0 ;
 
20357
  int res1 = 0 ;
 
20358
  bool val2 ;
 
20359
  int ecode2 = 0 ;
 
20360
  PyObject * obj0 = 0 ;
 
20361
  PyObject * obj1 = 0 ;
 
20362
  char *  kwnames[] = {
 
20363
    (char *) "self",(char *) "multipleSelection", NULL 
 
20364
  };
 
20365
  
 
20366
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMultipleSelection",kwnames,&obj0,&obj1)) SWIG_fail;
 
20367
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20368
  if (!SWIG_IsOK(res1)) {
 
20369
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMultipleSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20370
  }
 
20371
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20372
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
20373
  if (!SWIG_IsOK(ecode2)) {
 
20374
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMultipleSelection" "', expected argument " "2"" of type '" "bool""'");
 
20375
  } 
 
20376
  arg2 = static_cast< bool >(val2);
 
20377
  {
 
20378
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20379
    (arg1)->SetMultipleSelection(arg2);
 
20380
    wxPyEndAllowThreads(__tstate);
 
20381
    if (PyErr_Occurred()) SWIG_fail;
 
20382
  }
 
20383
  resultobj = SWIG_Py_Void();
 
20384
  return resultobj;
 
20385
fail:
 
20386
  return NULL;
 
20387
}
 
20388
 
 
20389
 
 
20390
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
20391
  PyObject *resultobj = 0;
 
20392
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20393
  bool result;
 
20394
  void *argp1 = 0 ;
 
20395
  int res1 = 0 ;
 
20396
  PyObject *swig_obj[1] ;
 
20397
  
 
20398
  if (!args) SWIG_fail;
 
20399
  swig_obj[0] = args;
 
20400
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20401
  if (!SWIG_IsOK(res1)) {
 
20402
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMultipleSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
20403
  }
 
20404
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20405
  {
 
20406
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20407
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetMultipleSelection();
 
20408
    wxPyEndAllowThreads(__tstate);
 
20409
    if (PyErr_Occurred()) SWIG_fail;
 
20410
  }
 
20411
  {
 
20412
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
20413
  }
 
20414
  return resultobj;
 
20415
fail:
 
20416
  return NULL;
 
20417
}
 
20418
 
 
20419
 
 
20420
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAdditionalSelectionTyping(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20421
  PyObject *resultobj = 0;
 
20422
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20423
  bool arg2 ;
 
20424
  void *argp1 = 0 ;
 
20425
  int res1 = 0 ;
 
20426
  bool val2 ;
 
20427
  int ecode2 = 0 ;
 
20428
  PyObject * obj0 = 0 ;
 
20429
  PyObject * obj1 = 0 ;
 
20430
  char *  kwnames[] = {
 
20431
    (char *) "self",(char *) "additionalSelectionTyping", NULL 
 
20432
  };
 
20433
  
 
20434
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAdditionalSelectionTyping",kwnames,&obj0,&obj1)) SWIG_fail;
 
20435
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20436
  if (!SWIG_IsOK(res1)) {
 
20437
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAdditionalSelectionTyping" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20438
  }
 
20439
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20440
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
20441
  if (!SWIG_IsOK(ecode2)) {
 
20442
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetAdditionalSelectionTyping" "', expected argument " "2"" of type '" "bool""'");
 
20443
  } 
 
20444
  arg2 = static_cast< bool >(val2);
 
20445
  {
 
20446
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20447
    (arg1)->SetAdditionalSelectionTyping(arg2);
 
20448
    wxPyEndAllowThreads(__tstate);
 
20449
    if (PyErr_Occurred()) SWIG_fail;
 
20450
  }
 
20451
  resultobj = SWIG_Py_Void();
 
20452
  return resultobj;
 
20453
fail:
 
20454
  return NULL;
 
20455
}
 
20456
 
 
20457
 
 
20458
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetAdditionalSelectionTyping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
20459
  PyObject *resultobj = 0;
 
20460
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20461
  bool result;
 
20462
  void *argp1 = 0 ;
 
20463
  int res1 = 0 ;
 
20464
  PyObject *swig_obj[1] ;
 
20465
  
 
20466
  if (!args) SWIG_fail;
 
20467
  swig_obj[0] = args;
 
20468
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20469
  if (!SWIG_IsOK(res1)) {
 
20470
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetAdditionalSelectionTyping" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
20471
  }
 
20472
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20473
  {
 
20474
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20475
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetAdditionalSelectionTyping();
 
20476
    wxPyEndAllowThreads(__tstate);
 
20477
    if (PyErr_Occurred()) SWIG_fail;
 
20478
  }
 
20479
  {
 
20480
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
20481
  }
 
20482
  return resultobj;
 
20483
fail:
 
20484
  return NULL;
 
20485
}
 
20486
 
 
20487
 
 
20488
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAdditionalCaretsBlink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20489
  PyObject *resultobj = 0;
 
20490
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20491
  bool arg2 ;
 
20492
  void *argp1 = 0 ;
 
20493
  int res1 = 0 ;
 
20494
  bool val2 ;
 
20495
  int ecode2 = 0 ;
 
20496
  PyObject * obj0 = 0 ;
 
20497
  PyObject * obj1 = 0 ;
 
20498
  char *  kwnames[] = {
 
20499
    (char *) "self",(char *) "additionalCaretsBlink", NULL 
 
20500
  };
 
20501
  
 
20502
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAdditionalCaretsBlink",kwnames,&obj0,&obj1)) SWIG_fail;
 
20503
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20504
  if (!SWIG_IsOK(res1)) {
 
20505
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAdditionalCaretsBlink" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20506
  }
 
20507
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20508
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
20509
  if (!SWIG_IsOK(ecode2)) {
 
20510
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetAdditionalCaretsBlink" "', expected argument " "2"" of type '" "bool""'");
 
20511
  } 
 
20512
  arg2 = static_cast< bool >(val2);
 
20513
  {
 
20514
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20515
    (arg1)->SetAdditionalCaretsBlink(arg2);
 
20516
    wxPyEndAllowThreads(__tstate);
 
20517
    if (PyErr_Occurred()) SWIG_fail;
 
20518
  }
 
20519
  resultobj = SWIG_Py_Void();
 
20520
  return resultobj;
 
20521
fail:
 
20522
  return NULL;
 
20523
}
 
20524
 
 
20525
 
 
20526
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetAdditionalCaretsBlink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
20527
  PyObject *resultobj = 0;
 
20528
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20529
  bool result;
 
20530
  void *argp1 = 0 ;
 
20531
  int res1 = 0 ;
 
20532
  PyObject *swig_obj[1] ;
 
20533
  
 
20534
  if (!args) SWIG_fail;
 
20535
  swig_obj[0] = args;
 
20536
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20537
  if (!SWIG_IsOK(res1)) {
 
20538
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetAdditionalCaretsBlink" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
20539
  }
 
20540
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20541
  {
 
20542
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20543
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetAdditionalCaretsBlink();
 
20544
    wxPyEndAllowThreads(__tstate);
 
20545
    if (PyErr_Occurred()) SWIG_fail;
 
20546
  }
 
20547
  {
 
20548
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
20549
  }
 
20550
  return resultobj;
 
20551
fail:
 
20552
  return NULL;
 
20553
}
 
20554
 
 
20555
 
 
20556
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAdditionalCaretsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20557
  PyObject *resultobj = 0;
 
20558
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20559
  bool arg2 ;
 
20560
  void *argp1 = 0 ;
 
20561
  int res1 = 0 ;
 
20562
  bool val2 ;
 
20563
  int ecode2 = 0 ;
 
20564
  PyObject * obj0 = 0 ;
 
20565
  PyObject * obj1 = 0 ;
 
20566
  char *  kwnames[] = {
 
20567
    (char *) "self",(char *) "additionalCaretsBlink", NULL 
 
20568
  };
 
20569
  
 
20570
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAdditionalCaretsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
 
20571
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20572
  if (!SWIG_IsOK(res1)) {
 
20573
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAdditionalCaretsVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20574
  }
 
20575
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20576
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
20577
  if (!SWIG_IsOK(ecode2)) {
 
20578
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetAdditionalCaretsVisible" "', expected argument " "2"" of type '" "bool""'");
 
20579
  } 
 
20580
  arg2 = static_cast< bool >(val2);
 
20581
  {
 
20582
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20583
    (arg1)->SetAdditionalCaretsVisible(arg2);
 
20584
    wxPyEndAllowThreads(__tstate);
 
20585
    if (PyErr_Occurred()) SWIG_fail;
 
20586
  }
 
20587
  resultobj = SWIG_Py_Void();
 
20588
  return resultobj;
 
20589
fail:
 
20590
  return NULL;
 
20591
}
 
20592
 
 
20593
 
 
20594
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetAdditionalCaretsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
20595
  PyObject *resultobj = 0;
 
20596
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20597
  bool result;
 
20598
  void *argp1 = 0 ;
 
20599
  int res1 = 0 ;
 
20600
  PyObject *swig_obj[1] ;
 
20601
  
 
20602
  if (!args) SWIG_fail;
 
20603
  swig_obj[0] = args;
 
20604
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20605
  if (!SWIG_IsOK(res1)) {
 
20606
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetAdditionalCaretsVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
20607
  }
 
20608
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20609
  {
 
20610
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20611
    result = (bool)((wxStyledTextCtrl const *)arg1)->GetAdditionalCaretsVisible();
 
20612
    wxPyEndAllowThreads(__tstate);
 
20613
    if (PyErr_Occurred()) SWIG_fail;
 
20614
  }
 
20615
  {
 
20616
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
20617
  }
 
20618
  return resultobj;
 
20619
fail:
 
20620
  return NULL;
 
20621
}
 
20622
 
 
20623
 
 
20624
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
20625
  PyObject *resultobj = 0;
 
20626
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20627
  int result;
 
20628
  void *argp1 = 0 ;
 
20629
  int res1 = 0 ;
 
20630
  PyObject *swig_obj[1] ;
 
20631
  
 
20632
  if (!args) SWIG_fail;
 
20633
  swig_obj[0] = args;
 
20634
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20635
  if (!SWIG_IsOK(res1)) {
 
20636
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelections" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
20637
  }
 
20638
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20639
  {
 
20640
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20641
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSelections();
 
20642
    wxPyEndAllowThreads(__tstate);
 
20643
    if (PyErr_Occurred()) SWIG_fail;
 
20644
  }
 
20645
  resultobj = SWIG_From_int(static_cast< int >(result));
 
20646
  return resultobj;
 
20647
fail:
 
20648
  return NULL;
 
20649
}
 
20650
 
 
20651
 
 
20652
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
20653
  PyObject *resultobj = 0;
 
20654
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20655
  void *argp1 = 0 ;
 
20656
  int res1 = 0 ;
 
20657
  PyObject *swig_obj[1] ;
 
20658
  
 
20659
  if (!args) SWIG_fail;
 
20660
  swig_obj[0] = args;
 
20661
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20662
  if (!SWIG_IsOK(res1)) {
 
20663
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearSelections" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20664
  }
 
20665
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20666
  {
 
20667
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20668
    (arg1)->ClearSelections();
 
20669
    wxPyEndAllowThreads(__tstate);
 
20670
    if (PyErr_Occurred()) SWIG_fail;
 
20671
  }
 
20672
  resultobj = SWIG_Py_Void();
 
20673
  return resultobj;
 
20674
fail:
 
20675
  return NULL;
 
20676
}
 
20677
 
 
20678
 
 
20679
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20680
  PyObject *resultobj = 0;
 
20681
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20682
  int arg2 ;
 
20683
  int arg3 ;
 
20684
  int result;
 
20685
  void *argp1 = 0 ;
 
20686
  int res1 = 0 ;
 
20687
  int val2 ;
 
20688
  int ecode2 = 0 ;
 
20689
  int val3 ;
 
20690
  int ecode3 = 0 ;
 
20691
  PyObject * obj0 = 0 ;
 
20692
  PyObject * obj1 = 0 ;
 
20693
  PyObject * obj2 = 0 ;
 
20694
  char *  kwnames[] = {
 
20695
    (char *) "self",(char *) "caret",(char *) "anchor", NULL 
 
20696
  };
 
20697
  
 
20698
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AddSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
20699
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20700
  if (!SWIG_IsOK(res1)) {
 
20701
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20702
  }
 
20703
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20704
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20705
  if (!SWIG_IsOK(ecode2)) {
 
20706
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AddSelection" "', expected argument " "2"" of type '" "int""'");
 
20707
  } 
 
20708
  arg2 = static_cast< int >(val2);
 
20709
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
20710
  if (!SWIG_IsOK(ecode3)) {
 
20711
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_AddSelection" "', expected argument " "3"" of type '" "int""'");
 
20712
  } 
 
20713
  arg3 = static_cast< int >(val3);
 
20714
  {
 
20715
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20716
    result = (int)(arg1)->AddSelection(arg2,arg3);
 
20717
    wxPyEndAllowThreads(__tstate);
 
20718
    if (PyErr_Occurred()) SWIG_fail;
 
20719
  }
 
20720
  resultobj = SWIG_From_int(static_cast< int >(result));
 
20721
  return resultobj;
 
20722
fail:
 
20723
  return NULL;
 
20724
}
 
20725
 
 
20726
 
 
20727
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMainSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20728
  PyObject *resultobj = 0;
 
20729
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20730
  int arg2 ;
 
20731
  void *argp1 = 0 ;
 
20732
  int res1 = 0 ;
 
20733
  int val2 ;
 
20734
  int ecode2 = 0 ;
 
20735
  PyObject * obj0 = 0 ;
 
20736
  PyObject * obj1 = 0 ;
 
20737
  char *  kwnames[] = {
 
20738
    (char *) "self",(char *) "selection", NULL 
 
20739
  };
 
20740
  
 
20741
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMainSelection",kwnames,&obj0,&obj1)) SWIG_fail;
 
20742
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20743
  if (!SWIG_IsOK(res1)) {
 
20744
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMainSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20745
  }
 
20746
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20747
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20748
  if (!SWIG_IsOK(ecode2)) {
 
20749
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMainSelection" "', expected argument " "2"" of type '" "int""'");
 
20750
  } 
 
20751
  arg2 = static_cast< int >(val2);
 
20752
  {
 
20753
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20754
    (arg1)->SetMainSelection(arg2);
 
20755
    wxPyEndAllowThreads(__tstate);
 
20756
    if (PyErr_Occurred()) SWIG_fail;
 
20757
  }
 
20758
  resultobj = SWIG_Py_Void();
 
20759
  return resultobj;
 
20760
fail:
 
20761
  return NULL;
 
20762
}
 
20763
 
 
20764
 
 
20765
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMainSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
20766
  PyObject *resultobj = 0;
 
20767
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20768
  int result;
 
20769
  void *argp1 = 0 ;
 
20770
  int res1 = 0 ;
 
20771
  PyObject *swig_obj[1] ;
 
20772
  
 
20773
  if (!args) SWIG_fail;
 
20774
  swig_obj[0] = args;
 
20775
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20776
  if (!SWIG_IsOK(res1)) {
 
20777
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMainSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
20778
  }
 
20779
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20780
  {
 
20781
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20782
    result = (int)((wxStyledTextCtrl const *)arg1)->GetMainSelection();
 
20783
    wxPyEndAllowThreads(__tstate);
 
20784
    if (PyErr_Occurred()) SWIG_fail;
 
20785
  }
 
20786
  resultobj = SWIG_From_int(static_cast< int >(result));
 
20787
  return resultobj;
 
20788
fail:
 
20789
  return NULL;
 
20790
}
 
20791
 
 
20792
 
 
20793
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionNCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20794
  PyObject *resultobj = 0;
 
20795
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20796
  int arg2 ;
 
20797
  int arg3 ;
 
20798
  void *argp1 = 0 ;
 
20799
  int res1 = 0 ;
 
20800
  int val2 ;
 
20801
  int ecode2 = 0 ;
 
20802
  int val3 ;
 
20803
  int ecode3 = 0 ;
 
20804
  PyObject * obj0 = 0 ;
 
20805
  PyObject * obj1 = 0 ;
 
20806
  PyObject * obj2 = 0 ;
 
20807
  char *  kwnames[] = {
 
20808
    (char *) "self",(char *) "selection",(char *) "pos", NULL 
 
20809
  };
 
20810
  
 
20811
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelectionNCaret",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
20812
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20813
  if (!SWIG_IsOK(res1)) {
 
20814
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionNCaret" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20815
  }
 
20816
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20817
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20818
  if (!SWIG_IsOK(ecode2)) {
 
20819
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionNCaret" "', expected argument " "2"" of type '" "int""'");
 
20820
  } 
 
20821
  arg2 = static_cast< int >(val2);
 
20822
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
20823
  if (!SWIG_IsOK(ecode3)) {
 
20824
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetSelectionNCaret" "', expected argument " "3"" of type '" "int""'");
 
20825
  } 
 
20826
  arg3 = static_cast< int >(val3);
 
20827
  {
 
20828
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20829
    (arg1)->SetSelectionNCaret(arg2,arg3);
 
20830
    wxPyEndAllowThreads(__tstate);
 
20831
    if (PyErr_Occurred()) SWIG_fail;
 
20832
  }
 
20833
  resultobj = SWIG_Py_Void();
 
20834
  return resultobj;
 
20835
fail:
 
20836
  return NULL;
 
20837
}
 
20838
 
 
20839
 
 
20840
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionNCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20841
  PyObject *resultobj = 0;
 
20842
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20843
  int arg2 ;
 
20844
  int result;
 
20845
  void *argp1 = 0 ;
 
20846
  int res1 = 0 ;
 
20847
  int val2 ;
 
20848
  int ecode2 = 0 ;
 
20849
  PyObject * obj0 = 0 ;
 
20850
  PyObject * obj1 = 0 ;
 
20851
  char *  kwnames[] = {
 
20852
    (char *) "self",(char *) "selection", NULL 
 
20853
  };
 
20854
  
 
20855
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetSelectionNCaret",kwnames,&obj0,&obj1)) SWIG_fail;
 
20856
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20857
  if (!SWIG_IsOK(res1)) {
 
20858
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionNCaret" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
20859
  }
 
20860
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20861
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20862
  if (!SWIG_IsOK(ecode2)) {
 
20863
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetSelectionNCaret" "', expected argument " "2"" of type '" "int""'");
 
20864
  } 
 
20865
  arg2 = static_cast< int >(val2);
 
20866
  {
 
20867
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20868
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSelectionNCaret(arg2);
 
20869
    wxPyEndAllowThreads(__tstate);
 
20870
    if (PyErr_Occurred()) SWIG_fail;
 
20871
  }
 
20872
  resultobj = SWIG_From_int(static_cast< int >(result));
 
20873
  return resultobj;
 
20874
fail:
 
20875
  return NULL;
 
20876
}
 
20877
 
 
20878
 
 
20879
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionNAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20880
  PyObject *resultobj = 0;
 
20881
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20882
  int arg2 ;
 
20883
  int arg3 ;
 
20884
  void *argp1 = 0 ;
 
20885
  int res1 = 0 ;
 
20886
  int val2 ;
 
20887
  int ecode2 = 0 ;
 
20888
  int val3 ;
 
20889
  int ecode3 = 0 ;
 
20890
  PyObject * obj0 = 0 ;
 
20891
  PyObject * obj1 = 0 ;
 
20892
  PyObject * obj2 = 0 ;
 
20893
  char *  kwnames[] = {
 
20894
    (char *) "self",(char *) "selection",(char *) "posAnchor", NULL 
 
20895
  };
 
20896
  
 
20897
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelectionNAnchor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
20898
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20899
  if (!SWIG_IsOK(res1)) {
 
20900
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionNAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20901
  }
 
20902
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20903
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20904
  if (!SWIG_IsOK(ecode2)) {
 
20905
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionNAnchor" "', expected argument " "2"" of type '" "int""'");
 
20906
  } 
 
20907
  arg2 = static_cast< int >(val2);
 
20908
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
20909
  if (!SWIG_IsOK(ecode3)) {
 
20910
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetSelectionNAnchor" "', expected argument " "3"" of type '" "int""'");
 
20911
  } 
 
20912
  arg3 = static_cast< int >(val3);
 
20913
  {
 
20914
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20915
    (arg1)->SetSelectionNAnchor(arg2,arg3);
 
20916
    wxPyEndAllowThreads(__tstate);
 
20917
    if (PyErr_Occurred()) SWIG_fail;
 
20918
  }
 
20919
  resultobj = SWIG_Py_Void();
 
20920
  return resultobj;
 
20921
fail:
 
20922
  return NULL;
 
20923
}
 
20924
 
 
20925
 
 
20926
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionNAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20927
  PyObject *resultobj = 0;
 
20928
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20929
  int arg2 ;
 
20930
  int result;
 
20931
  void *argp1 = 0 ;
 
20932
  int res1 = 0 ;
 
20933
  int val2 ;
 
20934
  int ecode2 = 0 ;
 
20935
  PyObject * obj0 = 0 ;
 
20936
  PyObject * obj1 = 0 ;
 
20937
  char *  kwnames[] = {
 
20938
    (char *) "self",(char *) "selection", NULL 
 
20939
  };
 
20940
  
 
20941
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetSelectionNAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
 
20942
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20943
  if (!SWIG_IsOK(res1)) {
 
20944
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionNAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
20945
  }
 
20946
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20947
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20948
  if (!SWIG_IsOK(ecode2)) {
 
20949
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetSelectionNAnchor" "', expected argument " "2"" of type '" "int""'");
 
20950
  } 
 
20951
  arg2 = static_cast< int >(val2);
 
20952
  {
 
20953
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20954
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSelectionNAnchor(arg2);
 
20955
    wxPyEndAllowThreads(__tstate);
 
20956
    if (PyErr_Occurred()) SWIG_fail;
 
20957
  }
 
20958
  resultobj = SWIG_From_int(static_cast< int >(result));
 
20959
  return resultobj;
 
20960
fail:
 
20961
  return NULL;
 
20962
}
 
20963
 
 
20964
 
 
20965
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionNCaretVirtualSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20966
  PyObject *resultobj = 0;
 
20967
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
20968
  int arg2 ;
 
20969
  int arg3 ;
 
20970
  void *argp1 = 0 ;
 
20971
  int res1 = 0 ;
 
20972
  int val2 ;
 
20973
  int ecode2 = 0 ;
 
20974
  int val3 ;
 
20975
  int ecode3 = 0 ;
 
20976
  PyObject * obj0 = 0 ;
 
20977
  PyObject * obj1 = 0 ;
 
20978
  PyObject * obj2 = 0 ;
 
20979
  char *  kwnames[] = {
 
20980
    (char *) "self",(char *) "selection",(char *) "space", NULL 
 
20981
  };
 
20982
  
 
20983
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelectionNCaretVirtualSpace",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
20984
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
20985
  if (!SWIG_IsOK(res1)) {
 
20986
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionNCaretVirtualSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
20987
  }
 
20988
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
20989
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20990
  if (!SWIG_IsOK(ecode2)) {
 
20991
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionNCaretVirtualSpace" "', expected argument " "2"" of type '" "int""'");
 
20992
  } 
 
20993
  arg2 = static_cast< int >(val2);
 
20994
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
20995
  if (!SWIG_IsOK(ecode3)) {
 
20996
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetSelectionNCaretVirtualSpace" "', expected argument " "3"" of type '" "int""'");
 
20997
  } 
 
20998
  arg3 = static_cast< int >(val3);
 
20999
  {
 
21000
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21001
    (arg1)->SetSelectionNCaretVirtualSpace(arg2,arg3);
 
21002
    wxPyEndAllowThreads(__tstate);
 
21003
    if (PyErr_Occurred()) SWIG_fail;
 
21004
  }
 
21005
  resultobj = SWIG_Py_Void();
 
21006
  return resultobj;
 
21007
fail:
 
21008
  return NULL;
 
21009
}
 
21010
 
 
21011
 
 
21012
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionNCaretVirtualSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21013
  PyObject *resultobj = 0;
 
21014
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21015
  int arg2 ;
 
21016
  int result;
 
21017
  void *argp1 = 0 ;
 
21018
  int res1 = 0 ;
 
21019
  int val2 ;
 
21020
  int ecode2 = 0 ;
 
21021
  PyObject * obj0 = 0 ;
 
21022
  PyObject * obj1 = 0 ;
 
21023
  char *  kwnames[] = {
 
21024
    (char *) "self",(char *) "selection", NULL 
 
21025
  };
 
21026
  
 
21027
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetSelectionNCaretVirtualSpace",kwnames,&obj0,&obj1)) SWIG_fail;
 
21028
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21029
  if (!SWIG_IsOK(res1)) {
 
21030
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionNCaretVirtualSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
21031
  }
 
21032
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21033
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21034
  if (!SWIG_IsOK(ecode2)) {
 
21035
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetSelectionNCaretVirtualSpace" "', expected argument " "2"" of type '" "int""'");
 
21036
  } 
 
21037
  arg2 = static_cast< int >(val2);
 
21038
  {
 
21039
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21040
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSelectionNCaretVirtualSpace(arg2);
 
21041
    wxPyEndAllowThreads(__tstate);
 
21042
    if (PyErr_Occurred()) SWIG_fail;
 
21043
  }
 
21044
  resultobj = SWIG_From_int(static_cast< int >(result));
 
21045
  return resultobj;
 
21046
fail:
 
21047
  return NULL;
 
21048
}
 
21049
 
 
21050
 
 
21051
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionNAnchorVirtualSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21052
  PyObject *resultobj = 0;
 
21053
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21054
  int arg2 ;
 
21055
  int arg3 ;
 
21056
  void *argp1 = 0 ;
 
21057
  int res1 = 0 ;
 
21058
  int val2 ;
 
21059
  int ecode2 = 0 ;
 
21060
  int val3 ;
 
21061
  int ecode3 = 0 ;
 
21062
  PyObject * obj0 = 0 ;
 
21063
  PyObject * obj1 = 0 ;
 
21064
  PyObject * obj2 = 0 ;
 
21065
  char *  kwnames[] = {
 
21066
    (char *) "self",(char *) "selection",(char *) "space", NULL 
 
21067
  };
 
21068
  
 
21069
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelectionNAnchorVirtualSpace",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
21070
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21071
  if (!SWIG_IsOK(res1)) {
 
21072
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionNAnchorVirtualSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21073
  }
 
21074
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21075
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21076
  if (!SWIG_IsOK(ecode2)) {
 
21077
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionNAnchorVirtualSpace" "', expected argument " "2"" of type '" "int""'");
 
21078
  } 
 
21079
  arg2 = static_cast< int >(val2);
 
21080
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
21081
  if (!SWIG_IsOK(ecode3)) {
 
21082
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetSelectionNAnchorVirtualSpace" "', expected argument " "3"" of type '" "int""'");
 
21083
  } 
 
21084
  arg3 = static_cast< int >(val3);
 
21085
  {
 
21086
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21087
    (arg1)->SetSelectionNAnchorVirtualSpace(arg2,arg3);
 
21088
    wxPyEndAllowThreads(__tstate);
 
21089
    if (PyErr_Occurred()) SWIG_fail;
 
21090
  }
 
21091
  resultobj = SWIG_Py_Void();
 
21092
  return resultobj;
 
21093
fail:
 
21094
  return NULL;
 
21095
}
 
21096
 
 
21097
 
 
21098
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionNAnchorVirtualSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21099
  PyObject *resultobj = 0;
 
21100
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21101
  int arg2 ;
 
21102
  int result;
 
21103
  void *argp1 = 0 ;
 
21104
  int res1 = 0 ;
 
21105
  int val2 ;
 
21106
  int ecode2 = 0 ;
 
21107
  PyObject * obj0 = 0 ;
 
21108
  PyObject * obj1 = 0 ;
 
21109
  char *  kwnames[] = {
 
21110
    (char *) "self",(char *) "selection", NULL 
 
21111
  };
 
21112
  
 
21113
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetSelectionNAnchorVirtualSpace",kwnames,&obj0,&obj1)) SWIG_fail;
 
21114
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21115
  if (!SWIG_IsOK(res1)) {
 
21116
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionNAnchorVirtualSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
21117
  }
 
21118
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21119
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21120
  if (!SWIG_IsOK(ecode2)) {
 
21121
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetSelectionNAnchorVirtualSpace" "', expected argument " "2"" of type '" "int""'");
 
21122
  } 
 
21123
  arg2 = static_cast< int >(val2);
 
21124
  {
 
21125
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21126
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSelectionNAnchorVirtualSpace(arg2);
 
21127
    wxPyEndAllowThreads(__tstate);
 
21128
    if (PyErr_Occurred()) SWIG_fail;
 
21129
  }
 
21130
  resultobj = SWIG_From_int(static_cast< int >(result));
 
21131
  return resultobj;
 
21132
fail:
 
21133
  return NULL;
 
21134
}
 
21135
 
 
21136
 
 
21137
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionNStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21138
  PyObject *resultobj = 0;
 
21139
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21140
  int arg2 ;
 
21141
  int arg3 ;
 
21142
  void *argp1 = 0 ;
 
21143
  int res1 = 0 ;
 
21144
  int val2 ;
 
21145
  int ecode2 = 0 ;
 
21146
  int val3 ;
 
21147
  int ecode3 = 0 ;
 
21148
  PyObject * obj0 = 0 ;
 
21149
  PyObject * obj1 = 0 ;
 
21150
  PyObject * obj2 = 0 ;
 
21151
  char *  kwnames[] = {
 
21152
    (char *) "self",(char *) "selection",(char *) "pos", NULL 
 
21153
  };
 
21154
  
 
21155
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelectionNStart",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
21156
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21157
  if (!SWIG_IsOK(res1)) {
 
21158
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionNStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21159
  }
 
21160
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21161
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21162
  if (!SWIG_IsOK(ecode2)) {
 
21163
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionNStart" "', expected argument " "2"" of type '" "int""'");
 
21164
  } 
 
21165
  arg2 = static_cast< int >(val2);
 
21166
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
21167
  if (!SWIG_IsOK(ecode3)) {
 
21168
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetSelectionNStart" "', expected argument " "3"" of type '" "int""'");
 
21169
  } 
 
21170
  arg3 = static_cast< int >(val3);
 
21171
  {
 
21172
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21173
    (arg1)->SetSelectionNStart(arg2,arg3);
 
21174
    wxPyEndAllowThreads(__tstate);
 
21175
    if (PyErr_Occurred()) SWIG_fail;
 
21176
  }
 
21177
  resultobj = SWIG_Py_Void();
 
21178
  return resultobj;
 
21179
fail:
 
21180
  return NULL;
 
21181
}
 
21182
 
 
21183
 
 
21184
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionNStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21185
  PyObject *resultobj = 0;
 
21186
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21187
  int arg2 ;
 
21188
  int result;
 
21189
  void *argp1 = 0 ;
 
21190
  int res1 = 0 ;
 
21191
  int val2 ;
 
21192
  int ecode2 = 0 ;
 
21193
  PyObject * obj0 = 0 ;
 
21194
  PyObject * obj1 = 0 ;
 
21195
  char *  kwnames[] = {
 
21196
    (char *) "self",(char *) "selection", NULL 
 
21197
  };
 
21198
  
 
21199
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetSelectionNStart",kwnames,&obj0,&obj1)) SWIG_fail;
 
21200
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21201
  if (!SWIG_IsOK(res1)) {
 
21202
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionNStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
21203
  }
 
21204
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21205
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21206
  if (!SWIG_IsOK(ecode2)) {
 
21207
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetSelectionNStart" "', expected argument " "2"" of type '" "int""'");
 
21208
  } 
 
21209
  arg2 = static_cast< int >(val2);
 
21210
  {
 
21211
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21212
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSelectionNStart(arg2);
 
21213
    wxPyEndAllowThreads(__tstate);
 
21214
    if (PyErr_Occurred()) SWIG_fail;
 
21215
  }
 
21216
  resultobj = SWIG_From_int(static_cast< int >(result));
 
21217
  return resultobj;
 
21218
fail:
 
21219
  return NULL;
 
21220
}
 
21221
 
 
21222
 
 
21223
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionNEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21224
  PyObject *resultobj = 0;
 
21225
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21226
  int arg2 ;
 
21227
  int arg3 ;
 
21228
  void *argp1 = 0 ;
 
21229
  int res1 = 0 ;
 
21230
  int val2 ;
 
21231
  int ecode2 = 0 ;
 
21232
  int val3 ;
 
21233
  int ecode3 = 0 ;
 
21234
  PyObject * obj0 = 0 ;
 
21235
  PyObject * obj1 = 0 ;
 
21236
  PyObject * obj2 = 0 ;
 
21237
  char *  kwnames[] = {
 
21238
    (char *) "self",(char *) "selection",(char *) "pos", NULL 
 
21239
  };
 
21240
  
 
21241
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelectionNEnd",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
21242
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21243
  if (!SWIG_IsOK(res1)) {
 
21244
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionNEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21245
  }
 
21246
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21247
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21248
  if (!SWIG_IsOK(ecode2)) {
 
21249
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionNEnd" "', expected argument " "2"" of type '" "int""'");
 
21250
  } 
 
21251
  arg2 = static_cast< int >(val2);
 
21252
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
21253
  if (!SWIG_IsOK(ecode3)) {
 
21254
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetSelectionNEnd" "', expected argument " "3"" of type '" "int""'");
 
21255
  } 
 
21256
  arg3 = static_cast< int >(val3);
 
21257
  {
 
21258
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21259
    (arg1)->SetSelectionNEnd(arg2,arg3);
 
21260
    wxPyEndAllowThreads(__tstate);
 
21261
    if (PyErr_Occurred()) SWIG_fail;
 
21262
  }
 
21263
  resultobj = SWIG_Py_Void();
 
21264
  return resultobj;
 
21265
fail:
 
21266
  return NULL;
 
21267
}
 
21268
 
 
21269
 
 
21270
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionNEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21271
  PyObject *resultobj = 0;
 
21272
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21273
  int arg2 ;
 
21274
  int result;
 
21275
  void *argp1 = 0 ;
 
21276
  int res1 = 0 ;
 
21277
  int val2 ;
 
21278
  int ecode2 = 0 ;
 
21279
  PyObject * obj0 = 0 ;
 
21280
  PyObject * obj1 = 0 ;
 
21281
  char *  kwnames[] = {
 
21282
    (char *) "self",(char *) "selection", NULL 
 
21283
  };
 
21284
  
 
21285
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetSelectionNEnd",kwnames,&obj0,&obj1)) SWIG_fail;
 
21286
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21287
  if (!SWIG_IsOK(res1)) {
 
21288
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionNEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
21289
  }
 
21290
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21291
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21292
  if (!SWIG_IsOK(ecode2)) {
 
21293
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetSelectionNEnd" "', expected argument " "2"" of type '" "int""'");
 
21294
  } 
 
21295
  arg2 = static_cast< int >(val2);
 
21296
  {
 
21297
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21298
    result = (int)((wxStyledTextCtrl const *)arg1)->GetSelectionNEnd(arg2);
 
21299
    wxPyEndAllowThreads(__tstate);
 
21300
    if (PyErr_Occurred()) SWIG_fail;
 
21301
  }
 
21302
  resultobj = SWIG_From_int(static_cast< int >(result));
 
21303
  return resultobj;
 
21304
fail:
 
21305
  return NULL;
 
21306
}
 
21307
 
 
21308
 
 
21309
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetRectangularSelectionCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21310
  PyObject *resultobj = 0;
 
21311
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21312
  int arg2 ;
 
21313
  void *argp1 = 0 ;
 
21314
  int res1 = 0 ;
 
21315
  int val2 ;
 
21316
  int ecode2 = 0 ;
 
21317
  PyObject * obj0 = 0 ;
 
21318
  PyObject * obj1 = 0 ;
 
21319
  char *  kwnames[] = {
 
21320
    (char *) "self",(char *) "pos", NULL 
 
21321
  };
 
21322
  
 
21323
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetRectangularSelectionCaret",kwnames,&obj0,&obj1)) SWIG_fail;
 
21324
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21325
  if (!SWIG_IsOK(res1)) {
 
21326
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetRectangularSelectionCaret" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21327
  }
 
21328
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21329
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21330
  if (!SWIG_IsOK(ecode2)) {
 
21331
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetRectangularSelectionCaret" "', expected argument " "2"" of type '" "int""'");
 
21332
  } 
 
21333
  arg2 = static_cast< int >(val2);
 
21334
  {
 
21335
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21336
    (arg1)->SetRectangularSelectionCaret(arg2);
 
21337
    wxPyEndAllowThreads(__tstate);
 
21338
    if (PyErr_Occurred()) SWIG_fail;
 
21339
  }
 
21340
  resultobj = SWIG_Py_Void();
 
21341
  return resultobj;
 
21342
fail:
 
21343
  return NULL;
 
21344
}
 
21345
 
 
21346
 
 
21347
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetRectangularSelectionCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21348
  PyObject *resultobj = 0;
 
21349
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21350
  int result;
 
21351
  void *argp1 = 0 ;
 
21352
  int res1 = 0 ;
 
21353
  PyObject *swig_obj[1] ;
 
21354
  
 
21355
  if (!args) SWIG_fail;
 
21356
  swig_obj[0] = args;
 
21357
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21358
  if (!SWIG_IsOK(res1)) {
 
21359
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetRectangularSelectionCaret" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
21360
  }
 
21361
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21362
  {
 
21363
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21364
    result = (int)((wxStyledTextCtrl const *)arg1)->GetRectangularSelectionCaret();
 
21365
    wxPyEndAllowThreads(__tstate);
 
21366
    if (PyErr_Occurred()) SWIG_fail;
 
21367
  }
 
21368
  resultobj = SWIG_From_int(static_cast< int >(result));
 
21369
  return resultobj;
 
21370
fail:
 
21371
  return NULL;
 
21372
}
 
21373
 
 
21374
 
 
21375
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetRectangularSelectionAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21376
  PyObject *resultobj = 0;
 
21377
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21378
  int arg2 ;
 
21379
  void *argp1 = 0 ;
 
21380
  int res1 = 0 ;
 
21381
  int val2 ;
 
21382
  int ecode2 = 0 ;
 
21383
  PyObject * obj0 = 0 ;
 
21384
  PyObject * obj1 = 0 ;
 
21385
  char *  kwnames[] = {
 
21386
    (char *) "self",(char *) "posAnchor", NULL 
 
21387
  };
 
21388
  
 
21389
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetRectangularSelectionAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
 
21390
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21391
  if (!SWIG_IsOK(res1)) {
 
21392
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetRectangularSelectionAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21393
  }
 
21394
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21395
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21396
  if (!SWIG_IsOK(ecode2)) {
 
21397
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetRectangularSelectionAnchor" "', expected argument " "2"" of type '" "int""'");
 
21398
  } 
 
21399
  arg2 = static_cast< int >(val2);
 
21400
  {
 
21401
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21402
    (arg1)->SetRectangularSelectionAnchor(arg2);
 
21403
    wxPyEndAllowThreads(__tstate);
 
21404
    if (PyErr_Occurred()) SWIG_fail;
 
21405
  }
 
21406
  resultobj = SWIG_Py_Void();
 
21407
  return resultobj;
 
21408
fail:
 
21409
  return NULL;
 
21410
}
 
21411
 
 
21412
 
 
21413
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetRectangularSelectionAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21414
  PyObject *resultobj = 0;
 
21415
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21416
  int result;
 
21417
  void *argp1 = 0 ;
 
21418
  int res1 = 0 ;
 
21419
  PyObject *swig_obj[1] ;
 
21420
  
 
21421
  if (!args) SWIG_fail;
 
21422
  swig_obj[0] = args;
 
21423
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21424
  if (!SWIG_IsOK(res1)) {
 
21425
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetRectangularSelectionAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
21426
  }
 
21427
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21428
  {
 
21429
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21430
    result = (int)((wxStyledTextCtrl const *)arg1)->GetRectangularSelectionAnchor();
 
21431
    wxPyEndAllowThreads(__tstate);
 
21432
    if (PyErr_Occurred()) SWIG_fail;
 
21433
  }
 
21434
  resultobj = SWIG_From_int(static_cast< int >(result));
 
21435
  return resultobj;
 
21436
fail:
 
21437
  return NULL;
 
21438
}
 
21439
 
 
21440
 
 
21441
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetRectangularSelectionCaretVirtualSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21442
  PyObject *resultobj = 0;
 
21443
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21444
  int arg2 ;
 
21445
  void *argp1 = 0 ;
 
21446
  int res1 = 0 ;
 
21447
  int val2 ;
 
21448
  int ecode2 = 0 ;
 
21449
  PyObject * obj0 = 0 ;
 
21450
  PyObject * obj1 = 0 ;
 
21451
  char *  kwnames[] = {
 
21452
    (char *) "self",(char *) "space", NULL 
 
21453
  };
 
21454
  
 
21455
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetRectangularSelectionCaretVirtualSpace",kwnames,&obj0,&obj1)) SWIG_fail;
 
21456
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21457
  if (!SWIG_IsOK(res1)) {
 
21458
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetRectangularSelectionCaretVirtualSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21459
  }
 
21460
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21461
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21462
  if (!SWIG_IsOK(ecode2)) {
 
21463
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetRectangularSelectionCaretVirtualSpace" "', expected argument " "2"" of type '" "int""'");
 
21464
  } 
 
21465
  arg2 = static_cast< int >(val2);
 
21466
  {
 
21467
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21468
    (arg1)->SetRectangularSelectionCaretVirtualSpace(arg2);
 
21469
    wxPyEndAllowThreads(__tstate);
 
21470
    if (PyErr_Occurred()) SWIG_fail;
 
21471
  }
 
21472
  resultobj = SWIG_Py_Void();
 
21473
  return resultobj;
 
21474
fail:
 
21475
  return NULL;
 
21476
}
 
21477
 
 
21478
 
 
21479
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetRectangularSelectionCaretVirtualSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21480
  PyObject *resultobj = 0;
 
21481
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21482
  int result;
 
21483
  void *argp1 = 0 ;
 
21484
  int res1 = 0 ;
 
21485
  PyObject *swig_obj[1] ;
 
21486
  
 
21487
  if (!args) SWIG_fail;
 
21488
  swig_obj[0] = args;
 
21489
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21490
  if (!SWIG_IsOK(res1)) {
 
21491
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetRectangularSelectionCaretVirtualSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
21492
  }
 
21493
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21494
  {
 
21495
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21496
    result = (int)((wxStyledTextCtrl const *)arg1)->GetRectangularSelectionCaretVirtualSpace();
 
21497
    wxPyEndAllowThreads(__tstate);
 
21498
    if (PyErr_Occurred()) SWIG_fail;
 
21499
  }
 
21500
  resultobj = SWIG_From_int(static_cast< int >(result));
 
21501
  return resultobj;
 
21502
fail:
 
21503
  return NULL;
 
21504
}
 
21505
 
 
21506
 
 
21507
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetRectangularSelectionAnchorVirtualSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21508
  PyObject *resultobj = 0;
 
21509
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21510
  int arg2 ;
 
21511
  void *argp1 = 0 ;
 
21512
  int res1 = 0 ;
 
21513
  int val2 ;
 
21514
  int ecode2 = 0 ;
 
21515
  PyObject * obj0 = 0 ;
 
21516
  PyObject * obj1 = 0 ;
 
21517
  char *  kwnames[] = {
 
21518
    (char *) "self",(char *) "space", NULL 
 
21519
  };
 
21520
  
 
21521
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetRectangularSelectionAnchorVirtualSpace",kwnames,&obj0,&obj1)) SWIG_fail;
 
21522
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21523
  if (!SWIG_IsOK(res1)) {
 
21524
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetRectangularSelectionAnchorVirtualSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21525
  }
 
21526
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21527
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21528
  if (!SWIG_IsOK(ecode2)) {
 
21529
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetRectangularSelectionAnchorVirtualSpace" "', expected argument " "2"" of type '" "int""'");
 
21530
  } 
 
21531
  arg2 = static_cast< int >(val2);
 
21532
  {
 
21533
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21534
    (arg1)->SetRectangularSelectionAnchorVirtualSpace(arg2);
 
21535
    wxPyEndAllowThreads(__tstate);
 
21536
    if (PyErr_Occurred()) SWIG_fail;
 
21537
  }
 
21538
  resultobj = SWIG_Py_Void();
 
21539
  return resultobj;
 
21540
fail:
 
21541
  return NULL;
 
21542
}
 
21543
 
 
21544
 
 
21545
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetRectangularSelectionAnchorVirtualSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21546
  PyObject *resultobj = 0;
 
21547
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21548
  int result;
 
21549
  void *argp1 = 0 ;
 
21550
  int res1 = 0 ;
 
21551
  PyObject *swig_obj[1] ;
 
21552
  
 
21553
  if (!args) SWIG_fail;
 
21554
  swig_obj[0] = args;
 
21555
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21556
  if (!SWIG_IsOK(res1)) {
 
21557
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetRectangularSelectionAnchorVirtualSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
21558
  }
 
21559
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21560
  {
 
21561
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21562
    result = (int)((wxStyledTextCtrl const *)arg1)->GetRectangularSelectionAnchorVirtualSpace();
 
21563
    wxPyEndAllowThreads(__tstate);
 
21564
    if (PyErr_Occurred()) SWIG_fail;
 
21565
  }
 
21566
  resultobj = SWIG_From_int(static_cast< int >(result));
 
21567
  return resultobj;
 
21568
fail:
 
21569
  return NULL;
 
21570
}
 
21571
 
 
21572
 
 
21573
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVirtualSpaceOptions(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21574
  PyObject *resultobj = 0;
 
21575
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21576
  int arg2 ;
 
21577
  void *argp1 = 0 ;
 
21578
  int res1 = 0 ;
 
21579
  int val2 ;
 
21580
  int ecode2 = 0 ;
 
21581
  PyObject * obj0 = 0 ;
 
21582
  PyObject * obj1 = 0 ;
 
21583
  char *  kwnames[] = {
 
21584
    (char *) "self",(char *) "virtualSpaceOptions", NULL 
 
21585
  };
 
21586
  
 
21587
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVirtualSpaceOptions",kwnames,&obj0,&obj1)) SWIG_fail;
 
21588
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21589
  if (!SWIG_IsOK(res1)) {
 
21590
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVirtualSpaceOptions" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21591
  }
 
21592
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21593
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21594
  if (!SWIG_IsOK(ecode2)) {
 
21595
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetVirtualSpaceOptions" "', expected argument " "2"" of type '" "int""'");
 
21596
  } 
 
21597
  arg2 = static_cast< int >(val2);
 
21598
  {
 
21599
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21600
    (arg1)->SetVirtualSpaceOptions(arg2);
 
21601
    wxPyEndAllowThreads(__tstate);
 
21602
    if (PyErr_Occurred()) SWIG_fail;
 
21603
  }
 
21604
  resultobj = SWIG_Py_Void();
 
21605
  return resultobj;
 
21606
fail:
 
21607
  return NULL;
 
21608
}
 
21609
 
 
21610
 
 
21611
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetVirtualSpaceOptions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21612
  PyObject *resultobj = 0;
 
21613
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21614
  int result;
 
21615
  void *argp1 = 0 ;
 
21616
  int res1 = 0 ;
 
21617
  PyObject *swig_obj[1] ;
 
21618
  
 
21619
  if (!args) SWIG_fail;
 
21620
  swig_obj[0] = args;
 
21621
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21622
  if (!SWIG_IsOK(res1)) {
 
21623
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetVirtualSpaceOptions" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
21624
  }
 
21625
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21626
  {
 
21627
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21628
    result = (int)((wxStyledTextCtrl const *)arg1)->GetVirtualSpaceOptions();
 
21629
    wxPyEndAllowThreads(__tstate);
 
21630
    if (PyErr_Occurred()) SWIG_fail;
 
21631
  }
 
21632
  resultobj = SWIG_From_int(static_cast< int >(result));
 
21633
  return resultobj;
 
21634
fail:
 
21635
  return NULL;
 
21636
}
 
21637
 
 
21638
 
 
21639
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetRectangularSelectionModifier(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21640
  PyObject *resultobj = 0;
 
21641
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21642
  int arg2 ;
 
21643
  void *argp1 = 0 ;
 
21644
  int res1 = 0 ;
 
21645
  int val2 ;
 
21646
  int ecode2 = 0 ;
 
21647
  PyObject * obj0 = 0 ;
 
21648
  PyObject * obj1 = 0 ;
 
21649
  char *  kwnames[] = {
 
21650
    (char *) "self",(char *) "modifier", NULL 
 
21651
  };
 
21652
  
 
21653
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetRectangularSelectionModifier",kwnames,&obj0,&obj1)) SWIG_fail;
 
21654
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21655
  if (!SWIG_IsOK(res1)) {
 
21656
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetRectangularSelectionModifier" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21657
  }
 
21658
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21659
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21660
  if (!SWIG_IsOK(ecode2)) {
 
21661
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetRectangularSelectionModifier" "', expected argument " "2"" of type '" "int""'");
 
21662
  } 
 
21663
  arg2 = static_cast< int >(val2);
 
21664
  {
 
21665
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21666
    (arg1)->SetRectangularSelectionModifier(arg2);
 
21667
    wxPyEndAllowThreads(__tstate);
 
21668
    if (PyErr_Occurred()) SWIG_fail;
 
21669
  }
 
21670
  resultobj = SWIG_Py_Void();
 
21671
  return resultobj;
 
21672
fail:
 
21673
  return NULL;
 
21674
}
 
21675
 
 
21676
 
 
21677
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetRectangularSelectionModifier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21678
  PyObject *resultobj = 0;
 
21679
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21680
  int result;
 
21681
  void *argp1 = 0 ;
 
21682
  int res1 = 0 ;
 
21683
  PyObject *swig_obj[1] ;
 
21684
  
 
21685
  if (!args) SWIG_fail;
 
21686
  swig_obj[0] = args;
 
21687
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21688
  if (!SWIG_IsOK(res1)) {
 
21689
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetRectangularSelectionModifier" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
21690
  }
 
21691
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21692
  {
 
21693
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21694
    result = (int)((wxStyledTextCtrl const *)arg1)->GetRectangularSelectionModifier();
 
21695
    wxPyEndAllowThreads(__tstate);
 
21696
    if (PyErr_Occurred()) SWIG_fail;
 
21697
  }
 
21698
  resultobj = SWIG_From_int(static_cast< int >(result));
 
21699
  return resultobj;
 
21700
fail:
 
21701
  return NULL;
 
21702
}
 
21703
 
 
21704
 
 
21705
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAdditionalSelForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21706
  PyObject *resultobj = 0;
 
21707
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21708
  wxColour *arg2 = 0 ;
 
21709
  void *argp1 = 0 ;
 
21710
  int res1 = 0 ;
 
21711
  wxColour temp2 ;
 
21712
  PyObject * obj0 = 0 ;
 
21713
  PyObject * obj1 = 0 ;
 
21714
  char *  kwnames[] = {
 
21715
    (char *) "self",(char *) "fore", NULL 
 
21716
  };
 
21717
  
 
21718
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAdditionalSelForeground",kwnames,&obj0,&obj1)) SWIG_fail;
 
21719
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21720
  if (!SWIG_IsOK(res1)) {
 
21721
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAdditionalSelForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21722
  }
 
21723
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21724
  {
 
21725
    arg2 = &temp2;
 
21726
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
21727
  }
 
21728
  {
 
21729
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21730
    (arg1)->SetAdditionalSelForeground((wxColour const &)*arg2);
 
21731
    wxPyEndAllowThreads(__tstate);
 
21732
    if (PyErr_Occurred()) SWIG_fail;
 
21733
  }
 
21734
  resultobj = SWIG_Py_Void();
 
21735
  return resultobj;
 
21736
fail:
 
21737
  return NULL;
 
21738
}
 
21739
 
 
21740
 
 
21741
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAdditionalSelBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21742
  PyObject *resultobj = 0;
 
21743
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21744
  wxColour *arg2 = 0 ;
 
21745
  void *argp1 = 0 ;
 
21746
  int res1 = 0 ;
 
21747
  wxColour temp2 ;
 
21748
  PyObject * obj0 = 0 ;
 
21749
  PyObject * obj1 = 0 ;
 
21750
  char *  kwnames[] = {
 
21751
    (char *) "self",(char *) "back", NULL 
 
21752
  };
 
21753
  
 
21754
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAdditionalSelBackground",kwnames,&obj0,&obj1)) SWIG_fail;
 
21755
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21756
  if (!SWIG_IsOK(res1)) {
 
21757
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAdditionalSelBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21758
  }
 
21759
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21760
  {
 
21761
    arg2 = &temp2;
 
21762
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
21763
  }
 
21764
  {
 
21765
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21766
    (arg1)->SetAdditionalSelBackground((wxColour const &)*arg2);
 
21767
    wxPyEndAllowThreads(__tstate);
 
21768
    if (PyErr_Occurred()) SWIG_fail;
 
21769
  }
 
21770
  resultobj = SWIG_Py_Void();
 
21771
  return resultobj;
 
21772
fail:
 
21773
  return NULL;
 
21774
}
 
21775
 
 
21776
 
 
21777
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAdditionalSelAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21778
  PyObject *resultobj = 0;
 
21779
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21780
  int arg2 ;
 
21781
  void *argp1 = 0 ;
 
21782
  int res1 = 0 ;
 
21783
  int val2 ;
 
21784
  int ecode2 = 0 ;
 
21785
  PyObject * obj0 = 0 ;
 
21786
  PyObject * obj1 = 0 ;
 
21787
  char *  kwnames[] = {
 
21788
    (char *) "self",(char *) "alpha", NULL 
 
21789
  };
 
21790
  
 
21791
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAdditionalSelAlpha",kwnames,&obj0,&obj1)) SWIG_fail;
 
21792
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21793
  if (!SWIG_IsOK(res1)) {
 
21794
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAdditionalSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21795
  }
 
21796
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21797
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
21798
  if (!SWIG_IsOK(ecode2)) {
 
21799
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetAdditionalSelAlpha" "', expected argument " "2"" of type '" "int""'");
 
21800
  } 
 
21801
  arg2 = static_cast< int >(val2);
 
21802
  {
 
21803
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21804
    (arg1)->SetAdditionalSelAlpha(arg2);
 
21805
    wxPyEndAllowThreads(__tstate);
 
21806
    if (PyErr_Occurred()) SWIG_fail;
 
21807
  }
 
21808
  resultobj = SWIG_Py_Void();
 
21809
  return resultobj;
 
21810
fail:
 
21811
  return NULL;
 
21812
}
 
21813
 
 
21814
 
 
21815
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetAdditionalSelAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21816
  PyObject *resultobj = 0;
 
21817
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21818
  int result;
 
21819
  void *argp1 = 0 ;
 
21820
  int res1 = 0 ;
 
21821
  PyObject *swig_obj[1] ;
 
21822
  
 
21823
  if (!args) SWIG_fail;
 
21824
  swig_obj[0] = args;
 
21825
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21826
  if (!SWIG_IsOK(res1)) {
 
21827
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetAdditionalSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
21828
  }
 
21829
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21830
  {
 
21831
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21832
    result = (int)((wxStyledTextCtrl const *)arg1)->GetAdditionalSelAlpha();
 
21833
    wxPyEndAllowThreads(__tstate);
 
21834
    if (PyErr_Occurred()) SWIG_fail;
 
21835
  }
 
21836
  resultobj = SWIG_From_int(static_cast< int >(result));
 
21837
  return resultobj;
 
21838
fail:
 
21839
  return NULL;
 
21840
}
 
21841
 
 
21842
 
 
21843
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAdditionalCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
21844
  PyObject *resultobj = 0;
 
21845
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21846
  wxColour *arg2 = 0 ;
 
21847
  void *argp1 = 0 ;
 
21848
  int res1 = 0 ;
 
21849
  wxColour temp2 ;
 
21850
  PyObject * obj0 = 0 ;
 
21851
  PyObject * obj1 = 0 ;
 
21852
  char *  kwnames[] = {
 
21853
    (char *) "self",(char *) "fore", NULL 
 
21854
  };
 
21855
  
 
21856
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAdditionalCaretForeground",kwnames,&obj0,&obj1)) SWIG_fail;
 
21857
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21858
  if (!SWIG_IsOK(res1)) {
 
21859
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAdditionalCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21860
  }
 
21861
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21862
  {
 
21863
    arg2 = &temp2;
 
21864
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
21865
  }
 
21866
  {
 
21867
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21868
    (arg1)->SetAdditionalCaretForeground((wxColour const &)*arg2);
 
21869
    wxPyEndAllowThreads(__tstate);
 
21870
    if (PyErr_Occurred()) SWIG_fail;
 
21871
  }
 
21872
  resultobj = SWIG_Py_Void();
 
21873
  return resultobj;
 
21874
fail:
 
21875
  return NULL;
 
21876
}
 
21877
 
 
21878
 
 
21879
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetAdditionalCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21880
  PyObject *resultobj = 0;
 
21881
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21882
  wxColour result;
 
21883
  void *argp1 = 0 ;
 
21884
  int res1 = 0 ;
 
21885
  PyObject *swig_obj[1] ;
 
21886
  
 
21887
  if (!args) SWIG_fail;
 
21888
  swig_obj[0] = args;
 
21889
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21890
  if (!SWIG_IsOK(res1)) {
 
21891
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetAdditionalCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
21892
  }
 
21893
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21894
  {
 
21895
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21896
    result = ((wxStyledTextCtrl const *)arg1)->GetAdditionalCaretForeground();
 
21897
    wxPyEndAllowThreads(__tstate);
 
21898
    if (PyErr_Occurred()) SWIG_fail;
 
21899
  }
 
21900
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
21901
  return resultobj;
 
21902
fail:
 
21903
  return NULL;
 
21904
}
 
21905
 
 
21906
 
 
21907
SWIGINTERN PyObject *_wrap_StyledTextCtrl_RotateSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21908
  PyObject *resultobj = 0;
 
21909
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21910
  void *argp1 = 0 ;
 
21911
  int res1 = 0 ;
 
21912
  PyObject *swig_obj[1] ;
 
21913
  
 
21914
  if (!args) SWIG_fail;
 
21915
  swig_obj[0] = args;
 
21916
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21917
  if (!SWIG_IsOK(res1)) {
 
21918
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_RotateSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21919
  }
 
21920
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21921
  {
 
21922
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21923
    (arg1)->RotateSelection();
 
21924
    wxPyEndAllowThreads(__tstate);
 
21925
    if (PyErr_Occurred()) SWIG_fail;
 
21926
  }
 
21927
  resultobj = SWIG_Py_Void();
 
21928
  return resultobj;
 
21929
fail:
 
21930
  return NULL;
 
21931
}
 
21932
 
 
21933
 
 
21934
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SwapMainAnchorCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21935
  PyObject *resultobj = 0;
 
21936
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21937
  void *argp1 = 0 ;
 
21938
  int res1 = 0 ;
 
21939
  PyObject *swig_obj[1] ;
 
21940
  
 
21941
  if (!args) SWIG_fail;
 
21942
  swig_obj[0] = args;
 
21943
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21944
  if (!SWIG_IsOK(res1)) {
 
21945
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SwapMainAnchorCaret" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21946
  }
 
21947
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21948
  {
 
21949
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21950
    (arg1)->SwapMainAnchorCaret();
 
21951
    wxPyEndAllowThreads(__tstate);
 
21952
    if (PyErr_Occurred()) SWIG_fail;
 
21953
  }
 
21954
  resultobj = SWIG_Py_Void();
 
21955
  return resultobj;
 
21956
fail:
 
21957
  return NULL;
 
21958
}
 
21959
 
 
21960
 
 
21961
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21962
  PyObject *resultobj = 0;
 
21963
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21964
  void *argp1 = 0 ;
 
21965
  int res1 = 0 ;
 
21966
  PyObject *swig_obj[1] ;
 
21967
  
 
21968
  if (!args) SWIG_fail;
 
21969
  swig_obj[0] = args;
 
21970
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21971
  if (!SWIG_IsOK(res1)) {
 
21972
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
21973
  }
 
21974
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
21975
  {
 
21976
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21977
    (arg1)->StartRecord();
 
21978
    wxPyEndAllowThreads(__tstate);
 
21979
    if (PyErr_Occurred()) SWIG_fail;
 
21980
  }
 
21981
  resultobj = SWIG_Py_Void();
 
21982
  return resultobj;
 
21983
fail:
 
21984
  return NULL;
 
21985
}
 
21986
 
 
21987
 
 
21988
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21989
  PyObject *resultobj = 0;
 
21990
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
21991
  void *argp1 = 0 ;
 
21992
  int res1 = 0 ;
 
21993
  PyObject *swig_obj[1] ;
 
21994
  
 
21995
  if (!args) SWIG_fail;
 
21996
  swig_obj[0] = args;
 
21997
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
21998
  if (!SWIG_IsOK(res1)) {
 
21999
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StopRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22000
  }
 
22001
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22002
  {
 
22003
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22004
    (arg1)->StopRecord();
 
22005
    wxPyEndAllowThreads(__tstate);
 
22006
    if (PyErr_Occurred()) SWIG_fail;
 
22007
  }
 
22008
  resultobj = SWIG_Py_Void();
 
22009
  return resultobj;
 
22010
fail:
 
22011
  return NULL;
 
22012
}
 
22013
 
 
22014
 
 
22015
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22016
  PyObject *resultobj = 0;
 
22017
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22018
  int arg2 ;
 
22019
  void *argp1 = 0 ;
 
22020
  int res1 = 0 ;
 
22021
  int val2 ;
 
22022
  int ecode2 = 0 ;
 
22023
  PyObject * obj0 = 0 ;
 
22024
  PyObject * obj1 = 0 ;
 
22025
  char *  kwnames[] = {
 
22026
    (char *) "self",(char *) "lexer", NULL 
 
22027
  };
 
22028
  
 
22029
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) SWIG_fail;
 
22030
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22031
  if (!SWIG_IsOK(res1)) {
 
22032
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22033
  }
 
22034
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22035
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22036
  if (!SWIG_IsOK(ecode2)) {
 
22037
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "2"" of type '" "int""'");
 
22038
  } 
 
22039
  arg2 = static_cast< int >(val2);
 
22040
  {
 
22041
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22042
    (arg1)->SetLexer(arg2);
 
22043
    wxPyEndAllowThreads(__tstate);
 
22044
    if (PyErr_Occurred()) SWIG_fail;
 
22045
  }
 
22046
  resultobj = SWIG_Py_Void();
 
22047
  return resultobj;
 
22048
fail:
 
22049
  return NULL;
 
22050
}
 
22051
 
 
22052
 
 
22053
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
22054
  PyObject *resultobj = 0;
 
22055
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22056
  int result;
 
22057
  void *argp1 = 0 ;
 
22058
  int res1 = 0 ;
 
22059
  PyObject *swig_obj[1] ;
 
22060
  
 
22061
  if (!args) SWIG_fail;
 
22062
  swig_obj[0] = args;
 
22063
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22064
  if (!SWIG_IsOK(res1)) {
 
22065
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
22066
  }
 
22067
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22068
  {
 
22069
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22070
    result = (int)((wxStyledTextCtrl const *)arg1)->GetLexer();
 
22071
    wxPyEndAllowThreads(__tstate);
 
22072
    if (PyErr_Occurred()) SWIG_fail;
 
22073
  }
 
22074
  resultobj = SWIG_From_int(static_cast< int >(result));
 
22075
  return resultobj;
 
22076
fail:
 
22077
  return NULL;
 
22078
}
 
22079
 
 
22080
 
 
22081
SWIGINTERN PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22082
  PyObject *resultobj = 0;
 
22083
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22084
  int arg2 ;
 
22085
  int arg3 ;
 
22086
  void *argp1 = 0 ;
 
22087
  int res1 = 0 ;
 
22088
  int val2 ;
 
22089
  int ecode2 = 0 ;
 
22090
  int val3 ;
 
22091
  int ecode3 = 0 ;
 
22092
  PyObject * obj0 = 0 ;
 
22093
  PyObject * obj1 = 0 ;
 
22094
  PyObject * obj2 = 0 ;
 
22095
  char *  kwnames[] = {
 
22096
    (char *) "self",(char *) "start",(char *) "end", NULL 
 
22097
  };
 
22098
  
 
22099
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
22100
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22101
  if (!SWIG_IsOK(res1)) {
 
22102
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22103
  }
 
22104
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22105
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22106
  if (!SWIG_IsOK(ecode2)) {
 
22107
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "2"" of type '" "int""'");
 
22108
  } 
 
22109
  arg2 = static_cast< int >(val2);
 
22110
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
22111
  if (!SWIG_IsOK(ecode3)) {
 
22112
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "3"" of type '" "int""'");
 
22113
  } 
 
22114
  arg3 = static_cast< int >(val3);
 
22115
  {
 
22116
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22117
    (arg1)->Colourise(arg2,arg3);
 
22118
    wxPyEndAllowThreads(__tstate);
 
22119
    if (PyErr_Occurred()) SWIG_fail;
 
22120
  }
 
22121
  resultobj = SWIG_Py_Void();
 
22122
  return resultobj;
 
22123
fail:
 
22124
  return NULL;
 
22125
}
 
22126
 
 
22127
 
 
22128
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22129
  PyObject *resultobj = 0;
 
22130
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22131
  wxString *arg2 = 0 ;
 
22132
  wxString *arg3 = 0 ;
 
22133
  void *argp1 = 0 ;
 
22134
  int res1 = 0 ;
 
22135
  bool temp2 = false ;
 
22136
  bool temp3 = false ;
 
22137
  PyObject * obj0 = 0 ;
 
22138
  PyObject * obj1 = 0 ;
 
22139
  PyObject * obj2 = 0 ;
 
22140
  char *  kwnames[] = {
 
22141
    (char *) "self",(char *) "key",(char *) "value", NULL 
 
22142
  };
 
22143
  
 
22144
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
22145
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22146
  if (!SWIG_IsOK(res1)) {
 
22147
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22148
  }
 
22149
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22150
  {
 
22151
    arg2 = wxString_in_helper(obj1);
 
22152
    if (arg2 == NULL) SWIG_fail;
 
22153
    temp2 = true;
 
22154
  }
 
22155
  {
 
22156
    arg3 = wxString_in_helper(obj2);
 
22157
    if (arg3 == NULL) SWIG_fail;
 
22158
    temp3 = true;
 
22159
  }
 
22160
  {
 
22161
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22162
    (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
 
22163
    wxPyEndAllowThreads(__tstate);
 
22164
    if (PyErr_Occurred()) SWIG_fail;
 
22165
  }
 
22166
  resultobj = SWIG_Py_Void();
 
22167
  {
 
22168
    if (temp2)
 
22169
    delete arg2;
 
22170
  }
 
22171
  {
 
22172
    if (temp3)
 
22173
    delete arg3;
 
22174
  }
 
22175
  return resultobj;
 
22176
fail:
 
22177
  {
 
22178
    if (temp2)
 
22179
    delete arg2;
 
22180
  }
 
22181
  {
 
22182
    if (temp3)
 
22183
    delete arg3;
 
22184
  }
 
22185
  return NULL;
 
22186
}
 
22187
 
 
22188
 
 
22189
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22190
  PyObject *resultobj = 0;
 
22191
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22192
  int arg2 ;
 
22193
  wxString *arg3 = 0 ;
 
22194
  void *argp1 = 0 ;
 
22195
  int res1 = 0 ;
 
22196
  int val2 ;
 
22197
  int ecode2 = 0 ;
 
22198
  bool temp3 = false ;
 
22199
  PyObject * obj0 = 0 ;
 
22200
  PyObject * obj1 = 0 ;
 
22201
  PyObject * obj2 = 0 ;
 
22202
  char *  kwnames[] = {
 
22203
    (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL 
 
22204
  };
 
22205
  
 
22206
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
22207
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22208
  if (!SWIG_IsOK(res1)) {
 
22209
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22210
  }
 
22211
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22212
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22213
  if (!SWIG_IsOK(ecode2)) {
 
22214
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "2"" of type '" "int""'");
 
22215
  } 
 
22216
  arg2 = static_cast< int >(val2);
 
22217
  {
 
22218
    arg3 = wxString_in_helper(obj2);
 
22219
    if (arg3 == NULL) SWIG_fail;
 
22220
    temp3 = true;
 
22221
  }
 
22222
  {
 
22223
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22224
    (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
 
22225
    wxPyEndAllowThreads(__tstate);
 
22226
    if (PyErr_Occurred()) SWIG_fail;
 
22227
  }
 
22228
  resultobj = SWIG_Py_Void();
 
22229
  {
 
22230
    if (temp3)
 
22231
    delete arg3;
 
22232
  }
 
22233
  return resultobj;
 
22234
fail:
 
22235
  {
 
22236
    if (temp3)
 
22237
    delete arg3;
 
22238
  }
 
22239
  return NULL;
 
22240
}
 
22241
 
 
22242
 
 
22243
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22244
  PyObject *resultobj = 0;
 
22245
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22246
  wxString *arg2 = 0 ;
 
22247
  void *argp1 = 0 ;
 
22248
  int res1 = 0 ;
 
22249
  bool temp2 = false ;
 
22250
  PyObject * obj0 = 0 ;
 
22251
  PyObject * obj1 = 0 ;
 
22252
  char *  kwnames[] = {
 
22253
    (char *) "self",(char *) "language", NULL 
 
22254
  };
 
22255
  
 
22256
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) SWIG_fail;
 
22257
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22258
  if (!SWIG_IsOK(res1)) {
 
22259
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexerLanguage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22260
  }
 
22261
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22262
  {
 
22263
    arg2 = wxString_in_helper(obj1);
 
22264
    if (arg2 == NULL) SWIG_fail;
 
22265
    temp2 = true;
 
22266
  }
 
22267
  {
 
22268
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22269
    (arg1)->SetLexerLanguage((wxString const &)*arg2);
 
22270
    wxPyEndAllowThreads(__tstate);
 
22271
    if (PyErr_Occurred()) SWIG_fail;
 
22272
  }
 
22273
  resultobj = SWIG_Py_Void();
 
22274
  {
 
22275
    if (temp2)
 
22276
    delete arg2;
 
22277
  }
 
22278
  return resultobj;
 
22279
fail:
 
22280
  {
 
22281
    if (temp2)
 
22282
    delete arg2;
 
22283
  }
 
22284
  return NULL;
 
22285
}
 
22286
 
 
22287
 
 
22288
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22289
  PyObject *resultobj = 0;
 
22290
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22291
  wxString *arg2 = 0 ;
 
22292
  wxString result;
 
22293
  void *argp1 = 0 ;
 
22294
  int res1 = 0 ;
 
22295
  bool temp2 = false ;
 
22296
  PyObject * obj0 = 0 ;
 
22297
  PyObject * obj1 = 0 ;
 
22298
  char *  kwnames[] = {
 
22299
    (char *) "self",(char *) "key", NULL 
 
22300
  };
 
22301
  
 
22302
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetProperty",kwnames,&obj0,&obj1)) SWIG_fail;
 
22303
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22304
  if (!SWIG_IsOK(res1)) {
 
22305
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22306
  }
 
22307
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22308
  {
 
22309
    arg2 = wxString_in_helper(obj1);
 
22310
    if (arg2 == NULL) SWIG_fail;
 
22311
    temp2 = true;
 
22312
  }
 
22313
  {
 
22314
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22315
    result = (arg1)->GetProperty((wxString const &)*arg2);
 
22316
    wxPyEndAllowThreads(__tstate);
 
22317
    if (PyErr_Occurred()) SWIG_fail;
 
22318
  }
 
22319
  {
 
22320
#if wxUSE_UNICODE
 
22321
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
22322
#else
 
22323
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
22324
#endif
 
22325
  }
 
22326
  {
 
22327
    if (temp2)
 
22328
    delete arg2;
 
22329
  }
 
22330
  return resultobj;
 
22331
fail:
 
22332
  {
 
22333
    if (temp2)
 
22334
    delete arg2;
 
22335
  }
 
22336
  return NULL;
 
22337
}
 
22338
 
 
22339
 
 
22340
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22341
  PyObject *resultobj = 0;
 
22342
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22343
  wxString *arg2 = 0 ;
 
22344
  wxString result;
 
22345
  void *argp1 = 0 ;
 
22346
  int res1 = 0 ;
 
22347
  bool temp2 = false ;
 
22348
  PyObject * obj0 = 0 ;
 
22349
  PyObject * obj1 = 0 ;
 
22350
  char *  kwnames[] = {
 
22351
    (char *) "self",(char *) "key", NULL 
 
22352
  };
 
22353
  
 
22354
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
 
22355
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22356
  if (!SWIG_IsOK(res1)) {
 
22357
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22358
  }
 
22359
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22360
  {
 
22361
    arg2 = wxString_in_helper(obj1);
 
22362
    if (arg2 == NULL) SWIG_fail;
 
22363
    temp2 = true;
 
22364
  }
 
22365
  {
 
22366
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22367
    result = (arg1)->GetPropertyExpanded((wxString const &)*arg2);
 
22368
    wxPyEndAllowThreads(__tstate);
 
22369
    if (PyErr_Occurred()) SWIG_fail;
 
22370
  }
 
22371
  {
 
22372
#if wxUSE_UNICODE
 
22373
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
22374
#else
 
22375
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
22376
#endif
 
22377
  }
 
22378
  {
 
22379
    if (temp2)
 
22380
    delete arg2;
 
22381
  }
 
22382
  return resultobj;
 
22383
fail:
 
22384
  {
 
22385
    if (temp2)
 
22386
    delete arg2;
 
22387
  }
 
22388
  return NULL;
 
22389
}
 
22390
 
 
22391
 
 
22392
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22393
  PyObject *resultobj = 0;
 
22394
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22395
  wxString *arg2 = 0 ;
 
22396
  int result;
 
22397
  void *argp1 = 0 ;
 
22398
  int res1 = 0 ;
 
22399
  bool temp2 = false ;
 
22400
  PyObject * obj0 = 0 ;
 
22401
  PyObject * obj1 = 0 ;
 
22402
  char *  kwnames[] = {
 
22403
    (char *) "self",(char *) "key", NULL 
 
22404
  };
 
22405
  
 
22406
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyInt",kwnames,&obj0,&obj1)) SWIG_fail;
 
22407
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22408
  if (!SWIG_IsOK(res1)) {
 
22409
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyInt" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
22410
  }
 
22411
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22412
  {
 
22413
    arg2 = wxString_in_helper(obj1);
 
22414
    if (arg2 == NULL) SWIG_fail;
 
22415
    temp2 = true;
 
22416
  }
 
22417
  {
 
22418
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22419
    result = (int)((wxStyledTextCtrl const *)arg1)->GetPropertyInt((wxString const &)*arg2);
 
22420
    wxPyEndAllowThreads(__tstate);
 
22421
    if (PyErr_Occurred()) SWIG_fail;
 
22422
  }
 
22423
  resultobj = SWIG_From_int(static_cast< int >(result));
 
22424
  {
 
22425
    if (temp2)
 
22426
    delete arg2;
 
22427
  }
 
22428
  return resultobj;
 
22429
fail:
 
22430
  {
 
22431
    if (temp2)
 
22432
    delete arg2;
 
22433
  }
 
22434
  return NULL;
 
22435
}
 
22436
 
 
22437
 
 
22438
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBitsNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
22439
  PyObject *resultobj = 0;
 
22440
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22441
  int result;
 
22442
  void *argp1 = 0 ;
 
22443
  int res1 = 0 ;
 
22444
  PyObject *swig_obj[1] ;
 
22445
  
 
22446
  if (!args) SWIG_fail;
 
22447
  swig_obj[0] = args;
 
22448
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22449
  if (!SWIG_IsOK(res1)) {
 
22450
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBitsNeeded" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
22451
  }
 
22452
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22453
  {
 
22454
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22455
    result = (int)((wxStyledTextCtrl const *)arg1)->GetStyleBitsNeeded();
 
22456
    wxPyEndAllowThreads(__tstate);
 
22457
    if (PyErr_Occurred()) SWIG_fail;
 
22458
  }
 
22459
  resultobj = SWIG_From_int(static_cast< int >(result));
 
22460
  return resultobj;
 
22461
fail:
 
22462
  return NULL;
 
22463
}
 
22464
 
 
22465
 
 
22466
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
22467
  PyObject *resultobj = 0;
 
22468
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22469
  int result;
 
22470
  void *argp1 = 0 ;
 
22471
  int res1 = 0 ;
 
22472
  PyObject *swig_obj[1] ;
 
22473
  
 
22474
  if (!args) SWIG_fail;
 
22475
  swig_obj[0] = args;
 
22476
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22477
  if (!SWIG_IsOK(res1)) {
 
22478
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22479
  }
 
22480
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22481
  {
 
22482
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22483
    result = (int)(arg1)->GetCurrentLine();
 
22484
    wxPyEndAllowThreads(__tstate);
 
22485
    if (PyErr_Occurred()) SWIG_fail;
 
22486
  }
 
22487
  resultobj = SWIG_From_int(static_cast< int >(result));
 
22488
  return resultobj;
 
22489
fail:
 
22490
  return NULL;
 
22491
}
 
22492
 
 
22493
 
 
22494
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22495
  PyObject *resultobj = 0;
 
22496
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22497
  int arg2 ;
 
22498
  wxString *arg3 = 0 ;
 
22499
  void *argp1 = 0 ;
 
22500
  int res1 = 0 ;
 
22501
  int val2 ;
 
22502
  int ecode2 = 0 ;
 
22503
  bool temp3 = false ;
 
22504
  PyObject * obj0 = 0 ;
 
22505
  PyObject * obj1 = 0 ;
 
22506
  PyObject * obj2 = 0 ;
 
22507
  char *  kwnames[] = {
 
22508
    (char *) "self",(char *) "styleNum",(char *) "spec", NULL 
 
22509
  };
 
22510
  
 
22511
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
22512
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22513
  if (!SWIG_IsOK(res1)) {
 
22514
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22515
  }
 
22516
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22517
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22518
  if (!SWIG_IsOK(ecode2)) {
 
22519
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "2"" of type '" "int""'");
 
22520
  } 
 
22521
  arg2 = static_cast< int >(val2);
 
22522
  {
 
22523
    arg3 = wxString_in_helper(obj2);
 
22524
    if (arg3 == NULL) SWIG_fail;
 
22525
    temp3 = true;
 
22526
  }
 
22527
  {
 
22528
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22529
    (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
 
22530
    wxPyEndAllowThreads(__tstate);
 
22531
    if (PyErr_Occurred()) SWIG_fail;
 
22532
  }
 
22533
  resultobj = SWIG_Py_Void();
 
22534
  {
 
22535
    if (temp3)
 
22536
    delete arg3;
 
22537
  }
 
22538
  return resultobj;
 
22539
fail:
 
22540
  {
 
22541
    if (temp3)
 
22542
    delete arg3;
 
22543
  }
 
22544
  return NULL;
 
22545
}
 
22546
 
 
22547
 
 
22548
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleGetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22549
  PyObject *resultobj = 0;
 
22550
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22551
  int arg2 ;
 
22552
  wxFont result;
 
22553
  void *argp1 = 0 ;
 
22554
  int res1 = 0 ;
 
22555
  int val2 ;
 
22556
  int ecode2 = 0 ;
 
22557
  PyObject * obj0 = 0 ;
 
22558
  PyObject * obj1 = 0 ;
 
22559
  char *  kwnames[] = {
 
22560
    (char *) "self",(char *) "style", NULL 
 
22561
  };
 
22562
  
 
22563
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_StyleGetFont",kwnames,&obj0,&obj1)) SWIG_fail;
 
22564
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22565
  if (!SWIG_IsOK(res1)) {
 
22566
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleGetFont" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22567
  }
 
22568
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22569
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22570
  if (!SWIG_IsOK(ecode2)) {
 
22571
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleGetFont" "', expected argument " "2"" of type '" "int""'");
 
22572
  } 
 
22573
  arg2 = static_cast< int >(val2);
 
22574
  {
 
22575
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22576
    result = (arg1)->StyleGetFont(arg2);
 
22577
    wxPyEndAllowThreads(__tstate);
 
22578
    if (PyErr_Occurred()) SWIG_fail;
 
22579
  }
 
22580
  resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN |  0 );
 
22581
  return resultobj;
 
22582
fail:
 
22583
  return NULL;
 
22584
}
 
22585
 
 
22586
 
 
22587
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22588
  PyObject *resultobj = 0;
 
22589
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22590
  int arg2 ;
 
22591
  wxFont *arg3 = 0 ;
 
22592
  void *argp1 = 0 ;
 
22593
  int res1 = 0 ;
 
22594
  int val2 ;
 
22595
  int ecode2 = 0 ;
 
22596
  void *argp3 = 0 ;
 
22597
  int res3 = 0 ;
 
22598
  PyObject * obj0 = 0 ;
 
22599
  PyObject * obj1 = 0 ;
 
22600
  PyObject * obj2 = 0 ;
 
22601
  char *  kwnames[] = {
 
22602
    (char *) "self",(char *) "styleNum",(char *) "font", NULL 
 
22603
  };
 
22604
  
 
22605
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
22606
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22607
  if (!SWIG_IsOK(res1)) {
 
22608
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22609
  }
 
22610
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22611
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22612
  if (!SWIG_IsOK(ecode2)) {
 
22613
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "2"" of type '" "int""'");
 
22614
  } 
 
22615
  arg2 = static_cast< int >(val2);
 
22616
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont,  0 );
 
22617
  if (!SWIG_IsOK(res3)) {
 
22618
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'"); 
 
22619
  }
 
22620
  if (!argp3) {
 
22621
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'"); 
 
22622
  }
 
22623
  arg3 = reinterpret_cast< wxFont * >(argp3);
 
22624
  {
 
22625
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22626
    (arg1)->StyleSetFont(arg2,*arg3);
 
22627
    wxPyEndAllowThreads(__tstate);
 
22628
    if (PyErr_Occurred()) SWIG_fail;
 
22629
  }
 
22630
  resultobj = SWIG_Py_Void();
 
22631
  return resultobj;
 
22632
fail:
 
22633
  return NULL;
 
22634
}
 
22635
 
 
22636
 
 
22637
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22638
  PyObject *resultobj = 0;
 
22639
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22640
  int arg2 ;
 
22641
  int arg3 ;
 
22642
  wxString *arg4 = 0 ;
 
22643
  bool arg5 ;
 
22644
  bool arg6 ;
 
22645
  bool arg7 ;
 
22646
  wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
 
22647
  void *argp1 = 0 ;
 
22648
  int res1 = 0 ;
 
22649
  int val2 ;
 
22650
  int ecode2 = 0 ;
 
22651
  int val3 ;
 
22652
  int ecode3 = 0 ;
 
22653
  bool temp4 = false ;
 
22654
  bool val5 ;
 
22655
  int ecode5 = 0 ;
 
22656
  bool val6 ;
 
22657
  int ecode6 = 0 ;
 
22658
  bool val7 ;
 
22659
  int ecode7 = 0 ;
 
22660
  int val8 ;
 
22661
  int ecode8 = 0 ;
 
22662
  PyObject * obj0 = 0 ;
 
22663
  PyObject * obj1 = 0 ;
 
22664
  PyObject * obj2 = 0 ;
 
22665
  PyObject * obj3 = 0 ;
 
22666
  PyObject * obj4 = 0 ;
 
22667
  PyObject * obj5 = 0 ;
 
22668
  PyObject * obj6 = 0 ;
 
22669
  PyObject * obj7 = 0 ;
 
22670
  char *  kwnames[] = {
 
22671
    (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL 
 
22672
  };
 
22673
  
 
22674
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
 
22675
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22676
  if (!SWIG_IsOK(res1)) {
 
22677
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22678
  }
 
22679
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22680
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22681
  if (!SWIG_IsOK(ecode2)) {
 
22682
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "2"" of type '" "int""'");
 
22683
  } 
 
22684
  arg2 = static_cast< int >(val2);
 
22685
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
22686
  if (!SWIG_IsOK(ecode3)) {
 
22687
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "3"" of type '" "int""'");
 
22688
  } 
 
22689
  arg3 = static_cast< int >(val3);
 
22690
  {
 
22691
    arg4 = wxString_in_helper(obj3);
 
22692
    if (arg4 == NULL) SWIG_fail;
 
22693
    temp4 = true;
 
22694
  }
 
22695
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
 
22696
  if (!SWIG_IsOK(ecode5)) {
 
22697
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "5"" of type '" "bool""'");
 
22698
  } 
 
22699
  arg5 = static_cast< bool >(val5);
 
22700
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
 
22701
  if (!SWIG_IsOK(ecode6)) {
 
22702
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "6"" of type '" "bool""'");
 
22703
  } 
 
22704
  arg6 = static_cast< bool >(val6);
 
22705
  ecode7 = SWIG_AsVal_bool(obj6, &val7);
 
22706
  if (!SWIG_IsOK(ecode7)) {
 
22707
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "7"" of type '" "bool""'");
 
22708
  } 
 
22709
  arg7 = static_cast< bool >(val7);
 
22710
  if (obj7) {
 
22711
    ecode8 = SWIG_AsVal_int(obj7, &val8);
 
22712
    if (!SWIG_IsOK(ecode8)) {
 
22713
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "8"" of type '" "wxFontEncoding""'");
 
22714
    } 
 
22715
    arg8 = static_cast< wxFontEncoding >(val8);
 
22716
  }
 
22717
  {
 
22718
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22719
    (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8);
 
22720
    wxPyEndAllowThreads(__tstate);
 
22721
    if (PyErr_Occurred()) SWIG_fail;
 
22722
  }
 
22723
  resultobj = SWIG_Py_Void();
 
22724
  {
 
22725
    if (temp4)
 
22726
    delete arg4;
 
22727
  }
 
22728
  return resultobj;
 
22729
fail:
 
22730
  {
 
22731
    if (temp4)
 
22732
    delete arg4;
 
22733
  }
 
22734
  return NULL;
 
22735
}
 
22736
 
 
22737
 
 
22738
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22739
  PyObject *resultobj = 0;
 
22740
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22741
  int arg2 ;
 
22742
  int arg3 ;
 
22743
  void *argp1 = 0 ;
 
22744
  int res1 = 0 ;
 
22745
  int val2 ;
 
22746
  int ecode2 = 0 ;
 
22747
  int val3 ;
 
22748
  int ecode3 = 0 ;
 
22749
  PyObject * obj0 = 0 ;
 
22750
  PyObject * obj1 = 0 ;
 
22751
  PyObject * obj2 = 0 ;
 
22752
  char *  kwnames[] = {
 
22753
    (char *) "self",(char *) "style",(char *) "characterSet", NULL 
 
22754
  };
 
22755
  
 
22756
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
22757
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22758
  if (!SWIG_IsOK(res1)) {
 
22759
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22760
  }
 
22761
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22762
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22763
  if (!SWIG_IsOK(ecode2)) {
 
22764
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "2"" of type '" "int""'");
 
22765
  } 
 
22766
  arg2 = static_cast< int >(val2);
 
22767
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
22768
  if (!SWIG_IsOK(ecode3)) {
 
22769
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "3"" of type '" "int""'");
 
22770
  } 
 
22771
  arg3 = static_cast< int >(val3);
 
22772
  {
 
22773
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22774
    (arg1)->StyleSetCharacterSet(arg2,arg3);
 
22775
    wxPyEndAllowThreads(__tstate);
 
22776
    if (PyErr_Occurred()) SWIG_fail;
 
22777
  }
 
22778
  resultobj = SWIG_Py_Void();
 
22779
  return resultobj;
 
22780
fail:
 
22781
  return NULL;
 
22782
}
 
22783
 
 
22784
 
 
22785
SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22786
  PyObject *resultobj = 0;
 
22787
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22788
  int arg2 ;
 
22789
  wxFontEncoding arg3 ;
 
22790
  void *argp1 = 0 ;
 
22791
  int res1 = 0 ;
 
22792
  int val2 ;
 
22793
  int ecode2 = 0 ;
 
22794
  int val3 ;
 
22795
  int ecode3 = 0 ;
 
22796
  PyObject * obj0 = 0 ;
 
22797
  PyObject * obj1 = 0 ;
 
22798
  PyObject * obj2 = 0 ;
 
22799
  char *  kwnames[] = {
 
22800
    (char *) "self",(char *) "style",(char *) "encoding", NULL 
 
22801
  };
 
22802
  
 
22803
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
22804
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22805
  if (!SWIG_IsOK(res1)) {
 
22806
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22807
  }
 
22808
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22809
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22810
  if (!SWIG_IsOK(ecode2)) {
 
22811
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "2"" of type '" "int""'");
 
22812
  } 
 
22813
  arg2 = static_cast< int >(val2);
 
22814
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
22815
  if (!SWIG_IsOK(ecode3)) {
 
22816
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "3"" of type '" "wxFontEncoding""'");
 
22817
  } 
 
22818
  arg3 = static_cast< wxFontEncoding >(val3);
 
22819
  {
 
22820
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22821
    (arg1)->StyleSetFontEncoding(arg2,arg3);
 
22822
    wxPyEndAllowThreads(__tstate);
 
22823
    if (PyErr_Occurred()) SWIG_fail;
 
22824
  }
 
22825
  resultobj = SWIG_Py_Void();
 
22826
  return resultobj;
 
22827
fail:
 
22828
  return NULL;
 
22829
}
 
22830
 
 
22831
 
 
22832
SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22833
  PyObject *resultobj = 0;
 
22834
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22835
  int arg2 ;
 
22836
  void *argp1 = 0 ;
 
22837
  int res1 = 0 ;
 
22838
  int val2 ;
 
22839
  int ecode2 = 0 ;
 
22840
  PyObject * obj0 = 0 ;
 
22841
  PyObject * obj1 = 0 ;
 
22842
  char *  kwnames[] = {
 
22843
    (char *) "self",(char *) "cmd", NULL 
 
22844
  };
 
22845
  
 
22846
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) SWIG_fail;
 
22847
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22848
  if (!SWIG_IsOK(res1)) {
 
22849
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22850
  }
 
22851
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22852
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22853
  if (!SWIG_IsOK(ecode2)) {
 
22854
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "2"" of type '" "int""'");
 
22855
  } 
 
22856
  arg2 = static_cast< int >(val2);
 
22857
  {
 
22858
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22859
    (arg1)->CmdKeyExecute(arg2);
 
22860
    wxPyEndAllowThreads(__tstate);
 
22861
    if (PyErr_Occurred()) SWIG_fail;
 
22862
  }
 
22863
  resultobj = SWIG_Py_Void();
 
22864
  return resultobj;
 
22865
fail:
 
22866
  return NULL;
 
22867
}
 
22868
 
 
22869
 
 
22870
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22871
  PyObject *resultobj = 0;
 
22872
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22873
  int arg2 ;
 
22874
  int arg3 ;
 
22875
  void *argp1 = 0 ;
 
22876
  int res1 = 0 ;
 
22877
  int val2 ;
 
22878
  int ecode2 = 0 ;
 
22879
  int val3 ;
 
22880
  int ecode3 = 0 ;
 
22881
  PyObject * obj0 = 0 ;
 
22882
  PyObject * obj1 = 0 ;
 
22883
  PyObject * obj2 = 0 ;
 
22884
  char *  kwnames[] = {
 
22885
    (char *) "self",(char *) "left",(char *) "right", NULL 
 
22886
  };
 
22887
  
 
22888
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
22889
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22890
  if (!SWIG_IsOK(res1)) {
 
22891
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22892
  }
 
22893
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22894
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22895
  if (!SWIG_IsOK(ecode2)) {
 
22896
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "2"" of type '" "int""'");
 
22897
  } 
 
22898
  arg2 = static_cast< int >(val2);
 
22899
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
22900
  if (!SWIG_IsOK(ecode3)) {
 
22901
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "3"" of type '" "int""'");
 
22902
  } 
 
22903
  arg3 = static_cast< int >(val3);
 
22904
  {
 
22905
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22906
    (arg1)->SetMargins(arg2,arg3);
 
22907
    wxPyEndAllowThreads(__tstate);
 
22908
    if (PyErr_Occurred()) SWIG_fail;
 
22909
  }
 
22910
  resultobj = SWIG_Py_Void();
 
22911
  return resultobj;
 
22912
fail:
 
22913
  return NULL;
 
22914
}
 
22915
 
 
22916
 
 
22917
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22918
  PyObject *resultobj = 0;
 
22919
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22920
  int arg2 ;
 
22921
  wxPoint result;
 
22922
  void *argp1 = 0 ;
 
22923
  int res1 = 0 ;
 
22924
  int val2 ;
 
22925
  int ecode2 = 0 ;
 
22926
  PyObject * obj0 = 0 ;
 
22927
  PyObject * obj1 = 0 ;
 
22928
  char *  kwnames[] = {
 
22929
    (char *) "self",(char *) "pos", NULL 
 
22930
  };
 
22931
  
 
22932
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
22933
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22934
  if (!SWIG_IsOK(res1)) {
 
22935
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22936
  }
 
22937
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22938
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22939
  if (!SWIG_IsOK(ecode2)) {
 
22940
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "2"" of type '" "int""'");
 
22941
  } 
 
22942
  arg2 = static_cast< int >(val2);
 
22943
  {
 
22944
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22945
    result = (arg1)->PointFromPosition(arg2);
 
22946
    wxPyEndAllowThreads(__tstate);
 
22947
    if (PyErr_Occurred()) SWIG_fail;
 
22948
  }
 
22949
  resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN |  0 );
 
22950
  return resultobj;
 
22951
fail:
 
22952
  return NULL;
 
22953
}
 
22954
 
 
22955
 
 
22956
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22957
  PyObject *resultobj = 0;
 
22958
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22959
  int arg2 ;
 
22960
  void *argp1 = 0 ;
 
22961
  int res1 = 0 ;
 
22962
  int val2 ;
 
22963
  int ecode2 = 0 ;
 
22964
  PyObject * obj0 = 0 ;
 
22965
  PyObject * obj1 = 0 ;
 
22966
  char *  kwnames[] = {
 
22967
    (char *) "self",(char *) "line", NULL 
 
22968
  };
 
22969
  
 
22970
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
22971
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
22972
  if (!SWIG_IsOK(res1)) {
 
22973
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
22974
  }
 
22975
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
22976
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
22977
  if (!SWIG_IsOK(ecode2)) {
 
22978
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
 
22979
  } 
 
22980
  arg2 = static_cast< int >(val2);
 
22981
  {
 
22982
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22983
    (arg1)->ScrollToLine(arg2);
 
22984
    wxPyEndAllowThreads(__tstate);
 
22985
    if (PyErr_Occurred()) SWIG_fail;
 
22986
  }
 
22987
  resultobj = SWIG_Py_Void();
 
22988
  return resultobj;
 
22989
fail:
 
22990
  return NULL;
 
22991
}
 
22992
 
 
22993
 
 
22994
SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22995
  PyObject *resultobj = 0;
 
22996
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
22997
  int arg2 ;
 
22998
  void *argp1 = 0 ;
 
22999
  int res1 = 0 ;
 
23000
  int val2 ;
 
23001
  int ecode2 = 0 ;
 
23002
  PyObject * obj0 = 0 ;
 
23003
  PyObject * obj1 = 0 ;
 
23004
  char *  kwnames[] = {
 
23005
    (char *) "self",(char *) "column", NULL 
 
23006
  };
 
23007
  
 
23008
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
 
23009
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23010
  if (!SWIG_IsOK(res1)) {
 
23011
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23012
  }
 
23013
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23014
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
23015
  if (!SWIG_IsOK(ecode2)) {
 
23016
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "2"" of type '" "int""'");
 
23017
  } 
 
23018
  arg2 = static_cast< int >(val2);
 
23019
  {
 
23020
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23021
    (arg1)->ScrollToColumn(arg2);
 
23022
    wxPyEndAllowThreads(__tstate);
 
23023
    if (PyErr_Occurred()) SWIG_fail;
 
23024
  }
 
23025
  resultobj = SWIG_Py_Void();
 
23026
  return resultobj;
 
23027
fail:
 
23028
  return NULL;
 
23029
}
 
23030
 
 
23031
 
 
23032
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23033
  PyObject *resultobj = 0;
 
23034
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23035
  int arg2 ;
 
23036
  wxUIntPtr arg3 = (wxUIntPtr) 0 ;
 
23037
  wxIntPtr arg4 = (wxIntPtr) 0 ;
 
23038
  wxIntPtr result;
 
23039
  void *argp1 = 0 ;
 
23040
  int res1 = 0 ;
 
23041
  int val2 ;
 
23042
  int ecode2 = 0 ;
 
23043
  unsigned long val3 ;
 
23044
  int ecode3 = 0 ;
 
23045
  void *argp4 ;
 
23046
  int res4 = 0 ;
 
23047
  PyObject * obj0 = 0 ;
 
23048
  PyObject * obj1 = 0 ;
 
23049
  PyObject * obj2 = 0 ;
 
23050
  PyObject * obj3 = 0 ;
 
23051
  char *  kwnames[] = {
 
23052
    (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL 
 
23053
  };
 
23054
  
 
23055
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
23056
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23057
  if (!SWIG_IsOK(res1)) {
 
23058
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
23059
  }
 
23060
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23061
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
23062
  if (!SWIG_IsOK(ecode2)) {
 
23063
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "2"" of type '" "int""'");
 
23064
  } 
 
23065
  arg2 = static_cast< int >(val2);
 
23066
  if (obj2) {
 
23067
    ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
 
23068
    if (!SWIG_IsOK(ecode3)) {
 
23069
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "3"" of type '" "wxUIntPtr""'");
 
23070
    } 
 
23071
    arg3 = static_cast< wxUIntPtr >(val3);
 
23072
  }
 
23073
  if (obj3) {
 
23074
    {
 
23075
      res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxIntPtr,  0  | 0);
 
23076
      if (!SWIG_IsOK(res4)) {
 
23077
        SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "4"" of type '" "wxIntPtr""'"); 
 
23078
      }  
 
23079
      if (!argp4) {
 
23080
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "4"" of type '" "wxIntPtr""'");
 
23081
      } else {
 
23082
        wxIntPtr * temp = reinterpret_cast< wxIntPtr * >(argp4);
 
23083
        arg4 = *temp;
 
23084
        if (SWIG_IsNewObj(res4)) delete temp;
 
23085
      }
 
23086
    }
 
23087
  }
 
23088
  {
 
23089
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23090
    result = ((wxStyledTextCtrl const *)arg1)->SendMsg(arg2,arg3,arg4);
 
23091
    wxPyEndAllowThreads(__tstate);
 
23092
    if (PyErr_Occurred()) SWIG_fail;
 
23093
  }
 
23094
  resultobj = SWIG_NewPointerObj((new wxIntPtr(static_cast< const wxIntPtr& >(result))), SWIGTYPE_p_wxIntPtr, SWIG_POINTER_OWN |  0 );
 
23095
  return resultobj;
 
23096
fail:
 
23097
  return NULL;
 
23098
}
 
23099
 
 
23100
 
 
23101
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23102
  PyObject *resultobj = 0;
 
23103
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23104
  wxScrollBar *arg2 = (wxScrollBar *) 0 ;
 
23105
  void *argp1 = 0 ;
 
23106
  int res1 = 0 ;
 
23107
  void *argp2 = 0 ;
 
23108
  int res2 = 0 ;
 
23109
  PyObject * obj0 = 0 ;
 
23110
  PyObject * obj1 = 0 ;
 
23111
  char *  kwnames[] = {
 
23112
    (char *) "self",(char *) "bar", NULL 
 
23113
  };
 
23114
  
 
23115
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
 
23116
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23117
  if (!SWIG_IsOK(res1)) {
 
23118
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23119
  }
 
23120
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23121
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 |  0 );
 
23122
  if (!SWIG_IsOK(res2)) {
 
23123
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'"); 
 
23124
  }
 
23125
  arg2 = reinterpret_cast< wxScrollBar * >(argp2);
 
23126
  {
 
23127
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23128
    (arg1)->SetVScrollBar(arg2);
 
23129
    wxPyEndAllowThreads(__tstate);
 
23130
    if (PyErr_Occurred()) SWIG_fail;
 
23131
  }
 
23132
  resultobj = SWIG_Py_Void();
 
23133
  return resultobj;
 
23134
fail:
 
23135
  return NULL;
 
23136
}
 
23137
 
 
23138
 
 
23139
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23140
  PyObject *resultobj = 0;
 
23141
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23142
  wxScrollBar *arg2 = (wxScrollBar *) 0 ;
 
23143
  void *argp1 = 0 ;
 
23144
  int res1 = 0 ;
 
23145
  void *argp2 = 0 ;
 
23146
  int res2 = 0 ;
 
23147
  PyObject * obj0 = 0 ;
 
23148
  PyObject * obj1 = 0 ;
 
23149
  char *  kwnames[] = {
 
23150
    (char *) "self",(char *) "bar", NULL 
 
23151
  };
 
23152
  
 
23153
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
 
23154
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23155
  if (!SWIG_IsOK(res1)) {
 
23156
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23157
  }
 
23158
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23159
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 |  0 );
 
23160
  if (!SWIG_IsOK(res2)) {
 
23161
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'"); 
 
23162
  }
 
23163
  arg2 = reinterpret_cast< wxScrollBar * >(argp2);
 
23164
  {
 
23165
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23166
    (arg1)->SetHScrollBar(arg2);
 
23167
    wxPyEndAllowThreads(__tstate);
 
23168
    if (PyErr_Occurred()) SWIG_fail;
 
23169
  }
 
23170
  resultobj = SWIG_Py_Void();
 
23171
  return resultobj;
 
23172
fail:
 
23173
  return NULL;
 
23174
}
 
23175
 
 
23176
 
 
23177
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
23178
  PyObject *resultobj = 0;
 
23179
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23180
  bool result;
 
23181
  void *argp1 = 0 ;
 
23182
  int res1 = 0 ;
 
23183
  PyObject *swig_obj[1] ;
 
23184
  
 
23185
  if (!args) SWIG_fail;
 
23186
  swig_obj[0] = args;
 
23187
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23188
  if (!SWIG_IsOK(res1)) {
 
23189
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23190
  }
 
23191
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23192
  {
 
23193
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23194
    result = (bool)(arg1)->GetLastKeydownProcessed();
 
23195
    wxPyEndAllowThreads(__tstate);
 
23196
    if (PyErr_Occurred()) SWIG_fail;
 
23197
  }
 
23198
  {
 
23199
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
23200
  }
 
23201
  return resultobj;
 
23202
fail:
 
23203
  return NULL;
 
23204
}
 
23205
 
 
23206
 
 
23207
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23208
  PyObject *resultobj = 0;
 
23209
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23210
  bool arg2 ;
 
23211
  void *argp1 = 0 ;
 
23212
  int res1 = 0 ;
 
23213
  bool val2 ;
 
23214
  int ecode2 = 0 ;
 
23215
  PyObject * obj0 = 0 ;
 
23216
  PyObject * obj1 = 0 ;
 
23217
  char *  kwnames[] = {
 
23218
    (char *) "self",(char *) "val", NULL 
 
23219
  };
 
23220
  
 
23221
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) SWIG_fail;
 
23222
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23223
  if (!SWIG_IsOK(res1)) {
 
23224
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23225
  }
 
23226
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23227
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
23228
  if (!SWIG_IsOK(ecode2)) {
 
23229
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "2"" of type '" "bool""'");
 
23230
  } 
 
23231
  arg2 = static_cast< bool >(val2);
 
23232
  {
 
23233
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23234
    (arg1)->SetLastKeydownProcessed(arg2);
 
23235
    wxPyEndAllowThreads(__tstate);
 
23236
    if (PyErr_Occurred()) SWIG_fail;
 
23237
  }
 
23238
  resultobj = SWIG_Py_Void();
 
23239
  return resultobj;
 
23240
fail:
 
23241
  return NULL;
 
23242
}
 
23243
 
 
23244
 
 
23245
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23246
  PyObject *resultobj = 0;
 
23247
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23248
  int arg2 ;
 
23249
  int arg3 ;
 
23250
  wxDragResult arg4 ;
 
23251
  wxDragResult result;
 
23252
  void *argp1 = 0 ;
 
23253
  int res1 = 0 ;
 
23254
  int val2 ;
 
23255
  int ecode2 = 0 ;
 
23256
  int val3 ;
 
23257
  int ecode3 = 0 ;
 
23258
  int val4 ;
 
23259
  int ecode4 = 0 ;
 
23260
  PyObject * obj0 = 0 ;
 
23261
  PyObject * obj1 = 0 ;
 
23262
  PyObject * obj2 = 0 ;
 
23263
  PyObject * obj3 = 0 ;
 
23264
  char *  kwnames[] = {
 
23265
    (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
23266
  };
 
23267
  
 
23268
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
23269
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23270
  if (!SWIG_IsOK(res1)) {
 
23271
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23272
  }
 
23273
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23274
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
23275
  if (!SWIG_IsOK(ecode2)) {
 
23276
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "2"" of type '" "int""'");
 
23277
  } 
 
23278
  arg2 = static_cast< int >(val2);
 
23279
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
23280
  if (!SWIG_IsOK(ecode3)) {
 
23281
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "3"" of type '" "int""'");
 
23282
  } 
 
23283
  arg3 = static_cast< int >(val3);
 
23284
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
23285
  if (!SWIG_IsOK(ecode4)) {
 
23286
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
 
23287
  } 
 
23288
  arg4 = static_cast< wxDragResult >(val4);
 
23289
  {
 
23290
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23291
    result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4);
 
23292
    wxPyEndAllowThreads(__tstate);
 
23293
    if (PyErr_Occurred()) SWIG_fail;
 
23294
  }
 
23295
  resultobj = SWIG_From_int(static_cast< int >(result));
 
23296
  return resultobj;
 
23297
fail:
 
23298
  return NULL;
 
23299
}
 
23300
 
 
23301
 
 
23302
SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23303
  PyObject *resultobj = 0;
 
23304
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23305
  long arg2 ;
 
23306
  long arg3 ;
 
23307
  wxString *arg4 = 0 ;
 
23308
  bool result;
 
23309
  void *argp1 = 0 ;
 
23310
  int res1 = 0 ;
 
23311
  long val2 ;
 
23312
  int ecode2 = 0 ;
 
23313
  long val3 ;
 
23314
  int ecode3 = 0 ;
 
23315
  bool temp4 = false ;
 
23316
  PyObject * obj0 = 0 ;
 
23317
  PyObject * obj1 = 0 ;
 
23318
  PyObject * obj2 = 0 ;
 
23319
  PyObject * obj3 = 0 ;
 
23320
  char *  kwnames[] = {
 
23321
    (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL 
 
23322
  };
 
23323
  
 
23324
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
23325
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23326
  if (!SWIG_IsOK(res1)) {
 
23327
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23328
  }
 
23329
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23330
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
23331
  if (!SWIG_IsOK(ecode2)) {
 
23332
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "2"" of type '" "long""'");
 
23333
  } 
 
23334
  arg2 = static_cast< long >(val2);
 
23335
  ecode3 = SWIG_AsVal_long(obj2, &val3);
 
23336
  if (!SWIG_IsOK(ecode3)) {
 
23337
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "3"" of type '" "long""'");
 
23338
  } 
 
23339
  arg3 = static_cast< long >(val3);
 
23340
  {
 
23341
    arg4 = wxString_in_helper(obj3);
 
23342
    if (arg4 == NULL) SWIG_fail;
 
23343
    temp4 = true;
 
23344
  }
 
23345
  {
 
23346
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23347
    result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
 
23348
    wxPyEndAllowThreads(__tstate);
 
23349
    if (PyErr_Occurred()) SWIG_fail;
 
23350
  }
 
23351
  {
 
23352
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
23353
  }
 
23354
  {
 
23355
    if (temp4)
 
23356
    delete arg4;
 
23357
  }
 
23358
  return resultobj;
 
23359
fail:
 
23360
  {
 
23361
    if (temp4)
 
23362
    delete arg4;
 
23363
  }
 
23364
  return NULL;
 
23365
}
 
23366
 
 
23367
 
 
23368
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23369
  PyObject *resultobj = 0;
 
23370
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23371
  bool arg2 ;
 
23372
  void *argp1 = 0 ;
 
23373
  int res1 = 0 ;
 
23374
  bool val2 ;
 
23375
  int ecode2 = 0 ;
 
23376
  PyObject * obj0 = 0 ;
 
23377
  PyObject * obj1 = 0 ;
 
23378
  char *  kwnames[] = {
 
23379
    (char *) "self",(char *) "useAA", NULL 
 
23380
  };
 
23381
  
 
23382
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) SWIG_fail;
 
23383
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23384
  if (!SWIG_IsOK(res1)) {
 
23385
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23386
  }
 
23387
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23388
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
23389
  if (!SWIG_IsOK(ecode2)) {
 
23390
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
 
23391
  } 
 
23392
  arg2 = static_cast< bool >(val2);
 
23393
  {
 
23394
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23395
    (arg1)->SetUseAntiAliasing(arg2);
 
23396
    wxPyEndAllowThreads(__tstate);
 
23397
    if (PyErr_Occurred()) SWIG_fail;
 
23398
  }
 
23399
  resultobj = SWIG_Py_Void();
 
23400
  return resultobj;
 
23401
fail:
 
23402
  return NULL;
 
23403
}
 
23404
 
 
23405
 
 
23406
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
23407
  PyObject *resultobj = 0;
 
23408
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23409
  bool result;
 
23410
  void *argp1 = 0 ;
 
23411
  int res1 = 0 ;
 
23412
  PyObject *swig_obj[1] ;
 
23413
  
 
23414
  if (!args) SWIG_fail;
 
23415
  swig_obj[0] = args;
 
23416
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23417
  if (!SWIG_IsOK(res1)) {
 
23418
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23419
  }
 
23420
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23421
  {
 
23422
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23423
    result = (bool)(arg1)->GetUseAntiAliasing();
 
23424
    wxPyEndAllowThreads(__tstate);
 
23425
    if (PyErr_Occurred()) SWIG_fail;
 
23426
  }
 
23427
  {
 
23428
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
23429
  }
 
23430
  return resultobj;
 
23431
fail:
 
23432
  return NULL;
 
23433
}
 
23434
 
 
23435
 
 
23436
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23437
  PyObject *resultobj = 0;
 
23438
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23439
  char *arg2 = (char *) 0 ;
 
23440
  int arg3 = (int) -1 ;
 
23441
  void *argp1 = 0 ;
 
23442
  int res1 = 0 ;
 
23443
  int res2 ;
 
23444
  char *buf2 = 0 ;
 
23445
  int alloc2 = 0 ;
 
23446
  int val3 ;
 
23447
  int ecode3 = 0 ;
 
23448
  PyObject * obj0 = 0 ;
 
23449
  PyObject * obj1 = 0 ;
 
23450
  PyObject * obj2 = 0 ;
 
23451
  char *  kwnames[] = {
 
23452
    (char *) "self",(char *) "text",(char *) "length", NULL 
 
23453
  };
 
23454
  
 
23455
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
23456
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23457
  if (!SWIG_IsOK(res1)) {
 
23458
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23459
  }
 
23460
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23461
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
 
23462
  if (!SWIG_IsOK(res2)) {
 
23463
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "2"" of type '" "char const *""'");
 
23464
  }
 
23465
  arg2 = buf2;
 
23466
  if (obj2) {
 
23467
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
23468
    if (!SWIG_IsOK(ecode3)) {
 
23469
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "3"" of type '" "int""'");
 
23470
    } 
 
23471
    arg3 = static_cast< int >(val3);
 
23472
  }
 
23473
  {
 
23474
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23475
    (arg1)->AddTextRaw((char const *)arg2,arg3);
 
23476
    wxPyEndAllowThreads(__tstate);
 
23477
    if (PyErr_Occurred()) SWIG_fail;
 
23478
  }
 
23479
  resultobj = SWIG_Py_Void();
 
23480
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
 
23481
  return resultobj;
 
23482
fail:
 
23483
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
 
23484
  return NULL;
 
23485
}
 
23486
 
 
23487
 
 
23488
SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23489
  PyObject *resultobj = 0;
 
23490
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23491
  int arg2 ;
 
23492
  char *arg3 = (char *) 0 ;
 
23493
  void *argp1 = 0 ;
 
23494
  int res1 = 0 ;
 
23495
  int val2 ;
 
23496
  int ecode2 = 0 ;
 
23497
  int res3 ;
 
23498
  char *buf3 = 0 ;
 
23499
  int alloc3 = 0 ;
 
23500
  PyObject * obj0 = 0 ;
 
23501
  PyObject * obj1 = 0 ;
 
23502
  PyObject * obj2 = 0 ;
 
23503
  char *  kwnames[] = {
 
23504
    (char *) "self",(char *) "pos",(char *) "text", NULL 
 
23505
  };
 
23506
  
 
23507
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
23508
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23509
  if (!SWIG_IsOK(res1)) {
 
23510
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23511
  }
 
23512
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23513
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
23514
  if (!SWIG_IsOK(ecode2)) {
 
23515
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "2"" of type '" "int""'");
 
23516
  } 
 
23517
  arg2 = static_cast< int >(val2);
 
23518
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
 
23519
  if (!SWIG_IsOK(res3)) {
 
23520
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "3"" of type '" "char const *""'");
 
23521
  }
 
23522
  arg3 = buf3;
 
23523
  {
 
23524
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23525
    (arg1)->InsertTextRaw(arg2,(char const *)arg3);
 
23526
    wxPyEndAllowThreads(__tstate);
 
23527
    if (PyErr_Occurred()) SWIG_fail;
 
23528
  }
 
23529
  resultobj = SWIG_Py_Void();
 
23530
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
 
23531
  return resultobj;
 
23532
fail:
 
23533
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
 
23534
  return NULL;
 
23535
}
 
23536
 
 
23537
 
 
23538
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
23539
  PyObject *resultobj = 0;
 
23540
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23541
  int *arg2 = (int *) 0 ;
 
23542
  wxCharBuffer result;
 
23543
  void *argp1 = 0 ;
 
23544
  int res1 = 0 ;
 
23545
  int temp2 ;
 
23546
  int res2 = SWIG_TMPOBJ ;
 
23547
  PyObject *swig_obj[1] ;
 
23548
  
 
23549
  arg2 = &temp2;
 
23550
  if (!args) SWIG_fail;
 
23551
  swig_obj[0] = args;
 
23552
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23553
  if (!SWIG_IsOK(res1)) {
 
23554
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23555
  }
 
23556
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23557
  {
 
23558
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23559
    result = (arg1)->GetCurLineRaw(arg2);
 
23560
    wxPyEndAllowThreads(__tstate);
 
23561
    if (PyErr_Occurred()) SWIG_fail;
 
23562
  }
 
23563
  {
 
23564
    if ((&result)->data())
 
23565
    resultobj = PyString_FromString((char*)(&result)->data());
 
23566
    else
 
23567
    resultobj = PyString_FromString("");
 
23568
  }
 
23569
  if (SWIG_IsTmpObj(res2)) {
 
23570
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
 
23571
  } else {
 
23572
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
 
23573
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
 
23574
  }
 
23575
  return resultobj;
 
23576
fail:
 
23577
  return NULL;
 
23578
}
 
23579
 
 
23580
 
 
23581
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23582
  PyObject *resultobj = 0;
 
23583
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23584
  int arg2 ;
 
23585
  wxCharBuffer result;
 
23586
  void *argp1 = 0 ;
 
23587
  int res1 = 0 ;
 
23588
  int val2 ;
 
23589
  int ecode2 = 0 ;
 
23590
  PyObject * obj0 = 0 ;
 
23591
  PyObject * obj1 = 0 ;
 
23592
  char *  kwnames[] = {
 
23593
    (char *) "self",(char *) "line", NULL 
 
23594
  };
 
23595
  
 
23596
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) SWIG_fail;
 
23597
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23598
  if (!SWIG_IsOK(res1)) {
 
23599
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23600
  }
 
23601
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23602
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
23603
  if (!SWIG_IsOK(ecode2)) {
 
23604
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "2"" of type '" "int""'");
 
23605
  } 
 
23606
  arg2 = static_cast< int >(val2);
 
23607
  {
 
23608
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23609
    result = (arg1)->GetLineRaw(arg2);
 
23610
    wxPyEndAllowThreads(__tstate);
 
23611
    if (PyErr_Occurred()) SWIG_fail;
 
23612
  }
 
23613
  {
 
23614
    if ((&result)->data())
 
23615
    resultobj = PyString_FromString((char*)(&result)->data());
 
23616
    else
 
23617
    resultobj = PyString_FromString("");
 
23618
  }
 
23619
  return resultobj;
 
23620
fail:
 
23621
  return NULL;
 
23622
}
 
23623
 
 
23624
 
 
23625
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
23626
  PyObject *resultobj = 0;
 
23627
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23628
  wxCharBuffer result;
 
23629
  void *argp1 = 0 ;
 
23630
  int res1 = 0 ;
 
23631
  PyObject *swig_obj[1] ;
 
23632
  
 
23633
  if (!args) SWIG_fail;
 
23634
  swig_obj[0] = args;
 
23635
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23636
  if (!SWIG_IsOK(res1)) {
 
23637
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23638
  }
 
23639
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23640
  {
 
23641
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23642
    result = (arg1)->GetSelectedTextRaw();
 
23643
    wxPyEndAllowThreads(__tstate);
 
23644
    if (PyErr_Occurred()) SWIG_fail;
 
23645
  }
 
23646
  {
 
23647
    if ((&result)->data())
 
23648
    resultobj = PyString_FromString((char*)(&result)->data());
 
23649
    else
 
23650
    resultobj = PyString_FromString("");
 
23651
  }
 
23652
  return resultobj;
 
23653
fail:
 
23654
  return NULL;
 
23655
}
 
23656
 
 
23657
 
 
23658
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23659
  PyObject *resultobj = 0;
 
23660
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23661
  int arg2 ;
 
23662
  int arg3 ;
 
23663
  wxCharBuffer result;
 
23664
  void *argp1 = 0 ;
 
23665
  int res1 = 0 ;
 
23666
  int val2 ;
 
23667
  int ecode2 = 0 ;
 
23668
  int val3 ;
 
23669
  int ecode3 = 0 ;
 
23670
  PyObject * obj0 = 0 ;
 
23671
  PyObject * obj1 = 0 ;
 
23672
  PyObject * obj2 = 0 ;
 
23673
  char *  kwnames[] = {
 
23674
    (char *) "self",(char *) "startPos",(char *) "endPos", NULL 
 
23675
  };
 
23676
  
 
23677
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
23678
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23679
  if (!SWIG_IsOK(res1)) {
 
23680
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23681
  }
 
23682
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23683
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
23684
  if (!SWIG_IsOK(ecode2)) {
 
23685
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "2"" of type '" "int""'");
 
23686
  } 
 
23687
  arg2 = static_cast< int >(val2);
 
23688
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
23689
  if (!SWIG_IsOK(ecode3)) {
 
23690
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "3"" of type '" "int""'");
 
23691
  } 
 
23692
  arg3 = static_cast< int >(val3);
 
23693
  {
 
23694
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23695
    result = (arg1)->GetTextRangeRaw(arg2,arg3);
 
23696
    wxPyEndAllowThreads(__tstate);
 
23697
    if (PyErr_Occurred()) SWIG_fail;
 
23698
  }
 
23699
  {
 
23700
    if ((&result)->data())
 
23701
    resultobj = PyString_FromString((char*)(&result)->data());
 
23702
    else
 
23703
    resultobj = PyString_FromString("");
 
23704
  }
 
23705
  return resultobj;
 
23706
fail:
 
23707
  return NULL;
 
23708
}
 
23709
 
 
23710
 
 
23711
SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23712
  PyObject *resultobj = 0;
 
23713
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23714
  char *arg2 = (char *) 0 ;
 
23715
  void *argp1 = 0 ;
 
23716
  int res1 = 0 ;
 
23717
  int res2 ;
 
23718
  char *buf2 = 0 ;
 
23719
  int alloc2 = 0 ;
 
23720
  PyObject * obj0 = 0 ;
 
23721
  PyObject * obj1 = 0 ;
 
23722
  char *  kwnames[] = {
 
23723
    (char *) "self",(char *) "text", NULL 
 
23724
  };
 
23725
  
 
23726
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
 
23727
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23728
  if (!SWIG_IsOK(res1)) {
 
23729
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23730
  }
 
23731
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23732
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
 
23733
  if (!SWIG_IsOK(res2)) {
 
23734
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "2"" of type '" "char const *""'");
 
23735
  }
 
23736
  arg2 = buf2;
 
23737
  {
 
23738
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23739
    (arg1)->SetTextRaw((char const *)arg2);
 
23740
    wxPyEndAllowThreads(__tstate);
 
23741
    if (PyErr_Occurred()) SWIG_fail;
 
23742
  }
 
23743
  resultobj = SWIG_Py_Void();
 
23744
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
 
23745
  return resultobj;
 
23746
fail:
 
23747
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
 
23748
  return NULL;
 
23749
}
 
23750
 
 
23751
 
 
23752
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
23753
  PyObject *resultobj = 0;
 
23754
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23755
  wxCharBuffer result;
 
23756
  void *argp1 = 0 ;
 
23757
  int res1 = 0 ;
 
23758
  PyObject *swig_obj[1] ;
 
23759
  
 
23760
  if (!args) SWIG_fail;
 
23761
  swig_obj[0] = args;
 
23762
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23763
  if (!SWIG_IsOK(res1)) {
 
23764
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23765
  }
 
23766
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23767
  {
 
23768
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23769
    result = (arg1)->GetTextRaw();
 
23770
    wxPyEndAllowThreads(__tstate);
 
23771
    if (PyErr_Occurred()) SWIG_fail;
 
23772
  }
 
23773
  {
 
23774
    if ((&result)->data())
 
23775
    resultobj = PyString_FromString((char*)(&result)->data());
 
23776
    else
 
23777
    resultobj = PyString_FromString("");
 
23778
  }
 
23779
  return resultobj;
 
23780
fail:
 
23781
  return NULL;
 
23782
}
 
23783
 
 
23784
 
 
23785
SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23786
  PyObject *resultobj = 0;
 
23787
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23788
  char *arg2 = (char *) 0 ;
 
23789
  int arg3 = (int) -1 ;
 
23790
  void *argp1 = 0 ;
 
23791
  int res1 = 0 ;
 
23792
  int res2 ;
 
23793
  char *buf2 = 0 ;
 
23794
  int alloc2 = 0 ;
 
23795
  int val3 ;
 
23796
  int ecode3 = 0 ;
 
23797
  PyObject * obj0 = 0 ;
 
23798
  PyObject * obj1 = 0 ;
 
23799
  PyObject * obj2 = 0 ;
 
23800
  char *  kwnames[] = {
 
23801
    (char *) "self",(char *) "text",(char *) "length", NULL 
 
23802
  };
 
23803
  
 
23804
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
23805
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23806
  if (!SWIG_IsOK(res1)) {
 
23807
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'"); 
 
23808
  }
 
23809
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23810
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
 
23811
  if (!SWIG_IsOK(res2)) {
 
23812
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "2"" of type '" "char const *""'");
 
23813
  }
 
23814
  arg2 = buf2;
 
23815
  if (obj2) {
 
23816
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
23817
    if (!SWIG_IsOK(ecode3)) {
 
23818
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "3"" of type '" "int""'");
 
23819
    } 
 
23820
    arg3 = static_cast< int >(val3);
 
23821
  }
 
23822
  {
 
23823
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23824
    (arg1)->AppendTextRaw((char const *)arg2,arg3);
 
23825
    wxPyEndAllowThreads(__tstate);
 
23826
    if (PyErr_Occurred()) SWIG_fail;
 
23827
  }
 
23828
  resultobj = SWIG_Py_Void();
 
23829
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
 
23830
  return resultobj;
 
23831
fail:
 
23832
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
 
23833
  return NULL;
 
23834
}
 
23835
 
 
23836
 
 
23837
SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23838
  PyObject *resultobj = 0;
 
23839
  wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
 
23840
  long arg2 ;
 
23841
  long *arg3 = (long *) 0 ;
 
23842
  long *arg4 = (long *) 0 ;
 
23843
  bool result;
 
23844
  void *argp1 = 0 ;
 
23845
  int res1 = 0 ;
 
23846
  long val2 ;
 
23847
  int ecode2 = 0 ;
 
23848
  void *argp3 = 0 ;
 
23849
  int res3 = 0 ;
 
23850
  void *argp4 = 0 ;
 
23851
  int res4 = 0 ;
 
23852
  PyObject * obj0 = 0 ;
 
23853
  PyObject * obj1 = 0 ;
 
23854
  PyObject * obj2 = 0 ;
 
23855
  PyObject * obj3 = 0 ;
 
23856
  char *  kwnames[] = {
 
23857
    (char *) "self",(char *) "pos",(char *) "x",(char *) "y", NULL 
 
23858
  };
 
23859
  
 
23860
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_PositionToXY",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
23861
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 |  0 );
 
23862
  if (!SWIG_IsOK(res1)) {
 
23863
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxStyledTextCtrl const *""'"); 
 
23864
  }
 
23865
  arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
 
23866
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
23867
  if (!SWIG_IsOK(ecode2)) {
 
23868
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
 
23869
  } 
 
23870
  arg2 = static_cast< long >(val2);
 
23871
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long, 0 |  0 );
 
23872
  if (!SWIG_IsOK(res3)) {
 
23873
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_PositionToXY" "', expected argument " "3"" of type '" "long *""'"); 
 
23874
  }
 
23875
  arg3 = reinterpret_cast< long * >(argp3);
 
23876
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_long, 0 |  0 );
 
23877
  if (!SWIG_IsOK(res4)) {
 
23878
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StyledTextCtrl_PositionToXY" "', expected argument " "4"" of type '" "long *""'"); 
 
23879
  }
 
23880
  arg4 = reinterpret_cast< long * >(argp4);
 
23881
  {
 
23882
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23883
    result = (bool)((wxStyledTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
 
23884
    wxPyEndAllowThreads(__tstate);
 
23885
    if (PyErr_Occurred()) SWIG_fail;
 
23886
  }
 
23887
  {
 
23888
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
23889
  }
 
23890
  return resultobj;
 
23891
fail:
 
23892
  return NULL;
 
23893
}
 
23894
 
 
23895
 
 
23896
SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLibraryVersionInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
23897
  PyObject *resultobj = 0;
 
23898
  SwigValueWrapper<wxVersionInfo > result;
 
23899
  
 
23900
  if (!SWIG_Python_UnpackTuple(args,"StyledTextCtrl_GetLibraryVersionInfo",0,0,0)) SWIG_fail;
 
23901
  {
 
23902
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23903
    result = wxStyledTextCtrl::GetLibraryVersionInfo();
 
23904
    wxPyEndAllowThreads(__tstate);
 
23905
    if (PyErr_Occurred()) SWIG_fail;
 
23906
  }
 
23907
  resultobj = SWIG_NewPointerObj((new wxVersionInfo(static_cast< const wxVersionInfo& >(result))), SWIGTYPE_p_wxVersionInfo, SWIG_POINTER_OWN |  0 );
 
23908
  return resultobj;
 
23909
fail:
 
23910
  return NULL;
 
23911
}
 
23912
 
 
23913
 
 
23914
SWIGINTERN PyObject *StyledTextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
23915
  PyObject *obj;
 
23916
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
23917
  SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextCtrl, SWIG_NewClientData(obj));
 
23918
  return SWIG_Py_Void();
 
23919
}
 
23920
 
 
23921
SWIGINTERN PyObject *StyledTextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
23922
  return SWIG_Python_InitShadowInstance(args);
 
23923
}
 
23924
 
 
23925
SWIGINTERN PyObject *_wrap_new_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23926
  PyObject *resultobj = 0;
 
23927
  wxEventType arg1 = (wxEventType) 0 ;
 
23928
  int arg2 = (int) 0 ;
 
23929
  wxStyledTextEvent *result = 0 ;
 
23930
  int val1 ;
 
23931
  int ecode1 = 0 ;
 
23932
  int val2 ;
 
23933
  int ecode2 = 0 ;
 
23934
  PyObject * obj0 = 0 ;
 
23935
  PyObject * obj1 = 0 ;
 
23936
  char *  kwnames[] = {
 
23937
    (char *) "commandType",(char *) "id", NULL 
 
23938
  };
 
23939
  
 
23940
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) SWIG_fail;
 
23941
  if (obj0) {
 
23942
    ecode1 = SWIG_AsVal_int(obj0, &val1);
 
23943
    if (!SWIG_IsOK(ecode1)) {
 
23944
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_StyledTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
 
23945
    } 
 
23946
    arg1 = static_cast< wxEventType >(val1);
 
23947
  }
 
23948
  if (obj1) {
 
23949
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
23950
    if (!SWIG_IsOK(ecode2)) {
 
23951
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextEvent" "', expected argument " "2"" of type '" "int""'");
 
23952
    } 
 
23953
    arg2 = static_cast< int >(val2);
 
23954
  }
 
23955
  {
 
23956
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23957
    result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
 
23958
    wxPyEndAllowThreads(__tstate);
 
23959
    if (PyErr_Occurred()) SWIG_fail;
 
23960
  }
 
23961
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_NEW |  0 );
 
23962
  return resultobj;
 
23963
fail:
 
23964
  return NULL;
 
23965
}
 
23966
 
 
23967
 
 
23968
SWIGINTERN PyObject *_wrap_delete_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
23969
  PyObject *resultobj = 0;
 
23970
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
23971
  void *argp1 = 0 ;
 
23972
  int res1 = 0 ;
 
23973
  PyObject *swig_obj[1] ;
 
23974
  
 
23975
  if (!args) SWIG_fail;
 
23976
  swig_obj[0] = args;
 
23977
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_DISOWN |  0 );
 
23978
  if (!SWIG_IsOK(res1)) {
 
23979
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_StyledTextEvent" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
23980
  }
 
23981
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
23982
  {
 
23983
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23984
    delete arg1;
 
23985
    
 
23986
    wxPyEndAllowThreads(__tstate);
 
23987
    if (PyErr_Occurred()) SWIG_fail;
 
23988
  }
 
23989
  resultobj = SWIG_Py_Void();
 
23990
  return resultobj;
 
23991
fail:
 
23992
  return NULL;
 
23993
}
 
23994
 
 
23995
 
 
23996
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23997
  PyObject *resultobj = 0;
 
23998
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
23999
  int arg2 ;
 
24000
  void *argp1 = 0 ;
 
24001
  int res1 = 0 ;
 
24002
  int val2 ;
 
24003
  int ecode2 = 0 ;
 
24004
  PyObject * obj0 = 0 ;
 
24005
  PyObject * obj1 = 0 ;
 
24006
  char *  kwnames[] = {
 
24007
    (char *) "self",(char *) "pos", NULL 
 
24008
  };
 
24009
  
 
24010
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
24011
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24012
  if (!SWIG_IsOK(res1)) {
 
24013
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24014
  }
 
24015
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24016
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24017
  if (!SWIG_IsOK(ecode2)) {
 
24018
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
 
24019
  } 
 
24020
  arg2 = static_cast< int >(val2);
 
24021
  {
 
24022
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24023
    (arg1)->SetPosition(arg2);
 
24024
    wxPyEndAllowThreads(__tstate);
 
24025
    if (PyErr_Occurred()) SWIG_fail;
 
24026
  }
 
24027
  resultobj = SWIG_Py_Void();
 
24028
  return resultobj;
 
24029
fail:
 
24030
  return NULL;
 
24031
}
 
24032
 
 
24033
 
 
24034
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24035
  PyObject *resultobj = 0;
 
24036
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24037
  int arg2 ;
 
24038
  void *argp1 = 0 ;
 
24039
  int res1 = 0 ;
 
24040
  int val2 ;
 
24041
  int ecode2 = 0 ;
 
24042
  PyObject * obj0 = 0 ;
 
24043
  PyObject * obj1 = 0 ;
 
24044
  char *  kwnames[] = {
 
24045
    (char *) "self",(char *) "k", NULL 
 
24046
  };
 
24047
  
 
24048
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) SWIG_fail;
 
24049
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24050
  if (!SWIG_IsOK(res1)) {
 
24051
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24052
  }
 
24053
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24054
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24055
  if (!SWIG_IsOK(ecode2)) {
 
24056
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetKey" "', expected argument " "2"" of type '" "int""'");
 
24057
  } 
 
24058
  arg2 = static_cast< int >(val2);
 
24059
  {
 
24060
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24061
    (arg1)->SetKey(arg2);
 
24062
    wxPyEndAllowThreads(__tstate);
 
24063
    if (PyErr_Occurred()) SWIG_fail;
 
24064
  }
 
24065
  resultobj = SWIG_Py_Void();
 
24066
  return resultobj;
 
24067
fail:
 
24068
  return NULL;
 
24069
}
 
24070
 
 
24071
 
 
24072
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24073
  PyObject *resultobj = 0;
 
24074
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24075
  int arg2 ;
 
24076
  void *argp1 = 0 ;
 
24077
  int res1 = 0 ;
 
24078
  int val2 ;
 
24079
  int ecode2 = 0 ;
 
24080
  PyObject * obj0 = 0 ;
 
24081
  PyObject * obj1 = 0 ;
 
24082
  char *  kwnames[] = {
 
24083
    (char *) "self",(char *) "m", NULL 
 
24084
  };
 
24085
  
 
24086
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) SWIG_fail;
 
24087
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24088
  if (!SWIG_IsOK(res1)) {
 
24089
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24090
  }
 
24091
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24092
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24093
  if (!SWIG_IsOK(ecode2)) {
 
24094
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "2"" of type '" "int""'");
 
24095
  } 
 
24096
  arg2 = static_cast< int >(val2);
 
24097
  {
 
24098
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24099
    (arg1)->SetModifiers(arg2);
 
24100
    wxPyEndAllowThreads(__tstate);
 
24101
    if (PyErr_Occurred()) SWIG_fail;
 
24102
  }
 
24103
  resultobj = SWIG_Py_Void();
 
24104
  return resultobj;
 
24105
fail:
 
24106
  return NULL;
 
24107
}
 
24108
 
 
24109
 
 
24110
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24111
  PyObject *resultobj = 0;
 
24112
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24113
  int arg2 ;
 
24114
  void *argp1 = 0 ;
 
24115
  int res1 = 0 ;
 
24116
  int val2 ;
 
24117
  int ecode2 = 0 ;
 
24118
  PyObject * obj0 = 0 ;
 
24119
  PyObject * obj1 = 0 ;
 
24120
  char *  kwnames[] = {
 
24121
    (char *) "self",(char *) "t", NULL 
 
24122
  };
 
24123
  
 
24124
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) SWIG_fail;
 
24125
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24126
  if (!SWIG_IsOK(res1)) {
 
24127
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24128
  }
 
24129
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24130
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24131
  if (!SWIG_IsOK(ecode2)) {
 
24132
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "2"" of type '" "int""'");
 
24133
  } 
 
24134
  arg2 = static_cast< int >(val2);
 
24135
  {
 
24136
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24137
    (arg1)->SetModificationType(arg2);
 
24138
    wxPyEndAllowThreads(__tstate);
 
24139
    if (PyErr_Occurred()) SWIG_fail;
 
24140
  }
 
24141
  resultobj = SWIG_Py_Void();
 
24142
  return resultobj;
 
24143
fail:
 
24144
  return NULL;
 
24145
}
 
24146
 
 
24147
 
 
24148
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24149
  PyObject *resultobj = 0;
 
24150
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24151
  wxString *arg2 = 0 ;
 
24152
  void *argp1 = 0 ;
 
24153
  int res1 = 0 ;
 
24154
  bool temp2 = false ;
 
24155
  PyObject * obj0 = 0 ;
 
24156
  PyObject * obj1 = 0 ;
 
24157
  char *  kwnames[] = {
 
24158
    (char *) "self",(char *) "t", NULL 
 
24159
  };
 
24160
  
 
24161
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
 
24162
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24163
  if (!SWIG_IsOK(res1)) {
 
24164
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24165
  }
 
24166
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24167
  {
 
24168
    arg2 = wxString_in_helper(obj1);
 
24169
    if (arg2 == NULL) SWIG_fail;
 
24170
    temp2 = true;
 
24171
  }
 
24172
  {
 
24173
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24174
    (arg1)->SetText((wxString const &)*arg2);
 
24175
    wxPyEndAllowThreads(__tstate);
 
24176
    if (PyErr_Occurred()) SWIG_fail;
 
24177
  }
 
24178
  resultobj = SWIG_Py_Void();
 
24179
  {
 
24180
    if (temp2)
 
24181
    delete arg2;
 
24182
  }
 
24183
  return resultobj;
 
24184
fail:
 
24185
  {
 
24186
    if (temp2)
 
24187
    delete arg2;
 
24188
  }
 
24189
  return NULL;
 
24190
}
 
24191
 
 
24192
 
 
24193
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24194
  PyObject *resultobj = 0;
 
24195
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24196
  int arg2 ;
 
24197
  void *argp1 = 0 ;
 
24198
  int res1 = 0 ;
 
24199
  int val2 ;
 
24200
  int ecode2 = 0 ;
 
24201
  PyObject * obj0 = 0 ;
 
24202
  PyObject * obj1 = 0 ;
 
24203
  char *  kwnames[] = {
 
24204
    (char *) "self",(char *) "len", NULL 
 
24205
  };
 
24206
  
 
24207
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) SWIG_fail;
 
24208
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24209
  if (!SWIG_IsOK(res1)) {
 
24210
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24211
  }
 
24212
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24213
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24214
  if (!SWIG_IsOK(ecode2)) {
 
24215
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLength" "', expected argument " "2"" of type '" "int""'");
 
24216
  } 
 
24217
  arg2 = static_cast< int >(val2);
 
24218
  {
 
24219
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24220
    (arg1)->SetLength(arg2);
 
24221
    wxPyEndAllowThreads(__tstate);
 
24222
    if (PyErr_Occurred()) SWIG_fail;
 
24223
  }
 
24224
  resultobj = SWIG_Py_Void();
 
24225
  return resultobj;
 
24226
fail:
 
24227
  return NULL;
 
24228
}
 
24229
 
 
24230
 
 
24231
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24232
  PyObject *resultobj = 0;
 
24233
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24234
  int arg2 ;
 
24235
  void *argp1 = 0 ;
 
24236
  int res1 = 0 ;
 
24237
  int val2 ;
 
24238
  int ecode2 = 0 ;
 
24239
  PyObject * obj0 = 0 ;
 
24240
  PyObject * obj1 = 0 ;
 
24241
  char *  kwnames[] = {
 
24242
    (char *) "self",(char *) "num", NULL 
 
24243
  };
 
24244
  
 
24245
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) SWIG_fail;
 
24246
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24247
  if (!SWIG_IsOK(res1)) {
 
24248
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24249
  }
 
24250
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24251
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24252
  if (!SWIG_IsOK(ecode2)) {
 
24253
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "2"" of type '" "int""'");
 
24254
  } 
 
24255
  arg2 = static_cast< int >(val2);
 
24256
  {
 
24257
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24258
    (arg1)->SetLinesAdded(arg2);
 
24259
    wxPyEndAllowThreads(__tstate);
 
24260
    if (PyErr_Occurred()) SWIG_fail;
 
24261
  }
 
24262
  resultobj = SWIG_Py_Void();
 
24263
  return resultobj;
 
24264
fail:
 
24265
  return NULL;
 
24266
}
 
24267
 
 
24268
 
 
24269
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24270
  PyObject *resultobj = 0;
 
24271
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24272
  int arg2 ;
 
24273
  void *argp1 = 0 ;
 
24274
  int res1 = 0 ;
 
24275
  int val2 ;
 
24276
  int ecode2 = 0 ;
 
24277
  PyObject * obj0 = 0 ;
 
24278
  PyObject * obj1 = 0 ;
 
24279
  char *  kwnames[] = {
 
24280
    (char *) "self",(char *) "val", NULL 
 
24281
  };
 
24282
  
 
24283
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
24284
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24285
  if (!SWIG_IsOK(res1)) {
 
24286
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24287
  }
 
24288
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24289
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24290
  if (!SWIG_IsOK(ecode2)) {
 
24291
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLine" "', expected argument " "2"" of type '" "int""'");
 
24292
  } 
 
24293
  arg2 = static_cast< int >(val2);
 
24294
  {
 
24295
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24296
    (arg1)->SetLine(arg2);
 
24297
    wxPyEndAllowThreads(__tstate);
 
24298
    if (PyErr_Occurred()) SWIG_fail;
 
24299
  }
 
24300
  resultobj = SWIG_Py_Void();
 
24301
  return resultobj;
 
24302
fail:
 
24303
  return NULL;
 
24304
}
 
24305
 
 
24306
 
 
24307
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24308
  PyObject *resultobj = 0;
 
24309
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24310
  int arg2 ;
 
24311
  void *argp1 = 0 ;
 
24312
  int res1 = 0 ;
 
24313
  int val2 ;
 
24314
  int ecode2 = 0 ;
 
24315
  PyObject * obj0 = 0 ;
 
24316
  PyObject * obj1 = 0 ;
 
24317
  char *  kwnames[] = {
 
24318
    (char *) "self",(char *) "val", NULL 
 
24319
  };
 
24320
  
 
24321
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) SWIG_fail;
 
24322
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24323
  if (!SWIG_IsOK(res1)) {
 
24324
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24325
  }
 
24326
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24327
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24328
  if (!SWIG_IsOK(ecode2)) {
 
24329
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "2"" of type '" "int""'");
 
24330
  } 
 
24331
  arg2 = static_cast< int >(val2);
 
24332
  {
 
24333
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24334
    (arg1)->SetFoldLevelNow(arg2);
 
24335
    wxPyEndAllowThreads(__tstate);
 
24336
    if (PyErr_Occurred()) SWIG_fail;
 
24337
  }
 
24338
  resultobj = SWIG_Py_Void();
 
24339
  return resultobj;
 
24340
fail:
 
24341
  return NULL;
 
24342
}
 
24343
 
 
24344
 
 
24345
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24346
  PyObject *resultobj = 0;
 
24347
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24348
  int arg2 ;
 
24349
  void *argp1 = 0 ;
 
24350
  int res1 = 0 ;
 
24351
  int val2 ;
 
24352
  int ecode2 = 0 ;
 
24353
  PyObject * obj0 = 0 ;
 
24354
  PyObject * obj1 = 0 ;
 
24355
  char *  kwnames[] = {
 
24356
    (char *) "self",(char *) "val", NULL 
 
24357
  };
 
24358
  
 
24359
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) SWIG_fail;
 
24360
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24361
  if (!SWIG_IsOK(res1)) {
 
24362
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24363
  }
 
24364
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24365
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24366
  if (!SWIG_IsOK(ecode2)) {
 
24367
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "2"" of type '" "int""'");
 
24368
  } 
 
24369
  arg2 = static_cast< int >(val2);
 
24370
  {
 
24371
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24372
    (arg1)->SetFoldLevelPrev(arg2);
 
24373
    wxPyEndAllowThreads(__tstate);
 
24374
    if (PyErr_Occurred()) SWIG_fail;
 
24375
  }
 
24376
  resultobj = SWIG_Py_Void();
 
24377
  return resultobj;
 
24378
fail:
 
24379
  return NULL;
 
24380
}
 
24381
 
 
24382
 
 
24383
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24384
  PyObject *resultobj = 0;
 
24385
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24386
  int arg2 ;
 
24387
  void *argp1 = 0 ;
 
24388
  int res1 = 0 ;
 
24389
  int val2 ;
 
24390
  int ecode2 = 0 ;
 
24391
  PyObject * obj0 = 0 ;
 
24392
  PyObject * obj1 = 0 ;
 
24393
  char *  kwnames[] = {
 
24394
    (char *) "self",(char *) "val", NULL 
 
24395
  };
 
24396
  
 
24397
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) SWIG_fail;
 
24398
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24399
  if (!SWIG_IsOK(res1)) {
 
24400
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24401
  }
 
24402
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24403
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24404
  if (!SWIG_IsOK(ecode2)) {
 
24405
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "2"" of type '" "int""'");
 
24406
  } 
 
24407
  arg2 = static_cast< int >(val2);
 
24408
  {
 
24409
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24410
    (arg1)->SetMargin(arg2);
 
24411
    wxPyEndAllowThreads(__tstate);
 
24412
    if (PyErr_Occurred()) SWIG_fail;
 
24413
  }
 
24414
  resultobj = SWIG_Py_Void();
 
24415
  return resultobj;
 
24416
fail:
 
24417
  return NULL;
 
24418
}
 
24419
 
 
24420
 
 
24421
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24422
  PyObject *resultobj = 0;
 
24423
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24424
  int arg2 ;
 
24425
  void *argp1 = 0 ;
 
24426
  int res1 = 0 ;
 
24427
  int val2 ;
 
24428
  int ecode2 = 0 ;
 
24429
  PyObject * obj0 = 0 ;
 
24430
  PyObject * obj1 = 0 ;
 
24431
  char *  kwnames[] = {
 
24432
    (char *) "self",(char *) "val", NULL 
 
24433
  };
 
24434
  
 
24435
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
 
24436
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24437
  if (!SWIG_IsOK(res1)) {
 
24438
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24439
  }
 
24440
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24441
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24442
  if (!SWIG_IsOK(ecode2)) {
 
24443
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "2"" of type '" "int""'");
 
24444
  } 
 
24445
  arg2 = static_cast< int >(val2);
 
24446
  {
 
24447
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24448
    (arg1)->SetMessage(arg2);
 
24449
    wxPyEndAllowThreads(__tstate);
 
24450
    if (PyErr_Occurred()) SWIG_fail;
 
24451
  }
 
24452
  resultobj = SWIG_Py_Void();
 
24453
  return resultobj;
 
24454
fail:
 
24455
  return NULL;
 
24456
}
 
24457
 
 
24458
 
 
24459
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24460
  PyObject *resultobj = 0;
 
24461
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24462
  int arg2 ;
 
24463
  void *argp1 = 0 ;
 
24464
  int res1 = 0 ;
 
24465
  int val2 ;
 
24466
  int ecode2 = 0 ;
 
24467
  PyObject * obj0 = 0 ;
 
24468
  PyObject * obj1 = 0 ;
 
24469
  char *  kwnames[] = {
 
24470
    (char *) "self",(char *) "val", NULL 
 
24471
  };
 
24472
  
 
24473
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) SWIG_fail;
 
24474
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24475
  if (!SWIG_IsOK(res1)) {
 
24476
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24477
  }
 
24478
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24479
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24480
  if (!SWIG_IsOK(ecode2)) {
 
24481
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "2"" of type '" "int""'");
 
24482
  } 
 
24483
  arg2 = static_cast< int >(val2);
 
24484
  {
 
24485
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24486
    (arg1)->SetWParam(arg2);
 
24487
    wxPyEndAllowThreads(__tstate);
 
24488
    if (PyErr_Occurred()) SWIG_fail;
 
24489
  }
 
24490
  resultobj = SWIG_Py_Void();
 
24491
  return resultobj;
 
24492
fail:
 
24493
  return NULL;
 
24494
}
 
24495
 
 
24496
 
 
24497
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24498
  PyObject *resultobj = 0;
 
24499
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24500
  int arg2 ;
 
24501
  void *argp1 = 0 ;
 
24502
  int res1 = 0 ;
 
24503
  int val2 ;
 
24504
  int ecode2 = 0 ;
 
24505
  PyObject * obj0 = 0 ;
 
24506
  PyObject * obj1 = 0 ;
 
24507
  char *  kwnames[] = {
 
24508
    (char *) "self",(char *) "val", NULL 
 
24509
  };
 
24510
  
 
24511
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) SWIG_fail;
 
24512
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24513
  if (!SWIG_IsOK(res1)) {
 
24514
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24515
  }
 
24516
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24517
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24518
  if (!SWIG_IsOK(ecode2)) {
 
24519
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "2"" of type '" "int""'");
 
24520
  } 
 
24521
  arg2 = static_cast< int >(val2);
 
24522
  {
 
24523
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24524
    (arg1)->SetLParam(arg2);
 
24525
    wxPyEndAllowThreads(__tstate);
 
24526
    if (PyErr_Occurred()) SWIG_fail;
 
24527
  }
 
24528
  resultobj = SWIG_Py_Void();
 
24529
  return resultobj;
 
24530
fail:
 
24531
  return NULL;
 
24532
}
 
24533
 
 
24534
 
 
24535
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24536
  PyObject *resultobj = 0;
 
24537
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24538
  int arg2 ;
 
24539
  void *argp1 = 0 ;
 
24540
  int res1 = 0 ;
 
24541
  int val2 ;
 
24542
  int ecode2 = 0 ;
 
24543
  PyObject * obj0 = 0 ;
 
24544
  PyObject * obj1 = 0 ;
 
24545
  char *  kwnames[] = {
 
24546
    (char *) "self",(char *) "val", NULL 
 
24547
  };
 
24548
  
 
24549
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) SWIG_fail;
 
24550
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24551
  if (!SWIG_IsOK(res1)) {
 
24552
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24553
  }
 
24554
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24555
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24556
  if (!SWIG_IsOK(ecode2)) {
 
24557
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetListType" "', expected argument " "2"" of type '" "int""'");
 
24558
  } 
 
24559
  arg2 = static_cast< int >(val2);
 
24560
  {
 
24561
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24562
    (arg1)->SetListType(arg2);
 
24563
    wxPyEndAllowThreads(__tstate);
 
24564
    if (PyErr_Occurred()) SWIG_fail;
 
24565
  }
 
24566
  resultobj = SWIG_Py_Void();
 
24567
  return resultobj;
 
24568
fail:
 
24569
  return NULL;
 
24570
}
 
24571
 
 
24572
 
 
24573
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24574
  PyObject *resultobj = 0;
 
24575
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24576
  int arg2 ;
 
24577
  void *argp1 = 0 ;
 
24578
  int res1 = 0 ;
 
24579
  int val2 ;
 
24580
  int ecode2 = 0 ;
 
24581
  PyObject * obj0 = 0 ;
 
24582
  PyObject * obj1 = 0 ;
 
24583
  char *  kwnames[] = {
 
24584
    (char *) "self",(char *) "val", NULL 
 
24585
  };
 
24586
  
 
24587
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) SWIG_fail;
 
24588
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24589
  if (!SWIG_IsOK(res1)) {
 
24590
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetX" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24591
  }
 
24592
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24593
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24594
  if (!SWIG_IsOK(ecode2)) {
 
24595
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetX" "', expected argument " "2"" of type '" "int""'");
 
24596
  } 
 
24597
  arg2 = static_cast< int >(val2);
 
24598
  {
 
24599
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24600
    (arg1)->SetX(arg2);
 
24601
    wxPyEndAllowThreads(__tstate);
 
24602
    if (PyErr_Occurred()) SWIG_fail;
 
24603
  }
 
24604
  resultobj = SWIG_Py_Void();
 
24605
  return resultobj;
 
24606
fail:
 
24607
  return NULL;
 
24608
}
 
24609
 
 
24610
 
 
24611
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24612
  PyObject *resultobj = 0;
 
24613
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24614
  int arg2 ;
 
24615
  void *argp1 = 0 ;
 
24616
  int res1 = 0 ;
 
24617
  int val2 ;
 
24618
  int ecode2 = 0 ;
 
24619
  PyObject * obj0 = 0 ;
 
24620
  PyObject * obj1 = 0 ;
 
24621
  char *  kwnames[] = {
 
24622
    (char *) "self",(char *) "val", NULL 
 
24623
  };
 
24624
  
 
24625
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) SWIG_fail;
 
24626
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24627
  if (!SWIG_IsOK(res1)) {
 
24628
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetY" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24629
  }
 
24630
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24631
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24632
  if (!SWIG_IsOK(ecode2)) {
 
24633
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetY" "', expected argument " "2"" of type '" "int""'");
 
24634
  } 
 
24635
  arg2 = static_cast< int >(val2);
 
24636
  {
 
24637
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24638
    (arg1)->SetY(arg2);
 
24639
    wxPyEndAllowThreads(__tstate);
 
24640
    if (PyErr_Occurred()) SWIG_fail;
 
24641
  }
 
24642
  resultobj = SWIG_Py_Void();
 
24643
  return resultobj;
 
24644
fail:
 
24645
  return NULL;
 
24646
}
 
24647
 
 
24648
 
 
24649
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24650
  PyObject *resultobj = 0;
 
24651
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24652
  wxString *arg2 = 0 ;
 
24653
  void *argp1 = 0 ;
 
24654
  int res1 = 0 ;
 
24655
  bool temp2 = false ;
 
24656
  PyObject * obj0 = 0 ;
 
24657
  PyObject * obj1 = 0 ;
 
24658
  char *  kwnames[] = {
 
24659
    (char *) "self",(char *) "val", NULL 
 
24660
  };
 
24661
  
 
24662
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) SWIG_fail;
 
24663
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24664
  if (!SWIG_IsOK(res1)) {
 
24665
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24666
  }
 
24667
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24668
  {
 
24669
    arg2 = wxString_in_helper(obj1);
 
24670
    if (arg2 == NULL) SWIG_fail;
 
24671
    temp2 = true;
 
24672
  }
 
24673
  {
 
24674
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24675
    (arg1)->SetDragText((wxString const &)*arg2);
 
24676
    wxPyEndAllowThreads(__tstate);
 
24677
    if (PyErr_Occurred()) SWIG_fail;
 
24678
  }
 
24679
  resultobj = SWIG_Py_Void();
 
24680
  {
 
24681
    if (temp2)
 
24682
    delete arg2;
 
24683
  }
 
24684
  return resultobj;
 
24685
fail:
 
24686
  {
 
24687
    if (temp2)
 
24688
    delete arg2;
 
24689
  }
 
24690
  return NULL;
 
24691
}
 
24692
 
 
24693
 
 
24694
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24695
  PyObject *resultobj = 0;
 
24696
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24697
  int arg2 ;
 
24698
  void *argp1 = 0 ;
 
24699
  int res1 = 0 ;
 
24700
  int val2 ;
 
24701
  int ecode2 = 0 ;
 
24702
  PyObject * obj0 = 0 ;
 
24703
  PyObject * obj1 = 0 ;
 
24704
  char *  kwnames[] = {
 
24705
    (char *) "self",(char *) "flags", NULL 
 
24706
  };
 
24707
  
 
24708
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragFlags",kwnames,&obj0,&obj1)) SWIG_fail;
 
24709
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24710
  if (!SWIG_IsOK(res1)) {
 
24711
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragFlags" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24712
  }
 
24713
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24714
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24715
  if (!SWIG_IsOK(ecode2)) {
 
24716
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragFlags" "', expected argument " "2"" of type '" "int""'");
 
24717
  } 
 
24718
  arg2 = static_cast< int >(val2);
 
24719
  {
 
24720
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24721
    (arg1)->SetDragFlags(arg2);
 
24722
    wxPyEndAllowThreads(__tstate);
 
24723
    if (PyErr_Occurred()) SWIG_fail;
 
24724
  }
 
24725
  resultobj = SWIG_Py_Void();
 
24726
  return resultobj;
 
24727
fail:
 
24728
  return NULL;
 
24729
}
 
24730
 
 
24731
 
 
24732
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24733
  PyObject *resultobj = 0;
 
24734
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24735
  wxDragResult arg2 ;
 
24736
  void *argp1 = 0 ;
 
24737
  int res1 = 0 ;
 
24738
  int val2 ;
 
24739
  int ecode2 = 0 ;
 
24740
  PyObject * obj0 = 0 ;
 
24741
  PyObject * obj1 = 0 ;
 
24742
  char *  kwnames[] = {
 
24743
    (char *) "self",(char *) "val", NULL 
 
24744
  };
 
24745
  
 
24746
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) SWIG_fail;
 
24747
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24748
  if (!SWIG_IsOK(res1)) {
 
24749
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24750
  }
 
24751
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24752
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
24753
  if (!SWIG_IsOK(ecode2)) {
 
24754
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "2"" of type '" "wxDragResult""'");
 
24755
  } 
 
24756
  arg2 = static_cast< wxDragResult >(val2);
 
24757
  {
 
24758
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24759
    (arg1)->SetDragResult(arg2);
 
24760
    wxPyEndAllowThreads(__tstate);
 
24761
    if (PyErr_Occurred()) SWIG_fail;
 
24762
  }
 
24763
  resultobj = SWIG_Py_Void();
 
24764
  return resultobj;
 
24765
fail:
 
24766
  return NULL;
 
24767
}
 
24768
 
 
24769
 
 
24770
SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
24771
  PyObject *resultobj = 0;
 
24772
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24773
  bool arg2 ;
 
24774
  void *argp1 = 0 ;
 
24775
  int res1 = 0 ;
 
24776
  bool val2 ;
 
24777
  int ecode2 = 0 ;
 
24778
  PyObject * obj0 = 0 ;
 
24779
  PyObject * obj1 = 0 ;
 
24780
  char *  kwnames[] = {
 
24781
    (char *) "self",(char *) "allow", NULL 
 
24782
  };
 
24783
  
 
24784
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) SWIG_fail;
 
24785
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24786
  if (!SWIG_IsOK(res1)) {
 
24787
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
24788
  }
 
24789
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24790
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
24791
  if (!SWIG_IsOK(ecode2)) {
 
24792
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "2"" of type '" "bool""'");
 
24793
  } 
 
24794
  arg2 = static_cast< bool >(val2);
 
24795
  {
 
24796
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24797
    (arg1)->SetDragAllowMove(arg2);
 
24798
    wxPyEndAllowThreads(__tstate);
 
24799
    if (PyErr_Occurred()) SWIG_fail;
 
24800
  }
 
24801
  resultobj = SWIG_Py_Void();
 
24802
  return resultobj;
 
24803
fail:
 
24804
  return NULL;
 
24805
}
 
24806
 
 
24807
 
 
24808
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
24809
  PyObject *resultobj = 0;
 
24810
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24811
  int result;
 
24812
  void *argp1 = 0 ;
 
24813
  int res1 = 0 ;
 
24814
  PyObject *swig_obj[1] ;
 
24815
  
 
24816
  if (!args) SWIG_fail;
 
24817
  swig_obj[0] = args;
 
24818
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24819
  if (!SWIG_IsOK(res1)) {
 
24820
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
24821
  }
 
24822
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24823
  {
 
24824
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24825
    result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
 
24826
    wxPyEndAllowThreads(__tstate);
 
24827
    if (PyErr_Occurred()) SWIG_fail;
 
24828
  }
 
24829
  resultobj = SWIG_From_int(static_cast< int >(result));
 
24830
  return resultobj;
 
24831
fail:
 
24832
  return NULL;
 
24833
}
 
24834
 
 
24835
 
 
24836
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
24837
  PyObject *resultobj = 0;
 
24838
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24839
  int result;
 
24840
  void *argp1 = 0 ;
 
24841
  int res1 = 0 ;
 
24842
  PyObject *swig_obj[1] ;
 
24843
  
 
24844
  if (!args) SWIG_fail;
 
24845
  swig_obj[0] = args;
 
24846
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24847
  if (!SWIG_IsOK(res1)) {
 
24848
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
24849
  }
 
24850
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24851
  {
 
24852
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24853
    result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
 
24854
    wxPyEndAllowThreads(__tstate);
 
24855
    if (PyErr_Occurred()) SWIG_fail;
 
24856
  }
 
24857
  resultobj = SWIG_From_int(static_cast< int >(result));
 
24858
  return resultobj;
 
24859
fail:
 
24860
  return NULL;
 
24861
}
 
24862
 
 
24863
 
 
24864
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
24865
  PyObject *resultobj = 0;
 
24866
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24867
  int result;
 
24868
  void *argp1 = 0 ;
 
24869
  int res1 = 0 ;
 
24870
  PyObject *swig_obj[1] ;
 
24871
  
 
24872
  if (!args) SWIG_fail;
 
24873
  swig_obj[0] = args;
 
24874
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24875
  if (!SWIG_IsOK(res1)) {
 
24876
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
24877
  }
 
24878
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24879
  {
 
24880
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24881
    result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
 
24882
    wxPyEndAllowThreads(__tstate);
 
24883
    if (PyErr_Occurred()) SWIG_fail;
 
24884
  }
 
24885
  resultobj = SWIG_From_int(static_cast< int >(result));
 
24886
  return resultobj;
 
24887
fail:
 
24888
  return NULL;
 
24889
}
 
24890
 
 
24891
 
 
24892
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
24893
  PyObject *resultobj = 0;
 
24894
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24895
  int result;
 
24896
  void *argp1 = 0 ;
 
24897
  int res1 = 0 ;
 
24898
  PyObject *swig_obj[1] ;
 
24899
  
 
24900
  if (!args) SWIG_fail;
 
24901
  swig_obj[0] = args;
 
24902
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24903
  if (!SWIG_IsOK(res1)) {
 
24904
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
24905
  }
 
24906
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24907
  {
 
24908
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24909
    result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
 
24910
    wxPyEndAllowThreads(__tstate);
 
24911
    if (PyErr_Occurred()) SWIG_fail;
 
24912
  }
 
24913
  resultobj = SWIG_From_int(static_cast< int >(result));
 
24914
  return resultobj;
 
24915
fail:
 
24916
  return NULL;
 
24917
}
 
24918
 
 
24919
 
 
24920
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
24921
  PyObject *resultobj = 0;
 
24922
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24923
  wxString result;
 
24924
  void *argp1 = 0 ;
 
24925
  int res1 = 0 ;
 
24926
  PyObject *swig_obj[1] ;
 
24927
  
 
24928
  if (!args) SWIG_fail;
 
24929
  swig_obj[0] = args;
 
24930
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24931
  if (!SWIG_IsOK(res1)) {
 
24932
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetText" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
24933
  }
 
24934
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24935
  {
 
24936
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24937
    result = ((wxStyledTextEvent const *)arg1)->GetText();
 
24938
    wxPyEndAllowThreads(__tstate);
 
24939
    if (PyErr_Occurred()) SWIG_fail;
 
24940
  }
 
24941
  {
 
24942
#if wxUSE_UNICODE
 
24943
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
24944
#else
 
24945
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
24946
#endif
 
24947
  }
 
24948
  return resultobj;
 
24949
fail:
 
24950
  return NULL;
 
24951
}
 
24952
 
 
24953
 
 
24954
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
24955
  PyObject *resultobj = 0;
 
24956
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24957
  int result;
 
24958
  void *argp1 = 0 ;
 
24959
  int res1 = 0 ;
 
24960
  PyObject *swig_obj[1] ;
 
24961
  
 
24962
  if (!args) SWIG_fail;
 
24963
  swig_obj[0] = args;
 
24964
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24965
  if (!SWIG_IsOK(res1)) {
 
24966
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
24967
  }
 
24968
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24969
  {
 
24970
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24971
    result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
 
24972
    wxPyEndAllowThreads(__tstate);
 
24973
    if (PyErr_Occurred()) SWIG_fail;
 
24974
  }
 
24975
  resultobj = SWIG_From_int(static_cast< int >(result));
 
24976
  return resultobj;
 
24977
fail:
 
24978
  return NULL;
 
24979
}
 
24980
 
 
24981
 
 
24982
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
24983
  PyObject *resultobj = 0;
 
24984
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
24985
  int result;
 
24986
  void *argp1 = 0 ;
 
24987
  int res1 = 0 ;
 
24988
  PyObject *swig_obj[1] ;
 
24989
  
 
24990
  if (!args) SWIG_fail;
 
24991
  swig_obj[0] = args;
 
24992
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
24993
  if (!SWIG_IsOK(res1)) {
 
24994
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
24995
  }
 
24996
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
24997
  {
 
24998
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
24999
    result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
 
25000
    wxPyEndAllowThreads(__tstate);
 
25001
    if (PyErr_Occurred()) SWIG_fail;
 
25002
  }
 
25003
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25004
  return resultobj;
 
25005
fail:
 
25006
  return NULL;
 
25007
}
 
25008
 
 
25009
 
 
25010
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25011
  PyObject *resultobj = 0;
 
25012
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25013
  int result;
 
25014
  void *argp1 = 0 ;
 
25015
  int res1 = 0 ;
 
25016
  PyObject *swig_obj[1] ;
 
25017
  
 
25018
  if (!args) SWIG_fail;
 
25019
  swig_obj[0] = args;
 
25020
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25021
  if (!SWIG_IsOK(res1)) {
 
25022
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25023
  }
 
25024
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25025
  {
 
25026
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25027
    result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
 
25028
    wxPyEndAllowThreads(__tstate);
 
25029
    if (PyErr_Occurred()) SWIG_fail;
 
25030
  }
 
25031
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25032
  return resultobj;
 
25033
fail:
 
25034
  return NULL;
 
25035
}
 
25036
 
 
25037
 
 
25038
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25039
  PyObject *resultobj = 0;
 
25040
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25041
  int result;
 
25042
  void *argp1 = 0 ;
 
25043
  int res1 = 0 ;
 
25044
  PyObject *swig_obj[1] ;
 
25045
  
 
25046
  if (!args) SWIG_fail;
 
25047
  swig_obj[0] = args;
 
25048
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25049
  if (!SWIG_IsOK(res1)) {
 
25050
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25051
  }
 
25052
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25053
  {
 
25054
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25055
    result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
 
25056
    wxPyEndAllowThreads(__tstate);
 
25057
    if (PyErr_Occurred()) SWIG_fail;
 
25058
  }
 
25059
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25060
  return resultobj;
 
25061
fail:
 
25062
  return NULL;
 
25063
}
 
25064
 
 
25065
 
 
25066
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25067
  PyObject *resultobj = 0;
 
25068
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25069
  int result;
 
25070
  void *argp1 = 0 ;
 
25071
  int res1 = 0 ;
 
25072
  PyObject *swig_obj[1] ;
 
25073
  
 
25074
  if (!args) SWIG_fail;
 
25075
  swig_obj[0] = args;
 
25076
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25077
  if (!SWIG_IsOK(res1)) {
 
25078
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25079
  }
 
25080
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25081
  {
 
25082
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25083
    result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
 
25084
    wxPyEndAllowThreads(__tstate);
 
25085
    if (PyErr_Occurred()) SWIG_fail;
 
25086
  }
 
25087
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25088
  return resultobj;
 
25089
fail:
 
25090
  return NULL;
 
25091
}
 
25092
 
 
25093
 
 
25094
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25095
  PyObject *resultobj = 0;
 
25096
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25097
  int result;
 
25098
  void *argp1 = 0 ;
 
25099
  int res1 = 0 ;
 
25100
  PyObject *swig_obj[1] ;
 
25101
  
 
25102
  if (!args) SWIG_fail;
 
25103
  swig_obj[0] = args;
 
25104
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25105
  if (!SWIG_IsOK(res1)) {
 
25106
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25107
  }
 
25108
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25109
  {
 
25110
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25111
    result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
 
25112
    wxPyEndAllowThreads(__tstate);
 
25113
    if (PyErr_Occurred()) SWIG_fail;
 
25114
  }
 
25115
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25116
  return resultobj;
 
25117
fail:
 
25118
  return NULL;
 
25119
}
 
25120
 
 
25121
 
 
25122
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25123
  PyObject *resultobj = 0;
 
25124
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25125
  int result;
 
25126
  void *argp1 = 0 ;
 
25127
  int res1 = 0 ;
 
25128
  PyObject *swig_obj[1] ;
 
25129
  
 
25130
  if (!args) SWIG_fail;
 
25131
  swig_obj[0] = args;
 
25132
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25133
  if (!SWIG_IsOK(res1)) {
 
25134
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25135
  }
 
25136
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25137
  {
 
25138
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25139
    result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
 
25140
    wxPyEndAllowThreads(__tstate);
 
25141
    if (PyErr_Occurred()) SWIG_fail;
 
25142
  }
 
25143
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25144
  return resultobj;
 
25145
fail:
 
25146
  return NULL;
 
25147
}
 
25148
 
 
25149
 
 
25150
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25151
  PyObject *resultobj = 0;
 
25152
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25153
  int result;
 
25154
  void *argp1 = 0 ;
 
25155
  int res1 = 0 ;
 
25156
  PyObject *swig_obj[1] ;
 
25157
  
 
25158
  if (!args) SWIG_fail;
 
25159
  swig_obj[0] = args;
 
25160
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25161
  if (!SWIG_IsOK(res1)) {
 
25162
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25163
  }
 
25164
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25165
  {
 
25166
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25167
    result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
 
25168
    wxPyEndAllowThreads(__tstate);
 
25169
    if (PyErr_Occurred()) SWIG_fail;
 
25170
  }
 
25171
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25172
  return resultobj;
 
25173
fail:
 
25174
  return NULL;
 
25175
}
 
25176
 
 
25177
 
 
25178
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25179
  PyObject *resultobj = 0;
 
25180
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25181
  int result;
 
25182
  void *argp1 = 0 ;
 
25183
  int res1 = 0 ;
 
25184
  PyObject *swig_obj[1] ;
 
25185
  
 
25186
  if (!args) SWIG_fail;
 
25187
  swig_obj[0] = args;
 
25188
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25189
  if (!SWIG_IsOK(res1)) {
 
25190
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25191
  }
 
25192
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25193
  {
 
25194
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25195
    result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
 
25196
    wxPyEndAllowThreads(__tstate);
 
25197
    if (PyErr_Occurred()) SWIG_fail;
 
25198
  }
 
25199
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25200
  return resultobj;
 
25201
fail:
 
25202
  return NULL;
 
25203
}
 
25204
 
 
25205
 
 
25206
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25207
  PyObject *resultobj = 0;
 
25208
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25209
  int result;
 
25210
  void *argp1 = 0 ;
 
25211
  int res1 = 0 ;
 
25212
  PyObject *swig_obj[1] ;
 
25213
  
 
25214
  if (!args) SWIG_fail;
 
25215
  swig_obj[0] = args;
 
25216
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25217
  if (!SWIG_IsOK(res1)) {
 
25218
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25219
  }
 
25220
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25221
  {
 
25222
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25223
    result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
 
25224
    wxPyEndAllowThreads(__tstate);
 
25225
    if (PyErr_Occurred()) SWIG_fail;
 
25226
  }
 
25227
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25228
  return resultobj;
 
25229
fail:
 
25230
  return NULL;
 
25231
}
 
25232
 
 
25233
 
 
25234
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25235
  PyObject *resultobj = 0;
 
25236
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25237
  int result;
 
25238
  void *argp1 = 0 ;
 
25239
  int res1 = 0 ;
 
25240
  PyObject *swig_obj[1] ;
 
25241
  
 
25242
  if (!args) SWIG_fail;
 
25243
  swig_obj[0] = args;
 
25244
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25245
  if (!SWIG_IsOK(res1)) {
 
25246
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetX" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25247
  }
 
25248
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25249
  {
 
25250
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25251
    result = (int)((wxStyledTextEvent const *)arg1)->GetX();
 
25252
    wxPyEndAllowThreads(__tstate);
 
25253
    if (PyErr_Occurred()) SWIG_fail;
 
25254
  }
 
25255
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25256
  return resultobj;
 
25257
fail:
 
25258
  return NULL;
 
25259
}
 
25260
 
 
25261
 
 
25262
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25263
  PyObject *resultobj = 0;
 
25264
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25265
  int result;
 
25266
  void *argp1 = 0 ;
 
25267
  int res1 = 0 ;
 
25268
  PyObject *swig_obj[1] ;
 
25269
  
 
25270
  if (!args) SWIG_fail;
 
25271
  swig_obj[0] = args;
 
25272
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25273
  if (!SWIG_IsOK(res1)) {
 
25274
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetY" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25275
  }
 
25276
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25277
  {
 
25278
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25279
    result = (int)((wxStyledTextEvent const *)arg1)->GetY();
 
25280
    wxPyEndAllowThreads(__tstate);
 
25281
    if (PyErr_Occurred()) SWIG_fail;
 
25282
  }
 
25283
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25284
  return resultobj;
 
25285
fail:
 
25286
  return NULL;
 
25287
}
 
25288
 
 
25289
 
 
25290
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25291
  PyObject *resultobj = 0;
 
25292
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25293
  wxString result;
 
25294
  void *argp1 = 0 ;
 
25295
  int res1 = 0 ;
 
25296
  PyObject *swig_obj[1] ;
 
25297
  
 
25298
  if (!args) SWIG_fail;
 
25299
  swig_obj[0] = args;
 
25300
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25301
  if (!SWIG_IsOK(res1)) {
 
25302
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
25303
  }
 
25304
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25305
  {
 
25306
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25307
    result = (arg1)->GetDragText();
 
25308
    wxPyEndAllowThreads(__tstate);
 
25309
    if (PyErr_Occurred()) SWIG_fail;
 
25310
  }
 
25311
  {
 
25312
#if wxUSE_UNICODE
 
25313
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
25314
#else
 
25315
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
25316
#endif
 
25317
  }
 
25318
  return resultobj;
 
25319
fail:
 
25320
  return NULL;
 
25321
}
 
25322
 
 
25323
 
 
25324
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25325
  PyObject *resultobj = 0;
 
25326
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25327
  int result;
 
25328
  void *argp1 = 0 ;
 
25329
  int res1 = 0 ;
 
25330
  PyObject *swig_obj[1] ;
 
25331
  
 
25332
  if (!args) SWIG_fail;
 
25333
  swig_obj[0] = args;
 
25334
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25335
  if (!SWIG_IsOK(res1)) {
 
25336
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragFlags" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
25337
  }
 
25338
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25339
  {
 
25340
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25341
    result = (int)(arg1)->GetDragFlags();
 
25342
    wxPyEndAllowThreads(__tstate);
 
25343
    if (PyErr_Occurred()) SWIG_fail;
 
25344
  }
 
25345
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25346
  return resultobj;
 
25347
fail:
 
25348
  return NULL;
 
25349
}
 
25350
 
 
25351
 
 
25352
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25353
  PyObject *resultobj = 0;
 
25354
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25355
  wxDragResult result;
 
25356
  void *argp1 = 0 ;
 
25357
  int res1 = 0 ;
 
25358
  PyObject *swig_obj[1] ;
 
25359
  
 
25360
  if (!args) SWIG_fail;
 
25361
  swig_obj[0] = args;
 
25362
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25363
  if (!SWIG_IsOK(res1)) {
 
25364
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
25365
  }
 
25366
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25367
  {
 
25368
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25369
    result = (wxDragResult)(arg1)->GetDragResult();
 
25370
    wxPyEndAllowThreads(__tstate);
 
25371
    if (PyErr_Occurred()) SWIG_fail;
 
25372
  }
 
25373
  resultobj = SWIG_From_int(static_cast< int >(result));
 
25374
  return resultobj;
 
25375
fail:
 
25376
  return NULL;
 
25377
}
 
25378
 
 
25379
 
 
25380
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25381
  PyObject *resultobj = 0;
 
25382
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25383
  bool result;
 
25384
  void *argp1 = 0 ;
 
25385
  int res1 = 0 ;
 
25386
  PyObject *swig_obj[1] ;
 
25387
  
 
25388
  if (!args) SWIG_fail;
 
25389
  swig_obj[0] = args;
 
25390
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25391
  if (!SWIG_IsOK(res1)) {
 
25392
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'"); 
 
25393
  }
 
25394
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25395
  {
 
25396
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25397
    result = (bool)(arg1)->GetDragAllowMove();
 
25398
    wxPyEndAllowThreads(__tstate);
 
25399
    if (PyErr_Occurred()) SWIG_fail;
 
25400
  }
 
25401
  {
 
25402
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
25403
  }
 
25404
  return resultobj;
 
25405
fail:
 
25406
  return NULL;
 
25407
}
 
25408
 
 
25409
 
 
25410
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetShift(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25411
  PyObject *resultobj = 0;
 
25412
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25413
  bool result;
 
25414
  void *argp1 = 0 ;
 
25415
  int res1 = 0 ;
 
25416
  PyObject *swig_obj[1] ;
 
25417
  
 
25418
  if (!args) SWIG_fail;
 
25419
  swig_obj[0] = args;
 
25420
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25421
  if (!SWIG_IsOK(res1)) {
 
25422
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetShift" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25423
  }
 
25424
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25425
  {
 
25426
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25427
    result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
 
25428
    wxPyEndAllowThreads(__tstate);
 
25429
    if (PyErr_Occurred()) SWIG_fail;
 
25430
  }
 
25431
  {
 
25432
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
25433
  }
 
25434
  return resultobj;
 
25435
fail:
 
25436
  return NULL;
 
25437
}
 
25438
 
 
25439
 
 
25440
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25441
  PyObject *resultobj = 0;
 
25442
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25443
  bool result;
 
25444
  void *argp1 = 0 ;
 
25445
  int res1 = 0 ;
 
25446
  PyObject *swig_obj[1] ;
 
25447
  
 
25448
  if (!args) SWIG_fail;
 
25449
  swig_obj[0] = args;
 
25450
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25451
  if (!SWIG_IsOK(res1)) {
 
25452
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetControl" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25453
  }
 
25454
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25455
  {
 
25456
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25457
    result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
 
25458
    wxPyEndAllowThreads(__tstate);
 
25459
    if (PyErr_Occurred()) SWIG_fail;
 
25460
  }
 
25461
  {
 
25462
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
25463
  }
 
25464
  return resultobj;
 
25465
fail:
 
25466
  return NULL;
 
25467
}
 
25468
 
 
25469
 
 
25470
SWIGINTERN PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25471
  PyObject *resultobj = 0;
 
25472
  wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
 
25473
  bool result;
 
25474
  void *argp1 = 0 ;
 
25475
  int res1 = 0 ;
 
25476
  PyObject *swig_obj[1] ;
 
25477
  
 
25478
  if (!args) SWIG_fail;
 
25479
  swig_obj[0] = args;
 
25480
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 |  0 );
 
25481
  if (!SWIG_IsOK(res1)) {
 
25482
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetAlt" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'"); 
 
25483
  }
 
25484
  arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
 
25485
  {
 
25486
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25487
    result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
 
25488
    wxPyEndAllowThreads(__tstate);
 
25489
    if (PyErr_Occurred()) SWIG_fail;
 
25490
  }
 
25491
  {
 
25492
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
25493
  }
 
25494
  return resultobj;
 
25495
fail:
 
25496
  return NULL;
 
25497
}
 
25498
 
 
25499
 
 
25500
SWIGINTERN PyObject *StyledTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25501
  PyObject *obj;
 
25502
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
25503
  SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextEvent, SWIG_NewClientData(obj));
 
25504
  return SWIG_Py_Void();
 
25505
}
 
25506
 
 
25507
SWIGINTERN PyObject *StyledTextEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25508
  return SWIG_Python_InitShadowInstance(args);
 
25509
}
 
25510
 
 
25511
static PyMethodDef SwigMethods[] = {
 
25512
         { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
 
25513
         { (char *)"new_PreStyledTextCtrl", (PyCFunction)_wrap_new_PreStyledTextCtrl, METH_NOARGS, NULL},
 
25514
         { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
 
25515
         { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
 
25516
         { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
 
25517
         { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
 
25518
         { (char *)"StyledTextCtrl_ClearAll", (PyCFunction)_wrap_StyledTextCtrl_ClearAll, METH_O, NULL},
 
25519
         { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction)_wrap_StyledTextCtrl_ClearDocumentStyle, METH_O, NULL},
 
25520
         { (char *)"StyledTextCtrl_GetLength", (PyCFunction)_wrap_StyledTextCtrl_GetLength, METH_O, NULL},
 
25521
         { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
 
25522
         { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentPos, METH_O, NULL},
 
25523
         { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction)_wrap_StyledTextCtrl_GetAnchor, METH_O, NULL},
 
25524
         { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
 
25525
         { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
 
25526
         { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction)_wrap_StyledTextCtrl_SetSavePoint, METH_O, NULL},
 
25527
         { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
 
25528
         { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
 
25529
         { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
 
25530
         { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction)_wrap_StyledTextCtrl_GetUndoCollection, METH_O, NULL},
 
25531
         { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction)_wrap_StyledTextCtrl_GetViewWhiteSpace, METH_O, NULL},
 
25532
         { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
 
25533
         { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
 
25534
         { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
 
25535
         { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
25536
         { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
 
25537
         { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
 
25538
         { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurLine, METH_O, NULL},
 
25539
         { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction)_wrap_StyledTextCtrl_GetEndStyled, METH_O, NULL},
 
25540
         { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
 
25541
         { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction)_wrap_StyledTextCtrl_GetEOLMode, METH_O, NULL},
 
25542
         { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
 
25543
         { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
 
25544
         { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
 
25545
         { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction)_wrap_StyledTextCtrl_GetBufferedDraw, METH_O, NULL},
 
25546
         { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
 
25547
         { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
 
25548
         { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction)_wrap_StyledTextCtrl_GetTabWidth, METH_O, NULL},
 
25549
         { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
 
25550
         { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
 
25551
         { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25552
         { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25553
         { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
 
25554
         { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
 
25555
         { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
 
25556
         { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
 
25557
         { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
 
25558
         { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
 
25559
         { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
 
25560
         { (char *)"StyledTextCtrl_MarkerAddSet", (PyCFunction) _wrap_StyledTextCtrl_MarkerAddSet, METH_VARARGS | METH_KEYWORDS, NULL},
 
25561
         { (char *)"StyledTextCtrl_MarkerSetAlpha", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
 
25562
         { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
 
25563
         { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
 
25564
         { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
 
25565
         { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
 
25566
         { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
 
25567
         { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
 
25568
         { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
 
25569
         { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
 
25570
         { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction)_wrap_StyledTextCtrl_StyleClearAll, METH_O, NULL},
 
25571
         { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25572
         { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25573
         { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
 
25574
         { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
 
25575
         { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
 
25576
         { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
 
25577
         { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
 
25578
         { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction)_wrap_StyledTextCtrl_StyleResetDefault, METH_O, NULL},
 
25579
         { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
 
25580
         { (char *)"StyledTextCtrl_StyleGetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25581
         { (char *)"StyledTextCtrl_StyleGetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleGetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25582
         { (char *)"StyledTextCtrl_StyleGetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleGetBold, METH_VARARGS | METH_KEYWORDS, NULL},
 
25583
         { (char *)"StyledTextCtrl_StyleGetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleGetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
 
25584
         { (char *)"StyledTextCtrl_StyleGetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
 
25585
         { (char *)"StyledTextCtrl_StyleGetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleGetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
 
25586
         { (char *)"StyledTextCtrl_StyleGetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleGetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
 
25587
         { (char *)"StyledTextCtrl_StyleGetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleGetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
 
25588
         { (char *)"StyledTextCtrl_StyleGetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleGetCase, METH_VARARGS | METH_KEYWORDS, NULL},
 
25589
         { (char *)"StyledTextCtrl_StyleGetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleGetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
 
25590
         { (char *)"StyledTextCtrl_StyleGetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleGetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
25591
         { (char *)"StyledTextCtrl_StyleGetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleGetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
 
25592
         { (char *)"StyledTextCtrl_StyleGetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleGetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
 
25593
         { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
 
25594
         { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
 
25595
         { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25596
         { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25597
         { (char *)"StyledTextCtrl_GetSelAlpha", (PyCFunction)_wrap_StyledTextCtrl_GetSelAlpha, METH_O, NULL},
 
25598
         { (char *)"StyledTextCtrl_SetSelAlpha", (PyCFunction) _wrap_StyledTextCtrl_SetSelAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
 
25599
         { (char *)"StyledTextCtrl_GetSelEOLFilled", (PyCFunction)_wrap_StyledTextCtrl_GetSelEOLFilled, METH_O, NULL},
 
25600
         { (char *)"StyledTextCtrl_SetSelEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_SetSelEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
 
25601
         { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25602
         { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
 
25603
         { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
 
25604
         { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction)_wrap_StyledTextCtrl_CmdKeyClearAll, METH_O, NULL},
 
25605
         { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
 
25606
         { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
25607
         { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction)_wrap_StyledTextCtrl_GetCaretPeriod, METH_O, NULL},
 
25608
         { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
 
25609
         { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
 
25610
         { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction)_wrap_StyledTextCtrl_BeginUndoAction, METH_O, NULL},
 
25611
         { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction)_wrap_StyledTextCtrl_EndUndoAction, METH_O, NULL},
 
25612
         { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
25613
         { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
25614
         { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25615
         { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25616
         { (char *)"StyledTextCtrl_IndicatorSetUnder", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetUnder, METH_VARARGS | METH_KEYWORDS, NULL},
 
25617
         { (char *)"StyledTextCtrl_IndicatorGetUnder", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetUnder, METH_VARARGS | METH_KEYWORDS, NULL},
 
25618
         { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25619
         { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25620
         { (char *)"StyledTextCtrl_SetWhitespaceSize", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceSize, METH_VARARGS | METH_KEYWORDS, NULL},
 
25621
         { (char *)"StyledTextCtrl_GetWhitespaceSize", (PyCFunction)_wrap_StyledTextCtrl_GetWhitespaceSize, METH_O, NULL},
 
25622
         { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
 
25623
         { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBits, METH_O, NULL},
 
25624
         { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
 
25625
         { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
 
25626
         { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction)_wrap_StyledTextCtrl_GetMaxLineState, METH_O, NULL},
 
25627
         { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineVisible, METH_O, NULL},
 
25628
         { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
25629
         { (char *)"StyledTextCtrl_GetCaretLineBackground", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineBackground, METH_O, NULL},
 
25630
         { (char *)"StyledTextCtrl_SetCaretLineBackground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBackground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25631
         { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
 
25632
         { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
 
25633
         { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction)_wrap_StyledTextCtrl_AutoCompCancel, METH_O, NULL},
 
25634
         { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction)_wrap_StyledTextCtrl_AutoCompActive, METH_O, NULL},
 
25635
         { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompPosStart, METH_O, NULL},
 
25636
         { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction)_wrap_StyledTextCtrl_AutoCompComplete, METH_O, NULL},
 
25637
         { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
 
25638
         { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
 
25639
         { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetSeparator, METH_O, NULL},
 
25640
         { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
 
25641
         { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
 
25642
         { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_O, NULL},
 
25643
         { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
 
25644
         { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
 
25645
         { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_O, NULL},
 
25646
         { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
 
25647
         { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_O, NULL},
 
25648
         { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
 
25649
         { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
 
25650
         { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_O, NULL},
 
25651
         { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
 
25652
         { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_O, NULL},
 
25653
         { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
 
25654
         { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction)_wrap_StyledTextCtrl_ClearRegisteredImages, METH_O, NULL},
 
25655
         { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_O, NULL},
 
25656
         { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
 
25657
         { (char *)"StyledTextCtrl_AutoCompSetMaxWidth", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL},
 
25658
         { (char *)"StyledTextCtrl_AutoCompGetMaxWidth", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxWidth, METH_O, NULL},
 
25659
         { (char *)"StyledTextCtrl_AutoCompSetMaxHeight", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL},
 
25660
         { (char *)"StyledTextCtrl_AutoCompGetMaxHeight", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxHeight, METH_O, NULL},
 
25661
         { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
 
25662
         { (char *)"StyledTextCtrl_GetIndent", (PyCFunction)_wrap_StyledTextCtrl_GetIndent, METH_O, NULL},
 
25663
         { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
 
25664
         { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction)_wrap_StyledTextCtrl_GetUseTabs, METH_O, NULL},
 
25665
         { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
 
25666
         { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
 
25667
         { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
25668
         { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
 
25669
         { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
 
25670
         { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_O, NULL},
 
25671
         { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
 
25672
         { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction)_wrap_StyledTextCtrl_GetIndentationGuides, METH_O, NULL},
 
25673
         { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
 
25674
         { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction)_wrap_StyledTextCtrl_GetHighlightGuide, METH_O, NULL},
 
25675
         { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
25676
         { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction)_wrap_StyledTextCtrl_GetCodePage, METH_O, NULL},
 
25677
         { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction)_wrap_StyledTextCtrl_GetCaretForeground, METH_O, NULL},
 
25678
         { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction)_wrap_StyledTextCtrl_GetReadOnly, METH_O, NULL},
 
25679
         { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
 
25680
         { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
 
25681
         { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionStart, METH_O, NULL},
 
25682
         { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
 
25683
         { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionEnd, METH_O, NULL},
 
25684
         { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
 
25685
         { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction)_wrap_StyledTextCtrl_GetPrintMagnification, METH_O, NULL},
 
25686
         { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
 
25687
         { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintColourMode, METH_O, NULL},
 
25688
         { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
 
25689
         { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
25690
         { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction)_wrap_StyledTextCtrl_GetFirstVisibleLine, METH_O, NULL},
 
25691
         { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
25692
         { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction)_wrap_StyledTextCtrl_GetLineCount, METH_O, NULL},
 
25693
         { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
 
25694
         { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction)_wrap_StyledTextCtrl_GetMarginLeft, METH_O, NULL},
 
25695
         { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
 
25696
         { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction)_wrap_StyledTextCtrl_GetMarginRight, METH_O, NULL},
 
25697
         { (char *)"StyledTextCtrl_GetModify", (PyCFunction)_wrap_StyledTextCtrl_GetModify, METH_O, NULL},
 
25698
         { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedText, METH_O, NULL},
 
25699
         { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
25700
         { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
 
25701
         { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
25702
         { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
25703
         { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
 
25704
         { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction)_wrap_StyledTextCtrl_EnsureCaretVisible, METH_O, NULL},
 
25705
         { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
 
25706
         { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
 
25707
         { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction)_wrap_StyledTextCtrl_EmptyUndoBuffer, METH_O, NULL},
 
25708
         { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
 
25709
         { (char *)"StyledTextCtrl_GetText", (PyCFunction)_wrap_StyledTextCtrl_GetText, METH_O, NULL},
 
25710
         { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction)_wrap_StyledTextCtrl_GetTextLength, METH_O, NULL},
 
25711
         { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
 
25712
         { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction)_wrap_StyledTextCtrl_GetOvertype, METH_O, NULL},
 
25713
         { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
 
25714
         { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction)_wrap_StyledTextCtrl_GetCaretWidth, METH_O, NULL},
 
25715
         { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
 
25716
         { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction)_wrap_StyledTextCtrl_GetTargetStart, METH_O, NULL},
 
25717
         { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
 
25718
         { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction)_wrap_StyledTextCtrl_GetTargetEnd, METH_O, NULL},
 
25719
         { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
 
25720
         { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
 
25721
         { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
 
25722
         { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
 
25723
         { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction)_wrap_StyledTextCtrl_GetSearchFlags, METH_O, NULL},
 
25724
         { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
 
25725
         { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction)_wrap_StyledTextCtrl_CallTipCancel, METH_O, NULL},
 
25726
         { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction)_wrap_StyledTextCtrl_CallTipActive, METH_O, NULL},
 
25727
         { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction)_wrap_StyledTextCtrl_CallTipPosAtStart, METH_O, NULL},
 
25728
         { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
 
25729
         { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25730
         { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25731
         { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
 
25732
         { (char *)"StyledTextCtrl_CallTipUseStyle", (PyCFunction) _wrap_StyledTextCtrl_CallTipUseStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
25733
         { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
25734
         { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
25735
         { (char *)"StyledTextCtrl_WrapCount", (PyCFunction) _wrap_StyledTextCtrl_WrapCount, METH_VARARGS | METH_KEYWORDS, NULL},
 
25736
         { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
 
25737
         { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
 
25738
         { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
 
25739
         { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
 
25740
         { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
 
25741
         { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
 
25742
         { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
25743
         { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
 
25744
         { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
 
25745
         { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
 
25746
         { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
25747
         { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
 
25748
         { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
 
25749
         { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
 
25750
         { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction)_wrap_StyledTextCtrl_GetTabIndents, METH_O, NULL},
 
25751
         { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
 
25752
         { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction)_wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_O, NULL},
 
25753
         { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
 
25754
         { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDwellTime, METH_O, NULL},
 
25755
         { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
25756
         { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
25757
         { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
 
25758
         { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetWrapMode, METH_O, NULL},
 
25759
         { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
 
25760
         { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlags, METH_O, NULL},
 
25761
         { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
 
25762
         { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_O, NULL},
 
25763
         { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
 
25764
         { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction)_wrap_StyledTextCtrl_GetWrapStartIndent, METH_O, NULL},
 
25765
         { (char *)"StyledTextCtrl_SetWrapIndentMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapIndentMode, METH_VARARGS | METH_KEYWORDS, NULL},
 
25766
         { (char *)"StyledTextCtrl_GetWrapIndentMode", (PyCFunction)_wrap_StyledTextCtrl_GetWrapIndentMode, METH_O, NULL},
 
25767
         { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
 
25768
         { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction)_wrap_StyledTextCtrl_GetLayoutCache, METH_O, NULL},
 
25769
         { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
 
25770
         { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction)_wrap_StyledTextCtrl_GetScrollWidth, METH_O, NULL},
 
25771
         { (char *)"StyledTextCtrl_SetScrollWidthTracking", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidthTracking, METH_VARARGS | METH_KEYWORDS, NULL},
 
25772
         { (char *)"StyledTextCtrl_GetScrollWidthTracking", (PyCFunction)_wrap_StyledTextCtrl_GetScrollWidthTracking, METH_O, NULL},
 
25773
         { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
 
25774
         { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
25775
         { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction)_wrap_StyledTextCtrl_GetEndAtLastLine, METH_O, NULL},
 
25776
         { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
 
25777
         { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
 
25778
         { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_O, NULL},
 
25779
         { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction)_wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_O, NULL},
 
25780
         { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
 
25781
         { (char *)"StyledTextCtrl_SetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_SetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
25782
         { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction)_wrap_StyledTextCtrl_TargetFromSelection, METH_O, NULL},
 
25783
         { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction)_wrap_StyledTextCtrl_LinesJoin, METH_O, NULL},
 
25784
         { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
 
25785
         { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
25786
         { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
25787
         { (char *)"StyledTextCtrl_LineDown", (PyCFunction)_wrap_StyledTextCtrl_LineDown, METH_O, NULL},
 
25788
         { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownExtend, METH_O, NULL},
 
25789
         { (char *)"StyledTextCtrl_LineUp", (PyCFunction)_wrap_StyledTextCtrl_LineUp, METH_O, NULL},
 
25790
         { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpExtend, METH_O, NULL},
 
25791
         { (char *)"StyledTextCtrl_CharLeft", (PyCFunction)_wrap_StyledTextCtrl_CharLeft, METH_O, NULL},
 
25792
         { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftExtend, METH_O, NULL},
 
25793
         { (char *)"StyledTextCtrl_CharRight", (PyCFunction)_wrap_StyledTextCtrl_CharRight, METH_O, NULL},
 
25794
         { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightExtend, METH_O, NULL},
 
25795
         { (char *)"StyledTextCtrl_WordLeft", (PyCFunction)_wrap_StyledTextCtrl_WordLeft, METH_O, NULL},
 
25796
         { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftExtend, METH_O, NULL},
 
25797
         { (char *)"StyledTextCtrl_WordRight", (PyCFunction)_wrap_StyledTextCtrl_WordRight, METH_O, NULL},
 
25798
         { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightExtend, METH_O, NULL},
 
25799
         { (char *)"StyledTextCtrl_Home", (PyCFunction)_wrap_StyledTextCtrl_Home, METH_O, NULL},
 
25800
         { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeExtend, METH_O, NULL},
 
25801
         { (char *)"StyledTextCtrl_LineEnd", (PyCFunction)_wrap_StyledTextCtrl_LineEnd, METH_O, NULL},
 
25802
         { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndExtend, METH_O, NULL},
 
25803
         { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction)_wrap_StyledTextCtrl_DocumentStart, METH_O, NULL},
 
25804
         { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentStartExtend, METH_O, NULL},
 
25805
         { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction)_wrap_StyledTextCtrl_DocumentEnd, METH_O, NULL},
 
25806
         { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentEndExtend, METH_O, NULL},
 
25807
         { (char *)"StyledTextCtrl_PageUp", (PyCFunction)_wrap_StyledTextCtrl_PageUp, METH_O, NULL},
 
25808
         { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpExtend, METH_O, NULL},
 
25809
         { (char *)"StyledTextCtrl_PageDown", (PyCFunction)_wrap_StyledTextCtrl_PageDown, METH_O, NULL},
 
25810
         { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownExtend, METH_O, NULL},
 
25811
         { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction)_wrap_StyledTextCtrl_EditToggleOvertype, METH_O, NULL},
 
25812
         { (char *)"StyledTextCtrl_Cancel", (PyCFunction)_wrap_StyledTextCtrl_Cancel, METH_O, NULL},
 
25813
         { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction)_wrap_StyledTextCtrl_DeleteBack, METH_O, NULL},
 
25814
         { (char *)"StyledTextCtrl_Tab", (PyCFunction)_wrap_StyledTextCtrl_Tab, METH_O, NULL},
 
25815
         { (char *)"StyledTextCtrl_BackTab", (PyCFunction)_wrap_StyledTextCtrl_BackTab, METH_O, NULL},
 
25816
         { (char *)"StyledTextCtrl_NewLine", (PyCFunction)_wrap_StyledTextCtrl_NewLine, METH_O, NULL},
 
25817
         { (char *)"StyledTextCtrl_FormFeed", (PyCFunction)_wrap_StyledTextCtrl_FormFeed, METH_O, NULL},
 
25818
         { (char *)"StyledTextCtrl_VCHome", (PyCFunction)_wrap_StyledTextCtrl_VCHome, METH_O, NULL},
 
25819
         { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeExtend, METH_O, NULL},
 
25820
         { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction)_wrap_StyledTextCtrl_ZoomIn, METH_O, NULL},
 
25821
         { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction)_wrap_StyledTextCtrl_ZoomOut, METH_O, NULL},
 
25822
         { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction)_wrap_StyledTextCtrl_DelWordLeft, METH_O, NULL},
 
25823
         { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction)_wrap_StyledTextCtrl_DelWordRight, METH_O, NULL},
 
25824
         { (char *)"StyledTextCtrl_DelWordRightEnd", (PyCFunction)_wrap_StyledTextCtrl_DelWordRightEnd, METH_O, NULL},
 
25825
         { (char *)"StyledTextCtrl_LineCut", (PyCFunction)_wrap_StyledTextCtrl_LineCut, METH_O, NULL},
 
25826
         { (char *)"StyledTextCtrl_LineDelete", (PyCFunction)_wrap_StyledTextCtrl_LineDelete, METH_O, NULL},
 
25827
         { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction)_wrap_StyledTextCtrl_LineTranspose, METH_O, NULL},
 
25828
         { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction)_wrap_StyledTextCtrl_LineDuplicate, METH_O, NULL},
 
25829
         { (char *)"StyledTextCtrl_LowerCase", (PyCFunction)_wrap_StyledTextCtrl_LowerCase, METH_O, NULL},
 
25830
         { (char *)"StyledTextCtrl_UpperCase", (PyCFunction)_wrap_StyledTextCtrl_UpperCase, METH_O, NULL},
 
25831
         { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction)_wrap_StyledTextCtrl_LineScrollDown, METH_O, NULL},
 
25832
         { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction)_wrap_StyledTextCtrl_LineScrollUp, METH_O, NULL},
 
25833
         { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction)_wrap_StyledTextCtrl_DeleteBackNotLine, METH_O, NULL},
 
25834
         { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplay, METH_O, NULL},
 
25835
         { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplayExtend, METH_O, NULL},
 
25836
         { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplay, METH_O, NULL},
 
25837
         { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplayExtend, METH_O, NULL},
 
25838
         { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction)_wrap_StyledTextCtrl_HomeWrap, METH_O, NULL},
 
25839
         { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeWrapExtend, METH_O, NULL},
 
25840
         { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrap, METH_O, NULL},
 
25841
         { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrapExtend, METH_O, NULL},
 
25842
         { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrap, METH_O, NULL},
 
25843
         { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrapExtend, METH_O, NULL},
 
25844
         { (char *)"StyledTextCtrl_LineCopy", (PyCFunction)_wrap_StyledTextCtrl_LineCopy, METH_O, NULL},
 
25845
         { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction)_wrap_StyledTextCtrl_MoveCaretInsideView, METH_O, NULL},
 
25846
         { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
 
25847
         { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
 
25848
         { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
 
25849
         { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
 
25850
         { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction)_wrap_StyledTextCtrl_GetViewEOL, METH_O, NULL},
 
25851
         { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
 
25852
         { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction)_wrap_StyledTextCtrl_GetDocPointer, METH_O, NULL},
 
25853
         { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
 
25854
         { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
 
25855
         { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColumn, METH_O, NULL},
 
25856
         { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
 
25857
         { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeMode, METH_O, NULL},
 
25858
         { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
 
25859
         { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColour, METH_O, NULL},
 
25860
         { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
25861
         { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction)_wrap_StyledTextCtrl_SearchAnchor, METH_O, NULL},
 
25862
         { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
 
25863
         { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
 
25864
         { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction)_wrap_StyledTextCtrl_LinesOnScreen, METH_O, NULL},
 
25865
         { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
 
25866
         { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction)_wrap_StyledTextCtrl_SelectionIsRectangle, METH_O, NULL},
 
25867
         { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
 
25868
         { (char *)"StyledTextCtrl_GetZoom", (PyCFunction)_wrap_StyledTextCtrl_GetZoom, METH_O, NULL},
 
25869
         { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction)_wrap_StyledTextCtrl_CreateDocument, METH_O, NULL},
 
25870
         { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
 
25871
         { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
 
25872
         { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction)_wrap_StyledTextCtrl_GetModEventMask, METH_O, NULL},
 
25873
         { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
 
25874
         { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction)_wrap_StyledTextCtrl_GetSTCFocus, METH_O, NULL},
 
25875
         { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
 
25876
         { (char *)"StyledTextCtrl_GetStatus", (PyCFunction)_wrap_StyledTextCtrl_GetStatus, METH_O, NULL},
 
25877
         { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
 
25878
         { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDownCaptures, METH_O, NULL},
 
25879
         { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
 
25880
         { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction)_wrap_StyledTextCtrl_GetSTCCursor, METH_O, NULL},
 
25881
         { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
 
25882
         { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction)_wrap_StyledTextCtrl_GetControlCharSymbol, METH_O, NULL},
 
25883
         { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeft, METH_O, NULL},
 
25884
         { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeftExtend, METH_O, NULL},
 
25885
         { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction)_wrap_StyledTextCtrl_WordPartRight, METH_O, NULL},
 
25886
         { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartRightExtend, METH_O, NULL},
 
25887
         { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
 
25888
         { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction)_wrap_StyledTextCtrl_DelLineLeft, METH_O, NULL},
 
25889
         { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction)_wrap_StyledTextCtrl_DelLineRight, METH_O, NULL},
 
25890
         { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
 
25891
         { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction)_wrap_StyledTextCtrl_GetXOffset, METH_O, NULL},
 
25892
         { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction)_wrap_StyledTextCtrl_ChooseCaretX, METH_O, NULL},
 
25893
         { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
 
25894
         { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
 
25895
         { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
 
25896
         { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintWrapMode, METH_O, NULL},
 
25897
         { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25898
         { (char *)"StyledTextCtrl_GetHotspotActiveForeground", (PyCFunction)_wrap_StyledTextCtrl_GetHotspotActiveForeground, METH_O, NULL},
 
25899
         { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
 
25900
         { (char *)"StyledTextCtrl_GetHotspotActiveBackground", (PyCFunction)_wrap_StyledTextCtrl_GetHotspotActiveBackground, METH_O, NULL},
 
25901
         { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
 
25902
         { (char *)"StyledTextCtrl_GetHotspotActiveUnderline", (PyCFunction)_wrap_StyledTextCtrl_GetHotspotActiveUnderline, METH_O, NULL},
 
25903
         { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
25904
         { (char *)"StyledTextCtrl_GetHotspotSingleLine", (PyCFunction)_wrap_StyledTextCtrl_GetHotspotSingleLine, METH_O, NULL},
 
25905
         { (char *)"StyledTextCtrl_ParaDown", (PyCFunction)_wrap_StyledTextCtrl_ParaDown, METH_O, NULL},
 
25906
         { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaDownExtend, METH_O, NULL},
 
25907
         { (char *)"StyledTextCtrl_ParaUp", (PyCFunction)_wrap_StyledTextCtrl_ParaUp, METH_O, NULL},
 
25908
         { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaUpExtend, METH_O, NULL},
 
25909
         { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
 
25910
         { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
 
25911
         { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
25912
         { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
 
25913
         { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
 
25914
         { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionMode, METH_O, NULL},
 
25915
         { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
25916
         { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
25917
         { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownRectExtend, METH_O, NULL},
 
25918
         { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpRectExtend, METH_O, NULL},
 
25919
         { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftRectExtend, METH_O, NULL},
 
25920
         { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightRectExtend, METH_O, NULL},
 
25921
         { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeRectExtend, METH_O, NULL},
 
25922
         { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeRectExtend, METH_O, NULL},
 
25923
         { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndRectExtend, METH_O, NULL},
 
25924
         { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpRectExtend, METH_O, NULL},
 
25925
         { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownRectExtend, METH_O, NULL},
 
25926
         { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUp, METH_O, NULL},
 
25927
         { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUpExtend, METH_O, NULL},
 
25928
         { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDown, METH_O, NULL},
 
25929
         { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDownExtend, METH_O, NULL},
 
25930
         { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEnd, METH_O, NULL},
 
25931
         { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEndExtend, METH_O, NULL},
 
25932
         { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction)_wrap_StyledTextCtrl_WordRightEnd, METH_O, NULL},
 
25933
         { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightEndExtend, METH_O, NULL},
 
25934
         { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
 
25935
         { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction)_wrap_StyledTextCtrl_SetCharsDefault, METH_O, NULL},
 
25936
         { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCurrent, METH_O, NULL},
 
25937
         { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
 
25938
         { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
 
25939
         { (char *)"StyledTextCtrl_GetCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_GetCaretSticky, METH_O, NULL},
 
25940
         { (char *)"StyledTextCtrl_SetCaretSticky", (PyCFunction) _wrap_StyledTextCtrl_SetCaretSticky, METH_VARARGS | METH_KEYWORDS, NULL},
 
25941
         { (char *)"StyledTextCtrl_ToggleCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_ToggleCaretSticky, METH_O, NULL},
 
25942
         { (char *)"StyledTextCtrl_SetPasteConvertEndings", (PyCFunction) _wrap_StyledTextCtrl_SetPasteConvertEndings, METH_VARARGS | METH_KEYWORDS, NULL},
 
25943
         { (char *)"StyledTextCtrl_GetPasteConvertEndings", (PyCFunction)_wrap_StyledTextCtrl_GetPasteConvertEndings, METH_O, NULL},
 
25944
         { (char *)"StyledTextCtrl_SelectionDuplicate", (PyCFunction)_wrap_StyledTextCtrl_SelectionDuplicate, METH_O, NULL},
 
25945
         { (char *)"StyledTextCtrl_SetCaretLineBackAlpha", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBackAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
 
25946
         { (char *)"StyledTextCtrl_GetCaretLineBackAlpha", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineBackAlpha, METH_O, NULL},
 
25947
         { (char *)"StyledTextCtrl_SetCaretStyle", (PyCFunction) _wrap_StyledTextCtrl_SetCaretStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
25948
         { (char *)"StyledTextCtrl_GetCaretStyle", (PyCFunction)_wrap_StyledTextCtrl_GetCaretStyle, METH_O, NULL},
 
25949
         { (char *)"StyledTextCtrl_SetIndicatorCurrent", (PyCFunction) _wrap_StyledTextCtrl_SetIndicatorCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
 
25950
         { (char *)"StyledTextCtrl_GetIndicatorCurrent", (PyCFunction)_wrap_StyledTextCtrl_GetIndicatorCurrent, METH_O, NULL},
 
25951
         { (char *)"StyledTextCtrl_SetIndicatorValue", (PyCFunction) _wrap_StyledTextCtrl_SetIndicatorValue, METH_VARARGS | METH_KEYWORDS, NULL},
 
25952
         { (char *)"StyledTextCtrl_GetIndicatorValue", (PyCFunction)_wrap_StyledTextCtrl_GetIndicatorValue, METH_O, NULL},
 
25953
         { (char *)"StyledTextCtrl_IndicatorFillRange", (PyCFunction) _wrap_StyledTextCtrl_IndicatorFillRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
25954
         { (char *)"StyledTextCtrl_IndicatorClearRange", (PyCFunction) _wrap_StyledTextCtrl_IndicatorClearRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
25955
         { (char *)"StyledTextCtrl_IndicatorAllOnFor", (PyCFunction) _wrap_StyledTextCtrl_IndicatorAllOnFor, METH_VARARGS | METH_KEYWORDS, NULL},
 
25956
         { (char *)"StyledTextCtrl_IndicatorValueAt", (PyCFunction) _wrap_StyledTextCtrl_IndicatorValueAt, METH_VARARGS | METH_KEYWORDS, NULL},
 
25957
         { (char *)"StyledTextCtrl_IndicatorStart", (PyCFunction) _wrap_StyledTextCtrl_IndicatorStart, METH_VARARGS | METH_KEYWORDS, NULL},
 
25958
         { (char *)"StyledTextCtrl_IndicatorEnd", (PyCFunction) _wrap_StyledTextCtrl_IndicatorEnd, METH_VARARGS | METH_KEYWORDS, NULL},
 
25959
         { (char *)"StyledTextCtrl_SetPositionCacheSize", (PyCFunction) _wrap_StyledTextCtrl_SetPositionCacheSize, METH_VARARGS | METH_KEYWORDS, NULL},
 
25960
         { (char *)"StyledTextCtrl_GetPositionCacheSize", (PyCFunction)_wrap_StyledTextCtrl_GetPositionCacheSize, METH_O, NULL},
 
25961
         { (char *)"StyledTextCtrl_CopyAllowLine", (PyCFunction)_wrap_StyledTextCtrl_CopyAllowLine, METH_O, NULL},
 
25962
         { (char *)"StyledTextCtrl_SetKeysUnicode", (PyCFunction) _wrap_StyledTextCtrl_SetKeysUnicode, METH_VARARGS | METH_KEYWORDS, NULL},
 
25963
         { (char *)"StyledTextCtrl_GetKeysUnicode", (PyCFunction)_wrap_StyledTextCtrl_GetKeysUnicode, METH_O, NULL},
 
25964
         { (char *)"StyledTextCtrl_IndicatorSetAlpha", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
 
25965
         { (char *)"StyledTextCtrl_IndicatorGetAlpha", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
 
25966
         { (char *)"StyledTextCtrl_SetExtraAscent", (PyCFunction) _wrap_StyledTextCtrl_SetExtraAscent, METH_VARARGS | METH_KEYWORDS, NULL},
 
25967
         { (char *)"StyledTextCtrl_GetExtraAscent", (PyCFunction)_wrap_StyledTextCtrl_GetExtraAscent, METH_O, NULL},
 
25968
         { (char *)"StyledTextCtrl_SetExtraDescent", (PyCFunction) _wrap_StyledTextCtrl_SetExtraDescent, METH_VARARGS | METH_KEYWORDS, NULL},
 
25969
         { (char *)"StyledTextCtrl_GetExtraDescent", (PyCFunction)_wrap_StyledTextCtrl_GetExtraDescent, METH_O, NULL},
 
25970
         { (char *)"StyledTextCtrl_GetMarkerSymbolDefined", (PyCFunction) _wrap_StyledTextCtrl_GetMarkerSymbolDefined, METH_VARARGS | METH_KEYWORDS, NULL},
 
25971
         { (char *)"StyledTextCtrl_MarginSetText", (PyCFunction) _wrap_StyledTextCtrl_MarginSetText, METH_VARARGS | METH_KEYWORDS, NULL},
 
25972
         { (char *)"StyledTextCtrl_MarginGetText", (PyCFunction) _wrap_StyledTextCtrl_MarginGetText, METH_VARARGS | METH_KEYWORDS, NULL},
 
25973
         { (char *)"StyledTextCtrl_MarginSetStyle", (PyCFunction) _wrap_StyledTextCtrl_MarginSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
25974
         { (char *)"StyledTextCtrl_MarginGetStyle", (PyCFunction) _wrap_StyledTextCtrl_MarginGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
25975
         { (char *)"StyledTextCtrl_MarginSetStyles", (PyCFunction) _wrap_StyledTextCtrl_MarginSetStyles, METH_VARARGS | METH_KEYWORDS, NULL},
 
25976
         { (char *)"StyledTextCtrl_MarginGetStyles", (PyCFunction) _wrap_StyledTextCtrl_MarginGetStyles, METH_VARARGS | METH_KEYWORDS, NULL},
 
25977
         { (char *)"StyledTextCtrl_MarginTextClearAll", (PyCFunction)_wrap_StyledTextCtrl_MarginTextClearAll, METH_O, NULL},
 
25978
         { (char *)"StyledTextCtrl_MarginSetStyleOffset", (PyCFunction) _wrap_StyledTextCtrl_MarginSetStyleOffset, METH_VARARGS | METH_KEYWORDS, NULL},
 
25979
         { (char *)"StyledTextCtrl_MarginGetStyleOffset", (PyCFunction)_wrap_StyledTextCtrl_MarginGetStyleOffset, METH_O, NULL},
 
25980
         { (char *)"StyledTextCtrl_AnnotationSetText", (PyCFunction) _wrap_StyledTextCtrl_AnnotationSetText, METH_VARARGS | METH_KEYWORDS, NULL},
 
25981
         { (char *)"StyledTextCtrl_AnnotationGetText", (PyCFunction) _wrap_StyledTextCtrl_AnnotationGetText, METH_VARARGS | METH_KEYWORDS, NULL},
 
25982
         { (char *)"StyledTextCtrl_AnnotationSetStyle", (PyCFunction) _wrap_StyledTextCtrl_AnnotationSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
25983
         { (char *)"StyledTextCtrl_AnnotationGetStyle", (PyCFunction) _wrap_StyledTextCtrl_AnnotationGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
25984
         { (char *)"StyledTextCtrl_AnnotationSetStyles", (PyCFunction) _wrap_StyledTextCtrl_AnnotationSetStyles, METH_VARARGS | METH_KEYWORDS, NULL},
 
25985
         { (char *)"StyledTextCtrl_AnnotationGetStyles", (PyCFunction) _wrap_StyledTextCtrl_AnnotationGetStyles, METH_VARARGS | METH_KEYWORDS, NULL},
 
25986
         { (char *)"StyledTextCtrl_AnnotationGetLines", (PyCFunction) _wrap_StyledTextCtrl_AnnotationGetLines, METH_VARARGS | METH_KEYWORDS, NULL},
 
25987
         { (char *)"StyledTextCtrl_AnnotationClearAll", (PyCFunction)_wrap_StyledTextCtrl_AnnotationClearAll, METH_O, NULL},
 
25988
         { (char *)"StyledTextCtrl_AnnotationSetVisible", (PyCFunction) _wrap_StyledTextCtrl_AnnotationSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
25989
         { (char *)"StyledTextCtrl_AnnotationGetVisible", (PyCFunction)_wrap_StyledTextCtrl_AnnotationGetVisible, METH_O, NULL},
 
25990
         { (char *)"StyledTextCtrl_AnnotationSetStyleOffset", (PyCFunction) _wrap_StyledTextCtrl_AnnotationSetStyleOffset, METH_VARARGS | METH_KEYWORDS, NULL},
 
25991
         { (char *)"StyledTextCtrl_AnnotationGetStyleOffset", (PyCFunction)_wrap_StyledTextCtrl_AnnotationGetStyleOffset, METH_O, NULL},
 
25992
         { (char *)"StyledTextCtrl_AddUndoAction", (PyCFunction) _wrap_StyledTextCtrl_AddUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
 
25993
         { (char *)"StyledTextCtrl_CharPositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_CharPositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
 
25994
         { (char *)"StyledTextCtrl_CharPositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_CharPositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
 
25995
         { (char *)"StyledTextCtrl_SetMultipleSelection", (PyCFunction) _wrap_StyledTextCtrl_SetMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
 
25996
         { (char *)"StyledTextCtrl_GetMultipleSelection", (PyCFunction)_wrap_StyledTextCtrl_GetMultipleSelection, METH_O, NULL},
 
25997
         { (char *)"StyledTextCtrl_SetAdditionalSelectionTyping", (PyCFunction) _wrap_StyledTextCtrl_SetAdditionalSelectionTyping, METH_VARARGS | METH_KEYWORDS, NULL},
 
25998
         { (char *)"StyledTextCtrl_GetAdditionalSelectionTyping", (PyCFunction)_wrap_StyledTextCtrl_GetAdditionalSelectionTyping, METH_O, NULL},
 
25999
         { (char *)"StyledTextCtrl_SetAdditionalCaretsBlink", (PyCFunction) _wrap_StyledTextCtrl_SetAdditionalCaretsBlink, METH_VARARGS | METH_KEYWORDS, NULL},
 
26000
         { (char *)"StyledTextCtrl_GetAdditionalCaretsBlink", (PyCFunction)_wrap_StyledTextCtrl_GetAdditionalCaretsBlink, METH_O, NULL},
 
26001
         { (char *)"StyledTextCtrl_SetAdditionalCaretsVisible", (PyCFunction) _wrap_StyledTextCtrl_SetAdditionalCaretsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
26002
         { (char *)"StyledTextCtrl_GetAdditionalCaretsVisible", (PyCFunction)_wrap_StyledTextCtrl_GetAdditionalCaretsVisible, METH_O, NULL},
 
26003
         { (char *)"StyledTextCtrl_GetSelections", (PyCFunction)_wrap_StyledTextCtrl_GetSelections, METH_O, NULL},
 
26004
         { (char *)"StyledTextCtrl_ClearSelections", (PyCFunction)_wrap_StyledTextCtrl_ClearSelections, METH_O, NULL},
 
26005
         { (char *)"StyledTextCtrl_AddSelection", (PyCFunction) _wrap_StyledTextCtrl_AddSelection, METH_VARARGS | METH_KEYWORDS, NULL},
 
26006
         { (char *)"StyledTextCtrl_SetMainSelection", (PyCFunction) _wrap_StyledTextCtrl_SetMainSelection, METH_VARARGS | METH_KEYWORDS, NULL},
 
26007
         { (char *)"StyledTextCtrl_GetMainSelection", (PyCFunction)_wrap_StyledTextCtrl_GetMainSelection, METH_O, NULL},
 
26008
         { (char *)"StyledTextCtrl_SetSelectionNCaret", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionNCaret, METH_VARARGS | METH_KEYWORDS, NULL},
 
26009
         { (char *)"StyledTextCtrl_GetSelectionNCaret", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionNCaret, METH_VARARGS | METH_KEYWORDS, NULL},
 
26010
         { (char *)"StyledTextCtrl_SetSelectionNAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionNAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
 
26011
         { (char *)"StyledTextCtrl_GetSelectionNAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionNAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
 
26012
         { (char *)"StyledTextCtrl_SetSelectionNCaretVirtualSpace", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionNCaretVirtualSpace, METH_VARARGS | METH_KEYWORDS, NULL},
 
26013
         { (char *)"StyledTextCtrl_GetSelectionNCaretVirtualSpace", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionNCaretVirtualSpace, METH_VARARGS | METH_KEYWORDS, NULL},
 
26014
         { (char *)"StyledTextCtrl_SetSelectionNAnchorVirtualSpace", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionNAnchorVirtualSpace, METH_VARARGS | METH_KEYWORDS, NULL},
 
26015
         { (char *)"StyledTextCtrl_GetSelectionNAnchorVirtualSpace", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionNAnchorVirtualSpace, METH_VARARGS | METH_KEYWORDS, NULL},
 
26016
         { (char *)"StyledTextCtrl_SetSelectionNStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionNStart, METH_VARARGS | METH_KEYWORDS, NULL},
 
26017
         { (char *)"StyledTextCtrl_GetSelectionNStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionNStart, METH_VARARGS | METH_KEYWORDS, NULL},
 
26018
         { (char *)"StyledTextCtrl_SetSelectionNEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionNEnd, METH_VARARGS | METH_KEYWORDS, NULL},
 
26019
         { (char *)"StyledTextCtrl_GetSelectionNEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionNEnd, METH_VARARGS | METH_KEYWORDS, NULL},
 
26020
         { (char *)"StyledTextCtrl_SetRectangularSelectionCaret", (PyCFunction) _wrap_StyledTextCtrl_SetRectangularSelectionCaret, METH_VARARGS | METH_KEYWORDS, NULL},
 
26021
         { (char *)"StyledTextCtrl_GetRectangularSelectionCaret", (PyCFunction)_wrap_StyledTextCtrl_GetRectangularSelectionCaret, METH_O, NULL},
 
26022
         { (char *)"StyledTextCtrl_SetRectangularSelectionAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetRectangularSelectionAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
 
26023
         { (char *)"StyledTextCtrl_GetRectangularSelectionAnchor", (PyCFunction)_wrap_StyledTextCtrl_GetRectangularSelectionAnchor, METH_O, NULL},
 
26024
         { (char *)"StyledTextCtrl_SetRectangularSelectionCaretVirtualSpace", (PyCFunction) _wrap_StyledTextCtrl_SetRectangularSelectionCaretVirtualSpace, METH_VARARGS | METH_KEYWORDS, NULL},
 
26025
         { (char *)"StyledTextCtrl_GetRectangularSelectionCaretVirtualSpace", (PyCFunction)_wrap_StyledTextCtrl_GetRectangularSelectionCaretVirtualSpace, METH_O, NULL},
 
26026
         { (char *)"StyledTextCtrl_SetRectangularSelectionAnchorVirtualSpace", (PyCFunction) _wrap_StyledTextCtrl_SetRectangularSelectionAnchorVirtualSpace, METH_VARARGS | METH_KEYWORDS, NULL},
 
26027
         { (char *)"StyledTextCtrl_GetRectangularSelectionAnchorVirtualSpace", (PyCFunction)_wrap_StyledTextCtrl_GetRectangularSelectionAnchorVirtualSpace, METH_O, NULL},
 
26028
         { (char *)"StyledTextCtrl_SetVirtualSpaceOptions", (PyCFunction) _wrap_StyledTextCtrl_SetVirtualSpaceOptions, METH_VARARGS | METH_KEYWORDS, NULL},
 
26029
         { (char *)"StyledTextCtrl_GetVirtualSpaceOptions", (PyCFunction)_wrap_StyledTextCtrl_GetVirtualSpaceOptions, METH_O, NULL},
 
26030
         { (char *)"StyledTextCtrl_SetRectangularSelectionModifier", (PyCFunction) _wrap_StyledTextCtrl_SetRectangularSelectionModifier, METH_VARARGS | METH_KEYWORDS, NULL},
 
26031
         { (char *)"StyledTextCtrl_GetRectangularSelectionModifier", (PyCFunction)_wrap_StyledTextCtrl_GetRectangularSelectionModifier, METH_O, NULL},
 
26032
         { (char *)"StyledTextCtrl_SetAdditionalSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetAdditionalSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
 
26033
         { (char *)"StyledTextCtrl_SetAdditionalSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetAdditionalSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
 
26034
         { (char *)"StyledTextCtrl_SetAdditionalSelAlpha", (PyCFunction) _wrap_StyledTextCtrl_SetAdditionalSelAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
 
26035
         { (char *)"StyledTextCtrl_GetAdditionalSelAlpha", (PyCFunction)_wrap_StyledTextCtrl_GetAdditionalSelAlpha, METH_O, NULL},
 
26036
         { (char *)"StyledTextCtrl_SetAdditionalCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetAdditionalCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
 
26037
         { (char *)"StyledTextCtrl_GetAdditionalCaretForeground", (PyCFunction)_wrap_StyledTextCtrl_GetAdditionalCaretForeground, METH_O, NULL},
 
26038
         { (char *)"StyledTextCtrl_RotateSelection", (PyCFunction)_wrap_StyledTextCtrl_RotateSelection, METH_O, NULL},
 
26039
         { (char *)"StyledTextCtrl_SwapMainAnchorCaret", (PyCFunction)_wrap_StyledTextCtrl_SwapMainAnchorCaret, METH_O, NULL},
 
26040
         { (char *)"StyledTextCtrl_StartRecord", (PyCFunction)_wrap_StyledTextCtrl_StartRecord, METH_O, NULL},
 
26041
         { (char *)"StyledTextCtrl_StopRecord", (PyCFunction)_wrap_StyledTextCtrl_StopRecord, METH_O, NULL},
 
26042
         { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
 
26043
         { (char *)"StyledTextCtrl_GetLexer", (PyCFunction)_wrap_StyledTextCtrl_GetLexer, METH_O, NULL},
 
26044
         { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
 
26045
         { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
 
26046
         { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
 
26047
         { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
 
26048
         { (char *)"StyledTextCtrl_GetProperty", (PyCFunction) _wrap_StyledTextCtrl_GetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
 
26049
         { (char *)"StyledTextCtrl_GetPropertyExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
 
26050
         { (char *)"StyledTextCtrl_GetPropertyInt", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyInt, METH_VARARGS | METH_KEYWORDS, NULL},
 
26051
         { (char *)"StyledTextCtrl_GetStyleBitsNeeded", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBitsNeeded, METH_O, NULL},
 
26052
         { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentLine, METH_O, NULL},
 
26053
         { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
 
26054
         { (char *)"StyledTextCtrl_StyleGetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleGetFont, METH_VARARGS | METH_KEYWORDS, NULL},
 
26055
         { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
 
26056
         { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
 
26057
         { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
 
26058
         { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
 
26059
         { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
 
26060
         { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
 
26061
         { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26062
         { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
26063
         { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
 
26064
         { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
 
26065
         { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
 
26066
         { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
 
26067
         { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction)_wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_O, NULL},
 
26068
         { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
 
26069
         { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
 
26070
         { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
 
26071
         { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
 
26072
         { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction)_wrap_StyledTextCtrl_GetUseAntiAliasing, METH_O, NULL},
 
26073
         { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
 
26074
         { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
 
26075
         { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction)_wrap_StyledTextCtrl_GetCurLineRaw, METH_O, NULL},
 
26076
         { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
 
26077
         { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedTextRaw, METH_O, NULL},
 
26078
         { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL},
 
26079
         { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
 
26080
         { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetTextRaw, METH_O, NULL},
 
26081
         { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
 
26082
         { (char *)"StyledTextCtrl_PositionToXY", (PyCFunction) _wrap_StyledTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
 
26083
         { (char *)"StyledTextCtrl_GetLibraryVersionInfo", (PyCFunction)_wrap_StyledTextCtrl_GetLibraryVersionInfo, METH_NOARGS, NULL},
 
26084
         { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
 
26085
         { (char *)"StyledTextCtrl_swiginit", StyledTextCtrl_swiginit, METH_VARARGS, NULL},
 
26086
         { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
 
26087
         { (char *)"delete_StyledTextEvent", (PyCFunction)_wrap_delete_StyledTextEvent, METH_O, NULL},
 
26088
         { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26089
         { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
 
26090
         { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
 
26091
         { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
 
26092
         { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
 
26093
         { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
 
26094
         { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
 
26095
         { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
26096
         { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
 
26097
         { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
 
26098
         { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
 
26099
         { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
 
26100
         { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
 
26101
         { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
 
26102
         { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
 
26103
         { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
 
26104
         { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
 
26105
         { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
 
26106
         { (char *)"StyledTextEvent_SetDragFlags", (PyCFunction) _wrap_StyledTextEvent_SetDragFlags, METH_VARARGS | METH_KEYWORDS, NULL},
 
26107
         { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
 
26108
         { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
 
26109
         { (char *)"StyledTextEvent_GetPosition", (PyCFunction)_wrap_StyledTextEvent_GetPosition, METH_O, NULL},
 
26110
         { (char *)"StyledTextEvent_GetKey", (PyCFunction)_wrap_StyledTextEvent_GetKey, METH_O, NULL},
 
26111
         { (char *)"StyledTextEvent_GetModifiers", (PyCFunction)_wrap_StyledTextEvent_GetModifiers, METH_O, NULL},
 
26112
         { (char *)"StyledTextEvent_GetModificationType", (PyCFunction)_wrap_StyledTextEvent_GetModificationType, METH_O, NULL},
 
26113
         { (char *)"StyledTextEvent_GetText", (PyCFunction)_wrap_StyledTextEvent_GetText, METH_O, NULL},
 
26114
         { (char *)"StyledTextEvent_GetLength", (PyCFunction)_wrap_StyledTextEvent_GetLength, METH_O, NULL},
 
26115
         { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction)_wrap_StyledTextEvent_GetLinesAdded, METH_O, NULL},
 
26116
         { (char *)"StyledTextEvent_GetLine", (PyCFunction)_wrap_StyledTextEvent_GetLine, METH_O, NULL},
 
26117
         { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelNow, METH_O, NULL},
 
26118
         { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelPrev, METH_O, NULL},
 
26119
         { (char *)"StyledTextEvent_GetMargin", (PyCFunction)_wrap_StyledTextEvent_GetMargin, METH_O, NULL},
 
26120
         { (char *)"StyledTextEvent_GetMessage", (PyCFunction)_wrap_StyledTextEvent_GetMessage, METH_O, NULL},
 
26121
         { (char *)"StyledTextEvent_GetWParam", (PyCFunction)_wrap_StyledTextEvent_GetWParam, METH_O, NULL},
 
26122
         { (char *)"StyledTextEvent_GetLParam", (PyCFunction)_wrap_StyledTextEvent_GetLParam, METH_O, NULL},
 
26123
         { (char *)"StyledTextEvent_GetListType", (PyCFunction)_wrap_StyledTextEvent_GetListType, METH_O, NULL},
 
26124
         { (char *)"StyledTextEvent_GetX", (PyCFunction)_wrap_StyledTextEvent_GetX, METH_O, NULL},
 
26125
         { (char *)"StyledTextEvent_GetY", (PyCFunction)_wrap_StyledTextEvent_GetY, METH_O, NULL},
 
26126
         { (char *)"StyledTextEvent_GetDragText", (PyCFunction)_wrap_StyledTextEvent_GetDragText, METH_O, NULL},
 
26127
         { (char *)"StyledTextEvent_GetDragFlags", (PyCFunction)_wrap_StyledTextEvent_GetDragFlags, METH_O, NULL},
 
26128
         { (char *)"StyledTextEvent_GetDragResult", (PyCFunction)_wrap_StyledTextEvent_GetDragResult, METH_O, NULL},
 
26129
         { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction)_wrap_StyledTextEvent_GetDragAllowMove, METH_O, NULL},
 
26130
         { (char *)"StyledTextEvent_GetShift", (PyCFunction)_wrap_StyledTextEvent_GetShift, METH_O, NULL},
 
26131
         { (char *)"StyledTextEvent_GetControl", (PyCFunction)_wrap_StyledTextEvent_GetControl, METH_O, NULL},
 
26132
         { (char *)"StyledTextEvent_GetAlt", (PyCFunction)_wrap_StyledTextEvent_GetAlt, METH_O, NULL},
 
26133
         { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
 
26134
         { (char *)"StyledTextEvent_swiginit", StyledTextEvent_swiginit, METH_VARARGS, NULL},
 
26135
         { NULL, NULL, 0, NULL }
 
26136
};
 
26137
 
 
26138
 
 
26139
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
 
26140
 
 
26141
static void *_p_wxStyledTextCtrlTo_p_wxTextCtrlIface(void *x) {
 
26142
    return (void *)((wxTextCtrlIface *)  ((wxStyledTextCtrl *) x));
 
26143
}
 
26144
static void *_p_wxControlTo_p_wxWindow(void *x) {
 
26145
    return (void *)((wxWindow *)  ((wxControl *) x));
 
26146
}
 
26147
static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
 
26148
    return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
 
26149
}
 
26150
static void *_p_wxTextCtrlBaseTo_p_wxWindow(void *x) {
 
26151
    return (void *)((wxWindow *) (wxControl *) ((wxTextCtrlBase *) x));
 
26152
}
 
26153
static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
 
26154
    return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
 
26155
}
 
26156
static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
 
26157
    return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
 
26158
}
 
26159
static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
 
26160
    return (void *)((wxWindow *)  ((wxMenuBar *) x));
 
26161
}
 
26162
static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
 
26163
    return (void *)((wxControl *)  ((wxControlWithItems *) x));
 
26164
}
 
26165
static void *_p_wxTextCtrlBaseTo_p_wxControl(void *x) {
 
26166
    return (void *)((wxControl *)  ((wxTextCtrlBase *) x));
 
26167
}
 
26168
static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
 
26169
    return (void *)((wxControl *)  ((wxBookCtrlBase *) x));
 
26170
}
 
26171
static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
 
26172
    return (void *)((wxControl *)  ((wxStyledTextCtrl *) x));
 
26173
}
 
26174
static void *_p_wxTextCtrlBaseTo_p_wxTextAreaBase(void *x) {
 
26175
    return (void *)((wxTextAreaBase *)  ((wxTextCtrlBase *) x));
 
26176
}
 
26177
static void *_p_wxStyledTextCtrlTo_p_wxTextAreaBase(void *x) {
 
26178
    return (void *)((wxTextAreaBase *) (wxTextCtrlIface *) ((wxStyledTextCtrl *) x));
 
26179
}
 
26180
static void *_p_wxTextCtrlIfaceTo_p_wxTextAreaBase(void *x) {
 
26181
    return (void *)((wxTextAreaBase *)  ((wxTextCtrlIface *) x));
 
26182
}
 
26183
static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
 
26184
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
 
26185
}
 
26186
static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
 
26187
    return (void *)((wxEvent *)  ((wxMenuEvent *) x));
 
26188
}
 
26189
static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
 
26190
    return (void *)((wxEvent *)  ((wxCloseEvent *) x));
 
26191
}
 
26192
static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
 
26193
    return (void *)((wxEvent *)  ((wxMouseEvent *) x));
 
26194
}
 
26195
static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
 
26196
    return (void *)((wxEvent *)  ((wxEraseEvent *) x));
 
26197
}
 
26198
static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
 
26199
    return (void *)((wxEvent *)  ((wxSetCursorEvent *) x));
 
26200
}
 
26201
static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
 
26202
    return (void *)((wxEvent *)  ((wxTimerEvent *) x));
 
26203
}
 
26204
static void *_p_wxPowerEventTo_p_wxEvent(void *x) {
 
26205
    return (void *)((wxEvent *)  ((wxPowerEvent *) x));
 
26206
}
 
26207
static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
 
26208
    return (void *)((wxEvent *)  ((wxInitDialogEvent *) x));
 
26209
}
 
26210
static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
 
26211
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
 
26212
}
 
26213
static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
 
26214
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
 
26215
}
 
26216
static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
 
26217
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
 
26218
}
 
26219
static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
 
26220
    return (void *)((wxEvent *)  ((wxMouseCaptureLostEvent *) x));
 
26221
}
 
26222
static void *_p_wxPyEventTo_p_wxEvent(void *x) {
 
26223
    return (void *)((wxEvent *)  ((wxPyEvent *) x));
 
26224
}
 
26225
static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
 
26226
    return (void *)((wxEvent *)  ((wxJoystickEvent *) x));
 
26227
}
 
26228
static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
 
26229
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
 
26230
}
 
26231
static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
 
26232
    return (void *)((wxEvent *)  ((wxQueryNewPaletteEvent *) x));
 
26233
}
 
26234
static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
 
26235
    return (void *)((wxEvent *)  ((wxMaximizeEvent *) x));
 
26236
}
 
26237
static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
 
26238
    return (void *)((wxEvent *)  ((wxIconizeEvent *) x));
 
26239
}
 
26240
static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
 
26241
    return (void *)((wxEvent *)  ((wxActivateEvent *) x));
 
26242
}
 
26243
static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
 
26244
    return (void *)((wxEvent *)  ((wxSizeEvent *) x));
 
26245
}
 
26246
static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
 
26247
    return (void *)((wxEvent *)  ((wxMoveEvent *) x));
 
26248
}
 
26249
static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
 
26250
    return (void *)((wxEvent *)  ((wxIdleEvent *) x));
 
26251
}
 
26252
static void *_p_wxDateEventTo_p_wxEvent(void *x) {
 
26253
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
 
26254
}
 
26255
static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
 
26256
    return (void *)((wxEvent *)  ((wxPaintEvent *) x));
 
26257
}
 
26258
static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
 
26259
    return (void *)((wxEvent *)  ((wxNcPaintEvent *) x));
 
26260
}
 
26261
static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
 
26262
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
 
26263
}
 
26264
static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
 
26265
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
 
26266
}
 
26267
static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
 
26268
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
 
26269
}
 
26270
static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
 
26271
    return (void *)((wxEvent *)  ((wxPaletteChangedEvent *) x));
 
26272
}
 
26273
static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
 
26274
    return (void *)((wxEvent *)  ((wxDisplayChangedEvent *) x));
 
26275
}
 
26276
static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
 
26277
    return (void *)((wxEvent *)  ((wxMouseCaptureChangedEvent *) x));
 
26278
}
 
26279
static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
 
26280
    return (void *)((wxEvent *)  ((wxSysColourChangedEvent *) x));
 
26281
}
 
26282
static void *_p_wxThreadEventTo_p_wxEvent(void *x) {
 
26283
    return (void *)((wxEvent *)  ((wxThreadEvent *) x));
 
26284
}
 
26285
static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
 
26286
    return (void *)((wxEvent *)  ((wxDropFilesEvent *) x));
 
26287
}
 
26288
static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
 
26289
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
 
26290
}
 
26291
static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
 
26292
    return (void *)((wxEvent *)  ((wxFocusEvent *) x));
 
26293
}
 
26294
static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
 
26295
    return (void *)((wxEvent *)  ((wxProcessEvent *) x));
 
26296
}
 
26297
static void *_p_wxShowEventTo_p_wxEvent(void *x) {
 
26298
    return (void *)((wxEvent *)  ((wxShowEvent *) x));
 
26299
}
 
26300
static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
 
26301
    return (void *)((wxEvent *)  ((wxCommandEvent *) x));
 
26302
}
 
26303
static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
 
26304
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
 
26305
}
 
26306
static void *_p_wxClipboardEventTo_p_wxEvent(void *x) {
 
26307
    return (void *)((wxEvent *)  ((wxClipboardEvent *) x));
 
26308
}
 
26309
static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
 
26310
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
 
26311
}
 
26312
static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
 
26313
    return (void *)((wxEvent *)  ((wxNavigationKeyEvent *) x));
 
26314
}
 
26315
static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
 
26316
    return (void *)((wxEvent *)  ((wxKeyEvent *) x));
 
26317
}
 
26318
static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
 
26319
    return (void *)((wxEvent *)  ((wxScrollWinEvent *) x));
 
26320
}
 
26321
static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
 
26322
    return (void *)((wxObject *)  ((wxLayoutConstraints *) x));
 
26323
}
 
26324
static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
 
26325
    return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
 
26326
}
 
26327
static void *_p_wxSizerItemTo_p_wxObject(void *x) {
 
26328
    return (void *)((wxObject *)  ((wxSizerItem *) x));
 
26329
}
 
26330
static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
 
26331
    return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
 
26332
}
 
26333
static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
 
26334
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
 
26335
}
 
26336
static void *_p_wxScrollEventTo_p_wxObject(void *x) {
 
26337
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
 
26338
}
 
26339
static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
 
26340
    return (void *)((wxObject *)  ((wxIndividualLayoutConstraint *) x));
 
26341
}
 
26342
static void *_p_wxSizerTo_p_wxObject(void *x) {
 
26343
    return (void *)((wxObject *)  ((wxSizer *) x));
 
26344
}
 
26345
static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
 
26346
    return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
 
26347
}
 
26348
static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
 
26349
    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
 
26350
}
 
26351
static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
 
26352
    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
 
26353
}
 
26354
static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
 
26355
    return (void *)((wxObject *)  ((wxFileHistory *) x));
 
26356
}
 
26357
static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
 
26358
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
 
26359
}
 
26360
static void *_p_wxEventTo_p_wxObject(void *x) {
 
26361
    return (void *)((wxObject *)  ((wxEvent *) x));
 
26362
}
 
26363
static void *_p_wxGridSizerTo_p_wxObject(void *x) {
 
26364
    return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
 
26365
}
 
26366
static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
 
26367
    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
 
26368
}
 
26369
static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
 
26370
    return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
 
26371
}
 
26372
static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
 
26373
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
 
26374
}
 
26375
static void *_p_wxPaintEventTo_p_wxObject(void *x) {
 
26376
    return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
 
26377
}
 
26378
static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
 
26379
    return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
 
26380
}
 
26381
static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
 
26382
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
 
26383
}
 
26384
static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
 
26385
    return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
 
26386
}
 
26387
static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
 
26388
    return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
 
26389
}
 
26390
static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
 
26391
    return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
 
26392
}
 
26393
static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
 
26394
    return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
 
26395
}
 
26396
static void *_p_wxThreadEventTo_p_wxObject(void *x) {
 
26397
    return (void *)((wxObject *) (wxEvent *) ((wxThreadEvent *) x));
 
26398
}
 
26399
static void *_p_wxControlTo_p_wxObject(void *x) {
 
26400
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
 
26401
}
 
26402
static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
 
26403
    return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
 
26404
}
 
26405
static void *_p_wxTimerEventTo_p_wxObject(void *x) {
 
26406
    return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
 
26407
}
 
26408
static void *_p_wxPowerEventTo_p_wxObject(void *x) {
 
26409
    return (void *)((wxObject *) (wxEvent *) ((wxPowerEvent *) x));
 
26410
}
 
26411
static void *_p_wxFSFileTo_p_wxObject(void *x) {
 
26412
    return (void *)((wxObject *)  ((wxFSFile *) x));
 
26413
}
 
26414
static void *_p_wxClipboardTo_p_wxObject(void *x) {
 
26415
    return (void *)((wxObject *)  ((wxClipboard *) x));
 
26416
}
 
26417
static void *_p_wxPySizerTo_p_wxObject(void *x) {
 
26418
    return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
 
26419
}
 
26420
static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
 
26421
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
 
26422
}
 
26423
static void *_p_wxPyEventTo_p_wxObject(void *x) {
 
26424
    return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
 
26425
}
 
26426
static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
 
26427
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
 
26428
}
 
26429
static void *_p_wxShowEventTo_p_wxObject(void *x) {
 
26430
    return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
 
26431
}
 
26432
static void *_p_wxToolTipTo_p_wxObject(void *x) {
 
26433
    return (void *)((wxObject *)  ((wxToolTip *) x));
 
26434
}
 
26435
static void *_p_wxMenuItemTo_p_wxObject(void *x) {
 
26436
    return (void *)((wxObject *)  ((wxMenuItem *) x));
 
26437
}
 
26438
static void *_p_wxDateEventTo_p_wxObject(void *x) {
 
26439
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
 
26440
}
 
26441
static void *_p_wxIdleEventTo_p_wxObject(void *x) {
 
26442
    return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
 
26443
}
 
26444
static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
 
26445
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
 
26446
}
 
26447
static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
 
26448
    return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
 
26449
}
 
26450
static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
 
26451
    return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
 
26452
}
 
26453
static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
 
26454
    return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
 
26455
}
 
26456
static void *_p_wxActivateEventTo_p_wxObject(void *x) {
 
26457
    return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
 
26458
}
 
26459
static void *_p_wxSizeEventTo_p_wxObject(void *x) {
 
26460
    return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
 
26461
}
 
26462
static void *_p_wxMoveEventTo_p_wxObject(void *x) {
 
26463
    return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
 
26464
}
 
26465
static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
 
26466
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
 
26467
}
 
26468
static void *_p_wxTextCtrlBaseTo_p_wxObject(void *x) {
 
26469
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrlBase *) x));
 
26470
}
 
26471
static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
 
26472
    return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
 
26473
}
 
26474
static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
 
26475
    return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
 
26476
}
 
26477
static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
 
26478
    return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
 
26479
}
 
26480
static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
 
26481
    return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
 
26482
}
 
26483
static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
 
26484
    return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
 
26485
}
 
26486
static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
 
26487
    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
 
26488
}
 
26489
static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
 
26490
    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
 
26491
}
 
26492
static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
 
26493
    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
 
26494
}
 
26495
static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
 
26496
    return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
 
26497
}
 
26498
static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
 
26499
    return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
 
26500
}
 
26501
static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
 
26502
    return (void *)((wxObject *)  ((wxImageHandler *) x));
 
26503
}
 
26504
static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
 
26505
    return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
 
26506
}
 
26507
static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
 
26508
    return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
 
26509
}
 
26510
static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
 
26511
    return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
 
26512
}
 
26513
static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
 
26514
    return (void *)((wxObject *)  ((wxEvtHandler *) x));
 
26515
}
 
26516
static void *_p_wxPyEvtHandlerTo_p_wxObject(void *x) {
 
26517
    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyEvtHandler *) x));
 
26518
}
 
26519
static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
 
26520
    return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
 
26521
}
 
26522
static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
 
26523
    return (void *)((wxObject *)  ((wxAcceleratorTable *) x));
 
26524
}
 
26525
static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
 
26526
    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
 
26527
}
 
26528
static void *_p_wxImageTo_p_wxObject(void *x) {
 
26529
    return (void *)((wxObject *)  ((wxImage *) x));
 
26530
}
 
26531
static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
 
26532
    return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
 
26533
}
 
26534
static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
 
26535
    return (void *)((wxObject *)  ((wxSystemOptions *) x));
 
26536
}
 
26537
static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
 
26538
    return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
 
26539
}
 
26540
static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
 
26541
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
 
26542
}
 
26543
static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
 
26544
    return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
 
26545
}
 
26546
static void *_p_wxKeyEventTo_p_wxObject(void *x) {
 
26547
    return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
 
26548
}
 
26549
static void *_p_wxWindowTo_p_wxObject(void *x) {
 
26550
    return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
 
26551
}
 
26552
static void *_p_wxMenuTo_p_wxObject(void *x) {
 
26553
    return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
 
26554
}
 
26555
static void *_p_wxMenuBarTo_p_wxObject(void *x) {
 
26556
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
 
26557
}
 
26558
static void *_p_wxPyProcessTo_p_wxObject(void *x) {
 
26559
    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
 
26560
}
 
26561
static void *_p_wxFileSystemTo_p_wxObject(void *x) {
 
26562
    return (void *)((wxObject *)  ((wxFileSystem *) x));
 
26563
}
 
26564
static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
 
26565
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
 
26566
}
 
26567
static void *_p_wxMenuEventTo_p_wxObject(void *x) {
 
26568
    return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
 
26569
}
 
26570
static void *_p_wxPyAppTo_p_wxObject(void *x) {
 
26571
    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
 
26572
}
 
26573
static void *_p_wxCloseEventTo_p_wxObject(void *x) {
 
26574
    return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
 
26575
}
 
26576
static void *_p_wxMouseEventTo_p_wxObject(void *x) {
 
26577
    return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
 
26578
}
 
26579
static void *_p_wxEraseEventTo_p_wxObject(void *x) {
 
26580
    return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
 
26581
}
 
26582
static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
 
26583
    return (void *)((wxObject *)  ((wxBusyInfo *) x));
 
26584
}
 
26585
static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
 
26586
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
 
26587
}
 
26588
static void *_p_wxCommandEventTo_p_wxObject(void *x) {
 
26589
    return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
 
26590
}
 
26591
static void *_p_wxNotificationMessageTo_p_wxObject(void *x) {
 
26592
    return (void *)((wxObject *) (wxEvtHandler *) ((wxNotificationMessage *) x));
 
26593
}
 
26594
static void *_p_wxClipboardEventTo_p_wxObject(void *x) {
 
26595
    return (void *)((wxObject *) (wxEvent *) ((wxClipboardEvent *) x));
 
26596
}
 
26597
static void *_p_wxWrapSizerTo_p_wxObject(void *x) {
 
26598
    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxWrapSizer *) x));
 
26599
}
 
26600
static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
 
26601
    return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
 
26602
}
 
26603
static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
 
26604
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
 
26605
}
 
26606
static void *_p_wxFocusEventTo_p_wxObject(void *x) {
 
26607
    return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
 
26608
}
 
26609
static void *_p_wxProcessEventTo_p_wxObject(void *x) {
 
26610
    return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
 
26611
}
 
26612
static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
 
26613
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
 
26614
}
 
26615
static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
 
26616
    return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
 
26617
}
 
26618
static void *_p_wxValidatorTo_p_wxObject(void *x) {
 
26619
    return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
 
26620
}
 
26621
static void *_p_wxPyTimerTo_p_wxObject(void *x) {
 
26622
    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
 
26623
}
 
26624
static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
 
26625
    return (void *)((wxEvtHandler *)  ((wxEventBlocker *) x));
 
26626
}
 
26627
static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
 
26628
    return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
 
26629
}
 
26630
static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
 
26631
    return (void *)((wxEvtHandler *)  ((wxValidator *) x));
 
26632
}
 
26633
static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
 
26634
    return (void *)((wxEvtHandler *)  ((wxWindow *) x));
 
26635
}
 
26636
static void *_p_wxNotificationMessageTo_p_wxEvtHandler(void *x) {
 
26637
    return (void *)((wxEvtHandler *)  ((wxNotificationMessage *) x));
 
26638
}
 
26639
static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
 
26640
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
 
26641
}
 
26642
static void *_p_wxPyEvtHandlerTo_p_wxEvtHandler(void *x) {
 
26643
    return (void *)((wxEvtHandler *)  ((wxPyEvtHandler *) x));
 
26644
}
 
26645
static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
 
26646
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
 
26647
}
 
26648
static void *_p_wxTextCtrlBaseTo_p_wxEvtHandler(void *x) {
 
26649
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrlBase *) x));
 
26650
}
 
26651
static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
 
26652
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
 
26653
}
 
26654
static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
 
26655
    return (void *)((wxEvtHandler *)  ((wxPyProcess *) x));
 
26656
}
 
26657
static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
 
26658
    return (void *)((wxEvtHandler *)  ((wxPyTimer *) x));
 
26659
}
 
26660
static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
 
26661
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
 
26662
}
 
26663
static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
 
26664
    return (void *)((wxEvtHandler *)  ((wxMenu *) x));
 
26665
}
 
26666
static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
 
26667
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
 
26668
}
 
26669
static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
 
26670
    return (void *)((wxEvtHandler *)  ((wxPyApp *) x));
 
26671
}
 
26672
static void *_p_wxTextCtrlBaseTo_p_wxTextEntryBase(void *x) {
 
26673
    return (void *)((wxTextEntryBase *) (wxTextEntry *) ((wxTextCtrlBase *) x));
 
26674
}
 
26675
static void *_p_wxStyledTextCtrlTo_p_wxTextEntryBase(void *x) {
 
26676
    return (void *)((wxTextEntryBase *) (wxTextCtrlIface *) ((wxStyledTextCtrl *) x));
 
26677
}
 
26678
static void *_p_wxTextEntryTo_p_wxTextEntryBase(void *x) {
 
26679
    return (void *)((wxTextEntryBase *)  ((wxTextEntry *) x));
 
26680
}
 
26681
static void *_p_wxTextCtrlIfaceTo_p_wxTextEntryBase(void *x) {
 
26682
    return (void *)((wxTextEntryBase *)  ((wxTextCtrlIface *) x));
 
26683
}
 
26684
static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
 
26685
    return (void *)((wxCommandEvent *)  ((wxChildFocusEvent *) x));
 
26686
}
 
26687
static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
 
26688
    return (void *)((wxCommandEvent *)  ((wxScrollEvent *) x));
 
26689
}
 
26690
static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
 
26691
    return (void *)((wxCommandEvent *)  ((wxWindowCreateEvent *) x));
 
26692
}
 
26693
static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
 
26694
    return (void *)((wxCommandEvent *)  ((wxDateEvent *) x));
 
26695
}
 
26696
static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
 
26697
    return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
 
26698
}
 
26699
static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
 
26700
    return (void *)((wxCommandEvent *)  ((wxUpdateUIEvent *) x));
 
26701
}
 
26702
static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
 
26703
    return (void *)((wxCommandEvent *)  ((wxClipboardTextEvent *) x));
 
26704
}
 
26705
static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
 
26706
    return (void *)((wxCommandEvent *)  ((wxStyledTextEvent *) x));
 
26707
}
 
26708
static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
 
26709
    return (void *)((wxCommandEvent *)  ((wxWindowDestroyEvent *) x));
 
26710
}
 
26711
static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
 
26712
    return (void *)((wxCommandEvent *)  ((wxContextMenuEvent *) x));
 
26713
}
 
26714
static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
 
26715
    return (void *)((wxCommandEvent *)  ((wxNotifyEvent *) x));
 
26716
}
 
26717
static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
 
26718
    return (void *)((wxCommandEvent *)  ((wxPyCommandEvent *) x));
 
26719
}
 
26720
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
 
26721
static swig_type_info _swigt__p_double = {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
 
26722
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
 
26723
static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
 
26724
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
 
26725
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
 
26726
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
 
26727
static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
 
26728
static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
 
26729
static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
 
26730
static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
 
26731
static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
 
26732
static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
 
26733
static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
 
26734
static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
 
26735
static swig_type_info _swigt__p_wxBookCtrlEvent = {"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0};
 
26736
static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
 
26737
static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
 
26738
static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
 
26739
static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
 
26740
static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
 
26741
static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
 
26742
static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
 
26743
static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
 
26744
static swig_type_info _swigt__p_wxTextCtrlBase = {"_p_wxTextCtrlBase", 0, 0, 0, 0, 0};
 
26745
static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
 
26746
static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
 
26747
static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
 
26748
static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
 
26749
static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
 
26750
static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
 
26751
static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
 
26752
static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
 
26753
static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
 
26754
static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", 0, 0, 0, 0, 0};
 
26755
static swig_type_info _swigt__p_wxPowerEvent = {"_p_wxPowerEvent", 0, 0, 0, 0, 0};
 
26756
static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
 
26757
static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
 
26758
static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
 
26759
static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", 0, 0, 0, 0, 0};
 
26760
static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
 
26761
static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
 
26762
static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
 
26763
static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
 
26764
static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
 
26765
static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
 
26766
static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
 
26767
static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
 
26768
static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
 
26769
static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
 
26770
static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
 
26771
static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
 
26772
static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
 
26773
static swig_type_info _swigt__p_wxThreadEvent = {"_p_wxThreadEvent", 0, 0, 0, 0, 0};
 
26774
static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
 
26775
static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
 
26776
static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", 0, 0, 0, 0, 0};
 
26777
static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
 
26778
static swig_type_info _swigt__p_wxClipboardEvent = {"_p_wxClipboardEvent", 0, 0, 0, 0, 0};
 
26779
static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
 
26780
static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
 
26781
static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
 
26782
static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
 
26783
static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
 
26784
static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
 
26785
static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
 
26786
static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
 
26787
static swig_type_info _swigt__p_wxNotificationMessage = {"_p_wxNotificationMessage", 0, 0, 0, 0, 0};
 
26788
static swig_type_info _swigt__p_wxPyEvtHandler = {"_p_wxPyEvtHandler", 0, 0, 0, 0, 0};
 
26789
static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0, 0};
 
26790
static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0, 0};
 
26791
static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
 
26792
static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
 
26793
static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
 
26794
static swig_type_info _swigt__p_wxIntPtr = {"_p_wxIntPtr", "wxIntPtr *", 0, 0, (void*)0, 0};
 
26795
static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, (void*)0, 0};
 
26796
static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
 
26797
static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
 
26798
static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
 
26799
static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
 
26800
static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
 
26801
static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
 
26802
static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
 
26803
static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
 
26804
static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
 
26805
static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", 0, 0, 0, 0, 0};
 
26806
static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
 
26807
static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
 
26808
static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
 
26809
static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0, 0};
 
26810
static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
 
26811
static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0, 0};
 
26812
static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
 
26813
static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
 
26814
static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
 
26815
static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
 
26816
static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
 
26817
static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
 
26818
static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
 
26819
static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
 
26820
static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
 
26821
static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
 
26822
static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
 
26823
static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
 
26824
static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
 
26825
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
 
26826
static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
 
26827
static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
 
26828
static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
 
26829
static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
 
26830
static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0, 0};
 
26831
static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
 
26832
static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0, 0};
 
26833
static swig_type_info _swigt__p_wxWrapSizer = {"_p_wxWrapSizer", 0, 0, 0, 0, 0};
 
26834
static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
 
26835
static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
 
26836
static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
 
26837
static swig_type_info _swigt__p_wxRefCounter = {"_p_wxRefCounter", "wxRefCounter *|wxObjectRefData *", 0, 0, (void*)0, 0};
 
26838
static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
 
26839
static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, (void*)0, 0};
 
26840
static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, (void*)0, 0};
 
26841
static swig_type_info _swigt__p_wxTextAreaBase = {"_p_wxTextAreaBase", "wxTextAreaBase *", 0, 0, (void*)0, 0};
 
26842
static swig_type_info _swigt__p_wxTextCtrlIface = {"_p_wxTextCtrlIface", "wxTextCtrlIface *", 0, 0, (void*)0, 0};
 
26843
static swig_type_info _swigt__p_wxTextEntryBase = {"_p_wxTextEntryBase", "wxTextEntryBase *", 0, 0, (void*)0, 0};
 
26844
static swig_type_info _swigt__p_wxTextEntry = {"_p_wxTextEntry", 0, 0, 0, 0, 0};
 
26845
static swig_type_info _swigt__p_wxVersionInfo = {"_p_wxVersionInfo", "wxVersionInfo *", 0, 0, (void*)0, 0};
 
26846
static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
 
26847
 
 
26848
static swig_type_info *swig_type_initial[] = {
 
26849
  &_swigt__p_char,
 
26850
  &_swigt__p_double,
 
26851
  &_swigt__p_int,
 
26852
  &_swigt__p_long,
 
26853
  &_swigt__p_unsigned_char,
 
26854
  &_swigt__p_unsigned_int,
 
26855
  &_swigt__p_unsigned_long,
 
26856
  &_swigt__p_void,
 
26857
  &_swigt__p_wxANIHandler,
 
26858
  &_swigt__p_wxAcceleratorTable,
 
26859
  &_swigt__p_wxActivateEvent,
 
26860
  &_swigt__p_wxBMPHandler,
 
26861
  &_swigt__p_wxBitmap,
 
26862
  &_swigt__p_wxBookCtrlBase,
 
26863
  &_swigt__p_wxBookCtrlEvent,
 
26864
  &_swigt__p_wxBoxSizer,
 
26865
  &_swigt__p_wxBusyInfo,
 
26866
  &_swigt__p_wxCURHandler,
 
26867
  &_swigt__p_wxChildFocusEvent,
 
26868
  &_swigt__p_wxClipboard,
 
26869
  &_swigt__p_wxClipboardEvent,
 
26870
  &_swigt__p_wxClipboardTextEvent,
 
26871
  &_swigt__p_wxCloseEvent,
 
26872
  &_swigt__p_wxColour,
 
26873
  &_swigt__p_wxCommandEvent,
 
26874
  &_swigt__p_wxContextMenuEvent,
 
26875
  &_swigt__p_wxControl,
 
26876
  &_swigt__p_wxControlWithItems,
 
26877
  &_swigt__p_wxDC,
 
26878
  &_swigt__p_wxDateEvent,
 
26879
  &_swigt__p_wxDisplayChangedEvent,
 
26880
  &_swigt__p_wxDropFilesEvent,
 
26881
  &_swigt__p_wxDuplexMode,
 
26882
  &_swigt__p_wxEraseEvent,
 
26883
  &_swigt__p_wxEvent,
 
26884
  &_swigt__p_wxEventBlocker,
 
26885
  &_swigt__p_wxEvtHandler,
 
26886
  &_swigt__p_wxFSFile,
 
26887
  &_swigt__p_wxFileHistory,
 
26888
  &_swigt__p_wxFileSystem,
 
26889
  &_swigt__p_wxFlexGridSizer,
 
26890
  &_swigt__p_wxFocusEvent,
 
26891
  &_swigt__p_wxFont,
 
26892
  &_swigt__p_wxGBSizerItem,
 
26893
  &_swigt__p_wxGIFHandler,
 
26894
  &_swigt__p_wxGridBagSizer,
 
26895
  &_swigt__p_wxGridSizer,
 
26896
  &_swigt__p_wxICOHandler,
 
26897
  &_swigt__p_wxIconizeEvent,
 
26898
  &_swigt__p_wxIdleEvent,
 
26899
  &_swigt__p_wxImage,
 
26900
  &_swigt__p_wxImageHandler,
 
26901
  &_swigt__p_wxIndividualLayoutConstraint,
 
26902
  &_swigt__p_wxInitDialogEvent,
 
26903
  &_swigt__p_wxIntPtr,
 
26904
  &_swigt__p_wxJPEGHandler,
 
26905
  &_swigt__p_wxJoystickEvent,
 
26906
  &_swigt__p_wxKeyEvent,
 
26907
  &_swigt__p_wxLayoutConstraints,
 
26908
  &_swigt__p_wxMaximizeEvent,
 
26909
  &_swigt__p_wxMemoryBuffer,
 
26910
  &_swigt__p_wxMenu,
 
26911
  &_swigt__p_wxMenuBar,
 
26912
  &_swigt__p_wxMenuEvent,
 
26913
  &_swigt__p_wxMenuItem,
 
26914
  &_swigt__p_wxMouseCaptureChangedEvent,
 
26915
  &_swigt__p_wxMouseCaptureLostEvent,
 
26916
  &_swigt__p_wxMouseEvent,
 
26917
  &_swigt__p_wxMoveEvent,
 
26918
  &_swigt__p_wxNavigationKeyEvent,
 
26919
  &_swigt__p_wxNcPaintEvent,
 
26920
  &_swigt__p_wxNotificationMessage,
 
26921
  &_swigt__p_wxNotifyEvent,
 
26922
  &_swigt__p_wxObject,
 
26923
  &_swigt__p_wxPCXHandler,
 
26924
  &_swigt__p_wxPNGHandler,
 
26925
  &_swigt__p_wxPNMHandler,
 
26926
  &_swigt__p_wxPaintEvent,
 
26927
  &_swigt__p_wxPaletteChangedEvent,
 
26928
  &_swigt__p_wxPaperSize,
 
26929
  &_swigt__p_wxPoint,
 
26930
  &_swigt__p_wxPowerEvent,
 
26931
  &_swigt__p_wxProcessEvent,
 
26932
  &_swigt__p_wxPyApp,
 
26933
  &_swigt__p_wxPyCommandEvent,
 
26934
  &_swigt__p_wxPyEvent,
 
26935
  &_swigt__p_wxPyEvtHandler,
 
26936
  &_swigt__p_wxPyImageHandler,
 
26937
  &_swigt__p_wxPyProcess,
 
26938
  &_swigt__p_wxPySizer,
 
26939
  &_swigt__p_wxPyTimer,
 
26940
  &_swigt__p_wxPyValidator,
 
26941
  &_swigt__p_wxQueryNewPaletteEvent,
 
26942
  &_swigt__p_wxRect,
 
26943
  &_swigt__p_wxRefCounter,
 
26944
  &_swigt__p_wxScrollBar,
 
26945
  &_swigt__p_wxScrollEvent,
 
26946
  &_swigt__p_wxScrollWinEvent,
 
26947
  &_swigt__p_wxSetCursorEvent,
 
26948
  &_swigt__p_wxShowEvent,
 
26949
  &_swigt__p_wxSizeEvent,
 
26950
  &_swigt__p_wxSizer,
 
26951
  &_swigt__p_wxSizerItem,
 
26952
  &_swigt__p_wxStaticBoxSizer,
 
26953
  &_swigt__p_wxStdDialogButtonSizer,
 
26954
  &_swigt__p_wxStyledTextCtrl,
 
26955
  &_swigt__p_wxStyledTextEvent,
 
26956
  &_swigt__p_wxSysColourChangedEvent,
 
26957
  &_swigt__p_wxSystemOptions,
 
26958
  &_swigt__p_wxTGAHandler,
 
26959
  &_swigt__p_wxTIFFHandler,
 
26960
  &_swigt__p_wxTextAreaBase,
 
26961
  &_swigt__p_wxTextCtrlBase,
 
26962
  &_swigt__p_wxTextCtrlIface,
 
26963
  &_swigt__p_wxTextEntry,
 
26964
  &_swigt__p_wxTextEntryBase,
 
26965
  &_swigt__p_wxThreadEvent,
 
26966
  &_swigt__p_wxTimerEvent,
 
26967
  &_swigt__p_wxToolTip,
 
26968
  &_swigt__p_wxUpdateUIEvent,
 
26969
  &_swigt__p_wxValidator,
 
26970
  &_swigt__p_wxVersionInfo,
 
26971
  &_swigt__p_wxWindow,
 
26972
  &_swigt__p_wxWindowCreateEvent,
 
26973
  &_swigt__p_wxWindowDestroyEvent,
 
26974
  &_swigt__p_wxWrapSizer,
 
26975
  &_swigt__p_wxXPMHandler,
 
26976
};
 
26977
 
 
26978
static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
 
26979
static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
 
26980
static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
 
26981
static swig_cast_info _swigc__p_long[] = {  {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
 
26982
static swig_cast_info _swigc__p_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
 
26983
static swig_cast_info _swigc__p_unsigned_int[] = {  {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
 
26984
static swig_cast_info _swigc__p_unsigned_long[] = {  {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
 
26985
static swig_cast_info _swigc__p_void[] = {  {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
 
26986
static swig_cast_info _swigc__p_wxBitmap[] = {  {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
 
26987
static swig_cast_info _swigc__p_wxColour[] = {  {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
 
26988
static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
 
26989
static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
 
26990
static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
 
26991
static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
 
26992
static swig_cast_info _swigc__p_wxBookCtrlEvent[] = {{&_swigt__p_wxBookCtrlEvent, 0, 0, 0},{0, 0, 0, 0}};
 
26993
static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
 
26994
static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
 
26995
static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
26996
static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
 
26997
static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
26998
static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
 
26999
static swig_cast_info _swigc__p_wxCommandEvent[] = {  {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxBookCtrlEvent, _p_wxBookCtrlEventTo_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}};
 
27000
static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
 
27001
static swig_cast_info _swigc__p_wxTextCtrlBase[] = {{&_swigt__p_wxTextCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
 
27002
static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
 
27003
static swig_cast_info _swigc__p_wxControl[] = {  {&_swigt__p_wxControl, 0, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0},  {&_swigt__p_wxTextCtrlBase, _p_wxTextCtrlBaseTo_p_wxControl, 0, 0},  {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0},  {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
 
27004
static swig_cast_info _swigc__p_wxDC[] = {  {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
 
27005
static swig_cast_info _swigc__p_wxDuplexMode[] = {  {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
 
27006
static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27007
static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27008
static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27009
static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27010
static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27011
static swig_cast_info _swigc__p_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27012
static swig_cast_info _swigc__p_wxPowerEvent[] = {{&_swigt__p_wxPowerEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27013
static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27014
static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27015
static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27016
static swig_cast_info _swigc__p_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27017
static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27018
static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27019
static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27020
static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27021
static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27022
static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27023
static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27024
static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27025
static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27026
static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27027
static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27028
static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27029
static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27030
static swig_cast_info _swigc__p_wxThreadEvent[] = {{&_swigt__p_wxThreadEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27031
static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27032
static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27033
static swig_cast_info _swigc__p_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27034
static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27035
static swig_cast_info _swigc__p_wxClipboardEvent[] = {{&_swigt__p_wxClipboardEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27036
static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27037
static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27038
static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27039
static swig_cast_info _swigc__p_wxEvent[] = {  {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxPowerEvent, _p_wxPowerEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxBookCtrlEvent, _p_wxBookCtrlEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxEvent, 0, 0, 0},  {&_swigt__p_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_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxThreadEvent, _p_wxThreadEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_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_wxClipboardEvent, _p_wxClipboardEventTo_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}};
 
27040
static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
 
27041
static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
 
27042
static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
 
27043
static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
 
27044
static swig_cast_info _swigc__p_wxNotificationMessage[] = {{&_swigt__p_wxNotificationMessage, 0, 0, 0},{0, 0, 0, 0}};
 
27045
static swig_cast_info _swigc__p_wxPyEvtHandler[] = {{&_swigt__p_wxPyEvtHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27046
static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
 
27047
static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
 
27048
static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
 
27049
static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
 
27050
static swig_cast_info _swigc__p_wxEvtHandler[] = {  {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxNotificationMessage, _p_wxNotificationMessageTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxEvtHandler, 0, 0, 0},  {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxTextCtrlBase, _p_wxTextCtrlBaseTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
 
27051
static swig_cast_info _swigc__p_wxFont[] = {  {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
 
27052
static swig_cast_info _swigc__p_wxIntPtr[] = {  {&_swigt__p_wxIntPtr, 0, 0, 0},{0, 0, 0, 0}};
 
27053
static swig_cast_info _swigc__p_wxMemoryBuffer[] = {  {&_swigt__p_wxMemoryBuffer, 0, 0, 0},{0, 0, 0, 0}};
 
27054
static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
 
27055
static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
 
27056
static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
 
27057
static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
 
27058
static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
 
27059
static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
 
27060
static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
 
27061
static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
 
27062
static swig_cast_info _swigc__p_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
 
27063
static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
 
27064
static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
 
27065
static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
 
27066
static swig_cast_info _swigc__p_wxClipboard[] = {{&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
 
27067
static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
 
27068
static swig_cast_info _swigc__p_wxToolTip[] = {{&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
 
27069
static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
 
27070
static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27071
static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27072
static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27073
static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27074
static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27075
static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27076
static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27077
static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27078
static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27079
static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27080
static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27081
static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27082
static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27083
static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
 
27084
static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
 
27085
static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
 
27086
static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
 
27087
static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
 
27088
static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
 
27089
static swig_cast_info _swigc__p_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
 
27090
static swig_cast_info _swigc__p_wxWrapSizer[] = {{&_swigt__p_wxWrapSizer, 0, 0, 0},{0, 0, 0, 0}};
 
27091
static swig_cast_info _swigc__p_wxObject[] = {  {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0},  {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxBookCtrlEvent, _p_wxBookCtrlEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0},  {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0},  {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxThreadEvent, _p_wxThreadEventTo_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_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_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_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0},  {&_swigt__p_wxTextCtrlBase, _p_wxTextCtrlBaseTo_p_wxObject, 0, 0},  {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0},  {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0},  {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxObject, 0, 0, 0},  {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0},  {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0},  {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0},  {&_swigt__p_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_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0},  {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0},  {&_swigt__p_wxClipboardEvent, _p_wxClipboardEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNotificationMessage, _p_wxNotificationMessageTo_p_wxObject, 0, 0},  {&_swigt__p_wxWrapSizer, _p_wxWrapSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0},  {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
 
27092
static swig_cast_info _swigc__p_wxPaperSize[] = {  {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
 
27093
static swig_cast_info _swigc__p_wxPoint[] = {  {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
 
27094
static swig_cast_info _swigc__p_wxRect[] = {  {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
 
27095
static swig_cast_info _swigc__p_wxRefCounter[] = {  {&_swigt__p_wxRefCounter, 0, 0, 0},{0, 0, 0, 0}};
 
27096
static swig_cast_info _swigc__p_wxScrollBar[] = {  {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
 
27097
static swig_cast_info _swigc__p_wxStyledTextCtrl[] = {  {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
27098
static swig_cast_info _swigc__p_wxStyledTextEvent[] = {  {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}};
 
27099
static swig_cast_info _swigc__p_wxTextAreaBase[] = {  {&_swigt__p_wxTextAreaBase, 0, 0, 0},  {&_swigt__p_wxTextCtrlBase, _p_wxTextCtrlBaseTo_p_wxTextAreaBase, 0, 0},  {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxTextAreaBase, 0, 0},  {&_swigt__p_wxTextCtrlIface, _p_wxTextCtrlIfaceTo_p_wxTextAreaBase, 0, 0},{0, 0, 0, 0}};
 
27100
static swig_cast_info _swigc__p_wxTextCtrlIface[] = {  {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxTextCtrlIface, 0, 0},  {&_swigt__p_wxTextCtrlIface, 0, 0, 0},{0, 0, 0, 0}};
 
27101
static swig_cast_info _swigc__p_wxTextEntry[] = {{&_swigt__p_wxTextEntry, 0, 0, 0},{0, 0, 0, 0}};
 
27102
static swig_cast_info _swigc__p_wxTextEntryBase[] = {  {&_swigt__p_wxTextCtrlBase, _p_wxTextCtrlBaseTo_p_wxTextEntryBase, 0, 0},  {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxTextEntryBase, 0, 0},  {&_swigt__p_wxTextEntry, _p_wxTextEntryTo_p_wxTextEntryBase, 0, 0},  {&_swigt__p_wxTextCtrlIface, _p_wxTextCtrlIfaceTo_p_wxTextEntryBase, 0, 0},  {&_swigt__p_wxTextEntryBase, 0, 0, 0},{0, 0, 0, 0}};
 
27103
static swig_cast_info _swigc__p_wxVersionInfo[] = {  {&_swigt__p_wxVersionInfo, 0, 0, 0},{0, 0, 0, 0}};
 
27104
static swig_cast_info _swigc__p_wxWindow[] = {  {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxWindow, 0, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0},  {&_swigt__p_wxTextCtrlBase, _p_wxTextCtrlBaseTo_p_wxWindow, 0, 0},  {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_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}};
 
27105
 
 
27106
static swig_cast_info *swig_cast_initial[] = {
 
27107
  _swigc__p_char,
 
27108
  _swigc__p_double,
 
27109
  _swigc__p_int,
 
27110
  _swigc__p_long,
 
27111
  _swigc__p_unsigned_char,
 
27112
  _swigc__p_unsigned_int,
 
27113
  _swigc__p_unsigned_long,
 
27114
  _swigc__p_void,
 
27115
  _swigc__p_wxANIHandler,
 
27116
  _swigc__p_wxAcceleratorTable,
 
27117
  _swigc__p_wxActivateEvent,
 
27118
  _swigc__p_wxBMPHandler,
 
27119
  _swigc__p_wxBitmap,
 
27120
  _swigc__p_wxBookCtrlBase,
 
27121
  _swigc__p_wxBookCtrlEvent,
 
27122
  _swigc__p_wxBoxSizer,
 
27123
  _swigc__p_wxBusyInfo,
 
27124
  _swigc__p_wxCURHandler,
 
27125
  _swigc__p_wxChildFocusEvent,
 
27126
  _swigc__p_wxClipboard,
 
27127
  _swigc__p_wxClipboardEvent,
 
27128
  _swigc__p_wxClipboardTextEvent,
 
27129
  _swigc__p_wxCloseEvent,
 
27130
  _swigc__p_wxColour,
 
27131
  _swigc__p_wxCommandEvent,
 
27132
  _swigc__p_wxContextMenuEvent,
 
27133
  _swigc__p_wxControl,
 
27134
  _swigc__p_wxControlWithItems,
 
27135
  _swigc__p_wxDC,
 
27136
  _swigc__p_wxDateEvent,
 
27137
  _swigc__p_wxDisplayChangedEvent,
 
27138
  _swigc__p_wxDropFilesEvent,
 
27139
  _swigc__p_wxDuplexMode,
 
27140
  _swigc__p_wxEraseEvent,
 
27141
  _swigc__p_wxEvent,
 
27142
  _swigc__p_wxEventBlocker,
 
27143
  _swigc__p_wxEvtHandler,
 
27144
  _swigc__p_wxFSFile,
 
27145
  _swigc__p_wxFileHistory,
 
27146
  _swigc__p_wxFileSystem,
 
27147
  _swigc__p_wxFlexGridSizer,
 
27148
  _swigc__p_wxFocusEvent,
 
27149
  _swigc__p_wxFont,
 
27150
  _swigc__p_wxGBSizerItem,
 
27151
  _swigc__p_wxGIFHandler,
 
27152
  _swigc__p_wxGridBagSizer,
 
27153
  _swigc__p_wxGridSizer,
 
27154
  _swigc__p_wxICOHandler,
 
27155
  _swigc__p_wxIconizeEvent,
 
27156
  _swigc__p_wxIdleEvent,
 
27157
  _swigc__p_wxImage,
 
27158
  _swigc__p_wxImageHandler,
 
27159
  _swigc__p_wxIndividualLayoutConstraint,
 
27160
  _swigc__p_wxInitDialogEvent,
 
27161
  _swigc__p_wxIntPtr,
 
27162
  _swigc__p_wxJPEGHandler,
 
27163
  _swigc__p_wxJoystickEvent,
 
27164
  _swigc__p_wxKeyEvent,
 
27165
  _swigc__p_wxLayoutConstraints,
 
27166
  _swigc__p_wxMaximizeEvent,
 
27167
  _swigc__p_wxMemoryBuffer,
 
27168
  _swigc__p_wxMenu,
 
27169
  _swigc__p_wxMenuBar,
 
27170
  _swigc__p_wxMenuEvent,
 
27171
  _swigc__p_wxMenuItem,
 
27172
  _swigc__p_wxMouseCaptureChangedEvent,
 
27173
  _swigc__p_wxMouseCaptureLostEvent,
 
27174
  _swigc__p_wxMouseEvent,
 
27175
  _swigc__p_wxMoveEvent,
 
27176
  _swigc__p_wxNavigationKeyEvent,
 
27177
  _swigc__p_wxNcPaintEvent,
 
27178
  _swigc__p_wxNotificationMessage,
 
27179
  _swigc__p_wxNotifyEvent,
 
27180
  _swigc__p_wxObject,
 
27181
  _swigc__p_wxPCXHandler,
 
27182
  _swigc__p_wxPNGHandler,
 
27183
  _swigc__p_wxPNMHandler,
 
27184
  _swigc__p_wxPaintEvent,
 
27185
  _swigc__p_wxPaletteChangedEvent,
 
27186
  _swigc__p_wxPaperSize,
 
27187
  _swigc__p_wxPoint,
 
27188
  _swigc__p_wxPowerEvent,
 
27189
  _swigc__p_wxProcessEvent,
 
27190
  _swigc__p_wxPyApp,
 
27191
  _swigc__p_wxPyCommandEvent,
 
27192
  _swigc__p_wxPyEvent,
 
27193
  _swigc__p_wxPyEvtHandler,
 
27194
  _swigc__p_wxPyImageHandler,
 
27195
  _swigc__p_wxPyProcess,
 
27196
  _swigc__p_wxPySizer,
 
27197
  _swigc__p_wxPyTimer,
 
27198
  _swigc__p_wxPyValidator,
 
27199
  _swigc__p_wxQueryNewPaletteEvent,
 
27200
  _swigc__p_wxRect,
 
27201
  _swigc__p_wxRefCounter,
 
27202
  _swigc__p_wxScrollBar,
 
27203
  _swigc__p_wxScrollEvent,
 
27204
  _swigc__p_wxScrollWinEvent,
 
27205
  _swigc__p_wxSetCursorEvent,
 
27206
  _swigc__p_wxShowEvent,
 
27207
  _swigc__p_wxSizeEvent,
 
27208
  _swigc__p_wxSizer,
 
27209
  _swigc__p_wxSizerItem,
 
27210
  _swigc__p_wxStaticBoxSizer,
 
27211
  _swigc__p_wxStdDialogButtonSizer,
 
27212
  _swigc__p_wxStyledTextCtrl,
 
27213
  _swigc__p_wxStyledTextEvent,
 
27214
  _swigc__p_wxSysColourChangedEvent,
 
27215
  _swigc__p_wxSystemOptions,
 
27216
  _swigc__p_wxTGAHandler,
 
27217
  _swigc__p_wxTIFFHandler,
 
27218
  _swigc__p_wxTextAreaBase,
 
27219
  _swigc__p_wxTextCtrlBase,
 
27220
  _swigc__p_wxTextCtrlIface,
 
27221
  _swigc__p_wxTextEntry,
 
27222
  _swigc__p_wxTextEntryBase,
 
27223
  _swigc__p_wxThreadEvent,
 
27224
  _swigc__p_wxTimerEvent,
 
27225
  _swigc__p_wxToolTip,
 
27226
  _swigc__p_wxUpdateUIEvent,
 
27227
  _swigc__p_wxValidator,
 
27228
  _swigc__p_wxVersionInfo,
 
27229
  _swigc__p_wxWindow,
 
27230
  _swigc__p_wxWindowCreateEvent,
 
27231
  _swigc__p_wxWindowDestroyEvent,
 
27232
  _swigc__p_wxWrapSizer,
 
27233
  _swigc__p_wxXPMHandler,
 
27234
};
 
27235
 
 
27236
 
 
27237
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
 
27238
 
 
27239
static swig_const_info swig_const_table[] = {
 
27240
{0, 0, 0, 0.0, 0, 0}};
 
27241
 
 
27242
#ifdef __cplusplus
 
27243
}
 
27244
#endif
 
27245
/* -----------------------------------------------------------------------------
 
27246
 * Type initialization:
 
27247
 * This problem is tough by the requirement that no dynamic 
 
27248
 * memory is used. Also, since swig_type_info structures store pointers to 
 
27249
 * swig_cast_info structures and swig_cast_info structures store pointers back
 
27250
 * to swig_type_info structures, we need some lookup code at initialization. 
 
27251
 * The idea is that swig generates all the structures that are needed. 
 
27252
 * The runtime then collects these partially filled structures. 
 
27253
 * The SWIG_InitializeModule function takes these initial arrays out of 
 
27254
 * swig_module, and does all the lookup, filling in the swig_module.types
 
27255
 * array with the correct data and linking the correct swig_cast_info
 
27256
 * structures together.
 
27257
 *
 
27258
 * The generated swig_type_info structures are assigned staticly to an initial 
 
27259
 * array. We just loop though that array, and handle each type individually.
 
27260
 * First we lookup if this type has been already loaded, and if so, use the
 
27261
 * loaded structure instead of the generated one. Then we have to fill in the
 
27262
 * cast linked list. The cast data is initially stored in something like a
 
27263
 * two-dimensional array. Each row corresponds to a type (there are the same
 
27264
 * number of rows as there are in the swig_type_initial array). Each entry in
 
27265
 * a column is one of the swig_cast_info structures for that type.
 
27266
 * The cast_initial array is actually an array of arrays, because each row has
 
27267
 * a variable number of columns. So to actually build the cast linked list,
 
27268
 * we find the array of casts associated with the type, and loop through it 
 
27269
 * adding the casts to the list. The one last trick we need to do is making
 
27270
 * sure the type pointer in the swig_cast_info struct is correct.
 
27271
 *
 
27272
 * First off, we lookup the cast->type name to see if it is already loaded. 
 
27273
 * There are three cases to handle:
 
27274
 *  1) If the cast->type has already been loaded AND the type we are adding
 
27275
 *     casting info to has not been loaded (it is in this module), THEN we
 
27276
 *     replace the cast->type pointer with the type pointer that has already
 
27277
 *     been loaded.
 
27278
 *  2) If BOTH types (the one we are adding casting info to, and the 
 
27279
 *     cast->type) are loaded, THEN the cast info has already been loaded by
 
27280
 *     the previous module so we just ignore it.
 
27281
 *  3) Finally, if cast->type has not already been loaded, then we add that
 
27282
 *     swig_cast_info to the linked list (because the cast->type) pointer will
 
27283
 *     be correct.
 
27284
 * ----------------------------------------------------------------------------- */
 
27285
 
 
27286
#ifdef __cplusplus
 
27287
extern "C" {
 
27288
#if 0
 
27289
} /* c-mode */
 
27290
#endif
 
27291
#endif
 
27292
 
 
27293
#if 0
 
27294
#define SWIGRUNTIME_DEBUG
 
27295
#endif
 
27296
 
 
27297
SWIGRUNTIME void
 
27298
SWIG_InitializeModule(void *clientdata) {
 
27299
  size_t i;
 
27300
  swig_module_info *module_head;
 
27301
  static int init_run = 0;
 
27302
  
 
27303
  clientdata = clientdata;
 
27304
  
 
27305
  if (init_run) return;
 
27306
  init_run = 1;
 
27307
  
 
27308
  /* Initialize the swig_module */
 
27309
  swig_module.type_initial = swig_type_initial;
 
27310
  swig_module.cast_initial = swig_cast_initial;
 
27311
  
 
27312
  /* Try and load any already created modules */
 
27313
  module_head = SWIG_GetModule(clientdata);
 
27314
  if (module_head) {
 
27315
    swig_module.next = module_head->next;
 
27316
    module_head->next = &swig_module;
 
27317
  } else {
 
27318
    /* This is the first module loaded */
 
27319
    swig_module.next = &swig_module;
 
27320
    SWIG_SetModule(clientdata, &swig_module);
 
27321
  }
 
27322
  
 
27323
  /* Now work on filling in swig_module.types */
 
27324
#ifdef SWIGRUNTIME_DEBUG
 
27325
  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
 
27326
#endif
 
27327
  for (i = 0; i < swig_module.size; ++i) {
 
27328
    swig_type_info *type = 0;
 
27329
    swig_type_info *ret;
 
27330
    swig_cast_info *cast;
 
27331
    
 
27332
#ifdef SWIGRUNTIME_DEBUG
 
27333
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
 
27334
#endif
 
27335
    
 
27336
    /* if there is another module already loaded */
 
27337
    if (swig_module.next != &swig_module) {
 
27338
      type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
 
27339
    }
 
27340
    if (type) {
 
27341
      /* Overwrite clientdata field */
 
27342
#ifdef SWIGRUNTIME_DEBUG
 
27343
      printf("SWIG_InitializeModule: found type %s\n", type->name);
 
27344
#endif
 
27345
      if (swig_module.type_initial[i]->clientdata) {
 
27346
        type->clientdata = swig_module.type_initial[i]->clientdata;
 
27347
#ifdef SWIGRUNTIME_DEBUG
 
27348
        printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
 
27349
#endif
 
27350
      }
 
27351
    } else {
 
27352
      type = swig_module.type_initial[i];
 
27353
    }
 
27354
    
 
27355
    /* Insert casting types */
 
27356
    cast = swig_module.cast_initial[i];
 
27357
    while (cast->type) {
 
27358
      /* Don't need to add information already in the list */
 
27359
      ret = 0;
 
27360
#ifdef SWIGRUNTIME_DEBUG
 
27361
      printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
 
27362
#endif
 
27363
      if (swig_module.next != &swig_module) {
 
27364
        ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
 
27365
#ifdef SWIGRUNTIME_DEBUG
 
27366
        if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
 
27367
#endif
 
27368
      }
 
27369
      if (ret) {
 
27370
        if (type == swig_module.type_initial[i]) {
 
27371
#ifdef SWIGRUNTIME_DEBUG
 
27372
          printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
 
27373
#endif
 
27374
          cast->type = ret;
 
27375
          ret = 0;
 
27376
        } else {
 
27377
          /* Check for casting already in the list */
 
27378
          swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
 
27379
#ifdef SWIGRUNTIME_DEBUG
 
27380
          if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
 
27381
#endif
 
27382
          if (!ocast) ret = 0;
 
27383
        }
 
27384
      }
 
27385
      
 
27386
      if (!ret) {
 
27387
#ifdef SWIGRUNTIME_DEBUG
 
27388
        printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
 
27389
#endif
 
27390
        if (type->cast) {
 
27391
          type->cast->prev = cast;
 
27392
          cast->next = type->cast;
 
27393
        }
 
27394
        type->cast = cast;
 
27395
      }
 
27396
      cast++;
 
27397
    }
 
27398
    /* Set entry in modules->types array equal to the type */
 
27399
    swig_module.types[i] = type;
 
27400
  }
 
27401
  swig_module.types[i] = 0;
 
27402
  
 
27403
#ifdef SWIGRUNTIME_DEBUG
 
27404
  printf("**** SWIG_InitializeModule: Cast List ******\n");
 
27405
  for (i = 0; i < swig_module.size; ++i) {
 
27406
    int j = 0;
 
27407
    swig_cast_info *cast = swig_module.cast_initial[i];
 
27408
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
 
27409
    while (cast->type) {
 
27410
      printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
 
27411
      cast++;
 
27412
      ++j;
 
27413
    }
 
27414
    printf("---- Total casts: %d\n",j);
 
27415
  }
 
27416
  printf("**** SWIG_InitializeModule: Cast List ******\n");
 
27417
#endif
 
27418
}
 
27419
 
 
27420
/* This function will propagate the clientdata field of type to
 
27421
* any new swig_type_info structures that have been added into the list
 
27422
* of equivalent types.  It is like calling
 
27423
* SWIG_TypeClientData(type, clientdata) a second time.
 
27424
*/
 
27425
SWIGRUNTIME void
 
27426
SWIG_PropagateClientData(void) {
 
27427
  size_t i;
 
27428
  swig_cast_info *equiv;
 
27429
  static int init_run = 0;
 
27430
  
 
27431
  if (init_run) return;
 
27432
  init_run = 1;
 
27433
  
 
27434
  for (i = 0; i < swig_module.size; i++) {
 
27435
    if (swig_module.types[i]->clientdata) {
 
27436
      equiv = swig_module.types[i]->cast;
 
27437
      while (equiv) {
 
27438
        if (!equiv->converter) {
 
27439
          if (equiv->type && !equiv->type->clientdata)
 
27440
          SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
 
27441
        }
 
27442
        equiv = equiv->next;
 
27443
      }
 
27444
    }
 
27445
  }
 
27446
}
 
27447
 
 
27448
#ifdef __cplusplus
 
27449
#if 0
 
27450
{
 
27451
  /* c-mode */
 
27452
#endif
 
27453
}
 
27454
#endif
 
27455
 
 
27456
 
 
27457
 
 
27458
#ifdef __cplusplus
 
27459
extern "C" {
 
27460
#endif
 
27461
  
 
27462
  /* Python-specific SWIG API */
 
27463
#define SWIG_newvarlink()                             SWIG_Python_newvarlink()
 
27464
#define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr)
 
27465
#define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants)
 
27466
  
 
27467
  /* -----------------------------------------------------------------------------
 
27468
   * global variable support code.
 
27469
   * ----------------------------------------------------------------------------- */
 
27470
  
 
27471
  typedef struct swig_globalvar {
 
27472
    char       *name;                  /* Name of global variable */
 
27473
    PyObject *(*get_attr)(void);       /* Return the current value */
 
27474
    int       (*set_attr)(PyObject *); /* Set the value */
 
27475
    struct swig_globalvar *next;
 
27476
  } swig_globalvar;
 
27477
  
 
27478
  typedef struct swig_varlinkobject {
 
27479
    PyObject_HEAD
 
27480
    swig_globalvar *vars;
 
27481
  } swig_varlinkobject;
 
27482
  
 
27483
  SWIGINTERN PyObject *
 
27484
  swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
 
27485
    return PyString_FromString("<Swig global variables>");
 
27486
  }
 
27487
  
 
27488
  SWIGINTERN PyObject *
 
27489
  swig_varlink_str(swig_varlinkobject *v) {
 
27490
    PyObject *str = PyString_FromString("(");
 
27491
    swig_globalvar  *var;
 
27492
    for (var = v->vars; var; var=var->next) {
 
27493
      PyString_ConcatAndDel(&str,PyString_FromString(var->name));
 
27494
      if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
 
27495
    }
 
27496
    PyString_ConcatAndDel(&str,PyString_FromString(")"));
 
27497
    return str;
 
27498
  }
 
27499
  
 
27500
  SWIGINTERN int
 
27501
  swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
 
27502
    PyObject *str = swig_varlink_str(v);
 
27503
    fprintf(fp,"Swig global variables ");
 
27504
    fprintf(fp,"%s\n", PyString_AsString(str));
 
27505
    Py_DECREF(str);
 
27506
    return 0;
 
27507
  }
 
27508
  
 
27509
  SWIGINTERN void
 
27510
  swig_varlink_dealloc(swig_varlinkobject *v) {
 
27511
    swig_globalvar *var = v->vars;
 
27512
    while (var) {
 
27513
      swig_globalvar *n = var->next;
 
27514
      free(var->name);
 
27515
      free(var);
 
27516
      var = n;
 
27517
    }
 
27518
  }
 
27519
  
 
27520
  SWIGINTERN PyObject *
 
27521
  swig_varlink_getattr(swig_varlinkobject *v, char *n) {
 
27522
    PyObject *res = NULL;
 
27523
    swig_globalvar *var = v->vars;
 
27524
    while (var) {
 
27525
      if (strcmp(var->name,n) == 0) {
 
27526
        res = (*var->get_attr)();
 
27527
        break;
 
27528
      }
 
27529
      var = var->next;
 
27530
    }
 
27531
    if (res == NULL && !PyErr_Occurred()) {
 
27532
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
 
27533
    }
 
27534
    return res;
 
27535
  }
 
27536
  
 
27537
  SWIGINTERN int
 
27538
  swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
 
27539
    int res = 1;
 
27540
    swig_globalvar *var = v->vars;
 
27541
    while (var) {
 
27542
      if (strcmp(var->name,n) == 0) {
 
27543
        res = (*var->set_attr)(p);
 
27544
        break;
 
27545
      }
 
27546
      var = var->next;
 
27547
    }
 
27548
    if (res == 1 && !PyErr_Occurred()) {
 
27549
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
 
27550
    }
 
27551
    return res;
 
27552
  }
 
27553
  
 
27554
  SWIGINTERN PyTypeObject*
 
27555
  swig_varlink_type(void) {
 
27556
    static char varlink__doc__[] = "Swig var link object";
 
27557
    static PyTypeObject varlink_type;
 
27558
    static int type_init = 0;  
 
27559
    if (!type_init) {
 
27560
      const PyTypeObject tmp
 
27561
      = {
 
27562
        PyObject_HEAD_INIT(NULL)
 
27563
        0,                                  /* Number of items in variable part (ob_size) */
 
27564
        (char *)"swigvarlink",              /* Type name (tp_name) */
 
27565
        sizeof(swig_varlinkobject),         /* Basic size (tp_basicsize) */
 
27566
        0,                                  /* Itemsize (tp_itemsize) */
 
27567
        (destructor) swig_varlink_dealloc,   /* Deallocator (tp_dealloc) */ 
 
27568
        (printfunc) swig_varlink_print,     /* Print (tp_print) */
 
27569
        (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
 
27570
        (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
 
27571
        0,                                  /* tp_compare */
 
27572
        (reprfunc) swig_varlink_repr,       /* tp_repr */
 
27573
        0,                                  /* tp_as_number */
 
27574
        0,                                  /* tp_as_sequence */
 
27575
        0,                                  /* tp_as_mapping */
 
27576
        0,                                  /* tp_hash */
 
27577
        0,                                  /* tp_call */
 
27578
        (reprfunc)swig_varlink_str,        /* tp_str */
 
27579
        0,                                  /* tp_getattro */
 
27580
        0,                                  /* tp_setattro */
 
27581
        0,                                  /* tp_as_buffer */
 
27582
        0,                                  /* tp_flags */
 
27583
        varlink__doc__,                     /* tp_doc */
 
27584
        0,                                  /* tp_traverse */
 
27585
        0,                                  /* tp_clear */
 
27586
        0,                                  /* tp_richcompare */
 
27587
        0,                                  /* tp_weaklistoffset */
 
27588
#if PY_VERSION_HEX >= 0x02020000
 
27589
        0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
 
27590
#endif
 
27591
#if PY_VERSION_HEX >= 0x02030000
 
27592
        0,                                  /* tp_del */
 
27593
#endif
 
27594
#ifdef COUNT_ALLOCS
 
27595
        0,0,0,0                             /* tp_alloc -> tp_next */
 
27596
#endif
 
27597
      };
 
27598
      varlink_type = tmp;
 
27599
      varlink_type.ob_type = &PyType_Type;
 
27600
      type_init = 1;
 
27601
    }
 
27602
    return &varlink_type;
 
27603
  }
 
27604
  
 
27605
  /* Create a variable linking object for use later */
 
27606
  SWIGINTERN PyObject *
 
27607
  SWIG_Python_newvarlink(void) {
 
27608
    swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
 
27609
    if (result) {
 
27610
      result->vars = 0;
 
27611
    }
 
27612
    return ((PyObject*) result);
 
27613
  }
 
27614
  
 
27615
  SWIGINTERN void 
 
27616
  SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
 
27617
    swig_varlinkobject *v = (swig_varlinkobject *) p;
 
27618
    swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
 
27619
    if (gv) {
 
27620
      size_t size = strlen(name)+1;
 
27621
      gv->name = (char *)malloc(size);
 
27622
      if (gv->name) {
 
27623
        strncpy(gv->name,name,size);
 
27624
        gv->get_attr = get_attr;
 
27625
        gv->set_attr = set_attr;
 
27626
        gv->next = v->vars;
 
27627
      }
 
27628
    }
 
27629
    v->vars = gv;
 
27630
  }
 
27631
  
 
27632
  SWIGINTERN PyObject *
 
27633
  SWIG_globals() {
 
27634
    static PyObject *_SWIG_globals = 0; 
 
27635
    if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();  
 
27636
    return _SWIG_globals;
 
27637
  }
 
27638
  
 
27639
  /* -----------------------------------------------------------------------------
 
27640
   * constants/methods manipulation
 
27641
   * ----------------------------------------------------------------------------- */
 
27642
  
 
27643
  /* Install Constants */
 
27644
  SWIGINTERN void
 
27645
  SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
 
27646
    PyObject *obj = 0;
 
27647
    size_t i;
 
27648
    for (i = 0; constants[i].type; ++i) {
 
27649
      switch(constants[i].type) {
 
27650
      case SWIG_PY_POINTER:
 
27651
        obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
 
27652
        break;
 
27653
      case SWIG_PY_BINARY:
 
27654
        obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
 
27655
        break;
 
27656
      default:
 
27657
        obj = 0;
 
27658
        break;
 
27659
      }
 
27660
      if (obj) {
 
27661
        PyDict_SetItemString(d, constants[i].name, obj);
 
27662
        Py_DECREF(obj);
 
27663
      }
 
27664
    }
 
27665
  }
 
27666
  
 
27667
  /* -----------------------------------------------------------------------------*/
 
27668
  /* Fix SwigMethods to carry the callback ptrs when needed */
 
27669
  /* -----------------------------------------------------------------------------*/
 
27670
  
 
27671
  SWIGINTERN void
 
27672
  SWIG_Python_FixMethods(PyMethodDef *methods,
 
27673
    swig_const_info *const_table,
 
27674
    swig_type_info **types,
 
27675
    swig_type_info **types_initial) {
 
27676
    size_t i;
 
27677
    for (i = 0; methods[i].ml_name; ++i) {
 
27678
      const char *c = methods[i].ml_doc;
 
27679
      if (c && (c = strstr(c, "swig_ptr: "))) {
 
27680
        int j;
 
27681
        swig_const_info *ci = 0;
 
27682
        const char *name = c + 10;
 
27683
        for (j = 0; const_table[j].type; ++j) {
 
27684
          if (strncmp(const_table[j].name, name, 
 
27685
              strlen(const_table[j].name)) == 0) {
 
27686
            ci = &(const_table[j]);
 
27687
            break;
 
27688
          }
 
27689
        }
 
27690
        if (ci) {
 
27691
          size_t shift = (ci->ptype) - types;
 
27692
          swig_type_info *ty = types_initial[shift];
 
27693
          size_t ldoc = (c - methods[i].ml_doc);
 
27694
          size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
 
27695
          char *ndoc = (char*)malloc(ldoc + lptr + 10);
 
27696
          if (ndoc) {
 
27697
            char *buff = ndoc;
 
27698
            void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
 
27699
            if (ptr) {
 
27700
              strncpy(buff, methods[i].ml_doc, ldoc);
 
27701
              buff += ldoc;
 
27702
              strncpy(buff, "swig_ptr: ", 10);
 
27703
              buff += 10;
 
27704
              SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
 
27705
              methods[i].ml_doc = ndoc;
 
27706
            }
 
27707
          }
 
27708
        }
 
27709
      }
 
27710
    }
 
27711
  } 
 
27712
  
 
27713
#ifdef __cplusplus
 
27714
}
 
27715
#endif
 
27716
 
 
27717
/* -----------------------------------------------------------------------------*
 
27718
 *  Partial Init method
 
27719
 * -----------------------------------------------------------------------------*/
 
27720
 
 
27721
#ifdef __cplusplus
 
27722
extern "C"
 
27723
#endif
 
27724
SWIGEXPORT void SWIG_init(void) {
 
27725
  PyObject *m, *d;
 
27726
  
 
27727
  /* Fix SwigMethods to carry the callback ptrs when needed */
 
27728
  SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
 
27729
  
 
27730
  m = Py_InitModule((char *) SWIG_name, SwigMethods);
 
27731
  d = PyModule_GetDict(m);
 
27732
  
 
27733
  SWIG_InitializeModule(0);
 
27734
  SWIG_InstallConstants(d,swig_const_table);
 
27735
  
 
27736
  
 
27737
  PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
 
27738
  SWIG_addvarlink(SWIG_globals(),(char*)"STCNameStr",STCNameStr_get, STCNameStr_set);
 
27739
  SWIG_Python_SetConstant(d, "USE_STC",SWIG_From_int(static_cast< int >(1)));
 
27740
  SWIG_Python_SetConstant(d, "USE_TEXTCTRL",SWIG_From_int(static_cast< int >(1)));
 
27741
  SWIG_Python_SetConstant(d, "STC_USE_DND",SWIG_From_int(static_cast< int >(1)));
 
27742
  SWIG_Python_SetConstant(d, "STC_INVALID_POSITION",SWIG_From_int(static_cast< int >(-1)));
 
27743
  SWIG_Python_SetConstant(d, "STC_START",SWIG_From_int(static_cast< int >(2000)));
 
27744
  SWIG_Python_SetConstant(d, "STC_OPTIONAL_START",SWIG_From_int(static_cast< int >(3000)));
 
27745
  SWIG_Python_SetConstant(d, "STC_LEXER_START",SWIG_From_int(static_cast< int >(4000)));
 
27746
  SWIG_Python_SetConstant(d, "STC_WS_INVISIBLE",SWIG_From_int(static_cast< int >(0)));
 
27747
  SWIG_Python_SetConstant(d, "STC_WS_VISIBLEALWAYS",SWIG_From_int(static_cast< int >(1)));
 
27748
  SWIG_Python_SetConstant(d, "STC_WS_VISIBLEAFTERINDENT",SWIG_From_int(static_cast< int >(2)));
 
27749
  SWIG_Python_SetConstant(d, "STC_EOL_CRLF",SWIG_From_int(static_cast< int >(0)));
 
27750
  SWIG_Python_SetConstant(d, "STC_EOL_CR",SWIG_From_int(static_cast< int >(1)));
 
27751
  SWIG_Python_SetConstant(d, "STC_EOL_LF",SWIG_From_int(static_cast< int >(2)));
 
27752
  SWIG_Python_SetConstant(d, "STC_CP_UTF8",SWIG_From_int(static_cast< int >(65001)));
 
27753
  SWIG_Python_SetConstant(d, "STC_CP_DBCS",SWIG_From_int(static_cast< int >(1)));
 
27754
  SWIG_Python_SetConstant(d, "STC_MARKER_MAX",SWIG_From_int(static_cast< int >(31)));
 
27755
  SWIG_Python_SetConstant(d, "STC_MARK_CIRCLE",SWIG_From_int(static_cast< int >(0)));
 
27756
  SWIG_Python_SetConstant(d, "STC_MARK_ROUNDRECT",SWIG_From_int(static_cast< int >(1)));
 
27757
  SWIG_Python_SetConstant(d, "STC_MARK_ARROW",SWIG_From_int(static_cast< int >(2)));
 
27758
  SWIG_Python_SetConstant(d, "STC_MARK_SMALLRECT",SWIG_From_int(static_cast< int >(3)));
 
27759
  SWIG_Python_SetConstant(d, "STC_MARK_SHORTARROW",SWIG_From_int(static_cast< int >(4)));
 
27760
  SWIG_Python_SetConstant(d, "STC_MARK_EMPTY",SWIG_From_int(static_cast< int >(5)));
 
27761
  SWIG_Python_SetConstant(d, "STC_MARK_ARROWDOWN",SWIG_From_int(static_cast< int >(6)));
 
27762
  SWIG_Python_SetConstant(d, "STC_MARK_MINUS",SWIG_From_int(static_cast< int >(7)));
 
27763
  SWIG_Python_SetConstant(d, "STC_MARK_PLUS",SWIG_From_int(static_cast< int >(8)));
 
27764
  SWIG_Python_SetConstant(d, "STC_MARK_VLINE",SWIG_From_int(static_cast< int >(9)));
 
27765
  SWIG_Python_SetConstant(d, "STC_MARK_LCORNER",SWIG_From_int(static_cast< int >(10)));
 
27766
  SWIG_Python_SetConstant(d, "STC_MARK_TCORNER",SWIG_From_int(static_cast< int >(11)));
 
27767
  SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUS",SWIG_From_int(static_cast< int >(12)));
 
27768
  SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUSCONNECTED",SWIG_From_int(static_cast< int >(13)));
 
27769
  SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUS",SWIG_From_int(static_cast< int >(14)));
 
27770
  SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUSCONNECTED",SWIG_From_int(static_cast< int >(15)));
 
27771
  SWIG_Python_SetConstant(d, "STC_MARK_LCORNERCURVE",SWIG_From_int(static_cast< int >(16)));
 
27772
  SWIG_Python_SetConstant(d, "STC_MARK_TCORNERCURVE",SWIG_From_int(static_cast< int >(17)));
 
27773
  SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUS",SWIG_From_int(static_cast< int >(18)));
 
27774
  SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUSCONNECTED",SWIG_From_int(static_cast< int >(19)));
 
27775
  SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUS",SWIG_From_int(static_cast< int >(20)));
 
27776
  SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUSCONNECTED",SWIG_From_int(static_cast< int >(21)));
 
27777
  SWIG_Python_SetConstant(d, "STC_MARK_BACKGROUND",SWIG_From_int(static_cast< int >(22)));
 
27778
  SWIG_Python_SetConstant(d, "STC_MARK_DOTDOTDOT",SWIG_From_int(static_cast< int >(23)));
 
27779
  SWIG_Python_SetConstant(d, "STC_MARK_ARROWS",SWIG_From_int(static_cast< int >(24)));
 
27780
  SWIG_Python_SetConstant(d, "STC_MARK_PIXMAP",SWIG_From_int(static_cast< int >(25)));
 
27781
  SWIG_Python_SetConstant(d, "STC_MARK_FULLRECT",SWIG_From_int(static_cast< int >(26)));
 
27782
  SWIG_Python_SetConstant(d, "STC_MARK_LEFTRECT",SWIG_From_int(static_cast< int >(27)));
 
27783
  SWIG_Python_SetConstant(d, "STC_MARK_AVAILABLE",SWIG_From_int(static_cast< int >(28)));
 
27784
  SWIG_Python_SetConstant(d, "STC_MARK_UNDERLINE",SWIG_From_int(static_cast< int >(29)));
 
27785
  SWIG_Python_SetConstant(d, "STC_MARK_CHARACTER",SWIG_From_int(static_cast< int >(10000)));
 
27786
  SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEREND",SWIG_From_int(static_cast< int >(25)));
 
27787
  SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPENMID",SWIG_From_int(static_cast< int >(26)));
 
27788
  SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERMIDTAIL",SWIG_From_int(static_cast< int >(27)));
 
27789
  SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERTAIL",SWIG_From_int(static_cast< int >(28)));
 
27790
  SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERSUB",SWIG_From_int(static_cast< int >(29)));
 
27791
  SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDER",SWIG_From_int(static_cast< int >(30)));
 
27792
  SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPEN",SWIG_From_int(static_cast< int >(31)));
 
27793
  SWIG_Python_SetConstant(d, "STC_MASK_FOLDERS",SWIG_From_int(static_cast< int >(0xFE000000)));
 
27794
  SWIG_Python_SetConstant(d, "STC_MARGIN_SYMBOL",SWIG_From_int(static_cast< int >(0)));
 
27795
  SWIG_Python_SetConstant(d, "STC_MARGIN_NUMBER",SWIG_From_int(static_cast< int >(1)));
 
27796
  SWIG_Python_SetConstant(d, "STC_MARGIN_BACK",SWIG_From_int(static_cast< int >(2)));
 
27797
  SWIG_Python_SetConstant(d, "STC_MARGIN_FORE",SWIG_From_int(static_cast< int >(3)));
 
27798
  SWIG_Python_SetConstant(d, "STC_MARGIN_TEXT",SWIG_From_int(static_cast< int >(4)));
 
27799
  SWIG_Python_SetConstant(d, "STC_MARGIN_RTEXT",SWIG_From_int(static_cast< int >(5)));
 
27800
  SWIG_Python_SetConstant(d, "STC_STYLE_DEFAULT",SWIG_From_int(static_cast< int >(32)));
 
27801
  SWIG_Python_SetConstant(d, "STC_STYLE_LINENUMBER",SWIG_From_int(static_cast< int >(33)));
 
27802
  SWIG_Python_SetConstant(d, "STC_STYLE_BRACELIGHT",SWIG_From_int(static_cast< int >(34)));
 
27803
  SWIG_Python_SetConstant(d, "STC_STYLE_BRACEBAD",SWIG_From_int(static_cast< int >(35)));
 
27804
  SWIG_Python_SetConstant(d, "STC_STYLE_CONTROLCHAR",SWIG_From_int(static_cast< int >(36)));
 
27805
  SWIG_Python_SetConstant(d, "STC_STYLE_INDENTGUIDE",SWIG_From_int(static_cast< int >(37)));
 
27806
  SWIG_Python_SetConstant(d, "STC_STYLE_CALLTIP",SWIG_From_int(static_cast< int >(38)));
 
27807
  SWIG_Python_SetConstant(d, "STC_STYLE_LASTPREDEFINED",SWIG_From_int(static_cast< int >(39)));
 
27808
  SWIG_Python_SetConstant(d, "STC_STYLE_MAX",SWIG_From_int(static_cast< int >(255)));
 
27809
  SWIG_Python_SetConstant(d, "STC_CHARSET_ANSI",SWIG_From_int(static_cast< int >(0)));
 
27810
  SWIG_Python_SetConstant(d, "STC_CHARSET_DEFAULT",SWIG_From_int(static_cast< int >(1)));
 
27811
  SWIG_Python_SetConstant(d, "STC_CHARSET_BALTIC",SWIG_From_int(static_cast< int >(186)));
 
27812
  SWIG_Python_SetConstant(d, "STC_CHARSET_CHINESEBIG5",SWIG_From_int(static_cast< int >(136)));
 
27813
  SWIG_Python_SetConstant(d, "STC_CHARSET_EASTEUROPE",SWIG_From_int(static_cast< int >(238)));
 
27814
  SWIG_Python_SetConstant(d, "STC_CHARSET_GB2312",SWIG_From_int(static_cast< int >(134)));
 
27815
  SWIG_Python_SetConstant(d, "STC_CHARSET_GREEK",SWIG_From_int(static_cast< int >(161)));
 
27816
  SWIG_Python_SetConstant(d, "STC_CHARSET_HANGUL",SWIG_From_int(static_cast< int >(129)));
 
27817
  SWIG_Python_SetConstant(d, "STC_CHARSET_MAC",SWIG_From_int(static_cast< int >(77)));
 
27818
  SWIG_Python_SetConstant(d, "STC_CHARSET_OEM",SWIG_From_int(static_cast< int >(255)));
 
27819
  SWIG_Python_SetConstant(d, "STC_CHARSET_RUSSIAN",SWIG_From_int(static_cast< int >(204)));
 
27820
  SWIG_Python_SetConstant(d, "STC_CHARSET_CYRILLIC",SWIG_From_int(static_cast< int >(1251)));
 
27821
  SWIG_Python_SetConstant(d, "STC_CHARSET_SHIFTJIS",SWIG_From_int(static_cast< int >(128)));
 
27822
  SWIG_Python_SetConstant(d, "STC_CHARSET_SYMBOL",SWIG_From_int(static_cast< int >(2)));
 
27823
  SWIG_Python_SetConstant(d, "STC_CHARSET_TURKISH",SWIG_From_int(static_cast< int >(162)));
 
27824
  SWIG_Python_SetConstant(d, "STC_CHARSET_JOHAB",SWIG_From_int(static_cast< int >(130)));
 
27825
  SWIG_Python_SetConstant(d, "STC_CHARSET_HEBREW",SWIG_From_int(static_cast< int >(177)));
 
27826
  SWIG_Python_SetConstant(d, "STC_CHARSET_ARABIC",SWIG_From_int(static_cast< int >(178)));
 
27827
  SWIG_Python_SetConstant(d, "STC_CHARSET_VIETNAMESE",SWIG_From_int(static_cast< int >(163)));
 
27828
  SWIG_Python_SetConstant(d, "STC_CHARSET_THAI",SWIG_From_int(static_cast< int >(222)));
 
27829
  SWIG_Python_SetConstant(d, "STC_CHARSET_8859_15",SWIG_From_int(static_cast< int >(1000)));
 
27830
  SWIG_Python_SetConstant(d, "STC_CASE_MIXED",SWIG_From_int(static_cast< int >(0)));
 
27831
  SWIG_Python_SetConstant(d, "STC_CASE_UPPER",SWIG_From_int(static_cast< int >(1)));
 
27832
  SWIG_Python_SetConstant(d, "STC_CASE_LOWER",SWIG_From_int(static_cast< int >(2)));
 
27833
  SWIG_Python_SetConstant(d, "STC_INDIC_PLAIN",SWIG_From_int(static_cast< int >(0)));
 
27834
  SWIG_Python_SetConstant(d, "STC_INDIC_SQUIGGLE",SWIG_From_int(static_cast< int >(1)));
 
27835
  SWIG_Python_SetConstant(d, "STC_INDIC_TT",SWIG_From_int(static_cast< int >(2)));
 
27836
  SWIG_Python_SetConstant(d, "STC_INDIC_DIAGONAL",SWIG_From_int(static_cast< int >(3)));
 
27837
  SWIG_Python_SetConstant(d, "STC_INDIC_STRIKE",SWIG_From_int(static_cast< int >(4)));
 
27838
  SWIG_Python_SetConstant(d, "STC_INDIC_HIDDEN",SWIG_From_int(static_cast< int >(5)));
 
27839
  SWIG_Python_SetConstant(d, "STC_INDIC_BOX",SWIG_From_int(static_cast< int >(6)));
 
27840
  SWIG_Python_SetConstant(d, "STC_INDIC_ROUNDBOX",SWIG_From_int(static_cast< int >(7)));
 
27841
  SWIG_Python_SetConstant(d, "STC_INDIC_MAX",SWIG_From_int(static_cast< int >(31)));
 
27842
  SWIG_Python_SetConstant(d, "STC_INDIC_CONTAINER",SWIG_From_int(static_cast< int >(8)));
 
27843
  SWIG_Python_SetConstant(d, "STC_INDIC0_MASK",SWIG_From_int(static_cast< int >(0x20)));
 
27844
  SWIG_Python_SetConstant(d, "STC_INDIC1_MASK",SWIG_From_int(static_cast< int >(0x40)));
 
27845
  SWIG_Python_SetConstant(d, "STC_INDIC2_MASK",SWIG_From_int(static_cast< int >(0x80)));
 
27846
  SWIG_Python_SetConstant(d, "STC_INDICS_MASK",SWIG_From_int(static_cast< int >(0xE0)));
 
27847
  SWIG_Python_SetConstant(d, "STC_IV_NONE",SWIG_From_int(static_cast< int >(0)));
 
27848
  SWIG_Python_SetConstant(d, "STC_IV_REAL",SWIG_From_int(static_cast< int >(1)));
 
27849
  SWIG_Python_SetConstant(d, "STC_IV_LOOKFORWARD",SWIG_From_int(static_cast< int >(2)));
 
27850
  SWIG_Python_SetConstant(d, "STC_IV_LOOKBOTH",SWIG_From_int(static_cast< int >(3)));
 
27851
  SWIG_Python_SetConstant(d, "STC_PRINT_NORMAL",SWIG_From_int(static_cast< int >(0)));
 
27852
  SWIG_Python_SetConstant(d, "STC_PRINT_INVERTLIGHT",SWIG_From_int(static_cast< int >(1)));
 
27853
  SWIG_Python_SetConstant(d, "STC_PRINT_BLACKONWHITE",SWIG_From_int(static_cast< int >(2)));
 
27854
  SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITE",SWIG_From_int(static_cast< int >(3)));
 
27855
  SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITEDEFAULTBG",SWIG_From_int(static_cast< int >(4)));
 
27856
  SWIG_Python_SetConstant(d, "STC_FIND_WHOLEWORD",SWIG_From_int(static_cast< int >(2)));
 
27857
  SWIG_Python_SetConstant(d, "STC_FIND_MATCHCASE",SWIG_From_int(static_cast< int >(4)));
 
27858
  SWIG_Python_SetConstant(d, "STC_FIND_WORDSTART",SWIG_From_int(static_cast< int >(0x00100000)));
 
27859
  SWIG_Python_SetConstant(d, "STC_FIND_REGEXP",SWIG_From_int(static_cast< int >(0x00200000)));
 
27860
  SWIG_Python_SetConstant(d, "STC_FIND_POSIX",SWIG_From_int(static_cast< int >(0x00400000)));
 
27861
  SWIG_Python_SetConstant(d, "STC_FOLDLEVELBASE",SWIG_From_int(static_cast< int >(0x400)));
 
27862
  SWIG_Python_SetConstant(d, "STC_FOLDLEVELWHITEFLAG",SWIG_From_int(static_cast< int >(0x1000)));
 
27863
  SWIG_Python_SetConstant(d, "STC_FOLDLEVELHEADERFLAG",SWIG_From_int(static_cast< int >(0x2000)));
 
27864
  SWIG_Python_SetConstant(d, "STC_FOLDLEVELNUMBERMASK",SWIG_From_int(static_cast< int >(0x0FFF)));
 
27865
  SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_EXPANDED",SWIG_From_int(static_cast< int >(0x0002)));
 
27866
  SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_CONTRACTED",SWIG_From_int(static_cast< int >(0x0004)));
 
27867
  SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_EXPANDED",SWIG_From_int(static_cast< int >(0x0008)));
 
27868
  SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_CONTRACTED",SWIG_From_int(static_cast< int >(0x0010)));
 
27869
  SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LEVELNUMBERS",SWIG_From_int(static_cast< int >(0x0040)));
 
27870
  SWIG_Python_SetConstant(d, "STC_TIME_FOREVER",SWIG_From_int(static_cast< int >(10000000)));
 
27871
  SWIG_Python_SetConstant(d, "STC_WRAP_NONE",SWIG_From_int(static_cast< int >(0)));
 
27872
  SWIG_Python_SetConstant(d, "STC_WRAP_WORD",SWIG_From_int(static_cast< int >(1)));
 
27873
  SWIG_Python_SetConstant(d, "STC_WRAP_CHAR",SWIG_From_int(static_cast< int >(2)));
 
27874
  SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_NONE",SWIG_From_int(static_cast< int >(0x0000)));
 
27875
  SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_END",SWIG_From_int(static_cast< int >(0x0001)));
 
27876
  SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_START",SWIG_From_int(static_cast< int >(0x0002)));
 
27877
  SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_DEFAULT",SWIG_From_int(static_cast< int >(0x0000)));
 
27878
  SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_END_BY_TEXT",SWIG_From_int(static_cast< int >(0x0001)));
 
27879
  SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_START_BY_TEXT",SWIG_From_int(static_cast< int >(0x0002)));
 
27880
  SWIG_Python_SetConstant(d, "STC_WRAPINDENT_FIXED",SWIG_From_int(static_cast< int >(0)));
 
27881
  SWIG_Python_SetConstant(d, "STC_WRAPINDENT_SAME",SWIG_From_int(static_cast< int >(1)));
 
27882
  SWIG_Python_SetConstant(d, "STC_WRAPINDENT_INDENT",SWIG_From_int(static_cast< int >(2)));
 
27883
  SWIG_Python_SetConstant(d, "STC_CACHE_NONE",SWIG_From_int(static_cast< int >(0)));
 
27884
  SWIG_Python_SetConstant(d, "STC_CACHE_CARET",SWIG_From_int(static_cast< int >(1)));
 
27885
  SWIG_Python_SetConstant(d, "STC_CACHE_PAGE",SWIG_From_int(static_cast< int >(2)));
 
27886
  SWIG_Python_SetConstant(d, "STC_CACHE_DOCUMENT",SWIG_From_int(static_cast< int >(3)));
 
27887
  SWIG_Python_SetConstant(d, "STC_EFF_QUALITY_MASK",SWIG_From_int(static_cast< int >(0xF)));
 
27888
  SWIG_Python_SetConstant(d, "STC_EFF_QUALITY_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
27889
  SWIG_Python_SetConstant(d, "STC_EFF_QUALITY_NON_ANTIALIASED",SWIG_From_int(static_cast< int >(1)));
 
27890
  SWIG_Python_SetConstant(d, "STC_EFF_QUALITY_ANTIALIASED",SWIG_From_int(static_cast< int >(2)));
 
27891
  SWIG_Python_SetConstant(d, "STC_EFF_QUALITY_LCD_OPTIMIZED",SWIG_From_int(static_cast< int >(3)));
 
27892
  SWIG_Python_SetConstant(d, "STC_EDGE_NONE",SWIG_From_int(static_cast< int >(0)));
 
27893
  SWIG_Python_SetConstant(d, "STC_EDGE_LINE",SWIG_From_int(static_cast< int >(1)));
 
27894
  SWIG_Python_SetConstant(d, "STC_EDGE_BACKGROUND",SWIG_From_int(static_cast< int >(2)));
 
27895
  SWIG_Python_SetConstant(d, "STC_STATUS_OK",SWIG_From_int(static_cast< int >(0)));
 
27896
  SWIG_Python_SetConstant(d, "STC_STATUS_FAILURE",SWIG_From_int(static_cast< int >(1)));
 
27897
  SWIG_Python_SetConstant(d, "STC_STATUS_BADALLOC",SWIG_From_int(static_cast< int >(2)));
 
27898
  SWIG_Python_SetConstant(d, "STC_CURSORNORMAL",SWIG_From_int(static_cast< int >(-1)));
 
27899
  SWIG_Python_SetConstant(d, "STC_CURSORWAIT",SWIG_From_int(static_cast< int >(4)));
 
27900
  SWIG_Python_SetConstant(d, "STC_VISIBLE_SLOP",SWIG_From_int(static_cast< int >(0x01)));
 
27901
  SWIG_Python_SetConstant(d, "STC_VISIBLE_STRICT",SWIG_From_int(static_cast< int >(0x04)));
 
27902
  SWIG_Python_SetConstant(d, "STC_CARET_SLOP",SWIG_From_int(static_cast< int >(0x01)));
 
27903
  SWIG_Python_SetConstant(d, "STC_CARET_STRICT",SWIG_From_int(static_cast< int >(0x04)));
 
27904
  SWIG_Python_SetConstant(d, "STC_CARET_JUMPS",SWIG_From_int(static_cast< int >(0x10)));
 
27905
  SWIG_Python_SetConstant(d, "STC_CARET_EVEN",SWIG_From_int(static_cast< int >(0x08)));
 
27906
  SWIG_Python_SetConstant(d, "STC_SEL_STREAM",SWIG_From_int(static_cast< int >(0)));
 
27907
  SWIG_Python_SetConstant(d, "STC_SEL_RECTANGLE",SWIG_From_int(static_cast< int >(1)));
 
27908
  SWIG_Python_SetConstant(d, "STC_SEL_LINES",SWIG_From_int(static_cast< int >(2)));
 
27909
  SWIG_Python_SetConstant(d, "STC_SEL_THIN",SWIG_From_int(static_cast< int >(3)));
 
27910
  SWIG_Python_SetConstant(d, "STC_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(0)));
 
27911
  SWIG_Python_SetConstant(d, "STC_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(255)));
 
27912
  SWIG_Python_SetConstant(d, "STC_ALPHA_NOALPHA",SWIG_From_int(static_cast< int >(256)));
 
27913
  SWIG_Python_SetConstant(d, "STC_CARETSTYLE_INVISIBLE",SWIG_From_int(static_cast< int >(0)));
 
27914
  SWIG_Python_SetConstant(d, "STC_CARETSTYLE_LINE",SWIG_From_int(static_cast< int >(1)));
 
27915
  SWIG_Python_SetConstant(d, "STC_CARETSTYLE_BLOCK",SWIG_From_int(static_cast< int >(2)));
 
27916
  SWIG_Python_SetConstant(d, "STC_ANNOTATION_HIDDEN",SWIG_From_int(static_cast< int >(0)));
 
27917
  SWIG_Python_SetConstant(d, "STC_ANNOTATION_STANDARD",SWIG_From_int(static_cast< int >(1)));
 
27918
  SWIG_Python_SetConstant(d, "STC_ANNOTATION_BOXED",SWIG_From_int(static_cast< int >(2)));
 
27919
  SWIG_Python_SetConstant(d, "STC_UNDO_MAY_COALESCE",SWIG_From_int(static_cast< int >(1)));
 
27920
  SWIG_Python_SetConstant(d, "STC_SCVS_NONE",SWIG_From_int(static_cast< int >(0)));
 
27921
  SWIG_Python_SetConstant(d, "STC_SCVS_RECTANGULARSELECTION",SWIG_From_int(static_cast< int >(1)));
 
27922
  SWIG_Python_SetConstant(d, "STC_SCVS_USERACCESSIBLE",SWIG_From_int(static_cast< int >(2)));
 
27923
  SWIG_Python_SetConstant(d, "STC_KEYWORDSET_MAX",SWIG_From_int(static_cast< int >(8)));
 
27924
  SWIG_Python_SetConstant(d, "STC_MOD_INSERTTEXT",SWIG_From_int(static_cast< int >(0x1)));
 
27925
  SWIG_Python_SetConstant(d, "STC_MOD_DELETETEXT",SWIG_From_int(static_cast< int >(0x2)));
 
27926
  SWIG_Python_SetConstant(d, "STC_MOD_CHANGESTYLE",SWIG_From_int(static_cast< int >(0x4)));
 
27927
  SWIG_Python_SetConstant(d, "STC_MOD_CHANGEFOLD",SWIG_From_int(static_cast< int >(0x8)));
 
27928
  SWIG_Python_SetConstant(d, "STC_PERFORMED_USER",SWIG_From_int(static_cast< int >(0x10)));
 
27929
  SWIG_Python_SetConstant(d, "STC_PERFORMED_UNDO",SWIG_From_int(static_cast< int >(0x20)));
 
27930
  SWIG_Python_SetConstant(d, "STC_PERFORMED_REDO",SWIG_From_int(static_cast< int >(0x40)));
 
27931
  SWIG_Python_SetConstant(d, "STC_MULTISTEPUNDOREDO",SWIG_From_int(static_cast< int >(0x80)));
 
27932
  SWIG_Python_SetConstant(d, "STC_LASTSTEPINUNDOREDO",SWIG_From_int(static_cast< int >(0x100)));
 
27933
  SWIG_Python_SetConstant(d, "STC_MOD_CHANGEMARKER",SWIG_From_int(static_cast< int >(0x200)));
 
27934
  SWIG_Python_SetConstant(d, "STC_MOD_BEFOREINSERT",SWIG_From_int(static_cast< int >(0x400)));
 
27935
  SWIG_Python_SetConstant(d, "STC_MOD_BEFOREDELETE",SWIG_From_int(static_cast< int >(0x800)));
 
27936
  SWIG_Python_SetConstant(d, "STC_MULTILINEUNDOREDO",SWIG_From_int(static_cast< int >(0x1000)));
 
27937
  SWIG_Python_SetConstant(d, "STC_STARTACTION",SWIG_From_int(static_cast< int >(0x2000)));
 
27938
  SWIG_Python_SetConstant(d, "STC_MOD_CHANGEINDICATOR",SWIG_From_int(static_cast< int >(0x4000)));
 
27939
  SWIG_Python_SetConstant(d, "STC_MOD_CHANGELINESTATE",SWIG_From_int(static_cast< int >(0x8000)));
 
27940
  SWIG_Python_SetConstant(d, "STC_MOD_CHANGEMARGIN",SWIG_From_int(static_cast< int >(0x10000)));
 
27941
  SWIG_Python_SetConstant(d, "STC_MOD_CHANGEANNOTATION",SWIG_From_int(static_cast< int >(0x20000)));
 
27942
  SWIG_Python_SetConstant(d, "STC_MOD_CONTAINER",SWIG_From_int(static_cast< int >(0x40000)));
 
27943
  SWIG_Python_SetConstant(d, "STC_MODEVENTMASKALL",SWIG_From_int(static_cast< int >(0x7FFFF)));
 
27944
  SWIG_Python_SetConstant(d, "STC_KEY_DOWN",SWIG_From_int(static_cast< int >(300)));
 
27945
  SWIG_Python_SetConstant(d, "STC_KEY_UP",SWIG_From_int(static_cast< int >(301)));
 
27946
  SWIG_Python_SetConstant(d, "STC_KEY_LEFT",SWIG_From_int(static_cast< int >(302)));
 
27947
  SWIG_Python_SetConstant(d, "STC_KEY_RIGHT",SWIG_From_int(static_cast< int >(303)));
 
27948
  SWIG_Python_SetConstant(d, "STC_KEY_HOME",SWIG_From_int(static_cast< int >(304)));
 
27949
  SWIG_Python_SetConstant(d, "STC_KEY_END",SWIG_From_int(static_cast< int >(305)));
 
27950
  SWIG_Python_SetConstant(d, "STC_KEY_PRIOR",SWIG_From_int(static_cast< int >(306)));
 
27951
  SWIG_Python_SetConstant(d, "STC_KEY_NEXT",SWIG_From_int(static_cast< int >(307)));
 
27952
  SWIG_Python_SetConstant(d, "STC_KEY_DELETE",SWIG_From_int(static_cast< int >(308)));
 
27953
  SWIG_Python_SetConstant(d, "STC_KEY_INSERT",SWIG_From_int(static_cast< int >(309)));
 
27954
  SWIG_Python_SetConstant(d, "STC_KEY_ESCAPE",SWIG_From_int(static_cast< int >(7)));
 
27955
  SWIG_Python_SetConstant(d, "STC_KEY_BACK",SWIG_From_int(static_cast< int >(8)));
 
27956
  SWIG_Python_SetConstant(d, "STC_KEY_TAB",SWIG_From_int(static_cast< int >(9)));
 
27957
  SWIG_Python_SetConstant(d, "STC_KEY_RETURN",SWIG_From_int(static_cast< int >(13)));
 
27958
  SWIG_Python_SetConstant(d, "STC_KEY_ADD",SWIG_From_int(static_cast< int >(310)));
 
27959
  SWIG_Python_SetConstant(d, "STC_KEY_SUBTRACT",SWIG_From_int(static_cast< int >(311)));
 
27960
  SWIG_Python_SetConstant(d, "STC_KEY_DIVIDE",SWIG_From_int(static_cast< int >(312)));
 
27961
  SWIG_Python_SetConstant(d, "STC_KEY_WIN",SWIG_From_int(static_cast< int >(313)));
 
27962
  SWIG_Python_SetConstant(d, "STC_KEY_RWIN",SWIG_From_int(static_cast< int >(314)));
 
27963
  SWIG_Python_SetConstant(d, "STC_KEY_MENU",SWIG_From_int(static_cast< int >(315)));
 
27964
  SWIG_Python_SetConstant(d, "STC_SCMOD_NORM",SWIG_From_int(static_cast< int >(0)));
 
27965
  SWIG_Python_SetConstant(d, "STC_SCMOD_SHIFT",SWIG_From_int(static_cast< int >(1)));
 
27966
  SWIG_Python_SetConstant(d, "STC_SCMOD_CTRL",SWIG_From_int(static_cast< int >(2)));
 
27967
  SWIG_Python_SetConstant(d, "STC_SCMOD_ALT",SWIG_From_int(static_cast< int >(4)));
 
27968
  SWIG_Python_SetConstant(d, "STC_SCMOD_SUPER",SWIG_From_int(static_cast< int >(8)));
 
27969
  SWIG_Python_SetConstant(d, "STC_LEX_CONTAINER",SWIG_From_int(static_cast< int >(0)));
 
27970
  SWIG_Python_SetConstant(d, "STC_LEX_NULL",SWIG_From_int(static_cast< int >(1)));
 
27971
  SWIG_Python_SetConstant(d, "STC_LEX_PYTHON",SWIG_From_int(static_cast< int >(2)));
 
27972
  SWIG_Python_SetConstant(d, "STC_LEX_CPP",SWIG_From_int(static_cast< int >(3)));
 
27973
  SWIG_Python_SetConstant(d, "STC_LEX_HTML",SWIG_From_int(static_cast< int >(4)));
 
27974
  SWIG_Python_SetConstant(d, "STC_LEX_XML",SWIG_From_int(static_cast< int >(5)));
 
27975
  SWIG_Python_SetConstant(d, "STC_LEX_PERL",SWIG_From_int(static_cast< int >(6)));
 
27976
  SWIG_Python_SetConstant(d, "STC_LEX_SQL",SWIG_From_int(static_cast< int >(7)));
 
27977
  SWIG_Python_SetConstant(d, "STC_LEX_VB",SWIG_From_int(static_cast< int >(8)));
 
27978
  SWIG_Python_SetConstant(d, "STC_LEX_PROPERTIES",SWIG_From_int(static_cast< int >(9)));
 
27979
  SWIG_Python_SetConstant(d, "STC_LEX_ERRORLIST",SWIG_From_int(static_cast< int >(10)));
 
27980
  SWIG_Python_SetConstant(d, "STC_LEX_MAKEFILE",SWIG_From_int(static_cast< int >(11)));
 
27981
  SWIG_Python_SetConstant(d, "STC_LEX_BATCH",SWIG_From_int(static_cast< int >(12)));
 
27982
  SWIG_Python_SetConstant(d, "STC_LEX_XCODE",SWIG_From_int(static_cast< int >(13)));
 
27983
  SWIG_Python_SetConstant(d, "STC_LEX_LATEX",SWIG_From_int(static_cast< int >(14)));
 
27984
  SWIG_Python_SetConstant(d, "STC_LEX_LUA",SWIG_From_int(static_cast< int >(15)));
 
27985
  SWIG_Python_SetConstant(d, "STC_LEX_DIFF",SWIG_From_int(static_cast< int >(16)));
 
27986
  SWIG_Python_SetConstant(d, "STC_LEX_CONF",SWIG_From_int(static_cast< int >(17)));
 
27987
  SWIG_Python_SetConstant(d, "STC_LEX_PASCAL",SWIG_From_int(static_cast< int >(18)));
 
27988
  SWIG_Python_SetConstant(d, "STC_LEX_AVE",SWIG_From_int(static_cast< int >(19)));
 
27989
  SWIG_Python_SetConstant(d, "STC_LEX_ADA",SWIG_From_int(static_cast< int >(20)));
 
27990
  SWIG_Python_SetConstant(d, "STC_LEX_LISP",SWIG_From_int(static_cast< int >(21)));
 
27991
  SWIG_Python_SetConstant(d, "STC_LEX_RUBY",SWIG_From_int(static_cast< int >(22)));
 
27992
  SWIG_Python_SetConstant(d, "STC_LEX_EIFFEL",SWIG_From_int(static_cast< int >(23)));
 
27993
  SWIG_Python_SetConstant(d, "STC_LEX_EIFFELKW",SWIG_From_int(static_cast< int >(24)));
 
27994
  SWIG_Python_SetConstant(d, "STC_LEX_TCL",SWIG_From_int(static_cast< int >(25)));
 
27995
  SWIG_Python_SetConstant(d, "STC_LEX_NNCRONTAB",SWIG_From_int(static_cast< int >(26)));
 
27996
  SWIG_Python_SetConstant(d, "STC_LEX_BULLANT",SWIG_From_int(static_cast< int >(27)));
 
27997
  SWIG_Python_SetConstant(d, "STC_LEX_VBSCRIPT",SWIG_From_int(static_cast< int >(28)));
 
27998
  SWIG_Python_SetConstant(d, "STC_LEX_BAAN",SWIG_From_int(static_cast< int >(31)));
 
27999
  SWIG_Python_SetConstant(d, "STC_LEX_MATLAB",SWIG_From_int(static_cast< int >(32)));
 
28000
  SWIG_Python_SetConstant(d, "STC_LEX_SCRIPTOL",SWIG_From_int(static_cast< int >(33)));
 
28001
  SWIG_Python_SetConstant(d, "STC_LEX_ASM",SWIG_From_int(static_cast< int >(34)));
 
28002
  SWIG_Python_SetConstant(d, "STC_LEX_CPPNOCASE",SWIG_From_int(static_cast< int >(35)));
 
28003
  SWIG_Python_SetConstant(d, "STC_LEX_FORTRAN",SWIG_From_int(static_cast< int >(36)));
 
28004
  SWIG_Python_SetConstant(d, "STC_LEX_F77",SWIG_From_int(static_cast< int >(37)));
 
28005
  SWIG_Python_SetConstant(d, "STC_LEX_CSS",SWIG_From_int(static_cast< int >(38)));
 
28006
  SWIG_Python_SetConstant(d, "STC_LEX_POV",SWIG_From_int(static_cast< int >(39)));
 
28007
  SWIG_Python_SetConstant(d, "STC_LEX_LOUT",SWIG_From_int(static_cast< int >(40)));
 
28008
  SWIG_Python_SetConstant(d, "STC_LEX_ESCRIPT",SWIG_From_int(static_cast< int >(41)));
 
28009
  SWIG_Python_SetConstant(d, "STC_LEX_PS",SWIG_From_int(static_cast< int >(42)));
 
28010
  SWIG_Python_SetConstant(d, "STC_LEX_NSIS",SWIG_From_int(static_cast< int >(43)));
 
28011
  SWIG_Python_SetConstant(d, "STC_LEX_MMIXAL",SWIG_From_int(static_cast< int >(44)));
 
28012
  SWIG_Python_SetConstant(d, "STC_LEX_CLW",SWIG_From_int(static_cast< int >(45)));
 
28013
  SWIG_Python_SetConstant(d, "STC_LEX_CLWNOCASE",SWIG_From_int(static_cast< int >(46)));
 
28014
  SWIG_Python_SetConstant(d, "STC_LEX_LOT",SWIG_From_int(static_cast< int >(47)));
 
28015
  SWIG_Python_SetConstant(d, "STC_LEX_YAML",SWIG_From_int(static_cast< int >(48)));
 
28016
  SWIG_Python_SetConstant(d, "STC_LEX_TEX",SWIG_From_int(static_cast< int >(49)));
 
28017
  SWIG_Python_SetConstant(d, "STC_LEX_METAPOST",SWIG_From_int(static_cast< int >(50)));
 
28018
  SWIG_Python_SetConstant(d, "STC_LEX_POWERBASIC",SWIG_From_int(static_cast< int >(51)));
 
28019
  SWIG_Python_SetConstant(d, "STC_LEX_FORTH",SWIG_From_int(static_cast< int >(52)));
 
28020
  SWIG_Python_SetConstant(d, "STC_LEX_ERLANG",SWIG_From_int(static_cast< int >(53)));
 
28021
  SWIG_Python_SetConstant(d, "STC_LEX_OCTAVE",SWIG_From_int(static_cast< int >(54)));
 
28022
  SWIG_Python_SetConstant(d, "STC_LEX_MSSQL",SWIG_From_int(static_cast< int >(55)));
 
28023
  SWIG_Python_SetConstant(d, "STC_LEX_VERILOG",SWIG_From_int(static_cast< int >(56)));
 
28024
  SWIG_Python_SetConstant(d, "STC_LEX_KIX",SWIG_From_int(static_cast< int >(57)));
 
28025
  SWIG_Python_SetConstant(d, "STC_LEX_GUI4CLI",SWIG_From_int(static_cast< int >(58)));
 
28026
  SWIG_Python_SetConstant(d, "STC_LEX_SPECMAN",SWIG_From_int(static_cast< int >(59)));
 
28027
  SWIG_Python_SetConstant(d, "STC_LEX_AU3",SWIG_From_int(static_cast< int >(60)));
 
28028
  SWIG_Python_SetConstant(d, "STC_LEX_APDL",SWIG_From_int(static_cast< int >(61)));
 
28029
  SWIG_Python_SetConstant(d, "STC_LEX_BASH",SWIG_From_int(static_cast< int >(62)));
 
28030
  SWIG_Python_SetConstant(d, "STC_LEX_ASN1",SWIG_From_int(static_cast< int >(63)));
 
28031
  SWIG_Python_SetConstant(d, "STC_LEX_VHDL",SWIG_From_int(static_cast< int >(64)));
 
28032
  SWIG_Python_SetConstant(d, "STC_LEX_CAML",SWIG_From_int(static_cast< int >(65)));
 
28033
  SWIG_Python_SetConstant(d, "STC_LEX_BLITZBASIC",SWIG_From_int(static_cast< int >(66)));
 
28034
  SWIG_Python_SetConstant(d, "STC_LEX_PUREBASIC",SWIG_From_int(static_cast< int >(67)));
 
28035
  SWIG_Python_SetConstant(d, "STC_LEX_HASKELL",SWIG_From_int(static_cast< int >(68)));
 
28036
  SWIG_Python_SetConstant(d, "STC_LEX_PHPSCRIPT",SWIG_From_int(static_cast< int >(69)));
 
28037
  SWIG_Python_SetConstant(d, "STC_LEX_TADS3",SWIG_From_int(static_cast< int >(70)));
 
28038
  SWIG_Python_SetConstant(d, "STC_LEX_REBOL",SWIG_From_int(static_cast< int >(71)));
 
28039
  SWIG_Python_SetConstant(d, "STC_LEX_SMALLTALK",SWIG_From_int(static_cast< int >(72)));
 
28040
  SWIG_Python_SetConstant(d, "STC_LEX_FLAGSHIP",SWIG_From_int(static_cast< int >(73)));
 
28041
  SWIG_Python_SetConstant(d, "STC_LEX_CSOUND",SWIG_From_int(static_cast< int >(74)));
 
28042
  SWIG_Python_SetConstant(d, "STC_LEX_FREEBASIC",SWIG_From_int(static_cast< int >(75)));
 
28043
  SWIG_Python_SetConstant(d, "STC_LEX_INNOSETUP",SWIG_From_int(static_cast< int >(76)));
 
28044
  SWIG_Python_SetConstant(d, "STC_LEX_OPAL",SWIG_From_int(static_cast< int >(77)));
 
28045
  SWIG_Python_SetConstant(d, "STC_LEX_SPICE",SWIG_From_int(static_cast< int >(78)));
 
28046
  SWIG_Python_SetConstant(d, "STC_LEX_D",SWIG_From_int(static_cast< int >(79)));
 
28047
  SWIG_Python_SetConstant(d, "STC_LEX_CMAKE",SWIG_From_int(static_cast< int >(80)));
 
28048
  SWIG_Python_SetConstant(d, "STC_LEX_GAP",SWIG_From_int(static_cast< int >(81)));
 
28049
  SWIG_Python_SetConstant(d, "STC_LEX_PLM",SWIG_From_int(static_cast< int >(82)));
 
28050
  SWIG_Python_SetConstant(d, "STC_LEX_PROGRESS",SWIG_From_int(static_cast< int >(83)));
 
28051
  SWIG_Python_SetConstant(d, "STC_LEX_ABAQUS",SWIG_From_int(static_cast< int >(84)));
 
28052
  SWIG_Python_SetConstant(d, "STC_LEX_ASYMPTOTE",SWIG_From_int(static_cast< int >(85)));
 
28053
  SWIG_Python_SetConstant(d, "STC_LEX_R",SWIG_From_int(static_cast< int >(86)));
 
28054
  SWIG_Python_SetConstant(d, "STC_LEX_MAGIK",SWIG_From_int(static_cast< int >(87)));
 
28055
  SWIG_Python_SetConstant(d, "STC_LEX_POWERSHELL",SWIG_From_int(static_cast< int >(88)));
 
28056
  SWIG_Python_SetConstant(d, "STC_LEX_MYSQL",SWIG_From_int(static_cast< int >(89)));
 
28057
  SWIG_Python_SetConstant(d, "STC_LEX_PO",SWIG_From_int(static_cast< int >(90)));
 
28058
  SWIG_Python_SetConstant(d, "STC_LEX_TAL",SWIG_From_int(static_cast< int >(91)));
 
28059
  SWIG_Python_SetConstant(d, "STC_LEX_COBOL",SWIG_From_int(static_cast< int >(92)));
 
28060
  SWIG_Python_SetConstant(d, "STC_LEX_TACL",SWIG_From_int(static_cast< int >(93)));
 
28061
  SWIG_Python_SetConstant(d, "STC_LEX_SORCUS",SWIG_From_int(static_cast< int >(94)));
 
28062
  SWIG_Python_SetConstant(d, "STC_LEX_POWERPRO",SWIG_From_int(static_cast< int >(95)));
 
28063
  SWIG_Python_SetConstant(d, "STC_LEX_NIMROD",SWIG_From_int(static_cast< int >(96)));
 
28064
  SWIG_Python_SetConstant(d, "STC_LEX_SML",SWIG_From_int(static_cast< int >(97)));
 
28065
  SWIG_Python_SetConstant(d, "STC_LEX_MARKDOWN",SWIG_From_int(static_cast< int >(98)));
 
28066
  SWIG_Python_SetConstant(d, "STC_LEX_AUTOMATIC",SWIG_From_int(static_cast< int >(1000)));
 
28067
  SWIG_Python_SetConstant(d, "STC_P_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28068
  SWIG_Python_SetConstant(d, "STC_P_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
 
28069
  SWIG_Python_SetConstant(d, "STC_P_NUMBER",SWIG_From_int(static_cast< int >(2)));
 
28070
  SWIG_Python_SetConstant(d, "STC_P_STRING",SWIG_From_int(static_cast< int >(3)));
 
28071
  SWIG_Python_SetConstant(d, "STC_P_CHARACTER",SWIG_From_int(static_cast< int >(4)));
 
28072
  SWIG_Python_SetConstant(d, "STC_P_WORD",SWIG_From_int(static_cast< int >(5)));
 
28073
  SWIG_Python_SetConstant(d, "STC_P_TRIPLE",SWIG_From_int(static_cast< int >(6)));
 
28074
  SWIG_Python_SetConstant(d, "STC_P_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(7)));
 
28075
  SWIG_Python_SetConstant(d, "STC_P_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
 
28076
  SWIG_Python_SetConstant(d, "STC_P_DEFNAME",SWIG_From_int(static_cast< int >(9)));
 
28077
  SWIG_Python_SetConstant(d, "STC_P_OPERATOR",SWIG_From_int(static_cast< int >(10)));
 
28078
  SWIG_Python_SetConstant(d, "STC_P_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
 
28079
  SWIG_Python_SetConstant(d, "STC_P_COMMENTBLOCK",SWIG_From_int(static_cast< int >(12)));
 
28080
  SWIG_Python_SetConstant(d, "STC_P_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
 
28081
  SWIG_Python_SetConstant(d, "STC_P_WORD2",SWIG_From_int(static_cast< int >(14)));
 
28082
  SWIG_Python_SetConstant(d, "STC_P_DECORATOR",SWIG_From_int(static_cast< int >(15)));
 
28083
  SWIG_Python_SetConstant(d, "STC_C_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28084
  SWIG_Python_SetConstant(d, "STC_C_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28085
  SWIG_Python_SetConstant(d, "STC_C_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28086
  SWIG_Python_SetConstant(d, "STC_C_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
 
28087
  SWIG_Python_SetConstant(d, "STC_C_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
28088
  SWIG_Python_SetConstant(d, "STC_C_WORD",SWIG_From_int(static_cast< int >(5)));
 
28089
  SWIG_Python_SetConstant(d, "STC_C_STRING",SWIG_From_int(static_cast< int >(6)));
 
28090
  SWIG_Python_SetConstant(d, "STC_C_CHARACTER",SWIG_From_int(static_cast< int >(7)));
 
28091
  SWIG_Python_SetConstant(d, "STC_C_UUID",SWIG_From_int(static_cast< int >(8)));
 
28092
  SWIG_Python_SetConstant(d, "STC_C_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
 
28093
  SWIG_Python_SetConstant(d, "STC_C_OPERATOR",SWIG_From_int(static_cast< int >(10)));
 
28094
  SWIG_Python_SetConstant(d, "STC_C_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
 
28095
  SWIG_Python_SetConstant(d, "STC_C_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
 
28096
  SWIG_Python_SetConstant(d, "STC_C_VERBATIM",SWIG_From_int(static_cast< int >(13)));
 
28097
  SWIG_Python_SetConstant(d, "STC_C_REGEX",SWIG_From_int(static_cast< int >(14)));
 
28098
  SWIG_Python_SetConstant(d, "STC_C_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
 
28099
  SWIG_Python_SetConstant(d, "STC_C_WORD2",SWIG_From_int(static_cast< int >(16)));
 
28100
  SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
 
28101
  SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
 
28102
  SWIG_Python_SetConstant(d, "STC_C_GLOBALCLASS",SWIG_From_int(static_cast< int >(19)));
 
28103
  SWIG_Python_SetConstant(d, "STC_D_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28104
  SWIG_Python_SetConstant(d, "STC_D_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28105
  SWIG_Python_SetConstant(d, "STC_D_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28106
  SWIG_Python_SetConstant(d, "STC_D_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
 
28107
  SWIG_Python_SetConstant(d, "STC_D_COMMENTNESTED",SWIG_From_int(static_cast< int >(4)));
 
28108
  SWIG_Python_SetConstant(d, "STC_D_NUMBER",SWIG_From_int(static_cast< int >(5)));
 
28109
  SWIG_Python_SetConstant(d, "STC_D_WORD",SWIG_From_int(static_cast< int >(6)));
 
28110
  SWIG_Python_SetConstant(d, "STC_D_WORD2",SWIG_From_int(static_cast< int >(7)));
 
28111
  SWIG_Python_SetConstant(d, "STC_D_WORD3",SWIG_From_int(static_cast< int >(8)));
 
28112
  SWIG_Python_SetConstant(d, "STC_D_TYPEDEF",SWIG_From_int(static_cast< int >(9)));
 
28113
  SWIG_Python_SetConstant(d, "STC_D_STRING",SWIG_From_int(static_cast< int >(10)));
 
28114
  SWIG_Python_SetConstant(d, "STC_D_STRINGEOL",SWIG_From_int(static_cast< int >(11)));
 
28115
  SWIG_Python_SetConstant(d, "STC_D_CHARACTER",SWIG_From_int(static_cast< int >(12)));
 
28116
  SWIG_Python_SetConstant(d, "STC_D_OPERATOR",SWIG_From_int(static_cast< int >(13)));
 
28117
  SWIG_Python_SetConstant(d, "STC_D_IDENTIFIER",SWIG_From_int(static_cast< int >(14)));
 
28118
  SWIG_Python_SetConstant(d, "STC_D_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
 
28119
  SWIG_Python_SetConstant(d, "STC_D_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(16)));
 
28120
  SWIG_Python_SetConstant(d, "STC_D_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(17)));
 
28121
  SWIG_Python_SetConstant(d, "STC_D_STRINGB",SWIG_From_int(static_cast< int >(18)));
 
28122
  SWIG_Python_SetConstant(d, "STC_D_STRINGR",SWIG_From_int(static_cast< int >(19)));
 
28123
  SWIG_Python_SetConstant(d, "STC_D_WORD5",SWIG_From_int(static_cast< int >(20)));
 
28124
  SWIG_Python_SetConstant(d, "STC_D_WORD6",SWIG_From_int(static_cast< int >(21)));
 
28125
  SWIG_Python_SetConstant(d, "STC_D_WORD7",SWIG_From_int(static_cast< int >(22)));
 
28126
  SWIG_Python_SetConstant(d, "STC_TCL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28127
  SWIG_Python_SetConstant(d, "STC_TCL_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28128
  SWIG_Python_SetConstant(d, "STC_TCL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28129
  SWIG_Python_SetConstant(d, "STC_TCL_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
28130
  SWIG_Python_SetConstant(d, "STC_TCL_WORD_IN_QUOTE",SWIG_From_int(static_cast< int >(4)));
 
28131
  SWIG_Python_SetConstant(d, "STC_TCL_IN_QUOTE",SWIG_From_int(static_cast< int >(5)));
 
28132
  SWIG_Python_SetConstant(d, "STC_TCL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
 
28133
  SWIG_Python_SetConstant(d, "STC_TCL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
 
28134
  SWIG_Python_SetConstant(d, "STC_TCL_SUBSTITUTION",SWIG_From_int(static_cast< int >(8)));
 
28135
  SWIG_Python_SetConstant(d, "STC_TCL_SUB_BRACE",SWIG_From_int(static_cast< int >(9)));
 
28136
  SWIG_Python_SetConstant(d, "STC_TCL_MODIFIER",SWIG_From_int(static_cast< int >(10)));
 
28137
  SWIG_Python_SetConstant(d, "STC_TCL_EXPAND",SWIG_From_int(static_cast< int >(11)));
 
28138
  SWIG_Python_SetConstant(d, "STC_TCL_WORD",SWIG_From_int(static_cast< int >(12)));
 
28139
  SWIG_Python_SetConstant(d, "STC_TCL_WORD2",SWIG_From_int(static_cast< int >(13)));
 
28140
  SWIG_Python_SetConstant(d, "STC_TCL_WORD3",SWIG_From_int(static_cast< int >(14)));
 
28141
  SWIG_Python_SetConstant(d, "STC_TCL_WORD4",SWIG_From_int(static_cast< int >(15)));
 
28142
  SWIG_Python_SetConstant(d, "STC_TCL_WORD5",SWIG_From_int(static_cast< int >(16)));
 
28143
  SWIG_Python_SetConstant(d, "STC_TCL_WORD6",SWIG_From_int(static_cast< int >(17)));
 
28144
  SWIG_Python_SetConstant(d, "STC_TCL_WORD7",SWIG_From_int(static_cast< int >(18)));
 
28145
  SWIG_Python_SetConstant(d, "STC_TCL_WORD8",SWIG_From_int(static_cast< int >(19)));
 
28146
  SWIG_Python_SetConstant(d, "STC_TCL_COMMENT_BOX",SWIG_From_int(static_cast< int >(20)));
 
28147
  SWIG_Python_SetConstant(d, "STC_TCL_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(21)));
 
28148
  SWIG_Python_SetConstant(d, "STC_H_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28149
  SWIG_Python_SetConstant(d, "STC_H_TAG",SWIG_From_int(static_cast< int >(1)));
 
28150
  SWIG_Python_SetConstant(d, "STC_H_TAGUNKNOWN",SWIG_From_int(static_cast< int >(2)));
 
28151
  SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTE",SWIG_From_int(static_cast< int >(3)));
 
28152
  SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTEUNKNOWN",SWIG_From_int(static_cast< int >(4)));
 
28153
  SWIG_Python_SetConstant(d, "STC_H_NUMBER",SWIG_From_int(static_cast< int >(5)));
 
28154
  SWIG_Python_SetConstant(d, "STC_H_DOUBLESTRING",SWIG_From_int(static_cast< int >(6)));
 
28155
  SWIG_Python_SetConstant(d, "STC_H_SINGLESTRING",SWIG_From_int(static_cast< int >(7)));
 
28156
  SWIG_Python_SetConstant(d, "STC_H_OTHER",SWIG_From_int(static_cast< int >(8)));
 
28157
  SWIG_Python_SetConstant(d, "STC_H_COMMENT",SWIG_From_int(static_cast< int >(9)));
 
28158
  SWIG_Python_SetConstant(d, "STC_H_ENTITY",SWIG_From_int(static_cast< int >(10)));
 
28159
  SWIG_Python_SetConstant(d, "STC_H_TAGEND",SWIG_From_int(static_cast< int >(11)));
 
28160
  SWIG_Python_SetConstant(d, "STC_H_XMLSTART",SWIG_From_int(static_cast< int >(12)));
 
28161
  SWIG_Python_SetConstant(d, "STC_H_XMLEND",SWIG_From_int(static_cast< int >(13)));
 
28162
  SWIG_Python_SetConstant(d, "STC_H_SCRIPT",SWIG_From_int(static_cast< int >(14)));
 
28163
  SWIG_Python_SetConstant(d, "STC_H_ASP",SWIG_From_int(static_cast< int >(15)));
 
28164
  SWIG_Python_SetConstant(d, "STC_H_ASPAT",SWIG_From_int(static_cast< int >(16)));
 
28165
  SWIG_Python_SetConstant(d, "STC_H_CDATA",SWIG_From_int(static_cast< int >(17)));
 
28166
  SWIG_Python_SetConstant(d, "STC_H_QUESTION",SWIG_From_int(static_cast< int >(18)));
 
28167
  SWIG_Python_SetConstant(d, "STC_H_VALUE",SWIG_From_int(static_cast< int >(19)));
 
28168
  SWIG_Python_SetConstant(d, "STC_H_XCCOMMENT",SWIG_From_int(static_cast< int >(20)));
 
28169
  SWIG_Python_SetConstant(d, "STC_H_SGML_DEFAULT",SWIG_From_int(static_cast< int >(21)));
 
28170
  SWIG_Python_SetConstant(d, "STC_H_SGML_COMMAND",SWIG_From_int(static_cast< int >(22)));
 
28171
  SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM",SWIG_From_int(static_cast< int >(23)));
 
28172
  SWIG_Python_SetConstant(d, "STC_H_SGML_DOUBLESTRING",SWIG_From_int(static_cast< int >(24)));
 
28173
  SWIG_Python_SetConstant(d, "STC_H_SGML_SIMPLESTRING",SWIG_From_int(static_cast< int >(25)));
 
28174
  SWIG_Python_SetConstant(d, "STC_H_SGML_ERROR",SWIG_From_int(static_cast< int >(26)));
 
28175
  SWIG_Python_SetConstant(d, "STC_H_SGML_SPECIAL",SWIG_From_int(static_cast< int >(27)));
 
28176
  SWIG_Python_SetConstant(d, "STC_H_SGML_ENTITY",SWIG_From_int(static_cast< int >(28)));
 
28177
  SWIG_Python_SetConstant(d, "STC_H_SGML_COMMENT",SWIG_From_int(static_cast< int >(29)));
 
28178
  SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM_COMMENT",SWIG_From_int(static_cast< int >(30)));
 
28179
  SWIG_Python_SetConstant(d, "STC_H_SGML_BLOCK_DEFAULT",SWIG_From_int(static_cast< int >(31)));
 
28180
  SWIG_Python_SetConstant(d, "STC_HJ_START",SWIG_From_int(static_cast< int >(40)));
 
28181
  SWIG_Python_SetConstant(d, "STC_HJ_DEFAULT",SWIG_From_int(static_cast< int >(41)));
 
28182
  SWIG_Python_SetConstant(d, "STC_HJ_COMMENT",SWIG_From_int(static_cast< int >(42)));
 
28183
  SWIG_Python_SetConstant(d, "STC_HJ_COMMENTLINE",SWIG_From_int(static_cast< int >(43)));
 
28184
  SWIG_Python_SetConstant(d, "STC_HJ_COMMENTDOC",SWIG_From_int(static_cast< int >(44)));
 
28185
  SWIG_Python_SetConstant(d, "STC_HJ_NUMBER",SWIG_From_int(static_cast< int >(45)));
 
28186
  SWIG_Python_SetConstant(d, "STC_HJ_WORD",SWIG_From_int(static_cast< int >(46)));
 
28187
  SWIG_Python_SetConstant(d, "STC_HJ_KEYWORD",SWIG_From_int(static_cast< int >(47)));
 
28188
  SWIG_Python_SetConstant(d, "STC_HJ_DOUBLESTRING",SWIG_From_int(static_cast< int >(48)));
 
28189
  SWIG_Python_SetConstant(d, "STC_HJ_SINGLESTRING",SWIG_From_int(static_cast< int >(49)));
 
28190
  SWIG_Python_SetConstant(d, "STC_HJ_SYMBOLS",SWIG_From_int(static_cast< int >(50)));
 
28191
  SWIG_Python_SetConstant(d, "STC_HJ_STRINGEOL",SWIG_From_int(static_cast< int >(51)));
 
28192
  SWIG_Python_SetConstant(d, "STC_HJ_REGEX",SWIG_From_int(static_cast< int >(52)));
 
28193
  SWIG_Python_SetConstant(d, "STC_HJA_START",SWIG_From_int(static_cast< int >(55)));
 
28194
  SWIG_Python_SetConstant(d, "STC_HJA_DEFAULT",SWIG_From_int(static_cast< int >(56)));
 
28195
  SWIG_Python_SetConstant(d, "STC_HJA_COMMENT",SWIG_From_int(static_cast< int >(57)));
 
28196
  SWIG_Python_SetConstant(d, "STC_HJA_COMMENTLINE",SWIG_From_int(static_cast< int >(58)));
 
28197
  SWIG_Python_SetConstant(d, "STC_HJA_COMMENTDOC",SWIG_From_int(static_cast< int >(59)));
 
28198
  SWIG_Python_SetConstant(d, "STC_HJA_NUMBER",SWIG_From_int(static_cast< int >(60)));
 
28199
  SWIG_Python_SetConstant(d, "STC_HJA_WORD",SWIG_From_int(static_cast< int >(61)));
 
28200
  SWIG_Python_SetConstant(d, "STC_HJA_KEYWORD",SWIG_From_int(static_cast< int >(62)));
 
28201
  SWIG_Python_SetConstant(d, "STC_HJA_DOUBLESTRING",SWIG_From_int(static_cast< int >(63)));
 
28202
  SWIG_Python_SetConstant(d, "STC_HJA_SINGLESTRING",SWIG_From_int(static_cast< int >(64)));
 
28203
  SWIG_Python_SetConstant(d, "STC_HJA_SYMBOLS",SWIG_From_int(static_cast< int >(65)));
 
28204
  SWIG_Python_SetConstant(d, "STC_HJA_STRINGEOL",SWIG_From_int(static_cast< int >(66)));
 
28205
  SWIG_Python_SetConstant(d, "STC_HJA_REGEX",SWIG_From_int(static_cast< int >(67)));
 
28206
  SWIG_Python_SetConstant(d, "STC_HB_START",SWIG_From_int(static_cast< int >(70)));
 
28207
  SWIG_Python_SetConstant(d, "STC_HB_DEFAULT",SWIG_From_int(static_cast< int >(71)));
 
28208
  SWIG_Python_SetConstant(d, "STC_HB_COMMENTLINE",SWIG_From_int(static_cast< int >(72)));
 
28209
  SWIG_Python_SetConstant(d, "STC_HB_NUMBER",SWIG_From_int(static_cast< int >(73)));
 
28210
  SWIG_Python_SetConstant(d, "STC_HB_WORD",SWIG_From_int(static_cast< int >(74)));
 
28211
  SWIG_Python_SetConstant(d, "STC_HB_STRING",SWIG_From_int(static_cast< int >(75)));
 
28212
  SWIG_Python_SetConstant(d, "STC_HB_IDENTIFIER",SWIG_From_int(static_cast< int >(76)));
 
28213
  SWIG_Python_SetConstant(d, "STC_HB_STRINGEOL",SWIG_From_int(static_cast< int >(77)));
 
28214
  SWIG_Python_SetConstant(d, "STC_HBA_START",SWIG_From_int(static_cast< int >(80)));
 
28215
  SWIG_Python_SetConstant(d, "STC_HBA_DEFAULT",SWIG_From_int(static_cast< int >(81)));
 
28216
  SWIG_Python_SetConstant(d, "STC_HBA_COMMENTLINE",SWIG_From_int(static_cast< int >(82)));
 
28217
  SWIG_Python_SetConstant(d, "STC_HBA_NUMBER",SWIG_From_int(static_cast< int >(83)));
 
28218
  SWIG_Python_SetConstant(d, "STC_HBA_WORD",SWIG_From_int(static_cast< int >(84)));
 
28219
  SWIG_Python_SetConstant(d, "STC_HBA_STRING",SWIG_From_int(static_cast< int >(85)));
 
28220
  SWIG_Python_SetConstant(d, "STC_HBA_IDENTIFIER",SWIG_From_int(static_cast< int >(86)));
 
28221
  SWIG_Python_SetConstant(d, "STC_HBA_STRINGEOL",SWIG_From_int(static_cast< int >(87)));
 
28222
  SWIG_Python_SetConstant(d, "STC_HP_START",SWIG_From_int(static_cast< int >(90)));
 
28223
  SWIG_Python_SetConstant(d, "STC_HP_DEFAULT",SWIG_From_int(static_cast< int >(91)));
 
28224
  SWIG_Python_SetConstant(d, "STC_HP_COMMENTLINE",SWIG_From_int(static_cast< int >(92)));
 
28225
  SWIG_Python_SetConstant(d, "STC_HP_NUMBER",SWIG_From_int(static_cast< int >(93)));
 
28226
  SWIG_Python_SetConstant(d, "STC_HP_STRING",SWIG_From_int(static_cast< int >(94)));
 
28227
  SWIG_Python_SetConstant(d, "STC_HP_CHARACTER",SWIG_From_int(static_cast< int >(95)));
 
28228
  SWIG_Python_SetConstant(d, "STC_HP_WORD",SWIG_From_int(static_cast< int >(96)));
 
28229
  SWIG_Python_SetConstant(d, "STC_HP_TRIPLE",SWIG_From_int(static_cast< int >(97)));
 
28230
  SWIG_Python_SetConstant(d, "STC_HP_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(98)));
 
28231
  SWIG_Python_SetConstant(d, "STC_HP_CLASSNAME",SWIG_From_int(static_cast< int >(99)));
 
28232
  SWIG_Python_SetConstant(d, "STC_HP_DEFNAME",SWIG_From_int(static_cast< int >(100)));
 
28233
  SWIG_Python_SetConstant(d, "STC_HP_OPERATOR",SWIG_From_int(static_cast< int >(101)));
 
28234
  SWIG_Python_SetConstant(d, "STC_HP_IDENTIFIER",SWIG_From_int(static_cast< int >(102)));
 
28235
  SWIG_Python_SetConstant(d, "STC_HPHP_COMPLEX_VARIABLE",SWIG_From_int(static_cast< int >(104)));
 
28236
  SWIG_Python_SetConstant(d, "STC_HPA_START",SWIG_From_int(static_cast< int >(105)));
 
28237
  SWIG_Python_SetConstant(d, "STC_HPA_DEFAULT",SWIG_From_int(static_cast< int >(106)));
 
28238
  SWIG_Python_SetConstant(d, "STC_HPA_COMMENTLINE",SWIG_From_int(static_cast< int >(107)));
 
28239
  SWIG_Python_SetConstant(d, "STC_HPA_NUMBER",SWIG_From_int(static_cast< int >(108)));
 
28240
  SWIG_Python_SetConstant(d, "STC_HPA_STRING",SWIG_From_int(static_cast< int >(109)));
 
28241
  SWIG_Python_SetConstant(d, "STC_HPA_CHARACTER",SWIG_From_int(static_cast< int >(110)));
 
28242
  SWIG_Python_SetConstant(d, "STC_HPA_WORD",SWIG_From_int(static_cast< int >(111)));
 
28243
  SWIG_Python_SetConstant(d, "STC_HPA_TRIPLE",SWIG_From_int(static_cast< int >(112)));
 
28244
  SWIG_Python_SetConstant(d, "STC_HPA_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(113)));
 
28245
  SWIG_Python_SetConstant(d, "STC_HPA_CLASSNAME",SWIG_From_int(static_cast< int >(114)));
 
28246
  SWIG_Python_SetConstant(d, "STC_HPA_DEFNAME",SWIG_From_int(static_cast< int >(115)));
 
28247
  SWIG_Python_SetConstant(d, "STC_HPA_OPERATOR",SWIG_From_int(static_cast< int >(116)));
 
28248
  SWIG_Python_SetConstant(d, "STC_HPA_IDENTIFIER",SWIG_From_int(static_cast< int >(117)));
 
28249
  SWIG_Python_SetConstant(d, "STC_HPHP_DEFAULT",SWIG_From_int(static_cast< int >(118)));
 
28250
  SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING",SWIG_From_int(static_cast< int >(119)));
 
28251
  SWIG_Python_SetConstant(d, "STC_HPHP_SIMPLESTRING",SWIG_From_int(static_cast< int >(120)));
 
28252
  SWIG_Python_SetConstant(d, "STC_HPHP_WORD",SWIG_From_int(static_cast< int >(121)));
 
28253
  SWIG_Python_SetConstant(d, "STC_HPHP_NUMBER",SWIG_From_int(static_cast< int >(122)));
 
28254
  SWIG_Python_SetConstant(d, "STC_HPHP_VARIABLE",SWIG_From_int(static_cast< int >(123)));
 
28255
  SWIG_Python_SetConstant(d, "STC_HPHP_COMMENT",SWIG_From_int(static_cast< int >(124)));
 
28256
  SWIG_Python_SetConstant(d, "STC_HPHP_COMMENTLINE",SWIG_From_int(static_cast< int >(125)));
 
28257
  SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING_VARIABLE",SWIG_From_int(static_cast< int >(126)));
 
28258
  SWIG_Python_SetConstant(d, "STC_HPHP_OPERATOR",SWIG_From_int(static_cast< int >(127)));
 
28259
  SWIG_Python_SetConstant(d, "STC_PL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28260
  SWIG_Python_SetConstant(d, "STC_PL_ERROR",SWIG_From_int(static_cast< int >(1)));
 
28261
  SWIG_Python_SetConstant(d, "STC_PL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28262
  SWIG_Python_SetConstant(d, "STC_PL_POD",SWIG_From_int(static_cast< int >(3)));
 
28263
  SWIG_Python_SetConstant(d, "STC_PL_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
28264
  SWIG_Python_SetConstant(d, "STC_PL_WORD",SWIG_From_int(static_cast< int >(5)));
 
28265
  SWIG_Python_SetConstant(d, "STC_PL_STRING",SWIG_From_int(static_cast< int >(6)));
 
28266
  SWIG_Python_SetConstant(d, "STC_PL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
 
28267
  SWIG_Python_SetConstant(d, "STC_PL_PUNCTUATION",SWIG_From_int(static_cast< int >(8)));
 
28268
  SWIG_Python_SetConstant(d, "STC_PL_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
 
28269
  SWIG_Python_SetConstant(d, "STC_PL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
 
28270
  SWIG_Python_SetConstant(d, "STC_PL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
 
28271
  SWIG_Python_SetConstant(d, "STC_PL_SCALAR",SWIG_From_int(static_cast< int >(12)));
 
28272
  SWIG_Python_SetConstant(d, "STC_PL_ARRAY",SWIG_From_int(static_cast< int >(13)));
 
28273
  SWIG_Python_SetConstant(d, "STC_PL_HASH",SWIG_From_int(static_cast< int >(14)));
 
28274
  SWIG_Python_SetConstant(d, "STC_PL_SYMBOLTABLE",SWIG_From_int(static_cast< int >(15)));
 
28275
  SWIG_Python_SetConstant(d, "STC_PL_VARIABLE_INDEXER",SWIG_From_int(static_cast< int >(16)));
 
28276
  SWIG_Python_SetConstant(d, "STC_PL_REGEX",SWIG_From_int(static_cast< int >(17)));
 
28277
  SWIG_Python_SetConstant(d, "STC_PL_REGSUBST",SWIG_From_int(static_cast< int >(18)));
 
28278
  SWIG_Python_SetConstant(d, "STC_PL_LONGQUOTE",SWIG_From_int(static_cast< int >(19)));
 
28279
  SWIG_Python_SetConstant(d, "STC_PL_BACKTICKS",SWIG_From_int(static_cast< int >(20)));
 
28280
  SWIG_Python_SetConstant(d, "STC_PL_DATASECTION",SWIG_From_int(static_cast< int >(21)));
 
28281
  SWIG_Python_SetConstant(d, "STC_PL_HERE_DELIM",SWIG_From_int(static_cast< int >(22)));
 
28282
  SWIG_Python_SetConstant(d, "STC_PL_HERE_Q",SWIG_From_int(static_cast< int >(23)));
 
28283
  SWIG_Python_SetConstant(d, "STC_PL_HERE_QQ",SWIG_From_int(static_cast< int >(24)));
 
28284
  SWIG_Python_SetConstant(d, "STC_PL_HERE_QX",SWIG_From_int(static_cast< int >(25)));
 
28285
  SWIG_Python_SetConstant(d, "STC_PL_STRING_Q",SWIG_From_int(static_cast< int >(26)));
 
28286
  SWIG_Python_SetConstant(d, "STC_PL_STRING_QQ",SWIG_From_int(static_cast< int >(27)));
 
28287
  SWIG_Python_SetConstant(d, "STC_PL_STRING_QX",SWIG_From_int(static_cast< int >(28)));
 
28288
  SWIG_Python_SetConstant(d, "STC_PL_STRING_QR",SWIG_From_int(static_cast< int >(29)));
 
28289
  SWIG_Python_SetConstant(d, "STC_PL_STRING_QW",SWIG_From_int(static_cast< int >(30)));
 
28290
  SWIG_Python_SetConstant(d, "STC_PL_POD_VERB",SWIG_From_int(static_cast< int >(31)));
 
28291
  SWIG_Python_SetConstant(d, "STC_PL_SUB_PROTOTYPE",SWIG_From_int(static_cast< int >(40)));
 
28292
  SWIG_Python_SetConstant(d, "STC_PL_FORMAT_IDENT",SWIG_From_int(static_cast< int >(41)));
 
28293
  SWIG_Python_SetConstant(d, "STC_PL_FORMAT",SWIG_From_int(static_cast< int >(42)));
 
28294
  SWIG_Python_SetConstant(d, "STC_RB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28295
  SWIG_Python_SetConstant(d, "STC_RB_ERROR",SWIG_From_int(static_cast< int >(1)));
 
28296
  SWIG_Python_SetConstant(d, "STC_RB_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28297
  SWIG_Python_SetConstant(d, "STC_RB_POD",SWIG_From_int(static_cast< int >(3)));
 
28298
  SWIG_Python_SetConstant(d, "STC_RB_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
28299
  SWIG_Python_SetConstant(d, "STC_RB_WORD",SWIG_From_int(static_cast< int >(5)));
 
28300
  SWIG_Python_SetConstant(d, "STC_RB_STRING",SWIG_From_int(static_cast< int >(6)));
 
28301
  SWIG_Python_SetConstant(d, "STC_RB_CHARACTER",SWIG_From_int(static_cast< int >(7)));
 
28302
  SWIG_Python_SetConstant(d, "STC_RB_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
 
28303
  SWIG_Python_SetConstant(d, "STC_RB_DEFNAME",SWIG_From_int(static_cast< int >(9)));
 
28304
  SWIG_Python_SetConstant(d, "STC_RB_OPERATOR",SWIG_From_int(static_cast< int >(10)));
 
28305
  SWIG_Python_SetConstant(d, "STC_RB_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
 
28306
  SWIG_Python_SetConstant(d, "STC_RB_REGEX",SWIG_From_int(static_cast< int >(12)));
 
28307
  SWIG_Python_SetConstant(d, "STC_RB_GLOBAL",SWIG_From_int(static_cast< int >(13)));
 
28308
  SWIG_Python_SetConstant(d, "STC_RB_SYMBOL",SWIG_From_int(static_cast< int >(14)));
 
28309
  SWIG_Python_SetConstant(d, "STC_RB_MODULE_NAME",SWIG_From_int(static_cast< int >(15)));
 
28310
  SWIG_Python_SetConstant(d, "STC_RB_INSTANCE_VAR",SWIG_From_int(static_cast< int >(16)));
 
28311
  SWIG_Python_SetConstant(d, "STC_RB_CLASS_VAR",SWIG_From_int(static_cast< int >(17)));
 
28312
  SWIG_Python_SetConstant(d, "STC_RB_BACKTICKS",SWIG_From_int(static_cast< int >(18)));
 
28313
  SWIG_Python_SetConstant(d, "STC_RB_DATASECTION",SWIG_From_int(static_cast< int >(19)));
 
28314
  SWIG_Python_SetConstant(d, "STC_RB_HERE_DELIM",SWIG_From_int(static_cast< int >(20)));
 
28315
  SWIG_Python_SetConstant(d, "STC_RB_HERE_Q",SWIG_From_int(static_cast< int >(21)));
 
28316
  SWIG_Python_SetConstant(d, "STC_RB_HERE_QQ",SWIG_From_int(static_cast< int >(22)));
 
28317
  SWIG_Python_SetConstant(d, "STC_RB_HERE_QX",SWIG_From_int(static_cast< int >(23)));
 
28318
  SWIG_Python_SetConstant(d, "STC_RB_STRING_Q",SWIG_From_int(static_cast< int >(24)));
 
28319
  SWIG_Python_SetConstant(d, "STC_RB_STRING_QQ",SWIG_From_int(static_cast< int >(25)));
 
28320
  SWIG_Python_SetConstant(d, "STC_RB_STRING_QX",SWIG_From_int(static_cast< int >(26)));
 
28321
  SWIG_Python_SetConstant(d, "STC_RB_STRING_QR",SWIG_From_int(static_cast< int >(27)));
 
28322
  SWIG_Python_SetConstant(d, "STC_RB_STRING_QW",SWIG_From_int(static_cast< int >(28)));
 
28323
  SWIG_Python_SetConstant(d, "STC_RB_WORD_DEMOTED",SWIG_From_int(static_cast< int >(29)));
 
28324
  SWIG_Python_SetConstant(d, "STC_RB_STDIN",SWIG_From_int(static_cast< int >(30)));
 
28325
  SWIG_Python_SetConstant(d, "STC_RB_STDOUT",SWIG_From_int(static_cast< int >(31)));
 
28326
  SWIG_Python_SetConstant(d, "STC_RB_STDERR",SWIG_From_int(static_cast< int >(40)));
 
28327
  SWIG_Python_SetConstant(d, "STC_RB_UPPER_BOUND",SWIG_From_int(static_cast< int >(41)));
 
28328
  SWIG_Python_SetConstant(d, "STC_B_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28329
  SWIG_Python_SetConstant(d, "STC_B_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28330
  SWIG_Python_SetConstant(d, "STC_B_NUMBER",SWIG_From_int(static_cast< int >(2)));
 
28331
  SWIG_Python_SetConstant(d, "STC_B_KEYWORD",SWIG_From_int(static_cast< int >(3)));
 
28332
  SWIG_Python_SetConstant(d, "STC_B_STRING",SWIG_From_int(static_cast< int >(4)));
 
28333
  SWIG_Python_SetConstant(d, "STC_B_PREPROCESSOR",SWIG_From_int(static_cast< int >(5)));
 
28334
  SWIG_Python_SetConstant(d, "STC_B_OPERATOR",SWIG_From_int(static_cast< int >(6)));
 
28335
  SWIG_Python_SetConstant(d, "STC_B_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
 
28336
  SWIG_Python_SetConstant(d, "STC_B_DATE",SWIG_From_int(static_cast< int >(8)));
 
28337
  SWIG_Python_SetConstant(d, "STC_B_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
 
28338
  SWIG_Python_SetConstant(d, "STC_B_KEYWORD2",SWIG_From_int(static_cast< int >(10)));
 
28339
  SWIG_Python_SetConstant(d, "STC_B_KEYWORD3",SWIG_From_int(static_cast< int >(11)));
 
28340
  SWIG_Python_SetConstant(d, "STC_B_KEYWORD4",SWIG_From_int(static_cast< int >(12)));
 
28341
  SWIG_Python_SetConstant(d, "STC_B_CONSTANT",SWIG_From_int(static_cast< int >(13)));
 
28342
  SWIG_Python_SetConstant(d, "STC_B_ASM",SWIG_From_int(static_cast< int >(14)));
 
28343
  SWIG_Python_SetConstant(d, "STC_B_LABEL",SWIG_From_int(static_cast< int >(15)));
 
28344
  SWIG_Python_SetConstant(d, "STC_B_ERROR",SWIG_From_int(static_cast< int >(16)));
 
28345
  SWIG_Python_SetConstant(d, "STC_B_HEXNUMBER",SWIG_From_int(static_cast< int >(17)));
 
28346
  SWIG_Python_SetConstant(d, "STC_B_BINNUMBER",SWIG_From_int(static_cast< int >(18)));
 
28347
  SWIG_Python_SetConstant(d, "STC_PROPS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28348
  SWIG_Python_SetConstant(d, "STC_PROPS_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28349
  SWIG_Python_SetConstant(d, "STC_PROPS_SECTION",SWIG_From_int(static_cast< int >(2)));
 
28350
  SWIG_Python_SetConstant(d, "STC_PROPS_ASSIGNMENT",SWIG_From_int(static_cast< int >(3)));
 
28351
  SWIG_Python_SetConstant(d, "STC_PROPS_DEFVAL",SWIG_From_int(static_cast< int >(4)));
 
28352
  SWIG_Python_SetConstant(d, "STC_PROPS_KEY",SWIG_From_int(static_cast< int >(5)));
 
28353
  SWIG_Python_SetConstant(d, "STC_L_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28354
  SWIG_Python_SetConstant(d, "STC_L_COMMAND",SWIG_From_int(static_cast< int >(1)));
 
28355
  SWIG_Python_SetConstant(d, "STC_L_TAG",SWIG_From_int(static_cast< int >(2)));
 
28356
  SWIG_Python_SetConstant(d, "STC_L_MATH",SWIG_From_int(static_cast< int >(3)));
 
28357
  SWIG_Python_SetConstant(d, "STC_L_COMMENT",SWIG_From_int(static_cast< int >(4)));
 
28358
  SWIG_Python_SetConstant(d, "STC_LUA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28359
  SWIG_Python_SetConstant(d, "STC_LUA_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28360
  SWIG_Python_SetConstant(d, "STC_LUA_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28361
  SWIG_Python_SetConstant(d, "STC_LUA_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
 
28362
  SWIG_Python_SetConstant(d, "STC_LUA_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
28363
  SWIG_Python_SetConstant(d, "STC_LUA_WORD",SWIG_From_int(static_cast< int >(5)));
 
28364
  SWIG_Python_SetConstant(d, "STC_LUA_STRING",SWIG_From_int(static_cast< int >(6)));
 
28365
  SWIG_Python_SetConstant(d, "STC_LUA_CHARACTER",SWIG_From_int(static_cast< int >(7)));
 
28366
  SWIG_Python_SetConstant(d, "STC_LUA_LITERALSTRING",SWIG_From_int(static_cast< int >(8)));
 
28367
  SWIG_Python_SetConstant(d, "STC_LUA_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
 
28368
  SWIG_Python_SetConstant(d, "STC_LUA_OPERATOR",SWIG_From_int(static_cast< int >(10)));
 
28369
  SWIG_Python_SetConstant(d, "STC_LUA_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
 
28370
  SWIG_Python_SetConstant(d, "STC_LUA_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
 
28371
  SWIG_Python_SetConstant(d, "STC_LUA_WORD2",SWIG_From_int(static_cast< int >(13)));
 
28372
  SWIG_Python_SetConstant(d, "STC_LUA_WORD3",SWIG_From_int(static_cast< int >(14)));
 
28373
  SWIG_Python_SetConstant(d, "STC_LUA_WORD4",SWIG_From_int(static_cast< int >(15)));
 
28374
  SWIG_Python_SetConstant(d, "STC_LUA_WORD5",SWIG_From_int(static_cast< int >(16)));
 
28375
  SWIG_Python_SetConstant(d, "STC_LUA_WORD6",SWIG_From_int(static_cast< int >(17)));
 
28376
  SWIG_Python_SetConstant(d, "STC_LUA_WORD7",SWIG_From_int(static_cast< int >(18)));
 
28377
  SWIG_Python_SetConstant(d, "STC_LUA_WORD8",SWIG_From_int(static_cast< int >(19)));
 
28378
  SWIG_Python_SetConstant(d, "STC_ERR_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28379
  SWIG_Python_SetConstant(d, "STC_ERR_PYTHON",SWIG_From_int(static_cast< int >(1)));
 
28380
  SWIG_Python_SetConstant(d, "STC_ERR_GCC",SWIG_From_int(static_cast< int >(2)));
 
28381
  SWIG_Python_SetConstant(d, "STC_ERR_MS",SWIG_From_int(static_cast< int >(3)));
 
28382
  SWIG_Python_SetConstant(d, "STC_ERR_CMD",SWIG_From_int(static_cast< int >(4)));
 
28383
  SWIG_Python_SetConstant(d, "STC_ERR_BORLAND",SWIG_From_int(static_cast< int >(5)));
 
28384
  SWIG_Python_SetConstant(d, "STC_ERR_PERL",SWIG_From_int(static_cast< int >(6)));
 
28385
  SWIG_Python_SetConstant(d, "STC_ERR_NET",SWIG_From_int(static_cast< int >(7)));
 
28386
  SWIG_Python_SetConstant(d, "STC_ERR_LUA",SWIG_From_int(static_cast< int >(8)));
 
28387
  SWIG_Python_SetConstant(d, "STC_ERR_CTAG",SWIG_From_int(static_cast< int >(9)));
 
28388
  SWIG_Python_SetConstant(d, "STC_ERR_DIFF_CHANGED",SWIG_From_int(static_cast< int >(10)));
 
28389
  SWIG_Python_SetConstant(d, "STC_ERR_DIFF_ADDITION",SWIG_From_int(static_cast< int >(11)));
 
28390
  SWIG_Python_SetConstant(d, "STC_ERR_DIFF_DELETION",SWIG_From_int(static_cast< int >(12)));
 
28391
  SWIG_Python_SetConstant(d, "STC_ERR_DIFF_MESSAGE",SWIG_From_int(static_cast< int >(13)));
 
28392
  SWIG_Python_SetConstant(d, "STC_ERR_PHP",SWIG_From_int(static_cast< int >(14)));
 
28393
  SWIG_Python_SetConstant(d, "STC_ERR_ELF",SWIG_From_int(static_cast< int >(15)));
 
28394
  SWIG_Python_SetConstant(d, "STC_ERR_IFC",SWIG_From_int(static_cast< int >(16)));
 
28395
  SWIG_Python_SetConstant(d, "STC_ERR_IFORT",SWIG_From_int(static_cast< int >(17)));
 
28396
  SWIG_Python_SetConstant(d, "STC_ERR_ABSF",SWIG_From_int(static_cast< int >(18)));
 
28397
  SWIG_Python_SetConstant(d, "STC_ERR_TIDY",SWIG_From_int(static_cast< int >(19)));
 
28398
  SWIG_Python_SetConstant(d, "STC_ERR_JAVA_STACK",SWIG_From_int(static_cast< int >(20)));
 
28399
  SWIG_Python_SetConstant(d, "STC_ERR_VALUE",SWIG_From_int(static_cast< int >(21)));
 
28400
  SWIG_Python_SetConstant(d, "STC_BAT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28401
  SWIG_Python_SetConstant(d, "STC_BAT_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28402
  SWIG_Python_SetConstant(d, "STC_BAT_WORD",SWIG_From_int(static_cast< int >(2)));
 
28403
  SWIG_Python_SetConstant(d, "STC_BAT_LABEL",SWIG_From_int(static_cast< int >(3)));
 
28404
  SWIG_Python_SetConstant(d, "STC_BAT_HIDE",SWIG_From_int(static_cast< int >(4)));
 
28405
  SWIG_Python_SetConstant(d, "STC_BAT_COMMAND",SWIG_From_int(static_cast< int >(5)));
 
28406
  SWIG_Python_SetConstant(d, "STC_BAT_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
 
28407
  SWIG_Python_SetConstant(d, "STC_BAT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
 
28408
  SWIG_Python_SetConstant(d, "STC_MAKE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28409
  SWIG_Python_SetConstant(d, "STC_MAKE_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28410
  SWIG_Python_SetConstant(d, "STC_MAKE_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
 
28411
  SWIG_Python_SetConstant(d, "STC_MAKE_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
 
28412
  SWIG_Python_SetConstant(d, "STC_MAKE_OPERATOR",SWIG_From_int(static_cast< int >(4)));
 
28413
  SWIG_Python_SetConstant(d, "STC_MAKE_TARGET",SWIG_From_int(static_cast< int >(5)));
 
28414
  SWIG_Python_SetConstant(d, "STC_MAKE_IDEOL",SWIG_From_int(static_cast< int >(9)));
 
28415
  SWIG_Python_SetConstant(d, "STC_DIFF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28416
  SWIG_Python_SetConstant(d, "STC_DIFF_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28417
  SWIG_Python_SetConstant(d, "STC_DIFF_COMMAND",SWIG_From_int(static_cast< int >(2)));
 
28418
  SWIG_Python_SetConstant(d, "STC_DIFF_HEADER",SWIG_From_int(static_cast< int >(3)));
 
28419
  SWIG_Python_SetConstant(d, "STC_DIFF_POSITION",SWIG_From_int(static_cast< int >(4)));
 
28420
  SWIG_Python_SetConstant(d, "STC_DIFF_DELETED",SWIG_From_int(static_cast< int >(5)));
 
28421
  SWIG_Python_SetConstant(d, "STC_DIFF_ADDED",SWIG_From_int(static_cast< int >(6)));
 
28422
  SWIG_Python_SetConstant(d, "STC_DIFF_CHANGED",SWIG_From_int(static_cast< int >(7)));
 
28423
  SWIG_Python_SetConstant(d, "STC_CONF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28424
  SWIG_Python_SetConstant(d, "STC_CONF_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28425
  SWIG_Python_SetConstant(d, "STC_CONF_NUMBER",SWIG_From_int(static_cast< int >(2)));
 
28426
  SWIG_Python_SetConstant(d, "STC_CONF_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
 
28427
  SWIG_Python_SetConstant(d, "STC_CONF_EXTENSION",SWIG_From_int(static_cast< int >(4)));
 
28428
  SWIG_Python_SetConstant(d, "STC_CONF_PARAMETER",SWIG_From_int(static_cast< int >(5)));
 
28429
  SWIG_Python_SetConstant(d, "STC_CONF_STRING",SWIG_From_int(static_cast< int >(6)));
 
28430
  SWIG_Python_SetConstant(d, "STC_CONF_OPERATOR",SWIG_From_int(static_cast< int >(7)));
 
28431
  SWIG_Python_SetConstant(d, "STC_CONF_IP",SWIG_From_int(static_cast< int >(8)));
 
28432
  SWIG_Python_SetConstant(d, "STC_CONF_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
 
28433
  SWIG_Python_SetConstant(d, "STC_AVE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28434
  SWIG_Python_SetConstant(d, "STC_AVE_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28435
  SWIG_Python_SetConstant(d, "STC_AVE_NUMBER",SWIG_From_int(static_cast< int >(2)));
 
28436
  SWIG_Python_SetConstant(d, "STC_AVE_WORD",SWIG_From_int(static_cast< int >(3)));
 
28437
  SWIG_Python_SetConstant(d, "STC_AVE_STRING",SWIG_From_int(static_cast< int >(6)));
 
28438
  SWIG_Python_SetConstant(d, "STC_AVE_ENUM",SWIG_From_int(static_cast< int >(7)));
 
28439
  SWIG_Python_SetConstant(d, "STC_AVE_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
 
28440
  SWIG_Python_SetConstant(d, "STC_AVE_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
 
28441
  SWIG_Python_SetConstant(d, "STC_AVE_OPERATOR",SWIG_From_int(static_cast< int >(10)));
 
28442
  SWIG_Python_SetConstant(d, "STC_AVE_WORD1",SWIG_From_int(static_cast< int >(11)));
 
28443
  SWIG_Python_SetConstant(d, "STC_AVE_WORD2",SWIG_From_int(static_cast< int >(12)));
 
28444
  SWIG_Python_SetConstant(d, "STC_AVE_WORD3",SWIG_From_int(static_cast< int >(13)));
 
28445
  SWIG_Python_SetConstant(d, "STC_AVE_WORD4",SWIG_From_int(static_cast< int >(14)));
 
28446
  SWIG_Python_SetConstant(d, "STC_AVE_WORD5",SWIG_From_int(static_cast< int >(15)));
 
28447
  SWIG_Python_SetConstant(d, "STC_AVE_WORD6",SWIG_From_int(static_cast< int >(16)));
 
28448
  SWIG_Python_SetConstant(d, "STC_ADA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28449
  SWIG_Python_SetConstant(d, "STC_ADA_WORD",SWIG_From_int(static_cast< int >(1)));
 
28450
  SWIG_Python_SetConstant(d, "STC_ADA_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
 
28451
  SWIG_Python_SetConstant(d, "STC_ADA_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
28452
  SWIG_Python_SetConstant(d, "STC_ADA_DELIMITER",SWIG_From_int(static_cast< int >(4)));
 
28453
  SWIG_Python_SetConstant(d, "STC_ADA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
 
28454
  SWIG_Python_SetConstant(d, "STC_ADA_CHARACTEREOL",SWIG_From_int(static_cast< int >(6)));
 
28455
  SWIG_Python_SetConstant(d, "STC_ADA_STRING",SWIG_From_int(static_cast< int >(7)));
 
28456
  SWIG_Python_SetConstant(d, "STC_ADA_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
 
28457
  SWIG_Python_SetConstant(d, "STC_ADA_LABEL",SWIG_From_int(static_cast< int >(9)));
 
28458
  SWIG_Python_SetConstant(d, "STC_ADA_COMMENTLINE",SWIG_From_int(static_cast< int >(10)));
 
28459
  SWIG_Python_SetConstant(d, "STC_ADA_ILLEGAL",SWIG_From_int(static_cast< int >(11)));
 
28460
  SWIG_Python_SetConstant(d, "STC_BAAN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28461
  SWIG_Python_SetConstant(d, "STC_BAAN_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28462
  SWIG_Python_SetConstant(d, "STC_BAAN_COMMENTDOC",SWIG_From_int(static_cast< int >(2)));
 
28463
  SWIG_Python_SetConstant(d, "STC_BAAN_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
28464
  SWIG_Python_SetConstant(d, "STC_BAAN_WORD",SWIG_From_int(static_cast< int >(4)));
 
28465
  SWIG_Python_SetConstant(d, "STC_BAAN_STRING",SWIG_From_int(static_cast< int >(5)));
 
28466
  SWIG_Python_SetConstant(d, "STC_BAAN_PREPROCESSOR",SWIG_From_int(static_cast< int >(6)));
 
28467
  SWIG_Python_SetConstant(d, "STC_BAAN_OPERATOR",SWIG_From_int(static_cast< int >(7)));
 
28468
  SWIG_Python_SetConstant(d, "STC_BAAN_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
 
28469
  SWIG_Python_SetConstant(d, "STC_BAAN_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
 
28470
  SWIG_Python_SetConstant(d, "STC_BAAN_WORD2",SWIG_From_int(static_cast< int >(10)));
 
28471
  SWIG_Python_SetConstant(d, "STC_LISP_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28472
  SWIG_Python_SetConstant(d, "STC_LISP_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28473
  SWIG_Python_SetConstant(d, "STC_LISP_NUMBER",SWIG_From_int(static_cast< int >(2)));
 
28474
  SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD",SWIG_From_int(static_cast< int >(3)));
 
28475
  SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD_KW",SWIG_From_int(static_cast< int >(4)));
 
28476
  SWIG_Python_SetConstant(d, "STC_LISP_SYMBOL",SWIG_From_int(static_cast< int >(5)));
 
28477
  SWIG_Python_SetConstant(d, "STC_LISP_STRING",SWIG_From_int(static_cast< int >(6)));
 
28478
  SWIG_Python_SetConstant(d, "STC_LISP_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
 
28479
  SWIG_Python_SetConstant(d, "STC_LISP_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
 
28480
  SWIG_Python_SetConstant(d, "STC_LISP_OPERATOR",SWIG_From_int(static_cast< int >(10)));
 
28481
  SWIG_Python_SetConstant(d, "STC_LISP_SPECIAL",SWIG_From_int(static_cast< int >(11)));
 
28482
  SWIG_Python_SetConstant(d, "STC_LISP_MULTI_COMMENT",SWIG_From_int(static_cast< int >(12)));
 
28483
  SWIG_Python_SetConstant(d, "STC_EIFFEL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28484
  SWIG_Python_SetConstant(d, "STC_EIFFEL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
 
28485
  SWIG_Python_SetConstant(d, "STC_EIFFEL_NUMBER",SWIG_From_int(static_cast< int >(2)));
 
28486
  SWIG_Python_SetConstant(d, "STC_EIFFEL_WORD",SWIG_From_int(static_cast< int >(3)));
 
28487
  SWIG_Python_SetConstant(d, "STC_EIFFEL_STRING",SWIG_From_int(static_cast< int >(4)));
 
28488
  SWIG_Python_SetConstant(d, "STC_EIFFEL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
 
28489
  SWIG_Python_SetConstant(d, "STC_EIFFEL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
 
28490
  SWIG_Python_SetConstant(d, "STC_EIFFEL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
 
28491
  SWIG_Python_SetConstant(d, "STC_EIFFEL_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
 
28492
  SWIG_Python_SetConstant(d, "STC_NNCRONTAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28493
  SWIG_Python_SetConstant(d, "STC_NNCRONTAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28494
  SWIG_Python_SetConstant(d, "STC_NNCRONTAB_TASK",SWIG_From_int(static_cast< int >(2)));
 
28495
  SWIG_Python_SetConstant(d, "STC_NNCRONTAB_SECTION",SWIG_From_int(static_cast< int >(3)));
 
28496
  SWIG_Python_SetConstant(d, "STC_NNCRONTAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
 
28497
  SWIG_Python_SetConstant(d, "STC_NNCRONTAB_MODIFIER",SWIG_From_int(static_cast< int >(5)));
 
28498
  SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ASTERISK",SWIG_From_int(static_cast< int >(6)));
 
28499
  SWIG_Python_SetConstant(d, "STC_NNCRONTAB_NUMBER",SWIG_From_int(static_cast< int >(7)));
 
28500
  SWIG_Python_SetConstant(d, "STC_NNCRONTAB_STRING",SWIG_From_int(static_cast< int >(8)));
 
28501
  SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ENVIRONMENT",SWIG_From_int(static_cast< int >(9)));
 
28502
  SWIG_Python_SetConstant(d, "STC_NNCRONTAB_IDENTIFIER",SWIG_From_int(static_cast< int >(10)));
 
28503
  SWIG_Python_SetConstant(d, "STC_FORTH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28504
  SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28505
  SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT_ML",SWIG_From_int(static_cast< int >(2)));
 
28506
  SWIG_Python_SetConstant(d, "STC_FORTH_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
 
28507
  SWIG_Python_SetConstant(d, "STC_FORTH_CONTROL",SWIG_From_int(static_cast< int >(4)));
 
28508
  SWIG_Python_SetConstant(d, "STC_FORTH_KEYWORD",SWIG_From_int(static_cast< int >(5)));
 
28509
  SWIG_Python_SetConstant(d, "STC_FORTH_DEFWORD",SWIG_From_int(static_cast< int >(6)));
 
28510
  SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD1",SWIG_From_int(static_cast< int >(7)));
 
28511
  SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD2",SWIG_From_int(static_cast< int >(8)));
 
28512
  SWIG_Python_SetConstant(d, "STC_FORTH_NUMBER",SWIG_From_int(static_cast< int >(9)));
 
28513
  SWIG_Python_SetConstant(d, "STC_FORTH_STRING",SWIG_From_int(static_cast< int >(10)));
 
28514
  SWIG_Python_SetConstant(d, "STC_FORTH_LOCALE",SWIG_From_int(static_cast< int >(11)));
 
28515
  SWIG_Python_SetConstant(d, "STC_MATLAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28516
  SWIG_Python_SetConstant(d, "STC_MATLAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28517
  SWIG_Python_SetConstant(d, "STC_MATLAB_COMMAND",SWIG_From_int(static_cast< int >(2)));
 
28518
  SWIG_Python_SetConstant(d, "STC_MATLAB_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
28519
  SWIG_Python_SetConstant(d, "STC_MATLAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
 
28520
  SWIG_Python_SetConstant(d, "STC_MATLAB_STRING",SWIG_From_int(static_cast< int >(5)));
 
28521
  SWIG_Python_SetConstant(d, "STC_MATLAB_OPERATOR",SWIG_From_int(static_cast< int >(6)));
 
28522
  SWIG_Python_SetConstant(d, "STC_MATLAB_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
 
28523
  SWIG_Python_SetConstant(d, "STC_MATLAB_DOUBLEQUOTESTRING",SWIG_From_int(static_cast< int >(8)));
 
28524
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28525
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_WHITE",SWIG_From_int(static_cast< int >(1)));
 
28526
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28527
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PERSISTENT",SWIG_From_int(static_cast< int >(3)));
 
28528
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CSTYLE",SWIG_From_int(static_cast< int >(4)));
 
28529
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(5)));
 
28530
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_NUMBER",SWIG_From_int(static_cast< int >(6)));
 
28531
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRING",SWIG_From_int(static_cast< int >(7)));
 
28532
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CHARACTER",SWIG_From_int(static_cast< int >(8)));
 
28533
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
 
28534
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_KEYWORD",SWIG_From_int(static_cast< int >(10)));
 
28535
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_OPERATOR",SWIG_From_int(static_cast< int >(11)));
 
28536
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
 
28537
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_TRIPLE",SWIG_From_int(static_cast< int >(13)));
 
28538
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CLASSNAME",SWIG_From_int(static_cast< int >(14)));
 
28539
  SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PREPROCESSOR",SWIG_From_int(static_cast< int >(15)));
 
28540
  SWIG_Python_SetConstant(d, "STC_ASM_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28541
  SWIG_Python_SetConstant(d, "STC_ASM_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28542
  SWIG_Python_SetConstant(d, "STC_ASM_NUMBER",SWIG_From_int(static_cast< int >(2)));
 
28543
  SWIG_Python_SetConstant(d, "STC_ASM_STRING",SWIG_From_int(static_cast< int >(3)));
 
28544
  SWIG_Python_SetConstant(d, "STC_ASM_OPERATOR",SWIG_From_int(static_cast< int >(4)));
 
28545
  SWIG_Python_SetConstant(d, "STC_ASM_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
 
28546
  SWIG_Python_SetConstant(d, "STC_ASM_CPUINSTRUCTION",SWIG_From_int(static_cast< int >(6)));
 
28547
  SWIG_Python_SetConstant(d, "STC_ASM_MATHINSTRUCTION",SWIG_From_int(static_cast< int >(7)));
 
28548
  SWIG_Python_SetConstant(d, "STC_ASM_REGISTER",SWIG_From_int(static_cast< int >(8)));
 
28549
  SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
 
28550
  SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVEOPERAND",SWIG_From_int(static_cast< int >(10)));
 
28551
  SWIG_Python_SetConstant(d, "STC_ASM_COMMENTBLOCK",SWIG_From_int(static_cast< int >(11)));
 
28552
  SWIG_Python_SetConstant(d, "STC_ASM_CHARACTER",SWIG_From_int(static_cast< int >(12)));
 
28553
  SWIG_Python_SetConstant(d, "STC_ASM_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
 
28554
  SWIG_Python_SetConstant(d, "STC_ASM_EXTINSTRUCTION",SWIG_From_int(static_cast< int >(14)));
 
28555
  SWIG_Python_SetConstant(d, "STC_F_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28556
  SWIG_Python_SetConstant(d, "STC_F_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28557
  SWIG_Python_SetConstant(d, "STC_F_NUMBER",SWIG_From_int(static_cast< int >(2)));
 
28558
  SWIG_Python_SetConstant(d, "STC_F_STRING1",SWIG_From_int(static_cast< int >(3)));
 
28559
  SWIG_Python_SetConstant(d, "STC_F_STRING2",SWIG_From_int(static_cast< int >(4)));
 
28560
  SWIG_Python_SetConstant(d, "STC_F_STRINGEOL",SWIG_From_int(static_cast< int >(5)));
 
28561
  SWIG_Python_SetConstant(d, "STC_F_OPERATOR",SWIG_From_int(static_cast< int >(6)));
 
28562
  SWIG_Python_SetConstant(d, "STC_F_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
 
28563
  SWIG_Python_SetConstant(d, "STC_F_WORD",SWIG_From_int(static_cast< int >(8)));
 
28564
  SWIG_Python_SetConstant(d, "STC_F_WORD2",SWIG_From_int(static_cast< int >(9)));
 
28565
  SWIG_Python_SetConstant(d, "STC_F_WORD3",SWIG_From_int(static_cast< int >(10)));
 
28566
  SWIG_Python_SetConstant(d, "STC_F_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
 
28567
  SWIG_Python_SetConstant(d, "STC_F_OPERATOR2",SWIG_From_int(static_cast< int >(12)));
 
28568
  SWIG_Python_SetConstant(d, "STC_F_LABEL",SWIG_From_int(static_cast< int >(13)));
 
28569
  SWIG_Python_SetConstant(d, "STC_F_CONTINUATION",SWIG_From_int(static_cast< int >(14)));
 
28570
  SWIG_Python_SetConstant(d, "STC_CSS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28571
  SWIG_Python_SetConstant(d, "STC_CSS_TAG",SWIG_From_int(static_cast< int >(1)));
 
28572
  SWIG_Python_SetConstant(d, "STC_CSS_CLASS",SWIG_From_int(static_cast< int >(2)));
 
28573
  SWIG_Python_SetConstant(d, "STC_CSS_PSEUDOCLASS",SWIG_From_int(static_cast< int >(3)));
 
28574
  SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_PSEUDOCLASS",SWIG_From_int(static_cast< int >(4)));
 
28575
  SWIG_Python_SetConstant(d, "STC_CSS_OPERATOR",SWIG_From_int(static_cast< int >(5)));
 
28576
  SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
 
28577
  SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
 
28578
  SWIG_Python_SetConstant(d, "STC_CSS_VALUE",SWIG_From_int(static_cast< int >(8)));
 
28579
  SWIG_Python_SetConstant(d, "STC_CSS_COMMENT",SWIG_From_int(static_cast< int >(9)));
 
28580
  SWIG_Python_SetConstant(d, "STC_CSS_ID",SWIG_From_int(static_cast< int >(10)));
 
28581
  SWIG_Python_SetConstant(d, "STC_CSS_IMPORTANT",SWIG_From_int(static_cast< int >(11)));
 
28582
  SWIG_Python_SetConstant(d, "STC_CSS_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
 
28583
  SWIG_Python_SetConstant(d, "STC_CSS_DOUBLESTRING",SWIG_From_int(static_cast< int >(13)));
 
28584
  SWIG_Python_SetConstant(d, "STC_CSS_SINGLESTRING",SWIG_From_int(static_cast< int >(14)));
 
28585
  SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER2",SWIG_From_int(static_cast< int >(15)));
 
28586
  SWIG_Python_SetConstant(d, "STC_CSS_ATTRIBUTE",SWIG_From_int(static_cast< int >(16)));
 
28587
  SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER3",SWIG_From_int(static_cast< int >(17)));
 
28588
  SWIG_Python_SetConstant(d, "STC_CSS_PSEUDOELEMENT",SWIG_From_int(static_cast< int >(18)));
 
28589
  SWIG_Python_SetConstant(d, "STC_CSS_EXTENDED_IDENTIFIER",SWIG_From_int(static_cast< int >(19)));
 
28590
  SWIG_Python_SetConstant(d, "STC_CSS_EXTENDED_PSEUDOCLASS",SWIG_From_int(static_cast< int >(20)));
 
28591
  SWIG_Python_SetConstant(d, "STC_CSS_EXTENDED_PSEUDOELEMENT",SWIG_From_int(static_cast< int >(21)));
 
28592
  SWIG_Python_SetConstant(d, "STC_POV_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28593
  SWIG_Python_SetConstant(d, "STC_POV_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28594
  SWIG_Python_SetConstant(d, "STC_POV_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28595
  SWIG_Python_SetConstant(d, "STC_POV_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
28596
  SWIG_Python_SetConstant(d, "STC_POV_OPERATOR",SWIG_From_int(static_cast< int >(4)));
 
28597
  SWIG_Python_SetConstant(d, "STC_POV_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
 
28598
  SWIG_Python_SetConstant(d, "STC_POV_STRING",SWIG_From_int(static_cast< int >(6)));
 
28599
  SWIG_Python_SetConstant(d, "STC_POV_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
 
28600
  SWIG_Python_SetConstant(d, "STC_POV_DIRECTIVE",SWIG_From_int(static_cast< int >(8)));
 
28601
  SWIG_Python_SetConstant(d, "STC_POV_BADDIRECTIVE",SWIG_From_int(static_cast< int >(9)));
 
28602
  SWIG_Python_SetConstant(d, "STC_POV_WORD2",SWIG_From_int(static_cast< int >(10)));
 
28603
  SWIG_Python_SetConstant(d, "STC_POV_WORD3",SWIG_From_int(static_cast< int >(11)));
 
28604
  SWIG_Python_SetConstant(d, "STC_POV_WORD4",SWIG_From_int(static_cast< int >(12)));
 
28605
  SWIG_Python_SetConstant(d, "STC_POV_WORD5",SWIG_From_int(static_cast< int >(13)));
 
28606
  SWIG_Python_SetConstant(d, "STC_POV_WORD6",SWIG_From_int(static_cast< int >(14)));
 
28607
  SWIG_Python_SetConstant(d, "STC_POV_WORD7",SWIG_From_int(static_cast< int >(15)));
 
28608
  SWIG_Python_SetConstant(d, "STC_POV_WORD8",SWIG_From_int(static_cast< int >(16)));
 
28609
  SWIG_Python_SetConstant(d, "STC_LOUT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28610
  SWIG_Python_SetConstant(d, "STC_LOUT_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28611
  SWIG_Python_SetConstant(d, "STC_LOUT_NUMBER",SWIG_From_int(static_cast< int >(2)));
 
28612
  SWIG_Python_SetConstant(d, "STC_LOUT_WORD",SWIG_From_int(static_cast< int >(3)));
 
28613
  SWIG_Python_SetConstant(d, "STC_LOUT_WORD2",SWIG_From_int(static_cast< int >(4)));
 
28614
  SWIG_Python_SetConstant(d, "STC_LOUT_WORD3",SWIG_From_int(static_cast< int >(5)));
 
28615
  SWIG_Python_SetConstant(d, "STC_LOUT_WORD4",SWIG_From_int(static_cast< int >(6)));
 
28616
  SWIG_Python_SetConstant(d, "STC_LOUT_STRING",SWIG_From_int(static_cast< int >(7)));
 
28617
  SWIG_Python_SetConstant(d, "STC_LOUT_OPERATOR",SWIG_From_int(static_cast< int >(8)));
 
28618
  SWIG_Python_SetConstant(d, "STC_LOUT_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
 
28619
  SWIG_Python_SetConstant(d, "STC_LOUT_STRINGEOL",SWIG_From_int(static_cast< int >(10)));
 
28620
  SWIG_Python_SetConstant(d, "STC_ESCRIPT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28621
  SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28622
  SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28623
  SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
 
28624
  SWIG_Python_SetConstant(d, "STC_ESCRIPT_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
28625
  SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD",SWIG_From_int(static_cast< int >(5)));
 
28626
  SWIG_Python_SetConstant(d, "STC_ESCRIPT_STRING",SWIG_From_int(static_cast< int >(6)));
 
28627
  SWIG_Python_SetConstant(d, "STC_ESCRIPT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
 
28628
  SWIG_Python_SetConstant(d, "STC_ESCRIPT_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
 
28629
  SWIG_Python_SetConstant(d, "STC_ESCRIPT_BRACE",SWIG_From_int(static_cast< int >(9)));
 
28630
  SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD2",SWIG_From_int(static_cast< int >(10)));
 
28631
  SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD3",SWIG_From_int(static_cast< int >(11)));
 
28632
  SWIG_Python_SetConstant(d, "STC_PS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28633
  SWIG_Python_SetConstant(d, "STC_PS_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28634
  SWIG_Python_SetConstant(d, "STC_PS_DSC_COMMENT",SWIG_From_int(static_cast< int >(2)));
 
28635
  SWIG_Python_SetConstant(d, "STC_PS_DSC_VALUE",SWIG_From_int(static_cast< int >(3)));
 
28636
  SWIG_Python_SetConstant(d, "STC_PS_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
28637
  SWIG_Python_SetConstant(d, "STC_PS_NAME",SWIG_From_int(static_cast< int >(5)));
 
28638
  SWIG_Python_SetConstant(d, "STC_PS_KEYWORD",SWIG_From_int(static_cast< int >(6)));
 
28639
  SWIG_Python_SetConstant(d, "STC_PS_LITERAL",SWIG_From_int(static_cast< int >(7)));
 
28640
  SWIG_Python_SetConstant(d, "STC_PS_IMMEVAL",SWIG_From_int(static_cast< int >(8)));
 
28641
  SWIG_Python_SetConstant(d, "STC_PS_PAREN_ARRAY",SWIG_From_int(static_cast< int >(9)));
 
28642
  SWIG_Python_SetConstant(d, "STC_PS_PAREN_DICT",SWIG_From_int(static_cast< int >(10)));
 
28643
  SWIG_Python_SetConstant(d, "STC_PS_PAREN_PROC",SWIG_From_int(static_cast< int >(11)));
 
28644
  SWIG_Python_SetConstant(d, "STC_PS_TEXT",SWIG_From_int(static_cast< int >(12)));
 
28645
  SWIG_Python_SetConstant(d, "STC_PS_HEXSTRING",SWIG_From_int(static_cast< int >(13)));
 
28646
  SWIG_Python_SetConstant(d, "STC_PS_BASE85STRING",SWIG_From_int(static_cast< int >(14)));
 
28647
  SWIG_Python_SetConstant(d, "STC_PS_BADSTRINGCHAR",SWIG_From_int(static_cast< int >(15)));
 
28648
  SWIG_Python_SetConstant(d, "STC_NSIS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28649
  SWIG_Python_SetConstant(d, "STC_NSIS_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28650
  SWIG_Python_SetConstant(d, "STC_NSIS_STRINGDQ",SWIG_From_int(static_cast< int >(2)));
 
28651
  SWIG_Python_SetConstant(d, "STC_NSIS_STRINGLQ",SWIG_From_int(static_cast< int >(3)));
 
28652
  SWIG_Python_SetConstant(d, "STC_NSIS_STRINGRQ",SWIG_From_int(static_cast< int >(4)));
 
28653
  SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTION",SWIG_From_int(static_cast< int >(5)));
 
28654
  SWIG_Python_SetConstant(d, "STC_NSIS_VARIABLE",SWIG_From_int(static_cast< int >(6)));
 
28655
  SWIG_Python_SetConstant(d, "STC_NSIS_LABEL",SWIG_From_int(static_cast< int >(7)));
 
28656
  SWIG_Python_SetConstant(d, "STC_NSIS_USERDEFINED",SWIG_From_int(static_cast< int >(8)));
 
28657
  SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONDEF",SWIG_From_int(static_cast< int >(9)));
 
28658
  SWIG_Python_SetConstant(d, "STC_NSIS_SUBSECTIONDEF",SWIG_From_int(static_cast< int >(10)));
 
28659
  SWIG_Python_SetConstant(d, "STC_NSIS_IFDEFINEDEF",SWIG_From_int(static_cast< int >(11)));
 
28660
  SWIG_Python_SetConstant(d, "STC_NSIS_MACRODEF",SWIG_From_int(static_cast< int >(12)));
 
28661
  SWIG_Python_SetConstant(d, "STC_NSIS_STRINGVAR",SWIG_From_int(static_cast< int >(13)));
 
28662
  SWIG_Python_SetConstant(d, "STC_NSIS_NUMBER",SWIG_From_int(static_cast< int >(14)));
 
28663
  SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONGROUP",SWIG_From_int(static_cast< int >(15)));
 
28664
  SWIG_Python_SetConstant(d, "STC_NSIS_PAGEEX",SWIG_From_int(static_cast< int >(16)));
 
28665
  SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTIONDEF",SWIG_From_int(static_cast< int >(17)));
 
28666
  SWIG_Python_SetConstant(d, "STC_NSIS_COMMENTBOX",SWIG_From_int(static_cast< int >(18)));
 
28667
  SWIG_Python_SetConstant(d, "STC_MMIXAL_LEADWS",SWIG_From_int(static_cast< int >(0)));
 
28668
  SWIG_Python_SetConstant(d, "STC_MMIXAL_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28669
  SWIG_Python_SetConstant(d, "STC_MMIXAL_LABEL",SWIG_From_int(static_cast< int >(2)));
 
28670
  SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE",SWIG_From_int(static_cast< int >(3)));
 
28671
  SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_PRE",SWIG_From_int(static_cast< int >(4)));
 
28672
  SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_VALID",SWIG_From_int(static_cast< int >(5)));
 
28673
  SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_UNKNOWN",SWIG_From_int(static_cast< int >(6)));
 
28674
  SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_POST",SWIG_From_int(static_cast< int >(7)));
 
28675
  SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERANDS",SWIG_From_int(static_cast< int >(8)));
 
28676
  SWIG_Python_SetConstant(d, "STC_MMIXAL_NUMBER",SWIG_From_int(static_cast< int >(9)));
 
28677
  SWIG_Python_SetConstant(d, "STC_MMIXAL_REF",SWIG_From_int(static_cast< int >(10)));
 
28678
  SWIG_Python_SetConstant(d, "STC_MMIXAL_CHAR",SWIG_From_int(static_cast< int >(11)));
 
28679
  SWIG_Python_SetConstant(d, "STC_MMIXAL_STRING",SWIG_From_int(static_cast< int >(12)));
 
28680
  SWIG_Python_SetConstant(d, "STC_MMIXAL_REGISTER",SWIG_From_int(static_cast< int >(13)));
 
28681
  SWIG_Python_SetConstant(d, "STC_MMIXAL_HEX",SWIG_From_int(static_cast< int >(14)));
 
28682
  SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERATOR",SWIG_From_int(static_cast< int >(15)));
 
28683
  SWIG_Python_SetConstant(d, "STC_MMIXAL_SYMBOL",SWIG_From_int(static_cast< int >(16)));
 
28684
  SWIG_Python_SetConstant(d, "STC_MMIXAL_INCLUDE",SWIG_From_int(static_cast< int >(17)));
 
28685
  SWIG_Python_SetConstant(d, "STC_CLW_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28686
  SWIG_Python_SetConstant(d, "STC_CLW_LABEL",SWIG_From_int(static_cast< int >(1)));
 
28687
  SWIG_Python_SetConstant(d, "STC_CLW_COMMENT",SWIG_From_int(static_cast< int >(2)));
 
28688
  SWIG_Python_SetConstant(d, "STC_CLW_STRING",SWIG_From_int(static_cast< int >(3)));
 
28689
  SWIG_Python_SetConstant(d, "STC_CLW_USER_IDENTIFIER",SWIG_From_int(static_cast< int >(4)));
 
28690
  SWIG_Python_SetConstant(d, "STC_CLW_INTEGER_CONSTANT",SWIG_From_int(static_cast< int >(5)));
 
28691
  SWIG_Python_SetConstant(d, "STC_CLW_REAL_CONSTANT",SWIG_From_int(static_cast< int >(6)));
 
28692
  SWIG_Python_SetConstant(d, "STC_CLW_PICTURE_STRING",SWIG_From_int(static_cast< int >(7)));
 
28693
  SWIG_Python_SetConstant(d, "STC_CLW_KEYWORD",SWIG_From_int(static_cast< int >(8)));
 
28694
  SWIG_Python_SetConstant(d, "STC_CLW_COMPILER_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
 
28695
  SWIG_Python_SetConstant(d, "STC_CLW_RUNTIME_EXPRESSIONS",SWIG_From_int(static_cast< int >(10)));
 
28696
  SWIG_Python_SetConstant(d, "STC_CLW_BUILTIN_PROCEDURES_FUNCTION",SWIG_From_int(static_cast< int >(11)));
 
28697
  SWIG_Python_SetConstant(d, "STC_CLW_STRUCTURE_DATA_TYPE",SWIG_From_int(static_cast< int >(12)));
 
28698
  SWIG_Python_SetConstant(d, "STC_CLW_ATTRIBUTE",SWIG_From_int(static_cast< int >(13)));
 
28699
  SWIG_Python_SetConstant(d, "STC_CLW_STANDARD_EQUATE",SWIG_From_int(static_cast< int >(14)));
 
28700
  SWIG_Python_SetConstant(d, "STC_CLW_ERROR",SWIG_From_int(static_cast< int >(15)));
 
28701
  SWIG_Python_SetConstant(d, "STC_CLW_DEPRECATED",SWIG_From_int(static_cast< int >(16)));
 
28702
  SWIG_Python_SetConstant(d, "STC_LOT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28703
  SWIG_Python_SetConstant(d, "STC_LOT_HEADER",SWIG_From_int(static_cast< int >(1)));
 
28704
  SWIG_Python_SetConstant(d, "STC_LOT_BREAK",SWIG_From_int(static_cast< int >(2)));
 
28705
  SWIG_Python_SetConstant(d, "STC_LOT_SET",SWIG_From_int(static_cast< int >(3)));
 
28706
  SWIG_Python_SetConstant(d, "STC_LOT_PASS",SWIG_From_int(static_cast< int >(4)));
 
28707
  SWIG_Python_SetConstant(d, "STC_LOT_FAIL",SWIG_From_int(static_cast< int >(5)));
 
28708
  SWIG_Python_SetConstant(d, "STC_LOT_ABORT",SWIG_From_int(static_cast< int >(6)));
 
28709
  SWIG_Python_SetConstant(d, "STC_YAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28710
  SWIG_Python_SetConstant(d, "STC_YAML_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28711
  SWIG_Python_SetConstant(d, "STC_YAML_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
 
28712
  SWIG_Python_SetConstant(d, "STC_YAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
 
28713
  SWIG_Python_SetConstant(d, "STC_YAML_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
28714
  SWIG_Python_SetConstant(d, "STC_YAML_REFERENCE",SWIG_From_int(static_cast< int >(5)));
 
28715
  SWIG_Python_SetConstant(d, "STC_YAML_DOCUMENT",SWIG_From_int(static_cast< int >(6)));
 
28716
  SWIG_Python_SetConstant(d, "STC_YAML_TEXT",SWIG_From_int(static_cast< int >(7)));
 
28717
  SWIG_Python_SetConstant(d, "STC_YAML_ERROR",SWIG_From_int(static_cast< int >(8)));
 
28718
  SWIG_Python_SetConstant(d, "STC_YAML_OPERATOR",SWIG_From_int(static_cast< int >(9)));
 
28719
  SWIG_Python_SetConstant(d, "STC_TEX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28720
  SWIG_Python_SetConstant(d, "STC_TEX_SPECIAL",SWIG_From_int(static_cast< int >(1)));
 
28721
  SWIG_Python_SetConstant(d, "STC_TEX_GROUP",SWIG_From_int(static_cast< int >(2)));
 
28722
  SWIG_Python_SetConstant(d, "STC_TEX_SYMBOL",SWIG_From_int(static_cast< int >(3)));
 
28723
  SWIG_Python_SetConstant(d, "STC_TEX_COMMAND",SWIG_From_int(static_cast< int >(4)));
 
28724
  SWIG_Python_SetConstant(d, "STC_TEX_TEXT",SWIG_From_int(static_cast< int >(5)));
 
28725
  SWIG_Python_SetConstant(d, "STC_METAPOST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28726
  SWIG_Python_SetConstant(d, "STC_METAPOST_SPECIAL",SWIG_From_int(static_cast< int >(1)));
 
28727
  SWIG_Python_SetConstant(d, "STC_METAPOST_GROUP",SWIG_From_int(static_cast< int >(2)));
 
28728
  SWIG_Python_SetConstant(d, "STC_METAPOST_SYMBOL",SWIG_From_int(static_cast< int >(3)));
 
28729
  SWIG_Python_SetConstant(d, "STC_METAPOST_COMMAND",SWIG_From_int(static_cast< int >(4)));
 
28730
  SWIG_Python_SetConstant(d, "STC_METAPOST_TEXT",SWIG_From_int(static_cast< int >(5)));
 
28731
  SWIG_Python_SetConstant(d, "STC_METAPOST_EXTRA",SWIG_From_int(static_cast< int >(6)));
 
28732
  SWIG_Python_SetConstant(d, "STC_ERLANG_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28733
  SWIG_Python_SetConstant(d, "STC_ERLANG_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28734
  SWIG_Python_SetConstant(d, "STC_ERLANG_VARIABLE",SWIG_From_int(static_cast< int >(2)));
 
28735
  SWIG_Python_SetConstant(d, "STC_ERLANG_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
28736
  SWIG_Python_SetConstant(d, "STC_ERLANG_KEYWORD",SWIG_From_int(static_cast< int >(4)));
 
28737
  SWIG_Python_SetConstant(d, "STC_ERLANG_STRING",SWIG_From_int(static_cast< int >(5)));
 
28738
  SWIG_Python_SetConstant(d, "STC_ERLANG_OPERATOR",SWIG_From_int(static_cast< int >(6)));
 
28739
  SWIG_Python_SetConstant(d, "STC_ERLANG_ATOM",SWIG_From_int(static_cast< int >(7)));
 
28740
  SWIG_Python_SetConstant(d, "STC_ERLANG_FUNCTION_NAME",SWIG_From_int(static_cast< int >(8)));
 
28741
  SWIG_Python_SetConstant(d, "STC_ERLANG_CHARACTER",SWIG_From_int(static_cast< int >(9)));
 
28742
  SWIG_Python_SetConstant(d, "STC_ERLANG_MACRO",SWIG_From_int(static_cast< int >(10)));
 
28743
  SWIG_Python_SetConstant(d, "STC_ERLANG_RECORD",SWIG_From_int(static_cast< int >(11)));
 
28744
  SWIG_Python_SetConstant(d, "STC_ERLANG_PREPROC",SWIG_From_int(static_cast< int >(12)));
 
28745
  SWIG_Python_SetConstant(d, "STC_ERLANG_NODE_NAME",SWIG_From_int(static_cast< int >(13)));
 
28746
  SWIG_Python_SetConstant(d, "STC_ERLANG_COMMENT_FUNCTION",SWIG_From_int(static_cast< int >(14)));
 
28747
  SWIG_Python_SetConstant(d, "STC_ERLANG_COMMENT_MODULE",SWIG_From_int(static_cast< int >(15)));
 
28748
  SWIG_Python_SetConstant(d, "STC_ERLANG_COMMENT_DOC",SWIG_From_int(static_cast< int >(16)));
 
28749
  SWIG_Python_SetConstant(d, "STC_ERLANG_COMMENT_DOC_MACRO",SWIG_From_int(static_cast< int >(17)));
 
28750
  SWIG_Python_SetConstant(d, "STC_ERLANG_ATOM_QUOTED",SWIG_From_int(static_cast< int >(18)));
 
28751
  SWIG_Python_SetConstant(d, "STC_ERLANG_MACRO_QUOTED",SWIG_From_int(static_cast< int >(19)));
 
28752
  SWIG_Python_SetConstant(d, "STC_ERLANG_RECORD_QUOTED",SWIG_From_int(static_cast< int >(20)));
 
28753
  SWIG_Python_SetConstant(d, "STC_ERLANG_NODE_NAME_QUOTED",SWIG_From_int(static_cast< int >(21)));
 
28754
  SWIG_Python_SetConstant(d, "STC_ERLANG_BIFS",SWIG_From_int(static_cast< int >(22)));
 
28755
  SWIG_Python_SetConstant(d, "STC_ERLANG_MODULES",SWIG_From_int(static_cast< int >(23)));
 
28756
  SWIG_Python_SetConstant(d, "STC_ERLANG_MODULES_ATT",SWIG_From_int(static_cast< int >(24)));
 
28757
  SWIG_Python_SetConstant(d, "STC_ERLANG_UNKNOWN",SWIG_From_int(static_cast< int >(31)));
 
28758
  SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28759
  SWIG_Python_SetConstant(d, "STC_MSSQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28760
  SWIG_Python_SetConstant(d, "STC_MSSQL_LINE_COMMENT",SWIG_From_int(static_cast< int >(2)));
 
28761
  SWIG_Python_SetConstant(d, "STC_MSSQL_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
28762
  SWIG_Python_SetConstant(d, "STC_MSSQL_STRING",SWIG_From_int(static_cast< int >(4)));
 
28763
  SWIG_Python_SetConstant(d, "STC_MSSQL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
 
28764
  SWIG_Python_SetConstant(d, "STC_MSSQL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
 
28765
  SWIG_Python_SetConstant(d, "STC_MSSQL_VARIABLE",SWIG_From_int(static_cast< int >(7)));
 
28766
  SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME",SWIG_From_int(static_cast< int >(8)));
 
28767
  SWIG_Python_SetConstant(d, "STC_MSSQL_STATEMENT",SWIG_From_int(static_cast< int >(9)));
 
28768
  SWIG_Python_SetConstant(d, "STC_MSSQL_DATATYPE",SWIG_From_int(static_cast< int >(10)));
 
28769
  SWIG_Python_SetConstant(d, "STC_MSSQL_SYSTABLE",SWIG_From_int(static_cast< int >(11)));
 
28770
  SWIG_Python_SetConstant(d, "STC_MSSQL_GLOBAL_VARIABLE",SWIG_From_int(static_cast< int >(12)));
 
28771
  SWIG_Python_SetConstant(d, "STC_MSSQL_FUNCTION",SWIG_From_int(static_cast< int >(13)));
 
28772
  SWIG_Python_SetConstant(d, "STC_MSSQL_STORED_PROCEDURE",SWIG_From_int(static_cast< int >(14)));
 
28773
  SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT_PREF_DATATYPE",SWIG_From_int(static_cast< int >(15)));
 
28774
  SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME_2",SWIG_From_int(static_cast< int >(16)));
 
28775
  SWIG_Python_SetConstant(d, "STC_V_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28776
  SWIG_Python_SetConstant(d, "STC_V_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28777
  SWIG_Python_SetConstant(d, "STC_V_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28778
  SWIG_Python_SetConstant(d, "STC_V_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
 
28779
  SWIG_Python_SetConstant(d, "STC_V_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
28780
  SWIG_Python_SetConstant(d, "STC_V_WORD",SWIG_From_int(static_cast< int >(5)));
 
28781
  SWIG_Python_SetConstant(d, "STC_V_STRING",SWIG_From_int(static_cast< int >(6)));
 
28782
  SWIG_Python_SetConstant(d, "STC_V_WORD2",SWIG_From_int(static_cast< int >(7)));
 
28783
  SWIG_Python_SetConstant(d, "STC_V_WORD3",SWIG_From_int(static_cast< int >(8)));
 
28784
  SWIG_Python_SetConstant(d, "STC_V_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
 
28785
  SWIG_Python_SetConstant(d, "STC_V_OPERATOR",SWIG_From_int(static_cast< int >(10)));
 
28786
  SWIG_Python_SetConstant(d, "STC_V_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
 
28787
  SWIG_Python_SetConstant(d, "STC_V_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
 
28788
  SWIG_Python_SetConstant(d, "STC_V_USER",SWIG_From_int(static_cast< int >(19)));
 
28789
  SWIG_Python_SetConstant(d, "STC_KIX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28790
  SWIG_Python_SetConstant(d, "STC_KIX_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28791
  SWIG_Python_SetConstant(d, "STC_KIX_STRING1",SWIG_From_int(static_cast< int >(2)));
 
28792
  SWIG_Python_SetConstant(d, "STC_KIX_STRING2",SWIG_From_int(static_cast< int >(3)));
 
28793
  SWIG_Python_SetConstant(d, "STC_KIX_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
28794
  SWIG_Python_SetConstant(d, "STC_KIX_VAR",SWIG_From_int(static_cast< int >(5)));
 
28795
  SWIG_Python_SetConstant(d, "STC_KIX_MACRO",SWIG_From_int(static_cast< int >(6)));
 
28796
  SWIG_Python_SetConstant(d, "STC_KIX_KEYWORD",SWIG_From_int(static_cast< int >(7)));
 
28797
  SWIG_Python_SetConstant(d, "STC_KIX_FUNCTIONS",SWIG_From_int(static_cast< int >(8)));
 
28798
  SWIG_Python_SetConstant(d, "STC_KIX_OPERATOR",SWIG_From_int(static_cast< int >(9)));
 
28799
  SWIG_Python_SetConstant(d, "STC_KIX_IDENTIFIER",SWIG_From_int(static_cast< int >(31)));
 
28800
  SWIG_Python_SetConstant(d, "STC_GC_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28801
  SWIG_Python_SetConstant(d, "STC_GC_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
 
28802
  SWIG_Python_SetConstant(d, "STC_GC_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
 
28803
  SWIG_Python_SetConstant(d, "STC_GC_GLOBAL",SWIG_From_int(static_cast< int >(3)));
 
28804
  SWIG_Python_SetConstant(d, "STC_GC_EVENT",SWIG_From_int(static_cast< int >(4)));
 
28805
  SWIG_Python_SetConstant(d, "STC_GC_ATTRIBUTE",SWIG_From_int(static_cast< int >(5)));
 
28806
  SWIG_Python_SetConstant(d, "STC_GC_CONTROL",SWIG_From_int(static_cast< int >(6)));
 
28807
  SWIG_Python_SetConstant(d, "STC_GC_COMMAND",SWIG_From_int(static_cast< int >(7)));
 
28808
  SWIG_Python_SetConstant(d, "STC_GC_STRING",SWIG_From_int(static_cast< int >(8)));
 
28809
  SWIG_Python_SetConstant(d, "STC_GC_OPERATOR",SWIG_From_int(static_cast< int >(9)));
 
28810
  SWIG_Python_SetConstant(d, "STC_SN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28811
  SWIG_Python_SetConstant(d, "STC_SN_CODE",SWIG_From_int(static_cast< int >(1)));
 
28812
  SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28813
  SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
 
28814
  SWIG_Python_SetConstant(d, "STC_SN_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
28815
  SWIG_Python_SetConstant(d, "STC_SN_WORD",SWIG_From_int(static_cast< int >(5)));
 
28816
  SWIG_Python_SetConstant(d, "STC_SN_STRING",SWIG_From_int(static_cast< int >(6)));
 
28817
  SWIG_Python_SetConstant(d, "STC_SN_WORD2",SWIG_From_int(static_cast< int >(7)));
 
28818
  SWIG_Python_SetConstant(d, "STC_SN_WORD3",SWIG_From_int(static_cast< int >(8)));
 
28819
  SWIG_Python_SetConstant(d, "STC_SN_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
 
28820
  SWIG_Python_SetConstant(d, "STC_SN_OPERATOR",SWIG_From_int(static_cast< int >(10)));
 
28821
  SWIG_Python_SetConstant(d, "STC_SN_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
 
28822
  SWIG_Python_SetConstant(d, "STC_SN_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
 
28823
  SWIG_Python_SetConstant(d, "STC_SN_REGEXTAG",SWIG_From_int(static_cast< int >(13)));
 
28824
  SWIG_Python_SetConstant(d, "STC_SN_SIGNAL",SWIG_From_int(static_cast< int >(14)));
 
28825
  SWIG_Python_SetConstant(d, "STC_SN_USER",SWIG_From_int(static_cast< int >(19)));
 
28826
  SWIG_Python_SetConstant(d, "STC_AU3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28827
  SWIG_Python_SetConstant(d, "STC_AU3_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28828
  SWIG_Python_SetConstant(d, "STC_AU3_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
 
28829
  SWIG_Python_SetConstant(d, "STC_AU3_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
28830
  SWIG_Python_SetConstant(d, "STC_AU3_FUNCTION",SWIG_From_int(static_cast< int >(4)));
 
28831
  SWIG_Python_SetConstant(d, "STC_AU3_KEYWORD",SWIG_From_int(static_cast< int >(5)));
 
28832
  SWIG_Python_SetConstant(d, "STC_AU3_MACRO",SWIG_From_int(static_cast< int >(6)));
 
28833
  SWIG_Python_SetConstant(d, "STC_AU3_STRING",SWIG_From_int(static_cast< int >(7)));
 
28834
  SWIG_Python_SetConstant(d, "STC_AU3_OPERATOR",SWIG_From_int(static_cast< int >(8)));
 
28835
  SWIG_Python_SetConstant(d, "STC_AU3_VARIABLE",SWIG_From_int(static_cast< int >(9)));
 
28836
  SWIG_Python_SetConstant(d, "STC_AU3_SENT",SWIG_From_int(static_cast< int >(10)));
 
28837
  SWIG_Python_SetConstant(d, "STC_AU3_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
 
28838
  SWIG_Python_SetConstant(d, "STC_AU3_SPECIAL",SWIG_From_int(static_cast< int >(12)));
 
28839
  SWIG_Python_SetConstant(d, "STC_AU3_EXPAND",SWIG_From_int(static_cast< int >(13)));
 
28840
  SWIG_Python_SetConstant(d, "STC_AU3_COMOBJ",SWIG_From_int(static_cast< int >(14)));
 
28841
  SWIG_Python_SetConstant(d, "STC_AU3_UDF",SWIG_From_int(static_cast< int >(15)));
 
28842
  SWIG_Python_SetConstant(d, "STC_APDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28843
  SWIG_Python_SetConstant(d, "STC_APDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28844
  SWIG_Python_SetConstant(d, "STC_APDL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
 
28845
  SWIG_Python_SetConstant(d, "STC_APDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
28846
  SWIG_Python_SetConstant(d, "STC_APDL_STRING",SWIG_From_int(static_cast< int >(4)));
 
28847
  SWIG_Python_SetConstant(d, "STC_APDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
 
28848
  SWIG_Python_SetConstant(d, "STC_APDL_WORD",SWIG_From_int(static_cast< int >(6)));
 
28849
  SWIG_Python_SetConstant(d, "STC_APDL_PROCESSOR",SWIG_From_int(static_cast< int >(7)));
 
28850
  SWIG_Python_SetConstant(d, "STC_APDL_COMMAND",SWIG_From_int(static_cast< int >(8)));
 
28851
  SWIG_Python_SetConstant(d, "STC_APDL_SLASHCOMMAND",SWIG_From_int(static_cast< int >(9)));
 
28852
  SWIG_Python_SetConstant(d, "STC_APDL_STARCOMMAND",SWIG_From_int(static_cast< int >(10)));
 
28853
  SWIG_Python_SetConstant(d, "STC_APDL_ARGUMENT",SWIG_From_int(static_cast< int >(11)));
 
28854
  SWIG_Python_SetConstant(d, "STC_APDL_FUNCTION",SWIG_From_int(static_cast< int >(12)));
 
28855
  SWIG_Python_SetConstant(d, "STC_SH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28856
  SWIG_Python_SetConstant(d, "STC_SH_ERROR",SWIG_From_int(static_cast< int >(1)));
 
28857
  SWIG_Python_SetConstant(d, "STC_SH_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28858
  SWIG_Python_SetConstant(d, "STC_SH_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
28859
  SWIG_Python_SetConstant(d, "STC_SH_WORD",SWIG_From_int(static_cast< int >(4)));
 
28860
  SWIG_Python_SetConstant(d, "STC_SH_STRING",SWIG_From_int(static_cast< int >(5)));
 
28861
  SWIG_Python_SetConstant(d, "STC_SH_CHARACTER",SWIG_From_int(static_cast< int >(6)));
 
28862
  SWIG_Python_SetConstant(d, "STC_SH_OPERATOR",SWIG_From_int(static_cast< int >(7)));
 
28863
  SWIG_Python_SetConstant(d, "STC_SH_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
 
28864
  SWIG_Python_SetConstant(d, "STC_SH_SCALAR",SWIG_From_int(static_cast< int >(9)));
 
28865
  SWIG_Python_SetConstant(d, "STC_SH_PARAM",SWIG_From_int(static_cast< int >(10)));
 
28866
  SWIG_Python_SetConstant(d, "STC_SH_BACKTICKS",SWIG_From_int(static_cast< int >(11)));
 
28867
  SWIG_Python_SetConstant(d, "STC_SH_HERE_DELIM",SWIG_From_int(static_cast< int >(12)));
 
28868
  SWIG_Python_SetConstant(d, "STC_SH_HERE_Q",SWIG_From_int(static_cast< int >(13)));
 
28869
  SWIG_Python_SetConstant(d, "STC_ASN1_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28870
  SWIG_Python_SetConstant(d, "STC_ASN1_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28871
  SWIG_Python_SetConstant(d, "STC_ASN1_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
 
28872
  SWIG_Python_SetConstant(d, "STC_ASN1_STRING",SWIG_From_int(static_cast< int >(3)));
 
28873
  SWIG_Python_SetConstant(d, "STC_ASN1_OID",SWIG_From_int(static_cast< int >(4)));
 
28874
  SWIG_Python_SetConstant(d, "STC_ASN1_SCALAR",SWIG_From_int(static_cast< int >(5)));
 
28875
  SWIG_Python_SetConstant(d, "STC_ASN1_KEYWORD",SWIG_From_int(static_cast< int >(6)));
 
28876
  SWIG_Python_SetConstant(d, "STC_ASN1_ATTRIBUTE",SWIG_From_int(static_cast< int >(7)));
 
28877
  SWIG_Python_SetConstant(d, "STC_ASN1_DESCRIPTOR",SWIG_From_int(static_cast< int >(8)));
 
28878
  SWIG_Python_SetConstant(d, "STC_ASN1_TYPE",SWIG_From_int(static_cast< int >(9)));
 
28879
  SWIG_Python_SetConstant(d, "STC_ASN1_OPERATOR",SWIG_From_int(static_cast< int >(10)));
 
28880
  SWIG_Python_SetConstant(d, "STC_VHDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28881
  SWIG_Python_SetConstant(d, "STC_VHDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28882
  SWIG_Python_SetConstant(d, "STC_VHDL_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(2)));
 
28883
  SWIG_Python_SetConstant(d, "STC_VHDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
28884
  SWIG_Python_SetConstant(d, "STC_VHDL_STRING",SWIG_From_int(static_cast< int >(4)));
 
28885
  SWIG_Python_SetConstant(d, "STC_VHDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
 
28886
  SWIG_Python_SetConstant(d, "STC_VHDL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
 
28887
  SWIG_Python_SetConstant(d, "STC_VHDL_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
 
28888
  SWIG_Python_SetConstant(d, "STC_VHDL_KEYWORD",SWIG_From_int(static_cast< int >(8)));
 
28889
  SWIG_Python_SetConstant(d, "STC_VHDL_STDOPERATOR",SWIG_From_int(static_cast< int >(9)));
 
28890
  SWIG_Python_SetConstant(d, "STC_VHDL_ATTRIBUTE",SWIG_From_int(static_cast< int >(10)));
 
28891
  SWIG_Python_SetConstant(d, "STC_VHDL_STDFUNCTION",SWIG_From_int(static_cast< int >(11)));
 
28892
  SWIG_Python_SetConstant(d, "STC_VHDL_STDPACKAGE",SWIG_From_int(static_cast< int >(12)));
 
28893
  SWIG_Python_SetConstant(d, "STC_VHDL_STDTYPE",SWIG_From_int(static_cast< int >(13)));
 
28894
  SWIG_Python_SetConstant(d, "STC_VHDL_USERWORD",SWIG_From_int(static_cast< int >(14)));
 
28895
  SWIG_Python_SetConstant(d, "STC_CAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28896
  SWIG_Python_SetConstant(d, "STC_CAML_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
 
28897
  SWIG_Python_SetConstant(d, "STC_CAML_TAGNAME",SWIG_From_int(static_cast< int >(2)));
 
28898
  SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
 
28899
  SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD2",SWIG_From_int(static_cast< int >(4)));
 
28900
  SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD3",SWIG_From_int(static_cast< int >(5)));
 
28901
  SWIG_Python_SetConstant(d, "STC_CAML_LINENUM",SWIG_From_int(static_cast< int >(6)));
 
28902
  SWIG_Python_SetConstant(d, "STC_CAML_OPERATOR",SWIG_From_int(static_cast< int >(7)));
 
28903
  SWIG_Python_SetConstant(d, "STC_CAML_NUMBER",SWIG_From_int(static_cast< int >(8)));
 
28904
  SWIG_Python_SetConstant(d, "STC_CAML_CHAR",SWIG_From_int(static_cast< int >(9)));
 
28905
  SWIG_Python_SetConstant(d, "STC_CAML_WHITE",SWIG_From_int(static_cast< int >(10)));
 
28906
  SWIG_Python_SetConstant(d, "STC_CAML_STRING",SWIG_From_int(static_cast< int >(11)));
 
28907
  SWIG_Python_SetConstant(d, "STC_CAML_COMMENT",SWIG_From_int(static_cast< int >(12)));
 
28908
  SWIG_Python_SetConstant(d, "STC_CAML_COMMENT1",SWIG_From_int(static_cast< int >(13)));
 
28909
  SWIG_Python_SetConstant(d, "STC_CAML_COMMENT2",SWIG_From_int(static_cast< int >(14)));
 
28910
  SWIG_Python_SetConstant(d, "STC_CAML_COMMENT3",SWIG_From_int(static_cast< int >(15)));
 
28911
  SWIG_Python_SetConstant(d, "STC_HA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28912
  SWIG_Python_SetConstant(d, "STC_HA_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
 
28913
  SWIG_Python_SetConstant(d, "STC_HA_KEYWORD",SWIG_From_int(static_cast< int >(2)));
 
28914
  SWIG_Python_SetConstant(d, "STC_HA_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
28915
  SWIG_Python_SetConstant(d, "STC_HA_STRING",SWIG_From_int(static_cast< int >(4)));
 
28916
  SWIG_Python_SetConstant(d, "STC_HA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
 
28917
  SWIG_Python_SetConstant(d, "STC_HA_CLASS",SWIG_From_int(static_cast< int >(6)));
 
28918
  SWIG_Python_SetConstant(d, "STC_HA_MODULE",SWIG_From_int(static_cast< int >(7)));
 
28919
  SWIG_Python_SetConstant(d, "STC_HA_CAPITAL",SWIG_From_int(static_cast< int >(8)));
 
28920
  SWIG_Python_SetConstant(d, "STC_HA_DATA",SWIG_From_int(static_cast< int >(9)));
 
28921
  SWIG_Python_SetConstant(d, "STC_HA_IMPORT",SWIG_From_int(static_cast< int >(10)));
 
28922
  SWIG_Python_SetConstant(d, "STC_HA_OPERATOR",SWIG_From_int(static_cast< int >(11)));
 
28923
  SWIG_Python_SetConstant(d, "STC_HA_INSTANCE",SWIG_From_int(static_cast< int >(12)));
 
28924
  SWIG_Python_SetConstant(d, "STC_HA_COMMENTLINE",SWIG_From_int(static_cast< int >(13)));
 
28925
  SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK",SWIG_From_int(static_cast< int >(14)));
 
28926
  SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK2",SWIG_From_int(static_cast< int >(15)));
 
28927
  SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK3",SWIG_From_int(static_cast< int >(16)));
 
28928
  SWIG_Python_SetConstant(d, "STC_T3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28929
  SWIG_Python_SetConstant(d, "STC_T3_X_DEFAULT",SWIG_From_int(static_cast< int >(1)));
 
28930
  SWIG_Python_SetConstant(d, "STC_T3_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
 
28931
  SWIG_Python_SetConstant(d, "STC_T3_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(3)));
 
28932
  SWIG_Python_SetConstant(d, "STC_T3_LINE_COMMENT",SWIG_From_int(static_cast< int >(4)));
 
28933
  SWIG_Python_SetConstant(d, "STC_T3_OPERATOR",SWIG_From_int(static_cast< int >(5)));
 
28934
  SWIG_Python_SetConstant(d, "STC_T3_KEYWORD",SWIG_From_int(static_cast< int >(6)));
 
28935
  SWIG_Python_SetConstant(d, "STC_T3_NUMBER",SWIG_From_int(static_cast< int >(7)));
 
28936
  SWIG_Python_SetConstant(d, "STC_T3_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
 
28937
  SWIG_Python_SetConstant(d, "STC_T3_S_STRING",SWIG_From_int(static_cast< int >(9)));
 
28938
  SWIG_Python_SetConstant(d, "STC_T3_D_STRING",SWIG_From_int(static_cast< int >(10)));
 
28939
  SWIG_Python_SetConstant(d, "STC_T3_X_STRING",SWIG_From_int(static_cast< int >(11)));
 
28940
  SWIG_Python_SetConstant(d, "STC_T3_LIB_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
 
28941
  SWIG_Python_SetConstant(d, "STC_T3_MSG_PARAM",SWIG_From_int(static_cast< int >(13)));
 
28942
  SWIG_Python_SetConstant(d, "STC_T3_HTML_TAG",SWIG_From_int(static_cast< int >(14)));
 
28943
  SWIG_Python_SetConstant(d, "STC_T3_HTML_DEFAULT",SWIG_From_int(static_cast< int >(15)));
 
28944
  SWIG_Python_SetConstant(d, "STC_T3_HTML_STRING",SWIG_From_int(static_cast< int >(16)));
 
28945
  SWIG_Python_SetConstant(d, "STC_T3_USER1",SWIG_From_int(static_cast< int >(17)));
 
28946
  SWIG_Python_SetConstant(d, "STC_T3_USER2",SWIG_From_int(static_cast< int >(18)));
 
28947
  SWIG_Python_SetConstant(d, "STC_T3_USER3",SWIG_From_int(static_cast< int >(19)));
 
28948
  SWIG_Python_SetConstant(d, "STC_T3_BRACE",SWIG_From_int(static_cast< int >(20)));
 
28949
  SWIG_Python_SetConstant(d, "STC_REBOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28950
  SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
 
28951
  SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
 
28952
  SWIG_Python_SetConstant(d, "STC_REBOL_PREFACE",SWIG_From_int(static_cast< int >(3)));
 
28953
  SWIG_Python_SetConstant(d, "STC_REBOL_OPERATOR",SWIG_From_int(static_cast< int >(4)));
 
28954
  SWIG_Python_SetConstant(d, "STC_REBOL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
 
28955
  SWIG_Python_SetConstant(d, "STC_REBOL_QUOTEDSTRING",SWIG_From_int(static_cast< int >(6)));
 
28956
  SWIG_Python_SetConstant(d, "STC_REBOL_BRACEDSTRING",SWIG_From_int(static_cast< int >(7)));
 
28957
  SWIG_Python_SetConstant(d, "STC_REBOL_NUMBER",SWIG_From_int(static_cast< int >(8)));
 
28958
  SWIG_Python_SetConstant(d, "STC_REBOL_PAIR",SWIG_From_int(static_cast< int >(9)));
 
28959
  SWIG_Python_SetConstant(d, "STC_REBOL_TUPLE",SWIG_From_int(static_cast< int >(10)));
 
28960
  SWIG_Python_SetConstant(d, "STC_REBOL_BINARY",SWIG_From_int(static_cast< int >(11)));
 
28961
  SWIG_Python_SetConstant(d, "STC_REBOL_MONEY",SWIG_From_int(static_cast< int >(12)));
 
28962
  SWIG_Python_SetConstant(d, "STC_REBOL_ISSUE",SWIG_From_int(static_cast< int >(13)));
 
28963
  SWIG_Python_SetConstant(d, "STC_REBOL_TAG",SWIG_From_int(static_cast< int >(14)));
 
28964
  SWIG_Python_SetConstant(d, "STC_REBOL_FILE",SWIG_From_int(static_cast< int >(15)));
 
28965
  SWIG_Python_SetConstant(d, "STC_REBOL_EMAIL",SWIG_From_int(static_cast< int >(16)));
 
28966
  SWIG_Python_SetConstant(d, "STC_REBOL_URL",SWIG_From_int(static_cast< int >(17)));
 
28967
  SWIG_Python_SetConstant(d, "STC_REBOL_DATE",SWIG_From_int(static_cast< int >(18)));
 
28968
  SWIG_Python_SetConstant(d, "STC_REBOL_TIME",SWIG_From_int(static_cast< int >(19)));
 
28969
  SWIG_Python_SetConstant(d, "STC_REBOL_IDENTIFIER",SWIG_From_int(static_cast< int >(20)));
 
28970
  SWIG_Python_SetConstant(d, "STC_REBOL_WORD",SWIG_From_int(static_cast< int >(21)));
 
28971
  SWIG_Python_SetConstant(d, "STC_REBOL_WORD2",SWIG_From_int(static_cast< int >(22)));
 
28972
  SWIG_Python_SetConstant(d, "STC_REBOL_WORD3",SWIG_From_int(static_cast< int >(23)));
 
28973
  SWIG_Python_SetConstant(d, "STC_REBOL_WORD4",SWIG_From_int(static_cast< int >(24)));
 
28974
  SWIG_Python_SetConstant(d, "STC_REBOL_WORD5",SWIG_From_int(static_cast< int >(25)));
 
28975
  SWIG_Python_SetConstant(d, "STC_REBOL_WORD6",SWIG_From_int(static_cast< int >(26)));
 
28976
  SWIG_Python_SetConstant(d, "STC_REBOL_WORD7",SWIG_From_int(static_cast< int >(27)));
 
28977
  SWIG_Python_SetConstant(d, "STC_REBOL_WORD8",SWIG_From_int(static_cast< int >(28)));
 
28978
  SWIG_Python_SetConstant(d, "STC_SQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
28979
  SWIG_Python_SetConstant(d, "STC_SQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
28980
  SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
28981
  SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
 
28982
  SWIG_Python_SetConstant(d, "STC_SQL_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
28983
  SWIG_Python_SetConstant(d, "STC_SQL_WORD",SWIG_From_int(static_cast< int >(5)));
 
28984
  SWIG_Python_SetConstant(d, "STC_SQL_STRING",SWIG_From_int(static_cast< int >(6)));
 
28985
  SWIG_Python_SetConstant(d, "STC_SQL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
 
28986
  SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS",SWIG_From_int(static_cast< int >(8)));
 
28987
  SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_PROMPT",SWIG_From_int(static_cast< int >(9)));
 
28988
  SWIG_Python_SetConstant(d, "STC_SQL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
 
28989
  SWIG_Python_SetConstant(d, "STC_SQL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
 
28990
  SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_COMMENT",SWIG_From_int(static_cast< int >(13)));
 
28991
  SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
 
28992
  SWIG_Python_SetConstant(d, "STC_SQL_WORD2",SWIG_From_int(static_cast< int >(16)));
 
28993
  SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
 
28994
  SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
 
28995
  SWIG_Python_SetConstant(d, "STC_SQL_USER1",SWIG_From_int(static_cast< int >(19)));
 
28996
  SWIG_Python_SetConstant(d, "STC_SQL_USER2",SWIG_From_int(static_cast< int >(20)));
 
28997
  SWIG_Python_SetConstant(d, "STC_SQL_USER3",SWIG_From_int(static_cast< int >(21)));
 
28998
  SWIG_Python_SetConstant(d, "STC_SQL_USER4",SWIG_From_int(static_cast< int >(22)));
 
28999
  SWIG_Python_SetConstant(d, "STC_SQL_QUOTEDIDENTIFIER",SWIG_From_int(static_cast< int >(23)));
 
29000
  SWIG_Python_SetConstant(d, "STC_ST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29001
  SWIG_Python_SetConstant(d, "STC_ST_STRING",SWIG_From_int(static_cast< int >(1)));
 
29002
  SWIG_Python_SetConstant(d, "STC_ST_NUMBER",SWIG_From_int(static_cast< int >(2)));
 
29003
  SWIG_Python_SetConstant(d, "STC_ST_COMMENT",SWIG_From_int(static_cast< int >(3)));
 
29004
  SWIG_Python_SetConstant(d, "STC_ST_SYMBOL",SWIG_From_int(static_cast< int >(4)));
 
29005
  SWIG_Python_SetConstant(d, "STC_ST_BINARY",SWIG_From_int(static_cast< int >(5)));
 
29006
  SWIG_Python_SetConstant(d, "STC_ST_BOOL",SWIG_From_int(static_cast< int >(6)));
 
29007
  SWIG_Python_SetConstant(d, "STC_ST_SELF",SWIG_From_int(static_cast< int >(7)));
 
29008
  SWIG_Python_SetConstant(d, "STC_ST_SUPER",SWIG_From_int(static_cast< int >(8)));
 
29009
  SWIG_Python_SetConstant(d, "STC_ST_NIL",SWIG_From_int(static_cast< int >(9)));
 
29010
  SWIG_Python_SetConstant(d, "STC_ST_GLOBAL",SWIG_From_int(static_cast< int >(10)));
 
29011
  SWIG_Python_SetConstant(d, "STC_ST_RETURN",SWIG_From_int(static_cast< int >(11)));
 
29012
  SWIG_Python_SetConstant(d, "STC_ST_SPECIAL",SWIG_From_int(static_cast< int >(12)));
 
29013
  SWIG_Python_SetConstant(d, "STC_ST_KWSEND",SWIG_From_int(static_cast< int >(13)));
 
29014
  SWIG_Python_SetConstant(d, "STC_ST_ASSIGN",SWIG_From_int(static_cast< int >(14)));
 
29015
  SWIG_Python_SetConstant(d, "STC_ST_CHARACTER",SWIG_From_int(static_cast< int >(15)));
 
29016
  SWIG_Python_SetConstant(d, "STC_ST_SPEC_SEL",SWIG_From_int(static_cast< int >(16)));
 
29017
  SWIG_Python_SetConstant(d, "STC_FS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29018
  SWIG_Python_SetConstant(d, "STC_FS_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
29019
  SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
29020
  SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
 
29021
  SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(4)));
 
29022
  SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(5)));
 
29023
  SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(6)));
 
29024
  SWIG_Python_SetConstant(d, "STC_FS_KEYWORD",SWIG_From_int(static_cast< int >(7)));
 
29025
  SWIG_Python_SetConstant(d, "STC_FS_KEYWORD2",SWIG_From_int(static_cast< int >(8)));
 
29026
  SWIG_Python_SetConstant(d, "STC_FS_KEYWORD3",SWIG_From_int(static_cast< int >(9)));
 
29027
  SWIG_Python_SetConstant(d, "STC_FS_KEYWORD4",SWIG_From_int(static_cast< int >(10)));
 
29028
  SWIG_Python_SetConstant(d, "STC_FS_NUMBER",SWIG_From_int(static_cast< int >(11)));
 
29029
  SWIG_Python_SetConstant(d, "STC_FS_STRING",SWIG_From_int(static_cast< int >(12)));
 
29030
  SWIG_Python_SetConstant(d, "STC_FS_PREPROCESSOR",SWIG_From_int(static_cast< int >(13)));
 
29031
  SWIG_Python_SetConstant(d, "STC_FS_OPERATOR",SWIG_From_int(static_cast< int >(14)));
 
29032
  SWIG_Python_SetConstant(d, "STC_FS_IDENTIFIER",SWIG_From_int(static_cast< int >(15)));
 
29033
  SWIG_Python_SetConstant(d, "STC_FS_DATE",SWIG_From_int(static_cast< int >(16)));
 
29034
  SWIG_Python_SetConstant(d, "STC_FS_STRINGEOL",SWIG_From_int(static_cast< int >(17)));
 
29035
  SWIG_Python_SetConstant(d, "STC_FS_CONSTANT",SWIG_From_int(static_cast< int >(18)));
 
29036
  SWIG_Python_SetConstant(d, "STC_FS_ASM",SWIG_From_int(static_cast< int >(19)));
 
29037
  SWIG_Python_SetConstant(d, "STC_FS_LABEL",SWIG_From_int(static_cast< int >(20)));
 
29038
  SWIG_Python_SetConstant(d, "STC_FS_ERROR",SWIG_From_int(static_cast< int >(21)));
 
29039
  SWIG_Python_SetConstant(d, "STC_FS_HEXNUMBER",SWIG_From_int(static_cast< int >(22)));
 
29040
  SWIG_Python_SetConstant(d, "STC_FS_BINNUMBER",SWIG_From_int(static_cast< int >(23)));
 
29041
  SWIG_Python_SetConstant(d, "STC_CSOUND_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29042
  SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
29043
  SWIG_Python_SetConstant(d, "STC_CSOUND_NUMBER",SWIG_From_int(static_cast< int >(2)));
 
29044
  SWIG_Python_SetConstant(d, "STC_CSOUND_OPERATOR",SWIG_From_int(static_cast< int >(3)));
 
29045
  SWIG_Python_SetConstant(d, "STC_CSOUND_INSTR",SWIG_From_int(static_cast< int >(4)));
 
29046
  SWIG_Python_SetConstant(d, "STC_CSOUND_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
 
29047
  SWIG_Python_SetConstant(d, "STC_CSOUND_OPCODE",SWIG_From_int(static_cast< int >(6)));
 
29048
  SWIG_Python_SetConstant(d, "STC_CSOUND_HEADERSTMT",SWIG_From_int(static_cast< int >(7)));
 
29049
  SWIG_Python_SetConstant(d, "STC_CSOUND_USERKEYWORD",SWIG_From_int(static_cast< int >(8)));
 
29050
  SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENTBLOCK",SWIG_From_int(static_cast< int >(9)));
 
29051
  SWIG_Python_SetConstant(d, "STC_CSOUND_PARAM",SWIG_From_int(static_cast< int >(10)));
 
29052
  SWIG_Python_SetConstant(d, "STC_CSOUND_ARATE_VAR",SWIG_From_int(static_cast< int >(11)));
 
29053
  SWIG_Python_SetConstant(d, "STC_CSOUND_KRATE_VAR",SWIG_From_int(static_cast< int >(12)));
 
29054
  SWIG_Python_SetConstant(d, "STC_CSOUND_IRATE_VAR",SWIG_From_int(static_cast< int >(13)));
 
29055
  SWIG_Python_SetConstant(d, "STC_CSOUND_GLOBAL_VAR",SWIG_From_int(static_cast< int >(14)));
 
29056
  SWIG_Python_SetConstant(d, "STC_CSOUND_STRINGEOL",SWIG_From_int(static_cast< int >(15)));
 
29057
  SWIG_Python_SetConstant(d, "STC_INNO_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29058
  SWIG_Python_SetConstant(d, "STC_INNO_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
29059
  SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD",SWIG_From_int(static_cast< int >(2)));
 
29060
  SWIG_Python_SetConstant(d, "STC_INNO_PARAMETER",SWIG_From_int(static_cast< int >(3)));
 
29061
  SWIG_Python_SetConstant(d, "STC_INNO_SECTION",SWIG_From_int(static_cast< int >(4)));
 
29062
  SWIG_Python_SetConstant(d, "STC_INNO_PREPROC",SWIG_From_int(static_cast< int >(5)));
 
29063
  SWIG_Python_SetConstant(d, "STC_INNO_INLINE_EXPANSION",SWIG_From_int(static_cast< int >(6)));
 
29064
  SWIG_Python_SetConstant(d, "STC_INNO_COMMENT_PASCAL",SWIG_From_int(static_cast< int >(7)));
 
29065
  SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD_PASCAL",SWIG_From_int(static_cast< int >(8)));
 
29066
  SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD_USER",SWIG_From_int(static_cast< int >(9)));
 
29067
  SWIG_Python_SetConstant(d, "STC_INNO_STRING_DOUBLE",SWIG_From_int(static_cast< int >(10)));
 
29068
  SWIG_Python_SetConstant(d, "STC_INNO_STRING_SINGLE",SWIG_From_int(static_cast< int >(11)));
 
29069
  SWIG_Python_SetConstant(d, "STC_INNO_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
 
29070
  SWIG_Python_SetConstant(d, "STC_OPAL_SPACE",SWIG_From_int(static_cast< int >(0)));
 
29071
  SWIG_Python_SetConstant(d, "STC_OPAL_COMMENT_BLOCK",SWIG_From_int(static_cast< int >(1)));
 
29072
  SWIG_Python_SetConstant(d, "STC_OPAL_COMMENT_LINE",SWIG_From_int(static_cast< int >(2)));
 
29073
  SWIG_Python_SetConstant(d, "STC_OPAL_INTEGER",SWIG_From_int(static_cast< int >(3)));
 
29074
  SWIG_Python_SetConstant(d, "STC_OPAL_KEYWORD",SWIG_From_int(static_cast< int >(4)));
 
29075
  SWIG_Python_SetConstant(d, "STC_OPAL_SORT",SWIG_From_int(static_cast< int >(5)));
 
29076
  SWIG_Python_SetConstant(d, "STC_OPAL_STRING",SWIG_From_int(static_cast< int >(6)));
 
29077
  SWIG_Python_SetConstant(d, "STC_OPAL_PAR",SWIG_From_int(static_cast< int >(7)));
 
29078
  SWIG_Python_SetConstant(d, "STC_OPAL_BOOL_CONST",SWIG_From_int(static_cast< int >(8)));
 
29079
  SWIG_Python_SetConstant(d, "STC_OPAL_DEFAULT",SWIG_From_int(static_cast< int >(32)));
 
29080
  SWIG_Python_SetConstant(d, "STC_SPICE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29081
  SWIG_Python_SetConstant(d, "STC_SPICE_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
 
29082
  SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD",SWIG_From_int(static_cast< int >(2)));
 
29083
  SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD2",SWIG_From_int(static_cast< int >(3)));
 
29084
  SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD3",SWIG_From_int(static_cast< int >(4)));
 
29085
  SWIG_Python_SetConstant(d, "STC_SPICE_NUMBER",SWIG_From_int(static_cast< int >(5)));
 
29086
  SWIG_Python_SetConstant(d, "STC_SPICE_DELIMITER",SWIG_From_int(static_cast< int >(6)));
 
29087
  SWIG_Python_SetConstant(d, "STC_SPICE_VALUE",SWIG_From_int(static_cast< int >(7)));
 
29088
  SWIG_Python_SetConstant(d, "STC_SPICE_COMMENTLINE",SWIG_From_int(static_cast< int >(8)));
 
29089
  SWIG_Python_SetConstant(d, "STC_CMAKE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29090
  SWIG_Python_SetConstant(d, "STC_CMAKE_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
29091
  SWIG_Python_SetConstant(d, "STC_CMAKE_STRINGDQ",SWIG_From_int(static_cast< int >(2)));
 
29092
  SWIG_Python_SetConstant(d, "STC_CMAKE_STRINGLQ",SWIG_From_int(static_cast< int >(3)));
 
29093
  SWIG_Python_SetConstant(d, "STC_CMAKE_STRINGRQ",SWIG_From_int(static_cast< int >(4)));
 
29094
  SWIG_Python_SetConstant(d, "STC_CMAKE_COMMANDS",SWIG_From_int(static_cast< int >(5)));
 
29095
  SWIG_Python_SetConstant(d, "STC_CMAKE_PARAMETERS",SWIG_From_int(static_cast< int >(6)));
 
29096
  SWIG_Python_SetConstant(d, "STC_CMAKE_VARIABLE",SWIG_From_int(static_cast< int >(7)));
 
29097
  SWIG_Python_SetConstant(d, "STC_CMAKE_USERDEFINED",SWIG_From_int(static_cast< int >(8)));
 
29098
  SWIG_Python_SetConstant(d, "STC_CMAKE_WHILEDEF",SWIG_From_int(static_cast< int >(9)));
 
29099
  SWIG_Python_SetConstant(d, "STC_CMAKE_FOREACHDEF",SWIG_From_int(static_cast< int >(10)));
 
29100
  SWIG_Python_SetConstant(d, "STC_CMAKE_IFDEFINEDEF",SWIG_From_int(static_cast< int >(11)));
 
29101
  SWIG_Python_SetConstant(d, "STC_CMAKE_MACRODEF",SWIG_From_int(static_cast< int >(12)));
 
29102
  SWIG_Python_SetConstant(d, "STC_CMAKE_STRINGVAR",SWIG_From_int(static_cast< int >(13)));
 
29103
  SWIG_Python_SetConstant(d, "STC_CMAKE_NUMBER",SWIG_From_int(static_cast< int >(14)));
 
29104
  SWIG_Python_SetConstant(d, "STC_GAP_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29105
  SWIG_Python_SetConstant(d, "STC_GAP_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
 
29106
  SWIG_Python_SetConstant(d, "STC_GAP_KEYWORD",SWIG_From_int(static_cast< int >(2)));
 
29107
  SWIG_Python_SetConstant(d, "STC_GAP_KEYWORD2",SWIG_From_int(static_cast< int >(3)));
 
29108
  SWIG_Python_SetConstant(d, "STC_GAP_KEYWORD3",SWIG_From_int(static_cast< int >(4)));
 
29109
  SWIG_Python_SetConstant(d, "STC_GAP_KEYWORD4",SWIG_From_int(static_cast< int >(5)));
 
29110
  SWIG_Python_SetConstant(d, "STC_GAP_STRING",SWIG_From_int(static_cast< int >(6)));
 
29111
  SWIG_Python_SetConstant(d, "STC_GAP_CHAR",SWIG_From_int(static_cast< int >(7)));
 
29112
  SWIG_Python_SetConstant(d, "STC_GAP_OPERATOR",SWIG_From_int(static_cast< int >(8)));
 
29113
  SWIG_Python_SetConstant(d, "STC_GAP_COMMENT",SWIG_From_int(static_cast< int >(9)));
 
29114
  SWIG_Python_SetConstant(d, "STC_GAP_NUMBER",SWIG_From_int(static_cast< int >(10)));
 
29115
  SWIG_Python_SetConstant(d, "STC_GAP_STRINGEOL",SWIG_From_int(static_cast< int >(11)));
 
29116
  SWIG_Python_SetConstant(d, "STC_PLM_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29117
  SWIG_Python_SetConstant(d, "STC_PLM_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
29118
  SWIG_Python_SetConstant(d, "STC_PLM_STRING",SWIG_From_int(static_cast< int >(2)));
 
29119
  SWIG_Python_SetConstant(d, "STC_PLM_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
29120
  SWIG_Python_SetConstant(d, "STC_PLM_IDENTIFIER",SWIG_From_int(static_cast< int >(4)));
 
29121
  SWIG_Python_SetConstant(d, "STC_PLM_OPERATOR",SWIG_From_int(static_cast< int >(5)));
 
29122
  SWIG_Python_SetConstant(d, "STC_PLM_CONTROL",SWIG_From_int(static_cast< int >(6)));
 
29123
  SWIG_Python_SetConstant(d, "STC_PLM_KEYWORD",SWIG_From_int(static_cast< int >(7)));
 
29124
  SWIG_Python_SetConstant(d, "STC_4GL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29125
  SWIG_Python_SetConstant(d, "STC_4GL_NUMBER",SWIG_From_int(static_cast< int >(1)));
 
29126
  SWIG_Python_SetConstant(d, "STC_4GL_WORD",SWIG_From_int(static_cast< int >(2)));
 
29127
  SWIG_Python_SetConstant(d, "STC_4GL_STRING",SWIG_From_int(static_cast< int >(3)));
 
29128
  SWIG_Python_SetConstant(d, "STC_4GL_CHARACTER",SWIG_From_int(static_cast< int >(4)));
 
29129
  SWIG_Python_SetConstant(d, "STC_4GL_PREPROCESSOR",SWIG_From_int(static_cast< int >(5)));
 
29130
  SWIG_Python_SetConstant(d, "STC_4GL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
 
29131
  SWIG_Python_SetConstant(d, "STC_4GL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
 
29132
  SWIG_Python_SetConstant(d, "STC_4GL_BLOCK",SWIG_From_int(static_cast< int >(8)));
 
29133
  SWIG_Python_SetConstant(d, "STC_4GL_END",SWIG_From_int(static_cast< int >(9)));
 
29134
  SWIG_Python_SetConstant(d, "STC_4GL_COMMENT1",SWIG_From_int(static_cast< int >(10)));
 
29135
  SWIG_Python_SetConstant(d, "STC_4GL_COMMENT2",SWIG_From_int(static_cast< int >(11)));
 
29136
  SWIG_Python_SetConstant(d, "STC_4GL_COMMENT3",SWIG_From_int(static_cast< int >(12)));
 
29137
  SWIG_Python_SetConstant(d, "STC_4GL_COMMENT4",SWIG_From_int(static_cast< int >(13)));
 
29138
  SWIG_Python_SetConstant(d, "STC_4GL_COMMENT5",SWIG_From_int(static_cast< int >(14)));
 
29139
  SWIG_Python_SetConstant(d, "STC_4GL_COMMENT6",SWIG_From_int(static_cast< int >(15)));
 
29140
  SWIG_Python_SetConstant(d, "STC_4GL_DEFAULT_",SWIG_From_int(static_cast< int >(16)));
 
29141
  SWIG_Python_SetConstant(d, "STC_4GL_NUMBER_",SWIG_From_int(static_cast< int >(17)));
 
29142
  SWIG_Python_SetConstant(d, "STC_4GL_WORD_",SWIG_From_int(static_cast< int >(18)));
 
29143
  SWIG_Python_SetConstant(d, "STC_4GL_STRING_",SWIG_From_int(static_cast< int >(19)));
 
29144
  SWIG_Python_SetConstant(d, "STC_4GL_CHARACTER_",SWIG_From_int(static_cast< int >(20)));
 
29145
  SWIG_Python_SetConstant(d, "STC_4GL_PREPROCESSOR_",SWIG_From_int(static_cast< int >(21)));
 
29146
  SWIG_Python_SetConstant(d, "STC_4GL_OPERATOR_",SWIG_From_int(static_cast< int >(22)));
 
29147
  SWIG_Python_SetConstant(d, "STC_4GL_IDENTIFIER_",SWIG_From_int(static_cast< int >(23)));
 
29148
  SWIG_Python_SetConstant(d, "STC_4GL_BLOCK_",SWIG_From_int(static_cast< int >(24)));
 
29149
  SWIG_Python_SetConstant(d, "STC_4GL_END_",SWIG_From_int(static_cast< int >(25)));
 
29150
  SWIG_Python_SetConstant(d, "STC_4GL_COMMENT1_",SWIG_From_int(static_cast< int >(26)));
 
29151
  SWIG_Python_SetConstant(d, "STC_4GL_COMMENT2_",SWIG_From_int(static_cast< int >(27)));
 
29152
  SWIG_Python_SetConstant(d, "STC_4GL_COMMENT3_",SWIG_From_int(static_cast< int >(28)));
 
29153
  SWIG_Python_SetConstant(d, "STC_4GL_COMMENT4_",SWIG_From_int(static_cast< int >(29)));
 
29154
  SWIG_Python_SetConstant(d, "STC_4GL_COMMENT5_",SWIG_From_int(static_cast< int >(30)));
 
29155
  SWIG_Python_SetConstant(d, "STC_4GL_COMMENT6_",SWIG_From_int(static_cast< int >(31)));
 
29156
  SWIG_Python_SetConstant(d, "STC_ABAQUS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29157
  SWIG_Python_SetConstant(d, "STC_ABAQUS_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
29158
  SWIG_Python_SetConstant(d, "STC_ABAQUS_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
 
29159
  SWIG_Python_SetConstant(d, "STC_ABAQUS_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
29160
  SWIG_Python_SetConstant(d, "STC_ABAQUS_STRING",SWIG_From_int(static_cast< int >(4)));
 
29161
  SWIG_Python_SetConstant(d, "STC_ABAQUS_OPERATOR",SWIG_From_int(static_cast< int >(5)));
 
29162
  SWIG_Python_SetConstant(d, "STC_ABAQUS_WORD",SWIG_From_int(static_cast< int >(6)));
 
29163
  SWIG_Python_SetConstant(d, "STC_ABAQUS_PROCESSOR",SWIG_From_int(static_cast< int >(7)));
 
29164
  SWIG_Python_SetConstant(d, "STC_ABAQUS_COMMAND",SWIG_From_int(static_cast< int >(8)));
 
29165
  SWIG_Python_SetConstant(d, "STC_ABAQUS_SLASHCOMMAND",SWIG_From_int(static_cast< int >(9)));
 
29166
  SWIG_Python_SetConstant(d, "STC_ABAQUS_STARCOMMAND",SWIG_From_int(static_cast< int >(10)));
 
29167
  SWIG_Python_SetConstant(d, "STC_ABAQUS_ARGUMENT",SWIG_From_int(static_cast< int >(11)));
 
29168
  SWIG_Python_SetConstant(d, "STC_ABAQUS_FUNCTION",SWIG_From_int(static_cast< int >(12)));
 
29169
  SWIG_Python_SetConstant(d, "STC_ASY_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29170
  SWIG_Python_SetConstant(d, "STC_ASY_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
29171
  SWIG_Python_SetConstant(d, "STC_ASY_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
29172
  SWIG_Python_SetConstant(d, "STC_ASY_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
29173
  SWIG_Python_SetConstant(d, "STC_ASY_WORD",SWIG_From_int(static_cast< int >(4)));
 
29174
  SWIG_Python_SetConstant(d, "STC_ASY_STRING",SWIG_From_int(static_cast< int >(5)));
 
29175
  SWIG_Python_SetConstant(d, "STC_ASY_CHARACTER",SWIG_From_int(static_cast< int >(6)));
 
29176
  SWIG_Python_SetConstant(d, "STC_ASY_OPERATOR",SWIG_From_int(static_cast< int >(7)));
 
29177
  SWIG_Python_SetConstant(d, "STC_ASY_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
 
29178
  SWIG_Python_SetConstant(d, "STC_ASY_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
 
29179
  SWIG_Python_SetConstant(d, "STC_ASY_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(10)));
 
29180
  SWIG_Python_SetConstant(d, "STC_ASY_WORD2",SWIG_From_int(static_cast< int >(11)));
 
29181
  SWIG_Python_SetConstant(d, "STC_R_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29182
  SWIG_Python_SetConstant(d, "STC_R_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
29183
  SWIG_Python_SetConstant(d, "STC_R_KWORD",SWIG_From_int(static_cast< int >(2)));
 
29184
  SWIG_Python_SetConstant(d, "STC_R_BASEKWORD",SWIG_From_int(static_cast< int >(3)));
 
29185
  SWIG_Python_SetConstant(d, "STC_R_OTHERKWORD",SWIG_From_int(static_cast< int >(4)));
 
29186
  SWIG_Python_SetConstant(d, "STC_R_NUMBER",SWIG_From_int(static_cast< int >(5)));
 
29187
  SWIG_Python_SetConstant(d, "STC_R_STRING",SWIG_From_int(static_cast< int >(6)));
 
29188
  SWIG_Python_SetConstant(d, "STC_R_STRING2",SWIG_From_int(static_cast< int >(7)));
 
29189
  SWIG_Python_SetConstant(d, "STC_R_OPERATOR",SWIG_From_int(static_cast< int >(8)));
 
29190
  SWIG_Python_SetConstant(d, "STC_R_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
 
29191
  SWIG_Python_SetConstant(d, "STC_R_INFIX",SWIG_From_int(static_cast< int >(10)));
 
29192
  SWIG_Python_SetConstant(d, "STC_R_INFIXEOL",SWIG_From_int(static_cast< int >(11)));
 
29193
  SWIG_Python_SetConstant(d, "STC_MAGIK_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29194
  SWIG_Python_SetConstant(d, "STC_MAGIK_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
29195
  SWIG_Python_SetConstant(d, "STC_MAGIK_HYPER_COMMENT",SWIG_From_int(static_cast< int >(16)));
 
29196
  SWIG_Python_SetConstant(d, "STC_MAGIK_STRING",SWIG_From_int(static_cast< int >(2)));
 
29197
  SWIG_Python_SetConstant(d, "STC_MAGIK_CHARACTER",SWIG_From_int(static_cast< int >(3)));
 
29198
  SWIG_Python_SetConstant(d, "STC_MAGIK_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
29199
  SWIG_Python_SetConstant(d, "STC_MAGIK_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
 
29200
  SWIG_Python_SetConstant(d, "STC_MAGIK_OPERATOR",SWIG_From_int(static_cast< int >(6)));
 
29201
  SWIG_Python_SetConstant(d, "STC_MAGIK_FLOW",SWIG_From_int(static_cast< int >(7)));
 
29202
  SWIG_Python_SetConstant(d, "STC_MAGIK_CONTAINER",SWIG_From_int(static_cast< int >(8)));
 
29203
  SWIG_Python_SetConstant(d, "STC_MAGIK_BRACKET_BLOCK",SWIG_From_int(static_cast< int >(9)));
 
29204
  SWIG_Python_SetConstant(d, "STC_MAGIK_BRACE_BLOCK",SWIG_From_int(static_cast< int >(10)));
 
29205
  SWIG_Python_SetConstant(d, "STC_MAGIK_SQBRACKET_BLOCK",SWIG_From_int(static_cast< int >(11)));
 
29206
  SWIG_Python_SetConstant(d, "STC_MAGIK_UNKNOWN_KEYWORD",SWIG_From_int(static_cast< int >(12)));
 
29207
  SWIG_Python_SetConstant(d, "STC_MAGIK_KEYWORD",SWIG_From_int(static_cast< int >(13)));
 
29208
  SWIG_Python_SetConstant(d, "STC_MAGIK_PRAGMA",SWIG_From_int(static_cast< int >(14)));
 
29209
  SWIG_Python_SetConstant(d, "STC_MAGIK_SYMBOL",SWIG_From_int(static_cast< int >(15)));
 
29210
  SWIG_Python_SetConstant(d, "STC_POWERSHELL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29211
  SWIG_Python_SetConstant(d, "STC_POWERSHELL_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
29212
  SWIG_Python_SetConstant(d, "STC_POWERSHELL_STRING",SWIG_From_int(static_cast< int >(2)));
 
29213
  SWIG_Python_SetConstant(d, "STC_POWERSHELL_CHARACTER",SWIG_From_int(static_cast< int >(3)));
 
29214
  SWIG_Python_SetConstant(d, "STC_POWERSHELL_NUMBER",SWIG_From_int(static_cast< int >(4)));
 
29215
  SWIG_Python_SetConstant(d, "STC_POWERSHELL_VARIABLE",SWIG_From_int(static_cast< int >(5)));
 
29216
  SWIG_Python_SetConstant(d, "STC_POWERSHELL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
 
29217
  SWIG_Python_SetConstant(d, "STC_POWERSHELL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
 
29218
  SWIG_Python_SetConstant(d, "STC_POWERSHELL_KEYWORD",SWIG_From_int(static_cast< int >(8)));
 
29219
  SWIG_Python_SetConstant(d, "STC_POWERSHELL_CMDLET",SWIG_From_int(static_cast< int >(9)));
 
29220
  SWIG_Python_SetConstant(d, "STC_POWERSHELL_ALIAS",SWIG_From_int(static_cast< int >(10)));
 
29221
  SWIG_Python_SetConstant(d, "STC_MYSQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29222
  SWIG_Python_SetConstant(d, "STC_MYSQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
29223
  SWIG_Python_SetConstant(d, "STC_MYSQL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
29224
  SWIG_Python_SetConstant(d, "STC_MYSQL_VARIABLE",SWIG_From_int(static_cast< int >(3)));
 
29225
  SWIG_Python_SetConstant(d, "STC_MYSQL_SYSTEMVARIABLE",SWIG_From_int(static_cast< int >(4)));
 
29226
  SWIG_Python_SetConstant(d, "STC_MYSQL_KNOWNSYSTEMVARIABLE",SWIG_From_int(static_cast< int >(5)));
 
29227
  SWIG_Python_SetConstant(d, "STC_MYSQL_NUMBER",SWIG_From_int(static_cast< int >(6)));
 
29228
  SWIG_Python_SetConstant(d, "STC_MYSQL_MAJORKEYWORD",SWIG_From_int(static_cast< int >(7)));
 
29229
  SWIG_Python_SetConstant(d, "STC_MYSQL_KEYWORD",SWIG_From_int(static_cast< int >(8)));
 
29230
  SWIG_Python_SetConstant(d, "STC_MYSQL_DATABASEOBJECT",SWIG_From_int(static_cast< int >(9)));
 
29231
  SWIG_Python_SetConstant(d, "STC_MYSQL_PROCEDUREKEYWORD",SWIG_From_int(static_cast< int >(10)));
 
29232
  SWIG_Python_SetConstant(d, "STC_MYSQL_STRING",SWIG_From_int(static_cast< int >(11)));
 
29233
  SWIG_Python_SetConstant(d, "STC_MYSQL_SQSTRING",SWIG_From_int(static_cast< int >(12)));
 
29234
  SWIG_Python_SetConstant(d, "STC_MYSQL_DQSTRING",SWIG_From_int(static_cast< int >(13)));
 
29235
  SWIG_Python_SetConstant(d, "STC_MYSQL_OPERATOR",SWIG_From_int(static_cast< int >(14)));
 
29236
  SWIG_Python_SetConstant(d, "STC_MYSQL_FUNCTION",SWIG_From_int(static_cast< int >(15)));
 
29237
  SWIG_Python_SetConstant(d, "STC_MYSQL_IDENTIFIER",SWIG_From_int(static_cast< int >(16)));
 
29238
  SWIG_Python_SetConstant(d, "STC_MYSQL_QUOTEDIDENTIFIER",SWIG_From_int(static_cast< int >(17)));
 
29239
  SWIG_Python_SetConstant(d, "STC_MYSQL_USER1",SWIG_From_int(static_cast< int >(18)));
 
29240
  SWIG_Python_SetConstant(d, "STC_MYSQL_USER2",SWIG_From_int(static_cast< int >(19)));
 
29241
  SWIG_Python_SetConstant(d, "STC_MYSQL_USER3",SWIG_From_int(static_cast< int >(20)));
 
29242
  SWIG_Python_SetConstant(d, "STC_MYSQL_HIDDENCOMMAND",SWIG_From_int(static_cast< int >(21)));
 
29243
  SWIG_Python_SetConstant(d, "STC_PO_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29244
  SWIG_Python_SetConstant(d, "STC_PO_COMMENT",SWIG_From_int(static_cast< int >(1)));
 
29245
  SWIG_Python_SetConstant(d, "STC_PO_MSGID",SWIG_From_int(static_cast< int >(2)));
 
29246
  SWIG_Python_SetConstant(d, "STC_PO_MSGID_TEXT",SWIG_From_int(static_cast< int >(3)));
 
29247
  SWIG_Python_SetConstant(d, "STC_PO_MSGSTR",SWIG_From_int(static_cast< int >(4)));
 
29248
  SWIG_Python_SetConstant(d, "STC_PO_MSGSTR_TEXT",SWIG_From_int(static_cast< int >(5)));
 
29249
  SWIG_Python_SetConstant(d, "STC_PO_MSGCTXT",SWIG_From_int(static_cast< int >(6)));
 
29250
  SWIG_Python_SetConstant(d, "STC_PO_MSGCTXT_TEXT",SWIG_From_int(static_cast< int >(7)));
 
29251
  SWIG_Python_SetConstant(d, "STC_PO_FUZZY",SWIG_From_int(static_cast< int >(8)));
 
29252
  SWIG_Python_SetConstant(d, "STC_PAS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29253
  SWIG_Python_SetConstant(d, "STC_PAS_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
 
29254
  SWIG_Python_SetConstant(d, "STC_PAS_COMMENT",SWIG_From_int(static_cast< int >(2)));
 
29255
  SWIG_Python_SetConstant(d, "STC_PAS_COMMENT2",SWIG_From_int(static_cast< int >(3)));
 
29256
  SWIG_Python_SetConstant(d, "STC_PAS_COMMENTLINE",SWIG_From_int(static_cast< int >(4)));
 
29257
  SWIG_Python_SetConstant(d, "STC_PAS_PREPROCESSOR",SWIG_From_int(static_cast< int >(5)));
 
29258
  SWIG_Python_SetConstant(d, "STC_PAS_PREPROCESSOR2",SWIG_From_int(static_cast< int >(6)));
 
29259
  SWIG_Python_SetConstant(d, "STC_PAS_NUMBER",SWIG_From_int(static_cast< int >(7)));
 
29260
  SWIG_Python_SetConstant(d, "STC_PAS_HEXNUMBER",SWIG_From_int(static_cast< int >(8)));
 
29261
  SWIG_Python_SetConstant(d, "STC_PAS_WORD",SWIG_From_int(static_cast< int >(9)));
 
29262
  SWIG_Python_SetConstant(d, "STC_PAS_STRING",SWIG_From_int(static_cast< int >(10)));
 
29263
  SWIG_Python_SetConstant(d, "STC_PAS_STRINGEOL",SWIG_From_int(static_cast< int >(11)));
 
29264
  SWIG_Python_SetConstant(d, "STC_PAS_CHARACTER",SWIG_From_int(static_cast< int >(12)));
 
29265
  SWIG_Python_SetConstant(d, "STC_PAS_OPERATOR",SWIG_From_int(static_cast< int >(13)));
 
29266
  SWIG_Python_SetConstant(d, "STC_PAS_ASM",SWIG_From_int(static_cast< int >(14)));
 
29267
  SWIG_Python_SetConstant(d, "STC_SORCUS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29268
  SWIG_Python_SetConstant(d, "STC_SORCUS_COMMAND",SWIG_From_int(static_cast< int >(1)));
 
29269
  SWIG_Python_SetConstant(d, "STC_SORCUS_PARAMETER",SWIG_From_int(static_cast< int >(2)));
 
29270
  SWIG_Python_SetConstant(d, "STC_SORCUS_COMMENTLINE",SWIG_From_int(static_cast< int >(3)));
 
29271
  SWIG_Python_SetConstant(d, "STC_SORCUS_STRING",SWIG_From_int(static_cast< int >(4)));
 
29272
  SWIG_Python_SetConstant(d, "STC_SORCUS_STRINGEOL",SWIG_From_int(static_cast< int >(5)));
 
29273
  SWIG_Python_SetConstant(d, "STC_SORCUS_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
 
29274
  SWIG_Python_SetConstant(d, "STC_SORCUS_OPERATOR",SWIG_From_int(static_cast< int >(7)));
 
29275
  SWIG_Python_SetConstant(d, "STC_SORCUS_NUMBER",SWIG_From_int(static_cast< int >(8)));
 
29276
  SWIG_Python_SetConstant(d, "STC_SORCUS_CONSTANT",SWIG_From_int(static_cast< int >(9)));
 
29277
  SWIG_Python_SetConstant(d, "STC_POWERPRO_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29278
  SWIG_Python_SetConstant(d, "STC_POWERPRO_COMMENTBLOCK",SWIG_From_int(static_cast< int >(1)));
 
29279
  SWIG_Python_SetConstant(d, "STC_POWERPRO_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
 
29280
  SWIG_Python_SetConstant(d, "STC_POWERPRO_NUMBER",SWIG_From_int(static_cast< int >(3)));
 
29281
  SWIG_Python_SetConstant(d, "STC_POWERPRO_WORD",SWIG_From_int(static_cast< int >(4)));
 
29282
  SWIG_Python_SetConstant(d, "STC_POWERPRO_WORD2",SWIG_From_int(static_cast< int >(5)));
 
29283
  SWIG_Python_SetConstant(d, "STC_POWERPRO_WORD3",SWIG_From_int(static_cast< int >(6)));
 
29284
  SWIG_Python_SetConstant(d, "STC_POWERPRO_WORD4",SWIG_From_int(static_cast< int >(7)));
 
29285
  SWIG_Python_SetConstant(d, "STC_POWERPRO_DOUBLEQUOTEDSTRING",SWIG_From_int(static_cast< int >(8)));
 
29286
  SWIG_Python_SetConstant(d, "STC_POWERPRO_SINGLEQUOTEDSTRING",SWIG_From_int(static_cast< int >(9)));
 
29287
  SWIG_Python_SetConstant(d, "STC_POWERPRO_LINECONTINUE",SWIG_From_int(static_cast< int >(10)));
 
29288
  SWIG_Python_SetConstant(d, "STC_POWERPRO_OPERATOR",SWIG_From_int(static_cast< int >(11)));
 
29289
  SWIG_Python_SetConstant(d, "STC_POWERPRO_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
 
29290
  SWIG_Python_SetConstant(d, "STC_POWERPRO_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
 
29291
  SWIG_Python_SetConstant(d, "STC_POWERPRO_VERBATIM",SWIG_From_int(static_cast< int >(14)));
 
29292
  SWIG_Python_SetConstant(d, "STC_POWERPRO_ALTQUOTE",SWIG_From_int(static_cast< int >(15)));
 
29293
  SWIG_Python_SetConstant(d, "STC_POWERPRO_FUNCTION",SWIG_From_int(static_cast< int >(16)));
 
29294
  SWIG_Python_SetConstant(d, "STC_SML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29295
  SWIG_Python_SetConstant(d, "STC_SML_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
 
29296
  SWIG_Python_SetConstant(d, "STC_SML_TAGNAME",SWIG_From_int(static_cast< int >(2)));
 
29297
  SWIG_Python_SetConstant(d, "STC_SML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
 
29298
  SWIG_Python_SetConstant(d, "STC_SML_KEYWORD2",SWIG_From_int(static_cast< int >(4)));
 
29299
  SWIG_Python_SetConstant(d, "STC_SML_KEYWORD3",SWIG_From_int(static_cast< int >(5)));
 
29300
  SWIG_Python_SetConstant(d, "STC_SML_LINENUM",SWIG_From_int(static_cast< int >(6)));
 
29301
  SWIG_Python_SetConstant(d, "STC_SML_OPERATOR",SWIG_From_int(static_cast< int >(7)));
 
29302
  SWIG_Python_SetConstant(d, "STC_SML_NUMBER",SWIG_From_int(static_cast< int >(8)));
 
29303
  SWIG_Python_SetConstant(d, "STC_SML_CHAR",SWIG_From_int(static_cast< int >(9)));
 
29304
  SWIG_Python_SetConstant(d, "STC_SML_STRING",SWIG_From_int(static_cast< int >(11)));
 
29305
  SWIG_Python_SetConstant(d, "STC_SML_COMMENT",SWIG_From_int(static_cast< int >(12)));
 
29306
  SWIG_Python_SetConstant(d, "STC_SML_COMMENT1",SWIG_From_int(static_cast< int >(13)));
 
29307
  SWIG_Python_SetConstant(d, "STC_SML_COMMENT2",SWIG_From_int(static_cast< int >(14)));
 
29308
  SWIG_Python_SetConstant(d, "STC_SML_COMMENT3",SWIG_From_int(static_cast< int >(15)));
 
29309
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
 
29310
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_LINE_BEGIN",SWIG_From_int(static_cast< int >(1)));
 
29311
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_STRONG1",SWIG_From_int(static_cast< int >(2)));
 
29312
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_STRONG2",SWIG_From_int(static_cast< int >(3)));
 
29313
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_EM1",SWIG_From_int(static_cast< int >(4)));
 
29314
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_EM2",SWIG_From_int(static_cast< int >(5)));
 
29315
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_HEADER1",SWIG_From_int(static_cast< int >(6)));
 
29316
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_HEADER2",SWIG_From_int(static_cast< int >(7)));
 
29317
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_HEADER3",SWIG_From_int(static_cast< int >(8)));
 
29318
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_HEADER4",SWIG_From_int(static_cast< int >(9)));
 
29319
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_HEADER5",SWIG_From_int(static_cast< int >(10)));
 
29320
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_HEADER6",SWIG_From_int(static_cast< int >(11)));
 
29321
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_PRECHAR",SWIG_From_int(static_cast< int >(12)));
 
29322
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_ULIST_ITEM",SWIG_From_int(static_cast< int >(13)));
 
29323
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_OLIST_ITEM",SWIG_From_int(static_cast< int >(14)));
 
29324
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_BLOCKQUOTE",SWIG_From_int(static_cast< int >(15)));
 
29325
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_STRIKEOUT",SWIG_From_int(static_cast< int >(16)));
 
29326
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_HRULE",SWIG_From_int(static_cast< int >(17)));
 
29327
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_LINK",SWIG_From_int(static_cast< int >(18)));
 
29328
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_CODE",SWIG_From_int(static_cast< int >(19)));
 
29329
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_CODE2",SWIG_From_int(static_cast< int >(20)));
 
29330
  SWIG_Python_SetConstant(d, "STC_MARKDOWN_CODEBK",SWIG_From_int(static_cast< int >(21)));
 
29331
  SWIG_Python_SetConstant(d, "STC_CMD_REDO",SWIG_From_int(static_cast< int >(2011)));
 
29332
  SWIG_Python_SetConstant(d, "STC_CMD_SELECTALL",SWIG_From_int(static_cast< int >(2013)));
 
29333
  SWIG_Python_SetConstant(d, "STC_CMD_UNDO",SWIG_From_int(static_cast< int >(2176)));
 
29334
  SWIG_Python_SetConstant(d, "STC_CMD_CUT",SWIG_From_int(static_cast< int >(2177)));
 
29335
  SWIG_Python_SetConstant(d, "STC_CMD_COPY",SWIG_From_int(static_cast< int >(2178)));
 
29336
  SWIG_Python_SetConstant(d, "STC_CMD_PASTE",SWIG_From_int(static_cast< int >(2179)));
 
29337
  SWIG_Python_SetConstant(d, "STC_CMD_CLEAR",SWIG_From_int(static_cast< int >(2180)));
 
29338
  SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWN",SWIG_From_int(static_cast< int >(2300)));
 
29339
  SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNEXTEND",SWIG_From_int(static_cast< int >(2301)));
 
29340
  SWIG_Python_SetConstant(d, "STC_CMD_LINEUP",SWIG_From_int(static_cast< int >(2302)));
 
29341
  SWIG_Python_SetConstant(d, "STC_CMD_LINEUPEXTEND",SWIG_From_int(static_cast< int >(2303)));
 
29342
  SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFT",SWIG_From_int(static_cast< int >(2304)));
 
29343
  SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTEXTEND",SWIG_From_int(static_cast< int >(2305)));
 
29344
  SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHT",SWIG_From_int(static_cast< int >(2306)));
 
29345
  SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTEXTEND",SWIG_From_int(static_cast< int >(2307)));
 
29346
  SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFT",SWIG_From_int(static_cast< int >(2308)));
 
29347
  SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEXTEND",SWIG_From_int(static_cast< int >(2309)));
 
29348
  SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHT",SWIG_From_int(static_cast< int >(2310)));
 
29349
  SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEXTEND",SWIG_From_int(static_cast< int >(2311)));
 
29350
  SWIG_Python_SetConstant(d, "STC_CMD_HOME",SWIG_From_int(static_cast< int >(2312)));
 
29351
  SWIG_Python_SetConstant(d, "STC_CMD_HOMEEXTEND",SWIG_From_int(static_cast< int >(2313)));
 
29352
  SWIG_Python_SetConstant(d, "STC_CMD_LINEEND",SWIG_From_int(static_cast< int >(2314)));
 
29353
  SWIG_Python_SetConstant(d, "STC_CMD_LINEENDEXTEND",SWIG_From_int(static_cast< int >(2315)));
 
29354
  SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTART",SWIG_From_int(static_cast< int >(2316)));
 
29355
  SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTARTEXTEND",SWIG_From_int(static_cast< int >(2317)));
 
29356
  SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTEND",SWIG_From_int(static_cast< int >(2318)));
 
29357
  SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTENDEXTEND",SWIG_From_int(static_cast< int >(2319)));
 
29358
  SWIG_Python_SetConstant(d, "STC_CMD_PAGEUP",SWIG_From_int(static_cast< int >(2320)));
 
29359
  SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPEXTEND",SWIG_From_int(static_cast< int >(2321)));
 
29360
  SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWN",SWIG_From_int(static_cast< int >(2322)));
 
29361
  SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2323)));
 
29362
  SWIG_Python_SetConstant(d, "STC_CMD_EDITTOGGLEOVERTYPE",SWIG_From_int(static_cast< int >(2324)));
 
29363
  SWIG_Python_SetConstant(d, "STC_CMD_CANCEL",SWIG_From_int(static_cast< int >(2325)));
 
29364
  SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACK",SWIG_From_int(static_cast< int >(2326)));
 
29365
  SWIG_Python_SetConstant(d, "STC_CMD_TAB",SWIG_From_int(static_cast< int >(2327)));
 
29366
  SWIG_Python_SetConstant(d, "STC_CMD_BACKTAB",SWIG_From_int(static_cast< int >(2328)));
 
29367
  SWIG_Python_SetConstant(d, "STC_CMD_NEWLINE",SWIG_From_int(static_cast< int >(2329)));
 
29368
  SWIG_Python_SetConstant(d, "STC_CMD_FORMFEED",SWIG_From_int(static_cast< int >(2330)));
 
29369
  SWIG_Python_SetConstant(d, "STC_CMD_VCHOME",SWIG_From_int(static_cast< int >(2331)));
 
29370
  SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEEXTEND",SWIG_From_int(static_cast< int >(2332)));
 
29371
  SWIG_Python_SetConstant(d, "STC_CMD_ZOOMIN",SWIG_From_int(static_cast< int >(2333)));
 
29372
  SWIG_Python_SetConstant(d, "STC_CMD_ZOOMOUT",SWIG_From_int(static_cast< int >(2334)));
 
29373
  SWIG_Python_SetConstant(d, "STC_CMD_DELWORDLEFT",SWIG_From_int(static_cast< int >(2335)));
 
29374
  SWIG_Python_SetConstant(d, "STC_CMD_DELWORDRIGHT",SWIG_From_int(static_cast< int >(2336)));
 
29375
  SWIG_Python_SetConstant(d, "STC_CMD_DELWORDRIGHTEND",SWIG_From_int(static_cast< int >(2518)));
 
29376
  SWIG_Python_SetConstant(d, "STC_CMD_LINECUT",SWIG_From_int(static_cast< int >(2337)));
 
29377
  SWIG_Python_SetConstant(d, "STC_CMD_LINEDELETE",SWIG_From_int(static_cast< int >(2338)));
 
29378
  SWIG_Python_SetConstant(d, "STC_CMD_LINETRANSPOSE",SWIG_From_int(static_cast< int >(2339)));
 
29379
  SWIG_Python_SetConstant(d, "STC_CMD_LINEDUPLICATE",SWIG_From_int(static_cast< int >(2404)));
 
29380
  SWIG_Python_SetConstant(d, "STC_CMD_LOWERCASE",SWIG_From_int(static_cast< int >(2340)));
 
29381
  SWIG_Python_SetConstant(d, "STC_CMD_UPPERCASE",SWIG_From_int(static_cast< int >(2341)));
 
29382
  SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLDOWN",SWIG_From_int(static_cast< int >(2342)));
 
29383
  SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLUP",SWIG_From_int(static_cast< int >(2343)));
 
29384
  SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACKNOTLINE",SWIG_From_int(static_cast< int >(2344)));
 
29385
  SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAY",SWIG_From_int(static_cast< int >(2345)));
 
29386
  SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2346)));
 
29387
  SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAY",SWIG_From_int(static_cast< int >(2347)));
 
29388
  SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2348)));
 
29389
  SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAP",SWIG_From_int(static_cast< int >(2349)));
 
29390
  SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2450)));
 
29391
  SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAP",SWIG_From_int(static_cast< int >(2451)));
 
29392
  SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAPEXTEND",SWIG_From_int(static_cast< int >(2452)));
 
29393
  SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAP",SWIG_From_int(static_cast< int >(2453)));
 
29394
  SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2454)));
 
29395
  SWIG_Python_SetConstant(d, "STC_CMD_LINECOPY",SWIG_From_int(static_cast< int >(2455)));
 
29396
  SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFT",SWIG_From_int(static_cast< int >(2390)));
 
29397
  SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFTEXTEND",SWIG_From_int(static_cast< int >(2391)));
 
29398
  SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHT",SWIG_From_int(static_cast< int >(2392)));
 
29399
  SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHTEXTEND",SWIG_From_int(static_cast< int >(2393)));
 
29400
  SWIG_Python_SetConstant(d, "STC_CMD_DELLINELEFT",SWIG_From_int(static_cast< int >(2395)));
 
29401
  SWIG_Python_SetConstant(d, "STC_CMD_DELLINERIGHT",SWIG_From_int(static_cast< int >(2396)));
 
29402
  SWIG_Python_SetConstant(d, "STC_CMD_PARADOWN",SWIG_From_int(static_cast< int >(2413)));
 
29403
  SWIG_Python_SetConstant(d, "STC_CMD_PARADOWNEXTEND",SWIG_From_int(static_cast< int >(2414)));
 
29404
  SWIG_Python_SetConstant(d, "STC_CMD_PARAUP",SWIG_From_int(static_cast< int >(2415)));
 
29405
  SWIG_Python_SetConstant(d, "STC_CMD_PARAUPEXTEND",SWIG_From_int(static_cast< int >(2416)));
 
29406
  SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2426)));
 
29407
  SWIG_Python_SetConstant(d, "STC_CMD_LINEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2427)));
 
29408
  SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTRECTEXTEND",SWIG_From_int(static_cast< int >(2428)));
 
29409
  SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTRECTEXTEND",SWIG_From_int(static_cast< int >(2429)));
 
29410
  SWIG_Python_SetConstant(d, "STC_CMD_HOMERECTEXTEND",SWIG_From_int(static_cast< int >(2430)));
 
29411
  SWIG_Python_SetConstant(d, "STC_CMD_VCHOMERECTEXTEND",SWIG_From_int(static_cast< int >(2431)));
 
29412
  SWIG_Python_SetConstant(d, "STC_CMD_LINEENDRECTEXTEND",SWIG_From_int(static_cast< int >(2432)));
 
29413
  SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2433)));
 
29414
  SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2434)));
 
29415
  SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUP",SWIG_From_int(static_cast< int >(2435)));
 
29416
  SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUPEXTEND",SWIG_From_int(static_cast< int >(2436)));
 
29417
  SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWN",SWIG_From_int(static_cast< int >(2437)));
 
29418
  SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2438)));
 
29419
  SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEND",SWIG_From_int(static_cast< int >(2439)));
 
29420
  SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTENDEXTEND",SWIG_From_int(static_cast< int >(2440)));
 
29421
  SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEND",SWIG_From_int(static_cast< int >(2441)));
 
29422
  SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTENDEXTEND",SWIG_From_int(static_cast< int >(2442)));
 
29423
  SWIG_Python_SetConstant(d, "wxEVT_STC_CHANGE",SWIG_From_int(static_cast< int >(wxEVT_STC_CHANGE)));
 
29424
  SWIG_Python_SetConstant(d, "wxEVT_STC_STYLENEEDED",SWIG_From_int(static_cast< int >(wxEVT_STC_STYLENEEDED)));
 
29425
  SWIG_Python_SetConstant(d, "wxEVT_STC_CHARADDED",SWIG_From_int(static_cast< int >(wxEVT_STC_CHARADDED)));
 
29426
  SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTREACHED",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTREACHED)));
 
29427
  SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTLEFT",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTLEFT)));
 
29428
  SWIG_Python_SetConstant(d, "wxEVT_STC_ROMODIFYATTEMPT",SWIG_From_int(static_cast< int >(wxEVT_STC_ROMODIFYATTEMPT)));
 
29429
  SWIG_Python_SetConstant(d, "wxEVT_STC_KEY",SWIG_From_int(static_cast< int >(wxEVT_STC_KEY)));
 
29430
  SWIG_Python_SetConstant(d, "wxEVT_STC_DOUBLECLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_DOUBLECLICK)));
 
29431
  SWIG_Python_SetConstant(d, "wxEVT_STC_UPDATEUI",SWIG_From_int(static_cast< int >(wxEVT_STC_UPDATEUI)));
 
29432
  SWIG_Python_SetConstant(d, "wxEVT_STC_MODIFIED",SWIG_From_int(static_cast< int >(wxEVT_STC_MODIFIED)));
 
29433
  SWIG_Python_SetConstant(d, "wxEVT_STC_MACRORECORD",SWIG_From_int(static_cast< int >(wxEVT_STC_MACRORECORD)));
 
29434
  SWIG_Python_SetConstant(d, "wxEVT_STC_MARGINCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_MARGINCLICK)));
 
29435
  SWIG_Python_SetConstant(d, "wxEVT_STC_NEEDSHOWN",SWIG_From_int(static_cast< int >(wxEVT_STC_NEEDSHOWN)));
 
29436
  SWIG_Python_SetConstant(d, "wxEVT_STC_PAINTED",SWIG_From_int(static_cast< int >(wxEVT_STC_PAINTED)));
 
29437
  SWIG_Python_SetConstant(d, "wxEVT_STC_USERLISTSELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_USERLISTSELECTION)));
 
29438
  SWIG_Python_SetConstant(d, "wxEVT_STC_URIDROPPED",SWIG_From_int(static_cast< int >(wxEVT_STC_URIDROPPED)));
 
29439
  SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLSTART",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLSTART)));
 
29440
  SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLEND",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLEND)));
 
29441
  SWIG_Python_SetConstant(d, "wxEVT_STC_START_DRAG",SWIG_From_int(static_cast< int >(wxEVT_STC_START_DRAG)));
 
29442
  SWIG_Python_SetConstant(d, "wxEVT_STC_DRAG_OVER",SWIG_From_int(static_cast< int >(wxEVT_STC_DRAG_OVER)));
 
29443
  SWIG_Python_SetConstant(d, "wxEVT_STC_DO_DROP",SWIG_From_int(static_cast< int >(wxEVT_STC_DO_DROP)));
 
29444
  SWIG_Python_SetConstant(d, "wxEVT_STC_ZOOM",SWIG_From_int(static_cast< int >(wxEVT_STC_ZOOM)));
 
29445
  SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_CLICK)));
 
29446
  SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_DCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_DCLICK)));
 
29447
  SWIG_Python_SetConstant(d, "wxEVT_STC_CALLTIP_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_CALLTIP_CLICK)));
 
29448
  SWIG_Python_SetConstant(d, "wxEVT_STC_AUTOCOMP_SELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_AUTOCOMP_SELECTION)));
 
29449
  SWIG_Python_SetConstant(d, "wxEVT_STC_INDICATOR_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_INDICATOR_CLICK)));
 
29450
  SWIG_Python_SetConstant(d, "wxEVT_STC_INDICATOR_RELEASE",SWIG_From_int(static_cast< int >(wxEVT_STC_INDICATOR_RELEASE)));
 
29451
  SWIG_Python_SetConstant(d, "wxEVT_STC_AUTOCOMP_CANCELLED",SWIG_From_int(static_cast< int >(wxEVT_STC_AUTOCOMP_CANCELLED)));
 
29452
  SWIG_Python_SetConstant(d, "wxEVT_STC_AUTOCOMP_CHAR_DELETED",SWIG_From_int(static_cast< int >(wxEVT_STC_AUTOCOMP_CHAR_DELETED)));
 
29453
  
 
29454
  
 
29455
}
 
29456