1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
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
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
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
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
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
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
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"
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)
148 # define SWIG_TYPE_TABLE_NAME
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'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
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).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
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
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
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
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
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
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))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
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
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
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 */
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 */
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 */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
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;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
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
);
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
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
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
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
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
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
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
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
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
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
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
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
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).
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
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
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
;
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
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
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];
614 Unpack binary data from a string
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);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
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
717 /* Python.h has to appear first */
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
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
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
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
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
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;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
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
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()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
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(); }
894 class SWIG_Python_Thread_Allow
{
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(); }
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()
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)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
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
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
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.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
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
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)
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)
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)
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)
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)
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
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
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
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
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
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
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);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
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)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
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
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
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
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
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
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
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
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
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
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
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"},
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"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
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*/
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 */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
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 */
1631 (getattrfunc
)0, /* tp_getattr */
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 */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
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
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
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
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
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;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
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 */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
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
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
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
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
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
;
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()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
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);
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;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
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
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
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
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
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
);
2219 /* Create a new packed object */
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();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
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);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
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 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
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
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
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)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_unsigned_char swig_types[3]
2470 #define SWIGTYPE_p_unsigned_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_long swig_types[5]
2472 #define SWIGTYPE_p_void swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2477 #define SWIGTYPE_p_wxBitmap swig_types[11]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2479 #define SWIGTYPE_p_wxBusyInfo swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2482 #define SWIGTYPE_p_wxClipboard swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2487 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2488 #define SWIGTYPE_p_wxControl swig_types[22]
2489 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2490 #define SWIGTYPE_p_wxDC swig_types[24]
2491 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[28]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxEvent swig_types[30]
2497 #define SWIGTYPE_p_wxEventBlocker swig_types[31]
2498 #define SWIGTYPE_p_wxEvtHandler swig_types[32]
2499 #define SWIGTYPE_p_wxFSFile swig_types[33]
2500 #define SWIGTYPE_p_wxFileHistory swig_types[34]
2501 #define SWIGTYPE_p_wxFileSystem swig_types[35]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[36]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[37]
2504 #define SWIGTYPE_p_wxFont swig_types[38]
2505 #define SWIGTYPE_p_wxGBSizerItem swig_types[39]
2506 #define SWIGTYPE_p_wxGIFHandler swig_types[40]
2507 #define SWIGTYPE_p_wxGridBagSizer swig_types[41]
2508 #define SWIGTYPE_p_wxGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxICOHandler swig_types[43]
2510 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
2511 #define SWIGTYPE_p_wxIdleEvent swig_types[45]
2512 #define SWIGTYPE_p_wxImage swig_types[46]
2513 #define SWIGTYPE_p_wxImageHandler swig_types[47]
2514 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[48]
2515 #define SWIGTYPE_p_wxInitDialogEvent swig_types[49]
2516 #define SWIGTYPE_p_wxJPEGHandler swig_types[50]
2517 #define SWIGTYPE_p_wxJoystickEvent swig_types[51]
2518 #define SWIGTYPE_p_wxKeyEvent swig_types[52]
2519 #define SWIGTYPE_p_wxLayoutConstraints swig_types[53]
2520 #define SWIGTYPE_p_wxMaximizeEvent swig_types[54]
2521 #define SWIGTYPE_p_wxMemoryBuffer swig_types[55]
2522 #define SWIGTYPE_p_wxMenu swig_types[56]
2523 #define SWIGTYPE_p_wxMenuBar swig_types[57]
2524 #define SWIGTYPE_p_wxMenuEvent swig_types[58]
2525 #define SWIGTYPE_p_wxMenuItem swig_types[59]
2526 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[60]
2527 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[61]
2528 #define SWIGTYPE_p_wxMouseEvent swig_types[62]
2529 #define SWIGTYPE_p_wxMoveEvent swig_types[63]
2530 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[64]
2531 #define SWIGTYPE_p_wxNcPaintEvent swig_types[65]
2532 #define SWIGTYPE_p_wxNotifyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxObject swig_types[67]
2534 #define SWIGTYPE_p_wxPCXHandler swig_types[68]
2535 #define SWIGTYPE_p_wxPNGHandler swig_types[69]
2536 #define SWIGTYPE_p_wxPNMHandler swig_types[70]
2537 #define SWIGTYPE_p_wxPaintEvent swig_types[71]
2538 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[72]
2539 #define SWIGTYPE_p_wxPaperSize swig_types[73]
2540 #define SWIGTYPE_p_wxPoint swig_types[74]
2541 #define SWIGTYPE_p_wxPowerEvent swig_types[75]
2542 #define SWIGTYPE_p_wxProcessEvent swig_types[76]
2543 #define SWIGTYPE_p_wxPyApp swig_types[77]
2544 #define SWIGTYPE_p_wxPyCommandEvent swig_types[78]
2545 #define SWIGTYPE_p_wxPyEvent swig_types[79]
2546 #define SWIGTYPE_p_wxPyImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxPyProcess swig_types[81]
2548 #define SWIGTYPE_p_wxPySizer swig_types[82]
2549 #define SWIGTYPE_p_wxPyTimer swig_types[83]
2550 #define SWIGTYPE_p_wxPyValidator swig_types[84]
2551 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[85]
2552 #define SWIGTYPE_p_wxRect swig_types[86]
2553 #define SWIGTYPE_p_wxScrollBar swig_types[87]
2554 #define SWIGTYPE_p_wxScrollEvent swig_types[88]
2555 #define SWIGTYPE_p_wxScrollWinEvent swig_types[89]
2556 #define SWIGTYPE_p_wxSetCursorEvent swig_types[90]
2557 #define SWIGTYPE_p_wxShowEvent swig_types[91]
2558 #define SWIGTYPE_p_wxSizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxSizer swig_types[93]
2560 #define SWIGTYPE_p_wxSizerItem swig_types[94]
2561 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[95]
2562 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[96]
2563 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[97]
2564 #define SWIGTYPE_p_wxStyledTextEvent swig_types[98]
2565 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxSystemOptions swig_types[100]
2567 #define SWIGTYPE_p_wxTGAHandler swig_types[101]
2568 #define SWIGTYPE_p_wxTIFFHandler swig_types[102]
2569 #define SWIGTYPE_p_wxTimerEvent swig_types[103]
2570 #define SWIGTYPE_p_wxToolTip swig_types[104]
2571 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[105]
2572 #define SWIGTYPE_p_wxValidator swig_types[106]
2573 #define SWIGTYPE_p_wxWindow swig_types[107]
2574 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[108]
2575 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxXPMHandler swig_types[110]
2577 static swig_type_info
*swig_types
[112];
2578 static swig_module_info swig_module
= {swig_types
, 111, 0, 0, 0, 0};
2579 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2580 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2582 /* -------- TYPES TABLE (END) -------- */
2584 #if (PY_VERSION_HEX <= 0x02000000)
2585 # if !defined(SWIG_PYTHON_CLASSIC)
2586 # error "This python version requires to use swig with the '-classic' option"
2589 #if (PY_VERSION_HEX <= 0x02020000)
2590 # error "This python version requires to use swig with the '-nomodern' option"
2592 #if (PY_VERSION_HEX <= 0x02020000)
2593 # error "This python version requires to use swig with the '-nomodernargs' option"
2596 # error "This python version requires to use swig with the '-nofastunpack' option"
2599 /*-----------------------------------------------
2601 ------------------------------------------------*/
2602 #define SWIG_init init_stc
2604 #define SWIG_name "_stc"
2606 #define SWIGVERSION 0x010329
2609 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2610 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2613 #include <stdexcept>
2617 class PyObject_ptr
{
2622 PyObject_ptr() :_obj(0)
2626 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2631 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2633 if (initial_ref
) Py_XINCREF(_obj
);
2636 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2638 Py_XINCREF(item
._obj
);
2649 operator PyObject
*() const
2654 PyObject
*operator->() const
2663 struct PyObject_var
: PyObject_ptr
{
2664 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2666 PyObject_var
& operator = (PyObject
* obj
)
2676 #include "wx/wxPython/wxPython.h"
2677 #include "wx/wxPython/pyclasses.h"
2678 #include <wx/stc/stc.h>
2680 static const wxString
wxPySTCNameStr(wxSTCNameStr
);
2682 #define SWIG_From_long PyInt_FromLong
2685 SWIGINTERNINLINE PyObject
*
2686 SWIG_From_int (int value
)
2688 return SWIG_From_long (value
);
2694 # define LLONG_MIN LONG_LONG_MIN
2697 # define LLONG_MAX LONG_LONG_MAX
2700 # define ULLONG_MAX ULONG_LONG_MAX
2705 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2707 if (PyNumber_Check(obj
)) {
2708 if (val
) *val
= PyInt_AsLong(obj
);
2711 return SWIG_TypeError
;
2716 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2719 int res
= SWIG_AsVal_long (obj
, &v
);
2720 if (SWIG_IsOK(res
)) {
2721 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2722 return SWIG_OverflowError
;
2724 if (val
) *val
= static_cast< int >(v
);
2732 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2734 if (obj
== Py_True
) {
2735 if (val
) *val
= true;
2737 } else if (obj
== Py_False
) {
2738 if (val
) *val
= false;
2742 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2743 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2749 SWIGINTERN swig_type_info
*
2750 SWIG_pchar_descriptor()
2752 static int init
= 0;
2753 static swig_type_info
* info
= 0;
2755 info
= SWIG_TypeQuery("_p_char");
2763 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
2765 if (PyString_Check(obj
)) {
2766 char *cstr
; Py_ssize_t len
;
2767 PyString_AsStringAndSize(obj
, &cstr
, &len
);
2771 In python the user should not be able to modify the inner
2772 string representation. To warranty that, if you define
2773 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2774 buffer is always returned.
2776 The default behavior is just to return the pointer value,
2779 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2780 if (*alloc
!= SWIG_OLDOBJ
)
2782 if (*alloc
== SWIG_NEWOBJ
)
2785 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
2786 *alloc
= SWIG_NEWOBJ
;
2790 *alloc
= SWIG_OLDOBJ
;
2793 *cptr
= PyString_AsString(obj
);
2796 if (psize
) *psize
= len
+ 1;
2799 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
2800 if (pchar_descriptor
) {
2802 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
2803 if (cptr
) *cptr
= (char *) vptr
;
2804 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
2805 if (alloc
) *alloc
= SWIG_OLDOBJ
;
2810 return SWIG_TypeError
;
2819 SWIGINTERN
int STCNameStr_set(PyObject
*) {
2820 SWIG_Error(SWIG_AttributeError
,"Variable STCNameStr is read-only.");
2825 SWIGINTERN PyObject
*STCNameStr_get(void) {
2826 PyObject
*pyobj
= 0;
2830 pyobj
= PyUnicode_FromWideChar((&wxPySTCNameStr
)->c_str(), (&wxPySTCNameStr
)->Len());
2832 pyobj
= PyString_FromStringAndSize((&wxPySTCNameStr
)->c_str(), (&wxPySTCNameStr
)->Len());
2839 SWIGINTERN PyObject
*_wrap_new_StyledTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
= 0;
2841 wxWindow
*arg1
= (wxWindow
*) 0 ;
2842 int arg2
= (int) wxID_ANY
;
2843 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2844 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2845 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2846 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2847 long arg5
= (long) 0 ;
2848 wxString
const &arg6_defvalue
= wxPySTCNameStr
;
2849 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2850 wxStyledTextCtrl
*result
= 0 ;
2859 bool temp6
= false ;
2860 PyObject
* obj0
= 0 ;
2861 PyObject
* obj1
= 0 ;
2862 PyObject
* obj2
= 0 ;
2863 PyObject
* obj3
= 0 ;
2864 PyObject
* obj4
= 0 ;
2865 PyObject
* obj5
= 0 ;
2866 char * kwnames
[] = {
2867 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
2871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
2872 if (!SWIG_IsOK(res1
)) {
2873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StyledTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
2875 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
2877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
2878 if (!SWIG_IsOK(ecode2
)) {
2879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StyledTextCtrl" "', expected argument " "2"" of type '" "int""'");
2881 arg2
= static_cast< int >(val2
);
2886 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2892 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2896 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
2897 if (!SWIG_IsOK(ecode5
)) {
2898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StyledTextCtrl" "', expected argument " "5"" of type '" "long""'");
2900 arg5
= static_cast< long >(val5
);
2904 arg6
= wxString_in_helper(obj5
);
2905 if (arg6
== NULL
) SWIG_fail
;
2910 if (!wxPyCheckForApp()) SWIG_fail
;
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 result
= (wxStyledTextCtrl
*)new wxStyledTextCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStyledTextCtrl
, SWIG_POINTER_NEW
| 0 );
2931 SWIGINTERN PyObject
*_wrap_new_PreStyledTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
2932 PyObject
*resultobj
= 0;
2933 wxStyledTextCtrl
*result
= 0 ;
2935 if (!SWIG_Python_UnpackTuple(args
,"new_PreStyledTextCtrl",0,0,0)) SWIG_fail
;
2937 if (!wxPyCheckForApp()) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (wxStyledTextCtrl
*)new wxStyledTextCtrl();
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStyledTextCtrl
, SWIG_POINTER_OWN
| 0 );
2950 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
= 0;
2952 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2953 wxWindow
*arg2
= (wxWindow
*) 0 ;
2954 int arg3
= (int) wxID_ANY
;
2955 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2956 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2957 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2958 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2959 long arg6
= (long) 0 ;
2960 wxString
const &arg7_defvalue
= wxSTCNameStr
;
2961 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2973 bool temp7
= false ;
2974 PyObject
* obj0
= 0 ;
2975 PyObject
* obj1
= 0 ;
2976 PyObject
* obj2
= 0 ;
2977 PyObject
* obj3
= 0 ;
2978 PyObject
* obj4
= 0 ;
2979 PyObject
* obj5
= 0 ;
2980 PyObject
* obj6
= 0 ;
2981 char * kwnames
[] = {
2982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
2986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
2987 if (!SWIG_IsOK(res1
)) {
2988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_Create" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
2990 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
2991 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
2992 if (!SWIG_IsOK(res2
)) {
2993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StyledTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
2995 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
2997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
2998 if (!SWIG_IsOK(ecode3
)) {
2999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
3001 arg3
= static_cast< int >(val3
);
3006 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3012 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3016 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3017 if (!SWIG_IsOK(ecode6
)) {
3018 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StyledTextCtrl_Create" "', expected argument " "6"" of type '" "long""'");
3020 arg6
= static_cast< long >(val6
);
3024 arg7
= wxString_in_helper(obj6
);
3025 if (arg7
== NULL
) SWIG_fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3032 wxPyEndAllowThreads(__tstate
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3052 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AddText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
*resultobj
= 0;
3054 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3055 wxString
*arg2
= 0 ;
3058 bool temp2
= false ;
3059 PyObject
* obj0
= 0 ;
3060 PyObject
* obj1
= 0 ;
3061 char * kwnames
[] = {
3062 (char *) "self",(char *) "text", NULL
3065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AddText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3067 if (!SWIG_IsOK(res1
)) {
3068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AddText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3070 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3072 arg2
= wxString_in_helper(obj1
);
3073 if (arg2
== NULL
) SWIG_fail
;
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 (arg1
)->AddText((wxString
const &)*arg2
);
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3082 resultobj
= SWIG_Py_Void();
3097 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AddStyledText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
= 0;
3099 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3100 wxMemoryBuffer
*arg2
= 0 ;
3103 bool temp2
= false ;
3104 PyObject
* obj0
= 0 ;
3105 PyObject
* obj1
= 0 ;
3106 char * kwnames
[] = {
3107 (char *) "self",(char *) "data", NULL
3110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3112 if (!SWIG_IsOK(res1
)) {
3113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AddStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3115 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3117 if (!PyString_Check(obj1
)) {
3118 PyErr_SetString(PyExc_TypeError
, "String buffer expected");
3121 char* str
= PyString_AS_STRING(obj1
);
3122 int len
= PyString_GET_SIZE(obj1
);
3123 arg2
= new wxMemoryBuffer(len
);
3125 memcpy(arg2
->GetData(), str
, len
);
3126 arg2
->SetDataLen(len
);
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 (arg1
)->AddStyledText((wxMemoryBuffer
const &)*arg2
);
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) SWIG_fail
;
3134 resultobj
= SWIG_Py_Void();
3136 if (temp2
) delete arg2
;
3141 if (temp2
) delete arg2
;
3147 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_InsertText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
*resultobj
= 0;
3149 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3151 wxString
*arg3
= 0 ;
3156 bool temp3
= false ;
3157 PyObject
* obj0
= 0 ;
3158 PyObject
* obj1
= 0 ;
3159 PyObject
* obj2
= 0 ;
3160 char * kwnames
[] = {
3161 (char *) "self",(char *) "pos",(char *) "text", NULL
3164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_InsertText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3166 if (!SWIG_IsOK(res1
)) {
3167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3169 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3171 if (!SWIG_IsOK(ecode2
)) {
3172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "2"" of type '" "int""'");
3174 arg2
= static_cast< int >(val2
);
3176 arg3
= wxString_in_helper(obj2
);
3177 if (arg3
== NULL
) SWIG_fail
;
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 (arg1
)->InsertText(arg2
,(wxString
const &)*arg3
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3186 resultobj
= SWIG_Py_Void();
3201 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3202 PyObject
*resultobj
= 0;
3203 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3206 PyObject
*swig_obj
[1] ;
3208 if (!args
) SWIG_fail
;
3210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3211 if (!SWIG_IsOK(res1
)) {
3212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3214 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3221 resultobj
= SWIG_Py_Void();
3228 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3229 PyObject
*resultobj
= 0;
3230 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3233 PyObject
*swig_obj
[1] ;
3235 if (!args
) SWIG_fail
;
3237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3238 if (!SWIG_IsOK(res1
)) {
3239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ClearDocumentStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3241 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 (arg1
)->ClearDocumentStyle();
3245 wxPyEndAllowThreads(__tstate
);
3246 if (PyErr_Occurred()) SWIG_fail
;
3248 resultobj
= SWIG_Py_Void();
3255 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3256 PyObject
*resultobj
= 0;
3257 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3261 PyObject
*swig_obj
[1] ;
3263 if (!args
) SWIG_fail
;
3265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3266 if (!SWIG_IsOK(res1
)) {
3267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3269 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 result
= (int)(arg1
)->GetLength();
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3276 resultobj
= SWIG_From_int(static_cast< int >(result
));
3283 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCharAt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
= 0;
3285 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3292 PyObject
* obj0
= 0 ;
3293 PyObject
* obj1
= 0 ;
3294 char * kwnames
[] = {
3295 (char *) "self",(char *) "pos", NULL
3298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3300 if (!SWIG_IsOK(res1
)) {
3301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3303 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3305 if (!SWIG_IsOK(ecode2
)) {
3306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "2"" of type '" "int""'");
3308 arg2
= static_cast< int >(val2
);
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 result
= (int)(arg1
)->GetCharAt(arg2
);
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3315 resultobj
= SWIG_From_int(static_cast< int >(result
));
3322 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCurrentPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3323 PyObject
*resultobj
= 0;
3324 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3328 PyObject
*swig_obj
[1] ;
3330 if (!args
) SWIG_fail
;
3332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3333 if (!SWIG_IsOK(res1
)) {
3334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3336 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 result
= (int)(arg1
)->GetCurrentPos();
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3343 resultobj
= SWIG_From_int(static_cast< int >(result
));
3350 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3351 PyObject
*resultobj
= 0;
3352 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3356 PyObject
*swig_obj
[1] ;
3358 if (!args
) SWIG_fail
;
3360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3361 if (!SWIG_IsOK(res1
)) {
3362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3364 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 result
= (int)(arg1
)->GetAnchor();
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3371 resultobj
= SWIG_From_int(static_cast< int >(result
));
3378 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetStyleAt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
= 0;
3380 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3387 PyObject
* obj0
= 0 ;
3388 PyObject
* obj1
= 0 ;
3389 char * kwnames
[] = {
3390 (char *) "self",(char *) "pos", NULL
3393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3395 if (!SWIG_IsOK(res1
)) {
3396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3398 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3400 if (!SWIG_IsOK(ecode2
)) {
3401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "2"" of type '" "int""'");
3403 arg2
= static_cast< int >(val2
);
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (int)(arg1
)->GetStyleAt(arg2
);
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3410 resultobj
= SWIG_From_int(static_cast< int >(result
));
3417 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3418 PyObject
*resultobj
= 0;
3419 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3422 PyObject
*swig_obj
[1] ;
3424 if (!args
) SWIG_fail
;
3426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3427 if (!SWIG_IsOK(res1
)) {
3428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_Redo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3430 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3437 resultobj
= SWIG_Py_Void();
3444 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetUndoCollection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
= 0;
3446 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3452 PyObject
* obj0
= 0 ;
3453 PyObject
* obj1
= 0 ;
3454 char * kwnames
[] = {
3455 (char *) "self",(char *) "collectUndo", NULL
3458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3460 if (!SWIG_IsOK(res1
)) {
3461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3463 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3464 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
3465 if (!SWIG_IsOK(ecode2
)) {
3466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "2"" of type '" "bool""'");
3468 arg2
= static_cast< bool >(val2
);
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 (arg1
)->SetUndoCollection(arg2
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= SWIG_Py_Void();
3482 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3483 PyObject
*resultobj
= 0;
3484 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3487 PyObject
*swig_obj
[1] ;
3489 if (!args
) SWIG_fail
;
3491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3492 if (!SWIG_IsOK(res1
)) {
3493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3495 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 (arg1
)->SelectAll();
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 resultobj
= SWIG_Py_Void();
3509 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetSavePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3510 PyObject
*resultobj
= 0;
3511 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3514 PyObject
*swig_obj
[1] ;
3516 if (!args
) SWIG_fail
;
3518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3519 if (!SWIG_IsOK(res1
)) {
3520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetSavePoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3522 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 (arg1
)->SetSavePoint();
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3529 resultobj
= SWIG_Py_Void();
3536 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetStyledText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
= 0;
3538 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3541 wxMemoryBuffer result
;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3550 PyObject
* obj2
= 0 ;
3551 char * kwnames
[] = {
3552 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
3555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3557 if (!SWIG_IsOK(res1
)) {
3558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3560 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3562 if (!SWIG_IsOK(ecode2
)) {
3563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "2"" of type '" "int""'");
3565 arg2
= static_cast< int >(val2
);
3566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3567 if (!SWIG_IsOK(ecode3
)) {
3568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "3"" of type '" "int""'");
3570 arg3
= static_cast< int >(val3
);
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 result
= (arg1
)->GetStyledText(arg2
,arg3
);
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3578 resultobj
= PyString_FromStringAndSize((char*)(&result
)->GetData(), (&result
)->GetDataLen());
3586 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3587 PyObject
*resultobj
= 0;
3588 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3592 PyObject
*swig_obj
[1] ;
3594 if (!args
) SWIG_fail
;
3596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3597 if (!SWIG_IsOK(res1
)) {
3598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3600 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 result
= (bool)(arg1
)->CanRedo();
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3616 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
= 0;
3618 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3625 PyObject
* obj0
= 0 ;
3626 PyObject
* obj1
= 0 ;
3627 char * kwnames
[] = {
3628 (char *) "self",(char *) "handle", NULL
3631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3633 if (!SWIG_IsOK(res1
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3636 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3638 if (!SWIG_IsOK(ecode2
)) {
3639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "2"" of type '" "int""'");
3641 arg2
= static_cast< int >(val2
);
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 result
= (int)(arg1
)->MarkerLineFromHandle(arg2
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= SWIG_From_int(static_cast< int >(result
));
3655 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
= 0;
3657 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj1
= 0 ;
3665 char * kwnames
[] = {
3666 (char *) "self",(char *) "handle", NULL
3669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3671 if (!SWIG_IsOK(res1
)) {
3672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3674 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3676 if (!SWIG_IsOK(ecode2
)) {
3677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "2"" of type '" "int""'");
3679 arg2
= static_cast< int >(val2
);
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 (arg1
)->MarkerDeleteHandle(arg2
);
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3686 resultobj
= SWIG_Py_Void();
3693 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetUndoCollection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3694 PyObject
*resultobj
= 0;
3695 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3699 PyObject
*swig_obj
[1] ;
3701 if (!args
) SWIG_fail
;
3703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3704 if (!SWIG_IsOK(res1
)) {
3705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3707 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 result
= (bool)(arg1
)->GetUndoCollection();
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3723 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3724 PyObject
*resultobj
= 0;
3725 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3729 PyObject
*swig_obj
[1] ;
3731 if (!args
) SWIG_fail
;
3733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3734 if (!SWIG_IsOK(res1
)) {
3735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3737 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= (int)(arg1
)->GetViewWhiteSpace();
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3744 resultobj
= SWIG_From_int(static_cast< int >(result
));
3751 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
= 0;
3753 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3760 PyObject
* obj1
= 0 ;
3761 char * kwnames
[] = {
3762 (char *) "self",(char *) "viewWS", NULL
3765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3767 if (!SWIG_IsOK(res1
)) {
3768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3770 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3772 if (!SWIG_IsOK(ecode2
)) {
3773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "2"" of type '" "int""'");
3775 arg2
= static_cast< int >(val2
);
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 (arg1
)->SetViewWhiteSpace(arg2
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3782 resultobj
= SWIG_Py_Void();
3789 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_PositionFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
*resultobj
= 0;
3791 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3798 PyObject
* obj0
= 0 ;
3799 PyObject
* obj1
= 0 ;
3800 char * kwnames
[] = {
3801 (char *) "self",(char *) "pt", NULL
3804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3806 if (!SWIG_IsOK(res1
)) {
3807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3809 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPoint
, 0 | 0);
3812 if (!SWIG_IsOK(res2
)) {
3813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3818 wxPoint
* temp
= reinterpret_cast< wxPoint
* >(argp2
);
3820 if (SWIG_IsNewObj(res2
)) delete temp
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (int)(arg1
)->PositionFromPoint(arg2
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_From_int(static_cast< int >(result
));
3836 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_PositionFromPointClose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
= 0;
3838 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3850 PyObject
* obj2
= 0 ;
3851 char * kwnames
[] = {
3852 (char *) "self",(char *) "x",(char *) "y", NULL
3855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3857 if (!SWIG_IsOK(res1
)) {
3858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3860 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3862 if (!SWIG_IsOK(ecode2
)) {
3863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "2"" of type '" "int""'");
3865 arg2
= static_cast< int >(val2
);
3866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3867 if (!SWIG_IsOK(ecode3
)) {
3868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "3"" of type '" "int""'");
3870 arg3
= static_cast< int >(val3
);
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (int)(arg1
)->PositionFromPointClose(arg2
,arg3
);
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) SWIG_fail
;
3877 resultobj
= SWIG_From_int(static_cast< int >(result
));
3884 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GotoLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
*resultobj
= 0;
3886 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3893 PyObject
* obj1
= 0 ;
3894 char * kwnames
[] = {
3895 (char *) "self",(char *) "line", NULL
3898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GotoLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3900 if (!SWIG_IsOK(res1
)) {
3901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3903 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3905 if (!SWIG_IsOK(ecode2
)) {
3906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "2"" of type '" "int""'");
3908 arg2
= static_cast< int >(val2
);
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 (arg1
)->GotoLine(arg2
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 resultobj
= SWIG_Py_Void();
3922 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GotoPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
= 0;
3924 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3930 PyObject
* obj0
= 0 ;
3931 PyObject
* obj1
= 0 ;
3932 char * kwnames
[] = {
3933 (char *) "self",(char *) "pos", NULL
3936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GotoPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3938 if (!SWIG_IsOK(res1
)) {
3939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3941 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3943 if (!SWIG_IsOK(ecode2
)) {
3944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "2"" of type '" "int""'");
3946 arg2
= static_cast< int >(val2
);
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 (arg1
)->GotoPos(arg2
);
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 resultobj
= SWIG_Py_Void();
3960 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
= 0;
3962 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3968 PyObject
* obj0
= 0 ;
3969 PyObject
* obj1
= 0 ;
3970 char * kwnames
[] = {
3971 (char *) "self",(char *) "posAnchor", NULL
3974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
3976 if (!SWIG_IsOK(res1
)) {
3977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3979 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
3980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3981 if (!SWIG_IsOK(ecode2
)) {
3982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "2"" of type '" "int""'");
3984 arg2
= static_cast< int >(val2
);
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 (arg1
)->SetAnchor(arg2
);
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 resultobj
= SWIG_Py_Void();
3998 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCurLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3999 PyObject
*resultobj
= 0;
4000 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4001 int *arg2
= (int *) 0 ;
4006 int res2
= SWIG_TMPOBJ
;
4007 PyObject
*swig_obj
[1] ;
4010 if (!args
) SWIG_fail
;
4012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4013 if (!SWIG_IsOK(res1
)) {
4014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCurLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4016 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (arg1
)->GetCurLine(arg2
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4030 if (SWIG_IsTmpObj(res2
)) {
4031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4033 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4042 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetEndStyled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4043 PyObject
*resultobj
= 0;
4044 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4048 PyObject
*swig_obj
[1] ;
4050 if (!args
) SWIG_fail
;
4052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4053 if (!SWIG_IsOK(res1
)) {
4054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetEndStyled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4056 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (int)(arg1
)->GetEndStyled();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 resultobj
= SWIG_From_int(static_cast< int >(result
));
4070 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ConvertEOLs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
*resultobj
= 0;
4072 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4078 PyObject
* obj0
= 0 ;
4079 PyObject
* obj1
= 0 ;
4080 char * kwnames
[] = {
4081 (char *) "self",(char *) "eolMode", NULL
4084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4086 if (!SWIG_IsOK(res1
)) {
4087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4089 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4091 if (!SWIG_IsOK(ecode2
)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "2"" of type '" "int""'");
4094 arg2
= static_cast< int >(val2
);
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 (arg1
)->ConvertEOLs(arg2
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 resultobj
= SWIG_Py_Void();
4108 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetEOLMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4109 PyObject
*resultobj
= 0;
4110 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4114 PyObject
*swig_obj
[1] ;
4116 if (!args
) SWIG_fail
;
4118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4119 if (!SWIG_IsOK(res1
)) {
4120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4122 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (int)(arg1
)->GetEOLMode();
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= SWIG_From_int(static_cast< int >(result
));
4136 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetEOLMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
= 0;
4138 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4144 PyObject
* obj0
= 0 ;
4145 PyObject
* obj1
= 0 ;
4146 char * kwnames
[] = {
4147 (char *) "self",(char *) "eolMode", NULL
4150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4152 if (!SWIG_IsOK(res1
)) {
4153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4155 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4157 if (!SWIG_IsOK(ecode2
)) {
4158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "2"" of type '" "int""'");
4160 arg2
= static_cast< int >(val2
);
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 (arg1
)->SetEOLMode(arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= SWIG_Py_Void();
4174 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StartStyling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
= 0;
4176 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4185 PyObject
* obj0
= 0 ;
4186 PyObject
* obj1
= 0 ;
4187 PyObject
* obj2
= 0 ;
4188 char * kwnames
[] = {
4189 (char *) "self",(char *) "pos",(char *) "mask", NULL
4192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4194 if (!SWIG_IsOK(res1
)) {
4195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4197 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4199 if (!SWIG_IsOK(ecode2
)) {
4200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "2"" of type '" "int""'");
4202 arg2
= static_cast< int >(val2
);
4203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4204 if (!SWIG_IsOK(ecode3
)) {
4205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "3"" of type '" "int""'");
4207 arg3
= static_cast< int >(val3
);
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 (arg1
)->StartStyling(arg2
,arg3
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= SWIG_Py_Void();
4221 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetStyling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
= 0;
4223 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4232 PyObject
* obj0
= 0 ;
4233 PyObject
* obj1
= 0 ;
4234 PyObject
* obj2
= 0 ;
4235 char * kwnames
[] = {
4236 (char *) "self",(char *) "length",(char *) "style", NULL
4239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4241 if (!SWIG_IsOK(res1
)) {
4242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4244 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4246 if (!SWIG_IsOK(ecode2
)) {
4247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "2"" of type '" "int""'");
4249 arg2
= static_cast< int >(val2
);
4250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4251 if (!SWIG_IsOK(ecode3
)) {
4252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "3"" of type '" "int""'");
4254 arg3
= static_cast< int >(val3
);
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 (arg1
)->SetStyling(arg2
,arg3
);
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 resultobj
= SWIG_Py_Void();
4268 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetBufferedDraw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4269 PyObject
*resultobj
= 0;
4270 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4274 PyObject
*swig_obj
[1] ;
4276 if (!args
) SWIG_fail
;
4278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4279 if (!SWIG_IsOK(res1
)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4282 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 result
= (bool)(arg1
)->GetBufferedDraw();
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4298 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetBufferedDraw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
= 0;
4300 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4306 PyObject
* obj0
= 0 ;
4307 PyObject
* obj1
= 0 ;
4308 char * kwnames
[] = {
4309 (char *) "self",(char *) "buffered", NULL
4312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4314 if (!SWIG_IsOK(res1
)) {
4315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4317 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4318 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4319 if (!SWIG_IsOK(ecode2
)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "2"" of type '" "bool""'");
4322 arg2
= static_cast< bool >(val2
);
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 (arg1
)->SetBufferedDraw(arg2
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= SWIG_Py_Void();
4336 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetTabWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
= 0;
4338 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4344 PyObject
* obj0
= 0 ;
4345 PyObject
* obj1
= 0 ;
4346 char * kwnames
[] = {
4347 (char *) "self",(char *) "tabWidth", NULL
4350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4352 if (!SWIG_IsOK(res1
)) {
4353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4355 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4357 if (!SWIG_IsOK(ecode2
)) {
4358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "2"" of type '" "int""'");
4360 arg2
= static_cast< int >(val2
);
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 (arg1
)->SetTabWidth(arg2
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= SWIG_Py_Void();
4374 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetTabWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4375 PyObject
*resultobj
= 0;
4376 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4380 PyObject
*swig_obj
[1] ;
4382 if (!args
) SWIG_fail
;
4384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4385 if (!SWIG_IsOK(res1
)) {
4386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4388 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (int)(arg1
)->GetTabWidth();
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_From_int(static_cast< int >(result
));
4402 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetCodePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
= 0;
4404 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4412 char * kwnames
[] = {
4413 (char *) "self",(char *) "codePage", NULL
4416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4418 if (!SWIG_IsOK(res1
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4421 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4423 if (!SWIG_IsOK(ecode2
)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "2"" of type '" "int""'");
4426 arg2
= static_cast< int >(val2
);
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 (arg1
)->SetCodePage(arg2
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_Py_Void();
4440 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerDefine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
= 0;
4442 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4445 wxColour
const &arg4_defvalue
= wxNullColour
;
4446 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
4447 wxColour
const &arg5_defvalue
= wxNullColour
;
4448 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4459 PyObject
* obj2
= 0 ;
4460 PyObject
* obj3
= 0 ;
4461 PyObject
* obj4
= 0 ;
4462 char * kwnames
[] = {
4463 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
4466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4468 if (!SWIG_IsOK(res1
)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4471 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4473 if (!SWIG_IsOK(ecode2
)) {
4474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "2"" of type '" "int""'");
4476 arg2
= static_cast< int >(val2
);
4477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4478 if (!SWIG_IsOK(ecode3
)) {
4479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "3"" of type '" "int""'");
4481 arg3
= static_cast< int >(val3
);
4485 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
4491 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 (arg1
)->MarkerDefine(arg2
,arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= SWIG_Py_Void();
4507 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerSetForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
= 0;
4509 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4511 wxColour
*arg3
= 0 ;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4519 PyObject
* obj2
= 0 ;
4520 char * kwnames
[] = {
4521 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
4524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4526 if (!SWIG_IsOK(res1
)) {
4527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4529 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4531 if (!SWIG_IsOK(ecode2
)) {
4532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "2"" of type '" "int""'");
4534 arg2
= static_cast< int >(val2
);
4537 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 (arg1
)->MarkerSetForeground(arg2
,(wxColour
const &)*arg3
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= SWIG_Py_Void();
4552 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerSetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
= 0;
4554 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4556 wxColour
*arg3
= 0 ;
4562 PyObject
* obj0
= 0 ;
4563 PyObject
* obj1
= 0 ;
4564 PyObject
* obj2
= 0 ;
4565 char * kwnames
[] = {
4566 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
4569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4571 if (!SWIG_IsOK(res1
)) {
4572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4574 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4576 if (!SWIG_IsOK(ecode2
)) {
4577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "2"" of type '" "int""'");
4579 arg2
= static_cast< int >(val2
);
4582 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 (arg1
)->MarkerSetBackground(arg2
,(wxColour
const &)*arg3
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 resultobj
= SWIG_Py_Void();
4597 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerAdd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
= 0;
4599 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4609 PyObject
* obj0
= 0 ;
4610 PyObject
* obj1
= 0 ;
4611 PyObject
* obj2
= 0 ;
4612 char * kwnames
[] = {
4613 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4618 if (!SWIG_IsOK(res1
)) {
4619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4621 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4623 if (!SWIG_IsOK(ecode2
)) {
4624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "2"" of type '" "int""'");
4626 arg2
= static_cast< int >(val2
);
4627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4628 if (!SWIG_IsOK(ecode3
)) {
4629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "3"" of type '" "int""'");
4631 arg3
= static_cast< int >(val3
);
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (int)(arg1
)->MarkerAdd(arg2
,arg3
);
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_From_int(static_cast< int >(result
));
4645 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
= 0;
4647 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4656 PyObject
* obj0
= 0 ;
4657 PyObject
* obj1
= 0 ;
4658 PyObject
* obj2
= 0 ;
4659 char * kwnames
[] = {
4660 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4665 if (!SWIG_IsOK(res1
)) {
4666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4668 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4670 if (!SWIG_IsOK(ecode2
)) {
4671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "2"" of type '" "int""'");
4673 arg2
= static_cast< int >(val2
);
4674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4675 if (!SWIG_IsOK(ecode3
)) {
4676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "3"" of type '" "int""'");
4678 arg3
= static_cast< int >(val3
);
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 (arg1
)->MarkerDelete(arg2
,arg3
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4685 resultobj
= SWIG_Py_Void();
4692 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
= 0;
4694 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4700 PyObject
* obj0
= 0 ;
4701 PyObject
* obj1
= 0 ;
4702 char * kwnames
[] = {
4703 (char *) "self",(char *) "markerNumber", NULL
4706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4708 if (!SWIG_IsOK(res1
)) {
4709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4711 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4713 if (!SWIG_IsOK(ecode2
)) {
4714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "2"" of type '" "int""'");
4716 arg2
= static_cast< int >(val2
);
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 (arg1
)->MarkerDeleteAll(arg2
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_Py_Void();
4730 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerGet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
= 0;
4732 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4739 PyObject
* obj0
= 0 ;
4740 PyObject
* obj1
= 0 ;
4741 char * kwnames
[] = {
4742 (char *) "self",(char *) "line", NULL
4745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4747 if (!SWIG_IsOK(res1
)) {
4748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4750 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4752 if (!SWIG_IsOK(ecode2
)) {
4753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "2"" of type '" "int""'");
4755 arg2
= static_cast< int >(val2
);
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (int)(arg1
)->MarkerGet(arg2
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= SWIG_From_int(static_cast< int >(result
));
4769 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
= 0;
4771 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 PyObject
* obj2
= 0 ;
4784 char * kwnames
[] = {
4785 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4790 if (!SWIG_IsOK(res1
)) {
4791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4793 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4795 if (!SWIG_IsOK(ecode2
)) {
4796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "2"" of type '" "int""'");
4798 arg2
= static_cast< int >(val2
);
4799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4800 if (!SWIG_IsOK(ecode3
)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "3"" of type '" "int""'");
4803 arg3
= static_cast< int >(val3
);
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (int)(arg1
)->MarkerNext(arg2
,arg3
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 resultobj
= SWIG_From_int(static_cast< int >(result
));
4817 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
= 0;
4819 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4829 PyObject
* obj0
= 0 ;
4830 PyObject
* obj1
= 0 ;
4831 PyObject
* obj2
= 0 ;
4832 char * kwnames
[] = {
4833 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4841 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4843 if (!SWIG_IsOK(ecode2
)) {
4844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "2"" of type '" "int""'");
4846 arg2
= static_cast< int >(val2
);
4847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4848 if (!SWIG_IsOK(ecode3
)) {
4849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "3"" of type '" "int""'");
4851 arg3
= static_cast< int >(val3
);
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 result
= (int)(arg1
)->MarkerPrevious(arg2
,arg3
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_From_int(static_cast< int >(result
));
4865 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
= 0;
4867 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4869 wxBitmap
*arg3
= 0 ;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 PyObject
* obj2
= 0 ;
4879 char * kwnames
[] = {
4880 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
4883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4885 if (!SWIG_IsOK(res1
)) {
4886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4888 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4890 if (!SWIG_IsOK(ecode2
)) {
4891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "2"" of type '" "int""'");
4893 arg2
= static_cast< int >(val2
);
4894 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4895 if (!SWIG_IsOK(res3
)) {
4896 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4901 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 (arg1
)->MarkerDefineBitmap(arg2
,(wxBitmap
const &)*arg3
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_Py_Void();
4915 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerAddSet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
= 0;
4917 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4926 PyObject
* obj0
= 0 ;
4927 PyObject
* obj1
= 0 ;
4928 PyObject
* obj2
= 0 ;
4929 char * kwnames
[] = {
4930 (char *) "self",(char *) "line",(char *) "set", NULL
4933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerAddSet",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4935 if (!SWIG_IsOK(res1
)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4938 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4940 if (!SWIG_IsOK(ecode2
)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "2"" of type '" "int""'");
4943 arg2
= static_cast< int >(val2
);
4944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4945 if (!SWIG_IsOK(ecode3
)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "3"" of type '" "int""'");
4948 arg3
= static_cast< int >(val3
);
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 (arg1
)->MarkerAddSet(arg2
,arg3
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= SWIG_Py_Void();
4962 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MarkerSetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
= 0;
4964 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4973 PyObject
* obj0
= 0 ;
4974 PyObject
* obj1
= 0 ;
4975 PyObject
* obj2
= 0 ;
4976 char * kwnames
[] = {
4977 (char *) "self",(char *) "markerNumber",(char *) "alpha", NULL
4980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerSetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
4982 if (!SWIG_IsOK(res1
)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4985 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
4986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4987 if (!SWIG_IsOK(ecode2
)) {
4988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "2"" of type '" "int""'");
4990 arg2
= static_cast< int >(val2
);
4991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4992 if (!SWIG_IsOK(ecode3
)) {
4993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "3"" of type '" "int""'");
4995 arg3
= static_cast< int >(val3
);
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 (arg1
)->MarkerSetAlpha(arg2
,arg3
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 resultobj
= SWIG_Py_Void();
5009 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetMarginType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
= 0;
5011 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5020 PyObject
* obj0
= 0 ;
5021 PyObject
* obj1
= 0 ;
5022 PyObject
* obj2
= 0 ;
5023 char * kwnames
[] = {
5024 (char *) "self",(char *) "margin",(char *) "marginType", NULL
5027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5029 if (!SWIG_IsOK(res1
)) {
5030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5032 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5034 if (!SWIG_IsOK(ecode2
)) {
5035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "2"" of type '" "int""'");
5037 arg2
= static_cast< int >(val2
);
5038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5039 if (!SWIG_IsOK(ecode3
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "3"" of type '" "int""'");
5042 arg3
= static_cast< int >(val3
);
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 (arg1
)->SetMarginType(arg2
,arg3
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_Py_Void();
5056 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetMarginType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
= 0;
5058 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5066 PyObject
* obj1
= 0 ;
5067 char * kwnames
[] = {
5068 (char *) "self",(char *) "margin", NULL
5071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5073 if (!SWIG_IsOK(res1
)) {
5074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5076 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5078 if (!SWIG_IsOK(ecode2
)) {
5079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "2"" of type '" "int""'");
5081 arg2
= static_cast< int >(val2
);
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 result
= (int)(arg1
)->GetMarginType(arg2
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= SWIG_From_int(static_cast< int >(result
));
5095 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
= 0;
5097 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5106 PyObject
* obj0
= 0 ;
5107 PyObject
* obj1
= 0 ;
5108 PyObject
* obj2
= 0 ;
5109 char * kwnames
[] = {
5110 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
5113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5115 if (!SWIG_IsOK(res1
)) {
5116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5118 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5120 if (!SWIG_IsOK(ecode2
)) {
5121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5123 arg2
= static_cast< int >(val2
);
5124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5125 if (!SWIG_IsOK(ecode3
)) {
5126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "3"" of type '" "int""'");
5128 arg3
= static_cast< int >(val3
);
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 (arg1
)->SetMarginWidth(arg2
,arg3
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_Py_Void();
5142 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
= 0;
5144 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5151 PyObject
* obj0
= 0 ;
5152 PyObject
* obj1
= 0 ;
5153 char * kwnames
[] = {
5154 (char *) "self",(char *) "margin", NULL
5157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5159 if (!SWIG_IsOK(res1
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5162 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5164 if (!SWIG_IsOK(ecode2
)) {
5165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5167 arg2
= static_cast< int >(val2
);
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 result
= (int)(arg1
)->GetMarginWidth(arg2
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_From_int(static_cast< int >(result
));
5181 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetMarginMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
= 0;
5183 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5192 PyObject
* obj0
= 0 ;
5193 PyObject
* obj1
= 0 ;
5194 PyObject
* obj2
= 0 ;
5195 char * kwnames
[] = {
5196 (char *) "self",(char *) "margin",(char *) "mask", NULL
5199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5201 if (!SWIG_IsOK(res1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5204 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5206 if (!SWIG_IsOK(ecode2
)) {
5207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "2"" of type '" "int""'");
5209 arg2
= static_cast< int >(val2
);
5210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5211 if (!SWIG_IsOK(ecode3
)) {
5212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "3"" of type '" "int""'");
5214 arg3
= static_cast< int >(val3
);
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 (arg1
)->SetMarginMask(arg2
,arg3
);
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 resultobj
= SWIG_Py_Void();
5228 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetMarginMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
= 0;
5230 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5237 PyObject
* obj0
= 0 ;
5238 PyObject
* obj1
= 0 ;
5239 char * kwnames
[] = {
5240 (char *) "self",(char *) "margin", NULL
5243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5245 if (!SWIG_IsOK(res1
)) {
5246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5248 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5250 if (!SWIG_IsOK(ecode2
)) {
5251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "2"" of type '" "int""'");
5253 arg2
= static_cast< int >(val2
);
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= (int)(arg1
)->GetMarginMask(arg2
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= SWIG_From_int(static_cast< int >(result
));
5267 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetMarginSensitive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
= 0;
5269 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5280 PyObject
* obj2
= 0 ;
5281 char * kwnames
[] = {
5282 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
5285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5287 if (!SWIG_IsOK(res1
)) {
5288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5290 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5292 if (!SWIG_IsOK(ecode2
)) {
5293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5295 arg2
= static_cast< int >(val2
);
5296 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
5297 if (!SWIG_IsOK(ecode3
)) {
5298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "3"" of type '" "bool""'");
5300 arg3
= static_cast< bool >(val3
);
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 (arg1
)->SetMarginSensitive(arg2
,arg3
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= SWIG_Py_Void();
5314 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetMarginSensitive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
= 0;
5316 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5323 PyObject
* obj0
= 0 ;
5324 PyObject
* obj1
= 0 ;
5325 char * kwnames
[] = {
5326 (char *) "self",(char *) "margin", NULL
5329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5331 if (!SWIG_IsOK(res1
)) {
5332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5334 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5336 if (!SWIG_IsOK(ecode2
)) {
5337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5339 arg2
= static_cast< int >(val2
);
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 result
= (bool)(arg1
)->GetMarginSensitive(arg2
);
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5355 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5356 PyObject
*resultobj
= 0;
5357 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5360 PyObject
*swig_obj
[1] ;
5362 if (!args
) SWIG_fail
;
5364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5365 if (!SWIG_IsOK(res1
)) {
5366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5368 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 (arg1
)->StyleClearAll();
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= SWIG_Py_Void();
5382 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
= 0;
5384 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5386 wxColour
*arg3
= 0 ;
5392 PyObject
* obj0
= 0 ;
5393 PyObject
* obj1
= 0 ;
5394 PyObject
* obj2
= 0 ;
5395 char * kwnames
[] = {
5396 (char *) "self",(char *) "style",(char *) "fore", NULL
5399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5404 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5406 if (!SWIG_IsOK(ecode2
)) {
5407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "2"" of type '" "int""'");
5409 arg2
= static_cast< int >(val2
);
5412 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 (arg1
)->StyleSetForeground(arg2
,(wxColour
const &)*arg3
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= SWIG_Py_Void();
5427 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
= 0;
5429 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5431 wxColour
*arg3
= 0 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5439 PyObject
* obj2
= 0 ;
5440 char * kwnames
[] = {
5441 (char *) "self",(char *) "style",(char *) "back", NULL
5444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5446 if (!SWIG_IsOK(res1
)) {
5447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5449 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5451 if (!SWIG_IsOK(ecode2
)) {
5452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "2"" of type '" "int""'");
5454 arg2
= static_cast< int >(val2
);
5457 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 (arg1
)->StyleSetBackground(arg2
,(wxColour
const &)*arg3
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= SWIG_Py_Void();
5472 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
= 0;
5474 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5485 PyObject
* obj2
= 0 ;
5486 char * kwnames
[] = {
5487 (char *) "self",(char *) "style",(char *) "bold", NULL
5490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5492 if (!SWIG_IsOK(res1
)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5495 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5497 if (!SWIG_IsOK(ecode2
)) {
5498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "2"" of type '" "int""'");
5500 arg2
= static_cast< int >(val2
);
5501 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
5502 if (!SWIG_IsOK(ecode3
)) {
5503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "3"" of type '" "bool""'");
5505 arg3
= static_cast< bool >(val3
);
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 (arg1
)->StyleSetBold(arg2
,arg3
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 resultobj
= SWIG_Py_Void();
5519 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
= 0;
5521 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5530 PyObject
* obj0
= 0 ;
5531 PyObject
* obj1
= 0 ;
5532 PyObject
* obj2
= 0 ;
5533 char * kwnames
[] = {
5534 (char *) "self",(char *) "style",(char *) "italic", NULL
5537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5539 if (!SWIG_IsOK(res1
)) {
5540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5542 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5544 if (!SWIG_IsOK(ecode2
)) {
5545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "2"" of type '" "int""'");
5547 arg2
= static_cast< int >(val2
);
5548 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
5549 if (!SWIG_IsOK(ecode3
)) {
5550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "3"" of type '" "bool""'");
5552 arg3
= static_cast< bool >(val3
);
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 (arg1
)->StyleSetItalic(arg2
,arg3
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= SWIG_Py_Void();
5566 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
= 0;
5568 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5579 PyObject
* obj2
= 0 ;
5580 char * kwnames
[] = {
5581 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
5584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5586 if (!SWIG_IsOK(res1
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5589 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5591 if (!SWIG_IsOK(ecode2
)) {
5592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "2"" of type '" "int""'");
5594 arg2
= static_cast< int >(val2
);
5595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5596 if (!SWIG_IsOK(ecode3
)) {
5597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "3"" of type '" "int""'");
5599 arg3
= static_cast< int >(val3
);
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 (arg1
)->StyleSetSize(arg2
,arg3
);
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 resultobj
= SWIG_Py_Void();
5613 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
= 0;
5615 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5617 wxString
*arg3
= 0 ;
5622 bool temp3
= false ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5625 PyObject
* obj2
= 0 ;
5626 char * kwnames
[] = {
5627 (char *) "self",(char *) "style",(char *) "fontName", NULL
5630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5632 if (!SWIG_IsOK(res1
)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5635 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5637 if (!SWIG_IsOK(ecode2
)) {
5638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "2"" of type '" "int""'");
5640 arg2
= static_cast< int >(val2
);
5642 arg3
= wxString_in_helper(obj2
);
5643 if (arg3
== NULL
) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 (arg1
)->StyleSetFaceName(arg2
,(wxString
const &)*arg3
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= SWIG_Py_Void();
5667 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
= 0;
5669 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5680 PyObject
* obj2
= 0 ;
5681 char * kwnames
[] = {
5682 (char *) "self",(char *) "style",(char *) "filled", NULL
5685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5687 if (!SWIG_IsOK(res1
)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5690 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5692 if (!SWIG_IsOK(ecode2
)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "2"" of type '" "int""'");
5695 arg2
= static_cast< int >(val2
);
5696 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
5697 if (!SWIG_IsOK(ecode3
)) {
5698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "3"" of type '" "bool""'");
5700 arg3
= static_cast< bool >(val3
);
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 (arg1
)->StyleSetEOLFilled(arg2
,arg3
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= SWIG_Py_Void();
5714 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleResetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5715 PyObject
*resultobj
= 0;
5716 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5719 PyObject
*swig_obj
[1] ;
5721 if (!args
) SWIG_fail
;
5723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5724 if (!SWIG_IsOK(res1
)) {
5725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleResetDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5727 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 (arg1
)->StyleResetDefault();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= SWIG_Py_Void();
5741 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetUnderline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
= 0;
5743 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5754 PyObject
* obj2
= 0 ;
5755 char * kwnames
[] = {
5756 (char *) "self",(char *) "style",(char *) "underline", NULL
5759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5761 if (!SWIG_IsOK(res1
)) {
5762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5764 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5766 if (!SWIG_IsOK(ecode2
)) {
5767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "2"" of type '" "int""'");
5769 arg2
= static_cast< int >(val2
);
5770 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
5771 if (!SWIG_IsOK(ecode3
)) {
5772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "3"" of type '" "bool""'");
5774 arg3
= static_cast< bool >(val3
);
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 (arg1
)->StyleSetUnderline(arg2
,arg3
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 resultobj
= SWIG_Py_Void();
5788 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetCase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
= 0;
5790 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5801 PyObject
* obj2
= 0 ;
5802 char * kwnames
[] = {
5803 (char *) "self",(char *) "style",(char *) "caseForce", NULL
5806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5808 if (!SWIG_IsOK(res1
)) {
5809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5811 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5813 if (!SWIG_IsOK(ecode2
)) {
5814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "2"" of type '" "int""'");
5816 arg2
= static_cast< int >(val2
);
5817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5818 if (!SWIG_IsOK(ecode3
)) {
5819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "3"" of type '" "int""'");
5821 arg3
= static_cast< int >(val3
);
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 (arg1
)->StyleSetCase(arg2
,arg3
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_Py_Void();
5835 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
= 0;
5837 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5847 PyObject
* obj1
= 0 ;
5848 PyObject
* obj2
= 0 ;
5849 char * kwnames
[] = {
5850 (char *) "self",(char *) "style",(char *) "hotspot", NULL
5853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5855 if (!SWIG_IsOK(res1
)) {
5856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5858 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5860 if (!SWIG_IsOK(ecode2
)) {
5861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "2"" of type '" "int""'");
5863 arg2
= static_cast< int >(val2
);
5864 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
5865 if (!SWIG_IsOK(ecode3
)) {
5866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "3"" of type '" "bool""'");
5868 arg3
= static_cast< bool >(val3
);
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 (arg1
)->StyleSetHotSpot(arg2
,arg3
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= SWIG_Py_Void();
5882 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetSelForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
= 0;
5884 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5886 wxColour
*arg3
= 0 ;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5894 PyObject
* obj2
= 0 ;
5895 char * kwnames
[] = {
5896 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
5899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5901 if (!SWIG_IsOK(res1
)) {
5902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5904 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5905 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5906 if (!SWIG_IsOK(ecode2
)) {
5907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "2"" of type '" "bool""'");
5909 arg2
= static_cast< bool >(val2
);
5912 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 (arg1
)->SetSelForeground(arg2
,(wxColour
const &)*arg3
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetSelBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
= 0;
5929 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5931 wxColour
*arg3
= 0 ;
5937 PyObject
* obj0
= 0 ;
5938 PyObject
* obj1
= 0 ;
5939 PyObject
* obj2
= 0 ;
5940 char * kwnames
[] = {
5941 (char *) "self",(char *) "useSetting",(char *) "back", NULL
5944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5946 if (!SWIG_IsOK(res1
)) {
5947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5949 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5950 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5951 if (!SWIG_IsOK(ecode2
)) {
5952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "2"" of type '" "bool""'");
5954 arg2
= static_cast< bool >(val2
);
5957 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 (arg1
)->SetSelBackground(arg2
,(wxColour
const &)*arg3
);
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 resultobj
= SWIG_Py_Void();
5972 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetSelAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5973 PyObject
*resultobj
= 0;
5974 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5978 PyObject
*swig_obj
[1] ;
5980 if (!args
) SWIG_fail
;
5982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
5983 if (!SWIG_IsOK(res1
)) {
5984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5986 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 result
= (int)(arg1
)->GetSelAlpha();
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 resultobj
= SWIG_From_int(static_cast< int >(result
));
6000 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetSelAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
= 0;
6002 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6008 PyObject
* obj0
= 0 ;
6009 PyObject
* obj1
= 0 ;
6010 char * kwnames
[] = {
6011 (char *) "self",(char *) "alpha", NULL
6014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSelAlpha",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6016 if (!SWIG_IsOK(res1
)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6019 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6021 if (!SWIG_IsOK(ecode2
)) {
6022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetSelAlpha" "', expected argument " "2"" of type '" "int""'");
6024 arg2
= static_cast< int >(val2
);
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 (arg1
)->SetSelAlpha(arg2
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_Py_Void();
6038 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetCaretForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
= 0;
6040 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6041 wxColour
*arg2
= 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6047 char * kwnames
[] = {
6048 (char *) "self",(char *) "fore", NULL
6051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6053 if (!SWIG_IsOK(res1
)) {
6054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6056 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6059 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 (arg1
)->SetCaretForeground((wxColour
const &)*arg2
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_Py_Void();
6074 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CmdKeyAssign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
= 0;
6076 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6098 if (!SWIG_IsOK(res1
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6101 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6103 if (!SWIG_IsOK(ecode2
)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "2"" of type '" "int""'");
6106 arg2
= static_cast< int >(val2
);
6107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6108 if (!SWIG_IsOK(ecode3
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "3"" of type '" "int""'");
6111 arg3
= static_cast< int >(val3
);
6112 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6113 if (!SWIG_IsOK(ecode4
)) {
6114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "4"" of type '" "int""'");
6116 arg4
= static_cast< int >(val4
);
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->CmdKeyAssign(arg2
,arg3
,arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_Py_Void();
6130 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CmdKeyClear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
= 0;
6132 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6142 PyObject
* obj1
= 0 ;
6143 PyObject
* obj2
= 0 ;
6144 char * kwnames
[] = {
6145 (char *) "self",(char *) "key",(char *) "modifiers", NULL
6148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6150 if (!SWIG_IsOK(res1
)) {
6151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6153 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6155 if (!SWIG_IsOK(ecode2
)) {
6156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "2"" of type '" "int""'");
6158 arg2
= static_cast< int >(val2
);
6159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6160 if (!SWIG_IsOK(ecode3
)) {
6161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "3"" of type '" "int""'");
6163 arg3
= static_cast< int >(val3
);
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 (arg1
)->CmdKeyClear(arg2
,arg3
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= SWIG_Py_Void();
6177 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6178 PyObject
*resultobj
= 0;
6179 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6182 PyObject
*swig_obj
[1] ;
6184 if (!args
) SWIG_fail
;
6186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6187 if (!SWIG_IsOK(res1
)) {
6188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CmdKeyClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6190 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 (arg1
)->CmdKeyClearAll();
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 resultobj
= SWIG_Py_Void();
6204 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetStyleBytes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
= 0;
6206 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6208 char *arg3
= (char *) 0 ;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6218 PyObject
* obj2
= 0 ;
6219 char * kwnames
[] = {
6220 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
6223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6225 if (!SWIG_IsOK(res1
)) {
6226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6228 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6230 if (!SWIG_IsOK(ecode2
)) {
6231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "2"" of type '" "int""'");
6233 arg2
= static_cast< int >(val2
);
6234 res3
= SWIG_AsCharPtrAndSize(obj2
, &buf3
, NULL
, &alloc3
);
6235 if (!SWIG_IsOK(res3
)) {
6236 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "3"" of type '" "char *""'");
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 (arg1
)->SetStyleBytes(arg2
,arg3
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= SWIG_Py_Void();
6246 if (alloc3
== SWIG_NEWOBJ
) delete[] buf3
;
6249 if (alloc3
== SWIG_NEWOBJ
) delete[] buf3
;
6254 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
= 0;
6256 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6265 PyObject
* obj0
= 0 ;
6266 PyObject
* obj1
= 0 ;
6267 PyObject
* obj2
= 0 ;
6268 char * kwnames
[] = {
6269 (char *) "self",(char *) "style",(char *) "visible", NULL
6272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6274 if (!SWIG_IsOK(res1
)) {
6275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6277 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6279 if (!SWIG_IsOK(ecode2
)) {
6280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "2"" of type '" "int""'");
6282 arg2
= static_cast< int >(val2
);
6283 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6284 if (!SWIG_IsOK(ecode3
)) {
6285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "3"" of type '" "bool""'");
6287 arg3
= static_cast< bool >(val3
);
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 (arg1
)->StyleSetVisible(arg2
,arg3
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 resultobj
= SWIG_Py_Void();
6301 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCaretPeriod(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6302 PyObject
*resultobj
= 0;
6303 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6307 PyObject
*swig_obj
[1] ;
6309 if (!args
) SWIG_fail
;
6311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6312 if (!SWIG_IsOK(res1
)) {
6313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6315 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 result
= (int)(arg1
)->GetCaretPeriod();
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= SWIG_From_int(static_cast< int >(result
));
6329 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetCaretPeriod(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
= 0;
6331 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 char * kwnames
[] = {
6340 (char *) "self",(char *) "periodMilliseconds", NULL
6343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6345 if (!SWIG_IsOK(res1
)) {
6346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6348 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6350 if (!SWIG_IsOK(ecode2
)) {
6351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "2"" of type '" "int""'");
6353 arg2
= static_cast< int >(val2
);
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 (arg1
)->SetCaretPeriod(arg2
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= SWIG_Py_Void();
6367 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetWordChars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
= 0;
6369 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6370 wxString
*arg2
= 0 ;
6373 bool temp2
= false ;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6376 char * kwnames
[] = {
6377 (char *) "self",(char *) "characters", NULL
6380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6382 if (!SWIG_IsOK(res1
)) {
6383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetWordChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6385 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6387 arg2
= wxString_in_helper(obj1
);
6388 if (arg2
== NULL
) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 (arg1
)->SetWordChars((wxString
const &)*arg2
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= SWIG_Py_Void();
6412 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_BeginUndoAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6413 PyObject
*resultobj
= 0;
6414 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6417 PyObject
*swig_obj
[1] ;
6419 if (!args
) SWIG_fail
;
6421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6422 if (!SWIG_IsOK(res1
)) {
6423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_BeginUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6425 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 (arg1
)->BeginUndoAction();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= SWIG_Py_Void();
6439 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_EndUndoAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6440 PyObject
*resultobj
= 0;
6441 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6444 PyObject
*swig_obj
[1] ;
6446 if (!args
) SWIG_fail
;
6448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6449 if (!SWIG_IsOK(res1
)) {
6450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_EndUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6452 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 (arg1
)->EndUndoAction();
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= SWIG_Py_Void();
6466 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
*resultobj
= 0;
6468 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6477 PyObject
* obj0
= 0 ;
6478 PyObject
* obj1
= 0 ;
6479 PyObject
* obj2
= 0 ;
6480 char * kwnames
[] = {
6481 (char *) "self",(char *) "indic",(char *) "style", NULL
6484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6486 if (!SWIG_IsOK(res1
)) {
6487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6489 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6491 if (!SWIG_IsOK(ecode2
)) {
6492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "2"" of type '" "int""'");
6494 arg2
= static_cast< int >(val2
);
6495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6496 if (!SWIG_IsOK(ecode3
)) {
6497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "3"" of type '" "int""'");
6499 arg3
= static_cast< int >(val3
);
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 (arg1
)->IndicatorSetStyle(arg2
,arg3
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_Py_Void();
6513 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
= 0;
6515 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6522 PyObject
* obj0
= 0 ;
6523 PyObject
* obj1
= 0 ;
6524 char * kwnames
[] = {
6525 (char *) "self",(char *) "indic", NULL
6528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6530 if (!SWIG_IsOK(res1
)) {
6531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6533 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6535 if (!SWIG_IsOK(ecode2
)) {
6536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "2"" of type '" "int""'");
6538 arg2
= static_cast< int >(val2
);
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 result
= (int)(arg1
)->IndicatorGetStyle(arg2
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= SWIG_From_int(static_cast< int >(result
));
6552 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
= 0;
6554 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6556 wxColour
*arg3
= 0 ;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6564 PyObject
* obj2
= 0 ;
6565 char * kwnames
[] = {
6566 (char *) "self",(char *) "indic",(char *) "fore", NULL
6569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6571 if (!SWIG_IsOK(res1
)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6574 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6576 if (!SWIG_IsOK(ecode2
)) {
6577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "2"" of type '" "int""'");
6579 arg2
= static_cast< int >(val2
);
6582 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 (arg1
)->IndicatorSetForeground(arg2
,(wxColour
const &)*arg3
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_Py_Void();
6597 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
= 0;
6599 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6608 char * kwnames
[] = {
6609 (char *) "self",(char *) "indic", NULL
6612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6614 if (!SWIG_IsOK(res1
)) {
6615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6617 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6619 if (!SWIG_IsOK(ecode2
)) {
6620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "2"" of type '" "int""'");
6622 arg2
= static_cast< int >(val2
);
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (arg1
)->IndicatorGetForeground(arg2
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6636 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
= 0;
6638 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6640 wxColour
*arg3
= 0 ;
6646 PyObject
* obj0
= 0 ;
6647 PyObject
* obj1
= 0 ;
6648 PyObject
* obj2
= 0 ;
6649 char * kwnames
[] = {
6650 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
6653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6658 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6659 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6660 if (!SWIG_IsOK(ecode2
)) {
6661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "2"" of type '" "bool""'");
6663 arg2
= static_cast< bool >(val2
);
6666 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 (arg1
)->SetWhitespaceForeground(arg2
,(wxColour
const &)*arg3
);
6671 wxPyEndAllowThreads(__tstate
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= SWIG_Py_Void();
6681 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
= 0;
6683 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6685 wxColour
*arg3
= 0 ;
6691 PyObject
* obj0
= 0 ;
6692 PyObject
* obj1
= 0 ;
6693 PyObject
* obj2
= 0 ;
6694 char * kwnames
[] = {
6695 (char *) "self",(char *) "useSetting",(char *) "back", NULL
6698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6700 if (!SWIG_IsOK(res1
)) {
6701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6703 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6704 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6705 if (!SWIG_IsOK(ecode2
)) {
6706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "2"" of type '" "bool""'");
6708 arg2
= static_cast< bool >(val2
);
6711 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 (arg1
)->SetWhitespaceBackground(arg2
,(wxColour
const &)*arg3
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= SWIG_Py_Void();
6726 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetStyleBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
= 0;
6728 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6734 PyObject
* obj0
= 0 ;
6735 PyObject
* obj1
= 0 ;
6736 char * kwnames
[] = {
6737 (char *) "self",(char *) "bits", NULL
6740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6742 if (!SWIG_IsOK(res1
)) {
6743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6745 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6747 if (!SWIG_IsOK(ecode2
)) {
6748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "2"" of type '" "int""'");
6750 arg2
= static_cast< int >(val2
);
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 (arg1
)->SetStyleBits(arg2
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_Py_Void();
6764 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetStyleBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6765 PyObject
*resultobj
= 0;
6766 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6770 PyObject
*swig_obj
[1] ;
6772 if (!args
) SWIG_fail
;
6774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6775 if (!SWIG_IsOK(res1
)) {
6776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6778 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6781 result
= (int)(arg1
)->GetStyleBits();
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= SWIG_From_int(static_cast< int >(result
));
6792 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetLineState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
= 0;
6794 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6805 PyObject
* obj2
= 0 ;
6806 char * kwnames
[] = {
6807 (char *) "self",(char *) "line",(char *) "state", NULL
6810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6812 if (!SWIG_IsOK(res1
)) {
6813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6815 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6817 if (!SWIG_IsOK(ecode2
)) {
6818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "2"" of type '" "int""'");
6820 arg2
= static_cast< int >(val2
);
6821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6822 if (!SWIG_IsOK(ecode3
)) {
6823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "3"" of type '" "int""'");
6825 arg3
= static_cast< int >(val3
);
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 (arg1
)->SetLineState(arg2
,arg3
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= SWIG_Py_Void();
6839 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLineState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
= 0;
6841 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6850 char * kwnames
[] = {
6851 (char *) "self",(char *) "line", NULL
6854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6856 if (!SWIG_IsOK(res1
)) {
6857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6859 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6861 if (!SWIG_IsOK(ecode2
)) {
6862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "2"" of type '" "int""'");
6864 arg2
= static_cast< int >(val2
);
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (int)(arg1
)->GetLineState(arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= SWIG_From_int(static_cast< int >(result
));
6878 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetMaxLineState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6879 PyObject
*resultobj
= 0;
6880 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6884 PyObject
*swig_obj
[1] ;
6886 if (!args
) SWIG_fail
;
6888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6889 if (!SWIG_IsOK(res1
)) {
6890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetMaxLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6892 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (int)(arg1
)->GetMaxLineState();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= SWIG_From_int(static_cast< int >(result
));
6906 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6907 PyObject
*resultobj
= 0;
6908 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6912 PyObject
*swig_obj
[1] ;
6914 if (!args
) SWIG_fail
;
6916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6917 if (!SWIG_IsOK(res1
)) {
6918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6920 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (bool)(arg1
)->GetCaretLineVisible();
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6936 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6944 PyObject
* obj0
= 0 ;
6945 PyObject
* obj1
= 0 ;
6946 char * kwnames
[] = {
6947 (char *) "self",(char *) "show", NULL
6950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6952 if (!SWIG_IsOK(res1
)) {
6953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6955 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6956 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6957 if (!SWIG_IsOK(ecode2
)) {
6958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "2"" of type '" "bool""'");
6960 arg2
= static_cast< bool >(val2
);
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 (arg1
)->SetCaretLineVisible(arg2
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_Py_Void();
6974 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCaretLineBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6975 PyObject
*resultobj
= 0;
6976 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6980 PyObject
*swig_obj
[1] ;
6982 if (!args
) SWIG_fail
;
6984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
6985 if (!SWIG_IsOK(res1
)) {
6986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCaretLineBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6988 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 result
= (arg1
)->GetCaretLineBackground();
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
7002 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetCaretLineBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
= 0;
7004 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7005 wxColour
*arg2
= 0 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7011 char * kwnames
[] = {
7012 (char *) "self",(char *) "back", NULL
7015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretLineBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7017 if (!SWIG_IsOK(res1
)) {
7018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetCaretLineBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7020 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7023 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 (arg1
)->SetCaretLineBackground((wxColour
const &)*arg2
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_Py_Void();
7038 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetChangeable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= 0;
7040 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7051 PyObject
* obj2
= 0 ;
7052 char * kwnames
[] = {
7053 (char *) "self",(char *) "style",(char *) "changeable", NULL
7056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7058 if (!SWIG_IsOK(res1
)) {
7059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7061 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7063 if (!SWIG_IsOK(ecode2
)) {
7064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "2"" of type '" "int""'");
7066 arg2
= static_cast< int >(val2
);
7067 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7068 if (!SWIG_IsOK(ecode3
)) {
7069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "3"" of type '" "bool""'");
7071 arg3
= static_cast< bool >(val3
);
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 (arg1
)->StyleSetChangeable(arg2
,arg3
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_Py_Void();
7085 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
= 0;
7087 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7089 wxString
*arg3
= 0 ;
7094 bool temp3
= false ;
7095 PyObject
* obj0
= 0 ;
7096 PyObject
* obj1
= 0 ;
7097 PyObject
* obj2
= 0 ;
7098 char * kwnames
[] = {
7099 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
7102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7104 if (!SWIG_IsOK(res1
)) {
7105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7107 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7109 if (!SWIG_IsOK(ecode2
)) {
7110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "2"" of type '" "int""'");
7112 arg2
= static_cast< int >(val2
);
7114 arg3
= wxString_in_helper(obj2
);
7115 if (arg3
== NULL
) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 (arg1
)->AutoCompShow(arg2
,(wxString
const &)*arg3
);
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= SWIG_Py_Void();
7139 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompCancel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7140 PyObject
*resultobj
= 0;
7141 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7144 PyObject
*swig_obj
[1] ;
7146 if (!args
) SWIG_fail
;
7148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7149 if (!SWIG_IsOK(res1
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7152 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 (arg1
)->AutoCompCancel();
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= SWIG_Py_Void();
7166 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7167 PyObject
*resultobj
= 0;
7168 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7172 PyObject
*swig_obj
[1] ;
7174 if (!args
) SWIG_fail
;
7176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7177 if (!SWIG_IsOK(res1
)) {
7178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7180 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= (bool)(arg1
)->AutoCompActive();
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7196 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompPosStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7197 PyObject
*resultobj
= 0;
7198 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7202 PyObject
*swig_obj
[1] ;
7204 if (!args
) SWIG_fail
;
7206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7207 if (!SWIG_IsOK(res1
)) {
7208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompPosStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7210 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 result
= (int)(arg1
)->AutoCompPosStart();
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= SWIG_From_int(static_cast< int >(result
));
7224 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompComplete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7225 PyObject
*resultobj
= 0;
7226 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7229 PyObject
*swig_obj
[1] ;
7231 if (!args
) SWIG_fail
;
7233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7234 if (!SWIG_IsOK(res1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompComplete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7237 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 (arg1
)->AutoCompComplete();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_Py_Void();
7251 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompStops(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
= 0;
7253 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7254 wxString
*arg2
= 0 ;
7257 bool temp2
= false ;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7260 char * kwnames
[] = {
7261 (char *) "self",(char *) "characterSet", NULL
7264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7266 if (!SWIG_IsOK(res1
)) {
7267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompStops" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7269 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7271 arg2
= wxString_in_helper(obj1
);
7272 if (arg2
== NULL
) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 (arg1
)->AutoCompStops((wxString
const &)*arg2
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 resultobj
= SWIG_Py_Void();
7296 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
= 0;
7298 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7304 PyObject
* obj0
= 0 ;
7305 PyObject
* obj1
= 0 ;
7306 char * kwnames
[] = {
7307 (char *) "self",(char *) "separatorCharacter", NULL
7310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7312 if (!SWIG_IsOK(res1
)) {
7313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7315 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7317 if (!SWIG_IsOK(ecode2
)) {
7318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "2"" of type '" "int""'");
7320 arg2
= static_cast< int >(val2
);
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 (arg1
)->AutoCompSetSeparator(arg2
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= SWIG_Py_Void();
7334 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7335 PyObject
*resultobj
= 0;
7336 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7340 PyObject
*swig_obj
[1] ;
7342 if (!args
) SWIG_fail
;
7344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7345 if (!SWIG_IsOK(res1
)) {
7346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompGetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7348 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 result
= (int)(arg1
)->AutoCompGetSeparator();
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= SWIG_From_int(static_cast< int >(result
));
7362 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompSelect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
= 0;
7364 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7365 wxString
*arg2
= 0 ;
7368 bool temp2
= false ;
7369 PyObject
* obj0
= 0 ;
7370 PyObject
* obj1
= 0 ;
7371 char * kwnames
[] = {
7372 (char *) "self",(char *) "text", NULL
7375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7377 if (!SWIG_IsOK(res1
)) {
7378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompSelect" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7380 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7382 arg2
= wxString_in_helper(obj1
);
7383 if (arg2
== NULL
) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 (arg1
)->AutoCompSelect((wxString
const &)*arg2
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= SWIG_Py_Void();
7407 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
= 0;
7409 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7415 PyObject
* obj0
= 0 ;
7416 PyObject
* obj1
= 0 ;
7417 char * kwnames
[] = {
7418 (char *) "self",(char *) "cancel", NULL
7421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7423 if (!SWIG_IsOK(res1
)) {
7424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7426 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7427 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7428 if (!SWIG_IsOK(ecode2
)) {
7429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "2"" of type '" "bool""'");
7431 arg2
= static_cast< bool >(val2
);
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 (arg1
)->AutoCompSetCancelAtStart(arg2
);
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_Py_Void();
7445 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7446 PyObject
*resultobj
= 0;
7447 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7451 PyObject
*swig_obj
[1] ;
7453 if (!args
) SWIG_fail
;
7455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7456 if (!SWIG_IsOK(res1
)) {
7457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompGetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7459 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (bool)(arg1
)->AutoCompGetCancelAtStart();
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7475 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
= 0;
7477 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7478 wxString
*arg2
= 0 ;
7481 bool temp2
= false ;
7482 PyObject
* obj0
= 0 ;
7483 PyObject
* obj1
= 0 ;
7484 char * kwnames
[] = {
7485 (char *) "self",(char *) "characterSet", NULL
7488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7490 if (!SWIG_IsOK(res1
)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompSetFillUps" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7493 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7495 arg2
= wxString_in_helper(obj1
);
7496 if (arg2
== NULL
) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 (arg1
)->AutoCompSetFillUps((wxString
const &)*arg2
);
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= SWIG_Py_Void();
7520 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
= 0;
7522 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7529 PyObject
* obj1
= 0 ;
7530 char * kwnames
[] = {
7531 (char *) "self",(char *) "chooseSingle", NULL
7534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7536 if (!SWIG_IsOK(res1
)) {
7537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7539 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7540 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7541 if (!SWIG_IsOK(ecode2
)) {
7542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "2"" of type '" "bool""'");
7544 arg2
= static_cast< bool >(val2
);
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 (arg1
)->AutoCompSetChooseSingle(arg2
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= SWIG_Py_Void();
7558 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7559 PyObject
*resultobj
= 0;
7560 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7564 PyObject
*swig_obj
[1] ;
7566 if (!args
) SWIG_fail
;
7568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7569 if (!SWIG_IsOK(res1
)) {
7570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompGetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7572 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (bool)(arg1
)->AutoCompGetChooseSingle();
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7588 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
= 0;
7590 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7596 PyObject
* obj0
= 0 ;
7597 PyObject
* obj1
= 0 ;
7598 char * kwnames
[] = {
7599 (char *) "self",(char *) "ignoreCase", NULL
7602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7604 if (!SWIG_IsOK(res1
)) {
7605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7607 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7608 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7609 if (!SWIG_IsOK(ecode2
)) {
7610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "2"" of type '" "bool""'");
7612 arg2
= static_cast< bool >(val2
);
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->AutoCompSetIgnoreCase(arg2
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_Py_Void();
7626 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7627 PyObject
*resultobj
= 0;
7628 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7632 PyObject
*swig_obj
[1] ;
7634 if (!args
) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompGetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7640 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (bool)(arg1
)->AutoCompGetIgnoreCase();
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7656 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_UserListShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
= 0;
7658 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7660 wxString
*arg3
= 0 ;
7665 bool temp3
= false ;
7666 PyObject
* obj0
= 0 ;
7667 PyObject
* obj1
= 0 ;
7668 PyObject
* obj2
= 0 ;
7669 char * kwnames
[] = {
7670 (char *) "self",(char *) "listType",(char *) "itemList", NULL
7673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7675 if (!SWIG_IsOK(res1
)) {
7676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7678 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7680 if (!SWIG_IsOK(ecode2
)) {
7681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "2"" of type '" "int""'");
7683 arg2
= static_cast< int >(val2
);
7685 arg3
= wxString_in_helper(obj2
);
7686 if (arg3
== NULL
) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 (arg1
)->UserListShow(arg2
,(wxString
const &)*arg3
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= SWIG_Py_Void();
7710 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
= 0;
7712 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7718 PyObject
* obj0
= 0 ;
7719 PyObject
* obj1
= 0 ;
7720 char * kwnames
[] = {
7721 (char *) "self",(char *) "autoHide", NULL
7724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7726 if (!SWIG_IsOK(res1
)) {
7727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7729 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7730 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7731 if (!SWIG_IsOK(ecode2
)) {
7732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "2"" of type '" "bool""'");
7734 arg2
= static_cast< bool >(val2
);
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 (arg1
)->AutoCompSetAutoHide(arg2
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= SWIG_Py_Void();
7748 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7749 PyObject
*resultobj
= 0;
7750 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7754 PyObject
*swig_obj
[1] ;
7756 if (!args
) SWIG_fail
;
7758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7759 if (!SWIG_IsOK(res1
)) {
7760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompGetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7762 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (bool)(arg1
)->AutoCompGetAutoHide();
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7778 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
= 0;
7780 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj1
= 0 ;
7788 char * kwnames
[] = {
7789 (char *) "self",(char *) "dropRestOfWord", NULL
7792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7794 if (!SWIG_IsOK(res1
)) {
7795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7797 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7798 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7799 if (!SWIG_IsOK(ecode2
)) {
7800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "2"" of type '" "bool""'");
7802 arg2
= static_cast< bool >(val2
);
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 (arg1
)->AutoCompSetDropRestOfWord(arg2
);
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7809 resultobj
= SWIG_Py_Void();
7816 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7817 PyObject
*resultobj
= 0;
7818 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7822 PyObject
*swig_obj
[1] ;
7824 if (!args
) SWIG_fail
;
7826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7827 if (!SWIG_IsOK(res1
)) {
7828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompGetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7830 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (bool)(arg1
)->AutoCompGetDropRestOfWord();
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7846 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_RegisterImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
= 0;
7848 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7850 wxBitmap
*arg3
= 0 ;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7859 PyObject
* obj2
= 0 ;
7860 char * kwnames
[] = {
7861 (char *) "self",(char *) "type",(char *) "bmp", NULL
7864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7866 if (!SWIG_IsOK(res1
)) {
7867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7869 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7871 if (!SWIG_IsOK(ecode2
)) {
7872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "2"" of type '" "int""'");
7874 arg2
= static_cast< int >(val2
);
7875 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7876 if (!SWIG_IsOK(res3
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7882 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 (arg1
)->RegisterImage(arg2
,(wxBitmap
const &)*arg3
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_Py_Void();
7896 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7897 PyObject
*resultobj
= 0;
7898 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7901 PyObject
*swig_obj
[1] ;
7903 if (!args
) SWIG_fail
;
7905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7906 if (!SWIG_IsOK(res1
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ClearRegisteredImages" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7909 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 (arg1
)->ClearRegisteredImages();
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= SWIG_Py_Void();
7923 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7924 PyObject
*resultobj
= 0;
7925 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7929 PyObject
*swig_obj
[1] ;
7931 if (!args
) SWIG_fail
;
7933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7934 if (!SWIG_IsOK(res1
)) {
7935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompGetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7937 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (int)(arg1
)->AutoCompGetTypeSeparator();
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= SWIG_From_int(static_cast< int >(result
));
7951 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
= 0;
7953 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7961 char * kwnames
[] = {
7962 (char *) "self",(char *) "separatorCharacter", NULL
7965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
7967 if (!SWIG_IsOK(res1
)) {
7968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7970 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
7971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7972 if (!SWIG_IsOK(ecode2
)) {
7973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "2"" of type '" "int""'");
7975 arg2
= static_cast< int >(val2
);
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 (arg1
)->AutoCompSetTypeSeparator(arg2
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= SWIG_Py_Void();
7989 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompSetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
= 0;
7991 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7997 PyObject
* obj0
= 0 ;
7998 PyObject
* obj1
= 0 ;
7999 char * kwnames
[] = {
8000 (char *) "self",(char *) "characterCount", NULL
8003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetMaxWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8005 if (!SWIG_IsOK(res1
)) {
8006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8008 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8010 if (!SWIG_IsOK(ecode2
)) {
8011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "2"" of type '" "int""'");
8013 arg2
= static_cast< int >(val2
);
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 (arg1
)->AutoCompSetMaxWidth(arg2
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_Py_Void();
8027 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompGetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8028 PyObject
*resultobj
= 0;
8029 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8033 PyObject
*swig_obj
[1] ;
8035 if (!args
) SWIG_fail
;
8037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8038 if (!SWIG_IsOK(res1
)) {
8039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompGetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8041 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (int)(arg1
)->AutoCompGetMaxWidth();
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= SWIG_From_int(static_cast< int >(result
));
8055 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompSetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
= 0;
8057 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8063 PyObject
* obj0
= 0 ;
8064 PyObject
* obj1
= 0 ;
8065 char * kwnames
[] = {
8066 (char *) "self",(char *) "rowCount", NULL
8069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetMaxHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8071 if (!SWIG_IsOK(res1
)) {
8072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8074 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8076 if (!SWIG_IsOK(ecode2
)) {
8077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "2"" of type '" "int""'");
8079 arg2
= static_cast< int >(val2
);
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 (arg1
)->AutoCompSetMaxHeight(arg2
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= SWIG_Py_Void();
8093 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompGetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8094 PyObject
*resultobj
= 0;
8095 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8099 PyObject
*swig_obj
[1] ;
8101 if (!args
) SWIG_fail
;
8103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8104 if (!SWIG_IsOK(res1
)) {
8105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompGetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8107 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 result
= (int)(arg1
)->AutoCompGetMaxHeight();
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 resultobj
= SWIG_From_int(static_cast< int >(result
));
8121 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
= 0;
8123 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8129 PyObject
* obj0
= 0 ;
8130 PyObject
* obj1
= 0 ;
8131 char * kwnames
[] = {
8132 (char *) "self",(char *) "indentSize", NULL
8135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8137 if (!SWIG_IsOK(res1
)) {
8138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8140 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8142 if (!SWIG_IsOK(ecode2
)) {
8143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "2"" of type '" "int""'");
8145 arg2
= static_cast< int >(val2
);
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 (arg1
)->SetIndent(arg2
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_Py_Void();
8159 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8160 PyObject
*resultobj
= 0;
8161 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8165 PyObject
*swig_obj
[1] ;
8167 if (!args
) SWIG_fail
;
8169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8170 if (!SWIG_IsOK(res1
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8173 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 result
= (int)(arg1
)->GetIndent();
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 resultobj
= SWIG_From_int(static_cast< int >(result
));
8187 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetUseTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
= 0;
8189 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8196 PyObject
* obj1
= 0 ;
8197 char * kwnames
[] = {
8198 (char *) "self",(char *) "useTabs", NULL
8201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8203 if (!SWIG_IsOK(res1
)) {
8204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8206 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8207 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
8208 if (!SWIG_IsOK(ecode2
)) {
8209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "2"" of type '" "bool""'");
8211 arg2
= static_cast< bool >(val2
);
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 (arg1
)->SetUseTabs(arg2
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= SWIG_Py_Void();
8225 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetUseTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8226 PyObject
*resultobj
= 0;
8227 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8231 PyObject
*swig_obj
[1] ;
8233 if (!args
) SWIG_fail
;
8235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8236 if (!SWIG_IsOK(res1
)) {
8237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8239 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 result
= (bool)(arg1
)->GetUseTabs();
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8255 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetLineIndentation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
= 0;
8257 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8268 PyObject
* obj2
= 0 ;
8269 char * kwnames
[] = {
8270 (char *) "self",(char *) "line",(char *) "indentSize", NULL
8273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8275 if (!SWIG_IsOK(res1
)) {
8276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8278 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8280 if (!SWIG_IsOK(ecode2
)) {
8281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8283 arg2
= static_cast< int >(val2
);
8284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8285 if (!SWIG_IsOK(ecode3
)) {
8286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "3"" of type '" "int""'");
8288 arg3
= static_cast< int >(val3
);
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 (arg1
)->SetLineIndentation(arg2
,arg3
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= SWIG_Py_Void();
8302 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLineIndentation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
*resultobj
= 0;
8304 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8311 PyObject
* obj0
= 0 ;
8312 PyObject
* obj1
= 0 ;
8313 char * kwnames
[] = {
8314 (char *) "self",(char *) "line", NULL
8317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8319 if (!SWIG_IsOK(res1
)) {
8320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8322 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8324 if (!SWIG_IsOK(ecode2
)) {
8325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8327 arg2
= static_cast< int >(val2
);
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (int)(arg1
)->GetLineIndentation(arg2
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= SWIG_From_int(static_cast< int >(result
));
8341 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
= 0;
8343 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8350 PyObject
* obj0
= 0 ;
8351 PyObject
* obj1
= 0 ;
8352 char * kwnames
[] = {
8353 (char *) "self",(char *) "line", NULL
8356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8358 if (!SWIG_IsOK(res1
)) {
8359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8361 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8363 if (!SWIG_IsOK(ecode2
)) {
8364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "2"" of type '" "int""'");
8366 arg2
= static_cast< int >(val2
);
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= (int)(arg1
)->GetLineIndentPosition(arg2
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= SWIG_From_int(static_cast< int >(result
));
8380 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
= 0;
8382 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8389 PyObject
* obj0
= 0 ;
8390 PyObject
* obj1
= 0 ;
8391 char * kwnames
[] = {
8392 (char *) "self",(char *) "pos", NULL
8395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8397 if (!SWIG_IsOK(res1
)) {
8398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8400 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8402 if (!SWIG_IsOK(ecode2
)) {
8403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
8405 arg2
= static_cast< int >(val2
);
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (int)(arg1
)->GetColumn(arg2
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= SWIG_From_int(static_cast< int >(result
));
8419 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
= 0;
8421 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8427 PyObject
* obj0
= 0 ;
8428 PyObject
* obj1
= 0 ;
8429 char * kwnames
[] = {
8430 (char *) "self",(char *) "show", NULL
8433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8435 if (!SWIG_IsOK(res1
)) {
8436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8438 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8439 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
8440 if (!SWIG_IsOK(ecode2
)) {
8441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "2"" of type '" "bool""'");
8443 arg2
= static_cast< bool >(val2
);
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 (arg1
)->SetUseHorizontalScrollBar(arg2
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= SWIG_Py_Void();
8457 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8458 PyObject
*resultobj
= 0;
8459 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8463 PyObject
*swig_obj
[1] ;
8465 if (!args
) SWIG_fail
;
8467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8468 if (!SWIG_IsOK(res1
)) {
8469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8471 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= (bool)(arg1
)->GetUseHorizontalScrollBar();
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8487 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetIndentationGuides(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
= 0;
8489 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8495 PyObject
* obj0
= 0 ;
8496 PyObject
* obj1
= 0 ;
8497 char * kwnames
[] = {
8498 (char *) "self",(char *) "show", NULL
8501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8503 if (!SWIG_IsOK(res1
)) {
8504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8506 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8507 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
8508 if (!SWIG_IsOK(ecode2
)) {
8509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "2"" of type '" "bool""'");
8511 arg2
= static_cast< bool >(val2
);
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 (arg1
)->SetIndentationGuides(arg2
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= SWIG_Py_Void();
8525 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetIndentationGuides(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8526 PyObject
*resultobj
= 0;
8527 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8531 PyObject
*swig_obj
[1] ;
8533 if (!args
) SWIG_fail
;
8535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8536 if (!SWIG_IsOK(res1
)) {
8537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8539 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 result
= (bool)(arg1
)->GetIndentationGuides();
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8555 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetHighlightGuide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
= 0;
8557 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8563 PyObject
* obj0
= 0 ;
8564 PyObject
* obj1
= 0 ;
8565 char * kwnames
[] = {
8566 (char *) "self",(char *) "column", NULL
8569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8571 if (!SWIG_IsOK(res1
)) {
8572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8574 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8576 if (!SWIG_IsOK(ecode2
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "2"" of type '" "int""'");
8579 arg2
= static_cast< int >(val2
);
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 (arg1
)->SetHighlightGuide(arg2
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= SWIG_Py_Void();
8593 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetHighlightGuide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8594 PyObject
*resultobj
= 0;
8595 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8599 PyObject
*swig_obj
[1] ;
8601 if (!args
) SWIG_fail
;
8603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8604 if (!SWIG_IsOK(res1
)) {
8605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8607 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (int)(arg1
)->GetHighlightGuide();
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= SWIG_From_int(static_cast< int >(result
));
8621 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLineEndPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
*resultobj
= 0;
8623 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8632 char * kwnames
[] = {
8633 (char *) "self",(char *) "line", NULL
8636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8638 if (!SWIG_IsOK(res1
)) {
8639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8641 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8643 if (!SWIG_IsOK(ecode2
)) {
8644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "2"" of type '" "int""'");
8646 arg2
= static_cast< int >(val2
);
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (int)(arg1
)->GetLineEndPosition(arg2
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 resultobj
= SWIG_From_int(static_cast< int >(result
));
8660 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCodePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8661 PyObject
*resultobj
= 0;
8662 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8666 PyObject
*swig_obj
[1] ;
8668 if (!args
) SWIG_fail
;
8670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8671 if (!SWIG_IsOK(res1
)) {
8672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8674 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 result
= (int)(arg1
)->GetCodePage();
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= SWIG_From_int(static_cast< int >(result
));
8688 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCaretForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8689 PyObject
*resultobj
= 0;
8690 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8694 PyObject
*swig_obj
[1] ;
8696 if (!args
) SWIG_fail
;
8698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8699 if (!SWIG_IsOK(res1
)) {
8700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8702 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 result
= (arg1
)->GetCaretForeground();
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8709 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
8716 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8717 PyObject
*resultobj
= 0;
8718 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8722 PyObject
*swig_obj
[1] ;
8724 if (!args
) SWIG_fail
;
8726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8727 if (!SWIG_IsOK(res1
)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8730 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (bool)(arg1
)->GetReadOnly();
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8746 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetCurrentPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
= 0;
8748 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8754 PyObject
* obj0
= 0 ;
8755 PyObject
* obj1
= 0 ;
8756 char * kwnames
[] = {
8757 (char *) "self",(char *) "pos", NULL
8760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8762 if (!SWIG_IsOK(res1
)) {
8763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8765 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8767 if (!SWIG_IsOK(ecode2
)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "2"" of type '" "int""'");
8770 arg2
= static_cast< int >(val2
);
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 (arg1
)->SetCurrentPos(arg2
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= SWIG_Py_Void();
8784 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetSelectionStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
= 0;
8786 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 char * kwnames
[] = {
8795 (char *) "self",(char *) "pos", NULL
8798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8800 if (!SWIG_IsOK(res1
)) {
8801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8803 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8805 if (!SWIG_IsOK(ecode2
)) {
8806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "2"" of type '" "int""'");
8808 arg2
= static_cast< int >(val2
);
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 (arg1
)->SetSelectionStart(arg2
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= SWIG_Py_Void();
8822 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetSelectionStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8823 PyObject
*resultobj
= 0;
8824 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8828 PyObject
*swig_obj
[1] ;
8830 if (!args
) SWIG_fail
;
8832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8833 if (!SWIG_IsOK(res1
)) {
8834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8836 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (int)(arg1
)->GetSelectionStart();
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= SWIG_From_int(static_cast< int >(result
));
8850 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetSelectionEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
= 0;
8852 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8858 PyObject
* obj0
= 0 ;
8859 PyObject
* obj1
= 0 ;
8860 char * kwnames
[] = {
8861 (char *) "self",(char *) "pos", NULL
8864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8866 if (!SWIG_IsOK(res1
)) {
8867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8869 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8871 if (!SWIG_IsOK(ecode2
)) {
8872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "2"" of type '" "int""'");
8874 arg2
= static_cast< int >(val2
);
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 (arg1
)->SetSelectionEnd(arg2
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_Py_Void();
8888 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetSelectionEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8889 PyObject
*resultobj
= 0;
8890 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8894 PyObject
*swig_obj
[1] ;
8896 if (!args
) SWIG_fail
;
8898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8899 if (!SWIG_IsOK(res1
)) {
8900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8902 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (int)(arg1
)->GetSelectionEnd();
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_From_int(static_cast< int >(result
));
8916 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetPrintMagnification(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
= 0;
8918 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8926 char * kwnames
[] = {
8927 (char *) "self",(char *) "magnification", NULL
8930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8932 if (!SWIG_IsOK(res1
)) {
8933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8935 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8937 if (!SWIG_IsOK(ecode2
)) {
8938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "2"" of type '" "int""'");
8940 arg2
= static_cast< int >(val2
);
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 (arg1
)->SetPrintMagnification(arg2
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 resultobj
= SWIG_Py_Void();
8954 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetPrintMagnification(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8955 PyObject
*resultobj
= 0;
8956 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8960 PyObject
*swig_obj
[1] ;
8962 if (!args
) SWIG_fail
;
8964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8965 if (!SWIG_IsOK(res1
)) {
8966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8968 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 result
= (int)(arg1
)->GetPrintMagnification();
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= SWIG_From_int(static_cast< int >(result
));
8982 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetPrintColourMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
= 0;
8984 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8992 char * kwnames
[] = {
8993 (char *) "self",(char *) "mode", NULL
8996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
8998 if (!SWIG_IsOK(res1
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9001 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9003 if (!SWIG_IsOK(ecode2
)) {
9004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "2"" of type '" "int""'");
9006 arg2
= static_cast< int >(val2
);
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 (arg1
)->SetPrintColourMode(arg2
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= SWIG_Py_Void();
9020 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetPrintColourMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9021 PyObject
*resultobj
= 0;
9022 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9026 PyObject
*swig_obj
[1] ;
9028 if (!args
) SWIG_fail
;
9030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9031 if (!SWIG_IsOK(res1
)) {
9032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9034 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= (int)(arg1
)->GetPrintColourMode();
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= SWIG_From_int(static_cast< int >(result
));
9048 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_FindText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
= 0;
9050 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9053 wxString
*arg4
= 0 ;
9054 int arg5
= (int) 0 ;
9062 bool temp4
= false ;
9065 PyObject
* obj0
= 0 ;
9066 PyObject
* obj1
= 0 ;
9067 PyObject
* obj2
= 0 ;
9068 PyObject
* obj3
= 0 ;
9069 PyObject
* obj4
= 0 ;
9070 char * kwnames
[] = {
9071 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
9074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9076 if (!SWIG_IsOK(res1
)) {
9077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_FindText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9079 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9081 if (!SWIG_IsOK(ecode2
)) {
9082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_FindText" "', expected argument " "2"" of type '" "int""'");
9084 arg2
= static_cast< int >(val2
);
9085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9086 if (!SWIG_IsOK(ecode3
)) {
9087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_FindText" "', expected argument " "3"" of type '" "int""'");
9089 arg3
= static_cast< int >(val3
);
9091 arg4
= wxString_in_helper(obj3
);
9092 if (arg4
== NULL
) SWIG_fail
;
9096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9097 if (!SWIG_IsOK(ecode5
)) {
9098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "StyledTextCtrl_FindText" "', expected argument " "5"" of type '" "int""'");
9100 arg5
= static_cast< int >(val5
);
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= (int)(arg1
)->FindText(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= SWIG_From_int(static_cast< int >(result
));
9123 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_FormatRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
= 0;
9125 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9129 wxDC
*arg5
= (wxDC
*) 0 ;
9130 wxDC
*arg6
= (wxDC
*) 0 ;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9152 PyObject
* obj2
= 0 ;
9153 PyObject
* obj3
= 0 ;
9154 PyObject
* obj4
= 0 ;
9155 PyObject
* obj5
= 0 ;
9156 PyObject
* obj6
= 0 ;
9157 PyObject
* obj7
= 0 ;
9158 char * kwnames
[] = {
9159 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
9162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9164 if (!SWIG_IsOK(res1
)) {
9165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9167 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9168 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9169 if (!SWIG_IsOK(ecode2
)) {
9170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "2"" of type '" "bool""'");
9172 arg2
= static_cast< bool >(val2
);
9173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9174 if (!SWIG_IsOK(ecode3
)) {
9175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "3"" of type '" "int""'");
9177 arg3
= static_cast< int >(val3
);
9178 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9179 if (!SWIG_IsOK(ecode4
)) {
9180 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "4"" of type '" "int""'");
9182 arg4
= static_cast< int >(val4
);
9183 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxDC
, 0 | 0 );
9184 if (!SWIG_IsOK(res5
)) {
9185 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "5"" of type '" "wxDC *""'");
9187 arg5
= reinterpret_cast< wxDC
* >(argp5
);
9188 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
9189 if (!SWIG_IsOK(res6
)) {
9190 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "6"" of type '" "wxDC *""'");
9192 arg6
= reinterpret_cast< wxDC
* >(argp6
);
9194 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxRect
, 0 | 0);
9195 if (!SWIG_IsOK(res7
)) {
9196 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9201 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp7
);
9203 if (SWIG_IsNewObj(res7
)) delete temp
;
9207 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxRect
, 0 | 0);
9208 if (!SWIG_IsOK(res8
)) {
9209 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9214 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp8
);
9216 if (SWIG_IsNewObj(res8
)) delete temp
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 result
= (int)(arg1
)->FormatRange(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_From_int(static_cast< int >(result
));
9232 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9233 PyObject
*resultobj
= 0;
9234 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9238 PyObject
*swig_obj
[1] ;
9240 if (!args
) SWIG_fail
;
9242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9243 if (!SWIG_IsOK(res1
)) {
9244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9246 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (int)(arg1
)->GetFirstVisibleLine();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_From_int(static_cast< int >(result
));
9260 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
= 0;
9262 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 char * kwnames
[] = {
9272 (char *) "self",(char *) "line", NULL
9275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9277 if (!SWIG_IsOK(res1
)) {
9278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9280 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9282 if (!SWIG_IsOK(ecode2
)) {
9283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "2"" of type '" "int""'");
9285 arg2
= static_cast< int >(val2
);
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (arg1
)->GetLine(arg2
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9305 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9306 PyObject
*resultobj
= 0;
9307 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9311 PyObject
*swig_obj
[1] ;
9313 if (!args
) SWIG_fail
;
9315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9316 if (!SWIG_IsOK(res1
)) {
9317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLineCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9319 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (int)(arg1
)->GetLineCount();
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= SWIG_From_int(static_cast< int >(result
));
9333 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetMarginLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
= 0;
9335 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9343 char * kwnames
[] = {
9344 (char *) "self",(char *) "pixelWidth", NULL
9347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9349 if (!SWIG_IsOK(res1
)) {
9350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9352 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9354 if (!SWIG_IsOK(ecode2
)) {
9355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "2"" of type '" "int""'");
9357 arg2
= static_cast< int >(val2
);
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 (arg1
)->SetMarginLeft(arg2
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_Py_Void();
9371 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetMarginLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9372 PyObject
*resultobj
= 0;
9373 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9377 PyObject
*swig_obj
[1] ;
9379 if (!args
) SWIG_fail
;
9381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9382 if (!SWIG_IsOK(res1
)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9385 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (int)(arg1
)->GetMarginLeft();
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_From_int(static_cast< int >(result
));
9399 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetMarginRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
= 0;
9401 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 char * kwnames
[] = {
9410 (char *) "self",(char *) "pixelWidth", NULL
9413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9418 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9420 if (!SWIG_IsOK(ecode2
)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "2"" of type '" "int""'");
9423 arg2
= static_cast< int >(val2
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 (arg1
)->SetMarginRight(arg2
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_Py_Void();
9437 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetMarginRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9438 PyObject
*resultobj
= 0;
9439 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9443 PyObject
*swig_obj
[1] ;
9445 if (!args
) SWIG_fail
;
9447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9448 if (!SWIG_IsOK(res1
)) {
9449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9451 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (int)(arg1
)->GetMarginRight();
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= SWIG_From_int(static_cast< int >(result
));
9465 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetModify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9466 PyObject
*resultobj
= 0;
9467 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9471 PyObject
*swig_obj
[1] ;
9473 if (!args
) SWIG_fail
;
9475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9476 if (!SWIG_IsOK(res1
)) {
9477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetModify" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9479 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (bool)(arg1
)->GetModify();
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9495 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
= 0;
9497 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 PyObject
* obj2
= 0 ;
9509 char * kwnames
[] = {
9510 (char *) "self",(char *) "start",(char *) "end", NULL
9513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9518 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9520 if (!SWIG_IsOK(ecode2
)) {
9521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "2"" of type '" "int""'");
9523 arg2
= static_cast< int >(val2
);
9524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9525 if (!SWIG_IsOK(ecode3
)) {
9526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "3"" of type '" "int""'");
9528 arg3
= static_cast< int >(val3
);
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 (arg1
)->SetSelection(arg2
,arg3
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_Py_Void();
9542 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetSelectedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9543 PyObject
*resultobj
= 0;
9544 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9548 PyObject
*swig_obj
[1] ;
9550 if (!args
) SWIG_fail
;
9552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9553 if (!SWIG_IsOK(res1
)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetSelectedText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9556 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 result
= (arg1
)->GetSelectedText();
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9576 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetTextRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
= 0;
9578 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9589 PyObject
* obj1
= 0 ;
9590 PyObject
* obj2
= 0 ;
9591 char * kwnames
[] = {
9592 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
9595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9597 if (!SWIG_IsOK(res1
)) {
9598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9600 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9602 if (!SWIG_IsOK(ecode2
)) {
9603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "2"" of type '" "int""'");
9605 arg2
= static_cast< int >(val2
);
9606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9607 if (!SWIG_IsOK(ecode3
)) {
9608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "3"" of type '" "int""'");
9610 arg3
= static_cast< int >(val3
);
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 result
= (arg1
)->GetTextRange(arg2
,arg3
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9630 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_HideSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
= 0;
9632 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9639 PyObject
* obj1
= 0 ;
9640 char * kwnames
[] = {
9641 (char *) "self",(char *) "normal", NULL
9644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_HideSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9646 if (!SWIG_IsOK(res1
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9649 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9650 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9651 if (!SWIG_IsOK(ecode2
)) {
9652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "2"" of type '" "bool""'");
9654 arg2
= static_cast< bool >(val2
);
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 (arg1
)->HideSelection(arg2
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_Py_Void();
9668 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineFromPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
= 0;
9670 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj1
= 0 ;
9679 char * kwnames
[] = {
9680 (char *) "self",(char *) "pos", NULL
9683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9685 if (!SWIG_IsOK(res1
)) {
9686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9688 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9690 if (!SWIG_IsOK(ecode2
)) {
9691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "2"" of type '" "int""'");
9693 arg2
= static_cast< int >(val2
);
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (int)(arg1
)->LineFromPosition(arg2
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_From_int(static_cast< int >(result
));
9707 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_PositionFromLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
= 0;
9709 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9718 char * kwnames
[] = {
9719 (char *) "self",(char *) "line", NULL
9722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9724 if (!SWIG_IsOK(res1
)) {
9725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9727 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9729 if (!SWIG_IsOK(ecode2
)) {
9730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "2"" of type '" "int""'");
9732 arg2
= static_cast< int >(val2
);
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (int)(arg1
)->PositionFromLine(arg2
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_From_int(static_cast< int >(result
));
9746 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineScroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
= 0;
9748 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9758 PyObject
* obj1
= 0 ;
9759 PyObject
* obj2
= 0 ;
9760 char * kwnames
[] = {
9761 (char *) "self",(char *) "columns",(char *) "lines", NULL
9764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9766 if (!SWIG_IsOK(res1
)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9769 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9771 if (!SWIG_IsOK(ecode2
)) {
9772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "2"" of type '" "int""'");
9774 arg2
= static_cast< int >(val2
);
9775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9776 if (!SWIG_IsOK(ecode3
)) {
9777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "3"" of type '" "int""'");
9779 arg3
= static_cast< int >(val3
);
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 (arg1
)->LineScroll(arg2
,arg3
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= SWIG_Py_Void();
9793 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9794 PyObject
*resultobj
= 0;
9795 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9798 PyObject
*swig_obj
[1] ;
9800 if (!args
) SWIG_fail
;
9802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9803 if (!SWIG_IsOK(res1
)) {
9804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_EnsureCaretVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9806 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 (arg1
)->EnsureCaretVisible();
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= SWIG_Py_Void();
9820 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ReplaceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
= 0;
9822 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9823 wxString
*arg2
= 0 ;
9826 bool temp2
= false ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 char * kwnames
[] = {
9830 (char *) "self",(char *) "text", NULL
9833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9835 if (!SWIG_IsOK(res1
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ReplaceSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9838 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9840 arg2
= wxString_in_helper(obj1
);
9841 if (arg2
== NULL
) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 (arg1
)->ReplaceSelection((wxString
const &)*arg2
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= SWIG_Py_Void();
9865 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
= 0;
9867 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9875 char * kwnames
[] = {
9876 (char *) "self",(char *) "readOnly", NULL
9879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9881 if (!SWIG_IsOK(res1
)) {
9882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9884 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9885 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9886 if (!SWIG_IsOK(ecode2
)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
9889 arg2
= static_cast< bool >(val2
);
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 (arg1
)->SetReadOnly(arg2
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= SWIG_Py_Void();
9903 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9904 PyObject
*resultobj
= 0;
9905 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9909 PyObject
*swig_obj
[1] ;
9911 if (!args
) SWIG_fail
;
9913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9914 if (!SWIG_IsOK(res1
)) {
9915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9917 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (bool)(arg1
)->CanPaste();
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9933 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9934 PyObject
*resultobj
= 0;
9935 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9939 PyObject
*swig_obj
[1] ;
9941 if (!args
) SWIG_fail
;
9943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9944 if (!SWIG_IsOK(res1
)) {
9945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9947 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= (bool)(arg1
)->CanUndo();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9963 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9964 PyObject
*resultobj
= 0;
9965 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9968 PyObject
*swig_obj
[1] ;
9970 if (!args
) SWIG_fail
;
9972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
9973 if (!SWIG_IsOK(res1
)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_EmptyUndoBuffer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9976 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 (arg1
)->EmptyUndoBuffer();
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_Py_Void();
9990 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9991 PyObject
*resultobj
= 0;
9992 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9995 PyObject
*swig_obj
[1] ;
9997 if (!args
) SWIG_fail
;
9999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10000 if (!SWIG_IsOK(res1
)) {
10001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_Undo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10003 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= SWIG_Py_Void();
10017 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10018 PyObject
*resultobj
= 0;
10019 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10022 PyObject
*swig_obj
[1] ;
10024 if (!args
) SWIG_fail
;
10025 swig_obj
[0] = args
;
10026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_Cut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10030 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= SWIG_Py_Void();
10044 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10045 PyObject
*resultobj
= 0;
10046 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10049 PyObject
*swig_obj
[1] ;
10051 if (!args
) SWIG_fail
;
10052 swig_obj
[0] = args
;
10053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10054 if (!SWIG_IsOK(res1
)) {
10055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_Copy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10057 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= SWIG_Py_Void();
10071 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10072 PyObject
*resultobj
= 0;
10073 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10076 PyObject
*swig_obj
[1] ;
10078 if (!args
) SWIG_fail
;
10079 swig_obj
[0] = args
;
10080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10081 if (!SWIG_IsOK(res1
)) {
10082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_Paste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10084 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_Py_Void();
10098 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10099 PyObject
*resultobj
= 0;
10100 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10103 PyObject
*swig_obj
[1] ;
10105 if (!args
) SWIG_fail
;
10106 swig_obj
[0] = args
;
10107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10108 if (!SWIG_IsOK(res1
)) {
10109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_Clear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10111 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_Py_Void();
10125 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
= 0;
10127 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10128 wxString
*arg2
= 0 ;
10131 bool temp2
= false ;
10132 PyObject
* obj0
= 0 ;
10133 PyObject
* obj1
= 0 ;
10134 char * kwnames
[] = {
10135 (char *) "self",(char *) "text", NULL
10138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10140 if (!SWIG_IsOK(res1
)) {
10141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10143 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10145 arg2
= wxString_in_helper(obj1
);
10146 if (arg2
== NULL
) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 (arg1
)->SetText((wxString
const &)*arg2
);
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10155 resultobj
= SWIG_Py_Void();
10170 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10171 PyObject
*resultobj
= 0;
10172 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10176 PyObject
*swig_obj
[1] ;
10178 if (!args
) SWIG_fail
;
10179 swig_obj
[0] = args
;
10180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10181 if (!SWIG_IsOK(res1
)) {
10182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10184 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 result
= (arg1
)->GetText();
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10204 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10205 PyObject
*resultobj
= 0;
10206 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10210 PyObject
*swig_obj
[1] ;
10212 if (!args
) SWIG_fail
;
10213 swig_obj
[0] = args
;
10214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10215 if (!SWIG_IsOK(res1
)) {
10216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetTextLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10218 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (int)(arg1
)->GetTextLength();
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 resultobj
= SWIG_From_int(static_cast< int >(result
));
10232 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetOvertype(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
= 0;
10234 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10240 PyObject
* obj0
= 0 ;
10241 PyObject
* obj1
= 0 ;
10242 char * kwnames
[] = {
10243 (char *) "self",(char *) "overtype", NULL
10246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10248 if (!SWIG_IsOK(res1
)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10251 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10252 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10253 if (!SWIG_IsOK(ecode2
)) {
10254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "2"" of type '" "bool""'");
10256 arg2
= static_cast< bool >(val2
);
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 (arg1
)->SetOvertype(arg2
);
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= SWIG_Py_Void();
10270 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetOvertype(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10271 PyObject
*resultobj
= 0;
10272 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10276 PyObject
*swig_obj
[1] ;
10278 if (!args
) SWIG_fail
;
10279 swig_obj
[0] = args
;
10280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10281 if (!SWIG_IsOK(res1
)) {
10282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10284 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (bool)(arg1
)->GetOvertype();
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10300 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetCaretWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
= 0;
10302 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10308 PyObject
* obj0
= 0 ;
10309 PyObject
* obj1
= 0 ;
10310 char * kwnames
[] = {
10311 (char *) "self",(char *) "pixelWidth", NULL
10314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10316 if (!SWIG_IsOK(res1
)) {
10317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10319 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10321 if (!SWIG_IsOK(ecode2
)) {
10322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "2"" of type '" "int""'");
10324 arg2
= static_cast< int >(val2
);
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 (arg1
)->SetCaretWidth(arg2
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= SWIG_Py_Void();
10338 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCaretWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10339 PyObject
*resultobj
= 0;
10340 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10344 PyObject
*swig_obj
[1] ;
10346 if (!args
) SWIG_fail
;
10347 swig_obj
[0] = args
;
10348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10349 if (!SWIG_IsOK(res1
)) {
10350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10352 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 result
= (int)(arg1
)->GetCaretWidth();
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= SWIG_From_int(static_cast< int >(result
));
10366 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetTargetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
= 0;
10368 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 char * kwnames
[] = {
10377 (char *) "self",(char *) "pos", NULL
10380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10382 if (!SWIG_IsOK(res1
)) {
10383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10385 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10387 if (!SWIG_IsOK(ecode2
)) {
10388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "2"" of type '" "int""'");
10390 arg2
= static_cast< int >(val2
);
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 (arg1
)->SetTargetStart(arg2
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= SWIG_Py_Void();
10404 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetTargetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10405 PyObject
*resultobj
= 0;
10406 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10410 PyObject
*swig_obj
[1] ;
10412 if (!args
) SWIG_fail
;
10413 swig_obj
[0] = args
;
10414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10415 if (!SWIG_IsOK(res1
)) {
10416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10418 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 result
= (int)(arg1
)->GetTargetStart();
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= SWIG_From_int(static_cast< int >(result
));
10432 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetTargetEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10433 PyObject
*resultobj
= 0;
10434 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 char * kwnames
[] = {
10443 (char *) "self",(char *) "pos", NULL
10446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10448 if (!SWIG_IsOK(res1
)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10451 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10453 if (!SWIG_IsOK(ecode2
)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "2"" of type '" "int""'");
10456 arg2
= static_cast< int >(val2
);
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 (arg1
)->SetTargetEnd(arg2
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_Py_Void();
10470 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetTargetEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10471 PyObject
*resultobj
= 0;
10472 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10476 PyObject
*swig_obj
[1] ;
10478 if (!args
) SWIG_fail
;
10479 swig_obj
[0] = args
;
10480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10481 if (!SWIG_IsOK(res1
)) {
10482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10484 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= (int)(arg1
)->GetTargetEnd();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_From_int(static_cast< int >(result
));
10498 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ReplaceTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
= 0;
10500 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10501 wxString
*arg2
= 0 ;
10505 bool temp2
= false ;
10506 PyObject
* obj0
= 0 ;
10507 PyObject
* obj1
= 0 ;
10508 char * kwnames
[] = {
10509 (char *) "self",(char *) "text", NULL
10512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10514 if (!SWIG_IsOK(res1
)) {
10515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ReplaceTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10517 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10519 arg2
= wxString_in_helper(obj1
);
10520 if (arg2
== NULL
) SWIG_fail
;
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 result
= (int)(arg1
)->ReplaceTarget((wxString
const &)*arg2
);
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_From_int(static_cast< int >(result
));
10544 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
= 0;
10546 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10547 wxString
*arg2
= 0 ;
10551 bool temp2
= false ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 char * kwnames
[] = {
10555 (char *) "self",(char *) "text", NULL
10558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ReplaceTargetRE" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10563 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10565 arg2
= wxString_in_helper(obj1
);
10566 if (arg2
== NULL
) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (int)(arg1
)->ReplaceTargetRE((wxString
const &)*arg2
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= SWIG_From_int(static_cast< int >(result
));
10590 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SearchInTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
= 0;
10592 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10593 wxString
*arg2
= 0 ;
10597 bool temp2
= false ;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 char * kwnames
[] = {
10601 (char *) "self",(char *) "text", NULL
10604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10606 if (!SWIG_IsOK(res1
)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SearchInTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10609 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10611 arg2
= wxString_in_helper(obj1
);
10612 if (arg2
== NULL
) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (int)(arg1
)->SearchInTarget((wxString
const &)*arg2
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_From_int(static_cast< int >(result
));
10636 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetSearchFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
= 0;
10638 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10644 PyObject
* obj0
= 0 ;
10645 PyObject
* obj1
= 0 ;
10646 char * kwnames
[] = {
10647 (char *) "self",(char *) "flags", NULL
10650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10652 if (!SWIG_IsOK(res1
)) {
10653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10655 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10657 if (!SWIG_IsOK(ecode2
)) {
10658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "2"" of type '" "int""'");
10660 arg2
= static_cast< int >(val2
);
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 (arg1
)->SetSearchFlags(arg2
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_Py_Void();
10674 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetSearchFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10675 PyObject
*resultobj
= 0;
10676 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10680 PyObject
*swig_obj
[1] ;
10682 if (!args
) SWIG_fail
;
10683 swig_obj
[0] = args
;
10684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10685 if (!SWIG_IsOK(res1
)) {
10686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10688 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (int)(arg1
)->GetSearchFlags();
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 resultobj
= SWIG_From_int(static_cast< int >(result
));
10702 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CallTipShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10703 PyObject
*resultobj
= 0;
10704 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10706 wxString
*arg3
= 0 ;
10711 bool temp3
= false ;
10712 PyObject
* obj0
= 0 ;
10713 PyObject
* obj1
= 0 ;
10714 PyObject
* obj2
= 0 ;
10715 char * kwnames
[] = {
10716 (char *) "self",(char *) "pos",(char *) "definition", NULL
10719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10721 if (!SWIG_IsOK(res1
)) {
10722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10724 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10726 if (!SWIG_IsOK(ecode2
)) {
10727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "2"" of type '" "int""'");
10729 arg2
= static_cast< int >(val2
);
10731 arg3
= wxString_in_helper(obj2
);
10732 if (arg3
== NULL
) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 (arg1
)->CallTipShow(arg2
,(wxString
const &)*arg3
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= SWIG_Py_Void();
10756 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CallTipCancel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10757 PyObject
*resultobj
= 0;
10758 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10761 PyObject
*swig_obj
[1] ;
10763 if (!args
) SWIG_fail
;
10764 swig_obj
[0] = args
;
10765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10766 if (!SWIG_IsOK(res1
)) {
10767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CallTipCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10769 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 (arg1
)->CallTipCancel();
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= SWIG_Py_Void();
10783 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CallTipActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10784 PyObject
*resultobj
= 0;
10785 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10789 PyObject
*swig_obj
[1] ;
10791 if (!args
) SWIG_fail
;
10792 swig_obj
[0] = args
;
10793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10794 if (!SWIG_IsOK(res1
)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CallTipActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10797 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= (bool)(arg1
)->CallTipActive();
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10813 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10814 PyObject
*resultobj
= 0;
10815 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10819 PyObject
*swig_obj
[1] ;
10821 if (!args
) SWIG_fail
;
10822 swig_obj
[0] = args
;
10823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10824 if (!SWIG_IsOK(res1
)) {
10825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CallTipPosAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10827 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 result
= (int)(arg1
)->CallTipPosAtStart();
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 resultobj
= SWIG_From_int(static_cast< int >(result
));
10841 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
= 0;
10843 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 PyObject
* obj2
= 0 ;
10855 char * kwnames
[] = {
10856 (char *) "self",(char *) "start",(char *) "end", NULL
10859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10861 if (!SWIG_IsOK(res1
)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10864 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10866 if (!SWIG_IsOK(ecode2
)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "2"" of type '" "int""'");
10869 arg2
= static_cast< int >(val2
);
10870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10871 if (!SWIG_IsOK(ecode3
)) {
10872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "3"" of type '" "int""'");
10874 arg3
= static_cast< int >(val3
);
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 (arg1
)->CallTipSetHighlight(arg2
,arg3
);
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= SWIG_Py_Void();
10888 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CallTipSetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
= 0;
10890 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10891 wxColour
*arg2
= 0 ;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 char * kwnames
[] = {
10898 (char *) "self",(char *) "back", NULL
10901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10903 if (!SWIG_IsOK(res1
)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CallTipSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10906 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 (arg1
)->CallTipSetBackground((wxColour
const &)*arg2
);
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 resultobj
= SWIG_Py_Void();
10924 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CallTipSetForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
= 0;
10926 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10927 wxColour
*arg2
= 0 ;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 char * kwnames
[] = {
10934 (char *) "self",(char *) "fore", NULL
10937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10939 if (!SWIG_IsOK(res1
)) {
10940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CallTipSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10942 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 (arg1
)->CallTipSetForeground((wxColour
const &)*arg2
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= SWIG_Py_Void();
10960 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
= 0;
10962 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10963 wxColour
*arg2
= 0 ;
10967 PyObject
* obj0
= 0 ;
10968 PyObject
* obj1
= 0 ;
10969 char * kwnames
[] = {
10970 (char *) "self",(char *) "fore", NULL
10973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
10975 if (!SWIG_IsOK(res1
)) {
10976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CallTipSetForegroundHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10978 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
10981 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 (arg1
)->CallTipSetForegroundHighlight((wxColour
const &)*arg2
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= SWIG_Py_Void();
10996 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CallTipUseStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
= 0;
10998 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 char * kwnames
[] = {
11007 (char *) "self",(char *) "tabSize", NULL
11010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CallTipUseStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11012 if (!SWIG_IsOK(res1
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CallTipUseStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11015 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11017 if (!SWIG_IsOK(ecode2
)) {
11018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_CallTipUseStyle" "', expected argument " "2"" of type '" "int""'");
11020 arg2
= static_cast< int >(val2
);
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 (arg1
)->CallTipUseStyle(arg2
);
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= SWIG_Py_Void();
11034 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
*resultobj
= 0;
11036 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 PyObject
* obj1
= 0 ;
11045 char * kwnames
[] = {
11046 (char *) "self",(char *) "line", NULL
11049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11051 if (!SWIG_IsOK(res1
)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11054 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11056 if (!SWIG_IsOK(ecode2
)) {
11057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "2"" of type '" "int""'");
11059 arg2
= static_cast< int >(val2
);
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (int)(arg1
)->VisibleFromDocLine(arg2
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= SWIG_From_int(static_cast< int >(result
));
11073 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DocLineFromVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
= 0;
11075 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 PyObject
* obj1
= 0 ;
11084 char * kwnames
[] = {
11085 (char *) "self",(char *) "lineDisplay", NULL
11088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11090 if (!SWIG_IsOK(res1
)) {
11091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11093 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11095 if (!SWIG_IsOK(ecode2
)) {
11096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "2"" of type '" "int""'");
11098 arg2
= static_cast< int >(val2
);
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 result
= (int)(arg1
)->DocLineFromVisible(arg2
);
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= SWIG_From_int(static_cast< int >(result
));
11112 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WrapCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
= 0;
11114 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11121 PyObject
* obj0
= 0 ;
11122 PyObject
* obj1
= 0 ;
11123 char * kwnames
[] = {
11124 (char *) "self",(char *) "line", NULL
11127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_WrapCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11129 if (!SWIG_IsOK(res1
)) {
11130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11132 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11134 if (!SWIG_IsOK(ecode2
)) {
11135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "2"" of type '" "int""'");
11137 arg2
= static_cast< int >(val2
);
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 result
= (int)(arg1
)->WrapCount(arg2
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= SWIG_From_int(static_cast< int >(result
));
11151 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetFoldLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
= 0;
11153 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 PyObject
* obj2
= 0 ;
11165 char * kwnames
[] = {
11166 (char *) "self",(char *) "line",(char *) "level", NULL
11169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11171 if (!SWIG_IsOK(res1
)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11174 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11176 if (!SWIG_IsOK(ecode2
)) {
11177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11179 arg2
= static_cast< int >(val2
);
11180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11181 if (!SWIG_IsOK(ecode3
)) {
11182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "3"" of type '" "int""'");
11184 arg3
= static_cast< int >(val3
);
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 (arg1
)->SetFoldLevel(arg2
,arg3
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= SWIG_Py_Void();
11198 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetFoldLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
= 0;
11200 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 char * kwnames
[] = {
11210 (char *) "self",(char *) "line", NULL
11213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11215 if (!SWIG_IsOK(res1
)) {
11216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11218 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11220 if (!SWIG_IsOK(ecode2
)) {
11221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11223 arg2
= static_cast< int >(val2
);
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (int)(arg1
)->GetFoldLevel(arg2
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 resultobj
= SWIG_From_int(static_cast< int >(result
));
11237 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
= 0;
11239 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11249 PyObject
* obj0
= 0 ;
11250 PyObject
* obj1
= 0 ;
11251 PyObject
* obj2
= 0 ;
11252 char * kwnames
[] = {
11253 (char *) "self",(char *) "line",(char *) "level", NULL
11256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11258 if (!SWIG_IsOK(res1
)) {
11259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11261 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11263 if (!SWIG_IsOK(ecode2
)) {
11264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "2"" of type '" "int""'");
11266 arg2
= static_cast< int >(val2
);
11267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11268 if (!SWIG_IsOK(ecode3
)) {
11269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "3"" of type '" "int""'");
11271 arg3
= static_cast< int >(val3
);
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 result
= (int)(arg1
)->GetLastChild(arg2
,arg3
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= SWIG_From_int(static_cast< int >(result
));
11285 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetFoldParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
= 0;
11287 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 char * kwnames
[] = {
11297 (char *) "self",(char *) "line", NULL
11300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11302 if (!SWIG_IsOK(res1
)) {
11303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11305 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11307 if (!SWIG_IsOK(ecode2
)) {
11308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "2"" of type '" "int""'");
11310 arg2
= static_cast< int >(val2
);
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (int)(arg1
)->GetFoldParent(arg2
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= SWIG_From_int(static_cast< int >(result
));
11324 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ShowLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
= 0;
11326 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 PyObject
* obj2
= 0 ;
11338 char * kwnames
[] = {
11339 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11344 if (!SWIG_IsOK(res1
)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11347 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11349 if (!SWIG_IsOK(ecode2
)) {
11350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "2"" of type '" "int""'");
11352 arg2
= static_cast< int >(val2
);
11353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11354 if (!SWIG_IsOK(ecode3
)) {
11355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "3"" of type '" "int""'");
11357 arg3
= static_cast< int >(val3
);
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 (arg1
)->ShowLines(arg2
,arg3
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 resultobj
= SWIG_Py_Void();
11371 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_HideLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
= 0;
11373 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11383 PyObject
* obj1
= 0 ;
11384 PyObject
* obj2
= 0 ;
11385 char * kwnames
[] = {
11386 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_HideLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11391 if (!SWIG_IsOK(res1
)) {
11392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11394 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11396 if (!SWIG_IsOK(ecode2
)) {
11397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "2"" of type '" "int""'");
11399 arg2
= static_cast< int >(val2
);
11400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11401 if (!SWIG_IsOK(ecode3
)) {
11402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "3"" of type '" "int""'");
11404 arg3
= static_cast< int >(val3
);
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 (arg1
)->HideLines(arg2
,arg3
);
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= SWIG_Py_Void();
11418 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLineVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
= 0;
11420 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 char * kwnames
[] = {
11430 (char *) "self",(char *) "line", NULL
11433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11435 if (!SWIG_IsOK(res1
)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11438 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11440 if (!SWIG_IsOK(ecode2
)) {
11441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "2"" of type '" "int""'");
11443 arg2
= static_cast< int >(val2
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (bool)(arg1
)->GetLineVisible(arg2
);
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11459 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetFoldExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
= 0;
11461 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11470 PyObject
* obj0
= 0 ;
11471 PyObject
* obj1
= 0 ;
11472 PyObject
* obj2
= 0 ;
11473 char * kwnames
[] = {
11474 (char *) "self",(char *) "line",(char *) "expanded", NULL
11477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11479 if (!SWIG_IsOK(res1
)) {
11480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11482 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11484 if (!SWIG_IsOK(ecode2
)) {
11485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11487 arg2
= static_cast< int >(val2
);
11488 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11489 if (!SWIG_IsOK(ecode3
)) {
11490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "3"" of type '" "bool""'");
11492 arg3
= static_cast< bool >(val3
);
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 (arg1
)->SetFoldExpanded(arg2
,arg3
);
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_Py_Void();
11506 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetFoldExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
= 0;
11508 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 PyObject
* obj1
= 0 ;
11517 char * kwnames
[] = {
11518 (char *) "self",(char *) "line", NULL
11521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11523 if (!SWIG_IsOK(res1
)) {
11524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11526 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11528 if (!SWIG_IsOK(ecode2
)) {
11529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11531 arg2
= static_cast< int >(val2
);
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (bool)(arg1
)->GetFoldExpanded(arg2
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11547 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ToggleFold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
= 0;
11549 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 char * kwnames
[] = {
11558 (char *) "self",(char *) "line", NULL
11561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11563 if (!SWIG_IsOK(res1
)) {
11564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11566 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11568 if (!SWIG_IsOK(ecode2
)) {
11569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "2"" of type '" "int""'");
11571 arg2
= static_cast< int >(val2
);
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 (arg1
)->ToggleFold(arg2
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 resultobj
= SWIG_Py_Void();
11585 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
= 0;
11587 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 char * kwnames
[] = {
11596 (char *) "self",(char *) "line", NULL
11599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11601 if (!SWIG_IsOK(res1
)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11604 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11606 if (!SWIG_IsOK(ecode2
)) {
11607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
11609 arg2
= static_cast< int >(val2
);
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 (arg1
)->EnsureVisible(arg2
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= SWIG_Py_Void();
11623 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetFoldFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
= 0;
11625 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11631 PyObject
* obj0
= 0 ;
11632 PyObject
* obj1
= 0 ;
11633 char * kwnames
[] = {
11634 (char *) "self",(char *) "flags", NULL
11637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11639 if (!SWIG_IsOK(res1
)) {
11640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11642 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11644 if (!SWIG_IsOK(ecode2
)) {
11645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "2"" of type '" "int""'");
11647 arg2
= static_cast< int >(val2
);
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 (arg1
)->SetFoldFlags(arg2
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 resultobj
= SWIG_Py_Void();
11661 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
= 0;
11663 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11669 PyObject
* obj0
= 0 ;
11670 PyObject
* obj1
= 0 ;
11671 char * kwnames
[] = {
11672 (char *) "self",(char *) "line", NULL
11675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11677 if (!SWIG_IsOK(res1
)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11680 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11682 if (!SWIG_IsOK(ecode2
)) {
11683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "2"" of type '" "int""'");
11685 arg2
= static_cast< int >(val2
);
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 (arg1
)->EnsureVisibleEnforcePolicy(arg2
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= SWIG_Py_Void();
11699 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetTabIndents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
= 0;
11701 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11707 PyObject
* obj0
= 0 ;
11708 PyObject
* obj1
= 0 ;
11709 char * kwnames
[] = {
11710 (char *) "self",(char *) "tabIndents", NULL
11713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11715 if (!SWIG_IsOK(res1
)) {
11716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11718 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11719 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11720 if (!SWIG_IsOK(ecode2
)) {
11721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "2"" of type '" "bool""'");
11723 arg2
= static_cast< bool >(val2
);
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 (arg1
)->SetTabIndents(arg2
);
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= SWIG_Py_Void();
11737 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetTabIndents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11738 PyObject
*resultobj
= 0;
11739 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11743 PyObject
*swig_obj
[1] ;
11745 if (!args
) SWIG_fail
;
11746 swig_obj
[0] = args
;
11747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11748 if (!SWIG_IsOK(res1
)) {
11749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11751 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 result
= (bool)(arg1
)->GetTabIndents();
11755 wxPyEndAllowThreads(__tstate
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11767 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
= 0;
11769 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11775 PyObject
* obj0
= 0 ;
11776 PyObject
* obj1
= 0 ;
11777 char * kwnames
[] = {
11778 (char *) "self",(char *) "bsUnIndents", NULL
11781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11783 if (!SWIG_IsOK(res1
)) {
11784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11786 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11787 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11788 if (!SWIG_IsOK(ecode2
)) {
11789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "2"" of type '" "bool""'");
11791 arg2
= static_cast< bool >(val2
);
11793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11794 (arg1
)->SetBackSpaceUnIndents(arg2
);
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_Py_Void();
11805 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11806 PyObject
*resultobj
= 0;
11807 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11811 PyObject
*swig_obj
[1] ;
11813 if (!args
) SWIG_fail
;
11814 swig_obj
[0] = args
;
11815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11816 if (!SWIG_IsOK(res1
)) {
11817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11819 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= (bool)(arg1
)->GetBackSpaceUnIndents();
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11835 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
= 0;
11837 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 char * kwnames
[] = {
11846 (char *) "self",(char *) "periodMilliseconds", NULL
11849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11851 if (!SWIG_IsOK(res1
)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11854 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11856 if (!SWIG_IsOK(ecode2
)) {
11857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "2"" of type '" "int""'");
11859 arg2
= static_cast< int >(val2
);
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 (arg1
)->SetMouseDwellTime(arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 resultobj
= SWIG_Py_Void();
11873 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11874 PyObject
*resultobj
= 0;
11875 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11879 PyObject
*swig_obj
[1] ;
11881 if (!args
) SWIG_fail
;
11882 swig_obj
[0] = args
;
11883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11884 if (!SWIG_IsOK(res1
)) {
11885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11887 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (int)(arg1
)->GetMouseDwellTime();
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= SWIG_From_int(static_cast< int >(result
));
11901 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordStartPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
*resultobj
= 0;
11903 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11913 PyObject
* obj0
= 0 ;
11914 PyObject
* obj1
= 0 ;
11915 PyObject
* obj2
= 0 ;
11916 char * kwnames
[] = {
11917 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11922 if (!SWIG_IsOK(res1
)) {
11923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11925 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11927 if (!SWIG_IsOK(ecode2
)) {
11928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "2"" of type '" "int""'");
11930 arg2
= static_cast< int >(val2
);
11931 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11932 if (!SWIG_IsOK(ecode3
)) {
11933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "3"" of type '" "bool""'");
11935 arg3
= static_cast< bool >(val3
);
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 result
= (int)(arg1
)->WordStartPosition(arg2
,arg3
);
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= SWIG_From_int(static_cast< int >(result
));
11949 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordEndPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
= 0;
11951 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11961 PyObject
* obj0
= 0 ;
11962 PyObject
* obj1
= 0 ;
11963 PyObject
* obj2
= 0 ;
11964 char * kwnames
[] = {
11965 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11973 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
11974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11975 if (!SWIG_IsOK(ecode2
)) {
11976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "2"" of type '" "int""'");
11978 arg2
= static_cast< int >(val2
);
11979 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11980 if (!SWIG_IsOK(ecode3
)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "3"" of type '" "bool""'");
11983 arg3
= static_cast< bool >(val3
);
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (int)(arg1
)->WordEndPosition(arg2
,arg3
);
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= SWIG_From_int(static_cast< int >(result
));
11997 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetWrapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
= 0;
11999 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12005 PyObject
* obj0
= 0 ;
12006 PyObject
* obj1
= 0 ;
12007 char * kwnames
[] = {
12008 (char *) "self",(char *) "mode", NULL
12011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12016 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12018 if (!SWIG_IsOK(ecode2
)) {
12019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "2"" of type '" "int""'");
12021 arg2
= static_cast< int >(val2
);
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 (arg1
)->SetWrapMode(arg2
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_Py_Void();
12035 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetWrapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12036 PyObject
*resultobj
= 0;
12037 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12041 PyObject
*swig_obj
[1] ;
12043 if (!args
) SWIG_fail
;
12044 swig_obj
[0] = args
;
12045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12046 if (!SWIG_IsOK(res1
)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12049 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= (int)(arg1
)->GetWrapMode();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= SWIG_From_int(static_cast< int >(result
));
12063 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
= 0;
12065 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 PyObject
* obj1
= 0 ;
12073 char * kwnames
[] = {
12074 (char *) "self",(char *) "wrapVisualFlags", NULL
12077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12079 if (!SWIG_IsOK(res1
)) {
12080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12082 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12084 if (!SWIG_IsOK(ecode2
)) {
12085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "2"" of type '" "int""'");
12087 arg2
= static_cast< int >(val2
);
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 (arg1
)->SetWrapVisualFlags(arg2
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= SWIG_Py_Void();
12101 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12102 PyObject
*resultobj
= 0;
12103 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12107 PyObject
*swig_obj
[1] ;
12109 if (!args
) SWIG_fail
;
12110 swig_obj
[0] = args
;
12111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12112 if (!SWIG_IsOK(res1
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12115 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (int)(arg1
)->GetWrapVisualFlags();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_From_int(static_cast< int >(result
));
12129 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= 0;
12131 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 char * kwnames
[] = {
12140 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
12143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12145 if (!SWIG_IsOK(res1
)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12148 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12150 if (!SWIG_IsOK(ecode2
)) {
12151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "2"" of type '" "int""'");
12153 arg2
= static_cast< int >(val2
);
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 (arg1
)->SetWrapVisualFlagsLocation(arg2
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 resultobj
= SWIG_Py_Void();
12167 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12168 PyObject
*resultobj
= 0;
12169 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12173 PyObject
*swig_obj
[1] ;
12175 if (!args
) SWIG_fail
;
12176 swig_obj
[0] = args
;
12177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12178 if (!SWIG_IsOK(res1
)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12181 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (int)(arg1
)->GetWrapVisualFlagsLocation();
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= SWIG_From_int(static_cast< int >(result
));
12195 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
= 0;
12197 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 PyObject
* obj1
= 0 ;
12205 char * kwnames
[] = {
12206 (char *) "self",(char *) "indent", NULL
12209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12211 if (!SWIG_IsOK(res1
)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12214 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12216 if (!SWIG_IsOK(ecode2
)) {
12217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "2"" of type '" "int""'");
12219 arg2
= static_cast< int >(val2
);
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 (arg1
)->SetWrapStartIndent(arg2
);
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= SWIG_Py_Void();
12233 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12234 PyObject
*resultobj
= 0;
12235 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12239 PyObject
*swig_obj
[1] ;
12241 if (!args
) SWIG_fail
;
12242 swig_obj
[0] = args
;
12243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12244 if (!SWIG_IsOK(res1
)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12247 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 result
= (int)(arg1
)->GetWrapStartIndent();
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_From_int(static_cast< int >(result
));
12261 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetLayoutCache(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
= 0;
12263 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 PyObject
* obj1
= 0 ;
12271 char * kwnames
[] = {
12272 (char *) "self",(char *) "mode", NULL
12275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12277 if (!SWIG_IsOK(res1
)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12280 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12282 if (!SWIG_IsOK(ecode2
)) {
12283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "2"" of type '" "int""'");
12285 arg2
= static_cast< int >(val2
);
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 (arg1
)->SetLayoutCache(arg2
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= SWIG_Py_Void();
12299 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLayoutCache(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12300 PyObject
*resultobj
= 0;
12301 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12305 PyObject
*swig_obj
[1] ;
12307 if (!args
) SWIG_fail
;
12308 swig_obj
[0] = args
;
12309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12310 if (!SWIG_IsOK(res1
)) {
12311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12313 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 result
= (int)(arg1
)->GetLayoutCache();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_From_int(static_cast< int >(result
));
12327 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetScrollWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
= 0;
12329 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 PyObject
* obj1
= 0 ;
12337 char * kwnames
[] = {
12338 (char *) "self",(char *) "pixelWidth", NULL
12341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12343 if (!SWIG_IsOK(res1
)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12346 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12348 if (!SWIG_IsOK(ecode2
)) {
12349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "2"" of type '" "int""'");
12351 arg2
= static_cast< int >(val2
);
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 (arg1
)->SetScrollWidth(arg2
);
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_Py_Void();
12365 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetScrollWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12366 PyObject
*resultobj
= 0;
12367 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12371 PyObject
*swig_obj
[1] ;
12373 if (!args
) SWIG_fail
;
12374 swig_obj
[0] = args
;
12375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12376 if (!SWIG_IsOK(res1
)) {
12377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12379 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 result
= (int)(arg1
)->GetScrollWidth();
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_From_int(static_cast< int >(result
));
12393 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_TextWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
= 0;
12395 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12397 wxString
*arg3
= 0 ;
12403 bool temp3
= false ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 PyObject
* obj2
= 0 ;
12407 char * kwnames
[] = {
12408 (char *) "self",(char *) "style",(char *) "text", NULL
12411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12413 if (!SWIG_IsOK(res1
)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12416 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12418 if (!SWIG_IsOK(ecode2
)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "2"" of type '" "int""'");
12421 arg2
= static_cast< int >(val2
);
12423 arg3
= wxString_in_helper(obj2
);
12424 if (arg3
== NULL
) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (int)(arg1
)->TextWidth(arg2
,(wxString
const &)*arg3
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_From_int(static_cast< int >(result
));
12448 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
= 0;
12450 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12456 PyObject
* obj0
= 0 ;
12457 PyObject
* obj1
= 0 ;
12458 char * kwnames
[] = {
12459 (char *) "self",(char *) "endAtLastLine", NULL
12462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12464 if (!SWIG_IsOK(res1
)) {
12465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12467 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12468 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12469 if (!SWIG_IsOK(ecode2
)) {
12470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "2"" of type '" "bool""'");
12472 arg2
= static_cast< bool >(val2
);
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 (arg1
)->SetEndAtLastLine(arg2
);
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= SWIG_Py_Void();
12486 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12487 PyObject
*resultobj
= 0;
12488 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12492 PyObject
*swig_obj
[1] ;
12494 if (!args
) SWIG_fail
;
12495 swig_obj
[0] = args
;
12496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12497 if (!SWIG_IsOK(res1
)) {
12498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12500 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= (bool)(arg1
)->GetEndAtLastLine();
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12516 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_TextHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
= 0;
12518 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12525 PyObject
* obj0
= 0 ;
12526 PyObject
* obj1
= 0 ;
12527 char * kwnames
[] = {
12528 (char *) "self",(char *) "line", NULL
12531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_TextHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12533 if (!SWIG_IsOK(res1
)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12536 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12538 if (!SWIG_IsOK(ecode2
)) {
12539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "2"" of type '" "int""'");
12541 arg2
= static_cast< int >(val2
);
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= (int)(arg1
)->TextHeight(arg2
);
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= SWIG_From_int(static_cast< int >(result
));
12555 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
= 0;
12557 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12563 PyObject
* obj0
= 0 ;
12564 PyObject
* obj1
= 0 ;
12565 char * kwnames
[] = {
12566 (char *) "self",(char *) "show", NULL
12569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12571 if (!SWIG_IsOK(res1
)) {
12572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12574 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12575 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12576 if (!SWIG_IsOK(ecode2
)) {
12577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "2"" of type '" "bool""'");
12579 arg2
= static_cast< bool >(val2
);
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 (arg1
)->SetUseVerticalScrollBar(arg2
);
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_Py_Void();
12593 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12594 PyObject
*resultobj
= 0;
12595 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12599 PyObject
*swig_obj
[1] ;
12601 if (!args
) SWIG_fail
;
12602 swig_obj
[0] = args
;
12603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12604 if (!SWIG_IsOK(res1
)) {
12605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12607 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 result
= (bool)(arg1
)->GetUseVerticalScrollBar();
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12623 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
= 0;
12625 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12626 wxString
*arg2
= 0 ;
12629 bool temp2
= false ;
12630 PyObject
* obj0
= 0 ;
12631 PyObject
* obj1
= 0 ;
12632 char * kwnames
[] = {
12633 (char *) "self",(char *) "text", NULL
12636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12638 if (!SWIG_IsOK(res1
)) {
12639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12641 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12643 arg2
= wxString_in_helper(obj1
);
12644 if (arg2
== NULL
) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 (arg1
)->AppendText((wxString
const &)*arg2
);
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= SWIG_Py_Void();
12668 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12669 PyObject
*resultobj
= 0;
12670 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12674 PyObject
*swig_obj
[1] ;
12676 if (!args
) SWIG_fail
;
12677 swig_obj
[0] = args
;
12678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12679 if (!SWIG_IsOK(res1
)) {
12680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12682 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 result
= (bool)(arg1
)->GetTwoPhaseDraw();
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12698 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
= 0;
12700 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12706 PyObject
* obj0
= 0 ;
12707 PyObject
* obj1
= 0 ;
12708 char * kwnames
[] = {
12709 (char *) "self",(char *) "twoPhase", NULL
12712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12714 if (!SWIG_IsOK(res1
)) {
12715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12717 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12718 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12719 if (!SWIG_IsOK(ecode2
)) {
12720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "2"" of type '" "bool""'");
12722 arg2
= static_cast< bool >(val2
);
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 (arg1
)->SetTwoPhaseDraw(arg2
);
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12729 resultobj
= SWIG_Py_Void();
12736 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_TargetFromSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12737 PyObject
*resultobj
= 0;
12738 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12741 PyObject
*swig_obj
[1] ;
12743 if (!args
) SWIG_fail
;
12744 swig_obj
[0] = args
;
12745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12746 if (!SWIG_IsOK(res1
)) {
12747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_TargetFromSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12749 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 (arg1
)->TargetFromSelection();
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= SWIG_Py_Void();
12763 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LinesJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12764 PyObject
*resultobj
= 0;
12765 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12768 PyObject
*swig_obj
[1] ;
12770 if (!args
) SWIG_fail
;
12771 swig_obj
[0] = args
;
12772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12773 if (!SWIG_IsOK(res1
)) {
12774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LinesJoin" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12776 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 (arg1
)->LinesJoin();
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= SWIG_Py_Void();
12790 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LinesSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
= 0;
12792 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 char * kwnames
[] = {
12801 (char *) "self",(char *) "pixelWidth", NULL
12804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12806 if (!SWIG_IsOK(res1
)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12809 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12811 if (!SWIG_IsOK(ecode2
)) {
12812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "2"" of type '" "int""'");
12814 arg2
= static_cast< int >(val2
);
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->LinesSplit(arg2
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= SWIG_Py_Void();
12828 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
= 0;
12830 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12832 wxColour
*arg3
= 0 ;
12838 PyObject
* obj0
= 0 ;
12839 PyObject
* obj1
= 0 ;
12840 PyObject
* obj2
= 0 ;
12841 char * kwnames
[] = {
12842 (char *) "self",(char *) "useSetting",(char *) "back", NULL
12845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12847 if (!SWIG_IsOK(res1
)) {
12848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12850 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12851 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12852 if (!SWIG_IsOK(ecode2
)) {
12853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "2"" of type '" "bool""'");
12855 arg2
= static_cast< bool >(val2
);
12858 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 (arg1
)->SetFoldMarginColour(arg2
,(wxColour
const &)*arg3
);
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= SWIG_Py_Void();
12873 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
= 0;
12875 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12877 wxColour
*arg3
= 0 ;
12883 PyObject
* obj0
= 0 ;
12884 PyObject
* obj1
= 0 ;
12885 PyObject
* obj2
= 0 ;
12886 char * kwnames
[] = {
12887 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
12890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12892 if (!SWIG_IsOK(res1
)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12895 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12896 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12897 if (!SWIG_IsOK(ecode2
)) {
12898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "2"" of type '" "bool""'");
12900 arg2
= static_cast< bool >(val2
);
12903 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 (arg1
)->SetFoldMarginHiColour(arg2
,(wxColour
const &)*arg3
);
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= SWIG_Py_Void();
12918 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12919 PyObject
*resultobj
= 0;
12920 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12923 PyObject
*swig_obj
[1] ;
12925 if (!args
) SWIG_fail
;
12926 swig_obj
[0] = args
;
12927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12928 if (!SWIG_IsOK(res1
)) {
12929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12931 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 (arg1
)->LineDown();
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 resultobj
= SWIG_Py_Void();
12945 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineDownExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12946 PyObject
*resultobj
= 0;
12947 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12950 PyObject
*swig_obj
[1] ;
12952 if (!args
) SWIG_fail
;
12953 swig_obj
[0] = args
;
12954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12955 if (!SWIG_IsOK(res1
)) {
12956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12958 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 (arg1
)->LineDownExtend();
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12965 resultobj
= SWIG_Py_Void();
12972 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12973 PyObject
*resultobj
= 0;
12974 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
12977 PyObject
*swig_obj
[1] ;
12979 if (!args
) SWIG_fail
;
12980 swig_obj
[0] = args
;
12981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
12982 if (!SWIG_IsOK(res1
)) {
12983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12985 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_Py_Void();
12999 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineUpExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13000 PyObject
*resultobj
= 0;
13001 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13004 PyObject
*swig_obj
[1] ;
13006 if (!args
) SWIG_fail
;
13007 swig_obj
[0] = args
;
13008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13009 if (!SWIG_IsOK(res1
)) {
13010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13012 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 (arg1
)->LineUpExtend();
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 resultobj
= SWIG_Py_Void();
13026 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CharLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13027 PyObject
*resultobj
= 0;
13028 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13031 PyObject
*swig_obj
[1] ;
13033 if (!args
) SWIG_fail
;
13034 swig_obj
[0] = args
;
13035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13036 if (!SWIG_IsOK(res1
)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CharLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13039 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 (arg1
)->CharLeft();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= SWIG_Py_Void();
13053 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CharLeftExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13054 PyObject
*resultobj
= 0;
13055 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13058 PyObject
*swig_obj
[1] ;
13060 if (!args
) SWIG_fail
;
13061 swig_obj
[0] = args
;
13062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13063 if (!SWIG_IsOK(res1
)) {
13064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CharLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13066 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 (arg1
)->CharLeftExtend();
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= SWIG_Py_Void();
13080 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CharRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13081 PyObject
*resultobj
= 0;
13082 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13085 PyObject
*swig_obj
[1] ;
13087 if (!args
) SWIG_fail
;
13088 swig_obj
[0] = args
;
13089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13090 if (!SWIG_IsOK(res1
)) {
13091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CharRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13093 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 (arg1
)->CharRight();
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= SWIG_Py_Void();
13107 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CharRightExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 PyObject
*resultobj
= 0;
13109 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13112 PyObject
*swig_obj
[1] ;
13114 if (!args
) SWIG_fail
;
13115 swig_obj
[0] = args
;
13116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13117 if (!SWIG_IsOK(res1
)) {
13118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CharRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13120 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 (arg1
)->CharRightExtend();
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= SWIG_Py_Void();
13134 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13135 PyObject
*resultobj
= 0;
13136 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13139 PyObject
*swig_obj
[1] ;
13141 if (!args
) SWIG_fail
;
13142 swig_obj
[0] = args
;
13143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13144 if (!SWIG_IsOK(res1
)) {
13145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13147 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 (arg1
)->WordLeft();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= SWIG_Py_Void();
13161 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordLeftExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13162 PyObject
*resultobj
= 0;
13163 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13166 PyObject
*swig_obj
[1] ;
13168 if (!args
) SWIG_fail
;
13169 swig_obj
[0] = args
;
13170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13171 if (!SWIG_IsOK(res1
)) {
13172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13174 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 (arg1
)->WordLeftExtend();
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= SWIG_Py_Void();
13188 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13189 PyObject
*resultobj
= 0;
13190 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13193 PyObject
*swig_obj
[1] ;
13195 if (!args
) SWIG_fail
;
13196 swig_obj
[0] = args
;
13197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13198 if (!SWIG_IsOK(res1
)) {
13199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13201 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 (arg1
)->WordRight();
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= SWIG_Py_Void();
13215 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordRightExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13216 PyObject
*resultobj
= 0;
13217 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13220 PyObject
*swig_obj
[1] ;
13222 if (!args
) SWIG_fail
;
13223 swig_obj
[0] = args
;
13224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13225 if (!SWIG_IsOK(res1
)) {
13226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13228 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 (arg1
)->WordRightExtend();
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_Py_Void();
13242 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_Home(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13243 PyObject
*resultobj
= 0;
13244 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13247 PyObject
*swig_obj
[1] ;
13249 if (!args
) SWIG_fail
;
13250 swig_obj
[0] = args
;
13251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13252 if (!SWIG_IsOK(res1
)) {
13253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_Home" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13255 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 resultobj
= SWIG_Py_Void();
13269 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_HomeExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13270 PyObject
*resultobj
= 0;
13271 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13274 PyObject
*swig_obj
[1] ;
13276 if (!args
) SWIG_fail
;
13277 swig_obj
[0] = args
;
13278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13279 if (!SWIG_IsOK(res1
)) {
13280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_HomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13282 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 (arg1
)->HomeExtend();
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 resultobj
= SWIG_Py_Void();
13296 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13297 PyObject
*resultobj
= 0;
13298 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13301 PyObject
*swig_obj
[1] ;
13303 if (!args
) SWIG_fail
;
13304 swig_obj
[0] = args
;
13305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13306 if (!SWIG_IsOK(res1
)) {
13307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13309 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 resultobj
= SWIG_Py_Void();
13323 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineEndExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13324 PyObject
*resultobj
= 0;
13325 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13328 PyObject
*swig_obj
[1] ;
13330 if (!args
) SWIG_fail
;
13331 swig_obj
[0] = args
;
13332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13333 if (!SWIG_IsOK(res1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13336 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 (arg1
)->LineEndExtend();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= SWIG_Py_Void();
13350 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DocumentStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13351 PyObject
*resultobj
= 0;
13352 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13355 PyObject
*swig_obj
[1] ;
13357 if (!args
) SWIG_fail
;
13358 swig_obj
[0] = args
;
13359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13360 if (!SWIG_IsOK(res1
)) {
13361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_DocumentStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13363 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 (arg1
)->DocumentStart();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_Py_Void();
13377 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DocumentStartExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13378 PyObject
*resultobj
= 0;
13379 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13382 PyObject
*swig_obj
[1] ;
13384 if (!args
) SWIG_fail
;
13385 swig_obj
[0] = args
;
13386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13387 if (!SWIG_IsOK(res1
)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_DocumentStartExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13390 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 (arg1
)->DocumentStartExtend();
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= SWIG_Py_Void();
13404 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DocumentEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13405 PyObject
*resultobj
= 0;
13406 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13409 PyObject
*swig_obj
[1] ;
13411 if (!args
) SWIG_fail
;
13412 swig_obj
[0] = args
;
13413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13414 if (!SWIG_IsOK(res1
)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_DocumentEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13417 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 (arg1
)->DocumentEnd();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_Py_Void();
13431 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DocumentEndExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13432 PyObject
*resultobj
= 0;
13433 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13436 PyObject
*swig_obj
[1] ;
13438 if (!args
) SWIG_fail
;
13439 swig_obj
[0] = args
;
13440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13441 if (!SWIG_IsOK(res1
)) {
13442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_DocumentEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13444 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 (arg1
)->DocumentEndExtend();
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= SWIG_Py_Void();
13458 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13459 PyObject
*resultobj
= 0;
13460 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13463 PyObject
*swig_obj
[1] ;
13465 if (!args
) SWIG_fail
;
13466 swig_obj
[0] = args
;
13467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13468 if (!SWIG_IsOK(res1
)) {
13469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13471 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_Py_Void();
13485 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_PageUpExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13486 PyObject
*resultobj
= 0;
13487 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13490 PyObject
*swig_obj
[1] ;
13492 if (!args
) SWIG_fail
;
13493 swig_obj
[0] = args
;
13494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13495 if (!SWIG_IsOK(res1
)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_PageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13498 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 (arg1
)->PageUpExtend();
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= SWIG_Py_Void();
13512 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13513 PyObject
*resultobj
= 0;
13514 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13517 PyObject
*swig_obj
[1] ;
13519 if (!args
) SWIG_fail
;
13520 swig_obj
[0] = args
;
13521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13522 if (!SWIG_IsOK(res1
)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13525 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 (arg1
)->PageDown();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= SWIG_Py_Void();
13539 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_PageDownExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13540 PyObject
*resultobj
= 0;
13541 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13544 PyObject
*swig_obj
[1] ;
13546 if (!args
) SWIG_fail
;
13547 swig_obj
[0] = args
;
13548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13549 if (!SWIG_IsOK(res1
)) {
13550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_PageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13552 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 (arg1
)->PageDownExtend();
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= SWIG_Py_Void();
13566 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_EditToggleOvertype(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13567 PyObject
*resultobj
= 0;
13568 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13571 PyObject
*swig_obj
[1] ;
13573 if (!args
) SWIG_fail
;
13574 swig_obj
[0] = args
;
13575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_EditToggleOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13579 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 (arg1
)->EditToggleOvertype();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_Py_Void();
13593 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_Cancel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13594 PyObject
*resultobj
= 0;
13595 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13598 PyObject
*swig_obj
[1] ;
13600 if (!args
) SWIG_fail
;
13601 swig_obj
[0] = args
;
13602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13603 if (!SWIG_IsOK(res1
)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_Cancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13606 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= SWIG_Py_Void();
13620 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DeleteBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13621 PyObject
*resultobj
= 0;
13622 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13625 PyObject
*swig_obj
[1] ;
13627 if (!args
) SWIG_fail
;
13628 swig_obj
[0] = args
;
13629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13630 if (!SWIG_IsOK(res1
)) {
13631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_DeleteBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13633 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 (arg1
)->DeleteBack();
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= SWIG_Py_Void();
13647 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_Tab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13648 PyObject
*resultobj
= 0;
13649 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13652 PyObject
*swig_obj
[1] ;
13654 if (!args
) SWIG_fail
;
13655 swig_obj
[0] = args
;
13656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13657 if (!SWIG_IsOK(res1
)) {
13658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_Tab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13660 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= SWIG_Py_Void();
13674 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_BackTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13675 PyObject
*resultobj
= 0;
13676 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13679 PyObject
*swig_obj
[1] ;
13681 if (!args
) SWIG_fail
;
13682 swig_obj
[0] = args
;
13683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13684 if (!SWIG_IsOK(res1
)) {
13685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_BackTab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13687 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= SWIG_Py_Void();
13701 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_NewLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13702 PyObject
*resultobj
= 0;
13703 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13706 PyObject
*swig_obj
[1] ;
13708 if (!args
) SWIG_fail
;
13709 swig_obj
[0] = args
;
13710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13711 if (!SWIG_IsOK(res1
)) {
13712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_NewLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13714 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= SWIG_Py_Void();
13728 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_FormFeed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13729 PyObject
*resultobj
= 0;
13730 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13733 PyObject
*swig_obj
[1] ;
13735 if (!args
) SWIG_fail
;
13736 swig_obj
[0] = args
;
13737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13738 if (!SWIG_IsOK(res1
)) {
13739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_FormFeed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13741 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 (arg1
)->FormFeed();
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= SWIG_Py_Void();
13755 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_VCHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13756 PyObject
*resultobj
= 0;
13757 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13760 PyObject
*swig_obj
[1] ;
13762 if (!args
) SWIG_fail
;
13763 swig_obj
[0] = args
;
13764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13765 if (!SWIG_IsOK(res1
)) {
13766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_VCHome" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13768 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= SWIG_Py_Void();
13782 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_VCHomeExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13783 PyObject
*resultobj
= 0;
13784 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13787 PyObject
*swig_obj
[1] ;
13789 if (!args
) SWIG_fail
;
13790 swig_obj
[0] = args
;
13791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13792 if (!SWIG_IsOK(res1
)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_VCHomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13795 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 (arg1
)->VCHomeExtend();
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= SWIG_Py_Void();
13809 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ZoomIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13810 PyObject
*resultobj
= 0;
13811 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13814 PyObject
*swig_obj
[1] ;
13816 if (!args
) SWIG_fail
;
13817 swig_obj
[0] = args
;
13818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13819 if (!SWIG_IsOK(res1
)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ZoomIn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13822 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 resultobj
= SWIG_Py_Void();
13836 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ZoomOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13837 PyObject
*resultobj
= 0;
13838 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13841 PyObject
*swig_obj
[1] ;
13843 if (!args
) SWIG_fail
;
13844 swig_obj
[0] = args
;
13845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13846 if (!SWIG_IsOK(res1
)) {
13847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ZoomOut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13849 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 wxPyEndAllowThreads(__tstate
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13856 resultobj
= SWIG_Py_Void();
13863 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DelWordLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13864 PyObject
*resultobj
= 0;
13865 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13868 PyObject
*swig_obj
[1] ;
13870 if (!args
) SWIG_fail
;
13871 swig_obj
[0] = args
;
13872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13873 if (!SWIG_IsOK(res1
)) {
13874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_DelWordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13876 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 (arg1
)->DelWordLeft();
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= SWIG_Py_Void();
13890 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DelWordRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13891 PyObject
*resultobj
= 0;
13892 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13895 PyObject
*swig_obj
[1] ;
13897 if (!args
) SWIG_fail
;
13898 swig_obj
[0] = args
;
13899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13900 if (!SWIG_IsOK(res1
)) {
13901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_DelWordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13903 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 (arg1
)->DelWordRight();
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 resultobj
= SWIG_Py_Void();
13917 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13918 PyObject
*resultobj
= 0;
13919 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13922 PyObject
*swig_obj
[1] ;
13924 if (!args
) SWIG_fail
;
13925 swig_obj
[0] = args
;
13926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13927 if (!SWIG_IsOK(res1
)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineCut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13930 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= SWIG_Py_Void();
13944 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13945 PyObject
*resultobj
= 0;
13946 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13949 PyObject
*swig_obj
[1] ;
13951 if (!args
) SWIG_fail
;
13952 swig_obj
[0] = args
;
13953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13954 if (!SWIG_IsOK(res1
)) {
13955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13957 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 (arg1
)->LineDelete();
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_Py_Void();
13971 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineTranspose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13972 PyObject
*resultobj
= 0;
13973 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
13976 PyObject
*swig_obj
[1] ;
13978 if (!args
) SWIG_fail
;
13979 swig_obj
[0] = args
;
13980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
13981 if (!SWIG_IsOK(res1
)) {
13982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineTranspose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13984 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 (arg1
)->LineTranspose();
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_Py_Void();
13998 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineDuplicate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13999 PyObject
*resultobj
= 0;
14000 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14003 PyObject
*swig_obj
[1] ;
14005 if (!args
) SWIG_fail
;
14006 swig_obj
[0] = args
;
14007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14008 if (!SWIG_IsOK(res1
)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14011 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 (arg1
)->LineDuplicate();
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_Py_Void();
14025 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LowerCase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14026 PyObject
*resultobj
= 0;
14027 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14030 PyObject
*swig_obj
[1] ;
14032 if (!args
) SWIG_fail
;
14033 swig_obj
[0] = args
;
14034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14035 if (!SWIG_IsOK(res1
)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LowerCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14038 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 (arg1
)->LowerCase();
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= SWIG_Py_Void();
14052 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_UpperCase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14053 PyObject
*resultobj
= 0;
14054 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14057 PyObject
*swig_obj
[1] ;
14059 if (!args
) SWIG_fail
;
14060 swig_obj
[0] = args
;
14061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14062 if (!SWIG_IsOK(res1
)) {
14063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_UpperCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14065 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 (arg1
)->UpperCase();
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= SWIG_Py_Void();
14079 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineScrollDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14080 PyObject
*resultobj
= 0;
14081 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14084 PyObject
*swig_obj
[1] ;
14086 if (!args
) SWIG_fail
;
14087 swig_obj
[0] = args
;
14088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14089 if (!SWIG_IsOK(res1
)) {
14090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineScrollDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14092 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 (arg1
)->LineScrollDown();
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_Py_Void();
14106 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineScrollUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14107 PyObject
*resultobj
= 0;
14108 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14111 PyObject
*swig_obj
[1] ;
14113 if (!args
) SWIG_fail
;
14114 swig_obj
[0] = args
;
14115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14116 if (!SWIG_IsOK(res1
)) {
14117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineScrollUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14119 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 (arg1
)->LineScrollUp();
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= SWIG_Py_Void();
14133 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14134 PyObject
*resultobj
= 0;
14135 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14138 PyObject
*swig_obj
[1] ;
14140 if (!args
) SWIG_fail
;
14141 swig_obj
[0] = args
;
14142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14143 if (!SWIG_IsOK(res1
)) {
14144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_DeleteBackNotLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14146 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 (arg1
)->DeleteBackNotLine();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= SWIG_Py_Void();
14160 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_HomeDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14161 PyObject
*resultobj
= 0;
14162 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14165 PyObject
*swig_obj
[1] ;
14167 if (!args
) SWIG_fail
;
14168 swig_obj
[0] = args
;
14169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14170 if (!SWIG_IsOK(res1
)) {
14171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_HomeDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14173 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 (arg1
)->HomeDisplay();
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= SWIG_Py_Void();
14187 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14188 PyObject
*resultobj
= 0;
14189 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14192 PyObject
*swig_obj
[1] ;
14194 if (!args
) SWIG_fail
;
14195 swig_obj
[0] = args
;
14196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14197 if (!SWIG_IsOK(res1
)) {
14198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_HomeDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14200 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 (arg1
)->HomeDisplayExtend();
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14207 resultobj
= SWIG_Py_Void();
14214 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineEndDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14215 PyObject
*resultobj
= 0;
14216 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14219 PyObject
*swig_obj
[1] ;
14221 if (!args
) SWIG_fail
;
14222 swig_obj
[0] = args
;
14223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14224 if (!SWIG_IsOK(res1
)) {
14225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineEndDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14227 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 (arg1
)->LineEndDisplay();
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= SWIG_Py_Void();
14241 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14242 PyObject
*resultobj
= 0;
14243 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14246 PyObject
*swig_obj
[1] ;
14248 if (!args
) SWIG_fail
;
14249 swig_obj
[0] = args
;
14250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14251 if (!SWIG_IsOK(res1
)) {
14252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineEndDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14254 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 (arg1
)->LineEndDisplayExtend();
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 resultobj
= SWIG_Py_Void();
14268 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_HomeWrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14269 PyObject
*resultobj
= 0;
14270 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14273 PyObject
*swig_obj
[1] ;
14275 if (!args
) SWIG_fail
;
14276 swig_obj
[0] = args
;
14277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14278 if (!SWIG_IsOK(res1
)) {
14279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_HomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14281 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 (arg1
)->HomeWrap();
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14288 resultobj
= SWIG_Py_Void();
14295 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_HomeWrapExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14296 PyObject
*resultobj
= 0;
14297 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14300 PyObject
*swig_obj
[1] ;
14302 if (!args
) SWIG_fail
;
14303 swig_obj
[0] = args
;
14304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14305 if (!SWIG_IsOK(res1
)) {
14306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_HomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14308 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 (arg1
)->HomeWrapExtend();
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= SWIG_Py_Void();
14322 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineEndWrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14323 PyObject
*resultobj
= 0;
14324 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14327 PyObject
*swig_obj
[1] ;
14329 if (!args
) SWIG_fail
;
14330 swig_obj
[0] = args
;
14331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14332 if (!SWIG_IsOK(res1
)) {
14333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineEndWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14335 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 (arg1
)->LineEndWrap();
14339 wxPyEndAllowThreads(__tstate
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14342 resultobj
= SWIG_Py_Void();
14349 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14350 PyObject
*resultobj
= 0;
14351 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14354 PyObject
*swig_obj
[1] ;
14356 if (!args
) SWIG_fail
;
14357 swig_obj
[0] = args
;
14358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14359 if (!SWIG_IsOK(res1
)) {
14360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineEndWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14362 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 (arg1
)->LineEndWrapExtend();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= SWIG_Py_Void();
14376 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_VCHomeWrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14377 PyObject
*resultobj
= 0;
14378 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14381 PyObject
*swig_obj
[1] ;
14383 if (!args
) SWIG_fail
;
14384 swig_obj
[0] = args
;
14385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14386 if (!SWIG_IsOK(res1
)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_VCHomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14389 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 (arg1
)->VCHomeWrap();
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= SWIG_Py_Void();
14403 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14404 PyObject
*resultobj
= 0;
14405 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14408 PyObject
*swig_obj
[1] ;
14410 if (!args
) SWIG_fail
;
14411 swig_obj
[0] = args
;
14412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14413 if (!SWIG_IsOK(res1
)) {
14414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_VCHomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14416 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 (arg1
)->VCHomeWrapExtend();
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= SWIG_Py_Void();
14430 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14431 PyObject
*resultobj
= 0;
14432 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14435 PyObject
*swig_obj
[1] ;
14437 if (!args
) SWIG_fail
;
14438 swig_obj
[0] = args
;
14439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14440 if (!SWIG_IsOK(res1
)) {
14441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineCopy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14443 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 (arg1
)->LineCopy();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= SWIG_Py_Void();
14457 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14458 PyObject
*resultobj
= 0;
14459 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14462 PyObject
*swig_obj
[1] ;
14464 if (!args
) SWIG_fail
;
14465 swig_obj
[0] = args
;
14466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14467 if (!SWIG_IsOK(res1
)) {
14468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_MoveCaretInsideView" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14470 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 (arg1
)->MoveCaretInsideView();
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= SWIG_Py_Void();
14484 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14485 PyObject
*resultobj
= 0;
14486 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14493 PyObject
* obj0
= 0 ;
14494 PyObject
* obj1
= 0 ;
14495 char * kwnames
[] = {
14496 (char *) "self",(char *) "line", NULL
14499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_LineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14501 if (!SWIG_IsOK(res1
)) {
14502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14504 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14506 if (!SWIG_IsOK(ecode2
)) {
14507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "2"" of type '" "int""'");
14509 arg2
= static_cast< int >(val2
);
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (int)(arg1
)->LineLength(arg2
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_From_int(static_cast< int >(result
));
14523 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_BraceHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
= 0;
14525 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14534 PyObject
* obj0
= 0 ;
14535 PyObject
* obj1
= 0 ;
14536 PyObject
* obj2
= 0 ;
14537 char * kwnames
[] = {
14538 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
14541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14543 if (!SWIG_IsOK(res1
)) {
14544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14546 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14548 if (!SWIG_IsOK(ecode2
)) {
14549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "2"" of type '" "int""'");
14551 arg2
= static_cast< int >(val2
);
14552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14553 if (!SWIG_IsOK(ecode3
)) {
14554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "3"" of type '" "int""'");
14556 arg3
= static_cast< int >(val3
);
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 (arg1
)->BraceHighlight(arg2
,arg3
);
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14563 resultobj
= SWIG_Py_Void();
14570 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_BraceBadLight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14571 PyObject
*resultobj
= 0;
14572 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 PyObject
* obj1
= 0 ;
14580 char * kwnames
[] = {
14581 (char *) "self",(char *) "pos", NULL
14584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14586 if (!SWIG_IsOK(res1
)) {
14587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14589 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14591 if (!SWIG_IsOK(ecode2
)) {
14592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "2"" of type '" "int""'");
14594 arg2
= static_cast< int >(val2
);
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 (arg1
)->BraceBadLight(arg2
);
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= SWIG_Py_Void();
14608 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_BraceMatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
= 0;
14610 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 PyObject
* obj1
= 0 ;
14619 char * kwnames
[] = {
14620 (char *) "self",(char *) "pos", NULL
14623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14625 if (!SWIG_IsOK(res1
)) {
14626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14628 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14630 if (!SWIG_IsOK(ecode2
)) {
14631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "2"" of type '" "int""'");
14633 arg2
= static_cast< int >(val2
);
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 result
= (int)(arg1
)->BraceMatch(arg2
);
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= SWIG_From_int(static_cast< int >(result
));
14647 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetViewEOL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14648 PyObject
*resultobj
= 0;
14649 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14653 PyObject
*swig_obj
[1] ;
14655 if (!args
) SWIG_fail
;
14656 swig_obj
[0] = args
;
14657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14658 if (!SWIG_IsOK(res1
)) {
14659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14661 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= (bool)(arg1
)->GetViewEOL();
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14677 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetViewEOL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
= 0;
14679 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14685 PyObject
* obj0
= 0 ;
14686 PyObject
* obj1
= 0 ;
14687 char * kwnames
[] = {
14688 (char *) "self",(char *) "visible", NULL
14691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14693 if (!SWIG_IsOK(res1
)) {
14694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14696 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14697 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14698 if (!SWIG_IsOK(ecode2
)) {
14699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "2"" of type '" "bool""'");
14701 arg2
= static_cast< bool >(val2
);
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 (arg1
)->SetViewEOL(arg2
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_Py_Void();
14715 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetDocPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14716 PyObject
*resultobj
= 0;
14717 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14721 PyObject
*swig_obj
[1] ;
14723 if (!args
) SWIG_fail
;
14724 swig_obj
[0] = args
;
14725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14726 if (!SWIG_IsOK(res1
)) {
14727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14729 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 result
= (void *)(arg1
)->GetDocPointer();
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
14743 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetDocPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
= 0;
14745 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14746 void *arg2
= (void *) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 PyObject
* obj1
= 0 ;
14752 char * kwnames
[] = {
14753 (char *) "self",(char *) "docPointer", NULL
14756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14758 if (!SWIG_IsOK(res1
)) {
14759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14761 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14762 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
14763 if (!SWIG_IsOK(res2
)) {
14764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "2"" of type '" "void *""'");
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 (arg1
)->SetDocPointer(arg2
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 resultobj
= SWIG_Py_Void();
14779 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetModEventMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
= 0;
14781 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 PyObject
* obj1
= 0 ;
14789 char * kwnames
[] = {
14790 (char *) "self",(char *) "mask", NULL
14793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14795 if (!SWIG_IsOK(res1
)) {
14796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14798 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14800 if (!SWIG_IsOK(ecode2
)) {
14801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "2"" of type '" "int""'");
14803 arg2
= static_cast< int >(val2
);
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 (arg1
)->SetModEventMask(arg2
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_Py_Void();
14817 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetEdgeColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14818 PyObject
*resultobj
= 0;
14819 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14823 PyObject
*swig_obj
[1] ;
14825 if (!args
) SWIG_fail
;
14826 swig_obj
[0] = args
;
14827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14828 if (!SWIG_IsOK(res1
)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14831 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 result
= (int)(arg1
)->GetEdgeColumn();
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_From_int(static_cast< int >(result
));
14845 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetEdgeColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
= 0;
14847 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 char * kwnames
[] = {
14856 (char *) "self",(char *) "column", NULL
14859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14861 if (!SWIG_IsOK(res1
)) {
14862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14864 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14866 if (!SWIG_IsOK(ecode2
)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "2"" of type '" "int""'");
14869 arg2
= static_cast< int >(val2
);
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 (arg1
)->SetEdgeColumn(arg2
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= SWIG_Py_Void();
14883 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetEdgeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14884 PyObject
*resultobj
= 0;
14885 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14889 PyObject
*swig_obj
[1] ;
14891 if (!args
) SWIG_fail
;
14892 swig_obj
[0] = args
;
14893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14894 if (!SWIG_IsOK(res1
)) {
14895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14897 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= (int)(arg1
)->GetEdgeMode();
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14904 resultobj
= SWIG_From_int(static_cast< int >(result
));
14911 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetEdgeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
= 0;
14913 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 char * kwnames
[] = {
14922 (char *) "self",(char *) "mode", NULL
14925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14927 if (!SWIG_IsOK(res1
)) {
14928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14930 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14932 if (!SWIG_IsOK(ecode2
)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "2"" of type '" "int""'");
14935 arg2
= static_cast< int >(val2
);
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 (arg1
)->SetEdgeMode(arg2
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= SWIG_Py_Void();
14949 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetEdgeColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14950 PyObject
*resultobj
= 0;
14951 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14955 PyObject
*swig_obj
[1] ;
14957 if (!args
) SWIG_fail
;
14958 swig_obj
[0] = args
;
14959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14960 if (!SWIG_IsOK(res1
)) {
14961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14963 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (arg1
)->GetEdgeColour();
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14977 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetEdgeColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
= 0;
14979 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
14980 wxColour
*arg2
= 0 ;
14984 PyObject
* obj0
= 0 ;
14985 PyObject
* obj1
= 0 ;
14986 char * kwnames
[] = {
14987 (char *) "self",(char *) "edgeColour", NULL
14990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
14992 if (!SWIG_IsOK(res1
)) {
14993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14995 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
14998 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 (arg1
)->SetEdgeColour((wxColour
const &)*arg2
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= SWIG_Py_Void();
15013 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SearchAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15014 PyObject
*resultobj
= 0;
15015 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15018 PyObject
*swig_obj
[1] ;
15020 if (!args
) SWIG_fail
;
15021 swig_obj
[0] = args
;
15022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SearchAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15026 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 (arg1
)->SearchAnchor();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= SWIG_Py_Void();
15040 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SearchNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
= 0;
15042 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15044 wxString
*arg3
= 0 ;
15050 bool temp3
= false ;
15051 PyObject
* obj0
= 0 ;
15052 PyObject
* obj1
= 0 ;
15053 PyObject
* obj2
= 0 ;
15054 char * kwnames
[] = {
15055 (char *) "self",(char *) "flags",(char *) "text", NULL
15058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15060 if (!SWIG_IsOK(res1
)) {
15061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15063 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15065 if (!SWIG_IsOK(ecode2
)) {
15066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "2"" of type '" "int""'");
15068 arg2
= static_cast< int >(val2
);
15070 arg3
= wxString_in_helper(obj2
);
15071 if (arg3
== NULL
) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= (int)(arg1
)->SearchNext(arg2
,(wxString
const &)*arg3
);
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= SWIG_From_int(static_cast< int >(result
));
15095 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SearchPrev(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
= 0;
15097 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15099 wxString
*arg3
= 0 ;
15105 bool temp3
= false ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 PyObject
* obj2
= 0 ;
15109 char * kwnames
[] = {
15110 (char *) "self",(char *) "flags",(char *) "text", NULL
15113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15115 if (!SWIG_IsOK(res1
)) {
15116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15118 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15120 if (!SWIG_IsOK(ecode2
)) {
15121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "2"" of type '" "int""'");
15123 arg2
= static_cast< int >(val2
);
15125 arg3
= wxString_in_helper(obj2
);
15126 if (arg3
== NULL
) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 result
= (int)(arg1
)->SearchPrev(arg2
,(wxString
const &)*arg3
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= SWIG_From_int(static_cast< int >(result
));
15150 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LinesOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15151 PyObject
*resultobj
= 0;
15152 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15156 PyObject
*swig_obj
[1] ;
15158 if (!args
) SWIG_fail
;
15159 swig_obj
[0] = args
;
15160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15161 if (!SWIG_IsOK(res1
)) {
15162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LinesOnScreen" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15164 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 result
= (int)(arg1
)->LinesOnScreen();
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= SWIG_From_int(static_cast< int >(result
));
15178 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_UsePopUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
= 0;
15180 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 PyObject
* obj1
= 0 ;
15188 char * kwnames
[] = {
15189 (char *) "self",(char *) "allowPopUp", NULL
15192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15194 if (!SWIG_IsOK(res1
)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15197 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15198 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15199 if (!SWIG_IsOK(ecode2
)) {
15200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "2"" of type '" "bool""'");
15202 arg2
= static_cast< bool >(val2
);
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 (arg1
)->UsePopUp(arg2
);
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15209 resultobj
= SWIG_Py_Void();
15216 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15217 PyObject
*resultobj
= 0;
15218 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15222 PyObject
*swig_obj
[1] ;
15224 if (!args
) SWIG_fail
;
15225 swig_obj
[0] = args
;
15226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15227 if (!SWIG_IsOK(res1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SelectionIsRectangle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15230 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= (bool)(arg1
)->SelectionIsRectangle();
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15246 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
= 0;
15248 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 PyObject
* obj1
= 0 ;
15256 char * kwnames
[] = {
15257 (char *) "self",(char *) "zoom", NULL
15260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15262 if (!SWIG_IsOK(res1
)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15265 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15267 if (!SWIG_IsOK(ecode2
)) {
15268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "2"" of type '" "int""'");
15270 arg2
= static_cast< int >(val2
);
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 (arg1
)->SetZoom(arg2
);
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= SWIG_Py_Void();
15284 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15285 PyObject
*resultobj
= 0;
15286 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15290 PyObject
*swig_obj
[1] ;
15292 if (!args
) SWIG_fail
;
15293 swig_obj
[0] = args
;
15294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15295 if (!SWIG_IsOK(res1
)) {
15296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15298 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (int)(arg1
)->GetZoom();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= SWIG_From_int(static_cast< int >(result
));
15312 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CreateDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15313 PyObject
*resultobj
= 0;
15314 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15318 PyObject
*swig_obj
[1] ;
15320 if (!args
) SWIG_fail
;
15321 swig_obj
[0] = args
;
15322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15323 if (!SWIG_IsOK(res1
)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CreateDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15326 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 result
= (void *)(arg1
)->CreateDocument();
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
15340 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AddRefDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
= 0;
15342 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15343 void *arg2
= (void *) 0 ;
15347 PyObject
* obj0
= 0 ;
15348 PyObject
* obj1
= 0 ;
15349 char * kwnames
[] = {
15350 (char *) "self",(char *) "docPointer", NULL
15353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15355 if (!SWIG_IsOK(res1
)) {
15356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15358 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15359 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
15360 if (!SWIG_IsOK(res2
)) {
15361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "2"" of type '" "void *""'");
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 (arg1
)->AddRefDocument(arg2
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= SWIG_Py_Void();
15376 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ReleaseDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
= 0;
15378 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15379 void *arg2
= (void *) 0 ;
15383 PyObject
* obj0
= 0 ;
15384 PyObject
* obj1
= 0 ;
15385 char * kwnames
[] = {
15386 (char *) "self",(char *) "docPointer", NULL
15389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15391 if (!SWIG_IsOK(res1
)) {
15392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15394 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15395 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
15396 if (!SWIG_IsOK(res2
)) {
15397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "2"" of type '" "void *""'");
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 (arg1
)->ReleaseDocument(arg2
);
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= SWIG_Py_Void();
15412 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetModEventMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15413 PyObject
*resultobj
= 0;
15414 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15418 PyObject
*swig_obj
[1] ;
15420 if (!args
) SWIG_fail
;
15421 swig_obj
[0] = args
;
15422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15423 if (!SWIG_IsOK(res1
)) {
15424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15426 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (int)(arg1
)->GetModEventMask();
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= SWIG_From_int(static_cast< int >(result
));
15440 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetSTCFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
= 0;
15442 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 char * kwnames
[] = {
15451 (char *) "self",(char *) "focus", NULL
15454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15456 if (!SWIG_IsOK(res1
)) {
15457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15459 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15460 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15461 if (!SWIG_IsOK(ecode2
)) {
15462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "2"" of type '" "bool""'");
15464 arg2
= static_cast< bool >(val2
);
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 (arg1
)->SetSTCFocus(arg2
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= SWIG_Py_Void();
15478 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetSTCFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15479 PyObject
*resultobj
= 0;
15480 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15484 PyObject
*swig_obj
[1] ;
15486 if (!args
) SWIG_fail
;
15487 swig_obj
[0] = args
;
15488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15489 if (!SWIG_IsOK(res1
)) {
15490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15492 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 result
= (bool)(arg1
)->GetSTCFocus();
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15508 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
= 0;
15510 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15516 PyObject
* obj0
= 0 ;
15517 PyObject
* obj1
= 0 ;
15518 char * kwnames
[] = {
15519 (char *) "self",(char *) "statusCode", NULL
15522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15524 if (!SWIG_IsOK(res1
)) {
15525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15527 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15529 if (!SWIG_IsOK(ecode2
)) {
15530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "2"" of type '" "int""'");
15532 arg2
= static_cast< int >(val2
);
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 (arg1
)->SetStatus(arg2
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= SWIG_Py_Void();
15546 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15547 PyObject
*resultobj
= 0;
15548 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15552 PyObject
*swig_obj
[1] ;
15554 if (!args
) SWIG_fail
;
15555 swig_obj
[0] = args
;
15556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15557 if (!SWIG_IsOK(res1
)) {
15558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15560 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 result
= (int)(arg1
)->GetStatus();
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_From_int(static_cast< int >(result
));
15574 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
= 0;
15576 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15582 PyObject
* obj0
= 0 ;
15583 PyObject
* obj1
= 0 ;
15584 char * kwnames
[] = {
15585 (char *) "self",(char *) "captures", NULL
15588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15590 if (!SWIG_IsOK(res1
)) {
15591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15593 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15594 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15595 if (!SWIG_IsOK(ecode2
)) {
15596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "2"" of type '" "bool""'");
15598 arg2
= static_cast< bool >(val2
);
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 (arg1
)->SetMouseDownCaptures(arg2
);
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= SWIG_Py_Void();
15612 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15613 PyObject
*resultobj
= 0;
15614 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15618 PyObject
*swig_obj
[1] ;
15620 if (!args
) SWIG_fail
;
15621 swig_obj
[0] = args
;
15622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15623 if (!SWIG_IsOK(res1
)) {
15624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15626 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15629 result
= (bool)(arg1
)->GetMouseDownCaptures();
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15642 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetSTCCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
= 0;
15644 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15650 PyObject
* obj0
= 0 ;
15651 PyObject
* obj1
= 0 ;
15652 char * kwnames
[] = {
15653 (char *) "self",(char *) "cursorType", NULL
15656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15658 if (!SWIG_IsOK(res1
)) {
15659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15661 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15663 if (!SWIG_IsOK(ecode2
)) {
15664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "2"" of type '" "int""'");
15666 arg2
= static_cast< int >(val2
);
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 (arg1
)->SetSTCCursor(arg2
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= SWIG_Py_Void();
15680 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetSTCCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15681 PyObject
*resultobj
= 0;
15682 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15686 PyObject
*swig_obj
[1] ;
15688 if (!args
) SWIG_fail
;
15689 swig_obj
[0] = args
;
15690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15691 if (!SWIG_IsOK(res1
)) {
15692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15694 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= (int)(arg1
)->GetSTCCursor();
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= SWIG_From_int(static_cast< int >(result
));
15708 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
= 0;
15710 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15716 PyObject
* obj0
= 0 ;
15717 PyObject
* obj1
= 0 ;
15718 char * kwnames
[] = {
15719 (char *) "self",(char *) "symbol", NULL
15722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15724 if (!SWIG_IsOK(res1
)) {
15725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15727 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15729 if (!SWIG_IsOK(ecode2
)) {
15730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "2"" of type '" "int""'");
15732 arg2
= static_cast< int >(val2
);
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 (arg1
)->SetControlCharSymbol(arg2
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= SWIG_Py_Void();
15746 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15747 PyObject
*resultobj
= 0;
15748 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15752 PyObject
*swig_obj
[1] ;
15754 if (!args
) SWIG_fail
;
15755 swig_obj
[0] = args
;
15756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15757 if (!SWIG_IsOK(res1
)) {
15758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15760 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (int)(arg1
)->GetControlCharSymbol();
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= SWIG_From_int(static_cast< int >(result
));
15774 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordPartLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15775 PyObject
*resultobj
= 0;
15776 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15779 PyObject
*swig_obj
[1] ;
15781 if (!args
) SWIG_fail
;
15782 swig_obj
[0] = args
;
15783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15784 if (!SWIG_IsOK(res1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordPartLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15787 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 (arg1
)->WordPartLeft();
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= SWIG_Py_Void();
15801 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15802 PyObject
*resultobj
= 0;
15803 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15806 PyObject
*swig_obj
[1] ;
15808 if (!args
) SWIG_fail
;
15809 swig_obj
[0] = args
;
15810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15811 if (!SWIG_IsOK(res1
)) {
15812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordPartLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15814 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 (arg1
)->WordPartLeftExtend();
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= SWIG_Py_Void();
15828 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordPartRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15829 PyObject
*resultobj
= 0;
15830 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15833 PyObject
*swig_obj
[1] ;
15835 if (!args
) SWIG_fail
;
15836 swig_obj
[0] = args
;
15837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15838 if (!SWIG_IsOK(res1
)) {
15839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordPartRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15841 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 (arg1
)->WordPartRight();
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15848 resultobj
= SWIG_Py_Void();
15855 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordPartRightExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15856 PyObject
*resultobj
= 0;
15857 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15860 PyObject
*swig_obj
[1] ;
15862 if (!args
) SWIG_fail
;
15863 swig_obj
[0] = args
;
15864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15865 if (!SWIG_IsOK(res1
)) {
15866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordPartRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15868 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 (arg1
)->WordPartRightExtend();
15872 wxPyEndAllowThreads(__tstate
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15875 resultobj
= SWIG_Py_Void();
15882 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
= 0;
15884 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 PyObject
* obj2
= 0 ;
15896 char * kwnames
[] = {
15897 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
15900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15902 if (!SWIG_IsOK(res1
)) {
15903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15905 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15907 if (!SWIG_IsOK(ecode2
)) {
15908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "2"" of type '" "int""'");
15910 arg2
= static_cast< int >(val2
);
15911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15912 if (!SWIG_IsOK(ecode3
)) {
15913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "3"" of type '" "int""'");
15915 arg3
= static_cast< int >(val3
);
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 (arg1
)->SetVisiblePolicy(arg2
,arg3
);
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= SWIG_Py_Void();
15929 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DelLineLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15930 PyObject
*resultobj
= 0;
15931 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15934 PyObject
*swig_obj
[1] ;
15936 if (!args
) SWIG_fail
;
15937 swig_obj
[0] = args
;
15938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15939 if (!SWIG_IsOK(res1
)) {
15940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_DelLineLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15942 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 (arg1
)->DelLineLeft();
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= SWIG_Py_Void();
15956 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DelLineRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15957 PyObject
*resultobj
= 0;
15958 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15961 PyObject
*swig_obj
[1] ;
15963 if (!args
) SWIG_fail
;
15964 swig_obj
[0] = args
;
15965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15966 if (!SWIG_IsOK(res1
)) {
15967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_DelLineRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15969 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 (arg1
)->DelLineRight();
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= SWIG_Py_Void();
15983 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetXOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
= 0;
15985 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
15991 PyObject
* obj0
= 0 ;
15992 PyObject
* obj1
= 0 ;
15993 char * kwnames
[] = {
15994 (char *) "self",(char *) "newOffset", NULL
15997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
15999 if (!SWIG_IsOK(res1
)) {
16000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16002 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16004 if (!SWIG_IsOK(ecode2
)) {
16005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "2"" of type '" "int""'");
16007 arg2
= static_cast< int >(val2
);
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 (arg1
)->SetXOffset(arg2
);
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= SWIG_Py_Void();
16021 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetXOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16022 PyObject
*resultobj
= 0;
16023 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16027 PyObject
*swig_obj
[1] ;
16029 if (!args
) SWIG_fail
;
16030 swig_obj
[0] = args
;
16031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16032 if (!SWIG_IsOK(res1
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16035 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 result
= (int)(arg1
)->GetXOffset();
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= SWIG_From_int(static_cast< int >(result
));
16049 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ChooseCaretX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16050 PyObject
*resultobj
= 0;
16051 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16054 PyObject
*swig_obj
[1] ;
16056 if (!args
) SWIG_fail
;
16057 swig_obj
[0] = args
;
16058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16059 if (!SWIG_IsOK(res1
)) {
16060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ChooseCaretX" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16062 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 (arg1
)->ChooseCaretX();
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16069 resultobj
= SWIG_Py_Void();
16076 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
= 0;
16078 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16087 PyObject
* obj0
= 0 ;
16088 PyObject
* obj1
= 0 ;
16089 PyObject
* obj2
= 0 ;
16090 char * kwnames
[] = {
16091 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
16094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16096 if (!SWIG_IsOK(res1
)) {
16097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16099 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16101 if (!SWIG_IsOK(ecode2
)) {
16102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "2"" of type '" "int""'");
16104 arg2
= static_cast< int >(val2
);
16105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16106 if (!SWIG_IsOK(ecode3
)) {
16107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "3"" of type '" "int""'");
16109 arg3
= static_cast< int >(val3
);
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 (arg1
)->SetXCaretPolicy(arg2
,arg3
);
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= SWIG_Py_Void();
16123 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
= 0;
16125 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16134 PyObject
* obj0
= 0 ;
16135 PyObject
* obj1
= 0 ;
16136 PyObject
* obj2
= 0 ;
16137 char * kwnames
[] = {
16138 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
16141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16143 if (!SWIG_IsOK(res1
)) {
16144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16146 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16148 if (!SWIG_IsOK(ecode2
)) {
16149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "2"" of type '" "int""'");
16151 arg2
= static_cast< int >(val2
);
16152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16153 if (!SWIG_IsOK(ecode3
)) {
16154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "3"" of type '" "int""'");
16156 arg3
= static_cast< int >(val3
);
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 (arg1
)->SetYCaretPolicy(arg2
,arg3
);
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16163 resultobj
= SWIG_Py_Void();
16170 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
= 0;
16172 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 PyObject
* obj1
= 0 ;
16180 char * kwnames
[] = {
16181 (char *) "self",(char *) "mode", NULL
16184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16186 if (!SWIG_IsOK(res1
)) {
16187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16189 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16191 if (!SWIG_IsOK(ecode2
)) {
16192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "2"" of type '" "int""'");
16194 arg2
= static_cast< int >(val2
);
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 (arg1
)->SetPrintWrapMode(arg2
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16201 resultobj
= SWIG_Py_Void();
16208 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16209 PyObject
*resultobj
= 0;
16210 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16214 PyObject
*swig_obj
[1] ;
16216 if (!args
) SWIG_fail
;
16217 swig_obj
[0] = args
;
16218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16219 if (!SWIG_IsOK(res1
)) {
16220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16222 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= (int)(arg1
)->GetPrintWrapMode();
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 resultobj
= SWIG_From_int(static_cast< int >(result
));
16236 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
= 0;
16238 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16240 wxColour
*arg3
= 0 ;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 PyObject
* obj2
= 0 ;
16249 char * kwnames
[] = {
16250 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
16253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16255 if (!SWIG_IsOK(res1
)) {
16256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16258 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16259 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16260 if (!SWIG_IsOK(ecode2
)) {
16261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "2"" of type '" "bool""'");
16263 arg2
= static_cast< bool >(val2
);
16266 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 (arg1
)->SetHotspotActiveForeground(arg2
,(wxColour
const &)*arg3
);
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16274 resultobj
= SWIG_Py_Void();
16281 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
= 0;
16283 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16285 wxColour
*arg3
= 0 ;
16291 PyObject
* obj0
= 0 ;
16292 PyObject
* obj1
= 0 ;
16293 PyObject
* obj2
= 0 ;
16294 char * kwnames
[] = {
16295 (char *) "self",(char *) "useSetting",(char *) "back", NULL
16298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16300 if (!SWIG_IsOK(res1
)) {
16301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16303 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16304 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16305 if (!SWIG_IsOK(ecode2
)) {
16306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "2"" of type '" "bool""'");
16308 arg2
= static_cast< bool >(val2
);
16311 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 (arg1
)->SetHotspotActiveBackground(arg2
,(wxColour
const &)*arg3
);
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= SWIG_Py_Void();
16326 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
= 0;
16328 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj1
= 0 ;
16336 char * kwnames
[] = {
16337 (char *) "self",(char *) "underline", NULL
16340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16342 if (!SWIG_IsOK(res1
)) {
16343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16345 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16346 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16347 if (!SWIG_IsOK(ecode2
)) {
16348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "2"" of type '" "bool""'");
16350 arg2
= static_cast< bool >(val2
);
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 (arg1
)->SetHotspotActiveUnderline(arg2
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= SWIG_Py_Void();
16364 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
= 0;
16366 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 char * kwnames
[] = {
16375 (char *) "self",(char *) "singleLine", NULL
16378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16380 if (!SWIG_IsOK(res1
)) {
16381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16383 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16384 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16385 if (!SWIG_IsOK(ecode2
)) {
16386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "2"" of type '" "bool""'");
16388 arg2
= static_cast< bool >(val2
);
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 (arg1
)->SetHotspotSingleLine(arg2
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= SWIG_Py_Void();
16402 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ParaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16403 PyObject
*resultobj
= 0;
16404 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16407 PyObject
*swig_obj
[1] ;
16409 if (!args
) SWIG_fail
;
16410 swig_obj
[0] = args
;
16411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16412 if (!SWIG_IsOK(res1
)) {
16413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ParaDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16415 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 (arg1
)->ParaDown();
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16422 resultobj
= SWIG_Py_Void();
16429 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ParaDownExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16430 PyObject
*resultobj
= 0;
16431 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16434 PyObject
*swig_obj
[1] ;
16436 if (!args
) SWIG_fail
;
16437 swig_obj
[0] = args
;
16438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16439 if (!SWIG_IsOK(res1
)) {
16440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ParaDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16442 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 (arg1
)->ParaDownExtend();
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= SWIG_Py_Void();
16456 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ParaUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16457 PyObject
*resultobj
= 0;
16458 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16461 PyObject
*swig_obj
[1] ;
16463 if (!args
) SWIG_fail
;
16464 swig_obj
[0] = args
;
16465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16466 if (!SWIG_IsOK(res1
)) {
16467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ParaUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16469 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16476 resultobj
= SWIG_Py_Void();
16483 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ParaUpExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16484 PyObject
*resultobj
= 0;
16485 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16488 PyObject
*swig_obj
[1] ;
16490 if (!args
) SWIG_fail
;
16491 swig_obj
[0] = args
;
16492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16493 if (!SWIG_IsOK(res1
)) {
16494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ParaUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16496 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 (arg1
)->ParaUpExtend();
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= SWIG_Py_Void();
16510 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_PositionBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
= 0;
16512 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 PyObject
* obj1
= 0 ;
16521 char * kwnames
[] = {
16522 (char *) "self",(char *) "pos", NULL
16525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16527 if (!SWIG_IsOK(res1
)) {
16528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16530 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16532 if (!SWIG_IsOK(ecode2
)) {
16533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "2"" of type '" "int""'");
16535 arg2
= static_cast< int >(val2
);
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 result
= (int)(arg1
)->PositionBefore(arg2
);
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= SWIG_From_int(static_cast< int >(result
));
16549 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_PositionAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
= 0;
16551 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16558 PyObject
* obj0
= 0 ;
16559 PyObject
* obj1
= 0 ;
16560 char * kwnames
[] = {
16561 (char *) "self",(char *) "pos", NULL
16564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16566 if (!SWIG_IsOK(res1
)) {
16567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16569 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16571 if (!SWIG_IsOK(ecode2
)) {
16572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "2"" of type '" "int""'");
16574 arg2
= static_cast< int >(val2
);
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (int)(arg1
)->PositionAfter(arg2
);
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_From_int(static_cast< int >(result
));
16588 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CopyRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
= 0;
16590 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 PyObject
* obj1
= 0 ;
16601 PyObject
* obj2
= 0 ;
16602 char * kwnames
[] = {
16603 (char *) "self",(char *) "start",(char *) "end", NULL
16606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16608 if (!SWIG_IsOK(res1
)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16611 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16613 if (!SWIG_IsOK(ecode2
)) {
16614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "2"" of type '" "int""'");
16616 arg2
= static_cast< int >(val2
);
16617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16618 if (!SWIG_IsOK(ecode3
)) {
16619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "3"" of type '" "int""'");
16621 arg3
= static_cast< int >(val3
);
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 (arg1
)->CopyRange(arg2
,arg3
);
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16628 resultobj
= SWIG_Py_Void();
16635 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CopyText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16636 PyObject
*resultobj
= 0;
16637 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16639 wxString
*arg3
= 0 ;
16644 bool temp3
= false ;
16645 PyObject
* obj0
= 0 ;
16646 PyObject
* obj1
= 0 ;
16647 PyObject
* obj2
= 0 ;
16648 char * kwnames
[] = {
16649 (char *) "self",(char *) "length",(char *) "text", NULL
16652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CopyText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16654 if (!SWIG_IsOK(res1
)) {
16655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16657 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16659 if (!SWIG_IsOK(ecode2
)) {
16660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "2"" of type '" "int""'");
16662 arg2
= static_cast< int >(val2
);
16664 arg3
= wxString_in_helper(obj2
);
16665 if (arg3
== NULL
) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 (arg1
)->CopyText(arg2
,(wxString
const &)*arg3
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= SWIG_Py_Void();
16689 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
= 0;
16691 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 char * kwnames
[] = {
16700 (char *) "self",(char *) "mode", NULL
16703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16705 if (!SWIG_IsOK(res1
)) {
16706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16708 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16710 if (!SWIG_IsOK(ecode2
)) {
16711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "2"" of type '" "int""'");
16713 arg2
= static_cast< int >(val2
);
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 (arg1
)->SetSelectionMode(arg2
);
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= SWIG_Py_Void();
16727 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16728 PyObject
*resultobj
= 0;
16729 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16733 PyObject
*swig_obj
[1] ;
16735 if (!args
) SWIG_fail
;
16736 swig_obj
[0] = args
;
16737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16738 if (!SWIG_IsOK(res1
)) {
16739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16741 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 result
= (int)(arg1
)->GetSelectionMode();
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= SWIG_From_int(static_cast< int >(result
));
16755 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
= 0;
16757 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 char * kwnames
[] = {
16767 (char *) "self",(char *) "line", NULL
16770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16772 if (!SWIG_IsOK(res1
)) {
16773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16775 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16777 if (!SWIG_IsOK(ecode2
)) {
16778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "2"" of type '" "int""'");
16780 arg2
= static_cast< int >(val2
);
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 result
= (int)(arg1
)->GetLineSelStartPosition(arg2
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= SWIG_From_int(static_cast< int >(result
));
16794 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
= 0;
16796 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16803 PyObject
* obj0
= 0 ;
16804 PyObject
* obj1
= 0 ;
16805 char * kwnames
[] = {
16806 (char *) "self",(char *) "line", NULL
16809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16811 if (!SWIG_IsOK(res1
)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16814 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16816 if (!SWIG_IsOK(ecode2
)) {
16817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "2"" of type '" "int""'");
16819 arg2
= static_cast< int >(val2
);
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= (int)(arg1
)->GetLineSelEndPosition(arg2
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_From_int(static_cast< int >(result
));
16833 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineDownRectExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16834 PyObject
*resultobj
= 0;
16835 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16838 PyObject
*swig_obj
[1] ;
16840 if (!args
) SWIG_fail
;
16841 swig_obj
[0] = args
;
16842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16843 if (!SWIG_IsOK(res1
)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16846 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 (arg1
)->LineDownRectExtend();
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= SWIG_Py_Void();
16860 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineUpRectExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16861 PyObject
*resultobj
= 0;
16862 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16865 PyObject
*swig_obj
[1] ;
16867 if (!args
) SWIG_fail
;
16868 swig_obj
[0] = args
;
16869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16870 if (!SWIG_IsOK(res1
)) {
16871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16873 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 (arg1
)->LineUpRectExtend();
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 resultobj
= SWIG_Py_Void();
16887 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16888 PyObject
*resultobj
= 0;
16889 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16892 PyObject
*swig_obj
[1] ;
16894 if (!args
) SWIG_fail
;
16895 swig_obj
[0] = args
;
16896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16897 if (!SWIG_IsOK(res1
)) {
16898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CharLeftRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16900 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 (arg1
)->CharLeftRectExtend();
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= SWIG_Py_Void();
16914 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CharRightRectExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16915 PyObject
*resultobj
= 0;
16916 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16919 PyObject
*swig_obj
[1] ;
16921 if (!args
) SWIG_fail
;
16922 swig_obj
[0] = args
;
16923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16924 if (!SWIG_IsOK(res1
)) {
16925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CharRightRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16927 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 (arg1
)->CharRightRectExtend();
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= SWIG_Py_Void();
16941 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_HomeRectExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16942 PyObject
*resultobj
= 0;
16943 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16946 PyObject
*swig_obj
[1] ;
16948 if (!args
) SWIG_fail
;
16949 swig_obj
[0] = args
;
16950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16951 if (!SWIG_IsOK(res1
)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_HomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16954 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 (arg1
)->HomeRectExtend();
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_Py_Void();
16968 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16969 PyObject
*resultobj
= 0;
16970 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
16973 PyObject
*swig_obj
[1] ;
16975 if (!args
) SWIG_fail
;
16976 swig_obj
[0] = args
;
16977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
16978 if (!SWIG_IsOK(res1
)) {
16979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_VCHomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16981 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 (arg1
)->VCHomeRectExtend();
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= SWIG_Py_Void();
16995 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LineEndRectExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16996 PyObject
*resultobj
= 0;
16997 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17000 PyObject
*swig_obj
[1] ;
17002 if (!args
) SWIG_fail
;
17003 swig_obj
[0] = args
;
17004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17005 if (!SWIG_IsOK(res1
)) {
17006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LineEndRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17008 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 (arg1
)->LineEndRectExtend();
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= SWIG_Py_Void();
17022 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_PageUpRectExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17023 PyObject
*resultobj
= 0;
17024 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17027 PyObject
*swig_obj
[1] ;
17029 if (!args
) SWIG_fail
;
17030 swig_obj
[0] = args
;
17031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17032 if (!SWIG_IsOK(res1
)) {
17033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_PageUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17035 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17038 (arg1
)->PageUpRectExtend();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= SWIG_Py_Void();
17049 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_PageDownRectExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17050 PyObject
*resultobj
= 0;
17051 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17054 PyObject
*swig_obj
[1] ;
17056 if (!args
) SWIG_fail
;
17057 swig_obj
[0] = args
;
17058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17059 if (!SWIG_IsOK(res1
)) {
17060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_PageDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17062 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 (arg1
)->PageDownRectExtend();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= SWIG_Py_Void();
17076 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StutteredPageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17077 PyObject
*resultobj
= 0;
17078 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17081 PyObject
*swig_obj
[1] ;
17083 if (!args
) SWIG_fail
;
17084 swig_obj
[0] = args
;
17085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17086 if (!SWIG_IsOK(res1
)) {
17087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StutteredPageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17089 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 (arg1
)->StutteredPageUp();
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= SWIG_Py_Void();
17103 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17104 PyObject
*resultobj
= 0;
17105 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17108 PyObject
*swig_obj
[1] ;
17110 if (!args
) SWIG_fail
;
17111 swig_obj
[0] = args
;
17112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17113 if (!SWIG_IsOK(res1
)) {
17114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StutteredPageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17116 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 (arg1
)->StutteredPageUpExtend();
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_Py_Void();
17130 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StutteredPageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17131 PyObject
*resultobj
= 0;
17132 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17135 PyObject
*swig_obj
[1] ;
17137 if (!args
) SWIG_fail
;
17138 swig_obj
[0] = args
;
17139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17140 if (!SWIG_IsOK(res1
)) {
17141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StutteredPageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17143 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 (arg1
)->StutteredPageDown();
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= SWIG_Py_Void();
17157 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17158 PyObject
*resultobj
= 0;
17159 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17162 PyObject
*swig_obj
[1] ;
17164 if (!args
) SWIG_fail
;
17165 swig_obj
[0] = args
;
17166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17167 if (!SWIG_IsOK(res1
)) {
17168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StutteredPageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17170 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 (arg1
)->StutteredPageDownExtend();
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_Py_Void();
17184 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordLeftEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17185 PyObject
*resultobj
= 0;
17186 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17189 PyObject
*swig_obj
[1] ;
17191 if (!args
) SWIG_fail
;
17192 swig_obj
[0] = args
;
17193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17194 if (!SWIG_IsOK(res1
)) {
17195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordLeftEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17197 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 (arg1
)->WordLeftEnd();
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= SWIG_Py_Void();
17211 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17212 PyObject
*resultobj
= 0;
17213 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17216 PyObject
*swig_obj
[1] ;
17218 if (!args
) SWIG_fail
;
17219 swig_obj
[0] = args
;
17220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17221 if (!SWIG_IsOK(res1
)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordLeftEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17224 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 (arg1
)->WordLeftEndExtend();
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17231 resultobj
= SWIG_Py_Void();
17238 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordRightEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17239 PyObject
*resultobj
= 0;
17240 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17243 PyObject
*swig_obj
[1] ;
17245 if (!args
) SWIG_fail
;
17246 swig_obj
[0] = args
;
17247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17248 if (!SWIG_IsOK(res1
)) {
17249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordRightEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17251 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 (arg1
)->WordRightEnd();
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= SWIG_Py_Void();
17265 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_WordRightEndExtend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17266 PyObject
*resultobj
= 0;
17267 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17270 PyObject
*swig_obj
[1] ;
17272 if (!args
) SWIG_fail
;
17273 swig_obj
[0] = args
;
17274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17275 if (!SWIG_IsOK(res1
)) {
17276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_WordRightEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17278 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 (arg1
)->WordRightEndExtend();
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= SWIG_Py_Void();
17292 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
= 0;
17294 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17295 wxString
*arg2
= 0 ;
17298 bool temp2
= false ;
17299 PyObject
* obj0
= 0 ;
17300 PyObject
* obj1
= 0 ;
17301 char * kwnames
[] = {
17302 (char *) "self",(char *) "characters", NULL
17305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17307 if (!SWIG_IsOK(res1
)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetWhitespaceChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17310 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17312 arg2
= wxString_in_helper(obj1
);
17313 if (arg2
== NULL
) SWIG_fail
;
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17318 (arg1
)->SetWhitespaceChars((wxString
const &)*arg2
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= SWIG_Py_Void();
17337 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetCharsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17338 PyObject
*resultobj
= 0;
17339 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17342 PyObject
*swig_obj
[1] ;
17344 if (!args
) SWIG_fail
;
17345 swig_obj
[0] = args
;
17346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17347 if (!SWIG_IsOK(res1
)) {
17348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetCharsDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17350 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 (arg1
)->SetCharsDefault();
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= SWIG_Py_Void();
17364 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17365 PyObject
*resultobj
= 0;
17366 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17370 PyObject
*swig_obj
[1] ;
17372 if (!args
) SWIG_fail
;
17373 swig_obj
[0] = args
;
17374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17375 if (!SWIG_IsOK(res1
)) {
17376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AutoCompGetCurrent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17378 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 result
= (int)(arg1
)->AutoCompGetCurrent();
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 resultobj
= SWIG_From_int(static_cast< int >(result
));
17392 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_Allocate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
= 0;
17394 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 char * kwnames
[] = {
17403 (char *) "self",(char *) "bytes", NULL
17406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_Allocate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17408 if (!SWIG_IsOK(res1
)) {
17409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17411 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17413 if (!SWIG_IsOK(ecode2
)) {
17414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "2"" of type '" "int""'");
17416 arg2
= static_cast< int >(val2
);
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 (arg1
)->Allocate(arg2
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= SWIG_Py_Void();
17430 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_FindColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
= 0;
17432 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17442 PyObject
* obj0
= 0 ;
17443 PyObject
* obj1
= 0 ;
17444 PyObject
* obj2
= 0 ;
17445 char * kwnames
[] = {
17446 (char *) "self",(char *) "line",(char *) "column", NULL
17449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17451 if (!SWIG_IsOK(res1
)) {
17452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17454 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17456 if (!SWIG_IsOK(ecode2
)) {
17457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "2"" of type '" "int""'");
17459 arg2
= static_cast< int >(val2
);
17460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17461 if (!SWIG_IsOK(ecode3
)) {
17462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "3"" of type '" "int""'");
17464 arg3
= static_cast< int >(val3
);
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= (int)(arg1
)->FindColumn(arg2
,arg3
);
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= SWIG_From_int(static_cast< int >(result
));
17478 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCaretSticky(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17479 PyObject
*resultobj
= 0;
17480 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17484 PyObject
*swig_obj
[1] ;
17486 if (!args
) SWIG_fail
;
17487 swig_obj
[0] = args
;
17488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17489 if (!SWIG_IsOK(res1
)) {
17490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17492 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= (bool)(arg1
)->GetCaretSticky();
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17508 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetCaretSticky(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
= 0;
17510 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 char * kwnames
[] = {
17519 (char *) "self",(char *) "useCaretStickyBehaviour", NULL
17522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretSticky",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17524 if (!SWIG_IsOK(res1
)) {
17525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17527 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17528 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17529 if (!SWIG_IsOK(ecode2
)) {
17530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "2"" of type '" "bool""'");
17532 arg2
= static_cast< bool >(val2
);
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 (arg1
)->SetCaretSticky(arg2
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= SWIG_Py_Void();
17546 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ToggleCaretSticky(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17547 PyObject
*resultobj
= 0;
17548 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17551 PyObject
*swig_obj
[1] ;
17553 if (!args
) SWIG_fail
;
17554 swig_obj
[0] = args
;
17555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17556 if (!SWIG_IsOK(res1
)) {
17557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ToggleCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17559 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 (arg1
)->ToggleCaretSticky();
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= SWIG_Py_Void();
17573 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetPasteConvertEndings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
= 0;
17575 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 char * kwnames
[] = {
17584 (char *) "self",(char *) "convert", NULL
17587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetPasteConvertEndings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17589 if (!SWIG_IsOK(res1
)) {
17590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17592 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17593 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17594 if (!SWIG_IsOK(ecode2
)) {
17595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "2"" of type '" "bool""'");
17597 arg2
= static_cast< bool >(val2
);
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 (arg1
)->SetPasteConvertEndings(arg2
);
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= SWIG_Py_Void();
17611 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetPasteConvertEndings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17612 PyObject
*resultobj
= 0;
17613 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17617 PyObject
*swig_obj
[1] ;
17619 if (!args
) SWIG_fail
;
17620 swig_obj
[0] = args
;
17621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17622 if (!SWIG_IsOK(res1
)) {
17623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17625 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 result
= (bool)(arg1
)->GetPasteConvertEndings();
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17641 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SelectionDuplicate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17642 PyObject
*resultobj
= 0;
17643 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17646 PyObject
*swig_obj
[1] ;
17648 if (!args
) SWIG_fail
;
17649 swig_obj
[0] = args
;
17650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17651 if (!SWIG_IsOK(res1
)) {
17652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SelectionDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17654 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 (arg1
)->SelectionDuplicate();
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= SWIG_Py_Void();
17668 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetCaretLineBackAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
= 0;
17670 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char * kwnames
[] = {
17679 (char *) "self",(char *) "alpha", NULL
17682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretLineBackAlpha",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17684 if (!SWIG_IsOK(res1
)) {
17685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetCaretLineBackAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17687 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17689 if (!SWIG_IsOK(ecode2
)) {
17690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetCaretLineBackAlpha" "', expected argument " "2"" of type '" "int""'");
17692 arg2
= static_cast< int >(val2
);
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 (arg1
)->SetCaretLineBackAlpha(arg2
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= SWIG_Py_Void();
17706 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCaretLineBackAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17707 PyObject
*resultobj
= 0;
17708 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17712 PyObject
*swig_obj
[1] ;
17714 if (!args
) SWIG_fail
;
17715 swig_obj
[0] = args
;
17716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17717 if (!SWIG_IsOK(res1
)) {
17718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCaretLineBackAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17720 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 result
= (int)(arg1
)->GetCaretLineBackAlpha();
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= SWIG_From_int(static_cast< int >(result
));
17734 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StartRecord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17735 PyObject
*resultobj
= 0;
17736 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17739 PyObject
*swig_obj
[1] ;
17741 if (!args
) SWIG_fail
;
17742 swig_obj
[0] = args
;
17743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17744 if (!SWIG_IsOK(res1
)) {
17745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StartRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17747 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 (arg1
)->StartRecord();
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= SWIG_Py_Void();
17761 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StopRecord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17762 PyObject
*resultobj
= 0;
17763 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17766 PyObject
*swig_obj
[1] ;
17768 if (!args
) SWIG_fail
;
17769 swig_obj
[0] = args
;
17770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17771 if (!SWIG_IsOK(res1
)) {
17772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StopRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17774 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 (arg1
)->StopRecord();
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= SWIG_Py_Void();
17788 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetLexer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
= 0;
17790 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 char * kwnames
[] = {
17799 (char *) "self",(char *) "lexer", NULL
17802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetLexer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17804 if (!SWIG_IsOK(res1
)) {
17805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17807 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17809 if (!SWIG_IsOK(ecode2
)) {
17810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "2"" of type '" "int""'");
17812 arg2
= static_cast< int >(val2
);
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 (arg1
)->SetLexer(arg2
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= SWIG_Py_Void();
17826 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLexer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17827 PyObject
*resultobj
= 0;
17828 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17832 PyObject
*swig_obj
[1] ;
17834 if (!args
) SWIG_fail
;
17835 swig_obj
[0] = args
;
17836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17837 if (!SWIG_IsOK(res1
)) {
17838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17840 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 result
= (int)(arg1
)->GetLexer();
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17847 resultobj
= SWIG_From_int(static_cast< int >(result
));
17854 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_Colourise(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
= 0;
17856 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17865 PyObject
* obj0
= 0 ;
17866 PyObject
* obj1
= 0 ;
17867 PyObject
* obj2
= 0 ;
17868 char * kwnames
[] = {
17869 (char *) "self",(char *) "start",(char *) "end", NULL
17872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_Colourise",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17874 if (!SWIG_IsOK(res1
)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17877 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17879 if (!SWIG_IsOK(ecode2
)) {
17880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "2"" of type '" "int""'");
17882 arg2
= static_cast< int >(val2
);
17883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17884 if (!SWIG_IsOK(ecode3
)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "3"" of type '" "int""'");
17887 arg3
= static_cast< int >(val3
);
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 (arg1
)->Colourise(arg2
,arg3
);
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= SWIG_Py_Void();
17901 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetProperty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
= 0;
17903 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17904 wxString
*arg2
= 0 ;
17905 wxString
*arg3
= 0 ;
17908 bool temp2
= false ;
17909 bool temp3
= false ;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17912 PyObject
* obj2
= 0 ;
17913 char * kwnames
[] = {
17914 (char *) "self",(char *) "key",(char *) "value", NULL
17917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17919 if (!SWIG_IsOK(res1
)) {
17920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17922 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17924 arg2
= wxString_in_helper(obj1
);
17925 if (arg2
== NULL
) SWIG_fail
;
17929 arg3
= wxString_in_helper(obj2
);
17930 if (arg3
== NULL
) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->SetProperty((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= SWIG_Py_Void();
17962 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetKeyWords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
= 0;
17964 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
17966 wxString
*arg3
= 0 ;
17971 bool temp3
= false ;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 PyObject
* obj2
= 0 ;
17975 char * kwnames
[] = {
17976 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
17979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
17981 if (!SWIG_IsOK(res1
)) {
17982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17984 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
17985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17986 if (!SWIG_IsOK(ecode2
)) {
17987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "2"" of type '" "int""'");
17989 arg2
= static_cast< int >(val2
);
17991 arg3
= wxString_in_helper(obj2
);
17992 if (arg3
== NULL
) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 (arg1
)->SetKeyWords(arg2
,(wxString
const &)*arg3
);
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= SWIG_Py_Void();
18016 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetLexerLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
= 0;
18018 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18019 wxString
*arg2
= 0 ;
18022 bool temp2
= false ;
18023 PyObject
* obj0
= 0 ;
18024 PyObject
* obj1
= 0 ;
18025 char * kwnames
[] = {
18026 (char *) "self",(char *) "language", NULL
18029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18031 if (!SWIG_IsOK(res1
)) {
18032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetLexerLanguage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18034 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18036 arg2
= wxString_in_helper(obj1
);
18037 if (arg2
== NULL
) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 (arg1
)->SetLexerLanguage((wxString
const &)*arg2
);
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 resultobj
= SWIG_Py_Void();
18061 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetProperty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
= 0;
18063 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18064 wxString
*arg2
= 0 ;
18068 bool temp2
= false ;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 char * kwnames
[] = {
18072 (char *) "self",(char *) "key", NULL
18075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetProperty",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18077 if (!SWIG_IsOK(res1
)) {
18078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18080 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18082 arg2
= wxString_in_helper(obj1
);
18083 if (arg2
== NULL
) SWIG_fail
;
18087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 result
= (arg1
)->GetProperty((wxString
const &)*arg2
);
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18113 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetPropertyExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
= 0;
18115 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18116 wxString
*arg2
= 0 ;
18120 bool temp2
= false ;
18121 PyObject
* obj0
= 0 ;
18122 PyObject
* obj1
= 0 ;
18123 char * kwnames
[] = {
18124 (char *) "self",(char *) "key", NULL
18127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetPropertyExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18129 if (!SWIG_IsOK(res1
)) {
18130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetPropertyExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18132 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18134 arg2
= wxString_in_helper(obj1
);
18135 if (arg2
== NULL
) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 result
= (arg1
)->GetPropertyExpanded((wxString
const &)*arg2
);
18141 wxPyEndAllowThreads(__tstate
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18165 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetPropertyInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
= 0;
18167 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18168 wxString
*arg2
= 0 ;
18172 bool temp2
= false ;
18173 PyObject
* obj0
= 0 ;
18174 PyObject
* obj1
= 0 ;
18175 char * kwnames
[] = {
18176 (char *) "self",(char *) "key", NULL
18179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetPropertyInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18181 if (!SWIG_IsOK(res1
)) {
18182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetPropertyInt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18184 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18186 arg2
= wxString_in_helper(obj1
);
18187 if (arg2
== NULL
) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (int)(arg1
)->GetPropertyInt((wxString
const &)*arg2
);
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_From_int(static_cast< int >(result
));
18211 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetStyleBitsNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18212 PyObject
*resultobj
= 0;
18213 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18217 PyObject
*swig_obj
[1] ;
18219 if (!args
) SWIG_fail
;
18220 swig_obj
[0] = args
;
18221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18222 if (!SWIG_IsOK(res1
)) {
18223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetStyleBitsNeeded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18225 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 result
= (int)(arg1
)->GetStyleBitsNeeded();
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= SWIG_From_int(static_cast< int >(result
));
18239 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCurrentLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18240 PyObject
*resultobj
= 0;
18241 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18245 PyObject
*swig_obj
[1] ;
18247 if (!args
) SWIG_fail
;
18248 swig_obj
[0] = args
;
18249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18250 if (!SWIG_IsOK(res1
)) {
18251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCurrentLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18253 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 result
= (int)(arg1
)->GetCurrentLine();
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_From_int(static_cast< int >(result
));
18267 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetSpec(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
= 0;
18269 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18271 wxString
*arg3
= 0 ;
18276 bool temp3
= false ;
18277 PyObject
* obj0
= 0 ;
18278 PyObject
* obj1
= 0 ;
18279 PyObject
* obj2
= 0 ;
18280 char * kwnames
[] = {
18281 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
18284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18286 if (!SWIG_IsOK(res1
)) {
18287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18289 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18291 if (!SWIG_IsOK(ecode2
)) {
18292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "2"" of type '" "int""'");
18294 arg2
= static_cast< int >(val2
);
18296 arg3
= wxString_in_helper(obj2
);
18297 if (arg3
== NULL
) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 (arg1
)->StyleSetSpec(arg2
,(wxString
const &)*arg3
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_Py_Void();
18321 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
= 0;
18323 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18332 PyObject
* obj0
= 0 ;
18333 PyObject
* obj1
= 0 ;
18334 PyObject
* obj2
= 0 ;
18335 char * kwnames
[] = {
18336 (char *) "self",(char *) "styleNum",(char *) "font", NULL
18339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18341 if (!SWIG_IsOK(res1
)) {
18342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18344 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18346 if (!SWIG_IsOK(ecode2
)) {
18347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "2"" of type '" "int""'");
18349 arg2
= static_cast< int >(val2
);
18350 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 );
18351 if (!SWIG_IsOK(res3
)) {
18352 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18357 arg3
= reinterpret_cast< wxFont
* >(argp3
);
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 (arg1
)->StyleSetFont(arg2
,*arg3
);
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= SWIG_Py_Void();
18371 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
= 0;
18373 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18376 wxString
*arg4
= 0 ;
18380 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
18387 bool temp4
= false ;
18396 PyObject
* obj0
= 0 ;
18397 PyObject
* obj1
= 0 ;
18398 PyObject
* obj2
= 0 ;
18399 PyObject
* obj3
= 0 ;
18400 PyObject
* obj4
= 0 ;
18401 PyObject
* obj5
= 0 ;
18402 PyObject
* obj6
= 0 ;
18403 PyObject
* obj7
= 0 ;
18404 char * kwnames
[] = {
18405 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL
18408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18410 if (!SWIG_IsOK(res1
)) {
18411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18413 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18415 if (!SWIG_IsOK(ecode2
)) {
18416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "2"" of type '" "int""'");
18418 arg2
= static_cast< int >(val2
);
18419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18420 if (!SWIG_IsOK(ecode3
)) {
18421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "3"" of type '" "int""'");
18423 arg3
= static_cast< int >(val3
);
18425 arg4
= wxString_in_helper(obj3
);
18426 if (arg4
== NULL
) SWIG_fail
;
18429 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18430 if (!SWIG_IsOK(ecode5
)) {
18431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "5"" of type '" "bool""'");
18433 arg5
= static_cast< bool >(val5
);
18434 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
18435 if (!SWIG_IsOK(ecode6
)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "6"" of type '" "bool""'");
18438 arg6
= static_cast< bool >(val6
);
18439 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
18440 if (!SWIG_IsOK(ecode7
)) {
18441 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "7"" of type '" "bool""'");
18443 arg7
= static_cast< bool >(val7
);
18445 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
18446 if (!SWIG_IsOK(ecode8
)) {
18447 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "8"" of type '" "wxFontEncoding""'");
18449 arg8
= static_cast< wxFontEncoding
>(val8
);
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 (arg1
)->StyleSetFontAttr(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,arg8
);
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18457 resultobj
= SWIG_Py_Void();
18472 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
= 0;
18474 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18483 PyObject
* obj0
= 0 ;
18484 PyObject
* obj1
= 0 ;
18485 PyObject
* obj2
= 0 ;
18486 char * kwnames
[] = {
18487 (char *) "self",(char *) "style",(char *) "characterSet", NULL
18490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18492 if (!SWIG_IsOK(res1
)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18495 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18497 if (!SWIG_IsOK(ecode2
)) {
18498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "2"" of type '" "int""'");
18500 arg2
= static_cast< int >(val2
);
18501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18502 if (!SWIG_IsOK(ecode3
)) {
18503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "3"" of type '" "int""'");
18505 arg3
= static_cast< int >(val3
);
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 (arg1
)->StyleSetCharacterSet(arg2
,arg3
);
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= SWIG_Py_Void();
18519 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
= 0;
18521 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18523 wxFontEncoding arg3
;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 PyObject
* obj2
= 0 ;
18533 char * kwnames
[] = {
18534 (char *) "self",(char *) "style",(char *) "encoding", NULL
18537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) 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_StyleSetFontEncoding" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
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_StyleSetFontEncoding" "', expected argument " "2"" of type '" "int""'");
18547 arg2
= static_cast< int >(val2
);
18548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18549 if (!SWIG_IsOK(ecode3
)) {
18550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18552 arg3
= static_cast< wxFontEncoding
>(val3
);
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 (arg1
)->StyleSetFontEncoding(arg2
,arg3
);
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= SWIG_Py_Void();
18566 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_CmdKeyExecute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
= 0;
18568 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 PyObject
* obj1
= 0 ;
18576 char * kwnames
[] = {
18577 (char *) "self",(char *) "cmd", NULL
18580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18582 if (!SWIG_IsOK(res1
)) {
18583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18585 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18587 if (!SWIG_IsOK(ecode2
)) {
18588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "2"" of type '" "int""'");
18590 arg2
= static_cast< int >(val2
);
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 (arg1
)->CmdKeyExecute(arg2
);
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= SWIG_Py_Void();
18604 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
= 0;
18606 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 PyObject
* obj2
= 0 ;
18618 char * kwnames
[] = {
18619 (char *) "self",(char *) "left",(char *) "right", NULL
18622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18624 if (!SWIG_IsOK(res1
)) {
18625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18627 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18629 if (!SWIG_IsOK(ecode2
)) {
18630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "2"" of type '" "int""'");
18632 arg2
= static_cast< int >(val2
);
18633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18634 if (!SWIG_IsOK(ecode3
)) {
18635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "3"" of type '" "int""'");
18637 arg3
= static_cast< int >(val3
);
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 (arg1
)->SetMargins(arg2
,arg3
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= SWIG_Py_Void();
18651 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18652 PyObject
*resultobj
= 0;
18653 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18654 int *arg2
= (int *) 0 ;
18655 int *arg3
= (int *) 0 ;
18659 int res2
= SWIG_TMPOBJ
;
18661 int res3
= SWIG_TMPOBJ
;
18662 PyObject
*swig_obj
[1] ;
18666 if (!args
) SWIG_fail
;
18667 swig_obj
[0] = args
;
18668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18669 if (!SWIG_IsOK(res1
)) {
18670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18672 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 (arg1
)->GetSelection(arg2
,arg3
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= SWIG_Py_Void();
18680 if (SWIG_IsTmpObj(res2
)) {
18681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18683 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18686 if (SWIG_IsTmpObj(res3
)) {
18687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18689 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18698 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_PointFromPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
= 0;
18700 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18707 PyObject
* obj0
= 0 ;
18708 PyObject
* obj1
= 0 ;
18709 char * kwnames
[] = {
18710 (char *) "self",(char *) "pos", NULL
18713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18715 if (!SWIG_IsOK(res1
)) {
18716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18718 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18720 if (!SWIG_IsOK(ecode2
)) {
18721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "2"" of type '" "int""'");
18723 arg2
= static_cast< int >(val2
);
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 result
= (arg1
)->PointFromPosition(arg2
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
18737 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
= 0;
18739 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18745 PyObject
* obj0
= 0 ;
18746 PyObject
* obj1
= 0 ;
18747 char * kwnames
[] = {
18748 (char *) "self",(char *) "line", NULL
18751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18753 if (!SWIG_IsOK(res1
)) {
18754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18756 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18758 if (!SWIG_IsOK(ecode2
)) {
18759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
18761 arg2
= static_cast< int >(val2
);
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 (arg1
)->ScrollToLine(arg2
);
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= SWIG_Py_Void();
18775 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_ScrollToColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
= 0;
18777 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 PyObject
* obj1
= 0 ;
18785 char * kwnames
[] = {
18786 (char *) "self",(char *) "column", NULL
18789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18791 if (!SWIG_IsOK(res1
)) {
18792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18794 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18796 if (!SWIG_IsOK(ecode2
)) {
18797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "2"" of type '" "int""'");
18799 arg2
= static_cast< int >(val2
);
18801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18802 (arg1
)->ScrollToColumn(arg2
);
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= SWIG_Py_Void();
18813 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SendMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
= 0;
18815 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18817 long arg3
= (long) 0 ;
18818 long arg4
= (long) 0 ;
18828 PyObject
* obj0
= 0 ;
18829 PyObject
* obj1
= 0 ;
18830 PyObject
* obj2
= 0 ;
18831 PyObject
* obj3
= 0 ;
18832 char * kwnames
[] = {
18833 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
18836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18838 if (!SWIG_IsOK(res1
)) {
18839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18841 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18843 if (!SWIG_IsOK(ecode2
)) {
18844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "2"" of type '" "int""'");
18846 arg2
= static_cast< int >(val2
);
18848 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
18849 if (!SWIG_IsOK(ecode3
)) {
18850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "3"" of type '" "long""'");
18852 arg3
= static_cast< long >(val3
);
18855 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
18856 if (!SWIG_IsOK(ecode4
)) {
18857 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "4"" of type '" "long""'");
18859 arg4
= static_cast< long >(val4
);
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 result
= (long)(arg1
)->SendMsg(arg2
,arg3
,arg4
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_From_long(static_cast< long >(result
));
18874 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetVScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
= 0;
18876 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18877 wxScrollBar
*arg2
= (wxScrollBar
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 PyObject
* obj1
= 0 ;
18884 char * kwnames
[] = {
18885 (char *) "self",(char *) "bar", NULL
18888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18890 if (!SWIG_IsOK(res1
)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18893 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18894 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
18895 if (!SWIG_IsOK(res2
)) {
18896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18898 arg2
= reinterpret_cast< wxScrollBar
* >(argp2
);
18900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18901 (arg1
)->SetVScrollBar(arg2
);
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 resultobj
= SWIG_Py_Void();
18912 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetHScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
= 0;
18914 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18915 wxScrollBar
*arg2
= (wxScrollBar
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 PyObject
* obj1
= 0 ;
18922 char * kwnames
[] = {
18923 (char *) "self",(char *) "bar", NULL
18926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18928 if (!SWIG_IsOK(res1
)) {
18929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18931 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
18933 if (!SWIG_IsOK(res2
)) {
18934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18936 arg2
= reinterpret_cast< wxScrollBar
* >(argp2
);
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 (arg1
)->SetHScrollBar(arg2
);
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 resultobj
= SWIG_Py_Void();
18950 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18951 PyObject
*resultobj
= 0;
18952 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18956 PyObject
*swig_obj
[1] ;
18958 if (!args
) SWIG_fail
;
18959 swig_obj
[0] = args
;
18960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18961 if (!SWIG_IsOK(res1
)) {
18962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18964 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 result
= (bool)(arg1
)->GetLastKeydownProcessed();
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18980 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
= 0;
18982 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 char * kwnames
[] = {
18991 (char *) "self",(char *) "val", NULL
18994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
18996 if (!SWIG_IsOK(res1
)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18999 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19000 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19001 if (!SWIG_IsOK(ecode2
)) {
19002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "2"" of type '" "bool""'");
19004 arg2
= static_cast< bool >(val2
);
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 (arg1
)->SetLastKeydownProcessed(arg2
);
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19011 resultobj
= SWIG_Py_Void();
19018 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
= 0;
19020 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19021 wxString
*arg2
= 0 ;
19025 bool temp2
= false ;
19026 PyObject
* obj0
= 0 ;
19027 PyObject
* obj1
= 0 ;
19028 char * kwnames
[] = {
19029 (char *) "self",(char *) "filename", NULL
19032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19034 if (!SWIG_IsOK(res1
)) {
19035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19037 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19039 arg2
= wxString_in_helper(obj1
);
19040 if (arg2
== NULL
) SWIG_fail
;
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19066 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
= 0;
19068 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19069 wxString
*arg2
= 0 ;
19073 bool temp2
= false ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char * kwnames
[] = {
19077 (char *) "self",(char *) "filename", NULL
19080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19082 if (!SWIG_IsOK(res1
)) {
19083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19085 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19087 arg2
= wxString_in_helper(obj1
);
19088 if (arg2
== NULL
) SWIG_fail
;
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19114 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DoDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
= 0;
19116 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19119 wxDragResult arg4
;
19120 wxDragResult result
;
19129 PyObject
* obj0
= 0 ;
19130 PyObject
* obj1
= 0 ;
19131 PyObject
* obj2
= 0 ;
19132 PyObject
* obj3
= 0 ;
19133 char * kwnames
[] = {
19134 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
19137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19139 if (!SWIG_IsOK(res1
)) {
19140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19142 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19144 if (!SWIG_IsOK(ecode2
)) {
19145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "2"" of type '" "int""'");
19147 arg2
= static_cast< int >(val2
);
19148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19149 if (!SWIG_IsOK(ecode3
)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "3"" of type '" "int""'");
19152 arg3
= static_cast< int >(val3
);
19153 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19154 if (!SWIG_IsOK(ecode4
)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
19157 arg4
= static_cast< wxDragResult
>(val4
);
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 result
= (wxDragResult
)(arg1
)->DoDragOver(arg2
,arg3
,arg4
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= SWIG_From_int(static_cast< int >(result
));
19171 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_DoDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19172 PyObject
*resultobj
= 0;
19173 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19176 wxString
*arg4
= 0 ;
19184 bool temp4
= false ;
19185 PyObject
* obj0
= 0 ;
19186 PyObject
* obj1
= 0 ;
19187 PyObject
* obj2
= 0 ;
19188 PyObject
* obj3
= 0 ;
19189 char * kwnames
[] = {
19190 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
19193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DoDropText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19198 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19199 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19200 if (!SWIG_IsOK(ecode2
)) {
19201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "2"" of type '" "long""'");
19203 arg2
= static_cast< long >(val2
);
19204 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
19205 if (!SWIG_IsOK(ecode3
)) {
19206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "3"" of type '" "long""'");
19208 arg3
= static_cast< long >(val3
);
19210 arg4
= wxString_in_helper(obj3
);
19211 if (arg4
== NULL
) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (bool)(arg1
)->DoDropText(arg2
,arg3
,(wxString
const &)*arg4
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19237 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
= 0;
19239 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 char * kwnames
[] = {
19248 (char *) "self",(char *) "useAA", NULL
19251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19253 if (!SWIG_IsOK(res1
)) {
19254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19256 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19257 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19258 if (!SWIG_IsOK(ecode2
)) {
19259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
19261 arg2
= static_cast< bool >(val2
);
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 (arg1
)->SetUseAntiAliasing(arg2
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 resultobj
= SWIG_Py_Void();
19275 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19276 PyObject
*resultobj
= 0;
19277 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19281 PyObject
*swig_obj
[1] ;
19283 if (!args
) SWIG_fail
;
19284 swig_obj
[0] = args
;
19285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19286 if (!SWIG_IsOK(res1
)) {
19287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19289 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (bool)(arg1
)->GetUseAntiAliasing();
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19305 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AddTextRaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
= 0;
19307 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19308 char *arg2
= (char *) 0 ;
19314 PyObject
* obj0
= 0 ;
19315 PyObject
* obj1
= 0 ;
19316 char * kwnames
[] = {
19317 (char *) "self",(char *) "text", NULL
19320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19322 if (!SWIG_IsOK(res1
)) {
19323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19325 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19326 res2
= SWIG_AsCharPtrAndSize(obj1
, &buf2
, NULL
, &alloc2
);
19327 if (!SWIG_IsOK(res2
)) {
19328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 (arg1
)->AddTextRaw((char const *)arg2
);
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= SWIG_Py_Void();
19338 if (alloc2
== SWIG_NEWOBJ
) delete[] buf2
;
19341 if (alloc2
== SWIG_NEWOBJ
) delete[] buf2
;
19346 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_InsertTextRaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19347 PyObject
*resultobj
= 0;
19348 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19350 char *arg3
= (char *) 0 ;
19358 PyObject
* obj0
= 0 ;
19359 PyObject
* obj1
= 0 ;
19360 PyObject
* obj2
= 0 ;
19361 char * kwnames
[] = {
19362 (char *) "self",(char *) "pos",(char *) "text", NULL
19365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19367 if (!SWIG_IsOK(res1
)) {
19368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19370 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19372 if (!SWIG_IsOK(ecode2
)) {
19373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "2"" of type '" "int""'");
19375 arg2
= static_cast< int >(val2
);
19376 res3
= SWIG_AsCharPtrAndSize(obj2
, &buf3
, NULL
, &alloc3
);
19377 if (!SWIG_IsOK(res3
)) {
19378 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "3"" of type '" "char const *""'");
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 (arg1
)->InsertTextRaw(arg2
,(char const *)arg3
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= SWIG_Py_Void();
19388 if (alloc3
== SWIG_NEWOBJ
) delete[] buf3
;
19391 if (alloc3
== SWIG_NEWOBJ
) delete[] buf3
;
19396 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetCurLineRaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19397 PyObject
*resultobj
= 0;
19398 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19399 int *arg2
= (int *) 0 ;
19400 wxCharBuffer result
;
19404 int res2
= SWIG_TMPOBJ
;
19405 PyObject
*swig_obj
[1] ;
19408 if (!args
) SWIG_fail
;
19409 swig_obj
[0] = args
;
19410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19411 if (!SWIG_IsOK(res1
)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetCurLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19414 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 result
= (arg1
)->GetCurLineRaw(arg2
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19422 if ((&result
)->data())
19423 resultobj
= PyString_FromString((char*)(&result
)->data());
19425 resultobj
= PyString_FromString("");
19427 if (SWIG_IsTmpObj(res2
)) {
19428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19430 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19439 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetLineRaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
= 0;
19441 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19443 wxCharBuffer result
;
19448 PyObject
* obj0
= 0 ;
19449 PyObject
* obj1
= 0 ;
19450 char * kwnames
[] = {
19451 (char *) "self",(char *) "line", NULL
19454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19456 if (!SWIG_IsOK(res1
)) {
19457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19459 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19461 if (!SWIG_IsOK(ecode2
)) {
19462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "2"" of type '" "int""'");
19464 arg2
= static_cast< int >(val2
);
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 result
= (arg1
)->GetLineRaw(arg2
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19472 if ((&result
)->data())
19473 resultobj
= PyString_FromString((char*)(&result
)->data());
19475 resultobj
= PyString_FromString("");
19483 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19484 PyObject
*resultobj
= 0;
19485 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19486 wxCharBuffer result
;
19489 PyObject
*swig_obj
[1] ;
19491 if (!args
) SWIG_fail
;
19492 swig_obj
[0] = args
;
19493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19494 if (!SWIG_IsOK(res1
)) {
19495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetSelectedTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19497 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 result
= (arg1
)->GetSelectedTextRaw();
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19505 if ((&result
)->data())
19506 resultobj
= PyString_FromString((char*)(&result
)->data());
19508 resultobj
= PyString_FromString("");
19516 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
= 0;
19518 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19521 wxCharBuffer result
;
19528 PyObject
* obj0
= 0 ;
19529 PyObject
* obj1
= 0 ;
19530 PyObject
* obj2
= 0 ;
19531 char * kwnames
[] = {
19532 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
19535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19537 if (!SWIG_IsOK(res1
)) {
19538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19540 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19542 if (!SWIG_IsOK(ecode2
)) {
19543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "2"" of type '" "int""'");
19545 arg2
= static_cast< int >(val2
);
19546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19547 if (!SWIG_IsOK(ecode3
)) {
19548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "3"" of type '" "int""'");
19550 arg3
= static_cast< int >(val3
);
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 result
= (arg1
)->GetTextRangeRaw(arg2
,arg3
);
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19558 if ((&result
)->data())
19559 resultobj
= PyString_FromString((char*)(&result
)->data());
19561 resultobj
= PyString_FromString("");
19569 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_SetTextRaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
= 0;
19571 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19572 char *arg2
= (char *) 0 ;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj1
= 0 ;
19580 char * kwnames
[] = {
19581 (char *) "self",(char *) "text", NULL
19584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19586 if (!SWIG_IsOK(res1
)) {
19587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19589 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19590 res2
= SWIG_AsCharPtrAndSize(obj1
, &buf2
, NULL
, &alloc2
);
19591 if (!SWIG_IsOK(res2
)) {
19592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 (arg1
)->SetTextRaw((char const *)arg2
);
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_Py_Void();
19602 if (alloc2
== SWIG_NEWOBJ
) delete[] buf2
;
19605 if (alloc2
== SWIG_NEWOBJ
) delete[] buf2
;
19610 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_GetTextRaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19611 PyObject
*resultobj
= 0;
19612 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19613 wxCharBuffer result
;
19616 PyObject
*swig_obj
[1] ;
19618 if (!args
) SWIG_fail
;
19619 swig_obj
[0] = args
;
19620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19621 if (!SWIG_IsOK(res1
)) {
19622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_GetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19624 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (arg1
)->GetTextRaw();
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19632 if ((&result
)->data())
19633 resultobj
= PyString_FromString((char*)(&result
)->data());
19635 resultobj
= PyString_FromString("");
19643 SWIGINTERN PyObject
*_wrap_StyledTextCtrl_AppendTextRaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
= 0;
19645 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
19646 char *arg2
= (char *) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 PyObject
* obj1
= 0 ;
19654 char * kwnames
[] = {
19655 (char *) "self",(char *) "text", NULL
19658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextCtrl
, 0 | 0 );
19660 if (!SWIG_IsOK(res1
)) {
19661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19663 arg1
= reinterpret_cast< wxStyledTextCtrl
* >(argp1
);
19664 res2
= SWIG_AsCharPtrAndSize(obj1
, &buf2
, NULL
, &alloc2
);
19665 if (!SWIG_IsOK(res2
)) {
19666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 (arg1
)->AppendTextRaw((char const *)arg2
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 resultobj
= SWIG_Py_Void();
19676 if (alloc2
== SWIG_NEWOBJ
) delete[] buf2
;
19679 if (alloc2
== SWIG_NEWOBJ
) delete[] buf2
;
19684 SWIGINTERN PyObject
*StyledTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19687 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextCtrl
, SWIG_NewClientData(obj
));
19688 return SWIG_Py_Void();
19691 SWIGINTERN PyObject
*StyledTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19692 return SWIG_Python_InitShadowInstance(args
);
19695 SWIGINTERN PyObject
*_wrap_new_StyledTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
= 0;
19697 wxEventType arg1
= (wxEventType
) 0 ;
19698 int arg2
= (int) 0 ;
19699 wxStyledTextEvent
*result
= 0 ;
19704 PyObject
* obj0
= 0 ;
19705 PyObject
* obj1
= 0 ;
19706 char * kwnames
[] = {
19707 (char *) "commandType",(char *) "id", NULL
19710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_StyledTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19712 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19713 if (!SWIG_IsOK(ecode1
)) {
19714 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StyledTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19716 arg1
= static_cast< wxEventType
>(val1
);
19719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19720 if (!SWIG_IsOK(ecode2
)) {
19721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StyledTextEvent" "', expected argument " "2"" of type '" "int""'");
19723 arg2
= static_cast< int >(val2
);
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 result
= (wxStyledTextEvent
*)new wxStyledTextEvent(arg1
,arg2
);
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStyledTextEvent
, SWIG_POINTER_NEW
| 0 );
19738 SWIGINTERN PyObject
*_wrap_delete_StyledTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19739 PyObject
*resultobj
= 0;
19740 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
19743 PyObject
*swig_obj
[1] ;
19745 if (!args
) SWIG_fail
;
19746 swig_obj
[0] = args
;
19747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, SWIG_POINTER_DISOWN
| 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StyledTextEvent" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19751 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= SWIG_Py_Void();
19766 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
= 0;
19768 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 PyObject
* obj1
= 0 ;
19776 char * kwnames
[] = {
19777 (char *) "self",(char *) "pos", NULL
19780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
19782 if (!SWIG_IsOK(res1
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19785 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
19786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19787 if (!SWIG_IsOK(ecode2
)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19790 arg2
= static_cast< int >(val2
);
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 (arg1
)->SetPosition(arg2
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_Py_Void();
19804 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
= 0;
19806 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
19812 PyObject
* obj0
= 0 ;
19813 PyObject
* obj1
= 0 ;
19814 char * kwnames
[] = {
19815 (char *) "self",(char *) "k", NULL
19818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
19820 if (!SWIG_IsOK(res1
)) {
19821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19823 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
19824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19825 if (!SWIG_IsOK(ecode2
)) {
19826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetKey" "', expected argument " "2"" of type '" "int""'");
19828 arg2
= static_cast< int >(val2
);
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 (arg1
)->SetKey(arg2
);
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= SWIG_Py_Void();
19842 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
= 0;
19844 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 PyObject
* obj1
= 0 ;
19852 char * kwnames
[] = {
19853 (char *) "self",(char *) "m", NULL
19856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetModifiers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
19858 if (!SWIG_IsOK(res1
)) {
19859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19861 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
19862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19863 if (!SWIG_IsOK(ecode2
)) {
19864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "2"" of type '" "int""'");
19866 arg2
= static_cast< int >(val2
);
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 (arg1
)->SetModifiers(arg2
);
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= SWIG_Py_Void();
19880 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetModificationType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
= 0;
19882 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 char * kwnames
[] = {
19891 (char *) "self",(char *) "t", NULL
19894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetModificationType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
19896 if (!SWIG_IsOK(res1
)) {
19897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19899 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
19900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19901 if (!SWIG_IsOK(ecode2
)) {
19902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "2"" of type '" "int""'");
19904 arg2
= static_cast< int >(val2
);
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 (arg1
)->SetModificationType(arg2
);
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19911 resultobj
= SWIG_Py_Void();
19918 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
= 0;
19920 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
19921 wxString
*arg2
= 0 ;
19924 bool temp2
= false ;
19925 PyObject
* obj0
= 0 ;
19926 PyObject
* obj1
= 0 ;
19927 char * kwnames
[] = {
19928 (char *) "self",(char *) "t", NULL
19931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
19933 if (!SWIG_IsOK(res1
)) {
19934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19936 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
19938 arg2
= wxString_in_helper(obj1
);
19939 if (arg2
== NULL
) SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 (arg1
)->SetText((wxString
const &)*arg2
);
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19948 resultobj
= SWIG_Py_Void();
19963 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
= 0;
19965 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 char * kwnames
[] = {
19974 (char *) "self",(char *) "len", NULL
19977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
19979 if (!SWIG_IsOK(res1
)) {
19980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19982 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
19983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19984 if (!SWIG_IsOK(ecode2
)) {
19985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetLength" "', expected argument " "2"" of type '" "int""'");
19987 arg2
= static_cast< int >(val2
);
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 (arg1
)->SetLength(arg2
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_Py_Void();
20001 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetLinesAdded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
= 0;
20003 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20009 PyObject
* obj0
= 0 ;
20010 PyObject
* obj1
= 0 ;
20011 char * kwnames
[] = {
20012 (char *) "self",(char *) "num", NULL
20015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20017 if (!SWIG_IsOK(res1
)) {
20018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20020 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20022 if (!SWIG_IsOK(ecode2
)) {
20023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "2"" of type '" "int""'");
20025 arg2
= static_cast< int >(val2
);
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 (arg1
)->SetLinesAdded(arg2
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= SWIG_Py_Void();
20039 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
= 0;
20041 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20049 char * kwnames
[] = {
20050 (char *) "self",(char *) "val", NULL
20053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20055 if (!SWIG_IsOK(res1
)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20058 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20060 if (!SWIG_IsOK(ecode2
)) {
20061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetLine" "', expected argument " "2"" of type '" "int""'");
20063 arg2
= static_cast< int >(val2
);
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 (arg1
)->SetLine(arg2
);
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 resultobj
= SWIG_Py_Void();
20077 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetFoldLevelNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
= 0;
20079 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20085 PyObject
* obj0
= 0 ;
20086 PyObject
* obj1
= 0 ;
20087 char * kwnames
[] = {
20088 (char *) "self",(char *) "val", NULL
20091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20093 if (!SWIG_IsOK(res1
)) {
20094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20096 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20098 if (!SWIG_IsOK(ecode2
)) {
20099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "2"" of type '" "int""'");
20101 arg2
= static_cast< int >(val2
);
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 (arg1
)->SetFoldLevelNow(arg2
);
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20108 resultobj
= SWIG_Py_Void();
20115 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
= 0;
20117 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 char * kwnames
[] = {
20126 (char *) "self",(char *) "val", NULL
20129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20131 if (!SWIG_IsOK(res1
)) {
20132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20134 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20136 if (!SWIG_IsOK(ecode2
)) {
20137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "2"" of type '" "int""'");
20139 arg2
= static_cast< int >(val2
);
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 (arg1
)->SetFoldLevelPrev(arg2
);
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= SWIG_Py_Void();
20153 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
= 0;
20155 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 char * kwnames
[] = {
20164 (char *) "self",(char *) "val", NULL
20167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20169 if (!SWIG_IsOK(res1
)) {
20170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20172 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20174 if (!SWIG_IsOK(ecode2
)) {
20175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "2"" of type '" "int""'");
20177 arg2
= static_cast< int >(val2
);
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 (arg1
)->SetMargin(arg2
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= SWIG_Py_Void();
20191 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
= 0;
20193 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20199 PyObject
* obj0
= 0 ;
20200 PyObject
* obj1
= 0 ;
20201 char * kwnames
[] = {
20202 (char *) "self",(char *) "val", NULL
20205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20207 if (!SWIG_IsOK(res1
)) {
20208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20210 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20212 if (!SWIG_IsOK(ecode2
)) {
20213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "2"" of type '" "int""'");
20215 arg2
= static_cast< int >(val2
);
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 (arg1
)->SetMessage(arg2
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= SWIG_Py_Void();
20229 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetWParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
= 0;
20231 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 char * kwnames
[] = {
20240 (char *) "self",(char *) "val", NULL
20243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetWParam",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20245 if (!SWIG_IsOK(res1
)) {
20246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20248 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20250 if (!SWIG_IsOK(ecode2
)) {
20251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "2"" of type '" "int""'");
20253 arg2
= static_cast< int >(val2
);
20255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 (arg1
)->SetWParam(arg2
);
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= SWIG_Py_Void();
20267 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetLParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
= 0;
20269 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20275 PyObject
* obj0
= 0 ;
20276 PyObject
* obj1
= 0 ;
20277 char * kwnames
[] = {
20278 (char *) "self",(char *) "val", NULL
20281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetLParam",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20283 if (!SWIG_IsOK(res1
)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20286 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20288 if (!SWIG_IsOK(ecode2
)) {
20289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "2"" of type '" "int""'");
20291 arg2
= static_cast< int >(val2
);
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 (arg1
)->SetLParam(arg2
);
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= SWIG_Py_Void();
20305 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetListType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
= 0;
20307 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 char * kwnames
[] = {
20316 (char *) "self",(char *) "val", NULL
20319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetListType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20321 if (!SWIG_IsOK(res1
)) {
20322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20324 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20326 if (!SWIG_IsOK(ecode2
)) {
20327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetListType" "', expected argument " "2"" of type '" "int""'");
20329 arg2
= static_cast< int >(val2
);
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 (arg1
)->SetListType(arg2
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= SWIG_Py_Void();
20343 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
= 0;
20345 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 char * kwnames
[] = {
20354 (char *) "self",(char *) "val", NULL
20357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20359 if (!SWIG_IsOK(res1
)) {
20360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetX" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20362 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20364 if (!SWIG_IsOK(ecode2
)) {
20365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetX" "', expected argument " "2"" of type '" "int""'");
20367 arg2
= static_cast< int >(val2
);
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 (arg1
)->SetX(arg2
);
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= SWIG_Py_Void();
20381 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
= 0;
20383 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20389 PyObject
* obj0
= 0 ;
20390 PyObject
* obj1
= 0 ;
20391 char * kwnames
[] = {
20392 (char *) "self",(char *) "val", NULL
20395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20397 if (!SWIG_IsOK(res1
)) {
20398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetY" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20400 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20402 if (!SWIG_IsOK(ecode2
)) {
20403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetY" "', expected argument " "2"" of type '" "int""'");
20405 arg2
= static_cast< int >(val2
);
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 (arg1
)->SetY(arg2
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= SWIG_Py_Void();
20419 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetDragText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
= 0;
20421 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20422 wxString
*arg2
= 0 ;
20425 bool temp2
= false ;
20426 PyObject
* obj0
= 0 ;
20427 PyObject
* obj1
= 0 ;
20428 char * kwnames
[] = {
20429 (char *) "self",(char *) "val", NULL
20432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetDragText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20434 if (!SWIG_IsOK(res1
)) {
20435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20437 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20439 arg2
= wxString_in_helper(obj1
);
20440 if (arg2
== NULL
) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 (arg1
)->SetDragText((wxString
const &)*arg2
);
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20449 resultobj
= SWIG_Py_Void();
20464 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetDragAllowMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
= 0;
20466 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20472 PyObject
* obj0
= 0 ;
20473 PyObject
* obj1
= 0 ;
20474 char * kwnames
[] = {
20475 (char *) "self",(char *) "val", NULL
20478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20480 if (!SWIG_IsOK(res1
)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20483 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20484 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20485 if (!SWIG_IsOK(ecode2
)) {
20486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "2"" of type '" "bool""'");
20488 arg2
= static_cast< bool >(val2
);
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 (arg1
)->SetDragAllowMove(arg2
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_Py_Void();
20502 SWIGINTERN PyObject
*_wrap_StyledTextEvent_SetDragResult(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
= 0;
20504 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20505 wxDragResult arg2
;
20510 PyObject
* obj0
= 0 ;
20511 PyObject
* obj1
= 0 ;
20512 char * kwnames
[] = {
20513 (char *) "self",(char *) "val", NULL
20516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetDragResult",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20518 if (!SWIG_IsOK(res1
)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20521 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20523 if (!SWIG_IsOK(ecode2
)) {
20524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "2"" of type '" "wxDragResult""'");
20526 arg2
= static_cast< wxDragResult
>(val2
);
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 (arg1
)->SetDragResult(arg2
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= SWIG_Py_Void();
20540 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20541 PyObject
*resultobj
= 0;
20542 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20546 PyObject
*swig_obj
[1] ;
20548 if (!args
) SWIG_fail
;
20549 swig_obj
[0] = args
;
20550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20551 if (!SWIG_IsOK(res1
)) {
20552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20554 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetPosition();
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= SWIG_From_int(static_cast< int >(result
));
20568 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20569 PyObject
*resultobj
= 0;
20570 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20574 PyObject
*swig_obj
[1] ;
20576 if (!args
) SWIG_fail
;
20577 swig_obj
[0] = args
;
20578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20579 if (!SWIG_IsOK(res1
)) {
20580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20582 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetKey();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= SWIG_From_int(static_cast< int >(result
));
20596 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20597 PyObject
*resultobj
= 0;
20598 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20602 PyObject
*swig_obj
[1] ;
20604 if (!args
) SWIG_fail
;
20605 swig_obj
[0] = args
;
20606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20607 if (!SWIG_IsOK(res1
)) {
20608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20610 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetModifiers();
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= SWIG_From_int(static_cast< int >(result
));
20624 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetModificationType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20625 PyObject
*resultobj
= 0;
20626 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20630 PyObject
*swig_obj
[1] ;
20632 if (!args
) SWIG_fail
;
20633 swig_obj
[0] = args
;
20634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20635 if (!SWIG_IsOK(res1
)) {
20636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20638 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20641 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetModificationType();
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20645 resultobj
= SWIG_From_int(static_cast< int >(result
));
20652 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20653 PyObject
*resultobj
= 0;
20654 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20658 PyObject
*swig_obj
[1] ;
20660 if (!args
) SWIG_fail
;
20661 swig_obj
[0] = args
;
20662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20663 if (!SWIG_IsOK(res1
)) {
20664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetText" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20666 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= ((wxStyledTextEvent
const *)arg1
)->GetText();
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20686 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20687 PyObject
*resultobj
= 0;
20688 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20692 PyObject
*swig_obj
[1] ;
20694 if (!args
) SWIG_fail
;
20695 swig_obj
[0] = args
;
20696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20697 if (!SWIG_IsOK(res1
)) {
20698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20700 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetLength();
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= SWIG_From_int(static_cast< int >(result
));
20714 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetLinesAdded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20715 PyObject
*resultobj
= 0;
20716 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20720 PyObject
*swig_obj
[1] ;
20722 if (!args
) SWIG_fail
;
20723 swig_obj
[0] = args
;
20724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20725 if (!SWIG_IsOK(res1
)) {
20726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20728 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetLinesAdded();
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_From_int(static_cast< int >(result
));
20742 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20743 PyObject
*resultobj
= 0;
20744 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20748 PyObject
*swig_obj
[1] ;
20750 if (!args
) SWIG_fail
;
20751 swig_obj
[0] = args
;
20752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20753 if (!SWIG_IsOK(res1
)) {
20754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20756 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetLine();
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_From_int(static_cast< int >(result
));
20770 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetFoldLevelNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20771 PyObject
*resultobj
= 0;
20772 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20776 PyObject
*swig_obj
[1] ;
20778 if (!args
) SWIG_fail
;
20779 swig_obj
[0] = args
;
20780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20781 if (!SWIG_IsOK(res1
)) {
20782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20784 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetFoldLevelNow();
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_From_int(static_cast< int >(result
));
20798 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20799 PyObject
*resultobj
= 0;
20800 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20804 PyObject
*swig_obj
[1] ;
20806 if (!args
) SWIG_fail
;
20807 swig_obj
[0] = args
;
20808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20809 if (!SWIG_IsOK(res1
)) {
20810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20812 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetFoldLevelPrev();
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= SWIG_From_int(static_cast< int >(result
));
20826 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20827 PyObject
*resultobj
= 0;
20828 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20832 PyObject
*swig_obj
[1] ;
20834 if (!args
) SWIG_fail
;
20835 swig_obj
[0] = args
;
20836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20837 if (!SWIG_IsOK(res1
)) {
20838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20840 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetMargin();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= SWIG_From_int(static_cast< int >(result
));
20854 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20855 PyObject
*resultobj
= 0;
20856 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20860 PyObject
*swig_obj
[1] ;
20862 if (!args
) SWIG_fail
;
20863 swig_obj
[0] = args
;
20864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20865 if (!SWIG_IsOK(res1
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20868 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetMessage();
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= SWIG_From_int(static_cast< int >(result
));
20882 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetWParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20883 PyObject
*resultobj
= 0;
20884 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20888 PyObject
*swig_obj
[1] ;
20890 if (!args
) SWIG_fail
;
20891 swig_obj
[0] = args
;
20892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20893 if (!SWIG_IsOK(res1
)) {
20894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20896 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetWParam();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= SWIG_From_int(static_cast< int >(result
));
20910 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetLParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20911 PyObject
*resultobj
= 0;
20912 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20916 PyObject
*swig_obj
[1] ;
20918 if (!args
) SWIG_fail
;
20919 swig_obj
[0] = args
;
20920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20921 if (!SWIG_IsOK(res1
)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20924 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetLParam();
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 resultobj
= SWIG_From_int(static_cast< int >(result
));
20938 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetListType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20939 PyObject
*resultobj
= 0;
20940 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20944 PyObject
*swig_obj
[1] ;
20946 if (!args
) SWIG_fail
;
20947 swig_obj
[0] = args
;
20948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20949 if (!SWIG_IsOK(res1
)) {
20950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20952 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20955 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetListType();
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 resultobj
= SWIG_From_int(static_cast< int >(result
));
20966 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20967 PyObject
*resultobj
= 0;
20968 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
20972 PyObject
*swig_obj
[1] ;
20974 if (!args
) SWIG_fail
;
20975 swig_obj
[0] = args
;
20976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
20977 if (!SWIG_IsOK(res1
)) {
20978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetX" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20980 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetX();
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 resultobj
= SWIG_From_int(static_cast< int >(result
));
20994 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20995 PyObject
*resultobj
= 0;
20996 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
21000 PyObject
*swig_obj
[1] ;
21002 if (!args
) SWIG_fail
;
21003 swig_obj
[0] = args
;
21004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
21005 if (!SWIG_IsOK(res1
)) {
21006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetY" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21008 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetY();
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= SWIG_From_int(static_cast< int >(result
));
21022 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetDragText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21023 PyObject
*resultobj
= 0;
21024 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
21028 PyObject
*swig_obj
[1] ;
21030 if (!args
) SWIG_fail
;
21031 swig_obj
[0] = args
;
21032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
21033 if (!SWIG_IsOK(res1
)) {
21034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21036 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21039 result
= (arg1
)->GetDragText();
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21056 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetDragAllowMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21057 PyObject
*resultobj
= 0;
21058 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
21062 PyObject
*swig_obj
[1] ;
21064 if (!args
) SWIG_fail
;
21065 swig_obj
[0] = args
;
21066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
21067 if (!SWIG_IsOK(res1
)) {
21068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21070 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 result
= (bool)(arg1
)->GetDragAllowMove();
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21086 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetDragResult(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21087 PyObject
*resultobj
= 0;
21088 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
21089 wxDragResult result
;
21092 PyObject
*swig_obj
[1] ;
21094 if (!args
) SWIG_fail
;
21095 swig_obj
[0] = args
;
21096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
21097 if (!SWIG_IsOK(res1
)) {
21098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21100 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= (wxDragResult
)(arg1
)->GetDragResult();
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21107 resultobj
= SWIG_From_int(static_cast< int >(result
));
21114 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetShift(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21115 PyObject
*resultobj
= 0;
21116 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
21120 PyObject
*swig_obj
[1] ;
21122 if (!args
) SWIG_fail
;
21123 swig_obj
[0] = args
;
21124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
21125 if (!SWIG_IsOK(res1
)) {
21126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetShift" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21128 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 result
= (bool)((wxStyledTextEvent
const *)arg1
)->GetShift();
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21144 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21145 PyObject
*resultobj
= 0;
21146 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
21150 PyObject
*swig_obj
[1] ;
21152 if (!args
) SWIG_fail
;
21153 swig_obj
[0] = args
;
21154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
21155 if (!SWIG_IsOK(res1
)) {
21156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetControl" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21158 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (bool)((wxStyledTextEvent
const *)arg1
)->GetControl();
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21174 SWIGINTERN PyObject
*_wrap_StyledTextEvent_GetAlt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21175 PyObject
*resultobj
= 0;
21176 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
21180 PyObject
*swig_obj
[1] ;
21182 if (!args
) SWIG_fail
;
21183 swig_obj
[0] = args
;
21184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStyledTextEvent
, 0 | 0 );
21185 if (!SWIG_IsOK(res1
)) {
21186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StyledTextEvent_GetAlt" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21188 arg1
= reinterpret_cast< wxStyledTextEvent
* >(argp1
);
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 result
= (bool)((wxStyledTextEvent
const *)arg1
)->GetAlt();
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21204 SWIGINTERN PyObject
*StyledTextEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21207 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextEvent
, SWIG_NewClientData(obj
));
21208 return SWIG_Py_Void();
21211 SWIGINTERN PyObject
*StyledTextEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21212 return SWIG_Python_InitShadowInstance(args
);
21215 static PyMethodDef SwigMethods
[] = {
21216 { (char *)"new_StyledTextCtrl", (PyCFunction
) _wrap_new_StyledTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21217 { (char *)"new_PreStyledTextCtrl", (PyCFunction
)_wrap_new_PreStyledTextCtrl
, METH_NOARGS
, NULL
},
21218 { (char *)"StyledTextCtrl_Create", (PyCFunction
) _wrap_StyledTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21219 { (char *)"StyledTextCtrl_AddText", (PyCFunction
) _wrap_StyledTextCtrl_AddText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21220 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction
) _wrap_StyledTextCtrl_AddStyledText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21221 { (char *)"StyledTextCtrl_InsertText", (PyCFunction
) _wrap_StyledTextCtrl_InsertText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21222 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction
)_wrap_StyledTextCtrl_ClearAll
, METH_O
, NULL
},
21223 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction
)_wrap_StyledTextCtrl_ClearDocumentStyle
, METH_O
, NULL
},
21224 { (char *)"StyledTextCtrl_GetLength", (PyCFunction
)_wrap_StyledTextCtrl_GetLength
, METH_O
, NULL
},
21225 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction
) _wrap_StyledTextCtrl_GetCharAt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21226 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction
)_wrap_StyledTextCtrl_GetCurrentPos
, METH_O
, NULL
},
21227 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction
)_wrap_StyledTextCtrl_GetAnchor
, METH_O
, NULL
},
21228 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction
) _wrap_StyledTextCtrl_GetStyleAt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21229 { (char *)"StyledTextCtrl_Redo", (PyCFunction
)_wrap_StyledTextCtrl_Redo
, METH_O
, NULL
},
21230 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction
) _wrap_StyledTextCtrl_SetUndoCollection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21231 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction
)_wrap_StyledTextCtrl_SelectAll
, METH_O
, NULL
},
21232 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction
)_wrap_StyledTextCtrl_SetSavePoint
, METH_O
, NULL
},
21233 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction
) _wrap_StyledTextCtrl_GetStyledText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21234 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction
)_wrap_StyledTextCtrl_CanRedo
, METH_O
, NULL
},
21235 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction
) _wrap_StyledTextCtrl_MarkerLineFromHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21236 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDeleteHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21237 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction
)_wrap_StyledTextCtrl_GetUndoCollection
, METH_O
, NULL
},
21238 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction
)_wrap_StyledTextCtrl_GetViewWhiteSpace
, METH_O
, NULL
},
21239 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction
) _wrap_StyledTextCtrl_SetViewWhiteSpace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21240 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction
) _wrap_StyledTextCtrl_PositionFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21241 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction
) _wrap_StyledTextCtrl_PositionFromPointClose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21242 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction
) _wrap_StyledTextCtrl_GotoLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21243 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction
) _wrap_StyledTextCtrl_GotoPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21244 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction
) _wrap_StyledTextCtrl_SetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21245 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction
)_wrap_StyledTextCtrl_GetCurLine
, METH_O
, NULL
},
21246 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction
)_wrap_StyledTextCtrl_GetEndStyled
, METH_O
, NULL
},
21247 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction
) _wrap_StyledTextCtrl_ConvertEOLs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21248 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction
)_wrap_StyledTextCtrl_GetEOLMode
, METH_O
, NULL
},
21249 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction
) _wrap_StyledTextCtrl_SetEOLMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21250 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction
) _wrap_StyledTextCtrl_StartStyling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21251 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction
) _wrap_StyledTextCtrl_SetStyling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21252 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction
)_wrap_StyledTextCtrl_GetBufferedDraw
, METH_O
, NULL
},
21253 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction
) _wrap_StyledTextCtrl_SetBufferedDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21254 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction
) _wrap_StyledTextCtrl_SetTabWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21255 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction
)_wrap_StyledTextCtrl_GetTabWidth
, METH_O
, NULL
},
21256 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction
) _wrap_StyledTextCtrl_SetCodePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21257 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDefine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21258 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction
) _wrap_StyledTextCtrl_MarkerSetForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21259 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction
) _wrap_StyledTextCtrl_MarkerSetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21260 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction
) _wrap_StyledTextCtrl_MarkerAdd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21261 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21262 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21263 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction
) _wrap_StyledTextCtrl_MarkerGet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21264 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction
) _wrap_StyledTextCtrl_MarkerNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21265 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction
) _wrap_StyledTextCtrl_MarkerPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21266 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDefineBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21267 { (char *)"StyledTextCtrl_MarkerAddSet", (PyCFunction
) _wrap_StyledTextCtrl_MarkerAddSet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21268 { (char *)"StyledTextCtrl_MarkerSetAlpha", (PyCFunction
) _wrap_StyledTextCtrl_MarkerSetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21269 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21270 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21271 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21272 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21273 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21274 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21275 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginSensitive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21276 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginSensitive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21277 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction
)_wrap_StyledTextCtrl_StyleClearAll
, METH_O
, NULL
},
21278 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21279 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21280 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21281 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21282 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21283 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21284 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetEOLFilled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21285 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction
)_wrap_StyledTextCtrl_StyleResetDefault
, METH_O
, NULL
},
21286 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetUnderline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21287 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetCase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21288 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetHotSpot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21289 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction
) _wrap_StyledTextCtrl_SetSelForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21290 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction
) _wrap_StyledTextCtrl_SetSelBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21291 { (char *)"StyledTextCtrl_GetSelAlpha", (PyCFunction
)_wrap_StyledTextCtrl_GetSelAlpha
, METH_O
, NULL
},
21292 { (char *)"StyledTextCtrl_SetSelAlpha", (PyCFunction
) _wrap_StyledTextCtrl_SetSelAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21293 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21294 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction
) _wrap_StyledTextCtrl_CmdKeyAssign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21295 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction
) _wrap_StyledTextCtrl_CmdKeyClear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21296 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction
)_wrap_StyledTextCtrl_CmdKeyClearAll
, METH_O
, NULL
},
21297 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction
) _wrap_StyledTextCtrl_SetStyleBytes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21298 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21299 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction
)_wrap_StyledTextCtrl_GetCaretPeriod
, METH_O
, NULL
},
21300 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretPeriod
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21301 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction
) _wrap_StyledTextCtrl_SetWordChars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21302 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction
)_wrap_StyledTextCtrl_BeginUndoAction
, METH_O
, NULL
},
21303 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction
)_wrap_StyledTextCtrl_EndUndoAction
, METH_O
, NULL
},
21304 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction
) _wrap_StyledTextCtrl_IndicatorSetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21305 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction
) _wrap_StyledTextCtrl_IndicatorGetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21306 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction
) _wrap_StyledTextCtrl_IndicatorSetForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21307 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction
) _wrap_StyledTextCtrl_IndicatorGetForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21308 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction
) _wrap_StyledTextCtrl_SetWhitespaceForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21309 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction
) _wrap_StyledTextCtrl_SetWhitespaceBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21310 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction
) _wrap_StyledTextCtrl_SetStyleBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21311 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction
)_wrap_StyledTextCtrl_GetStyleBits
, METH_O
, NULL
},
21312 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction
) _wrap_StyledTextCtrl_SetLineState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21313 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction
) _wrap_StyledTextCtrl_GetLineState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21314 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction
)_wrap_StyledTextCtrl_GetMaxLineState
, METH_O
, NULL
},
21315 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction
)_wrap_StyledTextCtrl_GetCaretLineVisible
, METH_O
, NULL
},
21316 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretLineVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21317 { (char *)"StyledTextCtrl_GetCaretLineBackground", (PyCFunction
)_wrap_StyledTextCtrl_GetCaretLineBackground
, METH_O
, NULL
},
21318 { (char *)"StyledTextCtrl_SetCaretLineBackground", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretLineBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21319 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetChangeable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21320 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21321 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompCancel
, METH_O
, NULL
},
21322 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompActive
, METH_O
, NULL
},
21323 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompPosStart
, METH_O
, NULL
},
21324 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompComplete
, METH_O
, NULL
},
21325 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompStops
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21326 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21327 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompGetSeparator
, METH_O
, NULL
},
21328 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSelect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21329 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21330 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompGetCancelAtStart
, METH_O
, NULL
},
21331 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetFillUps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21332 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetChooseSingle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21333 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompGetChooseSingle
, METH_O
, NULL
},
21334 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21335 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompGetIgnoreCase
, METH_O
, NULL
},
21336 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction
) _wrap_StyledTextCtrl_UserListShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21337 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetAutoHide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21338 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompGetAutoHide
, METH_O
, NULL
},
21339 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21340 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord
, METH_O
, NULL
},
21341 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction
) _wrap_StyledTextCtrl_RegisterImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21342 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction
)_wrap_StyledTextCtrl_ClearRegisteredImages
, METH_O
, NULL
},
21343 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompGetTypeSeparator
, METH_O
, NULL
},
21344 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21345 { (char *)"StyledTextCtrl_AutoCompSetMaxWidth", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21346 { (char *)"StyledTextCtrl_AutoCompGetMaxWidth", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompGetMaxWidth
, METH_O
, NULL
},
21347 { (char *)"StyledTextCtrl_AutoCompSetMaxHeight", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21348 { (char *)"StyledTextCtrl_AutoCompGetMaxHeight", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompGetMaxHeight
, METH_O
, NULL
},
21349 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction
) _wrap_StyledTextCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21350 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction
)_wrap_StyledTextCtrl_GetIndent
, METH_O
, NULL
},
21351 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction
) _wrap_StyledTextCtrl_SetUseTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21352 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction
)_wrap_StyledTextCtrl_GetUseTabs
, METH_O
, NULL
},
21353 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction
) _wrap_StyledTextCtrl_SetLineIndentation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21354 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction
) _wrap_StyledTextCtrl_GetLineIndentation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21355 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction
) _wrap_StyledTextCtrl_GetLineIndentPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21356 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction
) _wrap_StyledTextCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21357 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21358 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction
)_wrap_StyledTextCtrl_GetUseHorizontalScrollBar
, METH_O
, NULL
},
21359 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction
) _wrap_StyledTextCtrl_SetIndentationGuides
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21360 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction
)_wrap_StyledTextCtrl_GetIndentationGuides
, METH_O
, NULL
},
21361 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction
) _wrap_StyledTextCtrl_SetHighlightGuide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21362 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction
)_wrap_StyledTextCtrl_GetHighlightGuide
, METH_O
, NULL
},
21363 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction
) _wrap_StyledTextCtrl_GetLineEndPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21364 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction
)_wrap_StyledTextCtrl_GetCodePage
, METH_O
, NULL
},
21365 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction
)_wrap_StyledTextCtrl_GetCaretForeground
, METH_O
, NULL
},
21366 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction
)_wrap_StyledTextCtrl_GetReadOnly
, METH_O
, NULL
},
21367 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction
) _wrap_StyledTextCtrl_SetCurrentPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21368 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction
) _wrap_StyledTextCtrl_SetSelectionStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21369 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction
)_wrap_StyledTextCtrl_GetSelectionStart
, METH_O
, NULL
},
21370 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction
) _wrap_StyledTextCtrl_SetSelectionEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21371 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction
)_wrap_StyledTextCtrl_GetSelectionEnd
, METH_O
, NULL
},
21372 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction
) _wrap_StyledTextCtrl_SetPrintMagnification
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21373 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction
)_wrap_StyledTextCtrl_GetPrintMagnification
, METH_O
, NULL
},
21374 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction
) _wrap_StyledTextCtrl_SetPrintColourMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21375 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction
)_wrap_StyledTextCtrl_GetPrintColourMode
, METH_O
, NULL
},
21376 { (char *)"StyledTextCtrl_FindText", (PyCFunction
) _wrap_StyledTextCtrl_FindText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21377 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction
) _wrap_StyledTextCtrl_FormatRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21378 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction
)_wrap_StyledTextCtrl_GetFirstVisibleLine
, METH_O
, NULL
},
21379 { (char *)"StyledTextCtrl_GetLine", (PyCFunction
) _wrap_StyledTextCtrl_GetLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21380 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction
)_wrap_StyledTextCtrl_GetLineCount
, METH_O
, NULL
},
21381 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21382 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction
)_wrap_StyledTextCtrl_GetMarginLeft
, METH_O
, NULL
},
21383 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21384 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction
)_wrap_StyledTextCtrl_GetMarginRight
, METH_O
, NULL
},
21385 { (char *)"StyledTextCtrl_GetModify", (PyCFunction
)_wrap_StyledTextCtrl_GetModify
, METH_O
, NULL
},
21386 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction
) _wrap_StyledTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21387 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction
)_wrap_StyledTextCtrl_GetSelectedText
, METH_O
, NULL
},
21388 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction
) _wrap_StyledTextCtrl_GetTextRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21389 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction
) _wrap_StyledTextCtrl_HideSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21390 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction
) _wrap_StyledTextCtrl_LineFromPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21391 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction
) _wrap_StyledTextCtrl_PositionFromLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21392 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction
) _wrap_StyledTextCtrl_LineScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21393 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction
)_wrap_StyledTextCtrl_EnsureCaretVisible
, METH_O
, NULL
},
21394 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction
) _wrap_StyledTextCtrl_ReplaceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21395 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction
) _wrap_StyledTextCtrl_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21396 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction
)_wrap_StyledTextCtrl_CanPaste
, METH_O
, NULL
},
21397 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction
)_wrap_StyledTextCtrl_CanUndo
, METH_O
, NULL
},
21398 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction
)_wrap_StyledTextCtrl_EmptyUndoBuffer
, METH_O
, NULL
},
21399 { (char *)"StyledTextCtrl_Undo", (PyCFunction
)_wrap_StyledTextCtrl_Undo
, METH_O
, NULL
},
21400 { (char *)"StyledTextCtrl_Cut", (PyCFunction
)_wrap_StyledTextCtrl_Cut
, METH_O
, NULL
},
21401 { (char *)"StyledTextCtrl_Copy", (PyCFunction
)_wrap_StyledTextCtrl_Copy
, METH_O
, NULL
},
21402 { (char *)"StyledTextCtrl_Paste", (PyCFunction
)_wrap_StyledTextCtrl_Paste
, METH_O
, NULL
},
21403 { (char *)"StyledTextCtrl_Clear", (PyCFunction
)_wrap_StyledTextCtrl_Clear
, METH_O
, NULL
},
21404 { (char *)"StyledTextCtrl_SetText", (PyCFunction
) _wrap_StyledTextCtrl_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21405 { (char *)"StyledTextCtrl_GetText", (PyCFunction
)_wrap_StyledTextCtrl_GetText
, METH_O
, NULL
},
21406 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction
)_wrap_StyledTextCtrl_GetTextLength
, METH_O
, NULL
},
21407 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction
) _wrap_StyledTextCtrl_SetOvertype
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21408 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction
)_wrap_StyledTextCtrl_GetOvertype
, METH_O
, NULL
},
21409 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21410 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction
)_wrap_StyledTextCtrl_GetCaretWidth
, METH_O
, NULL
},
21411 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction
) _wrap_StyledTextCtrl_SetTargetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21412 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction
)_wrap_StyledTextCtrl_GetTargetStart
, METH_O
, NULL
},
21413 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction
) _wrap_StyledTextCtrl_SetTargetEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21414 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction
)_wrap_StyledTextCtrl_GetTargetEnd
, METH_O
, NULL
},
21415 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction
) _wrap_StyledTextCtrl_ReplaceTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21416 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction
) _wrap_StyledTextCtrl_ReplaceTargetRE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21417 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction
) _wrap_StyledTextCtrl_SearchInTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21418 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction
) _wrap_StyledTextCtrl_SetSearchFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21419 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction
)_wrap_StyledTextCtrl_GetSearchFlags
, METH_O
, NULL
},
21420 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction
) _wrap_StyledTextCtrl_CallTipShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21421 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction
)_wrap_StyledTextCtrl_CallTipCancel
, METH_O
, NULL
},
21422 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction
)_wrap_StyledTextCtrl_CallTipActive
, METH_O
, NULL
},
21423 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction
)_wrap_StyledTextCtrl_CallTipPosAtStart
, METH_O
, NULL
},
21424 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction
) _wrap_StyledTextCtrl_CallTipSetHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21425 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction
) _wrap_StyledTextCtrl_CallTipSetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21426 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction
) _wrap_StyledTextCtrl_CallTipSetForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21427 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction
) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21428 { (char *)"StyledTextCtrl_CallTipUseStyle", (PyCFunction
) _wrap_StyledTextCtrl_CallTipUseStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21429 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction
) _wrap_StyledTextCtrl_VisibleFromDocLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21430 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction
) _wrap_StyledTextCtrl_DocLineFromVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21431 { (char *)"StyledTextCtrl_WrapCount", (PyCFunction
) _wrap_StyledTextCtrl_WrapCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21432 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21433 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction
) _wrap_StyledTextCtrl_GetFoldLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21434 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction
) _wrap_StyledTextCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21435 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction
) _wrap_StyledTextCtrl_GetFoldParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21436 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction
) _wrap_StyledTextCtrl_ShowLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21437 { (char *)"StyledTextCtrl_HideLines", (PyCFunction
) _wrap_StyledTextCtrl_HideLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21438 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction
) _wrap_StyledTextCtrl_GetLineVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21439 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21440 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction
) _wrap_StyledTextCtrl_GetFoldExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21441 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction
) _wrap_StyledTextCtrl_ToggleFold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21442 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction
) _wrap_StyledTextCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21443 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21444 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction
) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21445 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction
) _wrap_StyledTextCtrl_SetTabIndents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21446 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction
)_wrap_StyledTextCtrl_GetTabIndents
, METH_O
, NULL
},
21447 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction
) _wrap_StyledTextCtrl_SetBackSpaceUnIndents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21448 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction
)_wrap_StyledTextCtrl_GetBackSpaceUnIndents
, METH_O
, NULL
},
21449 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction
) _wrap_StyledTextCtrl_SetMouseDwellTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21450 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction
)_wrap_StyledTextCtrl_GetMouseDwellTime
, METH_O
, NULL
},
21451 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction
) _wrap_StyledTextCtrl_WordStartPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21452 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction
) _wrap_StyledTextCtrl_WordEndPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21453 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction
) _wrap_StyledTextCtrl_SetWrapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21454 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction
)_wrap_StyledTextCtrl_GetWrapMode
, METH_O
, NULL
},
21455 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction
) _wrap_StyledTextCtrl_SetWrapVisualFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21456 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction
)_wrap_StyledTextCtrl_GetWrapVisualFlags
, METH_O
, NULL
},
21457 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction
) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21458 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction
)_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation
, METH_O
, NULL
},
21459 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction
) _wrap_StyledTextCtrl_SetWrapStartIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21460 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction
)_wrap_StyledTextCtrl_GetWrapStartIndent
, METH_O
, NULL
},
21461 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction
) _wrap_StyledTextCtrl_SetLayoutCache
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21462 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction
)_wrap_StyledTextCtrl_GetLayoutCache
, METH_O
, NULL
},
21463 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction
) _wrap_StyledTextCtrl_SetScrollWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21464 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction
)_wrap_StyledTextCtrl_GetScrollWidth
, METH_O
, NULL
},
21465 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction
) _wrap_StyledTextCtrl_TextWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21466 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction
) _wrap_StyledTextCtrl_SetEndAtLastLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21467 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction
)_wrap_StyledTextCtrl_GetEndAtLastLine
, METH_O
, NULL
},
21468 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction
) _wrap_StyledTextCtrl_TextHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21469 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_SetUseVerticalScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21470 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction
)_wrap_StyledTextCtrl_GetUseVerticalScrollBar
, METH_O
, NULL
},
21471 { (char *)"StyledTextCtrl_AppendText", (PyCFunction
) _wrap_StyledTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21472 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction
)_wrap_StyledTextCtrl_GetTwoPhaseDraw
, METH_O
, NULL
},
21473 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction
) _wrap_StyledTextCtrl_SetTwoPhaseDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21474 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction
)_wrap_StyledTextCtrl_TargetFromSelection
, METH_O
, NULL
},
21475 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction
)_wrap_StyledTextCtrl_LinesJoin
, METH_O
, NULL
},
21476 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction
) _wrap_StyledTextCtrl_LinesSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21477 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldMarginColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21478 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldMarginHiColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21479 { (char *)"StyledTextCtrl_LineDown", (PyCFunction
)_wrap_StyledTextCtrl_LineDown
, METH_O
, NULL
},
21480 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction
)_wrap_StyledTextCtrl_LineDownExtend
, METH_O
, NULL
},
21481 { (char *)"StyledTextCtrl_LineUp", (PyCFunction
)_wrap_StyledTextCtrl_LineUp
, METH_O
, NULL
},
21482 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction
)_wrap_StyledTextCtrl_LineUpExtend
, METH_O
, NULL
},
21483 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction
)_wrap_StyledTextCtrl_CharLeft
, METH_O
, NULL
},
21484 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction
)_wrap_StyledTextCtrl_CharLeftExtend
, METH_O
, NULL
},
21485 { (char *)"StyledTextCtrl_CharRight", (PyCFunction
)_wrap_StyledTextCtrl_CharRight
, METH_O
, NULL
},
21486 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction
)_wrap_StyledTextCtrl_CharRightExtend
, METH_O
, NULL
},
21487 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction
)_wrap_StyledTextCtrl_WordLeft
, METH_O
, NULL
},
21488 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction
)_wrap_StyledTextCtrl_WordLeftExtend
, METH_O
, NULL
},
21489 { (char *)"StyledTextCtrl_WordRight", (PyCFunction
)_wrap_StyledTextCtrl_WordRight
, METH_O
, NULL
},
21490 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction
)_wrap_StyledTextCtrl_WordRightExtend
, METH_O
, NULL
},
21491 { (char *)"StyledTextCtrl_Home", (PyCFunction
)_wrap_StyledTextCtrl_Home
, METH_O
, NULL
},
21492 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction
)_wrap_StyledTextCtrl_HomeExtend
, METH_O
, NULL
},
21493 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction
)_wrap_StyledTextCtrl_LineEnd
, METH_O
, NULL
},
21494 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction
)_wrap_StyledTextCtrl_LineEndExtend
, METH_O
, NULL
},
21495 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction
)_wrap_StyledTextCtrl_DocumentStart
, METH_O
, NULL
},
21496 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction
)_wrap_StyledTextCtrl_DocumentStartExtend
, METH_O
, NULL
},
21497 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction
)_wrap_StyledTextCtrl_DocumentEnd
, METH_O
, NULL
},
21498 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction
)_wrap_StyledTextCtrl_DocumentEndExtend
, METH_O
, NULL
},
21499 { (char *)"StyledTextCtrl_PageUp", (PyCFunction
)_wrap_StyledTextCtrl_PageUp
, METH_O
, NULL
},
21500 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction
)_wrap_StyledTextCtrl_PageUpExtend
, METH_O
, NULL
},
21501 { (char *)"StyledTextCtrl_PageDown", (PyCFunction
)_wrap_StyledTextCtrl_PageDown
, METH_O
, NULL
},
21502 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction
)_wrap_StyledTextCtrl_PageDownExtend
, METH_O
, NULL
},
21503 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction
)_wrap_StyledTextCtrl_EditToggleOvertype
, METH_O
, NULL
},
21504 { (char *)"StyledTextCtrl_Cancel", (PyCFunction
)_wrap_StyledTextCtrl_Cancel
, METH_O
, NULL
},
21505 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction
)_wrap_StyledTextCtrl_DeleteBack
, METH_O
, NULL
},
21506 { (char *)"StyledTextCtrl_Tab", (PyCFunction
)_wrap_StyledTextCtrl_Tab
, METH_O
, NULL
},
21507 { (char *)"StyledTextCtrl_BackTab", (PyCFunction
)_wrap_StyledTextCtrl_BackTab
, METH_O
, NULL
},
21508 { (char *)"StyledTextCtrl_NewLine", (PyCFunction
)_wrap_StyledTextCtrl_NewLine
, METH_O
, NULL
},
21509 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction
)_wrap_StyledTextCtrl_FormFeed
, METH_O
, NULL
},
21510 { (char *)"StyledTextCtrl_VCHome", (PyCFunction
)_wrap_StyledTextCtrl_VCHome
, METH_O
, NULL
},
21511 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction
)_wrap_StyledTextCtrl_VCHomeExtend
, METH_O
, NULL
},
21512 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction
)_wrap_StyledTextCtrl_ZoomIn
, METH_O
, NULL
},
21513 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction
)_wrap_StyledTextCtrl_ZoomOut
, METH_O
, NULL
},
21514 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction
)_wrap_StyledTextCtrl_DelWordLeft
, METH_O
, NULL
},
21515 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction
)_wrap_StyledTextCtrl_DelWordRight
, METH_O
, NULL
},
21516 { (char *)"StyledTextCtrl_LineCut", (PyCFunction
)_wrap_StyledTextCtrl_LineCut
, METH_O
, NULL
},
21517 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction
)_wrap_StyledTextCtrl_LineDelete
, METH_O
, NULL
},
21518 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction
)_wrap_StyledTextCtrl_LineTranspose
, METH_O
, NULL
},
21519 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction
)_wrap_StyledTextCtrl_LineDuplicate
, METH_O
, NULL
},
21520 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction
)_wrap_StyledTextCtrl_LowerCase
, METH_O
, NULL
},
21521 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction
)_wrap_StyledTextCtrl_UpperCase
, METH_O
, NULL
},
21522 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction
)_wrap_StyledTextCtrl_LineScrollDown
, METH_O
, NULL
},
21523 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction
)_wrap_StyledTextCtrl_LineScrollUp
, METH_O
, NULL
},
21524 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction
)_wrap_StyledTextCtrl_DeleteBackNotLine
, METH_O
, NULL
},
21525 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction
)_wrap_StyledTextCtrl_HomeDisplay
, METH_O
, NULL
},
21526 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction
)_wrap_StyledTextCtrl_HomeDisplayExtend
, METH_O
, NULL
},
21527 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction
)_wrap_StyledTextCtrl_LineEndDisplay
, METH_O
, NULL
},
21528 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction
)_wrap_StyledTextCtrl_LineEndDisplayExtend
, METH_O
, NULL
},
21529 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction
)_wrap_StyledTextCtrl_HomeWrap
, METH_O
, NULL
},
21530 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction
)_wrap_StyledTextCtrl_HomeWrapExtend
, METH_O
, NULL
},
21531 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction
)_wrap_StyledTextCtrl_LineEndWrap
, METH_O
, NULL
},
21532 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction
)_wrap_StyledTextCtrl_LineEndWrapExtend
, METH_O
, NULL
},
21533 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction
)_wrap_StyledTextCtrl_VCHomeWrap
, METH_O
, NULL
},
21534 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction
)_wrap_StyledTextCtrl_VCHomeWrapExtend
, METH_O
, NULL
},
21535 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction
)_wrap_StyledTextCtrl_LineCopy
, METH_O
, NULL
},
21536 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction
)_wrap_StyledTextCtrl_MoveCaretInsideView
, METH_O
, NULL
},
21537 { (char *)"StyledTextCtrl_LineLength", (PyCFunction
) _wrap_StyledTextCtrl_LineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21538 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction
) _wrap_StyledTextCtrl_BraceHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21539 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction
) _wrap_StyledTextCtrl_BraceBadLight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21540 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction
) _wrap_StyledTextCtrl_BraceMatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21541 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction
)_wrap_StyledTextCtrl_GetViewEOL
, METH_O
, NULL
},
21542 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction
) _wrap_StyledTextCtrl_SetViewEOL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21543 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction
)_wrap_StyledTextCtrl_GetDocPointer
, METH_O
, NULL
},
21544 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction
) _wrap_StyledTextCtrl_SetDocPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21545 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction
) _wrap_StyledTextCtrl_SetModEventMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21546 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction
)_wrap_StyledTextCtrl_GetEdgeColumn
, METH_O
, NULL
},
21547 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction
) _wrap_StyledTextCtrl_SetEdgeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21548 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction
)_wrap_StyledTextCtrl_GetEdgeMode
, METH_O
, NULL
},
21549 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction
) _wrap_StyledTextCtrl_SetEdgeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21550 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction
)_wrap_StyledTextCtrl_GetEdgeColour
, METH_O
, NULL
},
21551 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction
) _wrap_StyledTextCtrl_SetEdgeColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21552 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction
)_wrap_StyledTextCtrl_SearchAnchor
, METH_O
, NULL
},
21553 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction
) _wrap_StyledTextCtrl_SearchNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21554 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction
) _wrap_StyledTextCtrl_SearchPrev
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21555 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction
)_wrap_StyledTextCtrl_LinesOnScreen
, METH_O
, NULL
},
21556 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction
) _wrap_StyledTextCtrl_UsePopUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21557 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction
)_wrap_StyledTextCtrl_SelectionIsRectangle
, METH_O
, NULL
},
21558 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction
) _wrap_StyledTextCtrl_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21559 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction
)_wrap_StyledTextCtrl_GetZoom
, METH_O
, NULL
},
21560 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction
)_wrap_StyledTextCtrl_CreateDocument
, METH_O
, NULL
},
21561 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction
) _wrap_StyledTextCtrl_AddRefDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21562 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction
) _wrap_StyledTextCtrl_ReleaseDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21563 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction
)_wrap_StyledTextCtrl_GetModEventMask
, METH_O
, NULL
},
21564 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction
) _wrap_StyledTextCtrl_SetSTCFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21565 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction
)_wrap_StyledTextCtrl_GetSTCFocus
, METH_O
, NULL
},
21566 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction
) _wrap_StyledTextCtrl_SetStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21567 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction
)_wrap_StyledTextCtrl_GetStatus
, METH_O
, NULL
},
21568 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction
) _wrap_StyledTextCtrl_SetMouseDownCaptures
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21569 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction
)_wrap_StyledTextCtrl_GetMouseDownCaptures
, METH_O
, NULL
},
21570 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction
) _wrap_StyledTextCtrl_SetSTCCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21571 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction
)_wrap_StyledTextCtrl_GetSTCCursor
, METH_O
, NULL
},
21572 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction
) _wrap_StyledTextCtrl_SetControlCharSymbol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21573 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction
)_wrap_StyledTextCtrl_GetControlCharSymbol
, METH_O
, NULL
},
21574 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction
)_wrap_StyledTextCtrl_WordPartLeft
, METH_O
, NULL
},
21575 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction
)_wrap_StyledTextCtrl_WordPartLeftExtend
, METH_O
, NULL
},
21576 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction
)_wrap_StyledTextCtrl_WordPartRight
, METH_O
, NULL
},
21577 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction
)_wrap_StyledTextCtrl_WordPartRightExtend
, METH_O
, NULL
},
21578 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction
) _wrap_StyledTextCtrl_SetVisiblePolicy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21579 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction
)_wrap_StyledTextCtrl_DelLineLeft
, METH_O
, NULL
},
21580 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction
)_wrap_StyledTextCtrl_DelLineRight
, METH_O
, NULL
},
21581 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction
) _wrap_StyledTextCtrl_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21582 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction
)_wrap_StyledTextCtrl_GetXOffset
, METH_O
, NULL
},
21583 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction
)_wrap_StyledTextCtrl_ChooseCaretX
, METH_O
, NULL
},
21584 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction
) _wrap_StyledTextCtrl_SetXCaretPolicy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21585 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction
) _wrap_StyledTextCtrl_SetYCaretPolicy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21586 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction
) _wrap_StyledTextCtrl_SetPrintWrapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21587 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction
)_wrap_StyledTextCtrl_GetPrintWrapMode
, METH_O
, NULL
},
21588 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction
) _wrap_StyledTextCtrl_SetHotspotActiveForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21589 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction
) _wrap_StyledTextCtrl_SetHotspotActiveBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21590 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction
) _wrap_StyledTextCtrl_SetHotspotActiveUnderline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21591 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction
) _wrap_StyledTextCtrl_SetHotspotSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21592 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction
)_wrap_StyledTextCtrl_ParaDown
, METH_O
, NULL
},
21593 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction
)_wrap_StyledTextCtrl_ParaDownExtend
, METH_O
, NULL
},
21594 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction
)_wrap_StyledTextCtrl_ParaUp
, METH_O
, NULL
},
21595 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction
)_wrap_StyledTextCtrl_ParaUpExtend
, METH_O
, NULL
},
21596 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction
) _wrap_StyledTextCtrl_PositionBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21597 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction
) _wrap_StyledTextCtrl_PositionAfter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21598 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction
) _wrap_StyledTextCtrl_CopyRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21599 { (char *)"StyledTextCtrl_CopyText", (PyCFunction
) _wrap_StyledTextCtrl_CopyText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21600 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction
) _wrap_StyledTextCtrl_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21601 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction
)_wrap_StyledTextCtrl_GetSelectionMode
, METH_O
, NULL
},
21602 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction
) _wrap_StyledTextCtrl_GetLineSelStartPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21603 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction
) _wrap_StyledTextCtrl_GetLineSelEndPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21604 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction
)_wrap_StyledTextCtrl_LineDownRectExtend
, METH_O
, NULL
},
21605 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction
)_wrap_StyledTextCtrl_LineUpRectExtend
, METH_O
, NULL
},
21606 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction
)_wrap_StyledTextCtrl_CharLeftRectExtend
, METH_O
, NULL
},
21607 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction
)_wrap_StyledTextCtrl_CharRightRectExtend
, METH_O
, NULL
},
21608 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction
)_wrap_StyledTextCtrl_HomeRectExtend
, METH_O
, NULL
},
21609 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction
)_wrap_StyledTextCtrl_VCHomeRectExtend
, METH_O
, NULL
},
21610 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction
)_wrap_StyledTextCtrl_LineEndRectExtend
, METH_O
, NULL
},
21611 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction
)_wrap_StyledTextCtrl_PageUpRectExtend
, METH_O
, NULL
},
21612 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction
)_wrap_StyledTextCtrl_PageDownRectExtend
, METH_O
, NULL
},
21613 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction
)_wrap_StyledTextCtrl_StutteredPageUp
, METH_O
, NULL
},
21614 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction
)_wrap_StyledTextCtrl_StutteredPageUpExtend
, METH_O
, NULL
},
21615 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction
)_wrap_StyledTextCtrl_StutteredPageDown
, METH_O
, NULL
},
21616 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction
)_wrap_StyledTextCtrl_StutteredPageDownExtend
, METH_O
, NULL
},
21617 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction
)_wrap_StyledTextCtrl_WordLeftEnd
, METH_O
, NULL
},
21618 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction
)_wrap_StyledTextCtrl_WordLeftEndExtend
, METH_O
, NULL
},
21619 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction
)_wrap_StyledTextCtrl_WordRightEnd
, METH_O
, NULL
},
21620 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction
)_wrap_StyledTextCtrl_WordRightEndExtend
, METH_O
, NULL
},
21621 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction
) _wrap_StyledTextCtrl_SetWhitespaceChars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21622 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction
)_wrap_StyledTextCtrl_SetCharsDefault
, METH_O
, NULL
},
21623 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction
)_wrap_StyledTextCtrl_AutoCompGetCurrent
, METH_O
, NULL
},
21624 { (char *)"StyledTextCtrl_Allocate", (PyCFunction
) _wrap_StyledTextCtrl_Allocate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21625 { (char *)"StyledTextCtrl_FindColumn", (PyCFunction
) _wrap_StyledTextCtrl_FindColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21626 { (char *)"StyledTextCtrl_GetCaretSticky", (PyCFunction
)_wrap_StyledTextCtrl_GetCaretSticky
, METH_O
, NULL
},
21627 { (char *)"StyledTextCtrl_SetCaretSticky", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretSticky
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21628 { (char *)"StyledTextCtrl_ToggleCaretSticky", (PyCFunction
)_wrap_StyledTextCtrl_ToggleCaretSticky
, METH_O
, NULL
},
21629 { (char *)"StyledTextCtrl_SetPasteConvertEndings", (PyCFunction
) _wrap_StyledTextCtrl_SetPasteConvertEndings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21630 { (char *)"StyledTextCtrl_GetPasteConvertEndings", (PyCFunction
)_wrap_StyledTextCtrl_GetPasteConvertEndings
, METH_O
, NULL
},
21631 { (char *)"StyledTextCtrl_SelectionDuplicate", (PyCFunction
)_wrap_StyledTextCtrl_SelectionDuplicate
, METH_O
, NULL
},
21632 { (char *)"StyledTextCtrl_SetCaretLineBackAlpha", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretLineBackAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21633 { (char *)"StyledTextCtrl_GetCaretLineBackAlpha", (PyCFunction
)_wrap_StyledTextCtrl_GetCaretLineBackAlpha
, METH_O
, NULL
},
21634 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction
)_wrap_StyledTextCtrl_StartRecord
, METH_O
, NULL
},
21635 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction
)_wrap_StyledTextCtrl_StopRecord
, METH_O
, NULL
},
21636 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction
) _wrap_StyledTextCtrl_SetLexer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21637 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction
)_wrap_StyledTextCtrl_GetLexer
, METH_O
, NULL
},
21638 { (char *)"StyledTextCtrl_Colourise", (PyCFunction
) _wrap_StyledTextCtrl_Colourise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21639 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction
) _wrap_StyledTextCtrl_SetProperty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21640 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction
) _wrap_StyledTextCtrl_SetKeyWords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21641 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction
) _wrap_StyledTextCtrl_SetLexerLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21642 { (char *)"StyledTextCtrl_GetProperty", (PyCFunction
) _wrap_StyledTextCtrl_GetProperty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21643 { (char *)"StyledTextCtrl_GetPropertyExpanded", (PyCFunction
) _wrap_StyledTextCtrl_GetPropertyExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21644 { (char *)"StyledTextCtrl_GetPropertyInt", (PyCFunction
) _wrap_StyledTextCtrl_GetPropertyInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21645 { (char *)"StyledTextCtrl_GetStyleBitsNeeded", (PyCFunction
)_wrap_StyledTextCtrl_GetStyleBitsNeeded
, METH_O
, NULL
},
21646 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction
)_wrap_StyledTextCtrl_GetCurrentLine
, METH_O
, NULL
},
21647 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetSpec
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21648 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21649 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetFontAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21650 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetCharacterSet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21651 { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21652 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction
) _wrap_StyledTextCtrl_CmdKeyExecute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21653 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction
) _wrap_StyledTextCtrl_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21654 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction
)_wrap_StyledTextCtrl_GetSelection
, METH_O
, NULL
},
21655 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction
) _wrap_StyledTextCtrl_PointFromPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21656 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction
) _wrap_StyledTextCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21657 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction
) _wrap_StyledTextCtrl_ScrollToColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21658 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction
) _wrap_StyledTextCtrl_SendMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21659 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_SetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21660 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_SetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21661 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction
)_wrap_StyledTextCtrl_GetLastKeydownProcessed
, METH_O
, NULL
},
21662 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction
) _wrap_StyledTextCtrl_SetLastKeydownProcessed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21663 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction
) _wrap_StyledTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21664 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction
) _wrap_StyledTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21665 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction
) _wrap_StyledTextCtrl_DoDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21666 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction
) _wrap_StyledTextCtrl_DoDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21667 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction
) _wrap_StyledTextCtrl_SetUseAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21668 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction
)_wrap_StyledTextCtrl_GetUseAntiAliasing
, METH_O
, NULL
},
21669 { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction
) _wrap_StyledTextCtrl_AddTextRaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21670 { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction
) _wrap_StyledTextCtrl_InsertTextRaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21671 { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction
)_wrap_StyledTextCtrl_GetCurLineRaw
, METH_O
, NULL
},
21672 { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction
) _wrap_StyledTextCtrl_GetLineRaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21673 { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction
)_wrap_StyledTextCtrl_GetSelectedTextRaw
, METH_O
, NULL
},
21674 { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction
) _wrap_StyledTextCtrl_GetTextRangeRaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21675 { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction
) _wrap_StyledTextCtrl_SetTextRaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21676 { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction
)_wrap_StyledTextCtrl_GetTextRaw
, METH_O
, NULL
},
21677 { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction
) _wrap_StyledTextCtrl_AppendTextRaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21678 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister
, METH_VARARGS
, NULL
},
21679 { (char *)"StyledTextCtrl_swiginit", StyledTextCtrl_swiginit
, METH_VARARGS
, NULL
},
21680 { (char *)"new_StyledTextEvent", (PyCFunction
) _wrap_new_StyledTextEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21681 { (char *)"delete_StyledTextEvent", (PyCFunction
)_wrap_delete_StyledTextEvent
, METH_O
, NULL
},
21682 { (char *)"StyledTextEvent_SetPosition", (PyCFunction
) _wrap_StyledTextEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21683 { (char *)"StyledTextEvent_SetKey", (PyCFunction
) _wrap_StyledTextEvent_SetKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21684 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction
) _wrap_StyledTextEvent_SetModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21685 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction
) _wrap_StyledTextEvent_SetModificationType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21686 { (char *)"StyledTextEvent_SetText", (PyCFunction
) _wrap_StyledTextEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21687 { (char *)"StyledTextEvent_SetLength", (PyCFunction
) _wrap_StyledTextEvent_SetLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21688 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction
) _wrap_StyledTextEvent_SetLinesAdded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21689 { (char *)"StyledTextEvent_SetLine", (PyCFunction
) _wrap_StyledTextEvent_SetLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21690 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction
) _wrap_StyledTextEvent_SetFoldLevelNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21691 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction
) _wrap_StyledTextEvent_SetFoldLevelPrev
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21692 { (char *)"StyledTextEvent_SetMargin", (PyCFunction
) _wrap_StyledTextEvent_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21693 { (char *)"StyledTextEvent_SetMessage", (PyCFunction
) _wrap_StyledTextEvent_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21694 { (char *)"StyledTextEvent_SetWParam", (PyCFunction
) _wrap_StyledTextEvent_SetWParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21695 { (char *)"StyledTextEvent_SetLParam", (PyCFunction
) _wrap_StyledTextEvent_SetLParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21696 { (char *)"StyledTextEvent_SetListType", (PyCFunction
) _wrap_StyledTextEvent_SetListType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21697 { (char *)"StyledTextEvent_SetX", (PyCFunction
) _wrap_StyledTextEvent_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21698 { (char *)"StyledTextEvent_SetY", (PyCFunction
) _wrap_StyledTextEvent_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21699 { (char *)"StyledTextEvent_SetDragText", (PyCFunction
) _wrap_StyledTextEvent_SetDragText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21700 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction
) _wrap_StyledTextEvent_SetDragAllowMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21701 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction
) _wrap_StyledTextEvent_SetDragResult
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21702 { (char *)"StyledTextEvent_GetPosition", (PyCFunction
)_wrap_StyledTextEvent_GetPosition
, METH_O
, NULL
},
21703 { (char *)"StyledTextEvent_GetKey", (PyCFunction
)_wrap_StyledTextEvent_GetKey
, METH_O
, NULL
},
21704 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction
)_wrap_StyledTextEvent_GetModifiers
, METH_O
, NULL
},
21705 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction
)_wrap_StyledTextEvent_GetModificationType
, METH_O
, NULL
},
21706 { (char *)"StyledTextEvent_GetText", (PyCFunction
)_wrap_StyledTextEvent_GetText
, METH_O
, NULL
},
21707 { (char *)"StyledTextEvent_GetLength", (PyCFunction
)_wrap_StyledTextEvent_GetLength
, METH_O
, NULL
},
21708 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction
)_wrap_StyledTextEvent_GetLinesAdded
, METH_O
, NULL
},
21709 { (char *)"StyledTextEvent_GetLine", (PyCFunction
)_wrap_StyledTextEvent_GetLine
, METH_O
, NULL
},
21710 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction
)_wrap_StyledTextEvent_GetFoldLevelNow
, METH_O
, NULL
},
21711 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction
)_wrap_StyledTextEvent_GetFoldLevelPrev
, METH_O
, NULL
},
21712 { (char *)"StyledTextEvent_GetMargin", (PyCFunction
)_wrap_StyledTextEvent_GetMargin
, METH_O
, NULL
},
21713 { (char *)"StyledTextEvent_GetMessage", (PyCFunction
)_wrap_StyledTextEvent_GetMessage
, METH_O
, NULL
},
21714 { (char *)"StyledTextEvent_GetWParam", (PyCFunction
)_wrap_StyledTextEvent_GetWParam
, METH_O
, NULL
},
21715 { (char *)"StyledTextEvent_GetLParam", (PyCFunction
)_wrap_StyledTextEvent_GetLParam
, METH_O
, NULL
},
21716 { (char *)"StyledTextEvent_GetListType", (PyCFunction
)_wrap_StyledTextEvent_GetListType
, METH_O
, NULL
},
21717 { (char *)"StyledTextEvent_GetX", (PyCFunction
)_wrap_StyledTextEvent_GetX
, METH_O
, NULL
},
21718 { (char *)"StyledTextEvent_GetY", (PyCFunction
)_wrap_StyledTextEvent_GetY
, METH_O
, NULL
},
21719 { (char *)"StyledTextEvent_GetDragText", (PyCFunction
)_wrap_StyledTextEvent_GetDragText
, METH_O
, NULL
},
21720 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction
)_wrap_StyledTextEvent_GetDragAllowMove
, METH_O
, NULL
},
21721 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction
)_wrap_StyledTextEvent_GetDragResult
, METH_O
, NULL
},
21722 { (char *)"StyledTextEvent_GetShift", (PyCFunction
)_wrap_StyledTextEvent_GetShift
, METH_O
, NULL
},
21723 { (char *)"StyledTextEvent_GetControl", (PyCFunction
)_wrap_StyledTextEvent_GetControl
, METH_O
, NULL
},
21724 { (char *)"StyledTextEvent_GetAlt", (PyCFunction
)_wrap_StyledTextEvent_GetAlt
, METH_O
, NULL
},
21725 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister
, METH_VARARGS
, NULL
},
21726 { (char *)"StyledTextEvent_swiginit", StyledTextEvent_swiginit
, METH_VARARGS
, NULL
},
21727 { NULL
, NULL
, 0, NULL
}
21731 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21733 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21734 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21736 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
21737 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
21739 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21740 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21742 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21743 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21745 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21746 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21748 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21749 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21751 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21752 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21754 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21755 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21757 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21758 return (void *)((wxObject
*) ((wxSizer
*) x
));
21760 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21761 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21763 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
21764 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
21766 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21769 static void *_p_wxEventTo_p_wxObject(void *x
) {
21770 return (void *)((wxObject
*) ((wxEvent
*) x
));
21772 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21773 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21775 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21776 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21778 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21779 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21781 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
21782 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21784 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21785 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21787 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21788 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21790 static void *_p_wxStyledTextEventTo_p_wxObject(void *x
) {
21791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxStyledTextEvent
*) x
));
21793 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21794 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21796 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21797 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21799 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21800 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21802 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21803 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21805 static void *_p_wxControlTo_p_wxObject(void *x
) {
21806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21808 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21809 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21811 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
21812 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
21814 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
21815 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
21817 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21818 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21820 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
21821 return (void *)((wxObject
*) ((wxClipboard
*) x
));
21823 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21824 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21826 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x
) {
21827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStyledTextCtrl
*) x
));
21829 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21830 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21832 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21835 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21836 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21838 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
21839 return (void *)((wxObject
*) ((wxToolTip
*) x
));
21841 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21842 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21844 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
21845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
21847 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21848 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21850 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21853 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21854 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21856 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21857 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21859 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21860 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21862 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21863 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21865 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21866 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21868 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21869 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21871 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21872 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21874 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21875 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21877 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21878 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21880 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21881 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21883 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21884 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21886 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21887 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21889 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21890 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21892 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21893 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21895 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21896 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21898 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
21899 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
21901 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21902 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21904 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21905 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21907 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21908 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21910 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
21911 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
21913 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21914 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21916 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
21917 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
21919 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21920 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21922 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
21923 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
21925 static void *_p_wxImageTo_p_wxObject(void *x
) {
21926 return (void *)((wxObject
*) ((wxImage
*) x
));
21928 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21929 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21931 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
21932 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
21934 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
21935 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
21937 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21938 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21940 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21941 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21943 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21944 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21946 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21947 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21949 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21950 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21952 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21955 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
21956 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
21958 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21959 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21961 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21962 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21964 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21965 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21967 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21968 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21970 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21971 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21973 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21974 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21976 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21977 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21979 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
21980 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
21982 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21983 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21985 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21986 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21988 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21989 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21991 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21992 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21994 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21997 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
21998 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
22000 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22003 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22006 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22007 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22009 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
22010 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
22012 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22013 return (void *)((wxWindow
*) ((wxControl
*) x
));
22015 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22016 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22018 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x
) {
22019 return (void *)((wxWindow
*) (wxControl
*) ((wxStyledTextCtrl
*) x
));
22021 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22022 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22024 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22025 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22027 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22028 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22030 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22031 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22033 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
22034 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
22036 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22037 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22039 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
22040 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
22042 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x
) {
22043 return (void *)((wxCommandEvent
*) ((wxStyledTextEvent
*) x
));
22045 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22046 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22048 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22049 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22051 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22052 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22054 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22055 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22057 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
22058 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
22060 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
22061 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
22063 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
22064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22066 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
22067 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
22069 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
22070 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
22072 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x
) {
22073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStyledTextCtrl
*) x
));
22075 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
22076 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
22078 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
22079 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
22081 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
22082 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
22084 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
22085 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
22087 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
22088 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
22090 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
22091 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
22093 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
22094 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
22096 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x
) {
22097 return (void *)((wxControl
*) ((wxStyledTextCtrl
*) x
));
22099 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
22100 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22102 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
22103 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
22105 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
22106 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
22108 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
22109 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
22111 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
22112 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
22114 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
22115 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
22117 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
22118 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
22120 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
22121 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
22123 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
22124 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
22126 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
22127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
22129 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
22130 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22132 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
22133 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
22135 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
22136 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
22138 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
22139 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
22141 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
22142 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
22144 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
22145 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22147 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
22148 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22150 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
22151 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
22153 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
22154 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
22156 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
22157 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
22159 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
22160 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
22162 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
22163 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
22165 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
22166 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
22168 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
22169 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
22171 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
22172 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
22174 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
22175 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
22177 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x
) {
22178 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxStyledTextEvent
*) x
));
22180 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
22181 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22183 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
22184 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
22186 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
22187 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22189 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
22190 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22192 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
22193 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22195 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
22196 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
22198 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
22199 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
22201 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
22202 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22204 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
22205 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
22207 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
22208 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
22210 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
22211 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
22213 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
22214 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22216 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
22217 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22219 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
22220 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22222 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
22223 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
22225 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
22226 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
22228 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
22229 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
22230 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
22231 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
22232 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
22233 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
22234 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
22235 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
22236 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
22237 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
22238 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
22239 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
22240 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
22241 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
22242 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
22243 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
22244 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
22245 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
22246 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
22247 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
22248 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
22249 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
22250 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
22251 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
22252 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
22253 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
22254 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
22255 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
22256 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
22257 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
22258 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", 0, 0, 0, 0, 0};
22259 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", 0, 0, 0, 0, 0};
22260 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
22261 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
22262 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
22263 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", 0, 0, 0, 0, 0};
22264 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
22265 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
22266 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
22267 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
22268 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
22269 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
22270 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
22271 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
22272 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
22273 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
22274 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
22275 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
22276 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
22277 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
22278 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
22279 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", 0, 0, 0, 0, 0};
22280 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
22281 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
22282 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
22283 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
22284 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
22285 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
22286 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", 0, 0, 0, 0, 0};
22287 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
22288 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
22289 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
22290 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
22291 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
22292 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", 0, 0, 0, 0, 0};
22293 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
22294 static swig_type_info _swigt__p_wxMemoryBuffer
= {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, (void*)0, 0};
22295 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
22296 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
22297 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
22298 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
22299 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
22300 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
22301 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
22302 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
22303 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
22304 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", 0, 0, 0, 0, 0};
22305 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
22306 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
22307 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
22308 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", 0, 0, 0, 0, 0};
22309 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
22310 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", 0, 0, 0, 0, 0};
22311 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
22312 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
22313 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
22314 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
22315 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
22316 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
22317 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
22318 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
22319 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
22320 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
22321 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
22322 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
22323 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
22324 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
22325 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
22326 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
22327 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
22328 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
22329 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", 0, 0, 0, 0, 0};
22330 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
22331 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", 0, 0, 0, 0, 0};
22332 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
22333 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
22334 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
22335 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
22336 static swig_type_info _swigt__p_wxStyledTextCtrl
= {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, (void*)0, 0};
22337 static swig_type_info _swigt__p_wxStyledTextEvent
= {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, (void*)0, 0};
22338 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
22340 static swig_type_info
*swig_type_initial
[] = {
22342 &_swigt__p_form_ops_t
,
22344 &_swigt__p_unsigned_char
,
22345 &_swigt__p_unsigned_int
,
22346 &_swigt__p_unsigned_long
,
22348 &_swigt__p_wxANIHandler
,
22349 &_swigt__p_wxAcceleratorTable
,
22350 &_swigt__p_wxActivateEvent
,
22351 &_swigt__p_wxBMPHandler
,
22352 &_swigt__p_wxBitmap
,
22353 &_swigt__p_wxBoxSizer
,
22354 &_swigt__p_wxBusyInfo
,
22355 &_swigt__p_wxCURHandler
,
22356 &_swigt__p_wxChildFocusEvent
,
22357 &_swigt__p_wxClipboard
,
22358 &_swigt__p_wxClipboardTextEvent
,
22359 &_swigt__p_wxCloseEvent
,
22360 &_swigt__p_wxColour
,
22361 &_swigt__p_wxCommandEvent
,
22362 &_swigt__p_wxContextMenuEvent
,
22363 &_swigt__p_wxControl
,
22364 &_swigt__p_wxControlWithItems
,
22366 &_swigt__p_wxDateEvent
,
22367 &_swigt__p_wxDisplayChangedEvent
,
22368 &_swigt__p_wxDropFilesEvent
,
22369 &_swigt__p_wxDuplexMode
,
22370 &_swigt__p_wxEraseEvent
,
22371 &_swigt__p_wxEvent
,
22372 &_swigt__p_wxEventBlocker
,
22373 &_swigt__p_wxEvtHandler
,
22374 &_swigt__p_wxFSFile
,
22375 &_swigt__p_wxFileHistory
,
22376 &_swigt__p_wxFileSystem
,
22377 &_swigt__p_wxFlexGridSizer
,
22378 &_swigt__p_wxFocusEvent
,
22380 &_swigt__p_wxGBSizerItem
,
22381 &_swigt__p_wxGIFHandler
,
22382 &_swigt__p_wxGridBagSizer
,
22383 &_swigt__p_wxGridSizer
,
22384 &_swigt__p_wxICOHandler
,
22385 &_swigt__p_wxIconizeEvent
,
22386 &_swigt__p_wxIdleEvent
,
22387 &_swigt__p_wxImage
,
22388 &_swigt__p_wxImageHandler
,
22389 &_swigt__p_wxIndividualLayoutConstraint
,
22390 &_swigt__p_wxInitDialogEvent
,
22391 &_swigt__p_wxJPEGHandler
,
22392 &_swigt__p_wxJoystickEvent
,
22393 &_swigt__p_wxKeyEvent
,
22394 &_swigt__p_wxLayoutConstraints
,
22395 &_swigt__p_wxMaximizeEvent
,
22396 &_swigt__p_wxMemoryBuffer
,
22398 &_swigt__p_wxMenuBar
,
22399 &_swigt__p_wxMenuEvent
,
22400 &_swigt__p_wxMenuItem
,
22401 &_swigt__p_wxMouseCaptureChangedEvent
,
22402 &_swigt__p_wxMouseCaptureLostEvent
,
22403 &_swigt__p_wxMouseEvent
,
22404 &_swigt__p_wxMoveEvent
,
22405 &_swigt__p_wxNavigationKeyEvent
,
22406 &_swigt__p_wxNcPaintEvent
,
22407 &_swigt__p_wxNotifyEvent
,
22408 &_swigt__p_wxObject
,
22409 &_swigt__p_wxPCXHandler
,
22410 &_swigt__p_wxPNGHandler
,
22411 &_swigt__p_wxPNMHandler
,
22412 &_swigt__p_wxPaintEvent
,
22413 &_swigt__p_wxPaletteChangedEvent
,
22414 &_swigt__p_wxPaperSize
,
22415 &_swigt__p_wxPoint
,
22416 &_swigt__p_wxPowerEvent
,
22417 &_swigt__p_wxProcessEvent
,
22418 &_swigt__p_wxPyApp
,
22419 &_swigt__p_wxPyCommandEvent
,
22420 &_swigt__p_wxPyEvent
,
22421 &_swigt__p_wxPyImageHandler
,
22422 &_swigt__p_wxPyProcess
,
22423 &_swigt__p_wxPySizer
,
22424 &_swigt__p_wxPyTimer
,
22425 &_swigt__p_wxPyValidator
,
22426 &_swigt__p_wxQueryNewPaletteEvent
,
22428 &_swigt__p_wxScrollBar
,
22429 &_swigt__p_wxScrollEvent
,
22430 &_swigt__p_wxScrollWinEvent
,
22431 &_swigt__p_wxSetCursorEvent
,
22432 &_swigt__p_wxShowEvent
,
22433 &_swigt__p_wxSizeEvent
,
22434 &_swigt__p_wxSizer
,
22435 &_swigt__p_wxSizerItem
,
22436 &_swigt__p_wxStaticBoxSizer
,
22437 &_swigt__p_wxStdDialogButtonSizer
,
22438 &_swigt__p_wxStyledTextCtrl
,
22439 &_swigt__p_wxStyledTextEvent
,
22440 &_swigt__p_wxSysColourChangedEvent
,
22441 &_swigt__p_wxSystemOptions
,
22442 &_swigt__p_wxTGAHandler
,
22443 &_swigt__p_wxTIFFHandler
,
22444 &_swigt__p_wxTimerEvent
,
22445 &_swigt__p_wxToolTip
,
22446 &_swigt__p_wxUpdateUIEvent
,
22447 &_swigt__p_wxValidator
,
22448 &_swigt__p_wxWindow
,
22449 &_swigt__p_wxWindowCreateEvent
,
22450 &_swigt__p_wxWindowDestroyEvent
,
22451 &_swigt__p_wxXPMHandler
,
22454 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
22455 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
22456 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
22457 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
22458 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
22459 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
22460 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
22461 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
22462 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
22463 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22464 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
22465 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22466 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22467 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
22468 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
22469 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22470 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22471 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22472 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
22473 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxStyledTextEvent
, _p_wxStyledTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
22474 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
22475 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStyledTextCtrl
, _p_wxStyledTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
22476 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
22477 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
22478 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22479 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22480 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22481 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22482 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
22483 static swig_cast_info _swigc__p_wxTimerEvent
[] = {{&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
22484 static swig_cast_info _swigc__p_wxPowerEvent
[] = {{&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
22485 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22486 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22487 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
22488 static swig_cast_info _swigc__p_wxJoystickEvent
[] = {{&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
22489 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
22490 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
22491 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22492 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22493 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22494 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22495 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
22496 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22497 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22498 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22499 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22500 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22501 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22502 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
22503 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22504 static swig_cast_info _swigc__p_wxProcessEvent
[] = {{&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
22505 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
22506 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22507 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22508 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
22509 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPowerEvent
, _p_wxPowerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxStyledTextEvent
, _p_wxStyledTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
22510 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
22511 static swig_cast_info _swigc__p_wxPyTimer
[] = {{&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
22512 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
22513 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
22514 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
22515 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
22516 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
22517 static swig_cast_info _swigc__p_wxPyProcess
[] = {{&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
22518 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStyledTextCtrl
, _p_wxStyledTextCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
22519 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
22520 static swig_cast_info _swigc__p_wxMemoryBuffer
[] = { {&_swigt__p_wxMemoryBuffer
, 0, 0, 0},{0, 0, 0, 0}};
22521 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
22522 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22523 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22524 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
22525 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22526 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22527 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22528 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
22529 static swig_cast_info _swigc__p_wxFileHistory
[] = {{&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
22530 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22531 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22532 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
22533 static swig_cast_info _swigc__p_wxClipboard
[] = {{&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
22534 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
22535 static swig_cast_info _swigc__p_wxToolTip
[] = {{&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
22536 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
22537 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
22538 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22539 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22540 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22541 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22542 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
22543 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
22544 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
22545 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
22546 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22547 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22548 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
22549 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22550 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22551 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
22552 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
22553 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
22554 static swig_cast_info _swigc__p_wxSystemOptions
[] = {{&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
22555 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
22556 static swig_cast_info _swigc__p_wxBusyInfo
[] = {{&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
22557 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_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileHistory
, _p_wxFileHistoryTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPowerEvent
, _p_wxPowerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboard
, _p_wxClipboardTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStyledTextCtrl
, _p_wxStyledTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolTip
, _p_wxToolTipTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_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_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBusyInfo
, _p_wxBusyInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
22558 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
22559 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
22560 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
22561 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
22562 static swig_cast_info _swigc__p_wxStyledTextCtrl
[] = { {&_swigt__p_wxStyledTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
22563 static swig_cast_info _swigc__p_wxStyledTextEvent
[] = { {&_swigt__p_wxStyledTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
22564 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStyledTextCtrl
, _p_wxStyledTextCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
22566 static swig_cast_info
*swig_cast_initial
[] = {
22568 _swigc__p_form_ops_t
,
22570 _swigc__p_unsigned_char
,
22571 _swigc__p_unsigned_int
,
22572 _swigc__p_unsigned_long
,
22574 _swigc__p_wxANIHandler
,
22575 _swigc__p_wxAcceleratorTable
,
22576 _swigc__p_wxActivateEvent
,
22577 _swigc__p_wxBMPHandler
,
22578 _swigc__p_wxBitmap
,
22579 _swigc__p_wxBoxSizer
,
22580 _swigc__p_wxBusyInfo
,
22581 _swigc__p_wxCURHandler
,
22582 _swigc__p_wxChildFocusEvent
,
22583 _swigc__p_wxClipboard
,
22584 _swigc__p_wxClipboardTextEvent
,
22585 _swigc__p_wxCloseEvent
,
22586 _swigc__p_wxColour
,
22587 _swigc__p_wxCommandEvent
,
22588 _swigc__p_wxContextMenuEvent
,
22589 _swigc__p_wxControl
,
22590 _swigc__p_wxControlWithItems
,
22592 _swigc__p_wxDateEvent
,
22593 _swigc__p_wxDisplayChangedEvent
,
22594 _swigc__p_wxDropFilesEvent
,
22595 _swigc__p_wxDuplexMode
,
22596 _swigc__p_wxEraseEvent
,
22598 _swigc__p_wxEventBlocker
,
22599 _swigc__p_wxEvtHandler
,
22600 _swigc__p_wxFSFile
,
22601 _swigc__p_wxFileHistory
,
22602 _swigc__p_wxFileSystem
,
22603 _swigc__p_wxFlexGridSizer
,
22604 _swigc__p_wxFocusEvent
,
22606 _swigc__p_wxGBSizerItem
,
22607 _swigc__p_wxGIFHandler
,
22608 _swigc__p_wxGridBagSizer
,
22609 _swigc__p_wxGridSizer
,
22610 _swigc__p_wxICOHandler
,
22611 _swigc__p_wxIconizeEvent
,
22612 _swigc__p_wxIdleEvent
,
22614 _swigc__p_wxImageHandler
,
22615 _swigc__p_wxIndividualLayoutConstraint
,
22616 _swigc__p_wxInitDialogEvent
,
22617 _swigc__p_wxJPEGHandler
,
22618 _swigc__p_wxJoystickEvent
,
22619 _swigc__p_wxKeyEvent
,
22620 _swigc__p_wxLayoutConstraints
,
22621 _swigc__p_wxMaximizeEvent
,
22622 _swigc__p_wxMemoryBuffer
,
22624 _swigc__p_wxMenuBar
,
22625 _swigc__p_wxMenuEvent
,
22626 _swigc__p_wxMenuItem
,
22627 _swigc__p_wxMouseCaptureChangedEvent
,
22628 _swigc__p_wxMouseCaptureLostEvent
,
22629 _swigc__p_wxMouseEvent
,
22630 _swigc__p_wxMoveEvent
,
22631 _swigc__p_wxNavigationKeyEvent
,
22632 _swigc__p_wxNcPaintEvent
,
22633 _swigc__p_wxNotifyEvent
,
22634 _swigc__p_wxObject
,
22635 _swigc__p_wxPCXHandler
,
22636 _swigc__p_wxPNGHandler
,
22637 _swigc__p_wxPNMHandler
,
22638 _swigc__p_wxPaintEvent
,
22639 _swigc__p_wxPaletteChangedEvent
,
22640 _swigc__p_wxPaperSize
,
22642 _swigc__p_wxPowerEvent
,
22643 _swigc__p_wxProcessEvent
,
22645 _swigc__p_wxPyCommandEvent
,
22646 _swigc__p_wxPyEvent
,
22647 _swigc__p_wxPyImageHandler
,
22648 _swigc__p_wxPyProcess
,
22649 _swigc__p_wxPySizer
,
22650 _swigc__p_wxPyTimer
,
22651 _swigc__p_wxPyValidator
,
22652 _swigc__p_wxQueryNewPaletteEvent
,
22654 _swigc__p_wxScrollBar
,
22655 _swigc__p_wxScrollEvent
,
22656 _swigc__p_wxScrollWinEvent
,
22657 _swigc__p_wxSetCursorEvent
,
22658 _swigc__p_wxShowEvent
,
22659 _swigc__p_wxSizeEvent
,
22661 _swigc__p_wxSizerItem
,
22662 _swigc__p_wxStaticBoxSizer
,
22663 _swigc__p_wxStdDialogButtonSizer
,
22664 _swigc__p_wxStyledTextCtrl
,
22665 _swigc__p_wxStyledTextEvent
,
22666 _swigc__p_wxSysColourChangedEvent
,
22667 _swigc__p_wxSystemOptions
,
22668 _swigc__p_wxTGAHandler
,
22669 _swigc__p_wxTIFFHandler
,
22670 _swigc__p_wxTimerEvent
,
22671 _swigc__p_wxToolTip
,
22672 _swigc__p_wxUpdateUIEvent
,
22673 _swigc__p_wxValidator
,
22674 _swigc__p_wxWindow
,
22675 _swigc__p_wxWindowCreateEvent
,
22676 _swigc__p_wxWindowDestroyEvent
,
22677 _swigc__p_wxXPMHandler
,
22681 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22683 static swig_const_info swig_const_table
[] = {
22684 {0, 0, 0, 0.0, 0, 0}};
22689 /* -----------------------------------------------------------------------------
22690 * Type initialization:
22691 * This problem is tough by the requirement that no dynamic
22692 * memory is used. Also, since swig_type_info structures store pointers to
22693 * swig_cast_info structures and swig_cast_info structures store pointers back
22694 * to swig_type_info structures, we need some lookup code at initialization.
22695 * The idea is that swig generates all the structures that are needed.
22696 * The runtime then collects these partially filled structures.
22697 * The SWIG_InitializeModule function takes these initial arrays out of
22698 * swig_module, and does all the lookup, filling in the swig_module.types
22699 * array with the correct data and linking the correct swig_cast_info
22700 * structures together.
22702 * The generated swig_type_info structures are assigned staticly to an initial
22703 * array. We just loop though that array, and handle each type individually.
22704 * First we lookup if this type has been already loaded, and if so, use the
22705 * loaded structure instead of the generated one. Then we have to fill in the
22706 * cast linked list. The cast data is initially stored in something like a
22707 * two-dimensional array. Each row corresponds to a type (there are the same
22708 * number of rows as there are in the swig_type_initial array). Each entry in
22709 * a column is one of the swig_cast_info structures for that type.
22710 * The cast_initial array is actually an array of arrays, because each row has
22711 * a variable number of columns. So to actually build the cast linked list,
22712 * we find the array of casts associated with the type, and loop through it
22713 * adding the casts to the list. The one last trick we need to do is making
22714 * sure the type pointer in the swig_cast_info struct is correct.
22716 * First off, we lookup the cast->type name to see if it is already loaded.
22717 * There are three cases to handle:
22718 * 1) If the cast->type has already been loaded AND the type we are adding
22719 * casting info to has not been loaded (it is in this module), THEN we
22720 * replace the cast->type pointer with the type pointer that has already
22722 * 2) If BOTH types (the one we are adding casting info to, and the
22723 * cast->type) are loaded, THEN the cast info has already been loaded by
22724 * the previous module so we just ignore it.
22725 * 3) Finally, if cast->type has not already been loaded, then we add that
22726 * swig_cast_info to the linked list (because the cast->type) pointer will
22728 * ----------------------------------------------------------------------------- */
22738 #define SWIGRUNTIME_DEBUG
22742 SWIG_InitializeModule(void *clientdata
) {
22744 swig_module_info
*module_head
;
22745 static int init_run
= 0;
22747 clientdata
= clientdata
;
22749 if (init_run
) return;
22752 /* Initialize the swig_module */
22753 swig_module
.type_initial
= swig_type_initial
;
22754 swig_module
.cast_initial
= swig_cast_initial
;
22756 /* Try and load any already created modules */
22757 module_head
= SWIG_GetModule(clientdata
);
22759 swig_module
.next
= module_head
->next
;
22760 module_head
->next
= &swig_module
;
22762 /* This is the first module loaded */
22763 swig_module
.next
= &swig_module
;
22764 SWIG_SetModule(clientdata
, &swig_module
);
22767 /* Now work on filling in swig_module.types */
22768 #ifdef SWIGRUNTIME_DEBUG
22769 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
22771 for (i
= 0; i
< swig_module
.size
; ++i
) {
22772 swig_type_info
*type
= 0;
22773 swig_type_info
*ret
;
22774 swig_cast_info
*cast
;
22776 #ifdef SWIGRUNTIME_DEBUG
22777 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
22780 /* if there is another module already loaded */
22781 if (swig_module
.next
!= &swig_module
) {
22782 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
22785 /* Overwrite clientdata field */
22786 #ifdef SWIGRUNTIME_DEBUG
22787 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
22789 if (swig_module
.type_initial
[i
]->clientdata
) {
22790 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
22791 #ifdef SWIGRUNTIME_DEBUG
22792 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
22796 type
= swig_module
.type_initial
[i
];
22799 /* Insert casting types */
22800 cast
= swig_module
.cast_initial
[i
];
22801 while (cast
->type
) {
22802 /* Don't need to add information already in the list */
22804 #ifdef SWIGRUNTIME_DEBUG
22805 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
22807 if (swig_module
.next
!= &swig_module
) {
22808 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
22809 #ifdef SWIGRUNTIME_DEBUG
22810 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
22814 if (type
== swig_module
.type_initial
[i
]) {
22815 #ifdef SWIGRUNTIME_DEBUG
22816 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
22821 /* Check for casting already in the list */
22822 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
22823 #ifdef SWIGRUNTIME_DEBUG
22824 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
22826 if (!ocast
) ret
= 0;
22831 #ifdef SWIGRUNTIME_DEBUG
22832 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
22835 type
->cast
->prev
= cast
;
22836 cast
->next
= type
->cast
;
22842 /* Set entry in modules->types array equal to the type */
22843 swig_module
.types
[i
] = type
;
22845 swig_module
.types
[i
] = 0;
22847 #ifdef SWIGRUNTIME_DEBUG
22848 printf("**** SWIG_InitializeModule: Cast List ******\n");
22849 for (i
= 0; i
< swig_module
.size
; ++i
) {
22851 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
22852 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
22853 while (cast
->type
) {
22854 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
22858 printf("---- Total casts: %d\n",j
);
22860 printf("**** SWIG_InitializeModule: Cast List ******\n");
22864 /* This function will propagate the clientdata field of type to
22865 * any new swig_type_info structures that have been added into the list
22866 * of equivalent types. It is like calling
22867 * SWIG_TypeClientData(type, clientdata) a second time.
22870 SWIG_PropagateClientData(void) {
22872 swig_cast_info
*equiv
;
22873 static int init_run
= 0;
22875 if (init_run
) return;
22878 for (i
= 0; i
< swig_module
.size
; i
++) {
22879 if (swig_module
.types
[i
]->clientdata
) {
22880 equiv
= swig_module
.types
[i
]->cast
;
22882 if (!equiv
->converter
) {
22883 if (equiv
->type
&& !equiv
->type
->clientdata
)
22884 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
22886 equiv
= equiv
->next
;
22906 /* Python-specific SWIG API */
22907 #define SWIG_newvarlink() SWIG_Python_newvarlink()
22908 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22909 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22911 /* -----------------------------------------------------------------------------
22912 * global variable support code.
22913 * ----------------------------------------------------------------------------- */
22915 typedef struct swig_globalvar
{
22916 char *name
; /* Name of global variable */
22917 PyObject
*(*get_attr
)(void); /* Return the current value */
22918 int (*set_attr
)(PyObject
*); /* Set the value */
22919 struct swig_globalvar
*next
;
22922 typedef struct swig_varlinkobject
{
22924 swig_globalvar
*vars
;
22925 } swig_varlinkobject
;
22927 SWIGINTERN PyObject
*
22928 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
22929 return PyString_FromString("<Swig global variables>");
22932 SWIGINTERN PyObject
*
22933 swig_varlink_str(swig_varlinkobject
*v
) {
22934 PyObject
*str
= PyString_FromString("(");
22935 swig_globalvar
*var
;
22936 for (var
= v
->vars
; var
; var
=var
->next
) {
22937 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
22938 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
22940 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
22945 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
22946 PyObject
*str
= swig_varlink_str(v
);
22947 fprintf(fp
,"Swig global variables ");
22948 fprintf(fp
,"%s\n", PyString_AsString(str
));
22954 swig_varlink_dealloc(swig_varlinkobject
*v
) {
22955 swig_globalvar
*var
= v
->vars
;
22957 swig_globalvar
*n
= var
->next
;
22964 SWIGINTERN PyObject
*
22965 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
22966 PyObject
*res
= NULL
;
22967 swig_globalvar
*var
= v
->vars
;
22969 if (strcmp(var
->name
,n
) == 0) {
22970 res
= (*var
->get_attr
)();
22975 if (res
== NULL
&& !PyErr_Occurred()) {
22976 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22982 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
22984 swig_globalvar
*var
= v
->vars
;
22986 if (strcmp(var
->name
,n
) == 0) {
22987 res
= (*var
->set_attr
)(p
);
22992 if (res
== 1 && !PyErr_Occurred()) {
22993 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22998 SWIGINTERN PyTypeObject
*
22999 swig_varlink_type(void) {
23000 static char varlink__doc__
[] = "Swig var link object";
23001 static PyTypeObject varlink_type
;
23002 static int type_init
= 0;
23004 const PyTypeObject tmp
23006 PyObject_HEAD_INIT(NULL
)
23007 0, /* Number of items in variable part (ob_size) */
23008 (char *)"swigvarlink", /* Type name (tp_name) */
23009 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
23010 0, /* Itemsize (tp_itemsize) */
23011 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
23012 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
23013 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
23014 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
23015 0, /* tp_compare */
23016 (reprfunc
) swig_varlink_repr
, /* tp_repr */
23017 0, /* tp_as_number */
23018 0, /* tp_as_sequence */
23019 0, /* tp_as_mapping */
23022 (reprfunc
)swig_varlink_str
, /* tp_str */
23023 0, /* tp_getattro */
23024 0, /* tp_setattro */
23025 0, /* tp_as_buffer */
23027 varlink__doc__
, /* tp_doc */
23028 0, /* tp_traverse */
23030 0, /* tp_richcompare */
23031 0, /* tp_weaklistoffset */
23032 #if PY_VERSION_HEX >= 0x02020000
23033 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
23035 #if PY_VERSION_HEX >= 0x02030000
23038 #ifdef COUNT_ALLOCS
23039 0,0,0,0 /* tp_alloc -> tp_next */
23042 varlink_type
= tmp
;
23043 varlink_type
.ob_type
= &PyType_Type
;
23046 return &varlink_type
;
23049 /* Create a variable linking object for use later */
23050 SWIGINTERN PyObject
*
23051 SWIG_Python_newvarlink(void) {
23052 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
23056 return ((PyObject
*) result
);
23060 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
23061 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
23062 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
23064 size_t size
= strlen(name
)+1;
23065 gv
->name
= (char *)malloc(size
);
23067 strncpy(gv
->name
,name
,size
);
23068 gv
->get_attr
= get_attr
;
23069 gv
->set_attr
= set_attr
;
23070 gv
->next
= v
->vars
;
23076 SWIGINTERN PyObject
*
23078 static PyObject
*_SWIG_globals
= 0;
23079 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
23080 return _SWIG_globals
;
23083 /* -----------------------------------------------------------------------------
23084 * constants/methods manipulation
23085 * ----------------------------------------------------------------------------- */
23087 /* Install Constants */
23089 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
23092 for (i
= 0; constants
[i
].type
; ++i
) {
23093 switch(constants
[i
].type
) {
23094 case SWIG_PY_POINTER
:
23095 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
23097 case SWIG_PY_BINARY
:
23098 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
23105 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
23111 /* -----------------------------------------------------------------------------*/
23112 /* Fix SwigMethods to carry the callback ptrs when needed */
23113 /* -----------------------------------------------------------------------------*/
23116 SWIG_Python_FixMethods(PyMethodDef
*methods
,
23117 swig_const_info
*const_table
,
23118 swig_type_info
**types
,
23119 swig_type_info
**types_initial
) {
23121 for (i
= 0; methods
[i
].ml_name
; ++i
) {
23122 const char *c
= methods
[i
].ml_doc
;
23123 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
23125 swig_const_info
*ci
= 0;
23126 const char *name
= c
+ 10;
23127 for (j
= 0; const_table
[j
].type
; ++j
) {
23128 if (strncmp(const_table
[j
].name
, name
,
23129 strlen(const_table
[j
].name
)) == 0) {
23130 ci
= &(const_table
[j
]);
23135 size_t shift
= (ci
->ptype
) - types
;
23136 swig_type_info
*ty
= types_initial
[shift
];
23137 size_t ldoc
= (c
- methods
[i
].ml_doc
);
23138 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
23139 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
23142 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
23144 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
23146 strncpy(buff
, "swig_ptr: ", 10);
23148 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
23149 methods
[i
].ml_doc
= ndoc
;
23161 /* -----------------------------------------------------------------------------*
23162 * Partial Init method
23163 * -----------------------------------------------------------------------------*/
23168 SWIGEXPORT
void SWIG_init(void) {
23171 /* Fix SwigMethods to carry the callback ptrs when needed */
23172 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
23174 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23175 d
= PyModule_GetDict(m
);
23177 SWIG_InitializeModule(0);
23178 SWIG_InstallConstants(d
,swig_const_table
);
23181 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
23182 SWIG_addvarlink(SWIG_globals(),(char*)"STCNameStr",STCNameStr_get
, STCNameStr_set
);
23183 SWIG_Python_SetConstant(d
, "USE_STC",SWIG_From_int(static_cast< int >(1)));
23184 SWIG_Python_SetConstant(d
, "STC_USE_DND",SWIG_From_int(static_cast< int >(1)));
23185 SWIG_Python_SetConstant(d
, "STC_USE_POPUP",SWIG_From_int(static_cast< int >(1)));
23186 SWIG_Python_SetConstant(d
, "STC_INVALID_POSITION",SWIG_From_int(static_cast< int >(-1)));
23187 SWIG_Python_SetConstant(d
, "STC_START",SWIG_From_int(static_cast< int >(2000)));
23188 SWIG_Python_SetConstant(d
, "STC_OPTIONAL_START",SWIG_From_int(static_cast< int >(3000)));
23189 SWIG_Python_SetConstant(d
, "STC_LEXER_START",SWIG_From_int(static_cast< int >(4000)));
23190 SWIG_Python_SetConstant(d
, "STC_WS_INVISIBLE",SWIG_From_int(static_cast< int >(0)));
23191 SWIG_Python_SetConstant(d
, "STC_WS_VISIBLEALWAYS",SWIG_From_int(static_cast< int >(1)));
23192 SWIG_Python_SetConstant(d
, "STC_WS_VISIBLEAFTERINDENT",SWIG_From_int(static_cast< int >(2)));
23193 SWIG_Python_SetConstant(d
, "STC_EOL_CRLF",SWIG_From_int(static_cast< int >(0)));
23194 SWIG_Python_SetConstant(d
, "STC_EOL_CR",SWIG_From_int(static_cast< int >(1)));
23195 SWIG_Python_SetConstant(d
, "STC_EOL_LF",SWIG_From_int(static_cast< int >(2)));
23196 SWIG_Python_SetConstant(d
, "STC_CP_UTF8",SWIG_From_int(static_cast< int >(65001)));
23197 SWIG_Python_SetConstant(d
, "STC_CP_DBCS",SWIG_From_int(static_cast< int >(1)));
23198 SWIG_Python_SetConstant(d
, "STC_MARKER_MAX",SWIG_From_int(static_cast< int >(31)));
23199 SWIG_Python_SetConstant(d
, "STC_MARK_CIRCLE",SWIG_From_int(static_cast< int >(0)));
23200 SWIG_Python_SetConstant(d
, "STC_MARK_ROUNDRECT",SWIG_From_int(static_cast< int >(1)));
23201 SWIG_Python_SetConstant(d
, "STC_MARK_ARROW",SWIG_From_int(static_cast< int >(2)));
23202 SWIG_Python_SetConstant(d
, "STC_MARK_SMALLRECT",SWIG_From_int(static_cast< int >(3)));
23203 SWIG_Python_SetConstant(d
, "STC_MARK_SHORTARROW",SWIG_From_int(static_cast< int >(4)));
23204 SWIG_Python_SetConstant(d
, "STC_MARK_EMPTY",SWIG_From_int(static_cast< int >(5)));
23205 SWIG_Python_SetConstant(d
, "STC_MARK_ARROWDOWN",SWIG_From_int(static_cast< int >(6)));
23206 SWIG_Python_SetConstant(d
, "STC_MARK_MINUS",SWIG_From_int(static_cast< int >(7)));
23207 SWIG_Python_SetConstant(d
, "STC_MARK_PLUS",SWIG_From_int(static_cast< int >(8)));
23208 SWIG_Python_SetConstant(d
, "STC_MARK_VLINE",SWIG_From_int(static_cast< int >(9)));
23209 SWIG_Python_SetConstant(d
, "STC_MARK_LCORNER",SWIG_From_int(static_cast< int >(10)));
23210 SWIG_Python_SetConstant(d
, "STC_MARK_TCORNER",SWIG_From_int(static_cast< int >(11)));
23211 SWIG_Python_SetConstant(d
, "STC_MARK_BOXPLUS",SWIG_From_int(static_cast< int >(12)));
23212 SWIG_Python_SetConstant(d
, "STC_MARK_BOXPLUSCONNECTED",SWIG_From_int(static_cast< int >(13)));
23213 SWIG_Python_SetConstant(d
, "STC_MARK_BOXMINUS",SWIG_From_int(static_cast< int >(14)));
23214 SWIG_Python_SetConstant(d
, "STC_MARK_BOXMINUSCONNECTED",SWIG_From_int(static_cast< int >(15)));
23215 SWIG_Python_SetConstant(d
, "STC_MARK_LCORNERCURVE",SWIG_From_int(static_cast< int >(16)));
23216 SWIG_Python_SetConstant(d
, "STC_MARK_TCORNERCURVE",SWIG_From_int(static_cast< int >(17)));
23217 SWIG_Python_SetConstant(d
, "STC_MARK_CIRCLEPLUS",SWIG_From_int(static_cast< int >(18)));
23218 SWIG_Python_SetConstant(d
, "STC_MARK_CIRCLEPLUSCONNECTED",SWIG_From_int(static_cast< int >(19)));
23219 SWIG_Python_SetConstant(d
, "STC_MARK_CIRCLEMINUS",SWIG_From_int(static_cast< int >(20)));
23220 SWIG_Python_SetConstant(d
, "STC_MARK_CIRCLEMINUSCONNECTED",SWIG_From_int(static_cast< int >(21)));
23221 SWIG_Python_SetConstant(d
, "STC_MARK_BACKGROUND",SWIG_From_int(static_cast< int >(22)));
23222 SWIG_Python_SetConstant(d
, "STC_MARK_DOTDOTDOT",SWIG_From_int(static_cast< int >(23)));
23223 SWIG_Python_SetConstant(d
, "STC_MARK_ARROWS",SWIG_From_int(static_cast< int >(24)));
23224 SWIG_Python_SetConstant(d
, "STC_MARK_PIXMAP",SWIG_From_int(static_cast< int >(25)));
23225 SWIG_Python_SetConstant(d
, "STC_MARK_FULLRECT",SWIG_From_int(static_cast< int >(26)));
23226 SWIG_Python_SetConstant(d
, "STC_MARK_CHARACTER",SWIG_From_int(static_cast< int >(10000)));
23227 SWIG_Python_SetConstant(d
, "STC_MARKNUM_FOLDEREND",SWIG_From_int(static_cast< int >(25)));
23228 SWIG_Python_SetConstant(d
, "STC_MARKNUM_FOLDEROPENMID",SWIG_From_int(static_cast< int >(26)));
23229 SWIG_Python_SetConstant(d
, "STC_MARKNUM_FOLDERMIDTAIL",SWIG_From_int(static_cast< int >(27)));
23230 SWIG_Python_SetConstant(d
, "STC_MARKNUM_FOLDERTAIL",SWIG_From_int(static_cast< int >(28)));
23231 SWIG_Python_SetConstant(d
, "STC_MARKNUM_FOLDERSUB",SWIG_From_int(static_cast< int >(29)));
23232 SWIG_Python_SetConstant(d
, "STC_MARKNUM_FOLDER",SWIG_From_int(static_cast< int >(30)));
23233 SWIG_Python_SetConstant(d
, "STC_MARKNUM_FOLDEROPEN",SWIG_From_int(static_cast< int >(31)));
23234 SWIG_Python_SetConstant(d
, "STC_MASK_FOLDERS",SWIG_From_int(static_cast< int >(0xFE000000)));
23235 SWIG_Python_SetConstant(d
, "STC_MARGIN_SYMBOL",SWIG_From_int(static_cast< int >(0)));
23236 SWIG_Python_SetConstant(d
, "STC_MARGIN_NUMBER",SWIG_From_int(static_cast< int >(1)));
23237 SWIG_Python_SetConstant(d
, "STC_MARGIN_BACK",SWIG_From_int(static_cast< int >(2)));
23238 SWIG_Python_SetConstant(d
, "STC_MARGIN_FORE",SWIG_From_int(static_cast< int >(3)));
23239 SWIG_Python_SetConstant(d
, "STC_STYLE_DEFAULT",SWIG_From_int(static_cast< int >(32)));
23240 SWIG_Python_SetConstant(d
, "STC_STYLE_LINENUMBER",SWIG_From_int(static_cast< int >(33)));
23241 SWIG_Python_SetConstant(d
, "STC_STYLE_BRACELIGHT",SWIG_From_int(static_cast< int >(34)));
23242 SWIG_Python_SetConstant(d
, "STC_STYLE_BRACEBAD",SWIG_From_int(static_cast< int >(35)));
23243 SWIG_Python_SetConstant(d
, "STC_STYLE_CONTROLCHAR",SWIG_From_int(static_cast< int >(36)));
23244 SWIG_Python_SetConstant(d
, "STC_STYLE_INDENTGUIDE",SWIG_From_int(static_cast< int >(37)));
23245 SWIG_Python_SetConstant(d
, "STC_STYLE_CALLTIP",SWIG_From_int(static_cast< int >(38)));
23246 SWIG_Python_SetConstant(d
, "STC_STYLE_LASTPREDEFINED",SWIG_From_int(static_cast< int >(39)));
23247 SWIG_Python_SetConstant(d
, "STC_STYLE_MAX",SWIG_From_int(static_cast< int >(127)));
23248 SWIG_Python_SetConstant(d
, "STC_CHARSET_ANSI",SWIG_From_int(static_cast< int >(0)));
23249 SWIG_Python_SetConstant(d
, "STC_CHARSET_DEFAULT",SWIG_From_int(static_cast< int >(1)));
23250 SWIG_Python_SetConstant(d
, "STC_CHARSET_BALTIC",SWIG_From_int(static_cast< int >(186)));
23251 SWIG_Python_SetConstant(d
, "STC_CHARSET_CHINESEBIG5",SWIG_From_int(static_cast< int >(136)));
23252 SWIG_Python_SetConstant(d
, "STC_CHARSET_EASTEUROPE",SWIG_From_int(static_cast< int >(238)));
23253 SWIG_Python_SetConstant(d
, "STC_CHARSET_GB2312",SWIG_From_int(static_cast< int >(134)));
23254 SWIG_Python_SetConstant(d
, "STC_CHARSET_GREEK",SWIG_From_int(static_cast< int >(161)));
23255 SWIG_Python_SetConstant(d
, "STC_CHARSET_HANGUL",SWIG_From_int(static_cast< int >(129)));
23256 SWIG_Python_SetConstant(d
, "STC_CHARSET_MAC",SWIG_From_int(static_cast< int >(77)));
23257 SWIG_Python_SetConstant(d
, "STC_CHARSET_OEM",SWIG_From_int(static_cast< int >(255)));
23258 SWIG_Python_SetConstant(d
, "STC_CHARSET_RUSSIAN",SWIG_From_int(static_cast< int >(204)));
23259 SWIG_Python_SetConstant(d
, "STC_CHARSET_CYRILLIC",SWIG_From_int(static_cast< int >(1251)));
23260 SWIG_Python_SetConstant(d
, "STC_CHARSET_SHIFTJIS",SWIG_From_int(static_cast< int >(128)));
23261 SWIG_Python_SetConstant(d
, "STC_CHARSET_SYMBOL",SWIG_From_int(static_cast< int >(2)));
23262 SWIG_Python_SetConstant(d
, "STC_CHARSET_TURKISH",SWIG_From_int(static_cast< int >(162)));
23263 SWIG_Python_SetConstant(d
, "STC_CHARSET_JOHAB",SWIG_From_int(static_cast< int >(130)));
23264 SWIG_Python_SetConstant(d
, "STC_CHARSET_HEBREW",SWIG_From_int(static_cast< int >(177)));
23265 SWIG_Python_SetConstant(d
, "STC_CHARSET_ARABIC",SWIG_From_int(static_cast< int >(178)));
23266 SWIG_Python_SetConstant(d
, "STC_CHARSET_VIETNAMESE",SWIG_From_int(static_cast< int >(163)));
23267 SWIG_Python_SetConstant(d
, "STC_CHARSET_THAI",SWIG_From_int(static_cast< int >(222)));
23268 SWIG_Python_SetConstant(d
, "STC_CHARSET_8859_15",SWIG_From_int(static_cast< int >(1000)));
23269 SWIG_Python_SetConstant(d
, "STC_CASE_MIXED",SWIG_From_int(static_cast< int >(0)));
23270 SWIG_Python_SetConstant(d
, "STC_CASE_UPPER",SWIG_From_int(static_cast< int >(1)));
23271 SWIG_Python_SetConstant(d
, "STC_CASE_LOWER",SWIG_From_int(static_cast< int >(2)));
23272 SWIG_Python_SetConstant(d
, "STC_INDIC_MAX",SWIG_From_int(static_cast< int >(7)));
23273 SWIG_Python_SetConstant(d
, "STC_INDIC_PLAIN",SWIG_From_int(static_cast< int >(0)));
23274 SWIG_Python_SetConstant(d
, "STC_INDIC_SQUIGGLE",SWIG_From_int(static_cast< int >(1)));
23275 SWIG_Python_SetConstant(d
, "STC_INDIC_TT",SWIG_From_int(static_cast< int >(2)));
23276 SWIG_Python_SetConstant(d
, "STC_INDIC_DIAGONAL",SWIG_From_int(static_cast< int >(3)));
23277 SWIG_Python_SetConstant(d
, "STC_INDIC_STRIKE",SWIG_From_int(static_cast< int >(4)));
23278 SWIG_Python_SetConstant(d
, "STC_INDIC_HIDDEN",SWIG_From_int(static_cast< int >(5)));
23279 SWIG_Python_SetConstant(d
, "STC_INDIC_BOX",SWIG_From_int(static_cast< int >(6)));
23280 SWIG_Python_SetConstant(d
, "STC_INDIC_ROUNDBOX",SWIG_From_int(static_cast< int >(7)));
23281 SWIG_Python_SetConstant(d
, "STC_INDIC0_MASK",SWIG_From_int(static_cast< int >(0x20)));
23282 SWIG_Python_SetConstant(d
, "STC_INDIC1_MASK",SWIG_From_int(static_cast< int >(0x40)));
23283 SWIG_Python_SetConstant(d
, "STC_INDIC2_MASK",SWIG_From_int(static_cast< int >(0x80)));
23284 SWIG_Python_SetConstant(d
, "STC_INDICS_MASK",SWIG_From_int(static_cast< int >(0xE0)));
23285 SWIG_Python_SetConstant(d
, "STC_PRINT_NORMAL",SWIG_From_int(static_cast< int >(0)));
23286 SWIG_Python_SetConstant(d
, "STC_PRINT_INVERTLIGHT",SWIG_From_int(static_cast< int >(1)));
23287 SWIG_Python_SetConstant(d
, "STC_PRINT_BLACKONWHITE",SWIG_From_int(static_cast< int >(2)));
23288 SWIG_Python_SetConstant(d
, "STC_PRINT_COLOURONWHITE",SWIG_From_int(static_cast< int >(3)));
23289 SWIG_Python_SetConstant(d
, "STC_PRINT_COLOURONWHITEDEFAULTBG",SWIG_From_int(static_cast< int >(4)));
23290 SWIG_Python_SetConstant(d
, "STC_FIND_WHOLEWORD",SWIG_From_int(static_cast< int >(2)));
23291 SWIG_Python_SetConstant(d
, "STC_FIND_MATCHCASE",SWIG_From_int(static_cast< int >(4)));
23292 SWIG_Python_SetConstant(d
, "STC_FIND_WORDSTART",SWIG_From_int(static_cast< int >(0x00100000)));
23293 SWIG_Python_SetConstant(d
, "STC_FIND_REGEXP",SWIG_From_int(static_cast< int >(0x00200000)));
23294 SWIG_Python_SetConstant(d
, "STC_FIND_POSIX",SWIG_From_int(static_cast< int >(0x00400000)));
23295 SWIG_Python_SetConstant(d
, "STC_FOLDLEVELBASE",SWIG_From_int(static_cast< int >(0x400)));
23296 SWIG_Python_SetConstant(d
, "STC_FOLDLEVELWHITEFLAG",SWIG_From_int(static_cast< int >(0x1000)));
23297 SWIG_Python_SetConstant(d
, "STC_FOLDLEVELHEADERFLAG",SWIG_From_int(static_cast< int >(0x2000)));
23298 SWIG_Python_SetConstant(d
, "STC_FOLDLEVELBOXHEADERFLAG",SWIG_From_int(static_cast< int >(0x4000)));
23299 SWIG_Python_SetConstant(d
, "STC_FOLDLEVELBOXFOOTERFLAG",SWIG_From_int(static_cast< int >(0x8000)));
23300 SWIG_Python_SetConstant(d
, "STC_FOLDLEVELCONTRACTED",SWIG_From_int(static_cast< int >(0x10000)));
23301 SWIG_Python_SetConstant(d
, "STC_FOLDLEVELUNINDENT",SWIG_From_int(static_cast< int >(0x20000)));
23302 SWIG_Python_SetConstant(d
, "STC_FOLDLEVELNUMBERMASK",SWIG_From_int(static_cast< int >(0x0FFF)));
23303 SWIG_Python_SetConstant(d
, "STC_FOLDFLAG_LINEBEFORE_EXPANDED",SWIG_From_int(static_cast< int >(0x0002)));
23304 SWIG_Python_SetConstant(d
, "STC_FOLDFLAG_LINEBEFORE_CONTRACTED",SWIG_From_int(static_cast< int >(0x0004)));
23305 SWIG_Python_SetConstant(d
, "STC_FOLDFLAG_LINEAFTER_EXPANDED",SWIG_From_int(static_cast< int >(0x0008)));
23306 SWIG_Python_SetConstant(d
, "STC_FOLDFLAG_LINEAFTER_CONTRACTED",SWIG_From_int(static_cast< int >(0x0010)));
23307 SWIG_Python_SetConstant(d
, "STC_FOLDFLAG_LEVELNUMBERS",SWIG_From_int(static_cast< int >(0x0040)));
23308 SWIG_Python_SetConstant(d
, "STC_FOLDFLAG_BOX",SWIG_From_int(static_cast< int >(0x0001)));
23309 SWIG_Python_SetConstant(d
, "STC_TIME_FOREVER",SWIG_From_int(static_cast< int >(10000000)));
23310 SWIG_Python_SetConstant(d
, "STC_WRAP_NONE",SWIG_From_int(static_cast< int >(0)));
23311 SWIG_Python_SetConstant(d
, "STC_WRAP_WORD",SWIG_From_int(static_cast< int >(1)));
23312 SWIG_Python_SetConstant(d
, "STC_WRAP_CHAR",SWIG_From_int(static_cast< int >(2)));
23313 SWIG_Python_SetConstant(d
, "STC_WRAPVISUALFLAG_NONE",SWIG_From_int(static_cast< int >(0x0000)));
23314 SWIG_Python_SetConstant(d
, "STC_WRAPVISUALFLAG_END",SWIG_From_int(static_cast< int >(0x0001)));
23315 SWIG_Python_SetConstant(d
, "STC_WRAPVISUALFLAG_START",SWIG_From_int(static_cast< int >(0x0002)));
23316 SWIG_Python_SetConstant(d
, "STC_WRAPVISUALFLAGLOC_DEFAULT",SWIG_From_int(static_cast< int >(0x0000)));
23317 SWIG_Python_SetConstant(d
, "STC_WRAPVISUALFLAGLOC_END_BY_TEXT",SWIG_From_int(static_cast< int >(0x0001)));
23318 SWIG_Python_SetConstant(d
, "STC_WRAPVISUALFLAGLOC_START_BY_TEXT",SWIG_From_int(static_cast< int >(0x0002)));
23319 SWIG_Python_SetConstant(d
, "STC_CACHE_NONE",SWIG_From_int(static_cast< int >(0)));
23320 SWIG_Python_SetConstant(d
, "STC_CACHE_CARET",SWIG_From_int(static_cast< int >(1)));
23321 SWIG_Python_SetConstant(d
, "STC_CACHE_PAGE",SWIG_From_int(static_cast< int >(2)));
23322 SWIG_Python_SetConstant(d
, "STC_CACHE_DOCUMENT",SWIG_From_int(static_cast< int >(3)));
23323 SWIG_Python_SetConstant(d
, "STC_EDGE_NONE",SWIG_From_int(static_cast< int >(0)));
23324 SWIG_Python_SetConstant(d
, "STC_EDGE_LINE",SWIG_From_int(static_cast< int >(1)));
23325 SWIG_Python_SetConstant(d
, "STC_EDGE_BACKGROUND",SWIG_From_int(static_cast< int >(2)));
23326 SWIG_Python_SetConstant(d
, "STC_CURSORNORMAL",SWIG_From_int(static_cast< int >(-1)));
23327 SWIG_Python_SetConstant(d
, "STC_CURSORWAIT",SWIG_From_int(static_cast< int >(4)));
23328 SWIG_Python_SetConstant(d
, "STC_VISIBLE_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23329 SWIG_Python_SetConstant(d
, "STC_VISIBLE_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23330 SWIG_Python_SetConstant(d
, "STC_CARET_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23331 SWIG_Python_SetConstant(d
, "STC_CARET_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23332 SWIG_Python_SetConstant(d
, "STC_CARET_JUMPS",SWIG_From_int(static_cast< int >(0x10)));
23333 SWIG_Python_SetConstant(d
, "STC_CARET_EVEN",SWIG_From_int(static_cast< int >(0x08)));
23334 SWIG_Python_SetConstant(d
, "STC_SEL_STREAM",SWIG_From_int(static_cast< int >(0)));
23335 SWIG_Python_SetConstant(d
, "STC_SEL_RECTANGLE",SWIG_From_int(static_cast< int >(1)));
23336 SWIG_Python_SetConstant(d
, "STC_SEL_LINES",SWIG_From_int(static_cast< int >(2)));
23337 SWIG_Python_SetConstant(d
, "STC_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(0)));
23338 SWIG_Python_SetConstant(d
, "STC_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(255)));
23339 SWIG_Python_SetConstant(d
, "STC_ALPHA_NOALPHA",SWIG_From_int(static_cast< int >(256)));
23340 SWIG_Python_SetConstant(d
, "STC_KEYWORDSET_MAX",SWIG_From_int(static_cast< int >(8)));
23341 SWIG_Python_SetConstant(d
, "STC_MOD_INSERTTEXT",SWIG_From_int(static_cast< int >(0x1)));
23342 SWIG_Python_SetConstant(d
, "STC_MOD_DELETETEXT",SWIG_From_int(static_cast< int >(0x2)));
23343 SWIG_Python_SetConstant(d
, "STC_MOD_CHANGESTYLE",SWIG_From_int(static_cast< int >(0x4)));
23344 SWIG_Python_SetConstant(d
, "STC_MOD_CHANGEFOLD",SWIG_From_int(static_cast< int >(0x8)));
23345 SWIG_Python_SetConstant(d
, "STC_PERFORMED_USER",SWIG_From_int(static_cast< int >(0x10)));
23346 SWIG_Python_SetConstant(d
, "STC_PERFORMED_UNDO",SWIG_From_int(static_cast< int >(0x20)));
23347 SWIG_Python_SetConstant(d
, "STC_PERFORMED_REDO",SWIG_From_int(static_cast< int >(0x40)));
23348 SWIG_Python_SetConstant(d
, "STC_MULTISTEPUNDOREDO",SWIG_From_int(static_cast< int >(0x80)));
23349 SWIG_Python_SetConstant(d
, "STC_LASTSTEPINUNDOREDO",SWIG_From_int(static_cast< int >(0x100)));
23350 SWIG_Python_SetConstant(d
, "STC_MOD_CHANGEMARKER",SWIG_From_int(static_cast< int >(0x200)));
23351 SWIG_Python_SetConstant(d
, "STC_MOD_BEFOREINSERT",SWIG_From_int(static_cast< int >(0x400)));
23352 SWIG_Python_SetConstant(d
, "STC_MOD_BEFOREDELETE",SWIG_From_int(static_cast< int >(0x800)));
23353 SWIG_Python_SetConstant(d
, "STC_MULTILINEUNDOREDO",SWIG_From_int(static_cast< int >(0x1000)));
23354 SWIG_Python_SetConstant(d
, "STC_MODEVENTMASKALL",SWIG_From_int(static_cast< int >(0x1FFF)));
23355 SWIG_Python_SetConstant(d
, "STC_KEY_DOWN",SWIG_From_int(static_cast< int >(300)));
23356 SWIG_Python_SetConstant(d
, "STC_KEY_UP",SWIG_From_int(static_cast< int >(301)));
23357 SWIG_Python_SetConstant(d
, "STC_KEY_LEFT",SWIG_From_int(static_cast< int >(302)));
23358 SWIG_Python_SetConstant(d
, "STC_KEY_RIGHT",SWIG_From_int(static_cast< int >(303)));
23359 SWIG_Python_SetConstant(d
, "STC_KEY_HOME",SWIG_From_int(static_cast< int >(304)));
23360 SWIG_Python_SetConstant(d
, "STC_KEY_END",SWIG_From_int(static_cast< int >(305)));
23361 SWIG_Python_SetConstant(d
, "STC_KEY_PRIOR",SWIG_From_int(static_cast< int >(306)));
23362 SWIG_Python_SetConstant(d
, "STC_KEY_NEXT",SWIG_From_int(static_cast< int >(307)));
23363 SWIG_Python_SetConstant(d
, "STC_KEY_DELETE",SWIG_From_int(static_cast< int >(308)));
23364 SWIG_Python_SetConstant(d
, "STC_KEY_INSERT",SWIG_From_int(static_cast< int >(309)));
23365 SWIG_Python_SetConstant(d
, "STC_KEY_ESCAPE",SWIG_From_int(static_cast< int >(7)));
23366 SWIG_Python_SetConstant(d
, "STC_KEY_BACK",SWIG_From_int(static_cast< int >(8)));
23367 SWIG_Python_SetConstant(d
, "STC_KEY_TAB",SWIG_From_int(static_cast< int >(9)));
23368 SWIG_Python_SetConstant(d
, "STC_KEY_RETURN",SWIG_From_int(static_cast< int >(13)));
23369 SWIG_Python_SetConstant(d
, "STC_KEY_ADD",SWIG_From_int(static_cast< int >(310)));
23370 SWIG_Python_SetConstant(d
, "STC_KEY_SUBTRACT",SWIG_From_int(static_cast< int >(311)));
23371 SWIG_Python_SetConstant(d
, "STC_KEY_DIVIDE",SWIG_From_int(static_cast< int >(312)));
23372 SWIG_Python_SetConstant(d
, "STC_SCMOD_NORM",SWIG_From_int(static_cast< int >(0)));
23373 SWIG_Python_SetConstant(d
, "STC_SCMOD_SHIFT",SWIG_From_int(static_cast< int >(1)));
23374 SWIG_Python_SetConstant(d
, "STC_SCMOD_CTRL",SWIG_From_int(static_cast< int >(2)));
23375 SWIG_Python_SetConstant(d
, "STC_SCMOD_ALT",SWIG_From_int(static_cast< int >(4)));
23376 SWIG_Python_SetConstant(d
, "STC_LEX_CONTAINER",SWIG_From_int(static_cast< int >(0)));
23377 SWIG_Python_SetConstant(d
, "STC_LEX_NULL",SWIG_From_int(static_cast< int >(1)));
23378 SWIG_Python_SetConstant(d
, "STC_LEX_PYTHON",SWIG_From_int(static_cast< int >(2)));
23379 SWIG_Python_SetConstant(d
, "STC_LEX_CPP",SWIG_From_int(static_cast< int >(3)));
23380 SWIG_Python_SetConstant(d
, "STC_LEX_HTML",SWIG_From_int(static_cast< int >(4)));
23381 SWIG_Python_SetConstant(d
, "STC_LEX_XML",SWIG_From_int(static_cast< int >(5)));
23382 SWIG_Python_SetConstant(d
, "STC_LEX_PERL",SWIG_From_int(static_cast< int >(6)));
23383 SWIG_Python_SetConstant(d
, "STC_LEX_SQL",SWIG_From_int(static_cast< int >(7)));
23384 SWIG_Python_SetConstant(d
, "STC_LEX_VB",SWIG_From_int(static_cast< int >(8)));
23385 SWIG_Python_SetConstant(d
, "STC_LEX_PROPERTIES",SWIG_From_int(static_cast< int >(9)));
23386 SWIG_Python_SetConstant(d
, "STC_LEX_ERRORLIST",SWIG_From_int(static_cast< int >(10)));
23387 SWIG_Python_SetConstant(d
, "STC_LEX_MAKEFILE",SWIG_From_int(static_cast< int >(11)));
23388 SWIG_Python_SetConstant(d
, "STC_LEX_BATCH",SWIG_From_int(static_cast< int >(12)));
23389 SWIG_Python_SetConstant(d
, "STC_LEX_XCODE",SWIG_From_int(static_cast< int >(13)));
23390 SWIG_Python_SetConstant(d
, "STC_LEX_LATEX",SWIG_From_int(static_cast< int >(14)));
23391 SWIG_Python_SetConstant(d
, "STC_LEX_LUA",SWIG_From_int(static_cast< int >(15)));
23392 SWIG_Python_SetConstant(d
, "STC_LEX_DIFF",SWIG_From_int(static_cast< int >(16)));
23393 SWIG_Python_SetConstant(d
, "STC_LEX_CONF",SWIG_From_int(static_cast< int >(17)));
23394 SWIG_Python_SetConstant(d
, "STC_LEX_PASCAL",SWIG_From_int(static_cast< int >(18)));
23395 SWIG_Python_SetConstant(d
, "STC_LEX_AVE",SWIG_From_int(static_cast< int >(19)));
23396 SWIG_Python_SetConstant(d
, "STC_LEX_ADA",SWIG_From_int(static_cast< int >(20)));
23397 SWIG_Python_SetConstant(d
, "STC_LEX_LISP",SWIG_From_int(static_cast< int >(21)));
23398 SWIG_Python_SetConstant(d
, "STC_LEX_RUBY",SWIG_From_int(static_cast< int >(22)));
23399 SWIG_Python_SetConstant(d
, "STC_LEX_EIFFEL",SWIG_From_int(static_cast< int >(23)));
23400 SWIG_Python_SetConstant(d
, "STC_LEX_EIFFELKW",SWIG_From_int(static_cast< int >(24)));
23401 SWIG_Python_SetConstant(d
, "STC_LEX_TCL",SWIG_From_int(static_cast< int >(25)));
23402 SWIG_Python_SetConstant(d
, "STC_LEX_NNCRONTAB",SWIG_From_int(static_cast< int >(26)));
23403 SWIG_Python_SetConstant(d
, "STC_LEX_BULLANT",SWIG_From_int(static_cast< int >(27)));
23404 SWIG_Python_SetConstant(d
, "STC_LEX_VBSCRIPT",SWIG_From_int(static_cast< int >(28)));
23405 SWIG_Python_SetConstant(d
, "STC_LEX_BAAN",SWIG_From_int(static_cast< int >(31)));
23406 SWIG_Python_SetConstant(d
, "STC_LEX_MATLAB",SWIG_From_int(static_cast< int >(32)));
23407 SWIG_Python_SetConstant(d
, "STC_LEX_SCRIPTOL",SWIG_From_int(static_cast< int >(33)));
23408 SWIG_Python_SetConstant(d
, "STC_LEX_ASM",SWIG_From_int(static_cast< int >(34)));
23409 SWIG_Python_SetConstant(d
, "STC_LEX_CPPNOCASE",SWIG_From_int(static_cast< int >(35)));
23410 SWIG_Python_SetConstant(d
, "STC_LEX_FORTRAN",SWIG_From_int(static_cast< int >(36)));
23411 SWIG_Python_SetConstant(d
, "STC_LEX_F77",SWIG_From_int(static_cast< int >(37)));
23412 SWIG_Python_SetConstant(d
, "STC_LEX_CSS",SWIG_From_int(static_cast< int >(38)));
23413 SWIG_Python_SetConstant(d
, "STC_LEX_POV",SWIG_From_int(static_cast< int >(39)));
23414 SWIG_Python_SetConstant(d
, "STC_LEX_LOUT",SWIG_From_int(static_cast< int >(40)));
23415 SWIG_Python_SetConstant(d
, "STC_LEX_ESCRIPT",SWIG_From_int(static_cast< int >(41)));
23416 SWIG_Python_SetConstant(d
, "STC_LEX_PS",SWIG_From_int(static_cast< int >(42)));
23417 SWIG_Python_SetConstant(d
, "STC_LEX_NSIS",SWIG_From_int(static_cast< int >(43)));
23418 SWIG_Python_SetConstant(d
, "STC_LEX_MMIXAL",SWIG_From_int(static_cast< int >(44)));
23419 SWIG_Python_SetConstant(d
, "STC_LEX_CLW",SWIG_From_int(static_cast< int >(45)));
23420 SWIG_Python_SetConstant(d
, "STC_LEX_CLWNOCASE",SWIG_From_int(static_cast< int >(46)));
23421 SWIG_Python_SetConstant(d
, "STC_LEX_LOT",SWIG_From_int(static_cast< int >(47)));
23422 SWIG_Python_SetConstant(d
, "STC_LEX_YAML",SWIG_From_int(static_cast< int >(48)));
23423 SWIG_Python_SetConstant(d
, "STC_LEX_TEX",SWIG_From_int(static_cast< int >(49)));
23424 SWIG_Python_SetConstant(d
, "STC_LEX_METAPOST",SWIG_From_int(static_cast< int >(50)));
23425 SWIG_Python_SetConstant(d
, "STC_LEX_POWERBASIC",SWIG_From_int(static_cast< int >(51)));
23426 SWIG_Python_SetConstant(d
, "STC_LEX_FORTH",SWIG_From_int(static_cast< int >(52)));
23427 SWIG_Python_SetConstant(d
, "STC_LEX_ERLANG",SWIG_From_int(static_cast< int >(53)));
23428 SWIG_Python_SetConstant(d
, "STC_LEX_OCTAVE",SWIG_From_int(static_cast< int >(54)));
23429 SWIG_Python_SetConstant(d
, "STC_LEX_MSSQL",SWIG_From_int(static_cast< int >(55)));
23430 SWIG_Python_SetConstant(d
, "STC_LEX_VERILOG",SWIG_From_int(static_cast< int >(56)));
23431 SWIG_Python_SetConstant(d
, "STC_LEX_KIX",SWIG_From_int(static_cast< int >(57)));
23432 SWIG_Python_SetConstant(d
, "STC_LEX_GUI4CLI",SWIG_From_int(static_cast< int >(58)));
23433 SWIG_Python_SetConstant(d
, "STC_LEX_SPECMAN",SWIG_From_int(static_cast< int >(59)));
23434 SWIG_Python_SetConstant(d
, "STC_LEX_AU3",SWIG_From_int(static_cast< int >(60)));
23435 SWIG_Python_SetConstant(d
, "STC_LEX_APDL",SWIG_From_int(static_cast< int >(61)));
23436 SWIG_Python_SetConstant(d
, "STC_LEX_BASH",SWIG_From_int(static_cast< int >(62)));
23437 SWIG_Python_SetConstant(d
, "STC_LEX_ASN1",SWIG_From_int(static_cast< int >(63)));
23438 SWIG_Python_SetConstant(d
, "STC_LEX_VHDL",SWIG_From_int(static_cast< int >(64)));
23439 SWIG_Python_SetConstant(d
, "STC_LEX_CAML",SWIG_From_int(static_cast< int >(65)));
23440 SWIG_Python_SetConstant(d
, "STC_LEX_BLITZBASIC",SWIG_From_int(static_cast< int >(66)));
23441 SWIG_Python_SetConstant(d
, "STC_LEX_PUREBASIC",SWIG_From_int(static_cast< int >(67)));
23442 SWIG_Python_SetConstant(d
, "STC_LEX_HASKELL",SWIG_From_int(static_cast< int >(68)));
23443 SWIG_Python_SetConstant(d
, "STC_LEX_PHPSCRIPT",SWIG_From_int(static_cast< int >(69)));
23444 SWIG_Python_SetConstant(d
, "STC_LEX_TADS3",SWIG_From_int(static_cast< int >(70)));
23445 SWIG_Python_SetConstant(d
, "STC_LEX_REBOL",SWIG_From_int(static_cast< int >(71)));
23446 SWIG_Python_SetConstant(d
, "STC_LEX_SMALLTALK",SWIG_From_int(static_cast< int >(72)));
23447 SWIG_Python_SetConstant(d
, "STC_LEX_FLAGSHIP",SWIG_From_int(static_cast< int >(73)));
23448 SWIG_Python_SetConstant(d
, "STC_LEX_CSOUND",SWIG_From_int(static_cast< int >(74)));
23449 SWIG_Python_SetConstant(d
, "STC_LEX_FREEBASIC",SWIG_From_int(static_cast< int >(75)));
23450 SWIG_Python_SetConstant(d
, "STC_LEX_INNOSETUP",SWIG_From_int(static_cast< int >(76)));
23451 SWIG_Python_SetConstant(d
, "STC_LEX_OPAL",SWIG_From_int(static_cast< int >(77)));
23452 SWIG_Python_SetConstant(d
, "STC_LEX_SPICE",SWIG_From_int(static_cast< int >(78)));
23453 SWIG_Python_SetConstant(d
, "STC_LEX_AUTOMATIC",SWIG_From_int(static_cast< int >(1000)));
23454 SWIG_Python_SetConstant(d
, "STC_P_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23455 SWIG_Python_SetConstant(d
, "STC_P_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23456 SWIG_Python_SetConstant(d
, "STC_P_NUMBER",SWIG_From_int(static_cast< int >(2)));
23457 SWIG_Python_SetConstant(d
, "STC_P_STRING",SWIG_From_int(static_cast< int >(3)));
23458 SWIG_Python_SetConstant(d
, "STC_P_CHARACTER",SWIG_From_int(static_cast< int >(4)));
23459 SWIG_Python_SetConstant(d
, "STC_P_WORD",SWIG_From_int(static_cast< int >(5)));
23460 SWIG_Python_SetConstant(d
, "STC_P_TRIPLE",SWIG_From_int(static_cast< int >(6)));
23461 SWIG_Python_SetConstant(d
, "STC_P_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(7)));
23462 SWIG_Python_SetConstant(d
, "STC_P_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23463 SWIG_Python_SetConstant(d
, "STC_P_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23464 SWIG_Python_SetConstant(d
, "STC_P_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23465 SWIG_Python_SetConstant(d
, "STC_P_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23466 SWIG_Python_SetConstant(d
, "STC_P_COMMENTBLOCK",SWIG_From_int(static_cast< int >(12)));
23467 SWIG_Python_SetConstant(d
, "STC_P_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23468 SWIG_Python_SetConstant(d
, "STC_P_WORD2",SWIG_From_int(static_cast< int >(14)));
23469 SWIG_Python_SetConstant(d
, "STC_P_DECORATOR",SWIG_From_int(static_cast< int >(15)));
23470 SWIG_Python_SetConstant(d
, "STC_C_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23471 SWIG_Python_SetConstant(d
, "STC_C_COMMENT",SWIG_From_int(static_cast< int >(1)));
23472 SWIG_Python_SetConstant(d
, "STC_C_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23473 SWIG_Python_SetConstant(d
, "STC_C_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23474 SWIG_Python_SetConstant(d
, "STC_C_NUMBER",SWIG_From_int(static_cast< int >(4)));
23475 SWIG_Python_SetConstant(d
, "STC_C_WORD",SWIG_From_int(static_cast< int >(5)));
23476 SWIG_Python_SetConstant(d
, "STC_C_STRING",SWIG_From_int(static_cast< int >(6)));
23477 SWIG_Python_SetConstant(d
, "STC_C_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23478 SWIG_Python_SetConstant(d
, "STC_C_UUID",SWIG_From_int(static_cast< int >(8)));
23479 SWIG_Python_SetConstant(d
, "STC_C_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23480 SWIG_Python_SetConstant(d
, "STC_C_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23481 SWIG_Python_SetConstant(d
, "STC_C_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23482 SWIG_Python_SetConstant(d
, "STC_C_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23483 SWIG_Python_SetConstant(d
, "STC_C_VERBATIM",SWIG_From_int(static_cast< int >(13)));
23484 SWIG_Python_SetConstant(d
, "STC_C_REGEX",SWIG_From_int(static_cast< int >(14)));
23485 SWIG_Python_SetConstant(d
, "STC_C_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
23486 SWIG_Python_SetConstant(d
, "STC_C_WORD2",SWIG_From_int(static_cast< int >(16)));
23487 SWIG_Python_SetConstant(d
, "STC_C_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
23488 SWIG_Python_SetConstant(d
, "STC_C_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
23489 SWIG_Python_SetConstant(d
, "STC_C_GLOBALCLASS",SWIG_From_int(static_cast< int >(19)));
23490 SWIG_Python_SetConstant(d
, "STC_TCL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23491 SWIG_Python_SetConstant(d
, "STC_TCL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23492 SWIG_Python_SetConstant(d
, "STC_TCL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23493 SWIG_Python_SetConstant(d
, "STC_TCL_NUMBER",SWIG_From_int(static_cast< int >(3)));
23494 SWIG_Python_SetConstant(d
, "STC_TCL_WORD_IN_QUOTE",SWIG_From_int(static_cast< int >(4)));
23495 SWIG_Python_SetConstant(d
, "STC_TCL_IN_QUOTE",SWIG_From_int(static_cast< int >(5)));
23496 SWIG_Python_SetConstant(d
, "STC_TCL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23497 SWIG_Python_SetConstant(d
, "STC_TCL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23498 SWIG_Python_SetConstant(d
, "STC_TCL_SUBSTITUTION",SWIG_From_int(static_cast< int >(8)));
23499 SWIG_Python_SetConstant(d
, "STC_TCL_SUB_BRACE",SWIG_From_int(static_cast< int >(9)));
23500 SWIG_Python_SetConstant(d
, "STC_TCL_MODIFIER",SWIG_From_int(static_cast< int >(10)));
23501 SWIG_Python_SetConstant(d
, "STC_TCL_EXPAND",SWIG_From_int(static_cast< int >(11)));
23502 SWIG_Python_SetConstant(d
, "STC_TCL_WORD",SWIG_From_int(static_cast< int >(12)));
23503 SWIG_Python_SetConstant(d
, "STC_TCL_WORD2",SWIG_From_int(static_cast< int >(13)));
23504 SWIG_Python_SetConstant(d
, "STC_TCL_WORD3",SWIG_From_int(static_cast< int >(14)));
23505 SWIG_Python_SetConstant(d
, "STC_TCL_WORD4",SWIG_From_int(static_cast< int >(15)));
23506 SWIG_Python_SetConstant(d
, "STC_TCL_WORD5",SWIG_From_int(static_cast< int >(16)));
23507 SWIG_Python_SetConstant(d
, "STC_TCL_WORD6",SWIG_From_int(static_cast< int >(17)));
23508 SWIG_Python_SetConstant(d
, "STC_TCL_WORD7",SWIG_From_int(static_cast< int >(18)));
23509 SWIG_Python_SetConstant(d
, "STC_TCL_WORD8",SWIG_From_int(static_cast< int >(19)));
23510 SWIG_Python_SetConstant(d
, "STC_TCL_COMMENT_BOX",SWIG_From_int(static_cast< int >(20)));
23511 SWIG_Python_SetConstant(d
, "STC_TCL_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(21)));
23512 SWIG_Python_SetConstant(d
, "STC_H_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23513 SWIG_Python_SetConstant(d
, "STC_H_TAG",SWIG_From_int(static_cast< int >(1)));
23514 SWIG_Python_SetConstant(d
, "STC_H_TAGUNKNOWN",SWIG_From_int(static_cast< int >(2)));
23515 SWIG_Python_SetConstant(d
, "STC_H_ATTRIBUTE",SWIG_From_int(static_cast< int >(3)));
23516 SWIG_Python_SetConstant(d
, "STC_H_ATTRIBUTEUNKNOWN",SWIG_From_int(static_cast< int >(4)));
23517 SWIG_Python_SetConstant(d
, "STC_H_NUMBER",SWIG_From_int(static_cast< int >(5)));
23518 SWIG_Python_SetConstant(d
, "STC_H_DOUBLESTRING",SWIG_From_int(static_cast< int >(6)));
23519 SWIG_Python_SetConstant(d
, "STC_H_SINGLESTRING",SWIG_From_int(static_cast< int >(7)));
23520 SWIG_Python_SetConstant(d
, "STC_H_OTHER",SWIG_From_int(static_cast< int >(8)));
23521 SWIG_Python_SetConstant(d
, "STC_H_COMMENT",SWIG_From_int(static_cast< int >(9)));
23522 SWIG_Python_SetConstant(d
, "STC_H_ENTITY",SWIG_From_int(static_cast< int >(10)));
23523 SWIG_Python_SetConstant(d
, "STC_H_TAGEND",SWIG_From_int(static_cast< int >(11)));
23524 SWIG_Python_SetConstant(d
, "STC_H_XMLSTART",SWIG_From_int(static_cast< int >(12)));
23525 SWIG_Python_SetConstant(d
, "STC_H_XMLEND",SWIG_From_int(static_cast< int >(13)));
23526 SWIG_Python_SetConstant(d
, "STC_H_SCRIPT",SWIG_From_int(static_cast< int >(14)));
23527 SWIG_Python_SetConstant(d
, "STC_H_ASP",SWIG_From_int(static_cast< int >(15)));
23528 SWIG_Python_SetConstant(d
, "STC_H_ASPAT",SWIG_From_int(static_cast< int >(16)));
23529 SWIG_Python_SetConstant(d
, "STC_H_CDATA",SWIG_From_int(static_cast< int >(17)));
23530 SWIG_Python_SetConstant(d
, "STC_H_QUESTION",SWIG_From_int(static_cast< int >(18)));
23531 SWIG_Python_SetConstant(d
, "STC_H_VALUE",SWIG_From_int(static_cast< int >(19)));
23532 SWIG_Python_SetConstant(d
, "STC_H_XCCOMMENT",SWIG_From_int(static_cast< int >(20)));
23533 SWIG_Python_SetConstant(d
, "STC_H_SGML_DEFAULT",SWIG_From_int(static_cast< int >(21)));
23534 SWIG_Python_SetConstant(d
, "STC_H_SGML_COMMAND",SWIG_From_int(static_cast< int >(22)));
23535 SWIG_Python_SetConstant(d
, "STC_H_SGML_1ST_PARAM",SWIG_From_int(static_cast< int >(23)));
23536 SWIG_Python_SetConstant(d
, "STC_H_SGML_DOUBLESTRING",SWIG_From_int(static_cast< int >(24)));
23537 SWIG_Python_SetConstant(d
, "STC_H_SGML_SIMPLESTRING",SWIG_From_int(static_cast< int >(25)));
23538 SWIG_Python_SetConstant(d
, "STC_H_SGML_ERROR",SWIG_From_int(static_cast< int >(26)));
23539 SWIG_Python_SetConstant(d
, "STC_H_SGML_SPECIAL",SWIG_From_int(static_cast< int >(27)));
23540 SWIG_Python_SetConstant(d
, "STC_H_SGML_ENTITY",SWIG_From_int(static_cast< int >(28)));
23541 SWIG_Python_SetConstant(d
, "STC_H_SGML_COMMENT",SWIG_From_int(static_cast< int >(29)));
23542 SWIG_Python_SetConstant(d
, "STC_H_SGML_1ST_PARAM_COMMENT",SWIG_From_int(static_cast< int >(30)));
23543 SWIG_Python_SetConstant(d
, "STC_H_SGML_BLOCK_DEFAULT",SWIG_From_int(static_cast< int >(31)));
23544 SWIG_Python_SetConstant(d
, "STC_HJ_START",SWIG_From_int(static_cast< int >(40)));
23545 SWIG_Python_SetConstant(d
, "STC_HJ_DEFAULT",SWIG_From_int(static_cast< int >(41)));
23546 SWIG_Python_SetConstant(d
, "STC_HJ_COMMENT",SWIG_From_int(static_cast< int >(42)));
23547 SWIG_Python_SetConstant(d
, "STC_HJ_COMMENTLINE",SWIG_From_int(static_cast< int >(43)));
23548 SWIG_Python_SetConstant(d
, "STC_HJ_COMMENTDOC",SWIG_From_int(static_cast< int >(44)));
23549 SWIG_Python_SetConstant(d
, "STC_HJ_NUMBER",SWIG_From_int(static_cast< int >(45)));
23550 SWIG_Python_SetConstant(d
, "STC_HJ_WORD",SWIG_From_int(static_cast< int >(46)));
23551 SWIG_Python_SetConstant(d
, "STC_HJ_KEYWORD",SWIG_From_int(static_cast< int >(47)));
23552 SWIG_Python_SetConstant(d
, "STC_HJ_DOUBLESTRING",SWIG_From_int(static_cast< int >(48)));
23553 SWIG_Python_SetConstant(d
, "STC_HJ_SINGLESTRING",SWIG_From_int(static_cast< int >(49)));
23554 SWIG_Python_SetConstant(d
, "STC_HJ_SYMBOLS",SWIG_From_int(static_cast< int >(50)));
23555 SWIG_Python_SetConstant(d
, "STC_HJ_STRINGEOL",SWIG_From_int(static_cast< int >(51)));
23556 SWIG_Python_SetConstant(d
, "STC_HJ_REGEX",SWIG_From_int(static_cast< int >(52)));
23557 SWIG_Python_SetConstant(d
, "STC_HJA_START",SWIG_From_int(static_cast< int >(55)));
23558 SWIG_Python_SetConstant(d
, "STC_HJA_DEFAULT",SWIG_From_int(static_cast< int >(56)));
23559 SWIG_Python_SetConstant(d
, "STC_HJA_COMMENT",SWIG_From_int(static_cast< int >(57)));
23560 SWIG_Python_SetConstant(d
, "STC_HJA_COMMENTLINE",SWIG_From_int(static_cast< int >(58)));
23561 SWIG_Python_SetConstant(d
, "STC_HJA_COMMENTDOC",SWIG_From_int(static_cast< int >(59)));
23562 SWIG_Python_SetConstant(d
, "STC_HJA_NUMBER",SWIG_From_int(static_cast< int >(60)));
23563 SWIG_Python_SetConstant(d
, "STC_HJA_WORD",SWIG_From_int(static_cast< int >(61)));
23564 SWIG_Python_SetConstant(d
, "STC_HJA_KEYWORD",SWIG_From_int(static_cast< int >(62)));
23565 SWIG_Python_SetConstant(d
, "STC_HJA_DOUBLESTRING",SWIG_From_int(static_cast< int >(63)));
23566 SWIG_Python_SetConstant(d
, "STC_HJA_SINGLESTRING",SWIG_From_int(static_cast< int >(64)));
23567 SWIG_Python_SetConstant(d
, "STC_HJA_SYMBOLS",SWIG_From_int(static_cast< int >(65)));
23568 SWIG_Python_SetConstant(d
, "STC_HJA_STRINGEOL",SWIG_From_int(static_cast< int >(66)));
23569 SWIG_Python_SetConstant(d
, "STC_HJA_REGEX",SWIG_From_int(static_cast< int >(67)));
23570 SWIG_Python_SetConstant(d
, "STC_HB_START",SWIG_From_int(static_cast< int >(70)));
23571 SWIG_Python_SetConstant(d
, "STC_HB_DEFAULT",SWIG_From_int(static_cast< int >(71)));
23572 SWIG_Python_SetConstant(d
, "STC_HB_COMMENTLINE",SWIG_From_int(static_cast< int >(72)));
23573 SWIG_Python_SetConstant(d
, "STC_HB_NUMBER",SWIG_From_int(static_cast< int >(73)));
23574 SWIG_Python_SetConstant(d
, "STC_HB_WORD",SWIG_From_int(static_cast< int >(74)));
23575 SWIG_Python_SetConstant(d
, "STC_HB_STRING",SWIG_From_int(static_cast< int >(75)));
23576 SWIG_Python_SetConstant(d
, "STC_HB_IDENTIFIER",SWIG_From_int(static_cast< int >(76)));
23577 SWIG_Python_SetConstant(d
, "STC_HB_STRINGEOL",SWIG_From_int(static_cast< int >(77)));
23578 SWIG_Python_SetConstant(d
, "STC_HBA_START",SWIG_From_int(static_cast< int >(80)));
23579 SWIG_Python_SetConstant(d
, "STC_HBA_DEFAULT",SWIG_From_int(static_cast< int >(81)));
23580 SWIG_Python_SetConstant(d
, "STC_HBA_COMMENTLINE",SWIG_From_int(static_cast< int >(82)));
23581 SWIG_Python_SetConstant(d
, "STC_HBA_NUMBER",SWIG_From_int(static_cast< int >(83)));
23582 SWIG_Python_SetConstant(d
, "STC_HBA_WORD",SWIG_From_int(static_cast< int >(84)));
23583 SWIG_Python_SetConstant(d
, "STC_HBA_STRING",SWIG_From_int(static_cast< int >(85)));
23584 SWIG_Python_SetConstant(d
, "STC_HBA_IDENTIFIER",SWIG_From_int(static_cast< int >(86)));
23585 SWIG_Python_SetConstant(d
, "STC_HBA_STRINGEOL",SWIG_From_int(static_cast< int >(87)));
23586 SWIG_Python_SetConstant(d
, "STC_HP_START",SWIG_From_int(static_cast< int >(90)));
23587 SWIG_Python_SetConstant(d
, "STC_HP_DEFAULT",SWIG_From_int(static_cast< int >(91)));
23588 SWIG_Python_SetConstant(d
, "STC_HP_COMMENTLINE",SWIG_From_int(static_cast< int >(92)));
23589 SWIG_Python_SetConstant(d
, "STC_HP_NUMBER",SWIG_From_int(static_cast< int >(93)));
23590 SWIG_Python_SetConstant(d
, "STC_HP_STRING",SWIG_From_int(static_cast< int >(94)));
23591 SWIG_Python_SetConstant(d
, "STC_HP_CHARACTER",SWIG_From_int(static_cast< int >(95)));
23592 SWIG_Python_SetConstant(d
, "STC_HP_WORD",SWIG_From_int(static_cast< int >(96)));
23593 SWIG_Python_SetConstant(d
, "STC_HP_TRIPLE",SWIG_From_int(static_cast< int >(97)));
23594 SWIG_Python_SetConstant(d
, "STC_HP_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(98)));
23595 SWIG_Python_SetConstant(d
, "STC_HP_CLASSNAME",SWIG_From_int(static_cast< int >(99)));
23596 SWIG_Python_SetConstant(d
, "STC_HP_DEFNAME",SWIG_From_int(static_cast< int >(100)));
23597 SWIG_Python_SetConstant(d
, "STC_HP_OPERATOR",SWIG_From_int(static_cast< int >(101)));
23598 SWIG_Python_SetConstant(d
, "STC_HP_IDENTIFIER",SWIG_From_int(static_cast< int >(102)));
23599 SWIG_Python_SetConstant(d
, "STC_HPHP_COMPLEX_VARIABLE",SWIG_From_int(static_cast< int >(104)));
23600 SWIG_Python_SetConstant(d
, "STC_HPA_START",SWIG_From_int(static_cast< int >(105)));
23601 SWIG_Python_SetConstant(d
, "STC_HPA_DEFAULT",SWIG_From_int(static_cast< int >(106)));
23602 SWIG_Python_SetConstant(d
, "STC_HPA_COMMENTLINE",SWIG_From_int(static_cast< int >(107)));
23603 SWIG_Python_SetConstant(d
, "STC_HPA_NUMBER",SWIG_From_int(static_cast< int >(108)));
23604 SWIG_Python_SetConstant(d
, "STC_HPA_STRING",SWIG_From_int(static_cast< int >(109)));
23605 SWIG_Python_SetConstant(d
, "STC_HPA_CHARACTER",SWIG_From_int(static_cast< int >(110)));
23606 SWIG_Python_SetConstant(d
, "STC_HPA_WORD",SWIG_From_int(static_cast< int >(111)));
23607 SWIG_Python_SetConstant(d
, "STC_HPA_TRIPLE",SWIG_From_int(static_cast< int >(112)));
23608 SWIG_Python_SetConstant(d
, "STC_HPA_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(113)));
23609 SWIG_Python_SetConstant(d
, "STC_HPA_CLASSNAME",SWIG_From_int(static_cast< int >(114)));
23610 SWIG_Python_SetConstant(d
, "STC_HPA_DEFNAME",SWIG_From_int(static_cast< int >(115)));
23611 SWIG_Python_SetConstant(d
, "STC_HPA_OPERATOR",SWIG_From_int(static_cast< int >(116)));
23612 SWIG_Python_SetConstant(d
, "STC_HPA_IDENTIFIER",SWIG_From_int(static_cast< int >(117)));
23613 SWIG_Python_SetConstant(d
, "STC_HPHP_DEFAULT",SWIG_From_int(static_cast< int >(118)));
23614 SWIG_Python_SetConstant(d
, "STC_HPHP_HSTRING",SWIG_From_int(static_cast< int >(119)));
23615 SWIG_Python_SetConstant(d
, "STC_HPHP_SIMPLESTRING",SWIG_From_int(static_cast< int >(120)));
23616 SWIG_Python_SetConstant(d
, "STC_HPHP_WORD",SWIG_From_int(static_cast< int >(121)));
23617 SWIG_Python_SetConstant(d
, "STC_HPHP_NUMBER",SWIG_From_int(static_cast< int >(122)));
23618 SWIG_Python_SetConstant(d
, "STC_HPHP_VARIABLE",SWIG_From_int(static_cast< int >(123)));
23619 SWIG_Python_SetConstant(d
, "STC_HPHP_COMMENT",SWIG_From_int(static_cast< int >(124)));
23620 SWIG_Python_SetConstant(d
, "STC_HPHP_COMMENTLINE",SWIG_From_int(static_cast< int >(125)));
23621 SWIG_Python_SetConstant(d
, "STC_HPHP_HSTRING_VARIABLE",SWIG_From_int(static_cast< int >(126)));
23622 SWIG_Python_SetConstant(d
, "STC_HPHP_OPERATOR",SWIG_From_int(static_cast< int >(127)));
23623 SWIG_Python_SetConstant(d
, "STC_PL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23624 SWIG_Python_SetConstant(d
, "STC_PL_ERROR",SWIG_From_int(static_cast< int >(1)));
23625 SWIG_Python_SetConstant(d
, "STC_PL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23626 SWIG_Python_SetConstant(d
, "STC_PL_POD",SWIG_From_int(static_cast< int >(3)));
23627 SWIG_Python_SetConstant(d
, "STC_PL_NUMBER",SWIG_From_int(static_cast< int >(4)));
23628 SWIG_Python_SetConstant(d
, "STC_PL_WORD",SWIG_From_int(static_cast< int >(5)));
23629 SWIG_Python_SetConstant(d
, "STC_PL_STRING",SWIG_From_int(static_cast< int >(6)));
23630 SWIG_Python_SetConstant(d
, "STC_PL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23631 SWIG_Python_SetConstant(d
, "STC_PL_PUNCTUATION",SWIG_From_int(static_cast< int >(8)));
23632 SWIG_Python_SetConstant(d
, "STC_PL_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23633 SWIG_Python_SetConstant(d
, "STC_PL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23634 SWIG_Python_SetConstant(d
, "STC_PL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23635 SWIG_Python_SetConstant(d
, "STC_PL_SCALAR",SWIG_From_int(static_cast< int >(12)));
23636 SWIG_Python_SetConstant(d
, "STC_PL_ARRAY",SWIG_From_int(static_cast< int >(13)));
23637 SWIG_Python_SetConstant(d
, "STC_PL_HASH",SWIG_From_int(static_cast< int >(14)));
23638 SWIG_Python_SetConstant(d
, "STC_PL_SYMBOLTABLE",SWIG_From_int(static_cast< int >(15)));
23639 SWIG_Python_SetConstant(d
, "STC_PL_VARIABLE_INDEXER",SWIG_From_int(static_cast< int >(16)));
23640 SWIG_Python_SetConstant(d
, "STC_PL_REGEX",SWIG_From_int(static_cast< int >(17)));
23641 SWIG_Python_SetConstant(d
, "STC_PL_REGSUBST",SWIG_From_int(static_cast< int >(18)));
23642 SWIG_Python_SetConstant(d
, "STC_PL_LONGQUOTE",SWIG_From_int(static_cast< int >(19)));
23643 SWIG_Python_SetConstant(d
, "STC_PL_BACKTICKS",SWIG_From_int(static_cast< int >(20)));
23644 SWIG_Python_SetConstant(d
, "STC_PL_DATASECTION",SWIG_From_int(static_cast< int >(21)));
23645 SWIG_Python_SetConstant(d
, "STC_PL_HERE_DELIM",SWIG_From_int(static_cast< int >(22)));
23646 SWIG_Python_SetConstant(d
, "STC_PL_HERE_Q",SWIG_From_int(static_cast< int >(23)));
23647 SWIG_Python_SetConstant(d
, "STC_PL_HERE_QQ",SWIG_From_int(static_cast< int >(24)));
23648 SWIG_Python_SetConstant(d
, "STC_PL_HERE_QX",SWIG_From_int(static_cast< int >(25)));
23649 SWIG_Python_SetConstant(d
, "STC_PL_STRING_Q",SWIG_From_int(static_cast< int >(26)));
23650 SWIG_Python_SetConstant(d
, "STC_PL_STRING_QQ",SWIG_From_int(static_cast< int >(27)));
23651 SWIG_Python_SetConstant(d
, "STC_PL_STRING_QX",SWIG_From_int(static_cast< int >(28)));
23652 SWIG_Python_SetConstant(d
, "STC_PL_STRING_QR",SWIG_From_int(static_cast< int >(29)));
23653 SWIG_Python_SetConstant(d
, "STC_PL_STRING_QW",SWIG_From_int(static_cast< int >(30)));
23654 SWIG_Python_SetConstant(d
, "STC_PL_POD_VERB",SWIG_From_int(static_cast< int >(31)));
23655 SWIG_Python_SetConstant(d
, "STC_RB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23656 SWIG_Python_SetConstant(d
, "STC_RB_ERROR",SWIG_From_int(static_cast< int >(1)));
23657 SWIG_Python_SetConstant(d
, "STC_RB_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23658 SWIG_Python_SetConstant(d
, "STC_RB_POD",SWIG_From_int(static_cast< int >(3)));
23659 SWIG_Python_SetConstant(d
, "STC_RB_NUMBER",SWIG_From_int(static_cast< int >(4)));
23660 SWIG_Python_SetConstant(d
, "STC_RB_WORD",SWIG_From_int(static_cast< int >(5)));
23661 SWIG_Python_SetConstant(d
, "STC_RB_STRING",SWIG_From_int(static_cast< int >(6)));
23662 SWIG_Python_SetConstant(d
, "STC_RB_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23663 SWIG_Python_SetConstant(d
, "STC_RB_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23664 SWIG_Python_SetConstant(d
, "STC_RB_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23665 SWIG_Python_SetConstant(d
, "STC_RB_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23666 SWIG_Python_SetConstant(d
, "STC_RB_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23667 SWIG_Python_SetConstant(d
, "STC_RB_REGEX",SWIG_From_int(static_cast< int >(12)));
23668 SWIG_Python_SetConstant(d
, "STC_RB_GLOBAL",SWIG_From_int(static_cast< int >(13)));
23669 SWIG_Python_SetConstant(d
, "STC_RB_SYMBOL",SWIG_From_int(static_cast< int >(14)));
23670 SWIG_Python_SetConstant(d
, "STC_RB_MODULE_NAME",SWIG_From_int(static_cast< int >(15)));
23671 SWIG_Python_SetConstant(d
, "STC_RB_INSTANCE_VAR",SWIG_From_int(static_cast< int >(16)));
23672 SWIG_Python_SetConstant(d
, "STC_RB_CLASS_VAR",SWIG_From_int(static_cast< int >(17)));
23673 SWIG_Python_SetConstant(d
, "STC_RB_BACKTICKS",SWIG_From_int(static_cast< int >(18)));
23674 SWIG_Python_SetConstant(d
, "STC_RB_DATASECTION",SWIG_From_int(static_cast< int >(19)));
23675 SWIG_Python_SetConstant(d
, "STC_RB_HERE_DELIM",SWIG_From_int(static_cast< int >(20)));
23676 SWIG_Python_SetConstant(d
, "STC_RB_HERE_Q",SWIG_From_int(static_cast< int >(21)));
23677 SWIG_Python_SetConstant(d
, "STC_RB_HERE_QQ",SWIG_From_int(static_cast< int >(22)));
23678 SWIG_Python_SetConstant(d
, "STC_RB_HERE_QX",SWIG_From_int(static_cast< int >(23)));
23679 SWIG_Python_SetConstant(d
, "STC_RB_STRING_Q",SWIG_From_int(static_cast< int >(24)));
23680 SWIG_Python_SetConstant(d
, "STC_RB_STRING_QQ",SWIG_From_int(static_cast< int >(25)));
23681 SWIG_Python_SetConstant(d
, "STC_RB_STRING_QX",SWIG_From_int(static_cast< int >(26)));
23682 SWIG_Python_SetConstant(d
, "STC_RB_STRING_QR",SWIG_From_int(static_cast< int >(27)));
23683 SWIG_Python_SetConstant(d
, "STC_RB_STRING_QW",SWIG_From_int(static_cast< int >(28)));
23684 SWIG_Python_SetConstant(d
, "STC_RB_WORD_DEMOTED",SWIG_From_int(static_cast< int >(29)));
23685 SWIG_Python_SetConstant(d
, "STC_RB_STDIN",SWIG_From_int(static_cast< int >(30)));
23686 SWIG_Python_SetConstant(d
, "STC_RB_STDOUT",SWIG_From_int(static_cast< int >(31)));
23687 SWIG_Python_SetConstant(d
, "STC_RB_STDERR",SWIG_From_int(static_cast< int >(40)));
23688 SWIG_Python_SetConstant(d
, "STC_RB_UPPER_BOUND",SWIG_From_int(static_cast< int >(41)));
23689 SWIG_Python_SetConstant(d
, "STC_B_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23690 SWIG_Python_SetConstant(d
, "STC_B_COMMENT",SWIG_From_int(static_cast< int >(1)));
23691 SWIG_Python_SetConstant(d
, "STC_B_NUMBER",SWIG_From_int(static_cast< int >(2)));
23692 SWIG_Python_SetConstant(d
, "STC_B_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23693 SWIG_Python_SetConstant(d
, "STC_B_STRING",SWIG_From_int(static_cast< int >(4)));
23694 SWIG_Python_SetConstant(d
, "STC_B_PREPROCESSOR",SWIG_From_int(static_cast< int >(5)));
23695 SWIG_Python_SetConstant(d
, "STC_B_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23696 SWIG_Python_SetConstant(d
, "STC_B_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23697 SWIG_Python_SetConstant(d
, "STC_B_DATE",SWIG_From_int(static_cast< int >(8)));
23698 SWIG_Python_SetConstant(d
, "STC_B_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23699 SWIG_Python_SetConstant(d
, "STC_B_KEYWORD2",SWIG_From_int(static_cast< int >(10)));
23700 SWIG_Python_SetConstant(d
, "STC_B_KEYWORD3",SWIG_From_int(static_cast< int >(11)));
23701 SWIG_Python_SetConstant(d
, "STC_B_KEYWORD4",SWIG_From_int(static_cast< int >(12)));
23702 SWIG_Python_SetConstant(d
, "STC_B_CONSTANT",SWIG_From_int(static_cast< int >(13)));
23703 SWIG_Python_SetConstant(d
, "STC_B_ASM",SWIG_From_int(static_cast< int >(14)));
23704 SWIG_Python_SetConstant(d
, "STC_B_LABEL",SWIG_From_int(static_cast< int >(15)));
23705 SWIG_Python_SetConstant(d
, "STC_B_ERROR",SWIG_From_int(static_cast< int >(16)));
23706 SWIG_Python_SetConstant(d
, "STC_B_HEXNUMBER",SWIG_From_int(static_cast< int >(17)));
23707 SWIG_Python_SetConstant(d
, "STC_B_BINNUMBER",SWIG_From_int(static_cast< int >(18)));
23708 SWIG_Python_SetConstant(d
, "STC_PROPS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23709 SWIG_Python_SetConstant(d
, "STC_PROPS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23710 SWIG_Python_SetConstant(d
, "STC_PROPS_SECTION",SWIG_From_int(static_cast< int >(2)));
23711 SWIG_Python_SetConstant(d
, "STC_PROPS_ASSIGNMENT",SWIG_From_int(static_cast< int >(3)));
23712 SWIG_Python_SetConstant(d
, "STC_PROPS_DEFVAL",SWIG_From_int(static_cast< int >(4)));
23713 SWIG_Python_SetConstant(d
, "STC_PROPS_KEY",SWIG_From_int(static_cast< int >(5)));
23714 SWIG_Python_SetConstant(d
, "STC_L_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23715 SWIG_Python_SetConstant(d
, "STC_L_COMMAND",SWIG_From_int(static_cast< int >(1)));
23716 SWIG_Python_SetConstant(d
, "STC_L_TAG",SWIG_From_int(static_cast< int >(2)));
23717 SWIG_Python_SetConstant(d
, "STC_L_MATH",SWIG_From_int(static_cast< int >(3)));
23718 SWIG_Python_SetConstant(d
, "STC_L_COMMENT",SWIG_From_int(static_cast< int >(4)));
23719 SWIG_Python_SetConstant(d
, "STC_LUA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23720 SWIG_Python_SetConstant(d
, "STC_LUA_COMMENT",SWIG_From_int(static_cast< int >(1)));
23721 SWIG_Python_SetConstant(d
, "STC_LUA_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23722 SWIG_Python_SetConstant(d
, "STC_LUA_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23723 SWIG_Python_SetConstant(d
, "STC_LUA_NUMBER",SWIG_From_int(static_cast< int >(4)));
23724 SWIG_Python_SetConstant(d
, "STC_LUA_WORD",SWIG_From_int(static_cast< int >(5)));
23725 SWIG_Python_SetConstant(d
, "STC_LUA_STRING",SWIG_From_int(static_cast< int >(6)));
23726 SWIG_Python_SetConstant(d
, "STC_LUA_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23727 SWIG_Python_SetConstant(d
, "STC_LUA_LITERALSTRING",SWIG_From_int(static_cast< int >(8)));
23728 SWIG_Python_SetConstant(d
, "STC_LUA_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23729 SWIG_Python_SetConstant(d
, "STC_LUA_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23730 SWIG_Python_SetConstant(d
, "STC_LUA_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23731 SWIG_Python_SetConstant(d
, "STC_LUA_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23732 SWIG_Python_SetConstant(d
, "STC_LUA_WORD2",SWIG_From_int(static_cast< int >(13)));
23733 SWIG_Python_SetConstant(d
, "STC_LUA_WORD3",SWIG_From_int(static_cast< int >(14)));
23734 SWIG_Python_SetConstant(d
, "STC_LUA_WORD4",SWIG_From_int(static_cast< int >(15)));
23735 SWIG_Python_SetConstant(d
, "STC_LUA_WORD5",SWIG_From_int(static_cast< int >(16)));
23736 SWIG_Python_SetConstant(d
, "STC_LUA_WORD6",SWIG_From_int(static_cast< int >(17)));
23737 SWIG_Python_SetConstant(d
, "STC_LUA_WORD7",SWIG_From_int(static_cast< int >(18)));
23738 SWIG_Python_SetConstant(d
, "STC_LUA_WORD8",SWIG_From_int(static_cast< int >(19)));
23739 SWIG_Python_SetConstant(d
, "STC_ERR_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23740 SWIG_Python_SetConstant(d
, "STC_ERR_PYTHON",SWIG_From_int(static_cast< int >(1)));
23741 SWIG_Python_SetConstant(d
, "STC_ERR_GCC",SWIG_From_int(static_cast< int >(2)));
23742 SWIG_Python_SetConstant(d
, "STC_ERR_MS",SWIG_From_int(static_cast< int >(3)));
23743 SWIG_Python_SetConstant(d
, "STC_ERR_CMD",SWIG_From_int(static_cast< int >(4)));
23744 SWIG_Python_SetConstant(d
, "STC_ERR_BORLAND",SWIG_From_int(static_cast< int >(5)));
23745 SWIG_Python_SetConstant(d
, "STC_ERR_PERL",SWIG_From_int(static_cast< int >(6)));
23746 SWIG_Python_SetConstant(d
, "STC_ERR_NET",SWIG_From_int(static_cast< int >(7)));
23747 SWIG_Python_SetConstant(d
, "STC_ERR_LUA",SWIG_From_int(static_cast< int >(8)));
23748 SWIG_Python_SetConstant(d
, "STC_ERR_CTAG",SWIG_From_int(static_cast< int >(9)));
23749 SWIG_Python_SetConstant(d
, "STC_ERR_DIFF_CHANGED",SWIG_From_int(static_cast< int >(10)));
23750 SWIG_Python_SetConstant(d
, "STC_ERR_DIFF_ADDITION",SWIG_From_int(static_cast< int >(11)));
23751 SWIG_Python_SetConstant(d
, "STC_ERR_DIFF_DELETION",SWIG_From_int(static_cast< int >(12)));
23752 SWIG_Python_SetConstant(d
, "STC_ERR_DIFF_MESSAGE",SWIG_From_int(static_cast< int >(13)));
23753 SWIG_Python_SetConstant(d
, "STC_ERR_PHP",SWIG_From_int(static_cast< int >(14)));
23754 SWIG_Python_SetConstant(d
, "STC_ERR_ELF",SWIG_From_int(static_cast< int >(15)));
23755 SWIG_Python_SetConstant(d
, "STC_ERR_IFC",SWIG_From_int(static_cast< int >(16)));
23756 SWIG_Python_SetConstant(d
, "STC_ERR_IFORT",SWIG_From_int(static_cast< int >(17)));
23757 SWIG_Python_SetConstant(d
, "STC_ERR_ABSF",SWIG_From_int(static_cast< int >(18)));
23758 SWIG_Python_SetConstant(d
, "STC_ERR_TIDY",SWIG_From_int(static_cast< int >(19)));
23759 SWIG_Python_SetConstant(d
, "STC_ERR_JAVA_STACK",SWIG_From_int(static_cast< int >(20)));
23760 SWIG_Python_SetConstant(d
, "STC_BAT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23761 SWIG_Python_SetConstant(d
, "STC_BAT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23762 SWIG_Python_SetConstant(d
, "STC_BAT_WORD",SWIG_From_int(static_cast< int >(2)));
23763 SWIG_Python_SetConstant(d
, "STC_BAT_LABEL",SWIG_From_int(static_cast< int >(3)));
23764 SWIG_Python_SetConstant(d
, "STC_BAT_HIDE",SWIG_From_int(static_cast< int >(4)));
23765 SWIG_Python_SetConstant(d
, "STC_BAT_COMMAND",SWIG_From_int(static_cast< int >(5)));
23766 SWIG_Python_SetConstant(d
, "STC_BAT_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23767 SWIG_Python_SetConstant(d
, "STC_BAT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23768 SWIG_Python_SetConstant(d
, "STC_MAKE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23769 SWIG_Python_SetConstant(d
, "STC_MAKE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23770 SWIG_Python_SetConstant(d
, "STC_MAKE_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
23771 SWIG_Python_SetConstant(d
, "STC_MAKE_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23772 SWIG_Python_SetConstant(d
, "STC_MAKE_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23773 SWIG_Python_SetConstant(d
, "STC_MAKE_TARGET",SWIG_From_int(static_cast< int >(5)));
23774 SWIG_Python_SetConstant(d
, "STC_MAKE_IDEOL",SWIG_From_int(static_cast< int >(9)));
23775 SWIG_Python_SetConstant(d
, "STC_DIFF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23776 SWIG_Python_SetConstant(d
, "STC_DIFF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23777 SWIG_Python_SetConstant(d
, "STC_DIFF_COMMAND",SWIG_From_int(static_cast< int >(2)));
23778 SWIG_Python_SetConstant(d
, "STC_DIFF_HEADER",SWIG_From_int(static_cast< int >(3)));
23779 SWIG_Python_SetConstant(d
, "STC_DIFF_POSITION",SWIG_From_int(static_cast< int >(4)));
23780 SWIG_Python_SetConstant(d
, "STC_DIFF_DELETED",SWIG_From_int(static_cast< int >(5)));
23781 SWIG_Python_SetConstant(d
, "STC_DIFF_ADDED",SWIG_From_int(static_cast< int >(6)));
23782 SWIG_Python_SetConstant(d
, "STC_CONF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23783 SWIG_Python_SetConstant(d
, "STC_CONF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23784 SWIG_Python_SetConstant(d
, "STC_CONF_NUMBER",SWIG_From_int(static_cast< int >(2)));
23785 SWIG_Python_SetConstant(d
, "STC_CONF_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23786 SWIG_Python_SetConstant(d
, "STC_CONF_EXTENSION",SWIG_From_int(static_cast< int >(4)));
23787 SWIG_Python_SetConstant(d
, "STC_CONF_PARAMETER",SWIG_From_int(static_cast< int >(5)));
23788 SWIG_Python_SetConstant(d
, "STC_CONF_STRING",SWIG_From_int(static_cast< int >(6)));
23789 SWIG_Python_SetConstant(d
, "STC_CONF_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23790 SWIG_Python_SetConstant(d
, "STC_CONF_IP",SWIG_From_int(static_cast< int >(8)));
23791 SWIG_Python_SetConstant(d
, "STC_CONF_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23792 SWIG_Python_SetConstant(d
, "STC_AVE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23793 SWIG_Python_SetConstant(d
, "STC_AVE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23794 SWIG_Python_SetConstant(d
, "STC_AVE_NUMBER",SWIG_From_int(static_cast< int >(2)));
23795 SWIG_Python_SetConstant(d
, "STC_AVE_WORD",SWIG_From_int(static_cast< int >(3)));
23796 SWIG_Python_SetConstant(d
, "STC_AVE_STRING",SWIG_From_int(static_cast< int >(6)));
23797 SWIG_Python_SetConstant(d
, "STC_AVE_ENUM",SWIG_From_int(static_cast< int >(7)));
23798 SWIG_Python_SetConstant(d
, "STC_AVE_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23799 SWIG_Python_SetConstant(d
, "STC_AVE_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23800 SWIG_Python_SetConstant(d
, "STC_AVE_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23801 SWIG_Python_SetConstant(d
, "STC_AVE_WORD1",SWIG_From_int(static_cast< int >(11)));
23802 SWIG_Python_SetConstant(d
, "STC_AVE_WORD2",SWIG_From_int(static_cast< int >(12)));
23803 SWIG_Python_SetConstant(d
, "STC_AVE_WORD3",SWIG_From_int(static_cast< int >(13)));
23804 SWIG_Python_SetConstant(d
, "STC_AVE_WORD4",SWIG_From_int(static_cast< int >(14)));
23805 SWIG_Python_SetConstant(d
, "STC_AVE_WORD5",SWIG_From_int(static_cast< int >(15)));
23806 SWIG_Python_SetConstant(d
, "STC_AVE_WORD6",SWIG_From_int(static_cast< int >(16)));
23807 SWIG_Python_SetConstant(d
, "STC_ADA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23808 SWIG_Python_SetConstant(d
, "STC_ADA_WORD",SWIG_From_int(static_cast< int >(1)));
23809 SWIG_Python_SetConstant(d
, "STC_ADA_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
23810 SWIG_Python_SetConstant(d
, "STC_ADA_NUMBER",SWIG_From_int(static_cast< int >(3)));
23811 SWIG_Python_SetConstant(d
, "STC_ADA_DELIMITER",SWIG_From_int(static_cast< int >(4)));
23812 SWIG_Python_SetConstant(d
, "STC_ADA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23813 SWIG_Python_SetConstant(d
, "STC_ADA_CHARACTEREOL",SWIG_From_int(static_cast< int >(6)));
23814 SWIG_Python_SetConstant(d
, "STC_ADA_STRING",SWIG_From_int(static_cast< int >(7)));
23815 SWIG_Python_SetConstant(d
, "STC_ADA_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23816 SWIG_Python_SetConstant(d
, "STC_ADA_LABEL",SWIG_From_int(static_cast< int >(9)));
23817 SWIG_Python_SetConstant(d
, "STC_ADA_COMMENTLINE",SWIG_From_int(static_cast< int >(10)));
23818 SWIG_Python_SetConstant(d
, "STC_ADA_ILLEGAL",SWIG_From_int(static_cast< int >(11)));
23819 SWIG_Python_SetConstant(d
, "STC_BAAN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23820 SWIG_Python_SetConstant(d
, "STC_BAAN_COMMENT",SWIG_From_int(static_cast< int >(1)));
23821 SWIG_Python_SetConstant(d
, "STC_BAAN_COMMENTDOC",SWIG_From_int(static_cast< int >(2)));
23822 SWIG_Python_SetConstant(d
, "STC_BAAN_NUMBER",SWIG_From_int(static_cast< int >(3)));
23823 SWIG_Python_SetConstant(d
, "STC_BAAN_WORD",SWIG_From_int(static_cast< int >(4)));
23824 SWIG_Python_SetConstant(d
, "STC_BAAN_STRING",SWIG_From_int(static_cast< int >(5)));
23825 SWIG_Python_SetConstant(d
, "STC_BAAN_PREPROCESSOR",SWIG_From_int(static_cast< int >(6)));
23826 SWIG_Python_SetConstant(d
, "STC_BAAN_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23827 SWIG_Python_SetConstant(d
, "STC_BAAN_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23828 SWIG_Python_SetConstant(d
, "STC_BAAN_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23829 SWIG_Python_SetConstant(d
, "STC_BAAN_WORD2",SWIG_From_int(static_cast< int >(10)));
23830 SWIG_Python_SetConstant(d
, "STC_LISP_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23831 SWIG_Python_SetConstant(d
, "STC_LISP_COMMENT",SWIG_From_int(static_cast< int >(1)));
23832 SWIG_Python_SetConstant(d
, "STC_LISP_NUMBER",SWIG_From_int(static_cast< int >(2)));
23833 SWIG_Python_SetConstant(d
, "STC_LISP_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23834 SWIG_Python_SetConstant(d
, "STC_LISP_KEYWORD_KW",SWIG_From_int(static_cast< int >(4)));
23835 SWIG_Python_SetConstant(d
, "STC_LISP_SYMBOL",SWIG_From_int(static_cast< int >(5)));
23836 SWIG_Python_SetConstant(d
, "STC_LISP_STRING",SWIG_From_int(static_cast< int >(6)));
23837 SWIG_Python_SetConstant(d
, "STC_LISP_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23838 SWIG_Python_SetConstant(d
, "STC_LISP_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23839 SWIG_Python_SetConstant(d
, "STC_LISP_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23840 SWIG_Python_SetConstant(d
, "STC_LISP_SPECIAL",SWIG_From_int(static_cast< int >(11)));
23841 SWIG_Python_SetConstant(d
, "STC_LISP_MULTI_COMMENT",SWIG_From_int(static_cast< int >(12)));
23842 SWIG_Python_SetConstant(d
, "STC_EIFFEL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23843 SWIG_Python_SetConstant(d
, "STC_EIFFEL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23844 SWIG_Python_SetConstant(d
, "STC_EIFFEL_NUMBER",SWIG_From_int(static_cast< int >(2)));
23845 SWIG_Python_SetConstant(d
, "STC_EIFFEL_WORD",SWIG_From_int(static_cast< int >(3)));
23846 SWIG_Python_SetConstant(d
, "STC_EIFFEL_STRING",SWIG_From_int(static_cast< int >(4)));
23847 SWIG_Python_SetConstant(d
, "STC_EIFFEL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23848 SWIG_Python_SetConstant(d
, "STC_EIFFEL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23849 SWIG_Python_SetConstant(d
, "STC_EIFFEL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23850 SWIG_Python_SetConstant(d
, "STC_EIFFEL_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23851 SWIG_Python_SetConstant(d
, "STC_NNCRONTAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23852 SWIG_Python_SetConstant(d
, "STC_NNCRONTAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23853 SWIG_Python_SetConstant(d
, "STC_NNCRONTAB_TASK",SWIG_From_int(static_cast< int >(2)));
23854 SWIG_Python_SetConstant(d
, "STC_NNCRONTAB_SECTION",SWIG_From_int(static_cast< int >(3)));
23855 SWIG_Python_SetConstant(d
, "STC_NNCRONTAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23856 SWIG_Python_SetConstant(d
, "STC_NNCRONTAB_MODIFIER",SWIG_From_int(static_cast< int >(5)));
23857 SWIG_Python_SetConstant(d
, "STC_NNCRONTAB_ASTERISK",SWIG_From_int(static_cast< int >(6)));
23858 SWIG_Python_SetConstant(d
, "STC_NNCRONTAB_NUMBER",SWIG_From_int(static_cast< int >(7)));
23859 SWIG_Python_SetConstant(d
, "STC_NNCRONTAB_STRING",SWIG_From_int(static_cast< int >(8)));
23860 SWIG_Python_SetConstant(d
, "STC_NNCRONTAB_ENVIRONMENT",SWIG_From_int(static_cast< int >(9)));
23861 SWIG_Python_SetConstant(d
, "STC_NNCRONTAB_IDENTIFIER",SWIG_From_int(static_cast< int >(10)));
23862 SWIG_Python_SetConstant(d
, "STC_FORTH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23863 SWIG_Python_SetConstant(d
, "STC_FORTH_COMMENT",SWIG_From_int(static_cast< int >(1)));
23864 SWIG_Python_SetConstant(d
, "STC_FORTH_COMMENT_ML",SWIG_From_int(static_cast< int >(2)));
23865 SWIG_Python_SetConstant(d
, "STC_FORTH_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23866 SWIG_Python_SetConstant(d
, "STC_FORTH_CONTROL",SWIG_From_int(static_cast< int >(4)));
23867 SWIG_Python_SetConstant(d
, "STC_FORTH_KEYWORD",SWIG_From_int(static_cast< int >(5)));
23868 SWIG_Python_SetConstant(d
, "STC_FORTH_DEFWORD",SWIG_From_int(static_cast< int >(6)));
23869 SWIG_Python_SetConstant(d
, "STC_FORTH_PREWORD1",SWIG_From_int(static_cast< int >(7)));
23870 SWIG_Python_SetConstant(d
, "STC_FORTH_PREWORD2",SWIG_From_int(static_cast< int >(8)));
23871 SWIG_Python_SetConstant(d
, "STC_FORTH_NUMBER",SWIG_From_int(static_cast< int >(9)));
23872 SWIG_Python_SetConstant(d
, "STC_FORTH_STRING",SWIG_From_int(static_cast< int >(10)));
23873 SWIG_Python_SetConstant(d
, "STC_FORTH_LOCALE",SWIG_From_int(static_cast< int >(11)));
23874 SWIG_Python_SetConstant(d
, "STC_MATLAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23875 SWIG_Python_SetConstant(d
, "STC_MATLAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23876 SWIG_Python_SetConstant(d
, "STC_MATLAB_COMMAND",SWIG_From_int(static_cast< int >(2)));
23877 SWIG_Python_SetConstant(d
, "STC_MATLAB_NUMBER",SWIG_From_int(static_cast< int >(3)));
23878 SWIG_Python_SetConstant(d
, "STC_MATLAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23879 SWIG_Python_SetConstant(d
, "STC_MATLAB_STRING",SWIG_From_int(static_cast< int >(5)));
23880 SWIG_Python_SetConstant(d
, "STC_MATLAB_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23881 SWIG_Python_SetConstant(d
, "STC_MATLAB_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23882 SWIG_Python_SetConstant(d
, "STC_MATLAB_DOUBLEQUOTESTRING",SWIG_From_int(static_cast< int >(8)));
23883 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23884 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_WHITE",SWIG_From_int(static_cast< int >(1)));
23885 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23886 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_PERSISTENT",SWIG_From_int(static_cast< int >(3)));
23887 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_CSTYLE",SWIG_From_int(static_cast< int >(4)));
23888 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(5)));
23889 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_NUMBER",SWIG_From_int(static_cast< int >(6)));
23890 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_STRING",SWIG_From_int(static_cast< int >(7)));
23891 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_CHARACTER",SWIG_From_int(static_cast< int >(8)));
23892 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23893 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_KEYWORD",SWIG_From_int(static_cast< int >(10)));
23894 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_OPERATOR",SWIG_From_int(static_cast< int >(11)));
23895 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
23896 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_TRIPLE",SWIG_From_int(static_cast< int >(13)));
23897 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_CLASSNAME",SWIG_From_int(static_cast< int >(14)));
23898 SWIG_Python_SetConstant(d
, "STC_SCRIPTOL_PREPROCESSOR",SWIG_From_int(static_cast< int >(15)));
23899 SWIG_Python_SetConstant(d
, "STC_ASM_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23900 SWIG_Python_SetConstant(d
, "STC_ASM_COMMENT",SWIG_From_int(static_cast< int >(1)));
23901 SWIG_Python_SetConstant(d
, "STC_ASM_NUMBER",SWIG_From_int(static_cast< int >(2)));
23902 SWIG_Python_SetConstant(d
, "STC_ASM_STRING",SWIG_From_int(static_cast< int >(3)));
23903 SWIG_Python_SetConstant(d
, "STC_ASM_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23904 SWIG_Python_SetConstant(d
, "STC_ASM_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23905 SWIG_Python_SetConstant(d
, "STC_ASM_CPUINSTRUCTION",SWIG_From_int(static_cast< int >(6)));
23906 SWIG_Python_SetConstant(d
, "STC_ASM_MATHINSTRUCTION",SWIG_From_int(static_cast< int >(7)));
23907 SWIG_Python_SetConstant(d
, "STC_ASM_REGISTER",SWIG_From_int(static_cast< int >(8)));
23908 SWIG_Python_SetConstant(d
, "STC_ASM_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23909 SWIG_Python_SetConstant(d
, "STC_ASM_DIRECTIVEOPERAND",SWIG_From_int(static_cast< int >(10)));
23910 SWIG_Python_SetConstant(d
, "STC_ASM_COMMENTBLOCK",SWIG_From_int(static_cast< int >(11)));
23911 SWIG_Python_SetConstant(d
, "STC_ASM_CHARACTER",SWIG_From_int(static_cast< int >(12)));
23912 SWIG_Python_SetConstant(d
, "STC_ASM_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23913 SWIG_Python_SetConstant(d
, "STC_ASM_EXTINSTRUCTION",SWIG_From_int(static_cast< int >(14)));
23914 SWIG_Python_SetConstant(d
, "STC_F_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23915 SWIG_Python_SetConstant(d
, "STC_F_COMMENT",SWIG_From_int(static_cast< int >(1)));
23916 SWIG_Python_SetConstant(d
, "STC_F_NUMBER",SWIG_From_int(static_cast< int >(2)));
23917 SWIG_Python_SetConstant(d
, "STC_F_STRING1",SWIG_From_int(static_cast< int >(3)));
23918 SWIG_Python_SetConstant(d
, "STC_F_STRING2",SWIG_From_int(static_cast< int >(4)));
23919 SWIG_Python_SetConstant(d
, "STC_F_STRINGEOL",SWIG_From_int(static_cast< int >(5)));
23920 SWIG_Python_SetConstant(d
, "STC_F_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23921 SWIG_Python_SetConstant(d
, "STC_F_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23922 SWIG_Python_SetConstant(d
, "STC_F_WORD",SWIG_From_int(static_cast< int >(8)));
23923 SWIG_Python_SetConstant(d
, "STC_F_WORD2",SWIG_From_int(static_cast< int >(9)));
23924 SWIG_Python_SetConstant(d
, "STC_F_WORD3",SWIG_From_int(static_cast< int >(10)));
23925 SWIG_Python_SetConstant(d
, "STC_F_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
23926 SWIG_Python_SetConstant(d
, "STC_F_OPERATOR2",SWIG_From_int(static_cast< int >(12)));
23927 SWIG_Python_SetConstant(d
, "STC_F_LABEL",SWIG_From_int(static_cast< int >(13)));
23928 SWIG_Python_SetConstant(d
, "STC_F_CONTINUATION",SWIG_From_int(static_cast< int >(14)));
23929 SWIG_Python_SetConstant(d
, "STC_CSS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23930 SWIG_Python_SetConstant(d
, "STC_CSS_TAG",SWIG_From_int(static_cast< int >(1)));
23931 SWIG_Python_SetConstant(d
, "STC_CSS_CLASS",SWIG_From_int(static_cast< int >(2)));
23932 SWIG_Python_SetConstant(d
, "STC_CSS_PSEUDOCLASS",SWIG_From_int(static_cast< int >(3)));
23933 SWIG_Python_SetConstant(d
, "STC_CSS_UNKNOWN_PSEUDOCLASS",SWIG_From_int(static_cast< int >(4)));
23934 SWIG_Python_SetConstant(d
, "STC_CSS_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23935 SWIG_Python_SetConstant(d
, "STC_CSS_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23936 SWIG_Python_SetConstant(d
, "STC_CSS_UNKNOWN_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23937 SWIG_Python_SetConstant(d
, "STC_CSS_VALUE",SWIG_From_int(static_cast< int >(8)));
23938 SWIG_Python_SetConstant(d
, "STC_CSS_COMMENT",SWIG_From_int(static_cast< int >(9)));
23939 SWIG_Python_SetConstant(d
, "STC_CSS_ID",SWIG_From_int(static_cast< int >(10)));
23940 SWIG_Python_SetConstant(d
, "STC_CSS_IMPORTANT",SWIG_From_int(static_cast< int >(11)));
23941 SWIG_Python_SetConstant(d
, "STC_CSS_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
23942 SWIG_Python_SetConstant(d
, "STC_CSS_DOUBLESTRING",SWIG_From_int(static_cast< int >(13)));
23943 SWIG_Python_SetConstant(d
, "STC_CSS_SINGLESTRING",SWIG_From_int(static_cast< int >(14)));
23944 SWIG_Python_SetConstant(d
, "STC_CSS_IDENTIFIER2",SWIG_From_int(static_cast< int >(15)));
23945 SWIG_Python_SetConstant(d
, "STC_CSS_ATTRIBUTE",SWIG_From_int(static_cast< int >(16)));
23946 SWIG_Python_SetConstant(d
, "STC_POV_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23947 SWIG_Python_SetConstant(d
, "STC_POV_COMMENT",SWIG_From_int(static_cast< int >(1)));
23948 SWIG_Python_SetConstant(d
, "STC_POV_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23949 SWIG_Python_SetConstant(d
, "STC_POV_NUMBER",SWIG_From_int(static_cast< int >(3)));
23950 SWIG_Python_SetConstant(d
, "STC_POV_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23951 SWIG_Python_SetConstant(d
, "STC_POV_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23952 SWIG_Python_SetConstant(d
, "STC_POV_STRING",SWIG_From_int(static_cast< int >(6)));
23953 SWIG_Python_SetConstant(d
, "STC_POV_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
23954 SWIG_Python_SetConstant(d
, "STC_POV_DIRECTIVE",SWIG_From_int(static_cast< int >(8)));
23955 SWIG_Python_SetConstant(d
, "STC_POV_BADDIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23956 SWIG_Python_SetConstant(d
, "STC_POV_WORD2",SWIG_From_int(static_cast< int >(10)));
23957 SWIG_Python_SetConstant(d
, "STC_POV_WORD3",SWIG_From_int(static_cast< int >(11)));
23958 SWIG_Python_SetConstant(d
, "STC_POV_WORD4",SWIG_From_int(static_cast< int >(12)));
23959 SWIG_Python_SetConstant(d
, "STC_POV_WORD5",SWIG_From_int(static_cast< int >(13)));
23960 SWIG_Python_SetConstant(d
, "STC_POV_WORD6",SWIG_From_int(static_cast< int >(14)));
23961 SWIG_Python_SetConstant(d
, "STC_POV_WORD7",SWIG_From_int(static_cast< int >(15)));
23962 SWIG_Python_SetConstant(d
, "STC_POV_WORD8",SWIG_From_int(static_cast< int >(16)));
23963 SWIG_Python_SetConstant(d
, "STC_LOUT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23964 SWIG_Python_SetConstant(d
, "STC_LOUT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23965 SWIG_Python_SetConstant(d
, "STC_LOUT_NUMBER",SWIG_From_int(static_cast< int >(2)));
23966 SWIG_Python_SetConstant(d
, "STC_LOUT_WORD",SWIG_From_int(static_cast< int >(3)));
23967 SWIG_Python_SetConstant(d
, "STC_LOUT_WORD2",SWIG_From_int(static_cast< int >(4)));
23968 SWIG_Python_SetConstant(d
, "STC_LOUT_WORD3",SWIG_From_int(static_cast< int >(5)));
23969 SWIG_Python_SetConstant(d
, "STC_LOUT_WORD4",SWIG_From_int(static_cast< int >(6)));
23970 SWIG_Python_SetConstant(d
, "STC_LOUT_STRING",SWIG_From_int(static_cast< int >(7)));
23971 SWIG_Python_SetConstant(d
, "STC_LOUT_OPERATOR",SWIG_From_int(static_cast< int >(8)));
23972 SWIG_Python_SetConstant(d
, "STC_LOUT_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23973 SWIG_Python_SetConstant(d
, "STC_LOUT_STRINGEOL",SWIG_From_int(static_cast< int >(10)));
23974 SWIG_Python_SetConstant(d
, "STC_ESCRIPT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23975 SWIG_Python_SetConstant(d
, "STC_ESCRIPT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23976 SWIG_Python_SetConstant(d
, "STC_ESCRIPT_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23977 SWIG_Python_SetConstant(d
, "STC_ESCRIPT_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23978 SWIG_Python_SetConstant(d
, "STC_ESCRIPT_NUMBER",SWIG_From_int(static_cast< int >(4)));
23979 SWIG_Python_SetConstant(d
, "STC_ESCRIPT_WORD",SWIG_From_int(static_cast< int >(5)));
23980 SWIG_Python_SetConstant(d
, "STC_ESCRIPT_STRING",SWIG_From_int(static_cast< int >(6)));
23981 SWIG_Python_SetConstant(d
, "STC_ESCRIPT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23982 SWIG_Python_SetConstant(d
, "STC_ESCRIPT_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23983 SWIG_Python_SetConstant(d
, "STC_ESCRIPT_BRACE",SWIG_From_int(static_cast< int >(9)));
23984 SWIG_Python_SetConstant(d
, "STC_ESCRIPT_WORD2",SWIG_From_int(static_cast< int >(10)));
23985 SWIG_Python_SetConstant(d
, "STC_ESCRIPT_WORD3",SWIG_From_int(static_cast< int >(11)));
23986 SWIG_Python_SetConstant(d
, "STC_PS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23987 SWIG_Python_SetConstant(d
, "STC_PS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23988 SWIG_Python_SetConstant(d
, "STC_PS_DSC_COMMENT",SWIG_From_int(static_cast< int >(2)));
23989 SWIG_Python_SetConstant(d
, "STC_PS_DSC_VALUE",SWIG_From_int(static_cast< int >(3)));
23990 SWIG_Python_SetConstant(d
, "STC_PS_NUMBER",SWIG_From_int(static_cast< int >(4)));
23991 SWIG_Python_SetConstant(d
, "STC_PS_NAME",SWIG_From_int(static_cast< int >(5)));
23992 SWIG_Python_SetConstant(d
, "STC_PS_KEYWORD",SWIG_From_int(static_cast< int >(6)));
23993 SWIG_Python_SetConstant(d
, "STC_PS_LITERAL",SWIG_From_int(static_cast< int >(7)));
23994 SWIG_Python_SetConstant(d
, "STC_PS_IMMEVAL",SWIG_From_int(static_cast< int >(8)));
23995 SWIG_Python_SetConstant(d
, "STC_PS_PAREN_ARRAY",SWIG_From_int(static_cast< int >(9)));
23996 SWIG_Python_SetConstant(d
, "STC_PS_PAREN_DICT",SWIG_From_int(static_cast< int >(10)));
23997 SWIG_Python_SetConstant(d
, "STC_PS_PAREN_PROC",SWIG_From_int(static_cast< int >(11)));
23998 SWIG_Python_SetConstant(d
, "STC_PS_TEXT",SWIG_From_int(static_cast< int >(12)));
23999 SWIG_Python_SetConstant(d
, "STC_PS_HEXSTRING",SWIG_From_int(static_cast< int >(13)));
24000 SWIG_Python_SetConstant(d
, "STC_PS_BASE85STRING",SWIG_From_int(static_cast< int >(14)));
24001 SWIG_Python_SetConstant(d
, "STC_PS_BADSTRINGCHAR",SWIG_From_int(static_cast< int >(15)));
24002 SWIG_Python_SetConstant(d
, "STC_NSIS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24003 SWIG_Python_SetConstant(d
, "STC_NSIS_COMMENT",SWIG_From_int(static_cast< int >(1)));
24004 SWIG_Python_SetConstant(d
, "STC_NSIS_STRINGDQ",SWIG_From_int(static_cast< int >(2)));
24005 SWIG_Python_SetConstant(d
, "STC_NSIS_STRINGLQ",SWIG_From_int(static_cast< int >(3)));
24006 SWIG_Python_SetConstant(d
, "STC_NSIS_STRINGRQ",SWIG_From_int(static_cast< int >(4)));
24007 SWIG_Python_SetConstant(d
, "STC_NSIS_FUNCTION",SWIG_From_int(static_cast< int >(5)));
24008 SWIG_Python_SetConstant(d
, "STC_NSIS_VARIABLE",SWIG_From_int(static_cast< int >(6)));
24009 SWIG_Python_SetConstant(d
, "STC_NSIS_LABEL",SWIG_From_int(static_cast< int >(7)));
24010 SWIG_Python_SetConstant(d
, "STC_NSIS_USERDEFINED",SWIG_From_int(static_cast< int >(8)));
24011 SWIG_Python_SetConstant(d
, "STC_NSIS_SECTIONDEF",SWIG_From_int(static_cast< int >(9)));
24012 SWIG_Python_SetConstant(d
, "STC_NSIS_SUBSECTIONDEF",SWIG_From_int(static_cast< int >(10)));
24013 SWIG_Python_SetConstant(d
, "STC_NSIS_IFDEFINEDEF",SWIG_From_int(static_cast< int >(11)));
24014 SWIG_Python_SetConstant(d
, "STC_NSIS_MACRODEF",SWIG_From_int(static_cast< int >(12)));
24015 SWIG_Python_SetConstant(d
, "STC_NSIS_STRINGVAR",SWIG_From_int(static_cast< int >(13)));
24016 SWIG_Python_SetConstant(d
, "STC_NSIS_NUMBER",SWIG_From_int(static_cast< int >(14)));
24017 SWIG_Python_SetConstant(d
, "STC_NSIS_SECTIONGROUP",SWIG_From_int(static_cast< int >(15)));
24018 SWIG_Python_SetConstant(d
, "STC_NSIS_PAGEEX",SWIG_From_int(static_cast< int >(16)));
24019 SWIG_Python_SetConstant(d
, "STC_NSIS_FUNCTIONDEF",SWIG_From_int(static_cast< int >(17)));
24020 SWIG_Python_SetConstant(d
, "STC_NSIS_COMMENTBOX",SWIG_From_int(static_cast< int >(18)));
24021 SWIG_Python_SetConstant(d
, "STC_MMIXAL_LEADWS",SWIG_From_int(static_cast< int >(0)));
24022 SWIG_Python_SetConstant(d
, "STC_MMIXAL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24023 SWIG_Python_SetConstant(d
, "STC_MMIXAL_LABEL",SWIG_From_int(static_cast< int >(2)));
24024 SWIG_Python_SetConstant(d
, "STC_MMIXAL_OPCODE",SWIG_From_int(static_cast< int >(3)));
24025 SWIG_Python_SetConstant(d
, "STC_MMIXAL_OPCODE_PRE",SWIG_From_int(static_cast< int >(4)));
24026 SWIG_Python_SetConstant(d
, "STC_MMIXAL_OPCODE_VALID",SWIG_From_int(static_cast< int >(5)));
24027 SWIG_Python_SetConstant(d
, "STC_MMIXAL_OPCODE_UNKNOWN",SWIG_From_int(static_cast< int >(6)));
24028 SWIG_Python_SetConstant(d
, "STC_MMIXAL_OPCODE_POST",SWIG_From_int(static_cast< int >(7)));
24029 SWIG_Python_SetConstant(d
, "STC_MMIXAL_OPERANDS",SWIG_From_int(static_cast< int >(8)));
24030 SWIG_Python_SetConstant(d
, "STC_MMIXAL_NUMBER",SWIG_From_int(static_cast< int >(9)));
24031 SWIG_Python_SetConstant(d
, "STC_MMIXAL_REF",SWIG_From_int(static_cast< int >(10)));
24032 SWIG_Python_SetConstant(d
, "STC_MMIXAL_CHAR",SWIG_From_int(static_cast< int >(11)));
24033 SWIG_Python_SetConstant(d
, "STC_MMIXAL_STRING",SWIG_From_int(static_cast< int >(12)));
24034 SWIG_Python_SetConstant(d
, "STC_MMIXAL_REGISTER",SWIG_From_int(static_cast< int >(13)));
24035 SWIG_Python_SetConstant(d
, "STC_MMIXAL_HEX",SWIG_From_int(static_cast< int >(14)));
24036 SWIG_Python_SetConstant(d
, "STC_MMIXAL_OPERATOR",SWIG_From_int(static_cast< int >(15)));
24037 SWIG_Python_SetConstant(d
, "STC_MMIXAL_SYMBOL",SWIG_From_int(static_cast< int >(16)));
24038 SWIG_Python_SetConstant(d
, "STC_MMIXAL_INCLUDE",SWIG_From_int(static_cast< int >(17)));
24039 SWIG_Python_SetConstant(d
, "STC_CLW_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24040 SWIG_Python_SetConstant(d
, "STC_CLW_LABEL",SWIG_From_int(static_cast< int >(1)));
24041 SWIG_Python_SetConstant(d
, "STC_CLW_COMMENT",SWIG_From_int(static_cast< int >(2)));
24042 SWIG_Python_SetConstant(d
, "STC_CLW_STRING",SWIG_From_int(static_cast< int >(3)));
24043 SWIG_Python_SetConstant(d
, "STC_CLW_USER_IDENTIFIER",SWIG_From_int(static_cast< int >(4)));
24044 SWIG_Python_SetConstant(d
, "STC_CLW_INTEGER_CONSTANT",SWIG_From_int(static_cast< int >(5)));
24045 SWIG_Python_SetConstant(d
, "STC_CLW_REAL_CONSTANT",SWIG_From_int(static_cast< int >(6)));
24046 SWIG_Python_SetConstant(d
, "STC_CLW_PICTURE_STRING",SWIG_From_int(static_cast< int >(7)));
24047 SWIG_Python_SetConstant(d
, "STC_CLW_KEYWORD",SWIG_From_int(static_cast< int >(8)));
24048 SWIG_Python_SetConstant(d
, "STC_CLW_COMPILER_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
24049 SWIG_Python_SetConstant(d
, "STC_CLW_RUNTIME_EXPRESSIONS",SWIG_From_int(static_cast< int >(10)));
24050 SWIG_Python_SetConstant(d
, "STC_CLW_BUILTIN_PROCEDURES_FUNCTION",SWIG_From_int(static_cast< int >(11)));
24051 SWIG_Python_SetConstant(d
, "STC_CLW_STRUCTURE_DATA_TYPE",SWIG_From_int(static_cast< int >(12)));
24052 SWIG_Python_SetConstant(d
, "STC_CLW_ATTRIBUTE",SWIG_From_int(static_cast< int >(13)));
24053 SWIG_Python_SetConstant(d
, "STC_CLW_STANDARD_EQUATE",SWIG_From_int(static_cast< int >(14)));
24054 SWIG_Python_SetConstant(d
, "STC_CLW_ERROR",SWIG_From_int(static_cast< int >(15)));
24055 SWIG_Python_SetConstant(d
, "STC_CLW_DEPRECATED",SWIG_From_int(static_cast< int >(16)));
24056 SWIG_Python_SetConstant(d
, "STC_LOT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24057 SWIG_Python_SetConstant(d
, "STC_LOT_HEADER",SWIG_From_int(static_cast< int >(1)));
24058 SWIG_Python_SetConstant(d
, "STC_LOT_BREAK",SWIG_From_int(static_cast< int >(2)));
24059 SWIG_Python_SetConstant(d
, "STC_LOT_SET",SWIG_From_int(static_cast< int >(3)));
24060 SWIG_Python_SetConstant(d
, "STC_LOT_PASS",SWIG_From_int(static_cast< int >(4)));
24061 SWIG_Python_SetConstant(d
, "STC_LOT_FAIL",SWIG_From_int(static_cast< int >(5)));
24062 SWIG_Python_SetConstant(d
, "STC_LOT_ABORT",SWIG_From_int(static_cast< int >(6)));
24063 SWIG_Python_SetConstant(d
, "STC_YAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24064 SWIG_Python_SetConstant(d
, "STC_YAML_COMMENT",SWIG_From_int(static_cast< int >(1)));
24065 SWIG_Python_SetConstant(d
, "STC_YAML_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
24066 SWIG_Python_SetConstant(d
, "STC_YAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
24067 SWIG_Python_SetConstant(d
, "STC_YAML_NUMBER",SWIG_From_int(static_cast< int >(4)));
24068 SWIG_Python_SetConstant(d
, "STC_YAML_REFERENCE",SWIG_From_int(static_cast< int >(5)));
24069 SWIG_Python_SetConstant(d
, "STC_YAML_DOCUMENT",SWIG_From_int(static_cast< int >(6)));
24070 SWIG_Python_SetConstant(d
, "STC_YAML_TEXT",SWIG_From_int(static_cast< int >(7)));
24071 SWIG_Python_SetConstant(d
, "STC_YAML_ERROR",SWIG_From_int(static_cast< int >(8)));
24072 SWIG_Python_SetConstant(d
, "STC_TEX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24073 SWIG_Python_SetConstant(d
, "STC_TEX_SPECIAL",SWIG_From_int(static_cast< int >(1)));
24074 SWIG_Python_SetConstant(d
, "STC_TEX_GROUP",SWIG_From_int(static_cast< int >(2)));
24075 SWIG_Python_SetConstant(d
, "STC_TEX_SYMBOL",SWIG_From_int(static_cast< int >(3)));
24076 SWIG_Python_SetConstant(d
, "STC_TEX_COMMAND",SWIG_From_int(static_cast< int >(4)));
24077 SWIG_Python_SetConstant(d
, "STC_TEX_TEXT",SWIG_From_int(static_cast< int >(5)));
24078 SWIG_Python_SetConstant(d
, "STC_METAPOST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24079 SWIG_Python_SetConstant(d
, "STC_METAPOST_SPECIAL",SWIG_From_int(static_cast< int >(1)));
24080 SWIG_Python_SetConstant(d
, "STC_METAPOST_GROUP",SWIG_From_int(static_cast< int >(2)));
24081 SWIG_Python_SetConstant(d
, "STC_METAPOST_SYMBOL",SWIG_From_int(static_cast< int >(3)));
24082 SWIG_Python_SetConstant(d
, "STC_METAPOST_COMMAND",SWIG_From_int(static_cast< int >(4)));
24083 SWIG_Python_SetConstant(d
, "STC_METAPOST_TEXT",SWIG_From_int(static_cast< int >(5)));
24084 SWIG_Python_SetConstant(d
, "STC_METAPOST_EXTRA",SWIG_From_int(static_cast< int >(6)));
24085 SWIG_Python_SetConstant(d
, "STC_ERLANG_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24086 SWIG_Python_SetConstant(d
, "STC_ERLANG_COMMENT",SWIG_From_int(static_cast< int >(1)));
24087 SWIG_Python_SetConstant(d
, "STC_ERLANG_VARIABLE",SWIG_From_int(static_cast< int >(2)));
24088 SWIG_Python_SetConstant(d
, "STC_ERLANG_NUMBER",SWIG_From_int(static_cast< int >(3)));
24089 SWIG_Python_SetConstant(d
, "STC_ERLANG_KEYWORD",SWIG_From_int(static_cast< int >(4)));
24090 SWIG_Python_SetConstant(d
, "STC_ERLANG_STRING",SWIG_From_int(static_cast< int >(5)));
24091 SWIG_Python_SetConstant(d
, "STC_ERLANG_OPERATOR",SWIG_From_int(static_cast< int >(6)));
24092 SWIG_Python_SetConstant(d
, "STC_ERLANG_ATOM",SWIG_From_int(static_cast< int >(7)));
24093 SWIG_Python_SetConstant(d
, "STC_ERLANG_FUNCTION_NAME",SWIG_From_int(static_cast< int >(8)));
24094 SWIG_Python_SetConstant(d
, "STC_ERLANG_CHARACTER",SWIG_From_int(static_cast< int >(9)));
24095 SWIG_Python_SetConstant(d
, "STC_ERLANG_MACRO",SWIG_From_int(static_cast< int >(10)));
24096 SWIG_Python_SetConstant(d
, "STC_ERLANG_RECORD",SWIG_From_int(static_cast< int >(11)));
24097 SWIG_Python_SetConstant(d
, "STC_ERLANG_SEPARATOR",SWIG_From_int(static_cast< int >(12)));
24098 SWIG_Python_SetConstant(d
, "STC_ERLANG_NODE_NAME",SWIG_From_int(static_cast< int >(13)));
24099 SWIG_Python_SetConstant(d
, "STC_ERLANG_UNKNOWN",SWIG_From_int(static_cast< int >(31)));
24100 SWIG_Python_SetConstant(d
, "STC_MSSQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24101 SWIG_Python_SetConstant(d
, "STC_MSSQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24102 SWIG_Python_SetConstant(d
, "STC_MSSQL_LINE_COMMENT",SWIG_From_int(static_cast< int >(2)));
24103 SWIG_Python_SetConstant(d
, "STC_MSSQL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24104 SWIG_Python_SetConstant(d
, "STC_MSSQL_STRING",SWIG_From_int(static_cast< int >(4)));
24105 SWIG_Python_SetConstant(d
, "STC_MSSQL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24106 SWIG_Python_SetConstant(d
, "STC_MSSQL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
24107 SWIG_Python_SetConstant(d
, "STC_MSSQL_VARIABLE",SWIG_From_int(static_cast< int >(7)));
24108 SWIG_Python_SetConstant(d
, "STC_MSSQL_COLUMN_NAME",SWIG_From_int(static_cast< int >(8)));
24109 SWIG_Python_SetConstant(d
, "STC_MSSQL_STATEMENT",SWIG_From_int(static_cast< int >(9)));
24110 SWIG_Python_SetConstant(d
, "STC_MSSQL_DATATYPE",SWIG_From_int(static_cast< int >(10)));
24111 SWIG_Python_SetConstant(d
, "STC_MSSQL_SYSTABLE",SWIG_From_int(static_cast< int >(11)));
24112 SWIG_Python_SetConstant(d
, "STC_MSSQL_GLOBAL_VARIABLE",SWIG_From_int(static_cast< int >(12)));
24113 SWIG_Python_SetConstant(d
, "STC_MSSQL_FUNCTION",SWIG_From_int(static_cast< int >(13)));
24114 SWIG_Python_SetConstant(d
, "STC_MSSQL_STORED_PROCEDURE",SWIG_From_int(static_cast< int >(14)));
24115 SWIG_Python_SetConstant(d
, "STC_MSSQL_DEFAULT_PREF_DATATYPE",SWIG_From_int(static_cast< int >(15)));
24116 SWIG_Python_SetConstant(d
, "STC_MSSQL_COLUMN_NAME_2",SWIG_From_int(static_cast< int >(16)));
24117 SWIG_Python_SetConstant(d
, "STC_V_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24118 SWIG_Python_SetConstant(d
, "STC_V_COMMENT",SWIG_From_int(static_cast< int >(1)));
24119 SWIG_Python_SetConstant(d
, "STC_V_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24120 SWIG_Python_SetConstant(d
, "STC_V_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
24121 SWIG_Python_SetConstant(d
, "STC_V_NUMBER",SWIG_From_int(static_cast< int >(4)));
24122 SWIG_Python_SetConstant(d
, "STC_V_WORD",SWIG_From_int(static_cast< int >(5)));
24123 SWIG_Python_SetConstant(d
, "STC_V_STRING",SWIG_From_int(static_cast< int >(6)));
24124 SWIG_Python_SetConstant(d
, "STC_V_WORD2",SWIG_From_int(static_cast< int >(7)));
24125 SWIG_Python_SetConstant(d
, "STC_V_WORD3",SWIG_From_int(static_cast< int >(8)));
24126 SWIG_Python_SetConstant(d
, "STC_V_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
24127 SWIG_Python_SetConstant(d
, "STC_V_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24128 SWIG_Python_SetConstant(d
, "STC_V_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24129 SWIG_Python_SetConstant(d
, "STC_V_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
24130 SWIG_Python_SetConstant(d
, "STC_V_USER",SWIG_From_int(static_cast< int >(19)));
24131 SWIG_Python_SetConstant(d
, "STC_KIX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24132 SWIG_Python_SetConstant(d
, "STC_KIX_COMMENT",SWIG_From_int(static_cast< int >(1)));
24133 SWIG_Python_SetConstant(d
, "STC_KIX_STRING1",SWIG_From_int(static_cast< int >(2)));
24134 SWIG_Python_SetConstant(d
, "STC_KIX_STRING2",SWIG_From_int(static_cast< int >(3)));
24135 SWIG_Python_SetConstant(d
, "STC_KIX_NUMBER",SWIG_From_int(static_cast< int >(4)));
24136 SWIG_Python_SetConstant(d
, "STC_KIX_VAR",SWIG_From_int(static_cast< int >(5)));
24137 SWIG_Python_SetConstant(d
, "STC_KIX_MACRO",SWIG_From_int(static_cast< int >(6)));
24138 SWIG_Python_SetConstant(d
, "STC_KIX_KEYWORD",SWIG_From_int(static_cast< int >(7)));
24139 SWIG_Python_SetConstant(d
, "STC_KIX_FUNCTIONS",SWIG_From_int(static_cast< int >(8)));
24140 SWIG_Python_SetConstant(d
, "STC_KIX_OPERATOR",SWIG_From_int(static_cast< int >(9)));
24141 SWIG_Python_SetConstant(d
, "STC_KIX_IDENTIFIER",SWIG_From_int(static_cast< int >(31)));
24142 SWIG_Python_SetConstant(d
, "STC_GC_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24143 SWIG_Python_SetConstant(d
, "STC_GC_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
24144 SWIG_Python_SetConstant(d
, "STC_GC_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24145 SWIG_Python_SetConstant(d
, "STC_GC_GLOBAL",SWIG_From_int(static_cast< int >(3)));
24146 SWIG_Python_SetConstant(d
, "STC_GC_EVENT",SWIG_From_int(static_cast< int >(4)));
24147 SWIG_Python_SetConstant(d
, "STC_GC_ATTRIBUTE",SWIG_From_int(static_cast< int >(5)));
24148 SWIG_Python_SetConstant(d
, "STC_GC_CONTROL",SWIG_From_int(static_cast< int >(6)));
24149 SWIG_Python_SetConstant(d
, "STC_GC_COMMAND",SWIG_From_int(static_cast< int >(7)));
24150 SWIG_Python_SetConstant(d
, "STC_GC_STRING",SWIG_From_int(static_cast< int >(8)));
24151 SWIG_Python_SetConstant(d
, "STC_GC_OPERATOR",SWIG_From_int(static_cast< int >(9)));
24152 SWIG_Python_SetConstant(d
, "STC_SN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24153 SWIG_Python_SetConstant(d
, "STC_SN_CODE",SWIG_From_int(static_cast< int >(1)));
24154 SWIG_Python_SetConstant(d
, "STC_SN_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24155 SWIG_Python_SetConstant(d
, "STC_SN_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
24156 SWIG_Python_SetConstant(d
, "STC_SN_NUMBER",SWIG_From_int(static_cast< int >(4)));
24157 SWIG_Python_SetConstant(d
, "STC_SN_WORD",SWIG_From_int(static_cast< int >(5)));
24158 SWIG_Python_SetConstant(d
, "STC_SN_STRING",SWIG_From_int(static_cast< int >(6)));
24159 SWIG_Python_SetConstant(d
, "STC_SN_WORD2",SWIG_From_int(static_cast< int >(7)));
24160 SWIG_Python_SetConstant(d
, "STC_SN_WORD3",SWIG_From_int(static_cast< int >(8)));
24161 SWIG_Python_SetConstant(d
, "STC_SN_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
24162 SWIG_Python_SetConstant(d
, "STC_SN_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24163 SWIG_Python_SetConstant(d
, "STC_SN_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24164 SWIG_Python_SetConstant(d
, "STC_SN_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
24165 SWIG_Python_SetConstant(d
, "STC_SN_REGEXTAG",SWIG_From_int(static_cast< int >(13)));
24166 SWIG_Python_SetConstant(d
, "STC_SN_SIGNAL",SWIG_From_int(static_cast< int >(14)));
24167 SWIG_Python_SetConstant(d
, "STC_SN_USER",SWIG_From_int(static_cast< int >(19)));
24168 SWIG_Python_SetConstant(d
, "STC_AU3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24169 SWIG_Python_SetConstant(d
, "STC_AU3_COMMENT",SWIG_From_int(static_cast< int >(1)));
24170 SWIG_Python_SetConstant(d
, "STC_AU3_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24171 SWIG_Python_SetConstant(d
, "STC_AU3_NUMBER",SWIG_From_int(static_cast< int >(3)));
24172 SWIG_Python_SetConstant(d
, "STC_AU3_FUNCTION",SWIG_From_int(static_cast< int >(4)));
24173 SWIG_Python_SetConstant(d
, "STC_AU3_KEYWORD",SWIG_From_int(static_cast< int >(5)));
24174 SWIG_Python_SetConstant(d
, "STC_AU3_MACRO",SWIG_From_int(static_cast< int >(6)));
24175 SWIG_Python_SetConstant(d
, "STC_AU3_STRING",SWIG_From_int(static_cast< int >(7)));
24176 SWIG_Python_SetConstant(d
, "STC_AU3_OPERATOR",SWIG_From_int(static_cast< int >(8)));
24177 SWIG_Python_SetConstant(d
, "STC_AU3_VARIABLE",SWIG_From_int(static_cast< int >(9)));
24178 SWIG_Python_SetConstant(d
, "STC_AU3_SENT",SWIG_From_int(static_cast< int >(10)));
24179 SWIG_Python_SetConstant(d
, "STC_AU3_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
24180 SWIG_Python_SetConstant(d
, "STC_AU3_SPECIAL",SWIG_From_int(static_cast< int >(12)));
24181 SWIG_Python_SetConstant(d
, "STC_AU3_EXPAND",SWIG_From_int(static_cast< int >(13)));
24182 SWIG_Python_SetConstant(d
, "STC_AU3_COMOBJ",SWIG_From_int(static_cast< int >(14)));
24183 SWIG_Python_SetConstant(d
, "STC_AU3_UDF",SWIG_From_int(static_cast< int >(15)));
24184 SWIG_Python_SetConstant(d
, "STC_APDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24185 SWIG_Python_SetConstant(d
, "STC_APDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24186 SWIG_Python_SetConstant(d
, "STC_APDL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24187 SWIG_Python_SetConstant(d
, "STC_APDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24188 SWIG_Python_SetConstant(d
, "STC_APDL_STRING",SWIG_From_int(static_cast< int >(4)));
24189 SWIG_Python_SetConstant(d
, "STC_APDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24190 SWIG_Python_SetConstant(d
, "STC_APDL_WORD",SWIG_From_int(static_cast< int >(6)));
24191 SWIG_Python_SetConstant(d
, "STC_APDL_PROCESSOR",SWIG_From_int(static_cast< int >(7)));
24192 SWIG_Python_SetConstant(d
, "STC_APDL_COMMAND",SWIG_From_int(static_cast< int >(8)));
24193 SWIG_Python_SetConstant(d
, "STC_APDL_SLASHCOMMAND",SWIG_From_int(static_cast< int >(9)));
24194 SWIG_Python_SetConstant(d
, "STC_APDL_STARCOMMAND",SWIG_From_int(static_cast< int >(10)));
24195 SWIG_Python_SetConstant(d
, "STC_APDL_ARGUMENT",SWIG_From_int(static_cast< int >(11)));
24196 SWIG_Python_SetConstant(d
, "STC_APDL_FUNCTION",SWIG_From_int(static_cast< int >(12)));
24197 SWIG_Python_SetConstant(d
, "STC_SH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24198 SWIG_Python_SetConstant(d
, "STC_SH_ERROR",SWIG_From_int(static_cast< int >(1)));
24199 SWIG_Python_SetConstant(d
, "STC_SH_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24200 SWIG_Python_SetConstant(d
, "STC_SH_NUMBER",SWIG_From_int(static_cast< int >(3)));
24201 SWIG_Python_SetConstant(d
, "STC_SH_WORD",SWIG_From_int(static_cast< int >(4)));
24202 SWIG_Python_SetConstant(d
, "STC_SH_STRING",SWIG_From_int(static_cast< int >(5)));
24203 SWIG_Python_SetConstant(d
, "STC_SH_CHARACTER",SWIG_From_int(static_cast< int >(6)));
24204 SWIG_Python_SetConstant(d
, "STC_SH_OPERATOR",SWIG_From_int(static_cast< int >(7)));
24205 SWIG_Python_SetConstant(d
, "STC_SH_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
24206 SWIG_Python_SetConstant(d
, "STC_SH_SCALAR",SWIG_From_int(static_cast< int >(9)));
24207 SWIG_Python_SetConstant(d
, "STC_SH_PARAM",SWIG_From_int(static_cast< int >(10)));
24208 SWIG_Python_SetConstant(d
, "STC_SH_BACKTICKS",SWIG_From_int(static_cast< int >(11)));
24209 SWIG_Python_SetConstant(d
, "STC_SH_HERE_DELIM",SWIG_From_int(static_cast< int >(12)));
24210 SWIG_Python_SetConstant(d
, "STC_SH_HERE_Q",SWIG_From_int(static_cast< int >(13)));
24211 SWIG_Python_SetConstant(d
, "STC_ASN1_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24212 SWIG_Python_SetConstant(d
, "STC_ASN1_COMMENT",SWIG_From_int(static_cast< int >(1)));
24213 SWIG_Python_SetConstant(d
, "STC_ASN1_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
24214 SWIG_Python_SetConstant(d
, "STC_ASN1_STRING",SWIG_From_int(static_cast< int >(3)));
24215 SWIG_Python_SetConstant(d
, "STC_ASN1_OID",SWIG_From_int(static_cast< int >(4)));
24216 SWIG_Python_SetConstant(d
, "STC_ASN1_SCALAR",SWIG_From_int(static_cast< int >(5)));
24217 SWIG_Python_SetConstant(d
, "STC_ASN1_KEYWORD",SWIG_From_int(static_cast< int >(6)));
24218 SWIG_Python_SetConstant(d
, "STC_ASN1_ATTRIBUTE",SWIG_From_int(static_cast< int >(7)));
24219 SWIG_Python_SetConstant(d
, "STC_ASN1_DESCRIPTOR",SWIG_From_int(static_cast< int >(8)));
24220 SWIG_Python_SetConstant(d
, "STC_ASN1_TYPE",SWIG_From_int(static_cast< int >(9)));
24221 SWIG_Python_SetConstant(d
, "STC_ASN1_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24222 SWIG_Python_SetConstant(d
, "STC_VHDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24223 SWIG_Python_SetConstant(d
, "STC_VHDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24224 SWIG_Python_SetConstant(d
, "STC_VHDL_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(2)));
24225 SWIG_Python_SetConstant(d
, "STC_VHDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24226 SWIG_Python_SetConstant(d
, "STC_VHDL_STRING",SWIG_From_int(static_cast< int >(4)));
24227 SWIG_Python_SetConstant(d
, "STC_VHDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24228 SWIG_Python_SetConstant(d
, "STC_VHDL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
24229 SWIG_Python_SetConstant(d
, "STC_VHDL_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
24230 SWIG_Python_SetConstant(d
, "STC_VHDL_KEYWORD",SWIG_From_int(static_cast< int >(8)));
24231 SWIG_Python_SetConstant(d
, "STC_VHDL_STDOPERATOR",SWIG_From_int(static_cast< int >(9)));
24232 SWIG_Python_SetConstant(d
, "STC_VHDL_ATTRIBUTE",SWIG_From_int(static_cast< int >(10)));
24233 SWIG_Python_SetConstant(d
, "STC_VHDL_STDFUNCTION",SWIG_From_int(static_cast< int >(11)));
24234 SWIG_Python_SetConstant(d
, "STC_VHDL_STDPACKAGE",SWIG_From_int(static_cast< int >(12)));
24235 SWIG_Python_SetConstant(d
, "STC_VHDL_STDTYPE",SWIG_From_int(static_cast< int >(13)));
24236 SWIG_Python_SetConstant(d
, "STC_VHDL_USERWORD",SWIG_From_int(static_cast< int >(14)));
24237 SWIG_Python_SetConstant(d
, "STC_CAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24238 SWIG_Python_SetConstant(d
, "STC_CAML_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24239 SWIG_Python_SetConstant(d
, "STC_CAML_TAGNAME",SWIG_From_int(static_cast< int >(2)));
24240 SWIG_Python_SetConstant(d
, "STC_CAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
24241 SWIG_Python_SetConstant(d
, "STC_CAML_KEYWORD2",SWIG_From_int(static_cast< int >(4)));
24242 SWIG_Python_SetConstant(d
, "STC_CAML_KEYWORD3",SWIG_From_int(static_cast< int >(5)));
24243 SWIG_Python_SetConstant(d
, "STC_CAML_LINENUM",SWIG_From_int(static_cast< int >(6)));
24244 SWIG_Python_SetConstant(d
, "STC_CAML_OPERATOR",SWIG_From_int(static_cast< int >(7)));
24245 SWIG_Python_SetConstant(d
, "STC_CAML_NUMBER",SWIG_From_int(static_cast< int >(8)));
24246 SWIG_Python_SetConstant(d
, "STC_CAML_CHAR",SWIG_From_int(static_cast< int >(9)));
24247 SWIG_Python_SetConstant(d
, "STC_CAML_STRING",SWIG_From_int(static_cast< int >(11)));
24248 SWIG_Python_SetConstant(d
, "STC_CAML_COMMENT",SWIG_From_int(static_cast< int >(12)));
24249 SWIG_Python_SetConstant(d
, "STC_CAML_COMMENT1",SWIG_From_int(static_cast< int >(13)));
24250 SWIG_Python_SetConstant(d
, "STC_CAML_COMMENT2",SWIG_From_int(static_cast< int >(14)));
24251 SWIG_Python_SetConstant(d
, "STC_CAML_COMMENT3",SWIG_From_int(static_cast< int >(15)));
24252 SWIG_Python_SetConstant(d
, "STC_HA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24253 SWIG_Python_SetConstant(d
, "STC_HA_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24254 SWIG_Python_SetConstant(d
, "STC_HA_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24255 SWIG_Python_SetConstant(d
, "STC_HA_NUMBER",SWIG_From_int(static_cast< int >(3)));
24256 SWIG_Python_SetConstant(d
, "STC_HA_STRING",SWIG_From_int(static_cast< int >(4)));
24257 SWIG_Python_SetConstant(d
, "STC_HA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
24258 SWIG_Python_SetConstant(d
, "STC_HA_CLASS",SWIG_From_int(static_cast< int >(6)));
24259 SWIG_Python_SetConstant(d
, "STC_HA_MODULE",SWIG_From_int(static_cast< int >(7)));
24260 SWIG_Python_SetConstant(d
, "STC_HA_CAPITAL",SWIG_From_int(static_cast< int >(8)));
24261 SWIG_Python_SetConstant(d
, "STC_HA_DATA",SWIG_From_int(static_cast< int >(9)));
24262 SWIG_Python_SetConstant(d
, "STC_HA_IMPORT",SWIG_From_int(static_cast< int >(10)));
24263 SWIG_Python_SetConstant(d
, "STC_HA_OPERATOR",SWIG_From_int(static_cast< int >(11)));
24264 SWIG_Python_SetConstant(d
, "STC_HA_INSTANCE",SWIG_From_int(static_cast< int >(12)));
24265 SWIG_Python_SetConstant(d
, "STC_HA_COMMENTLINE",SWIG_From_int(static_cast< int >(13)));
24266 SWIG_Python_SetConstant(d
, "STC_HA_COMMENTBLOCK",SWIG_From_int(static_cast< int >(14)));
24267 SWIG_Python_SetConstant(d
, "STC_HA_COMMENTBLOCK2",SWIG_From_int(static_cast< int >(15)));
24268 SWIG_Python_SetConstant(d
, "STC_HA_COMMENTBLOCK3",SWIG_From_int(static_cast< int >(16)));
24269 SWIG_Python_SetConstant(d
, "STC_T3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24270 SWIG_Python_SetConstant(d
, "STC_T3_X_DEFAULT",SWIG_From_int(static_cast< int >(1)));
24271 SWIG_Python_SetConstant(d
, "STC_T3_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
24272 SWIG_Python_SetConstant(d
, "STC_T3_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(3)));
24273 SWIG_Python_SetConstant(d
, "STC_T3_LINE_COMMENT",SWIG_From_int(static_cast< int >(4)));
24274 SWIG_Python_SetConstant(d
, "STC_T3_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24275 SWIG_Python_SetConstant(d
, "STC_T3_KEYWORD",SWIG_From_int(static_cast< int >(6)));
24276 SWIG_Python_SetConstant(d
, "STC_T3_NUMBER",SWIG_From_int(static_cast< int >(7)));
24277 SWIG_Python_SetConstant(d
, "STC_T3_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
24278 SWIG_Python_SetConstant(d
, "STC_T3_S_STRING",SWIG_From_int(static_cast< int >(9)));
24279 SWIG_Python_SetConstant(d
, "STC_T3_D_STRING",SWIG_From_int(static_cast< int >(10)));
24280 SWIG_Python_SetConstant(d
, "STC_T3_X_STRING",SWIG_From_int(static_cast< int >(11)));
24281 SWIG_Python_SetConstant(d
, "STC_T3_LIB_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
24282 SWIG_Python_SetConstant(d
, "STC_T3_MSG_PARAM",SWIG_From_int(static_cast< int >(13)));
24283 SWIG_Python_SetConstant(d
, "STC_T3_HTML_TAG",SWIG_From_int(static_cast< int >(14)));
24284 SWIG_Python_SetConstant(d
, "STC_T3_HTML_DEFAULT",SWIG_From_int(static_cast< int >(15)));
24285 SWIG_Python_SetConstant(d
, "STC_T3_HTML_STRING",SWIG_From_int(static_cast< int >(16)));
24286 SWIG_Python_SetConstant(d
, "STC_T3_USER1",SWIG_From_int(static_cast< int >(17)));
24287 SWIG_Python_SetConstant(d
, "STC_T3_USER2",SWIG_From_int(static_cast< int >(18)));
24288 SWIG_Python_SetConstant(d
, "STC_T3_USER3",SWIG_From_int(static_cast< int >(19)));
24289 SWIG_Python_SetConstant(d
, "STC_REBOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24290 SWIG_Python_SetConstant(d
, "STC_REBOL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
24291 SWIG_Python_SetConstant(d
, "STC_REBOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24292 SWIG_Python_SetConstant(d
, "STC_REBOL_PREFACE",SWIG_From_int(static_cast< int >(3)));
24293 SWIG_Python_SetConstant(d
, "STC_REBOL_OPERATOR",SWIG_From_int(static_cast< int >(4)));
24294 SWIG_Python_SetConstant(d
, "STC_REBOL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
24295 SWIG_Python_SetConstant(d
, "STC_REBOL_QUOTEDSTRING",SWIG_From_int(static_cast< int >(6)));
24296 SWIG_Python_SetConstant(d
, "STC_REBOL_BRACEDSTRING",SWIG_From_int(static_cast< int >(7)));
24297 SWIG_Python_SetConstant(d
, "STC_REBOL_NUMBER",SWIG_From_int(static_cast< int >(8)));
24298 SWIG_Python_SetConstant(d
, "STC_REBOL_PAIR",SWIG_From_int(static_cast< int >(9)));
24299 SWIG_Python_SetConstant(d
, "STC_REBOL_TUPLE",SWIG_From_int(static_cast< int >(10)));
24300 SWIG_Python_SetConstant(d
, "STC_REBOL_BINARY",SWIG_From_int(static_cast< int >(11)));
24301 SWIG_Python_SetConstant(d
, "STC_REBOL_MONEY",SWIG_From_int(static_cast< int >(12)));
24302 SWIG_Python_SetConstant(d
, "STC_REBOL_ISSUE",SWIG_From_int(static_cast< int >(13)));
24303 SWIG_Python_SetConstant(d
, "STC_REBOL_TAG",SWIG_From_int(static_cast< int >(14)));
24304 SWIG_Python_SetConstant(d
, "STC_REBOL_FILE",SWIG_From_int(static_cast< int >(15)));
24305 SWIG_Python_SetConstant(d
, "STC_REBOL_EMAIL",SWIG_From_int(static_cast< int >(16)));
24306 SWIG_Python_SetConstant(d
, "STC_REBOL_URL",SWIG_From_int(static_cast< int >(17)));
24307 SWIG_Python_SetConstant(d
, "STC_REBOL_DATE",SWIG_From_int(static_cast< int >(18)));
24308 SWIG_Python_SetConstant(d
, "STC_REBOL_TIME",SWIG_From_int(static_cast< int >(19)));
24309 SWIG_Python_SetConstant(d
, "STC_REBOL_IDENTIFIER",SWIG_From_int(static_cast< int >(20)));
24310 SWIG_Python_SetConstant(d
, "STC_REBOL_WORD",SWIG_From_int(static_cast< int >(21)));
24311 SWIG_Python_SetConstant(d
, "STC_REBOL_WORD2",SWIG_From_int(static_cast< int >(22)));
24312 SWIG_Python_SetConstant(d
, "STC_REBOL_WORD3",SWIG_From_int(static_cast< int >(23)));
24313 SWIG_Python_SetConstant(d
, "STC_REBOL_WORD4",SWIG_From_int(static_cast< int >(24)));
24314 SWIG_Python_SetConstant(d
, "STC_REBOL_WORD5",SWIG_From_int(static_cast< int >(25)));
24315 SWIG_Python_SetConstant(d
, "STC_REBOL_WORD6",SWIG_From_int(static_cast< int >(26)));
24316 SWIG_Python_SetConstant(d
, "STC_REBOL_WORD7",SWIG_From_int(static_cast< int >(27)));
24317 SWIG_Python_SetConstant(d
, "STC_REBOL_WORD8",SWIG_From_int(static_cast< int >(28)));
24318 SWIG_Python_SetConstant(d
, "STC_SQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24319 SWIG_Python_SetConstant(d
, "STC_SQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24320 SWIG_Python_SetConstant(d
, "STC_SQL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24321 SWIG_Python_SetConstant(d
, "STC_SQL_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24322 SWIG_Python_SetConstant(d
, "STC_SQL_NUMBER",SWIG_From_int(static_cast< int >(4)));
24323 SWIG_Python_SetConstant(d
, "STC_SQL_WORD",SWIG_From_int(static_cast< int >(5)));
24324 SWIG_Python_SetConstant(d
, "STC_SQL_STRING",SWIG_From_int(static_cast< int >(6)));
24325 SWIG_Python_SetConstant(d
, "STC_SQL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
24326 SWIG_Python_SetConstant(d
, "STC_SQL_SQLPLUS",SWIG_From_int(static_cast< int >(8)));
24327 SWIG_Python_SetConstant(d
, "STC_SQL_SQLPLUS_PROMPT",SWIG_From_int(static_cast< int >(9)));
24328 SWIG_Python_SetConstant(d
, "STC_SQL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24329 SWIG_Python_SetConstant(d
, "STC_SQL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24330 SWIG_Python_SetConstant(d
, "STC_SQL_SQLPLUS_COMMENT",SWIG_From_int(static_cast< int >(13)));
24331 SWIG_Python_SetConstant(d
, "STC_SQL_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
24332 SWIG_Python_SetConstant(d
, "STC_SQL_WORD2",SWIG_From_int(static_cast< int >(16)));
24333 SWIG_Python_SetConstant(d
, "STC_SQL_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
24334 SWIG_Python_SetConstant(d
, "STC_SQL_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
24335 SWIG_Python_SetConstant(d
, "STC_SQL_USER1",SWIG_From_int(static_cast< int >(19)));
24336 SWIG_Python_SetConstant(d
, "STC_SQL_USER2",SWIG_From_int(static_cast< int >(20)));
24337 SWIG_Python_SetConstant(d
, "STC_SQL_USER3",SWIG_From_int(static_cast< int >(21)));
24338 SWIG_Python_SetConstant(d
, "STC_SQL_USER4",SWIG_From_int(static_cast< int >(22)));
24339 SWIG_Python_SetConstant(d
, "STC_SQL_QUOTEDIDENTIFIER",SWIG_From_int(static_cast< int >(23)));
24340 SWIG_Python_SetConstant(d
, "STC_ST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24341 SWIG_Python_SetConstant(d
, "STC_ST_STRING",SWIG_From_int(static_cast< int >(1)));
24342 SWIG_Python_SetConstant(d
, "STC_ST_NUMBER",SWIG_From_int(static_cast< int >(2)));
24343 SWIG_Python_SetConstant(d
, "STC_ST_COMMENT",SWIG_From_int(static_cast< int >(3)));
24344 SWIG_Python_SetConstant(d
, "STC_ST_SYMBOL",SWIG_From_int(static_cast< int >(4)));
24345 SWIG_Python_SetConstant(d
, "STC_ST_BINARY",SWIG_From_int(static_cast< int >(5)));
24346 SWIG_Python_SetConstant(d
, "STC_ST_BOOL",SWIG_From_int(static_cast< int >(6)));
24347 SWIG_Python_SetConstant(d
, "STC_ST_SELF",SWIG_From_int(static_cast< int >(7)));
24348 SWIG_Python_SetConstant(d
, "STC_ST_SUPER",SWIG_From_int(static_cast< int >(8)));
24349 SWIG_Python_SetConstant(d
, "STC_ST_NIL",SWIG_From_int(static_cast< int >(9)));
24350 SWIG_Python_SetConstant(d
, "STC_ST_GLOBAL",SWIG_From_int(static_cast< int >(10)));
24351 SWIG_Python_SetConstant(d
, "STC_ST_RETURN",SWIG_From_int(static_cast< int >(11)));
24352 SWIG_Python_SetConstant(d
, "STC_ST_SPECIAL",SWIG_From_int(static_cast< int >(12)));
24353 SWIG_Python_SetConstant(d
, "STC_ST_KWSEND",SWIG_From_int(static_cast< int >(13)));
24354 SWIG_Python_SetConstant(d
, "STC_ST_ASSIGN",SWIG_From_int(static_cast< int >(14)));
24355 SWIG_Python_SetConstant(d
, "STC_ST_CHARACTER",SWIG_From_int(static_cast< int >(15)));
24356 SWIG_Python_SetConstant(d
, "STC_ST_SPEC_SEL",SWIG_From_int(static_cast< int >(16)));
24357 SWIG_Python_SetConstant(d
, "STC_FS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24358 SWIG_Python_SetConstant(d
, "STC_FS_COMMENT",SWIG_From_int(static_cast< int >(1)));
24359 SWIG_Python_SetConstant(d
, "STC_FS_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24360 SWIG_Python_SetConstant(d
, "STC_FS_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24361 SWIG_Python_SetConstant(d
, "STC_FS_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(4)));
24362 SWIG_Python_SetConstant(d
, "STC_FS_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(5)));
24363 SWIG_Python_SetConstant(d
, "STC_FS_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(6)));
24364 SWIG_Python_SetConstant(d
, "STC_FS_KEYWORD",SWIG_From_int(static_cast< int >(7)));
24365 SWIG_Python_SetConstant(d
, "STC_FS_KEYWORD2",SWIG_From_int(static_cast< int >(8)));
24366 SWIG_Python_SetConstant(d
, "STC_FS_KEYWORD3",SWIG_From_int(static_cast< int >(9)));
24367 SWIG_Python_SetConstant(d
, "STC_FS_KEYWORD4",SWIG_From_int(static_cast< int >(10)));
24368 SWIG_Python_SetConstant(d
, "STC_FS_NUMBER",SWIG_From_int(static_cast< int >(11)));
24369 SWIG_Python_SetConstant(d
, "STC_FS_STRING",SWIG_From_int(static_cast< int >(12)));
24370 SWIG_Python_SetConstant(d
, "STC_FS_PREPROCESSOR",SWIG_From_int(static_cast< int >(13)));
24371 SWIG_Python_SetConstant(d
, "STC_FS_OPERATOR",SWIG_From_int(static_cast< int >(14)));
24372 SWIG_Python_SetConstant(d
, "STC_FS_IDENTIFIER",SWIG_From_int(static_cast< int >(15)));
24373 SWIG_Python_SetConstant(d
, "STC_FS_DATE",SWIG_From_int(static_cast< int >(16)));
24374 SWIG_Python_SetConstant(d
, "STC_FS_STRINGEOL",SWIG_From_int(static_cast< int >(17)));
24375 SWIG_Python_SetConstant(d
, "STC_FS_CONSTANT",SWIG_From_int(static_cast< int >(18)));
24376 SWIG_Python_SetConstant(d
, "STC_FS_ASM",SWIG_From_int(static_cast< int >(19)));
24377 SWIG_Python_SetConstant(d
, "STC_FS_LABEL",SWIG_From_int(static_cast< int >(20)));
24378 SWIG_Python_SetConstant(d
, "STC_FS_ERROR",SWIG_From_int(static_cast< int >(21)));
24379 SWIG_Python_SetConstant(d
, "STC_FS_HEXNUMBER",SWIG_From_int(static_cast< int >(22)));
24380 SWIG_Python_SetConstant(d
, "STC_FS_BINNUMBER",SWIG_From_int(static_cast< int >(23)));
24381 SWIG_Python_SetConstant(d
, "STC_CSOUND_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24382 SWIG_Python_SetConstant(d
, "STC_CSOUND_COMMENT",SWIG_From_int(static_cast< int >(1)));
24383 SWIG_Python_SetConstant(d
, "STC_CSOUND_NUMBER",SWIG_From_int(static_cast< int >(2)));
24384 SWIG_Python_SetConstant(d
, "STC_CSOUND_OPERATOR",SWIG_From_int(static_cast< int >(3)));
24385 SWIG_Python_SetConstant(d
, "STC_CSOUND_INSTR",SWIG_From_int(static_cast< int >(4)));
24386 SWIG_Python_SetConstant(d
, "STC_CSOUND_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
24387 SWIG_Python_SetConstant(d
, "STC_CSOUND_OPCODE",SWIG_From_int(static_cast< int >(6)));
24388 SWIG_Python_SetConstant(d
, "STC_CSOUND_HEADERSTMT",SWIG_From_int(static_cast< int >(7)));
24389 SWIG_Python_SetConstant(d
, "STC_CSOUND_USERKEYWORD",SWIG_From_int(static_cast< int >(8)));
24390 SWIG_Python_SetConstant(d
, "STC_CSOUND_COMMENTBLOCK",SWIG_From_int(static_cast< int >(9)));
24391 SWIG_Python_SetConstant(d
, "STC_CSOUND_PARAM",SWIG_From_int(static_cast< int >(10)));
24392 SWIG_Python_SetConstant(d
, "STC_CSOUND_ARATE_VAR",SWIG_From_int(static_cast< int >(11)));
24393 SWIG_Python_SetConstant(d
, "STC_CSOUND_KRATE_VAR",SWIG_From_int(static_cast< int >(12)));
24394 SWIG_Python_SetConstant(d
, "STC_CSOUND_IRATE_VAR",SWIG_From_int(static_cast< int >(13)));
24395 SWIG_Python_SetConstant(d
, "STC_CSOUND_GLOBAL_VAR",SWIG_From_int(static_cast< int >(14)));
24396 SWIG_Python_SetConstant(d
, "STC_CSOUND_STRINGEOL",SWIG_From_int(static_cast< int >(15)));
24397 SWIG_Python_SetConstant(d
, "STC_INNO_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24398 SWIG_Python_SetConstant(d
, "STC_INNO_COMMENT",SWIG_From_int(static_cast< int >(1)));
24399 SWIG_Python_SetConstant(d
, "STC_INNO_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24400 SWIG_Python_SetConstant(d
, "STC_INNO_PARAMETER",SWIG_From_int(static_cast< int >(3)));
24401 SWIG_Python_SetConstant(d
, "STC_INNO_SECTION",SWIG_From_int(static_cast< int >(4)));
24402 SWIG_Python_SetConstant(d
, "STC_INNO_PREPROC",SWIG_From_int(static_cast< int >(5)));
24403 SWIG_Python_SetConstant(d
, "STC_INNO_PREPROC_INLINE",SWIG_From_int(static_cast< int >(6)));
24404 SWIG_Python_SetConstant(d
, "STC_INNO_COMMENT_PASCAL",SWIG_From_int(static_cast< int >(7)));
24405 SWIG_Python_SetConstant(d
, "STC_INNO_KEYWORD_PASCAL",SWIG_From_int(static_cast< int >(8)));
24406 SWIG_Python_SetConstant(d
, "STC_INNO_KEYWORD_USER",SWIG_From_int(static_cast< int >(9)));
24407 SWIG_Python_SetConstant(d
, "STC_INNO_STRING_DOUBLE",SWIG_From_int(static_cast< int >(10)));
24408 SWIG_Python_SetConstant(d
, "STC_INNO_STRING_SINGLE",SWIG_From_int(static_cast< int >(11)));
24409 SWIG_Python_SetConstant(d
, "STC_INNO_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
24410 SWIG_Python_SetConstant(d
, "STC_OPAL_SPACE",SWIG_From_int(static_cast< int >(0)));
24411 SWIG_Python_SetConstant(d
, "STC_OPAL_COMMENT_BLOCK",SWIG_From_int(static_cast< int >(1)));
24412 SWIG_Python_SetConstant(d
, "STC_OPAL_COMMENT_LINE",SWIG_From_int(static_cast< int >(2)));
24413 SWIG_Python_SetConstant(d
, "STC_OPAL_INTEGER",SWIG_From_int(static_cast< int >(3)));
24414 SWIG_Python_SetConstant(d
, "STC_OPAL_KEYWORD",SWIG_From_int(static_cast< int >(4)));
24415 SWIG_Python_SetConstant(d
, "STC_OPAL_SORT",SWIG_From_int(static_cast< int >(5)));
24416 SWIG_Python_SetConstant(d
, "STC_OPAL_STRING",SWIG_From_int(static_cast< int >(6)));
24417 SWIG_Python_SetConstant(d
, "STC_OPAL_PAR",SWIG_From_int(static_cast< int >(7)));
24418 SWIG_Python_SetConstant(d
, "STC_OPAL_BOOL_CONST",SWIG_From_int(static_cast< int >(8)));
24419 SWIG_Python_SetConstant(d
, "STC_OPAL_DEFAULT",SWIG_From_int(static_cast< int >(32)));
24420 SWIG_Python_SetConstant(d
, "STC_SPICE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24421 SWIG_Python_SetConstant(d
, "STC_SPICE_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24422 SWIG_Python_SetConstant(d
, "STC_SPICE_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24423 SWIG_Python_SetConstant(d
, "STC_SPICE_KEYWORD2",SWIG_From_int(static_cast< int >(3)));
24424 SWIG_Python_SetConstant(d
, "STC_SPICE_KEYWORD3",SWIG_From_int(static_cast< int >(4)));
24425 SWIG_Python_SetConstant(d
, "STC_SPICE_NUMBER",SWIG_From_int(static_cast< int >(5)));
24426 SWIG_Python_SetConstant(d
, "STC_SPICE_DELIMITER",SWIG_From_int(static_cast< int >(6)));
24427 SWIG_Python_SetConstant(d
, "STC_SPICE_VALUE",SWIG_From_int(static_cast< int >(7)));
24428 SWIG_Python_SetConstant(d
, "STC_SPICE_COMMENTLINE",SWIG_From_int(static_cast< int >(8)));
24429 SWIG_Python_SetConstant(d
, "STC_CMD_REDO",SWIG_From_int(static_cast< int >(2011)));
24430 SWIG_Python_SetConstant(d
, "STC_CMD_SELECTALL",SWIG_From_int(static_cast< int >(2013)));
24431 SWIG_Python_SetConstant(d
, "STC_CMD_UNDO",SWIG_From_int(static_cast< int >(2176)));
24432 SWIG_Python_SetConstant(d
, "STC_CMD_CUT",SWIG_From_int(static_cast< int >(2177)));
24433 SWIG_Python_SetConstant(d
, "STC_CMD_COPY",SWIG_From_int(static_cast< int >(2178)));
24434 SWIG_Python_SetConstant(d
, "STC_CMD_PASTE",SWIG_From_int(static_cast< int >(2179)));
24435 SWIG_Python_SetConstant(d
, "STC_CMD_CLEAR",SWIG_From_int(static_cast< int >(2180)));
24436 SWIG_Python_SetConstant(d
, "STC_CMD_LINEDOWN",SWIG_From_int(static_cast< int >(2300)));
24437 SWIG_Python_SetConstant(d
, "STC_CMD_LINEDOWNEXTEND",SWIG_From_int(static_cast< int >(2301)));
24438 SWIG_Python_SetConstant(d
, "STC_CMD_LINEUP",SWIG_From_int(static_cast< int >(2302)));
24439 SWIG_Python_SetConstant(d
, "STC_CMD_LINEUPEXTEND",SWIG_From_int(static_cast< int >(2303)));
24440 SWIG_Python_SetConstant(d
, "STC_CMD_CHARLEFT",SWIG_From_int(static_cast< int >(2304)));
24441 SWIG_Python_SetConstant(d
, "STC_CMD_CHARLEFTEXTEND",SWIG_From_int(static_cast< int >(2305)));
24442 SWIG_Python_SetConstant(d
, "STC_CMD_CHARRIGHT",SWIG_From_int(static_cast< int >(2306)));
24443 SWIG_Python_SetConstant(d
, "STC_CMD_CHARRIGHTEXTEND",SWIG_From_int(static_cast< int >(2307)));
24444 SWIG_Python_SetConstant(d
, "STC_CMD_WORDLEFT",SWIG_From_int(static_cast< int >(2308)));
24445 SWIG_Python_SetConstant(d
, "STC_CMD_WORDLEFTEXTEND",SWIG_From_int(static_cast< int >(2309)));
24446 SWIG_Python_SetConstant(d
, "STC_CMD_WORDRIGHT",SWIG_From_int(static_cast< int >(2310)));
24447 SWIG_Python_SetConstant(d
, "STC_CMD_WORDRIGHTEXTEND",SWIG_From_int(static_cast< int >(2311)));
24448 SWIG_Python_SetConstant(d
, "STC_CMD_HOME",SWIG_From_int(static_cast< int >(2312)));
24449 SWIG_Python_SetConstant(d
, "STC_CMD_HOMEEXTEND",SWIG_From_int(static_cast< int >(2313)));
24450 SWIG_Python_SetConstant(d
, "STC_CMD_LINEEND",SWIG_From_int(static_cast< int >(2314)));
24451 SWIG_Python_SetConstant(d
, "STC_CMD_LINEENDEXTEND",SWIG_From_int(static_cast< int >(2315)));
24452 SWIG_Python_SetConstant(d
, "STC_CMD_DOCUMENTSTART",SWIG_From_int(static_cast< int >(2316)));
24453 SWIG_Python_SetConstant(d
, "STC_CMD_DOCUMENTSTARTEXTEND",SWIG_From_int(static_cast< int >(2317)));
24454 SWIG_Python_SetConstant(d
, "STC_CMD_DOCUMENTEND",SWIG_From_int(static_cast< int >(2318)));
24455 SWIG_Python_SetConstant(d
, "STC_CMD_DOCUMENTENDEXTEND",SWIG_From_int(static_cast< int >(2319)));
24456 SWIG_Python_SetConstant(d
, "STC_CMD_PAGEUP",SWIG_From_int(static_cast< int >(2320)));
24457 SWIG_Python_SetConstant(d
, "STC_CMD_PAGEUPEXTEND",SWIG_From_int(static_cast< int >(2321)));
24458 SWIG_Python_SetConstant(d
, "STC_CMD_PAGEDOWN",SWIG_From_int(static_cast< int >(2322)));
24459 SWIG_Python_SetConstant(d
, "STC_CMD_PAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2323)));
24460 SWIG_Python_SetConstant(d
, "STC_CMD_EDITTOGGLEOVERTYPE",SWIG_From_int(static_cast< int >(2324)));
24461 SWIG_Python_SetConstant(d
, "STC_CMD_CANCEL",SWIG_From_int(static_cast< int >(2325)));
24462 SWIG_Python_SetConstant(d
, "STC_CMD_DELETEBACK",SWIG_From_int(static_cast< int >(2326)));
24463 SWIG_Python_SetConstant(d
, "STC_CMD_TAB",SWIG_From_int(static_cast< int >(2327)));
24464 SWIG_Python_SetConstant(d
, "STC_CMD_BACKTAB",SWIG_From_int(static_cast< int >(2328)));
24465 SWIG_Python_SetConstant(d
, "STC_CMD_NEWLINE",SWIG_From_int(static_cast< int >(2329)));
24466 SWIG_Python_SetConstant(d
, "STC_CMD_FORMFEED",SWIG_From_int(static_cast< int >(2330)));
24467 SWIG_Python_SetConstant(d
, "STC_CMD_VCHOME",SWIG_From_int(static_cast< int >(2331)));
24468 SWIG_Python_SetConstant(d
, "STC_CMD_VCHOMEEXTEND",SWIG_From_int(static_cast< int >(2332)));
24469 SWIG_Python_SetConstant(d
, "STC_CMD_ZOOMIN",SWIG_From_int(static_cast< int >(2333)));
24470 SWIG_Python_SetConstant(d
, "STC_CMD_ZOOMOUT",SWIG_From_int(static_cast< int >(2334)));
24471 SWIG_Python_SetConstant(d
, "STC_CMD_DELWORDLEFT",SWIG_From_int(static_cast< int >(2335)));
24472 SWIG_Python_SetConstant(d
, "STC_CMD_DELWORDRIGHT",SWIG_From_int(static_cast< int >(2336)));
24473 SWIG_Python_SetConstant(d
, "STC_CMD_LINECUT",SWIG_From_int(static_cast< int >(2337)));
24474 SWIG_Python_SetConstant(d
, "STC_CMD_LINEDELETE",SWIG_From_int(static_cast< int >(2338)));
24475 SWIG_Python_SetConstant(d
, "STC_CMD_LINETRANSPOSE",SWIG_From_int(static_cast< int >(2339)));
24476 SWIG_Python_SetConstant(d
, "STC_CMD_LINEDUPLICATE",SWIG_From_int(static_cast< int >(2404)));
24477 SWIG_Python_SetConstant(d
, "STC_CMD_LOWERCASE",SWIG_From_int(static_cast< int >(2340)));
24478 SWIG_Python_SetConstant(d
, "STC_CMD_UPPERCASE",SWIG_From_int(static_cast< int >(2341)));
24479 SWIG_Python_SetConstant(d
, "STC_CMD_LINESCROLLDOWN",SWIG_From_int(static_cast< int >(2342)));
24480 SWIG_Python_SetConstant(d
, "STC_CMD_LINESCROLLUP",SWIG_From_int(static_cast< int >(2343)));
24481 SWIG_Python_SetConstant(d
, "STC_CMD_DELETEBACKNOTLINE",SWIG_From_int(static_cast< int >(2344)));
24482 SWIG_Python_SetConstant(d
, "STC_CMD_HOMEDISPLAY",SWIG_From_int(static_cast< int >(2345)));
24483 SWIG_Python_SetConstant(d
, "STC_CMD_HOMEDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2346)));
24484 SWIG_Python_SetConstant(d
, "STC_CMD_LINEENDDISPLAY",SWIG_From_int(static_cast< int >(2347)));
24485 SWIG_Python_SetConstant(d
, "STC_CMD_LINEENDDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2348)));
24486 SWIG_Python_SetConstant(d
, "STC_CMD_HOMEWRAP",SWIG_From_int(static_cast< int >(2349)));
24487 SWIG_Python_SetConstant(d
, "STC_CMD_HOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2450)));
24488 SWIG_Python_SetConstant(d
, "STC_CMD_LINEENDWRAP",SWIG_From_int(static_cast< int >(2451)));
24489 SWIG_Python_SetConstant(d
, "STC_CMD_LINEENDWRAPEXTEND",SWIG_From_int(static_cast< int >(2452)));
24490 SWIG_Python_SetConstant(d
, "STC_CMD_VCHOMEWRAP",SWIG_From_int(static_cast< int >(2453)));
24491 SWIG_Python_SetConstant(d
, "STC_CMD_VCHOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2454)));
24492 SWIG_Python_SetConstant(d
, "STC_CMD_LINECOPY",SWIG_From_int(static_cast< int >(2455)));
24493 SWIG_Python_SetConstant(d
, "STC_CMD_WORDPARTLEFT",SWIG_From_int(static_cast< int >(2390)));
24494 SWIG_Python_SetConstant(d
, "STC_CMD_WORDPARTLEFTEXTEND",SWIG_From_int(static_cast< int >(2391)));
24495 SWIG_Python_SetConstant(d
, "STC_CMD_WORDPARTRIGHT",SWIG_From_int(static_cast< int >(2392)));
24496 SWIG_Python_SetConstant(d
, "STC_CMD_WORDPARTRIGHTEXTEND",SWIG_From_int(static_cast< int >(2393)));
24497 SWIG_Python_SetConstant(d
, "STC_CMD_DELLINELEFT",SWIG_From_int(static_cast< int >(2395)));
24498 SWIG_Python_SetConstant(d
, "STC_CMD_DELLINERIGHT",SWIG_From_int(static_cast< int >(2396)));
24499 SWIG_Python_SetConstant(d
, "STC_CMD_PARADOWN",SWIG_From_int(static_cast< int >(2413)));
24500 SWIG_Python_SetConstant(d
, "STC_CMD_PARADOWNEXTEND",SWIG_From_int(static_cast< int >(2414)));
24501 SWIG_Python_SetConstant(d
, "STC_CMD_PARAUP",SWIG_From_int(static_cast< int >(2415)));
24502 SWIG_Python_SetConstant(d
, "STC_CMD_PARAUPEXTEND",SWIG_From_int(static_cast< int >(2416)));
24503 SWIG_Python_SetConstant(d
, "STC_CMD_LINEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2426)));
24504 SWIG_Python_SetConstant(d
, "STC_CMD_LINEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2427)));
24505 SWIG_Python_SetConstant(d
, "STC_CMD_CHARLEFTRECTEXTEND",SWIG_From_int(static_cast< int >(2428)));
24506 SWIG_Python_SetConstant(d
, "STC_CMD_CHARRIGHTRECTEXTEND",SWIG_From_int(static_cast< int >(2429)));
24507 SWIG_Python_SetConstant(d
, "STC_CMD_HOMERECTEXTEND",SWIG_From_int(static_cast< int >(2430)));
24508 SWIG_Python_SetConstant(d
, "STC_CMD_VCHOMERECTEXTEND",SWIG_From_int(static_cast< int >(2431)));
24509 SWIG_Python_SetConstant(d
, "STC_CMD_LINEENDRECTEXTEND",SWIG_From_int(static_cast< int >(2432)));
24510 SWIG_Python_SetConstant(d
, "STC_CMD_PAGEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2433)));
24511 SWIG_Python_SetConstant(d
, "STC_CMD_PAGEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2434)));
24512 SWIG_Python_SetConstant(d
, "STC_CMD_STUTTEREDPAGEUP",SWIG_From_int(static_cast< int >(2435)));
24513 SWIG_Python_SetConstant(d
, "STC_CMD_STUTTEREDPAGEUPEXTEND",SWIG_From_int(static_cast< int >(2436)));
24514 SWIG_Python_SetConstant(d
, "STC_CMD_STUTTEREDPAGEDOWN",SWIG_From_int(static_cast< int >(2437)));
24515 SWIG_Python_SetConstant(d
, "STC_CMD_STUTTEREDPAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2438)));
24516 SWIG_Python_SetConstant(d
, "STC_CMD_WORDLEFTEND",SWIG_From_int(static_cast< int >(2439)));
24517 SWIG_Python_SetConstant(d
, "STC_CMD_WORDLEFTENDEXTEND",SWIG_From_int(static_cast< int >(2440)));
24518 SWIG_Python_SetConstant(d
, "STC_CMD_WORDRIGHTEND",SWIG_From_int(static_cast< int >(2441)));
24519 SWIG_Python_SetConstant(d
, "STC_CMD_WORDRIGHTENDEXTEND",SWIG_From_int(static_cast< int >(2442)));
24520 SWIG_Python_SetConstant(d
, "wxEVT_STC_CHANGE",SWIG_From_int(static_cast< int >(wxEVT_STC_CHANGE
)));
24521 SWIG_Python_SetConstant(d
, "wxEVT_STC_STYLENEEDED",SWIG_From_int(static_cast< int >(wxEVT_STC_STYLENEEDED
)));
24522 SWIG_Python_SetConstant(d
, "wxEVT_STC_CHARADDED",SWIG_From_int(static_cast< int >(wxEVT_STC_CHARADDED
)));
24523 SWIG_Python_SetConstant(d
, "wxEVT_STC_SAVEPOINTREACHED",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTREACHED
)));
24524 SWIG_Python_SetConstant(d
, "wxEVT_STC_SAVEPOINTLEFT",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTLEFT
)));
24525 SWIG_Python_SetConstant(d
, "wxEVT_STC_ROMODIFYATTEMPT",SWIG_From_int(static_cast< int >(wxEVT_STC_ROMODIFYATTEMPT
)));
24526 SWIG_Python_SetConstant(d
, "wxEVT_STC_KEY",SWIG_From_int(static_cast< int >(wxEVT_STC_KEY
)));
24527 SWIG_Python_SetConstant(d
, "wxEVT_STC_DOUBLECLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_DOUBLECLICK
)));
24528 SWIG_Python_SetConstant(d
, "wxEVT_STC_UPDATEUI",SWIG_From_int(static_cast< int >(wxEVT_STC_UPDATEUI
)));
24529 SWIG_Python_SetConstant(d
, "wxEVT_STC_MODIFIED",SWIG_From_int(static_cast< int >(wxEVT_STC_MODIFIED
)));
24530 SWIG_Python_SetConstant(d
, "wxEVT_STC_MACRORECORD",SWIG_From_int(static_cast< int >(wxEVT_STC_MACRORECORD
)));
24531 SWIG_Python_SetConstant(d
, "wxEVT_STC_MARGINCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_MARGINCLICK
)));
24532 SWIG_Python_SetConstant(d
, "wxEVT_STC_NEEDSHOWN",SWIG_From_int(static_cast< int >(wxEVT_STC_NEEDSHOWN
)));
24533 SWIG_Python_SetConstant(d
, "wxEVT_STC_PAINTED",SWIG_From_int(static_cast< int >(wxEVT_STC_PAINTED
)));
24534 SWIG_Python_SetConstant(d
, "wxEVT_STC_USERLISTSELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_USERLISTSELECTION
)));
24535 SWIG_Python_SetConstant(d
, "wxEVT_STC_URIDROPPED",SWIG_From_int(static_cast< int >(wxEVT_STC_URIDROPPED
)));
24536 SWIG_Python_SetConstant(d
, "wxEVT_STC_DWELLSTART",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLSTART
)));
24537 SWIG_Python_SetConstant(d
, "wxEVT_STC_DWELLEND",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLEND
)));
24538 SWIG_Python_SetConstant(d
, "wxEVT_STC_START_DRAG",SWIG_From_int(static_cast< int >(wxEVT_STC_START_DRAG
)));
24539 SWIG_Python_SetConstant(d
, "wxEVT_STC_DRAG_OVER",SWIG_From_int(static_cast< int >(wxEVT_STC_DRAG_OVER
)));
24540 SWIG_Python_SetConstant(d
, "wxEVT_STC_DO_DROP",SWIG_From_int(static_cast< int >(wxEVT_STC_DO_DROP
)));
24541 SWIG_Python_SetConstant(d
, "wxEVT_STC_ZOOM",SWIG_From_int(static_cast< int >(wxEVT_STC_ZOOM
)));
24542 SWIG_Python_SetConstant(d
, "wxEVT_STC_HOTSPOT_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_CLICK
)));
24543 SWIG_Python_SetConstant(d
, "wxEVT_STC_HOTSPOT_DCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_DCLICK
)));
24544 SWIG_Python_SetConstant(d
, "wxEVT_STC_CALLTIP_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_CALLTIP_CLICK
)));
24545 SWIG_Python_SetConstant(d
, "wxEVT_STC_AUTOCOMP_SELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_AUTOCOMP_SELECTION
)));