X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/befa69771ae5683eb408a95035a71d7a599e350c..ff006095c2cb350af9d765e9d832fc2b7944e32f:/wxPython/contrib/stc/mac/stc_wrap.cpp?ds=sidebyside diff --git a/wxPython/contrib/stc/mac/stc_wrap.cpp b/wxPython/contrib/stc/mac/stc_wrap.cpp index dc85190588..6facc5b511 100644 --- a/wxPython/contrib/stc/mac/stc_wrap.cpp +++ b/wxPython/contrib/stc/mac/stc_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.22 + * Version 1.3.24 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -9,7 +9,6 @@ * ----------------------------------------------------------------------------- */ #define SWIGPYTHON -#define SWIG_NOINCLUDE #ifdef __cplusplus template class SwigValueWrapper { @@ -24,70 +23,65 @@ public: T *operator&() { return tt; } private: SwigValueWrapper& operator=(const SwigValueWrapper& rhs); -}; +}; #endif -#include "Python.h" - -/*************************************************************** -*- c -*- - * python/precommon.swg - * - * Rename all exported symbols from common.swg, to avoid symbol - * clashes if multiple interpreters are included - * - ************************************************************************/ +#ifndef SWIG_TEMPLATE_DISAMBIGUATOR +# if defined(__SUNPRO_CC) +# define SWIG_TEMPLATE_DISAMBIGUATOR template +# else +# define SWIG_TEMPLATE_DISAMBIGUATOR +# endif +#endif -#define SWIG_TypeRegister SWIG_Python_TypeRegister -#define SWIG_TypeCheck SWIG_Python_TypeCheck -#define SWIG_TypeCast SWIG_Python_TypeCast -#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast -#define SWIG_TypeName SWIG_Python_TypeName -#define SWIG_TypeQuery SWIG_Python_TypeQuery -#define SWIG_TypeClientData SWIG_Python_TypeClientData -#define SWIG_PackData SWIG_Python_PackData -#define SWIG_UnpackData SWIG_Python_UnpackData +#include /*********************************************************************** - * common.swg for wxPython + * swigrun.swg * - * Include only the function prototypes and such from SWIG's common.swg, - * but not the runtime functions themselves. This helps keep the - * wrapper files clean of unnecessary stuff that is in the libpy.c file - * anyway. + * This file contains generic CAPI SWIG runtime support for pointer + * type checking. * ************************************************************************/ -#include +/* This should only be incremented when either the layout of swig_type_info changes, + or for whatever reason, the runtime changes incompatibly */ +#define SWIG_RUNTIME_VERSION "1" -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if defined(_MSC_VER) || defined(__GNUC__) -# if defined(STATIC_LINKED) -# define SWIGEXPORT(a) a -# define SWIGIMPORT(a) extern a -# else -# define SWIGEXPORT(a) __declspec(dllexport) a -# define SWIGIMPORT(a) extern a -# endif -# else -# if defined(__BORLANDC__) -# define SWIGEXPORT(a) a _export -# define SWIGIMPORT(a) a _export -# else -# define SWIGEXPORT(a) a -# define SWIGIMPORT(a) a -# endif -# endif +/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ +#ifdef SWIG_TYPE_TABLE +#define SWIG_QUOTE_STRING(x) #x +#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) +#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) #else -# define SWIGEXPORT(a) a -# define SWIGIMPORT(a) a +#define SWIG_TYPE_TABLE_NAME #endif -#ifdef SWIG_GLOBAL -# define SWIGRUNTIME(a) SWIGEXPORT(a) +#include + +#ifndef SWIGINLINE +#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline #else -# define SWIGRUNTIME(a) static a +# define SWIGINLINE +#endif +#endif + +/* + You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for + creating a static or dynamic library from the swig runtime code. + In 99.9% of the cases, swig just needs to declare them as 'static'. + + But only do this if is strictly necessary, ie, if you have problems + with your compiler or so. +*/ +#ifndef SWIGRUNTIME +#define SWIGRUNTIME static +#endif +#ifndef SWIGRUNTIMEINLINE +#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif #ifdef __cplusplus @@ -107,52 +101,461 @@ typedef struct swig_type_info { struct swig_type_info *prev; } swig_type_info; +/* + Compare two type names skipping the space characters, therefore + "char*" == "char *" and "Class" == "Class", etc. + + Return 0 when the two name types are equivalent, as in + strncmp, but skipping ' '. +*/ +SWIGRUNTIME int +SWIG_TypeNameComp(const char *f1, const char *l1, + const char *f2, const char *l2) { + for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { + while ((*f1 == ' ') && (f1 != l1)) ++f1; + while ((*f2 == ' ') && (f2 != l2)) ++f2; + if (*f1 != *f2) return *f1 - *f2; + } + return (l1 - f1) - (l2 - f2); +} + +/* + Check type equivalence in a name list like ||... +*/ +SWIGRUNTIME int +SWIG_TypeEquiv(const char *nb, const char *tb) { + int equiv = 0; + const char* te = tb + strlen(tb); + const char* ne = nb; + while (!equiv && *ne) { + for (nb = ne; *ne; ++ne) { + if (*ne == '|') break; + } + equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; + if (*ne) ++ne; + } + return equiv; +} + +/* + Register a type mapping with the type-checking +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { + swig_type_info *tc, *head, *ret, *next; + /* Check to see if this type has already been registered */ + tc = *tl; + while (tc) { + /* check simple type equivalence */ + int typeequiv = (strcmp(tc->name, ti->name) == 0); + /* check full type equivalence, resolving typedefs */ + if (!typeequiv) { + /* only if tc is not a typedef (no '|' on it) */ + if (tc->str && ti->str && !strstr(tc->str,"|")) { + typeequiv = SWIG_TypeEquiv(ti->str,tc->str); + } + } + if (typeequiv) { + /* Already exists in the table. Just add additional types to the list */ + if (ti->clientdata) tc->clientdata = ti->clientdata; + head = tc; + next = tc->next; + goto l1; + } + tc = tc->prev; + } + head = ti; + next = 0; + + /* Place in list */ + ti->prev = *tl; + *tl = ti; + + /* Build linked lists */ + l1: + ret = head; + tc = ti + 1; + /* Patch up the rest of the links */ + while (tc->name) { + head->next = tc; + tc->prev = head; + head = tc; + tc++; + } + if (next) next->prev = head; + head->next = next; + + return ret; +} + +/* + Check the typename +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeCheck(const char *c, swig_type_info *ty) { + swig_type_info *s; + if (!ty) return 0; /* Void pointer */ + s = ty->next; /* First element always just a name */ + do { + if (strcmp(s->name,c) == 0) { + if (s == ty->next) return s; + /* Move s to the top of the linked list */ + s->prev->next = s->next; + if (s->next) { + s->next->prev = s->prev; + } + /* Insert s as second element in the list */ + s->next = ty->next; + if (ty->next) ty->next->prev = s; + ty->next = s; + s->prev = ty; + return s; + } + s = s->next; + } while (s && (s != ty->next)); + return 0; +} + +/* + Cast a pointer up an inheritance hierarchy +*/ +SWIGRUNTIMEINLINE void * +SWIG_TypeCast(swig_type_info *ty, void *ptr) { + return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); +} + +/* + Dynamic pointer casting. Down an inheritance hierarchy +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { + swig_type_info *lastty = ty; + if (!ty || !ty->dcast) return ty; + while (ty && (ty->dcast)) { + ty = (*ty->dcast)(ptr); + if (ty) lastty = ty; + } + return lastty; +} + +/* + Return the name associated with this type +*/ +SWIGRUNTIMEINLINE const char * +SWIG_TypeName(const swig_type_info *ty) { + return ty->name; +} + +/* + Return the pretty name associated with this type, + that is an unmangled type name in a form presentable to the user. +*/ +SWIGRUNTIME const char * +SWIG_TypePrettyName(const swig_type_info *type) { + /* The "str" field contains the equivalent pretty names of the + type, separated by vertical-bar characters. We choose + to print the last name, as it is often (?) the most + specific. */ + if (type->str != NULL) { + const char *last_name = type->str; + const char *s; + for (s = type->str; *s; s++) + if (*s == '|') last_name = s+1; + return last_name; + } + else + return type->name; +} + +/* + Search for a swig_type_info structure +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { + swig_type_info *ty = tl; + while (ty) { + if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; + if (ty->name && (strcmp(name,ty->name) == 0)) return ty; + ty = ty->prev; + } + return 0; +} + +/* + Set the clientdata field for a type +*/ +SWIGRUNTIME void +SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { + swig_type_info *tc, *equiv; + if (ti->clientdata) return; + /* if (ti->clientdata == clientdata) return; */ + ti->clientdata = clientdata; + equiv = ti->next; + while (equiv) { + if (!equiv->converter) { + tc = tl; + while (tc) { + if ((strcmp(tc->name, equiv->name) == 0)) + SWIG_TypeClientDataTL(tl,tc,clientdata); + tc = tc->prev; + } + } + equiv = equiv->next; + } +} + +/* + Pack binary data into a string +*/ +SWIGRUNTIME char * +SWIG_PackData(char *c, void *ptr, size_t sz) { + static char hex[17] = "0123456789abcdef"; + unsigned char *u = (unsigned char *) ptr; + const unsigned char *eu = u + sz; + register unsigned char uu; + for (; u != eu; ++u) { + uu = *u; + *(c++) = hex[(uu & 0xf0) >> 4]; + *(c++) = hex[uu & 0xf]; + } + return c; +} + +/* + Unpack binary data from a string +*/ +SWIGRUNTIME const char * +SWIG_UnpackData(const char *c, void *ptr, size_t sz) { + register unsigned char *u = (unsigned char *) ptr; + register const unsigned char *eu = u + sz; + for (; u != eu; ++u) { + register int d = *(c++); + register unsigned char uu = 0; + if ((d >= '0') && (d <= '9')) + uu = ((d - '0') << 4); + else if ((d >= 'a') && (d <= 'f')) + uu = ((d - ('a'-10)) << 4); + else + return (char *) 0; + d = *(c++); + if ((d >= '0') && (d <= '9')) + uu |= (d - '0'); + else if ((d >= 'a') && (d <= 'f')) + uu |= (d - ('a'-10)); + else + return (char *) 0; + *u = uu; + } + return c; +} + +/* + This function will propagate the clientdata field of type to any new + swig_type_info structures that have been added into the list of + equivalent types. It is like calling SWIG_TypeClientData(type, + clientdata) a second time. +*/ +SWIGRUNTIME void +SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { + swig_type_info *equiv = type->next; + swig_type_info *tc; + if (!type->clientdata) return; + while (equiv) { + if (!equiv->converter) { + tc = tl; + while (tc) { + if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) + SWIG_TypeClientDataTL(tl,tc, type->clientdata); + tc = tc->prev; + } + } + equiv = equiv->next; + } +} -SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); -SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); -SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); -SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); -SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); -SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); -SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); -SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); -SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); +/* + Pack 'void *' into a string buffer. +*/ +SWIGRUNTIME char * +SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { + char *r = buff; + if ((2*sizeof(void *) + 2) > bsz) return 0; + *(r++) = '_'; + r = SWIG_PackData(r,&ptr,sizeof(void *)); + if (strlen(name) + 1 > (bsz - (r - buff))) return 0; + strcpy(r,name); + return buff; +} + +SWIGRUNTIME const char * +SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { + if (*c != '_') { + if (strcmp(c,"NULL") == 0) { + *ptr = (void *) 0; + return name; + } else { + return 0; + } + } + return SWIG_UnpackData(++c,ptr,sizeof(void *)); +} + +SWIGRUNTIME char * +SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { + char *r = buff; + size_t lname = (name ? strlen(name) : 0); + if ((2*sz + 2 + lname) > bsz) return 0; + *(r++) = '_'; + r = SWIG_PackData(r,ptr,sz); + if (lname) { + strncpy(r,name,lname+1); + } else { + *r = 0; + } + return buff; +} +SWIGRUNTIME const char * +SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { + if (*c != '_') { + if (strcmp(c,"NULL") == 0) { + memset(ptr,0,sz); + return name; + } else { + return 0; + } + } + return SWIG_UnpackData(++c,ptr,sz); +} #ifdef __cplusplus } #endif /*********************************************************************** - * pyrun.swg for wxPython + * common.swg + * + * This file contains generic SWIG runtime support for pointer + * type checking as well as a few commonly used macros to control + * external linkage. * - * Include only the function prototypes and such from SWIG's pyrun.swg, - * but not the runtime functions themselves. This helps keep the - * wrapper files clean of unnecessary stuff that is in the libpy.c file - * anyway. + * Author : David Beazley (beazley@cs.uchicago.edu) * + * Copyright (c) 1999-2000, The University of Chicago + * + * This file may be freely redistributed without license or fee provided + * this copyright message remains intact. ************************************************************************/ -#include "Python.h" + +#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if !defined(STATIC_LINKED) +# define SWIGEXPORT(a) __declspec(dllexport) a +# else +# define SWIGEXPORT(a) a +# endif +#else +# define SWIGEXPORT(a) a +#endif + +#ifdef __cplusplus +extern "C" { +#endif + + +/*************************************************************************/ + + +/* The static type info list */ + +static swig_type_info *swig_type_list = 0; +static swig_type_info **swig_type_list_handle = &swig_type_list; + + +/* Register a type mapping with the type-checking */ +static swig_type_info * +SWIG_TypeRegister(swig_type_info *ti) { + return SWIG_TypeRegisterTL(swig_type_list_handle, ti); +} + +/* Search for a swig_type_info structure */ +static swig_type_info * +SWIG_TypeQuery(const char *name) { + return SWIG_TypeQueryTL(*swig_type_list_handle, name); +} + +/* Set the clientdata field for a type */ +static void +SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { + SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); +} + +/* This function will propagate the clientdata field of type to +* any new swig_type_info structures that have been added into the list +* of equivalent types. It is like calling +* SWIG_TypeClientData(type, clientdata) a second time. +*/ +static void +SWIG_PropagateClientData(swig_type_info *type) { + SWIG_PropagateClientDataTL(*swig_type_list_handle, type); +} + +#ifdef __cplusplus +} +#endif + +/* ----------------------------------------------------------------------------- + * SWIG API. Portion that goes into the runtime + * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { #endif +/* ----------------------------------------------------------------------------- + * for internal method declarations + * ----------------------------------------------------------------------------- */ + +#ifndef SWIGINTERN +#define SWIGINTERN static +#endif + +#ifndef SWIGINTERNSHORT +#ifdef __cplusplus +#define SWIGINTERNSHORT static inline +#else /* C case */ +#define SWIGINTERNSHORT static +#endif /* __cplusplus */ +#endif + + +/* + Exception handling in wrappers +*/ +#define SWIG_fail goto fail +#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) +#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0) +#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) +#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) +#define SWIG_null_ref(type) SWIG_Python_NullRef(type) + +/* + Contract support +*/ +#define SWIG_contract_assert(expr, msg) \ + if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else + +/* ----------------------------------------------------------------------------- + * Constant declarations + * ----------------------------------------------------------------------------- */ + +/* Constant Types */ #define SWIG_PY_INT 1 #define SWIG_PY_FLOAT 2 #define SWIG_PY_STRING 3 #define SWIG_PY_POINTER 4 #define SWIG_PY_BINARY 5 -/* Flags for pointer conversion */ - -#define SWIG_POINTER_EXCEPTION 0x1 -#define SWIG_POINTER_DISOWN 0x2 - -/* Exception handling in wrappers */ -#define SWIG_fail goto fail - /* Constant information structure */ typedef struct swig_const_info { int type; @@ -163,311 +566,1081 @@ typedef struct swig_const_info { swig_type_info **ptype; } swig_const_info; -/* Common SWIG API */ -#define SWIG_ConvertPtr(obj, pp, type, flags) \ - SWIG_Python_ConvertPtr(obj, pp, type, flags) -#define SWIG_NewPointerObj(p, type, flags) \ - SWIG_Python_NewPointerObj(p, type, flags) -#define SWIG_MustGetPtr(p, type, argnum, flags) \ - SWIG_Python_MustGetPtr(p, type, argnum, flags) - -/* Python-specific SWIG API */ -#define SWIG_newvarlink() \ - SWIG_Python_newvarlink() -#define SWIG_addvarlink(p, name, get_attr, set_attr) \ - SWIG_Python_addvarlink(p, name, get_attr, set_attr) -#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ - SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) -#define SWIG_NewPackedObj(ptr, sz, type) \ - SWIG_Python_NewPackedObj(ptr, sz, type) -#define SWIG_InstallConstants(d, constants) \ - SWIG_Python_InstallConstants(d, constants) - -typedef double (*py_objasdbl_conv)(PyObject *obj); - -SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); -SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); -SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); -SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); -SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); -SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); -SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); -SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); - -/* Contract support */ - -#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else +/* ----------------------------------------------------------------------------- + * Alloc. memory flags + * ----------------------------------------------------------------------------- */ +#define SWIG_OLDOBJ 1 +#define SWIG_NEWOBJ SWIG_OLDOBJ + 1 +#define SWIG_PYSTR SWIG_NEWOBJ + 1 #ifdef __cplusplus } #endif -/* -------- TYPES TABLE (BEGIN) -------- */ +/*********************************************************************** + * pyrun.swg + * + * This file contains the runtime support for Python modules + * and includes code for managing global variables and pointer + * type checking. + * + * Author : David Beazley (beazley@cs.uchicago.edu) + ************************************************************************/ -#define SWIGTYPE_p_wxRect swig_types[0] -#define SWIGTYPE_p_wxColour swig_types[1] -#define SWIGTYPE_p_wxObject swig_types[2] -#define SWIGTYPE_p_wxScrollBar swig_types[3] -#define SWIGTYPE_p_wxStyledTextEvent swig_types[4] -#define SWIGTYPE_p_wxWindow swig_types[5] -#define SWIGTYPE_p_wxCommandEvent swig_types[6] -#define SWIGTYPE_p_wxBitmap swig_types[7] -#define SWIGTYPE_p_void swig_types[8] -#define SWIGTYPE_p_wxPoint swig_types[9] -#define SWIGTYPE_p_wxDC swig_types[10] -#define SWIGTYPE_p_char swig_types[11] -#define SWIGTYPE_p_wxEvtHandler swig_types[12] -#define SWIGTYPE_p_wxStyledTextCtrl swig_types[13] -#define SWIGTYPE_p_wxFont swig_types[14] -#define SWIGTYPE_p_wxControl swig_types[15] -#define SWIGTYPE_p_wxEvent swig_types[16] -#define SWIGTYPE_p_int swig_types[17] -#define SWIGTYPE_p_wxMemoryBuffer swig_types[18] -static swig_type_info *swig_types[20]; +/* Common SWIG API */ +#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags) +#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags) +#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) + -/* -------- TYPES TABLE (END) -------- */ +/* Python-specific SWIG API */ +#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) +#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) -/*----------------------------------------------- - @(target):= _stc.so - ------------------------------------------------*/ -#define SWIG_init init_stc +/* ----------------------------------------------------------------------------- + * Pointer declarations + * ----------------------------------------------------------------------------- */ +/* + Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent + C/C++ pointers in the python side. Very useful for debugging, but + not always safe. +*/ +#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) +# define SWIG_COBJECT_TYPES +#endif -#define SWIG_name "_stc" +/* Flags for pointer conversion */ +#define SWIG_POINTER_EXCEPTION 0x1 +#define SWIG_POINTER_DISOWN 0x2 -/* Auxiliar swig macros */ #ifdef __cplusplus -#define SWIGSTATICINLINE(a) static inline a -#define SWIGSTATIC(a) static a -#define swig_new_array(type, size) (new type[(size)]) -#define swig_delete_array(cptr) delete[] cptr -#define swig_const_cast(type,a) const_cast(a) -#define swig_static_cast(type,a) static_cast(a) -#define swig_reinterpret_cast(type,a) reinterpret_cast(a) - -#ifdef HAVE_NUMERIC_CAST -#define swig_numeric_cast(type,a) numeric_cast(a) -#else -#define swig_numeric_cast(type,a) static_cast(a) +extern "C" { #endif -#else /* C case */ +/* ----------------------------------------------------------------------------- + * Create a new pointer string + * ----------------------------------------------------------------------------- */ -#define SWIGSTATICINLINE(a) static a -#define SWIGSTATIC(a) static a -#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) -#define swig_delete_array(cptr) free((char*)cptr) -#define swig_const_cast(type,a) (type)(a) -#define swig_static_cast(type,a) (type)(a) -#define swig_reinterpret_cast(type,a) (type)(a) -#define swig_numeric_cast(type,a) (type)(a) +#ifndef SWIG_BUFFER_SIZE +#define SWIG_BUFFER_SIZE 1024 +#endif -#endif /* __cplusplus */ +#if defined(SWIG_COBJECT_TYPES) +#if !defined(SWIG_COBJECT_PYTHON) +/* ----------------------------------------------------------------------------- + * Implements a simple Swig Object type, and use it instead of PyCObject + * ----------------------------------------------------------------------------- */ +typedef struct { + PyObject_HEAD + void *ptr; + const char *desc; +} PySwigObject; -#define SWIG_FromSignedChar PyInt_FromLong -#define SWIG_FromUnsignedChar PyInt_FromLong -#define SWIG_FromShort PyInt_FromLong -#define SWIG_FromUnsignedShort PyInt_FromLong -#define SWIG_FromInt PyInt_FromLong -#define SWIG_FromLong PyInt_FromLong -#define SWIG_FromFloat PyFloat_FromDouble -#define SWIG_FromDouble PyFloat_FromDouble -#define SWIG_FromFloat PyFloat_FromDouble -#define SWIG_FromDouble PyFloat_FromDouble +/* Declarations for objects of type PySwigObject */ +SWIGRUNTIME int +PySwigObject_print(PySwigObject *v, FILE *fp, int flags) +{ + char result[SWIG_BUFFER_SIZE]; + if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { + fputs("", fp); + return 0; + } else { + return 1; + } +} + +SWIGRUNTIME PyObject * +PySwigObject_repr(PySwigObject *v) +{ + char result[SWIG_BUFFER_SIZE]; + return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? + PyString_FromFormat("", result) : 0; +} -#include "wx/wxPython/wxPython.h" -#include "wx/wxPython/pyclasses.h" -#include +SWIGRUNTIME PyObject * +PySwigObject_str(PySwigObject *v) +{ + char result[SWIG_BUFFER_SIZE]; + return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? + PyString_FromString(result) : 0; +} +SWIGRUNTIME PyObject * +PySwigObject_long(PySwigObject *v) +{ + return PyLong_FromUnsignedLong((unsigned long) v->ptr); +} - static const wxString wxPySTCNameStr(wxSTCNameStr); +SWIGRUNTIME PyObject * +PySwigObject_oct(PySwigObject *v) +{ + char buf[100]; + unsigned long x = (unsigned long)v->ptr; + if (x == 0) + strcpy(buf, "0"); + else + PyOS_snprintf(buf, sizeof(buf), "0%lo", x); + return PyString_FromString(buf); +} -#include +SWIGRUNTIME PyObject * +PySwigObject_hex(PySwigObject *v) +{ + char buf[100]; + PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); + return PyString_FromString(buf); +} +SWIGRUNTIME int +PySwigObject_compare(PySwigObject *v, PySwigObject *w) +{ + int c = strcmp(v->desc, w->desc); + if (c) { + return c; + } else { + void *i = v->ptr; + void *j = w->ptr; + return (i < j) ? -1 : (i > j) ? 1 : 0; + } +} -SWIGSTATICINLINE(long) -SWIG_CheckLongInRange(long value, const char* type, - long min_value, long max_value) +SWIGRUNTIME void +PySwigObject_dealloc(PySwigObject *self) { - if (!PyErr_Occurred()) { - if (value < min_value) { - PyObject *err = - PyString_FromFormat("value %ld is less than '%s' minimum %ld", - value, type, min_value); - - PyErr_SetObject(PyExc_OverflowError, err); - Py_DECREF(err); - } else if (value > max_value) { - PyObject *err = - PyString_FromFormat("value %ld is greater than '%s' maximum %ld", - value, type, max_value); - PyErr_SetObject(PyExc_OverflowError, err); - Py_DECREF(err); - } + PyObject_DEL(self); +} + +SWIGRUNTIME PyTypeObject* +PySwigObject_GetType() { + static char PySwigObject_Type__doc__[] = + "Swig object carries a C/C++ instance pointer"; + + static PyNumberMethods PySwigObject_as_number = { + (binaryfunc)0, /*nb_add*/ + (binaryfunc)0, /*nb_subtract*/ + (binaryfunc)0, /*nb_multiply*/ + (binaryfunc)0, /*nb_divide*/ + (binaryfunc)0, /*nb_remainder*/ + (binaryfunc)0, /*nb_divmod*/ + (ternaryfunc)0,/*nb_power*/ + (unaryfunc)0, /*nb_negative*/ + (unaryfunc)0, /*nb_positive*/ + (unaryfunc)0, /*nb_absolute*/ + (inquiry)0, /*nb_nonzero*/ + 0, /*nb_invert*/ + 0, /*nb_lshift*/ + 0, /*nb_rshift*/ + 0, /*nb_and*/ + 0, /*nb_xor*/ + 0, /*nb_or*/ + (coercion)0, /*nb_coerce*/ + (unaryfunc)PySwigObject_long, /*nb_int*/ + (unaryfunc)PySwigObject_long, /*nb_long*/ + (unaryfunc)0, /*nb_float*/ + (unaryfunc)PySwigObject_oct, /*nb_oct*/ + (unaryfunc)PySwigObject_hex, /*nb_hex*/ +#if PY_VERSION_HEX >= 0x02000000 + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ +#endif + }; + + static int type_init = 0; + static PyTypeObject PySwigObject_Type; + + if (!type_init) { + PyTypeObject tmp = { + PyObject_HEAD_INIT(&PyType_Type) + 0, /*ob_size*/ + "PySwigObject", /*tp_name*/ + sizeof(PySwigObject), /*tp_basicsize*/ + 0, /*tp_itemsize*/ + /* methods */ + (destructor)PySwigObject_dealloc, /*tp_dealloc*/ + (printfunc)PySwigObject_print, /*tp_print*/ + (getattrfunc)0, /*tp_getattr*/ + (setattrfunc)0, /*tp_setattr*/ + (cmpfunc)PySwigObject_compare, /*tp_compare*/ + (reprfunc)PySwigObject_repr, /*tp_repr*/ + &PySwigObject_as_number, /*tp_as_number*/ + 0, /*tp_as_sequence*/ + 0, /*tp_as_mapping*/ + (hashfunc)0, /*tp_hash*/ + (ternaryfunc)0, /*tp_call*/ + (reprfunc)PySwigObject_str, /*tp_str*/ + /* Space for future expansion */ + 0L,0L,0L,0L, + PySwigObject_Type__doc__, /* Documentation string */ +#if PY_VERSION_HEX >= 0x02000000 + 0, /* tp_traverse */ + 0, /* tp_clear */ +#endif +#if PY_VERSION_HEX >= 0x02010000 + 0, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ +#endif +#if PY_VERSION_HEX >= 0x02020000 + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ +#endif +#if PY_VERSION_HEX >= 0x02030000 + 0, /* tp_del */ +#endif +#ifdef COUNT_ALLOCS + 0,0,0,0 /* tp_alloc -> tp_next */ +#endif + }; + + PySwigObject_Type = tmp; + type_init = 1; } - return value; + + return &PySwigObject_Type; } +SWIGRUNTIME PyObject * +PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) +{ + PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); + if (self == NULL) return NULL; + self->ptr = ptr; + self->desc = desc; + return (PyObject *)self; +} -SWIGSTATICINLINE(long) -SWIG_AsLong(PyObject * obj) +SWIGRUNTIMEINLINE void * +PySwigObject_AsVoidPtr(PyObject *self) { - if (PyNumber_Check(obj)) - return PyInt_AsLong(obj); - else { - PyObject* errmsg = PyString_FromFormat("Expected number, got %s", - obj->ob_type->tp_name); - PyErr_SetObject(PyExc_TypeError, errmsg); - Py_DECREF(errmsg); - return 0; - } + return ((PySwigObject *)self)->ptr; } +SWIGRUNTIMEINLINE const char * +PySwigObject_GetDesc(PyObject *self) +{ + return ((PySwigObject *)self)->desc; +} -#if INT_MAX != LONG_MAX -SWIGSTATICINLINE(int) -SWIG_AsInt(PyObject *obj) -{ - return swig_numeric_cast(int, - SWIG_CheckLongInRange(SWIG_AsLong(obj), - "int", INT_MIN, INT_MAX)); +SWIGRUNTIMEINLINE int +PySwigObject_Check(PyObject *op) { + return ((op)->ob_type == PySwigObject_GetType()) + || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); } -#else -#define SWIG_AsInt SWIG_AsLong -#endif +/* ----------------------------------------------------------------------------- + * Implements a simple Swig Packed type, and use it instead of string + * ----------------------------------------------------------------------------- */ + +typedef struct { + PyObject_HEAD + void *pack; + const char *desc; + size_t size; +} PySwigPacked; -SWIGSTATICINLINE(int) -SWIG_CheckInt(PyObject* obj) +SWIGRUNTIME int +PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) { - SWIG_AsInt(obj); - if (PyErr_Occurred()) { - PyErr_Clear(); - return 0; - } else { - return 1; + char result[SWIG_BUFFER_SIZE]; + fputs("pack, v->size, 0, sizeof(result))) { + fputs("at ", fp); + fputs(result, fp); } + fputs(v->desc,fp); + fputs(">", fp); + return 0; } - - -SWIGSTATICINLINE(int) -SWIG_CheckLong(PyObject* obj) + +SWIGRUNTIME PyObject * +PySwigPacked_repr(PySwigPacked *v) { - SWIG_AsLong(obj); - if (PyErr_Occurred()) { - PyErr_Clear(); - return 0; + char result[SWIG_BUFFER_SIZE]; + if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { + return PyString_FromFormat("", result, v->desc); } else { - return 1; - } + return PyString_FromFormat("", v->desc); + } } - -SWIGSTATICINLINE(bool) -SWIG_AsBool(PyObject *obj) +SWIGRUNTIME PyObject * +PySwigPacked_str(PySwigPacked *v) { - return PyObject_IsTrue(obj) ? true : false; + char result[SWIG_BUFFER_SIZE]; + if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ + return PyString_FromFormat("%s%s", result, v->desc); + } else { + return PyString_FromFormat("%s", v->desc); + } } - -SWIGSTATICINLINE(int) -SWIG_CheckBool(PyObject* obj) +SWIGRUNTIME int +PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) { - SWIG_AsBool(obj); - if (PyErr_Occurred()) { - PyErr_Clear(); - return 0; + int c = strcmp(v->desc, w->desc); + if (c) { + return c; } else { - return 1; + size_t i = v->size; + size_t j = w->size; + int s = (i < j) ? -1 : (i > j) ? 1 : 0; + return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); } } +SWIGRUNTIME void +PySwigPacked_dealloc(PySwigPacked *self) +{ + free(self->pack); + PyObject_DEL(self); +} + +SWIGRUNTIME PyTypeObject* +PySwigPacked_GetType() { + static char PySwigPacked_Type__doc__[] = + "Swig object carries a C/C++ instance pointer"; + static int type_init = 0; + + static PyTypeObject PySwigPacked_Type; + if (!type_init) { + PyTypeObject tmp = { + PyObject_HEAD_INIT(&PyType_Type) + 0, /*ob_size*/ + "PySwigPacked", /*tp_name*/ + sizeof(PySwigPacked), /*tp_basicsize*/ + 0, /*tp_itemsize*/ + /* methods */ + (destructor)PySwigPacked_dealloc, /*tp_dealloc*/ + (printfunc)PySwigPacked_print, /*tp_print*/ + (getattrfunc)0, /*tp_getattr*/ + (setattrfunc)0, /*tp_setattr*/ + (cmpfunc)PySwigPacked_compare, /*tp_compare*/ + (reprfunc)PySwigPacked_repr, /*tp_repr*/ + 0, /*tp_as_number*/ + 0, /*tp_as_sequence*/ + 0, /*tp_as_mapping*/ + (hashfunc)0, /*tp_hash*/ + (ternaryfunc)0, /*tp_call*/ + (reprfunc)PySwigPacked_str, /*tp_str*/ + /* Space for future expansion */ + 0L,0L,0L,0L, + PySwigPacked_Type__doc__, /* Documentation string */ +#if PY_VERSION_HEX >= 0x02000000 + 0, /* tp_traverse */ + 0, /* tp_clear */ +#endif +#if PY_VERSION_HEX >= 0x02010000 + 0, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ +#endif +#if PY_VERSION_HEX >= 0x02020000 + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ +#endif +#if PY_VERSION_HEX >= 0x02030000 + 0, /* tp_del */ +#endif +#ifdef COUNT_ALLOCS + 0,0,0,0 /* tp_alloc -> tp_next */ +#endif + }; -static PyObject* t_output_helper(PyObject* target, PyObject* o) { - PyObject* o2; - PyObject* o3; - - if (!target) { - target = o; - } else if (target == Py_None) { - Py_DECREF(Py_None); - target = o; - } else { - if (!PyTuple_Check(target)) { - o2 = target; - target = PyTuple_New(1); - PyTuple_SetItem(target, 0, o2); - } - o3 = PyTuple_New(1); - PyTuple_SetItem(o3, 0, o); + PySwigPacked_Type = tmp; + type_init = 1; + } + + - o2 = target; - target = PySequence_Concat(o2, o3); - Py_DECREF(o2); - Py_DECREF(o3); - } - return target; + return &PySwigPacked_Type; } - -/* returns '1' if the input is a raw char*, '0' if is a PyString */ -SWIGSTATIC(int) -SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size) +SWIGRUNTIME PyObject * +PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) { - static swig_type_info* pchar_info = 0; - int psize = 0; - if (!pchar_info) pchar_info = SWIG_TypeQuery("char *"); - - if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) { - PyErr_Clear(); - PyString_AsStringAndSize(obj, cptr, &psize); - if (PyErr_Occurred()) { - PyErr_Clear(); - PyErr_SetString(PyExc_TypeError,"a string is expected"); - } - if (size) *size = psize; - return 0; + PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); + if (self == NULL) { + return NULL; } else { - if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0; - return 1; + void *pack = malloc(size); + memcpy(pack, ptr, size); + self->pack = pack; + self->desc = desc; + self->size = size; + return (PyObject *) self; } } - -SWIGSTATICINLINE(char* ) -SWIG_AsCharPtr(PyObject *obj) +SWIGRUNTIMEINLINE const char * +PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) { - char* cptr; - SWIG_AsCharPtrAndSize(obj, &cptr, 0); - if (PyErr_Occurred()) { - PyErr_Clear(); - PyErr_SetString(PyExc_TypeError, "a char* is expected"); - } - return cptr; + PySwigPacked *self = (PySwigPacked *)obj; + if (self->size != size) return 0; + memcpy(ptr, self->pack, size); + return self->desc; } -#ifdef __cplusplus -extern "C" { -#endif -static int _wrap_STCNameStr_set(PyObject *) { - PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only."); - return 1; +SWIGRUNTIMEINLINE const char * +PySwigPacked_GetDesc(PyObject *self) +{ + return ((PySwigPacked *)self)->desc; } +SWIGRUNTIMEINLINE int +PySwigPacked_Check(PyObject *op) { + return ((op)->ob_type == PySwigPacked_GetType()) + || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); +} -static PyObject *_wrap_STCNameStr_get() { - PyObject *pyobj; - - { -#if wxUSE_UNICODE - pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); #else - pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); +/* ----------------------------------------------------------------------------- + * Use the old Python PyCObject instead of PySwigObject + * ----------------------------------------------------------------------------- */ + +#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj) +#define PySwigObject_Check(obj) PyCObject_Check(obj) +#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj) +#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL) + +#endif + +#endif + +/* ----------------------------------------------------------------------------- + * errors manipulation + * ----------------------------------------------------------------------------- */ + +SWIGRUNTIME void +SWIG_Python_TypeError(const char *type, PyObject *obj) +{ + if (type) { +#if defined(SWIG_COBJECT_TYPES) + if (PySwigObject_Check(obj)) { + const char *otype = (const char *) PySwigObject_GetDesc(obj); + if (otype) { + PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", + type, otype); + return; + } + } else +#endif + { + const char *otype = (obj ? obj->ob_type->tp_name : 0); + if (otype) { + PyObject *str = PyObject_Str(obj); + const char *cstr = str ? PyString_AsString(str) : 0; + if (cstr) { + PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", + type, otype, cstr); + } else { + PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", + type, otype); + } + Py_DECREF(str); + return; + } + } + PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); + } else { + PyErr_Format(PyExc_TypeError, "unexpected type is received"); + } +} + +SWIGRUNTIMEINLINE void +SWIG_Python_NullRef(const char *type) +{ + if (type) { + PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type); + } else { + PyErr_Format(PyExc_TypeError, "null reference was received"); + } +} + +SWIGRUNTIME int +SWIG_Python_AddErrMesg(const char* mesg, int infront) +{ + if (PyErr_Occurred()) { + PyObject *type = 0; + PyObject *value = 0; + PyObject *traceback = 0; + PyErr_Fetch(&type, &value, &traceback); + if (value) { + PyObject *old_str = PyObject_Str(value); + Py_XINCREF(type); + PyErr_Clear(); + if (infront) { + PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); + } else { + PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); + } + Py_DECREF(old_str); + } + return 1; + } else { + return 0; + } +} + +SWIGRUNTIME int +SWIG_Python_ArgFail(int argnum) +{ + if (PyErr_Occurred()) { + /* add information about failing argument */ + char mesg[256]; + sprintf(mesg, "argument number %d:", argnum); + return SWIG_Python_AddErrMesg(mesg, 1); + } else { + return 0; + } +} + + +/* ----------------------------------------------------------------------------- + * pointers/data manipulation + * ----------------------------------------------------------------------------- */ + +/* Convert a pointer value */ +SWIGRUNTIME int +SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { + swig_type_info *tc; + const char *c = 0; + static PyObject *SWIG_this = 0; + int newref = 0; + PyObject *pyobj = 0; + void *vptr; + + if (!obj) return 0; + if (obj == Py_None) { + *ptr = 0; + return 0; + } + +#ifdef SWIG_COBJECT_TYPES + if (!(PySwigObject_Check(obj))) { + if (!SWIG_this) + SWIG_this = PyString_FromString("this"); + pyobj = obj; + obj = PyObject_GetAttr(obj,SWIG_this); + newref = 1; + if (!obj) goto type_error; + if (!PySwigObject_Check(obj)) { + Py_DECREF(obj); + goto type_error; + } + } + vptr = PySwigObject_AsVoidPtr(obj); + c = (const char *) PySwigObject_GetDesc(obj); + if (newref) { Py_DECREF(obj); } + goto type_check; +#else + if (!(PyString_Check(obj))) { + if (!SWIG_this) + SWIG_this = PyString_FromString("this"); + pyobj = obj; + obj = PyObject_GetAttr(obj,SWIG_this); + newref = 1; + if (!obj) goto type_error; + if (!PyString_Check(obj)) { + Py_DECREF(obj); + goto type_error; + } + } + c = PyString_AS_STRING(obj); + /* Pointer values must start with leading underscore */ + c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); + if (newref) { Py_DECREF(obj); } + if (!c) goto type_error; +#endif + +type_check: + + if (ty) { + tc = SWIG_TypeCheck(c,ty); + if (!tc) goto type_error; + *ptr = SWIG_TypeCast(tc,vptr); + } else { + *ptr = vptr; + } + + if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { + PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); + } + return 0; + +type_error: + PyErr_Clear(); + if (pyobj && !obj) { + obj = pyobj; + if (PyCFunction_Check(obj)) { + /* here we get the method pointer for callbacks */ + char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); + c = doc ? strstr(doc, "swig_ptr: ") : 0; + if (c) { + c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); + if (!c) goto type_error; + goto type_check; + } + } + } + if (flags & SWIG_POINTER_EXCEPTION) { + if (ty) { + SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); + } else { + SWIG_Python_TypeError("C/C++ pointer", obj); + } + } + return -1; +} + +/* Convert a pointer value, signal an exception on a type mismatch */ +SWIGRUNTIME void * +SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { + void *result; + if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { + PyErr_Clear(); + if (flags & SWIG_POINTER_EXCEPTION) { + SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); + SWIG_Python_ArgFail(argnum); + } + } + return result; +} + +/* Convert a packed value value */ +SWIGRUNTIME int +SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { + swig_type_info *tc; + const char *c = 0; + +#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) + c = PySwigPacked_UnpackData(obj, ptr, sz); +#else + if ((!obj) || (!PyString_Check(obj))) goto type_error; + c = PyString_AS_STRING(obj); + /* Pointer values must start with leading underscore */ + c = SWIG_UnpackDataName(c, ptr, sz, ty->name); +#endif + if (!c) goto type_error; + if (ty) { + tc = SWIG_TypeCheck(c,ty); + if (!tc) goto type_error; + } + return 0; + +type_error: + PyErr_Clear(); + if (flags & SWIG_POINTER_EXCEPTION) { + if (ty) { + SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); + } else { + SWIG_Python_TypeError("C/C++ packed data", obj); + } + } + return -1; +} + +/* Create a new array object */ +SWIGRUNTIME PyObject * +SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { + PyObject *robj = 0; + if (!ptr) { + Py_INCREF(Py_None); + return Py_None; + } +#ifdef SWIG_COBJECT_TYPES + robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name); +#else + { + char result[SWIG_BUFFER_SIZE]; + robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ? + PyString_FromString(result) : 0; + } +#endif + if (!robj || (robj == Py_None)) return robj; + if (type->clientdata) { + PyObject *inst; + PyObject *args = Py_BuildValue((char*)"(O)", robj); + Py_DECREF(robj); + inst = PyObject_CallObject((PyObject *) type->clientdata, args); + Py_DECREF(args); + if (inst) { + if (own) { + PyObject_SetAttrString(inst,(char*)"thisown",Py_True); + } + robj = inst; + } + } + return robj; +} + +SWIGRUNTIME PyObject * +SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { + PyObject *robj = 0; + if (!ptr) { + Py_INCREF(Py_None); + return Py_None; + } +#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) + robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name); +#else + { + char result[SWIG_BUFFER_SIZE]; + robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ? + PyString_FromString(result) : 0; + } +#endif + return robj; +} + +/* -----------------------------------------------------------------------------* + * Get type list + * -----------------------------------------------------------------------------*/ + +#ifdef SWIG_LINK_RUNTIME +void *SWIG_ReturnGlobalTypeList(void *); +#endif + +SWIGRUNTIME swig_type_info ** +SWIG_Python_GetTypeListHandle() { + static void *type_pointer = (void *)0; + /* first check if module already created */ + if (!type_pointer) { +#ifdef SWIG_LINK_RUNTIME + type_pointer = SWIG_ReturnGlobalTypeList((void *)0); +#else + type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, + (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); + if (PyErr_Occurred()) { + PyErr_Clear(); + type_pointer = (void *)0; + } + } +#endif + return (swig_type_info **) type_pointer; +} + +/* + Search for a swig_type_info structure + */ +SWIGRUNTIMEINLINE swig_type_info * +SWIG_Python_GetTypeList() { + swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); + return tlh ? *tlh : (swig_type_info*)0; +} + +#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList + +#ifdef __cplusplus +} +#endif + + +/* -------- TYPES TABLE (BEGIN) -------- */ + +#define SWIGTYPE_p_wxRect swig_types[0] +#define SWIGTYPE_p_wxObject swig_types[1] +#define SWIGTYPE_p_unsigned_char swig_types[2] +#define SWIGTYPE_p_wxColour swig_types[3] +#define SWIGTYPE_p_wxScrollBar swig_types[4] +#define SWIGTYPE_p_wxStyledTextEvent swig_types[5] +#define SWIGTYPE_p_wxWindow swig_types[6] +#define SWIGTYPE_p_wxCommandEvent swig_types[7] +#define SWIGTYPE_p_unsigned_long swig_types[8] +#define SWIGTYPE_p_wxBitmap swig_types[9] +#define SWIGTYPE_p_unsigned_int swig_types[10] +#define SWIGTYPE_unsigned_int swig_types[11] +#define SWIGTYPE_p_form_ops_t swig_types[12] +#define SWIGTYPE_p_wxDuplexMode swig_types[13] +#define SWIGTYPE_p_void swig_types[14] +#define SWIGTYPE_p_char swig_types[15] +#define SWIGTYPE_p_wxPoint swig_types[16] +#define SWIGTYPE_p_wxDC swig_types[17] +#define SWIGTYPE_p_wxEvtHandler swig_types[18] +#define SWIGTYPE_std__ptrdiff_t swig_types[19] +#define SWIGTYPE_ptrdiff_t swig_types[20] +#define SWIGTYPE_p_wxStyledTextCtrl swig_types[21] +#define SWIGTYPE_p_wxFont swig_types[22] +#define SWIGTYPE_p_wxControl swig_types[23] +#define SWIGTYPE_p_wxEvent swig_types[24] +#define SWIGTYPE_p_wxPaperSize swig_types[25] +#define SWIGTYPE_p_int swig_types[26] +#define SWIGTYPE_p_wxMemoryBuffer swig_types[27] +static swig_type_info *swig_types[29]; + +/* -------- TYPES TABLE (END) -------- */ + + +/*----------------------------------------------- + @(target):= _stc.so + ------------------------------------------------*/ +#define SWIG_init init_stc + +#define SWIG_name "_stc" + +#include "wx/wxPython/wxPython.h" +#include "wx/wxPython/pyclasses.h" +#include + + + static const wxString wxPySTCNameStr(wxSTCNameStr); + + /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +#define SWIG_From_int PyInt_FromLong +/*@@*/ + + +#include + + +SWIGINTERN int + SWIG_CheckLongInRange(long value, long min_value, long max_value, + const char *errmsg) +{ + if (value < min_value) { + if (errmsg) { + PyErr_Format(PyExc_OverflowError, + "value %ld is less than '%s' minimum %ld", + value, errmsg, min_value); + } + return 0; + } else if (value > max_value) { + if (errmsg) { + PyErr_Format(PyExc_OverflowError, + "value %ld is greater than '%s' maximum %ld", + value, errmsg, max_value); + } + return 0; + } + return 1; +} + + +SWIGINTERN int +SWIG_AsVal_long(PyObject* obj, long* val) +{ + if (PyNumber_Check(obj)) { + if (val) *val = PyInt_AsLong(obj); + return 1; + } + else { + SWIG_type_error("number", obj); + } + return 0; +} + + +#if INT_MAX != LONG_MAX +SWIGINTERN int + SWIG_AsVal_int(PyObject *obj, int *val) +{ + const char* errmsg = val ? "int" : (char*)0; + long v; + if (SWIG_AsVal_long(obj, &v)) { + if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { + if (val) *val = (int)(v); + return 1; + } else { + return 0; + } + } else { + PyErr_Clear(); + } + if (val) { + SWIG_type_error(errmsg, obj); + } + return 0; +} +#else +SWIGINTERNSHORT int + SWIG_AsVal_int(PyObject *obj, int *val) +{ + return SWIG_AsVal_long(obj,(long*)val); +} +#endif + + +SWIGINTERNSHORT int +SWIG_As_int(PyObject* obj) +{ + int v; + if (!SWIG_AsVal_int(obj, &v)) { + /* + this is needed to make valgrind/purify happier. + */ + memset((void*)&v, 0, sizeof(int)); + } + return v; +} + + +SWIGINTERNSHORT long +SWIG_As_long(PyObject* obj) +{ + long v; + if (!SWIG_AsVal_long(obj, &v)) { + /* + this is needed to make valgrind/purify happier. + */ + memset((void*)&v, 0, sizeof(long)); + } + return v; +} + + +SWIGINTERNSHORT int +SWIG_Check_int(PyObject* obj) +{ + return SWIG_AsVal_int(obj, (int*)0); +} + + +SWIGINTERNSHORT int +SWIG_Check_long(PyObject* obj) +{ + return SWIG_AsVal_long(obj, (long*)0); +} + + +SWIGINTERN int + SWIG_AsVal_bool(PyObject *obj, bool *val) +{ + if (obj == Py_True) { + if (val) *val = true; + return 1; + } + if (obj == Py_False) { + if (val) *val = false; + return 1; + } + int res = 0; + if (SWIG_AsVal_int(obj, &res)) { + if (val) *val = res ? true : false; + return 1; + } else { + PyErr_Clear(); + } + if (val) { + SWIG_type_error("bool", obj); + } + return 0; +} + + +SWIGINTERNSHORT bool +SWIG_As_bool(PyObject* obj) +{ + bool v; + if (!SWIG_AsVal_bool(obj, &v)) { + /* + this is needed to make valgrind/purify happier. + */ + memset((void*)&v, 0, sizeof(bool)); + } + return v; +} + + +SWIGINTERNSHORT int +SWIG_Check_bool(PyObject* obj) +{ + return SWIG_AsVal_bool(obj, (bool*)0); +} + + + static PyObject* t_output_helper(PyObject* target, PyObject* o) { + PyObject* o2; + PyObject* o3; + + if (!target) { + target = o; + } else if (target == Py_None) { + Py_DECREF(Py_None); + target = o; + } else { + if (!PyTuple_Check(target)) { + o2 = target; + target = PyTuple_New(1); + PyTuple_SetItem(target, 0, o2); + } + o3 = PyTuple_New(1); + PyTuple_SetItem(o3, 0, o); + + o2 = target; + target = PySequence_Concat(o2, o3); + Py_DECREF(o2); + Py_DECREF(o3); + } + return target; + } + + + +/* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */ +SWIGINTERN int +SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize) +{ + static swig_type_info* pchar_info = 0; + char* vptr = 0; + if (!pchar_info) pchar_info = SWIG_TypeQuery("char *"); + if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) { + if (cptr) *cptr = vptr; + if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0; + return SWIG_OLDOBJ; + } else { + PyErr_Clear(); + if (PyString_Check(obj)) { + if (cptr) { + *cptr = PyString_AS_STRING(obj); + if (psize) { + *psize = PyString_GET_SIZE(obj) + 1; + } + } + return SWIG_PYSTR; + } + } + if (cptr) { + SWIG_type_error("char *", obj); + } + return 0; +} + + +SWIGINTERNSHORT int +SWIG_AsCharPtr(PyObject *obj, char **val) +{ + if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) { + return 1; + } + if (val) { + PyErr_Clear(); + SWIG_type_error("char *", obj); + } + return 0; +} + + + /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +#define SWIG_From_long PyInt_FromLong +/*@@*/ + +#ifdef __cplusplus +extern "C" { +#endif +static int _wrap_STCNameStr_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only."); + return 1; +} + + +static PyObject *_wrap_STCNameStr_get(void) { + PyObject *pyobj; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); #endif } return pyobj; @@ -477,7 +1650,7 @@ static PyObject *_wrap_STCNameStr_get() { static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - int arg2 ; + int arg2 = (int) wxID_ANY ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -488,7 +1661,7 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject * wxStyledTextCtrl *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = False ; + bool temp6 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -499,12 +1672,16 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject * (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - if (obj2) { + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (obj1) { + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + if (obj2) { { arg3 = &temp3; if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; @@ -517,17 +1694,20 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject * } } if (obj4) { - arg5 = (long) SWIG_AsLong(obj4); - if (PyErr_Occurred()) SWIG_fail; + { + arg5 = (long)(SWIG_As_long(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } } if (obj5) { { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = True; + temp6 = true; } } { + if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); @@ -558,6 +1738,7 @@ static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail; { + if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxStyledTextCtrl *)new wxStyledTextCtrl(); @@ -575,7 +1756,7 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObjec PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - int arg3 ; + int arg3 = (int) wxID_ANY ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -585,7 +1766,7 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObjec wxString *arg7 = (wxString *) &arg7_defvalue ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = False ; + bool temp7 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -597,13 +1778,17 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (obj2) { + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } if (obj3) { { arg4 = &temp4; @@ -617,14 +1802,16 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObjec } } if (obj5) { - arg6 = (long) SWIG_AsLong(obj5); - if (PyErr_Occurred()) SWIG_fail; + { + arg6 = (long)(SWIG_As_long(obj5)); + if (SWIG_arg_fail(6)) SWIG_fail; + } } if (obj6) { { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = True; + temp7 = true; } } { @@ -653,7 +1840,7 @@ static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObje PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -661,12 +1848,12 @@ static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -694,7 +1881,7 @@ static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxMemoryBuffer *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -702,8 +1889,8 @@ static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { if (!PyString_Check(obj1)) { PyErr_SetString(PyExc_TypeError, "String buffer expected"); @@ -712,8 +1899,9 @@ static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, char* str = PyString_AS_STRING(obj1); int len = PyString_GET_SIZE(obj1); arg2 = new wxMemoryBuffer(len); - temp2 = True; + temp2 = true; memcpy(arg2->GetData(), str, len); + arg2->SetDataLen(len); } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -740,7 +1928,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyO wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -749,14 +1937,16 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -789,8 +1979,8 @@ static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ClearAll(); @@ -814,8 +2004,8 @@ static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ClearDocumentStyle(); @@ -840,8 +2030,8 @@ static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLength(); @@ -849,7 +2039,9 @@ static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -868,10 +2060,12 @@ static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetCharAt(arg2); @@ -879,7 +2073,9 @@ static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -896,8 +2092,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetCurrentPos(); @@ -905,7 +2101,9 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -922,8 +2120,8 @@ static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetAnchor(); @@ -931,7 +2129,9 @@ static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -950,10 +2150,12 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetStyleAt(arg2); @@ -961,7 +2163,9 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -977,8 +2181,8 @@ static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Redo(); @@ -1004,10 +2208,12 @@ static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetUndoCollection(arg2); @@ -1031,8 +2237,8 @@ static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SelectAll(); @@ -1056,8 +2262,8 @@ static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSavePoint(); @@ -1086,12 +2292,16 @@ static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetStyledText(arg2,arg3); @@ -1118,8 +2328,8 @@ static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->CanRedo(); @@ -1148,10 +2358,12 @@ static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->MarkerLineFromHandle(arg2); @@ -1159,7 +2371,9 @@ static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -1177,10 +2391,12 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->MarkerDeleteHandle(arg2); @@ -1205,8 +2421,8 @@ static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetUndoCollection(); @@ -1233,8 +2449,8 @@ static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetViewWhiteSpace(); @@ -1242,7 +2458,9 @@ static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -1260,10 +2478,12 @@ static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetViewWhiteSpace(arg2); @@ -1283,7 +2503,6 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *ar wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxPoint arg2 ; int result; - wxPoint *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1291,11 +2510,18 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint, - SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + wxPoint * argp; + SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION); + if (SWIG_arg_fail(2)) SWIG_fail; + if (argp == NULL) { + SWIG_null_ref("wxPoint"); + } + if (SWIG_arg_fail(2)) SWIG_fail; + arg2 = *argp; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->PositionFromPoint(arg2); @@ -1303,7 +2529,9 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -1324,12 +2552,16 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->PositionFromPointClose(arg2,arg3); @@ -1337,7 +2569,9 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObjec wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -1355,10 +2589,12 @@ static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->GotoLine(arg2); @@ -1384,10 +2620,12 @@ static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->GotoPos(arg2); @@ -1413,10 +2651,12 @@ static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetAnchor(arg2); @@ -1437,15 +2677,16 @@ static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyO int *arg2 = (int *) 0 ; wxString result; int temp2 ; + int res2 = 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - arg2 = &temp2; + arg2 = &temp2; res2 = SWIG_NEWOBJ; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetCurLine(arg2); @@ -1460,10 +2701,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyO resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); #endif } - { - PyObject *o = PyInt_FromLong((long) (*arg2)); - resultobj = t_output_helper(resultobj,o); - } + resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? + SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); return resultobj; fail: return NULL; @@ -1480,8 +2719,8 @@ static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetEndStyled(); @@ -1489,7 +2728,9 @@ static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -1507,10 +2748,12 @@ static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ConvertEOLs(arg2); @@ -1535,8 +2778,8 @@ static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetEOLMode(); @@ -1544,7 +2787,9 @@ static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -1562,10 +2807,12 @@ static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetEOLMode(arg2); @@ -1593,12 +2840,16 @@ static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StartStyling(arg2,arg3); @@ -1626,12 +2877,16 @@ static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetStyling(arg2,arg3); @@ -1656,8 +2911,8 @@ static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetBufferedDraw(); @@ -1685,10 +2940,12 @@ static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetBufferedDraw(arg2); @@ -1714,10 +2971,12 @@ static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetTabWidth(arg2); @@ -1742,8 +3001,8 @@ static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetTabWidth(); @@ -1751,7 +3010,9 @@ static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -1769,10 +3030,12 @@ static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetCodePage(arg2); @@ -1808,12 +3071,16 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } if (obj3) { { arg4 = &temp4; @@ -1854,10 +3121,12 @@ static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -1890,10 +3159,12 @@ static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -1926,12 +3197,16 @@ static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->MarkerAdd(arg2,arg3); @@ -1939,7 +3214,9 @@ static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -1959,12 +3236,16 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->MarkerDelete(arg2,arg3); @@ -1990,10 +3271,12 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->MarkerDeleteAll(arg2); @@ -2020,10 +3303,12 @@ static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->MarkerGet(arg2); @@ -2031,7 +3316,9 @@ static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -2052,12 +3339,16 @@ static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->MarkerNext(arg2,arg3); @@ -2065,7 +3356,9 @@ static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -2086,12 +3379,16 @@ static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->MarkerPrevious(arg2,arg3); @@ -2099,7 +3396,9 @@ static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -2119,16 +3418,19 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap, - SWIG_POINTER_EXCEPTION | 0)) == -1) - SWIG_fail; - if (arg3 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); - SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(3)) SWIG_fail; + if (arg3 == NULL) { + SWIG_null_ref("wxBitmap"); + } + if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2157,12 +3459,16 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMarginType(arg2,arg3); @@ -2189,10 +3495,12 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMarginType(arg2); @@ -2200,7 +3508,9 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -2220,12 +3530,16 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMarginWidth(arg2,arg3); @@ -2252,10 +3566,12 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMarginWidth(arg2); @@ -2263,7 +3579,9 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -2283,12 +3601,16 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMarginMask(arg2,arg3); @@ -2315,10 +3637,12 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMarginMask(arg2); @@ -2326,7 +3650,9 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -2346,12 +3672,16 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (bool) SWIG_AsBool(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (bool)(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMarginSensitive(arg2,arg3); @@ -2378,10 +3708,12 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetMarginSensitive(arg2); @@ -2407,8 +3739,8 @@ static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleClearAll(); @@ -2437,10 +3769,12 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -2473,10 +3807,12 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -2508,12 +3844,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (bool) SWIG_AsBool(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (bool)(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetBold(arg2,arg3); @@ -2541,12 +3881,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (bool) SWIG_AsBool(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (bool)(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetItalic(arg2,arg3); @@ -2574,12 +3918,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetSize(arg2,arg3); @@ -2599,7 +3947,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *arg wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2608,14 +3956,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2652,12 +4002,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (bool) SWIG_AsBool(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (bool)(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetEOLFilled(arg2,arg3); @@ -2681,8 +4035,8 @@ static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleResetDefault(); @@ -2710,12 +4064,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (bool) SWIG_AsBool(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (bool)(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetUnderline(arg2,arg3); @@ -2743,12 +4101,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetCase(arg2,arg3); @@ -2776,12 +4138,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetCharacterSet(arg2,arg3); @@ -2809,12 +4175,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (bool) SWIG_AsBool(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (bool)(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetHotSpot(arg2,arg3); @@ -2843,10 +4213,12 @@ static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -2879,10 +4251,12 @@ static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -2913,8 +4287,8 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = &temp2; if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; @@ -2948,14 +4322,20 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; - arg4 = (int) SWIG_AsInt(obj3); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + { + arg4 = (int)(SWIG_As_int(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CmdKeyAssign(arg2,arg3,arg4); @@ -2983,12 +4363,16 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CmdKeyClear(arg2,arg3); @@ -3012,8 +4396,8 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CmdKeyClearAll(); @@ -3032,7 +4416,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; - char *arg3 ; + char *arg3 = (char *) 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -3041,12 +4425,15 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = SWIG_AsCharPtr(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { + SWIG_arg_fail(3);SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetStyleBytes(arg2,arg3); @@ -3074,12 +4461,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (bool) SWIG_AsBool(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (bool)(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetVisible(arg2,arg3); @@ -3104,8 +4495,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetCaretPeriod(); @@ -3113,7 +4504,9 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -3131,10 +4524,12 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetCaretPeriod(arg2); @@ -3153,7 +4548,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, P PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3161,12 +4556,12 @@ static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3199,8 +4594,8 @@ static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->BeginUndoAction(); @@ -3224,8 +4619,8 @@ static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->EndUndoAction(); @@ -3253,12 +4648,16 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->IndicatorSetStyle(arg2,arg3); @@ -3285,10 +4684,12 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->IndicatorGetStyle(arg2); @@ -3296,7 +4697,9 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -3317,10 +4720,12 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -3351,10 +4756,12 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->IndicatorGetForeground(arg2); @@ -3364,7 +4771,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObjec } { wxColour * resultptr; - resultptr = new wxColour((wxColour &) result); + resultptr = new wxColour((wxColour &)(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3387,10 +4794,12 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -3423,10 +4832,12 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -3456,10 +4867,12 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetStyleBits(arg2); @@ -3484,8 +4897,8 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetStyleBits(); @@ -3493,7 +4906,9 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -3513,12 +4928,16 @@ static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLineState(arg2,arg3); @@ -3545,10 +4964,12 @@ static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLineState(arg2); @@ -3556,7 +4977,9 @@ static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -3573,8 +4996,8 @@ static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMaxLineState(); @@ -3582,7 +5005,9 @@ static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -3599,8 +5024,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetCaretLineVisible(); @@ -3628,10 +5053,12 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetCaretLineVisible(arg2); @@ -3656,8 +5083,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetCaretLineBack(); @@ -3667,7 +5094,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *arg } { wxColour * resultptr; - resultptr = new wxColour((wxColour &) result); + resultptr = new wxColour((wxColour &)(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3688,8 +5115,8 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = &temp2; if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; @@ -3721,15 +5148,19 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (bool) SWIG_AsBool(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->StyleSetChangeable(arg2,arg3); + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (bool)(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->StyleSetChangeable(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3746,7 +5177,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, P wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -3755,14 +5186,16 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3795,8 +5228,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompCancel(); @@ -3821,8 +5254,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->AutoCompActive(); @@ -3849,8 +5282,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->AutoCompPosStart(); @@ -3858,7 +5291,9 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -3874,8 +5309,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompComplete(); @@ -3894,7 +5329,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3902,12 +5337,12 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3942,10 +5377,12 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompSetSeparator(arg2); @@ -3970,8 +5407,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->AutoCompGetSeparator(); @@ -3979,7 +5416,9 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -3990,7 +5429,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3998,12 +5437,12 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4038,10 +5477,12 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompSetCancelAtStart(arg2); @@ -4066,8 +5507,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->AutoCompGetCancelAtStart(); @@ -4088,7 +5529,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *a PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4096,12 +5537,12 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4136,10 +5577,12 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompSetChooseSingle(arg2); @@ -4164,8 +5607,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->AutoCompGetChooseSingle(); @@ -4193,10 +5636,12 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompSetIgnoreCase(arg2); @@ -4221,8 +5666,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->AutoCompGetIgnoreCase(); @@ -4244,7 +5689,7 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, P wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -4253,14 +5698,16 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4295,10 +5742,12 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompSetAutoHide(arg2); @@ -4323,8 +5772,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->AutoCompGetAutoHide(); @@ -4352,10 +5801,12 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompSetDropRestOfWord(arg2); @@ -4380,8 +5831,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->AutoCompGetDropRestOfWord(); @@ -4411,16 +5862,19 @@ static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap, - SWIG_POINTER_EXCEPTION | 0)) == -1) - SWIG_fail; - if (arg3 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); - SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(3)) SWIG_fail; + if (arg3 == NULL) { + SWIG_null_ref("wxBitmap"); + } + if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4445,8 +5899,8 @@ static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ClearRegisteredImages(); @@ -4471,8 +5925,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->AutoCompGetTypeSeparator(); @@ -4480,7 +5934,9 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObj wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -4498,10 +5954,12 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompSetTypeSeparator(arg2); @@ -4527,10 +5985,12 @@ static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetIndent(arg2); @@ -4555,8 +6015,8 @@ static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetIndent(); @@ -4564,7 +6024,9 @@ static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -4582,10 +6044,12 @@ static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetUseTabs(arg2); @@ -4610,8 +6074,8 @@ static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetUseTabs(); @@ -4641,12 +6105,16 @@ static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLineIndentation(arg2,arg3); @@ -4673,10 +6141,12 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLineIndentation(arg2); @@ -4684,7 +6154,9 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -4703,10 +6175,12 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLineIndentPosition(arg2); @@ -4714,7 +6188,9 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -4733,10 +6209,12 @@ static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetColumn(arg2); @@ -4744,7 +6222,9 @@ static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -4762,10 +6242,12 @@ static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetUseHorizontalScrollBar(arg2); @@ -4790,8 +6272,8 @@ static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetUseHorizontalScrollBar(); @@ -4819,10 +6301,12 @@ static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetIndentationGuides(arg2); @@ -4847,8 +6331,8 @@ static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetIndentationGuides(); @@ -4876,10 +6360,12 @@ static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetHighlightGuide(arg2); @@ -4904,8 +6390,8 @@ static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetHighlightGuide(); @@ -4913,7 +6399,9 @@ static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -4932,10 +6420,12 @@ static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLineEndPosition(arg2); @@ -4943,7 +6433,9 @@ static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -4960,8 +6452,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetCodePage(); @@ -4969,7 +6461,9 @@ static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -4986,8 +6480,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetCaretForeground(); @@ -4997,7 +6491,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *a } { wxColour * resultptr; - resultptr = new wxColour((wxColour &) result); + resultptr = new wxColour((wxColour &)(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -5016,8 +6510,8 @@ static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetReadOnly(); @@ -5045,10 +6539,12 @@ static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetCurrentPos(arg2); @@ -5074,10 +6570,12 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSelectionStart(arg2); @@ -5102,8 +6600,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetSelectionStart(); @@ -5111,7 +6609,9 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -5129,10 +6629,12 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSelectionEnd(arg2); @@ -5157,8 +6659,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetSelectionEnd(); @@ -5166,7 +6668,9 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -5184,10 +6688,12 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetPrintMagnification(arg2); @@ -5212,8 +6718,8 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetPrintMagnification(); @@ -5221,7 +6727,9 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -5239,10 +6747,12 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetPrintColourMode(arg2); @@ -5267,8 +6777,8 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetPrintColourMode(); @@ -5276,7 +6786,9 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -5291,7 +6803,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj wxString *arg4 = 0 ; int arg5 = (int) 0 ; int result; - bool temp4 = False ; + bool temp4 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5302,20 +6814,26 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = True; + temp4 = true; } if (obj4) { - arg5 = (int) SWIG_AsInt(obj4); - if (PyErr_Occurred()) SWIG_fail; + { + arg5 = (int)(SWIG_As_int(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5324,7 +6842,9 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } { if (temp4) delete arg4; @@ -5350,8 +6870,6 @@ static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, Py wxRect arg7 ; wxRect arg8 ; int result; - wxRect *argp7 ; - wxRect *argp8 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5365,24 +6883,44 @@ static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; - arg4 = (int) SWIG_AsInt(obj3); - if (PyErr_Occurred()) SWIG_fail; - if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj6,(void **)(&argp7),SWIGTYPE_p_wxRect, - SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg7 = *argp7; - if ((SWIG_ConvertPtr(obj7,(void **)(&argp8),SWIGTYPE_p_wxRect, - SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg8 = *argp8; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + { + arg4 = (int)(SWIG_As_int(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(5)) SWIG_fail; + SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(6)) SWIG_fail; + { + wxRect * argp; + SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION); + if (SWIG_arg_fail(7)) SWIG_fail; + if (argp == NULL) { + SWIG_null_ref("wxRect"); + } + if (SWIG_arg_fail(7)) SWIG_fail; + arg7 = *argp; + } + { + wxRect * argp; + SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION); + if (SWIG_arg_fail(8)) SWIG_fail; + if (argp == NULL) { + SWIG_null_ref("wxRect"); + } + if (SWIG_arg_fail(8)) SWIG_fail; + arg8 = *argp; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8); @@ -5390,7 +6928,9 @@ static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -5407,8 +6947,8 @@ static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetFirstVisibleLine(); @@ -5416,7 +6956,9 @@ static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject * wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -5435,10 +6977,12 @@ static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetLine(arg2); @@ -5469,8 +7013,8 @@ static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLineCount(); @@ -5478,7 +7022,9 @@ static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -5496,10 +7042,12 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMarginLeft(arg2); @@ -5524,8 +7072,8 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMarginLeft(); @@ -5533,7 +7081,9 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -5551,10 +7101,12 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMarginRight(arg2); @@ -5579,8 +7131,8 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMarginRight(); @@ -5588,7 +7140,9 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -5605,8 +7159,8 @@ static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetModify(); @@ -5636,12 +7190,16 @@ static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSelection(arg2,arg3); @@ -5666,8 +7224,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetSelectedText(); @@ -5702,12 +7260,16 @@ static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetTextRange(arg2,arg3); @@ -5739,10 +7301,12 @@ static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->HideSelection(arg2); @@ -5769,10 +7333,12 @@ static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->LineFromPosition(arg2); @@ -5780,7 +7346,9 @@ static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -5799,10 +7367,12 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->PositionFromLine(arg2); @@ -5810,7 +7380,9 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -5830,12 +7402,16 @@ static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineScroll(arg2,arg3); @@ -5859,8 +7435,8 @@ static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->EnsureCaretVisible(); @@ -5879,7 +7455,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *arg PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5887,12 +7463,12 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5927,10 +7503,12 @@ static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetReadOnly(arg2); @@ -5955,8 +7533,8 @@ static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->CanPaste(); @@ -5983,8 +7561,8 @@ static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->CanUndo(); @@ -6010,8 +7588,8 @@ static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->EmptyUndoBuffer(); @@ -6035,8 +7613,8 @@ static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Undo(); @@ -6060,8 +7638,8 @@ static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Cut(); @@ -6085,8 +7663,8 @@ static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Copy(); @@ -6110,8 +7688,8 @@ static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Paste(); @@ -6135,8 +7713,8 @@ static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Clear(); @@ -6155,7 +7733,7 @@ static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObje PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6163,12 +7741,12 @@ static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6202,8 +7780,8 @@ static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetText(); @@ -6234,8 +7812,8 @@ static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetTextLength(); @@ -6243,7 +7821,9 @@ static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -6261,10 +7841,12 @@ static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetOvertype(arg2); @@ -6289,8 +7871,8 @@ static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetOvertype(); @@ -6318,10 +7900,12 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetCaretWidth(arg2); @@ -6346,8 +7930,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetCaretWidth(); @@ -6355,7 +7939,9 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -6373,10 +7959,12 @@ static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetTargetStart(arg2); @@ -6401,8 +7989,8 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetTargetStart(); @@ -6410,7 +7998,9 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -6428,10 +8018,12 @@ static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetTargetEnd(arg2); @@ -6456,8 +8048,8 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetTargetEnd(); @@ -6465,7 +8057,9 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -6477,7 +8071,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6485,12 +8079,12 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6499,7 +8093,9 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } { if (temp2) delete arg2; @@ -6519,7 +8115,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6527,12 +8123,12 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6541,7 +8137,9 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } { if (temp2) delete arg2; @@ -6561,7 +8159,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6569,12 +8167,12 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6583,7 +8181,9 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } { if (temp2) delete arg2; @@ -6609,10 +8209,12 @@ static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSearchFlags(arg2); @@ -6637,8 +8239,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetSearchFlags(); @@ -6646,7 +8248,9 @@ static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -6658,7 +8262,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, Py wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6667,14 +8271,16 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6707,8 +8313,8 @@ static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CallTipCancel(); @@ -6733,8 +8339,8 @@ static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->CallTipActive(); @@ -6761,8 +8367,8 @@ static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->CallTipPosAtStart(); @@ -6770,7 +8376,9 @@ static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -6790,12 +8398,16 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CallTipSetHighlight(arg2,arg3); @@ -6822,8 +8434,8 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = &temp2; if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; @@ -6854,8 +8466,8 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = &temp2; if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; @@ -6886,8 +8498,8 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = &temp2; if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; @@ -6918,10 +8530,12 @@ static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->VisibleFromDocLine(arg2); @@ -6929,7 +8543,9 @@ static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -6948,10 +8564,12 @@ static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->DocLineFromVisible(arg2); @@ -6959,7 +8577,9 @@ static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -6979,12 +8599,16 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetFoldLevel(arg2,arg3); @@ -7011,10 +8635,12 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetFoldLevel(arg2); @@ -7022,7 +8648,9 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -7043,12 +8671,16 @@ static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLastChild(arg2,arg3); @@ -7056,7 +8688,9 @@ static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -7075,10 +8709,12 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetFoldParent(arg2); @@ -7086,7 +8722,9 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -7106,12 +8744,16 @@ static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ShowLines(arg2,arg3); @@ -7139,12 +8781,16 @@ static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->HideLines(arg2,arg3); @@ -7171,10 +8817,12 @@ static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetLineVisible(arg2); @@ -7204,12 +8852,16 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (bool) SWIG_AsBool(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (bool)(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetFoldExpanded(arg2,arg3); @@ -7236,10 +8888,12 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetFoldExpanded(arg2); @@ -7267,10 +8921,12 @@ static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ToggleFold(arg2); @@ -7296,10 +8952,12 @@ static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->EnsureVisible(arg2); @@ -7325,10 +8983,12 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetFoldFlags(arg2); @@ -7354,10 +9014,12 @@ static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->EnsureVisibleEnforcePolicy(arg2); @@ -7383,10 +9045,12 @@ static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetTabIndents(arg2); @@ -7411,8 +9075,8 @@ static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetTabIndents(); @@ -7440,10 +9104,12 @@ static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetBackSpaceUnIndents(arg2); @@ -7468,8 +9134,8 @@ static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetBackSpaceUnIndents(); @@ -7497,10 +9163,12 @@ static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMouseDwellTime(arg2); @@ -7525,8 +9193,8 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMouseDwellTime(); @@ -7534,7 +9202,9 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -7555,12 +9225,16 @@ static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (bool) SWIG_AsBool(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (bool)(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->WordStartPosition(arg2,arg3); @@ -7568,7 +9242,9 @@ static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -7589,12 +9265,16 @@ static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (bool) SWIG_AsBool(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (bool)(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->WordEndPosition(arg2,arg3); @@ -7602,7 +9282,9 @@ static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -7620,10 +9302,12 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetWrapMode(arg2); @@ -7648,8 +9332,8 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetWrapMode(); @@ -7657,8 +9341,187 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); - return resultobj; + { + resultobj = SWIG_From_int((int)(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "wrapVisualFlags", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetWrapVisualFlags(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetWrapVisualFlags(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int((int)(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "wrapVisualFlagsLocation", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetWrapVisualFlagsLocation(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetWrapVisualFlagsLocation(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int((int)(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "indent", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetWrapStartIndent(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetWrapStartIndent(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int((int)(result)); + } + return resultobj; fail: return NULL; } @@ -7675,10 +9538,12 @@ static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLayoutCache(arg2); @@ -7703,8 +9568,8 @@ static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLayoutCache(); @@ -7712,7 +9577,9 @@ static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -7730,10 +9597,12 @@ static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetScrollWidth(arg2); @@ -7758,8 +9627,8 @@ static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetScrollWidth(); @@ -7767,7 +9636,9 @@ static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -7780,7 +9651,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyOb int arg2 ; wxString *arg3 = 0 ; int result; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -7789,14 +9660,16 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7805,7 +9678,9 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } { if (temp3) delete arg3; @@ -7831,10 +9706,12 @@ static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetEndAtLastLine(arg2); @@ -7859,8 +9736,8 @@ static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetEndAtLastLine(); @@ -7868,7 +9745,9 @@ static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -7887,10 +9766,12 @@ static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->TextHeight(arg2); @@ -7898,7 +9779,9 @@ static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -7916,10 +9799,12 @@ static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetUseVerticalScrollBar(arg2); @@ -7944,8 +9829,8 @@ static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetUseVerticalScrollBar(); @@ -7967,7 +9852,7 @@ static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyO wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -7976,14 +9861,16 @@ static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8017,8 +9904,8 @@ static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetTwoPhaseDraw(); @@ -8046,10 +9933,12 @@ static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetTwoPhaseDraw(arg2); @@ -8073,8 +9962,8 @@ static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->TargetFromSelection(); @@ -8098,8 +9987,8 @@ static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LinesJoin(); @@ -8125,10 +10014,12 @@ static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LinesSplit(arg2); @@ -8157,10 +10048,12 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -8193,10 +10086,12 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -8224,8 +10119,8 @@ static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineDown(); @@ -8249,8 +10144,8 @@ static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineDownExtend(); @@ -8274,8 +10169,8 @@ static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineUp(); @@ -8299,8 +10194,8 @@ static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineUpExtend(); @@ -8324,8 +10219,8 @@ static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CharLeft(); @@ -8349,8 +10244,8 @@ static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CharLeftExtend(); @@ -8374,8 +10269,8 @@ static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CharRight(); @@ -8399,8 +10294,8 @@ static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CharRightExtend(); @@ -8424,8 +10319,8 @@ static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordLeft(); @@ -8449,8 +10344,8 @@ static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordLeftExtend(); @@ -8474,8 +10369,8 @@ static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordRight(); @@ -8499,8 +10394,8 @@ static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordRightExtend(); @@ -8524,8 +10419,8 @@ static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Home(); @@ -8549,8 +10444,8 @@ static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->HomeExtend(); @@ -8574,8 +10469,8 @@ static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineEnd(); @@ -8599,8 +10494,8 @@ static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineEndExtend(); @@ -8624,8 +10519,8 @@ static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->DocumentStart(); @@ -8649,8 +10544,8 @@ static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->DocumentStartExtend(); @@ -8674,8 +10569,8 @@ static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->DocumentEnd(); @@ -8699,8 +10594,8 @@ static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->DocumentEndExtend(); @@ -8724,8 +10619,8 @@ static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->PageUp(); @@ -8749,8 +10644,8 @@ static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->PageUpExtend(); @@ -8774,8 +10669,8 @@ static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->PageDown(); @@ -8799,8 +10694,8 @@ static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->PageDownExtend(); @@ -8824,8 +10719,8 @@ static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->EditToggleOvertype(); @@ -8849,8 +10744,8 @@ static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Cancel(); @@ -8874,8 +10769,8 @@ static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->DeleteBack(); @@ -8899,8 +10794,8 @@ static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Tab(); @@ -8924,8 +10819,8 @@ static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->BackTab(); @@ -8949,8 +10844,8 @@ static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->NewLine(); @@ -8974,8 +10869,8 @@ static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->FormFeed(); @@ -8999,8 +10894,8 @@ static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->VCHome(); @@ -9024,8 +10919,8 @@ static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->VCHomeExtend(); @@ -9049,8 +10944,8 @@ static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ZoomIn(); @@ -9074,8 +10969,8 @@ static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ZoomOut(); @@ -9099,8 +10994,8 @@ static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->DelWordLeft(); @@ -9124,8 +11019,8 @@ static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->DelWordRight(); @@ -9149,8 +11044,8 @@ static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineCut(); @@ -9174,8 +11069,8 @@ static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineDelete(); @@ -9199,8 +11094,8 @@ static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineTranspose(); @@ -9224,8 +11119,8 @@ static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineDuplicate(); @@ -9249,8 +11144,8 @@ static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LowerCase(); @@ -9274,8 +11169,8 @@ static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->UpperCase(); @@ -9299,8 +11194,8 @@ static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineScrollDown(); @@ -9324,8 +11219,8 @@ static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineScrollUp(); @@ -9349,8 +11244,8 @@ static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->DeleteBackNotLine(); @@ -9374,8 +11269,8 @@ static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->HomeDisplay(); @@ -9399,8 +11294,8 @@ static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->HomeDisplayExtend(); @@ -9424,8 +11319,8 @@ static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineEndDisplay(); @@ -9449,8 +11344,8 @@ static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineEndDisplayExtend(); @@ -9474,8 +11369,8 @@ static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->HomeWrap(); @@ -9499,8 +11394,8 @@ static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->HomeWrapExtend(); @@ -9524,8 +11419,8 @@ static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineEndWrap(); @@ -9549,8 +11444,8 @@ static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineEndWrapExtend(); @@ -9574,8 +11469,8 @@ static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->VCHomeWrap(); @@ -9599,8 +11494,8 @@ static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->VCHomeWrapExtend(); @@ -9624,8 +11519,8 @@ static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineCopy(); @@ -9649,8 +11544,8 @@ static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->MoveCaretInsideView(); @@ -9677,10 +11572,12 @@ static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->LineLength(arg2); @@ -9688,7 +11585,9 @@ static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -9708,12 +11607,16 @@ static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->BraceHighlight(arg2,arg3); @@ -9739,10 +11642,12 @@ static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->BraceBadLight(arg2); @@ -9769,10 +11674,12 @@ static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->BraceMatch(arg2); @@ -9780,7 +11687,9 @@ static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -9797,8 +11706,8 @@ static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetViewEOL(); @@ -9826,10 +11735,12 @@ static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetViewEOL(arg2); @@ -9854,8 +11765,8 @@ static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (void *)(arg1)->GetDocPointer(); @@ -9881,9 +11792,13 @@ static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { + SWIG_arg_fail(2);SWIG_fail; + } + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetDocPointer(arg2); @@ -9909,10 +11824,12 @@ static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetModEventMask(arg2); @@ -9937,8 +11854,8 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetEdgeColumn(); @@ -9946,7 +11863,9 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -9964,10 +11883,12 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetEdgeColumn(arg2); @@ -9992,8 +11913,8 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetEdgeMode(); @@ -10001,7 +11922,9 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -10019,10 +11942,12 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetEdgeMode(arg2); @@ -10047,8 +11972,8 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetEdgeColour(); @@ -10058,7 +11983,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &) result); + resultptr = new wxColour((wxColour &)(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -10079,8 +12004,8 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = &temp2; if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; @@ -10108,8 +12033,8 @@ static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SearchAnchor(); @@ -10130,7 +12055,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyO int arg2 ; wxString *arg3 = 0 ; int result; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -10139,14 +12064,16 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10155,7 +12082,9 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } { if (temp3) delete arg3; @@ -10176,7 +12105,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyO int arg2 ; wxString *arg3 = 0 ; int result; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -10185,14 +12114,16 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10201,7 +12132,9 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } { if (temp3) delete arg3; @@ -10226,8 +12159,8 @@ static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->LinesOnScreen(); @@ -10235,7 +12168,9 @@ static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -10253,10 +12188,12 @@ static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->UsePopUp(arg2); @@ -10281,8 +12218,8 @@ static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->SelectionIsRectangle(); @@ -10310,10 +12247,12 @@ static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetZoom(arg2); @@ -10338,8 +12277,8 @@ static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetZoom(); @@ -10347,7 +12286,9 @@ static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObje wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -10364,8 +12305,8 @@ static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (void *)(arg1)->CreateDocument(); @@ -10391,9 +12332,13 @@ static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { + SWIG_arg_fail(2);SWIG_fail; + } + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AddRefDocument(arg2); @@ -10419,9 +12364,13 @@ static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { + SWIG_arg_fail(2);SWIG_fail; + } + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ReleaseDocument(arg2); @@ -10446,8 +12395,8 @@ static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetModEventMask(); @@ -10455,7 +12404,9 @@ static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -10473,10 +12424,12 @@ static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSTCFocus(arg2); @@ -10501,8 +12454,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetSTCFocus(); @@ -10530,10 +12483,12 @@ static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetStatus(arg2); @@ -10558,8 +12513,8 @@ static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetStatus(); @@ -10567,7 +12522,9 @@ static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -10585,10 +12542,12 @@ static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMouseDownCaptures(arg2); @@ -10613,8 +12572,8 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetMouseDownCaptures(); @@ -10642,10 +12601,12 @@ static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSTCCursor(arg2); @@ -10670,8 +12631,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetSTCCursor(); @@ -10679,7 +12640,9 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -10697,10 +12660,12 @@ static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetControlCharSymbol(arg2); @@ -10725,8 +12690,8 @@ static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetControlCharSymbol(); @@ -10734,7 +12699,9 @@ static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -10750,8 +12717,8 @@ static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordPartLeft(); @@ -10775,8 +12742,8 @@ static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordPartLeftExtend(); @@ -10800,8 +12767,8 @@ static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordPartRight(); @@ -10825,8 +12792,8 @@ static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordPartRightExtend(); @@ -10854,12 +12821,16 @@ static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetVisiblePolicy(arg2,arg3); @@ -10883,8 +12854,8 @@ static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->DelLineLeft(); @@ -10908,8 +12879,8 @@ static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->DelLineRight(); @@ -10935,10 +12906,12 @@ static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetXOffset(arg2); @@ -10963,8 +12936,8 @@ static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetXOffset(); @@ -10972,7 +12945,9 @@ static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -10988,8 +12963,8 @@ static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ChooseCaretX(); @@ -11017,12 +12992,16 @@ static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetXCaretPolicy(arg2,arg3); @@ -11050,12 +13029,16 @@ static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetYCaretPolicy(arg2,arg3); @@ -11081,12 +13064,14 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { - PyThreadState* __tstate = wxPyBeginAllowThreads(); + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetPrintWrapMode(arg2); wxPyEndAllowThreads(__tstate); @@ -11109,8 +13094,8 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetPrintWrapMode(); @@ -11118,7 +13103,9 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -11139,10 +13126,12 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -11175,10 +13164,12 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -11208,10 +13199,12 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetHotspotActiveUnderline(arg2); @@ -11237,10 +13230,12 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetHotspotSingleLine(arg2); @@ -11264,8 +13259,8 @@ static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ParaDown(); @@ -11289,8 +13284,8 @@ static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ParaDownExtend(); @@ -11314,8 +13309,8 @@ static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ParaUp(); @@ -11339,8 +13334,8 @@ static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ParaUpExtend(); @@ -11367,10 +13362,12 @@ static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->PositionBefore(arg2); @@ -11378,7 +13375,9 @@ static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -11397,10 +13396,12 @@ static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->PositionAfter(arg2); @@ -11408,7 +13409,9 @@ static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -11428,12 +13431,16 @@ static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CopyRange(arg2,arg3); @@ -11453,7 +13460,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObj wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11462,14 +13469,16 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11504,10 +13513,12 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSelectionMode(arg2); @@ -11532,8 +13543,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetSelectionMode(); @@ -11541,7 +13552,9 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -11560,10 +13573,12 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLineSelStartPosition(arg2); @@ -11571,7 +13586,9 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObje wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -11590,10 +13607,12 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLineSelEndPosition(arg2); @@ -11601,7 +13620,9 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -11617,8 +13638,8 @@ static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineDownRectExtend(); @@ -11642,8 +13663,8 @@ static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineUpRectExtend(); @@ -11667,8 +13688,8 @@ static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CharLeftRectExtend(); @@ -11692,8 +13713,8 @@ static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CharRightRectExtend(); @@ -11717,8 +13738,8 @@ static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->HomeRectExtend(); @@ -11742,8 +13763,8 @@ static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->VCHomeRectExtend(); @@ -11767,8 +13788,8 @@ static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineEndRectExtend(); @@ -11792,8 +13813,8 @@ static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->PageUpRectExtend(); @@ -11817,8 +13838,8 @@ static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->PageDownRectExtend(); @@ -11842,8 +13863,8 @@ static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StutteredPageUp(); @@ -11867,8 +13888,8 @@ static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StutteredPageUpExtend(); @@ -11892,8 +13913,8 @@ static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StutteredPageDown(); @@ -11917,8 +13938,8 @@ static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StutteredPageDownExtend(); @@ -11942,8 +13963,8 @@ static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordLeftEnd(); @@ -11967,8 +13988,8 @@ static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordLeftEndExtend(); @@ -11992,8 +14013,8 @@ static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordRightEnd(); @@ -12017,8 +14038,8 @@ static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordRightEndExtend(); @@ -12037,7 +14058,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *a PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12045,12 +14066,12 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12083,8 +14104,8 @@ static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetCharsDefault(); @@ -12109,8 +14130,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->AutoCompGetCurrent(); @@ -12118,7 +14139,80 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "bytes", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->Allocate(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + int arg2 ; + int arg3 ; + int result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "line",(char *) "column", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->FindColumn(arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -12134,8 +14228,8 @@ static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StartRecord(); @@ -12159,8 +14253,8 @@ static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StopRecord(); @@ -12186,10 +14280,12 @@ static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLexer(arg2); @@ -12214,8 +14310,8 @@ static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLexer(); @@ -12223,7 +14319,9 @@ static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObj wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -12243,12 +14341,16 @@ static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Colourise(arg2,arg3); @@ -12268,8 +14370,8 @@ static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, Py wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; - bool temp2 = False ; - bool temp3 = False ; + bool temp2 = false ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -12278,17 +14380,17 @@ static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12325,7 +14427,7 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, Py wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -12334,14 +14436,16 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12369,7 +14473,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *arg PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12377,12 +14481,12 @@ static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12416,8 +14520,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetCurrentLine(); @@ -12425,7 +14529,9 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -12437,7 +14543,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, P wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -12446,14 +14552,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12490,16 +14598,19 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont, - SWIG_POINTER_EXCEPTION | 0)) == -1) - SWIG_fail; - if (arg3 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); - SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(3)) SWIG_fail; + if (arg3 == NULL) { + SWIG_null_ref("wxFont"); + } + if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12524,7 +14635,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *arg bool arg5 ; bool arg6 ; bool arg7 ; - bool temp4 = False ; + bool temp4 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -12537,23 +14648,33 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = True; + temp4 = true; + } + { + arg5 = (bool)(SWIG_As_bool(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + { + arg6 = (bool)(SWIG_As_bool(obj5)); + if (SWIG_arg_fail(6)) SWIG_fail; + } + { + arg7 = (bool)(SWIG_As_bool(obj6)); + if (SWIG_arg_fail(7)) SWIG_fail; } - arg5 = (bool) SWIG_AsBool(obj4); - if (PyErr_Occurred()) SWIG_fail; - arg6 = (bool) SWIG_AsBool(obj5); - if (PyErr_Occurred()) SWIG_fail; - arg7 = (bool) SWIG_AsBool(obj6); - if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); @@ -12587,10 +14708,12 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CmdKeyExecute(arg2); @@ -12618,12 +14741,16 @@ static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMargins(arg2,arg3); @@ -12644,17 +14771,19 @@ static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, P int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; int temp2 ; + int res2 = 0 ; int temp3 ; + int res3 = 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - arg2 = &temp2; - arg3 = &temp3; + arg2 = &temp2; res2 = SWIG_NEWOBJ; + arg3 = &temp3; res3 = SWIG_NEWOBJ; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->GetSelection(arg2,arg3); @@ -12663,14 +14792,10 @@ static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } Py_INCREF(Py_None); resultobj = Py_None; - { - PyObject *o = PyInt_FromLong((long) (*arg2)); - resultobj = t_output_helper(resultobj,o); - } - { - PyObject *o = PyInt_FromLong((long) (*arg3)); - resultobj = t_output_helper(resultobj,o); - } + resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? + SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); + resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? + SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); return resultobj; fail: return NULL; @@ -12689,10 +14814,12 @@ static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->PointFromPosition(arg2); @@ -12702,7 +14829,7 @@ static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *ar } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &) result); + resultptr = new wxPoint((wxPoint &)(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -12722,10 +14849,12 @@ static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ScrollToLine(arg2); @@ -12751,10 +14880,12 @@ static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ScrollToColumn(arg2); @@ -12785,17 +14916,23 @@ static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } if (obj2) { - arg3 = (long) SWIG_AsLong(obj2); - if (PyErr_Occurred()) SWIG_fail; + { + arg3 = (long)(SWIG_As_long(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } } if (obj3) { - arg4 = (long) SWIG_AsLong(obj3); - if (PyErr_Occurred()) SWIG_fail; + { + arg4 = (long)(SWIG_As_long(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12804,7 +14941,9 @@ static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObje wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromLong((long)result); + { + resultobj = SWIG_From_long((long)(result)); + } return resultobj; fail: return NULL; @@ -12822,10 +14961,10 @@ static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetVScrollBar(arg2); @@ -12851,10 +14990,10 @@ static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetHScrollBar(arg2); @@ -12879,8 +15018,8 @@ static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetLastKeydownProcessed(); @@ -12908,10 +15047,12 @@ static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLastKeydownProcessed(arg2); @@ -12931,7 +15072,7 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObj wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12939,12 +15080,12 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12975,7 +15116,7 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObj wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12983,12 +15124,12 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13019,8 +15160,8 @@ static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyO wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; - int arg4 ; - int result; + wxDragResult arg4 ; + wxDragResult result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -13030,22 +15171,28 @@ static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (int) SWIG_AsInt(obj2); - if (PyErr_Occurred()) SWIG_fail; - arg4 = (wxDragResult) SWIG_AsInt(obj3); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (int)(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + { + arg4 = (wxDragResult)(SWIG_As_int(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + resultobj = SWIG_From_int((result)); return resultobj; fail: return NULL; @@ -13059,7 +15206,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyO long arg3 ; wxString *arg4 = 0 ; bool result; - bool temp4 = False ; + bool temp4 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -13069,16 +15216,20 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (long) SWIG_AsLong(obj1); - if (PyErr_Occurred()) SWIG_fail; - arg3 = (long) SWIG_AsLong(obj2); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (long)(SWIG_As_long(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = (long)(SWIG_As_long(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = True; + temp4 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13115,10 +15266,12 @@ static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetUseAntiAliasing(arg2); @@ -13143,8 +15296,8 @@ static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetUseAntiAliasing(); @@ -13181,12 +15334,16 @@ static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { - arg1 = (wxEventType) SWIG_AsInt(obj0); - if (PyErr_Occurred()) SWIG_fail; + { + arg1 = (wxEventType)(SWIG_As_int(obj0)); + if (SWIG_arg_fail(1)) SWIG_fail; + } } if (obj1) { - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13211,8 +15368,8 @@ static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); delete arg1; @@ -13238,10 +15395,12 @@ static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetPosition(arg2); @@ -13267,10 +15426,12 @@ static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetKey(arg2); @@ -13296,10 +15457,12 @@ static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetModifiers(arg2); @@ -13325,10 +15488,12 @@ static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetModificationType(arg2); @@ -13347,7 +15512,7 @@ static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObj PyObject *resultobj; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13355,12 +15520,12 @@ static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13395,10 +15560,12 @@ static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLength(arg2); @@ -13424,10 +15591,12 @@ static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLinesAdded(arg2); @@ -13453,10 +15622,12 @@ static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLine(arg2); @@ -13482,10 +15653,12 @@ static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetFoldLevelNow(arg2); @@ -13511,10 +15684,12 @@ static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetFoldLevelPrev(arg2); @@ -13540,10 +15715,12 @@ static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMargin(arg2); @@ -13569,10 +15746,12 @@ static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMessage(arg2); @@ -13598,10 +15777,12 @@ static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetWParam(arg2); @@ -13627,10 +15808,12 @@ static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLParam(arg2); @@ -13656,10 +15839,12 @@ static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetListType(arg2); @@ -13685,10 +15870,12 @@ static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetX(arg2); @@ -13714,10 +15901,12 @@ static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (int) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (int)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetY(arg2); @@ -13736,7 +15925,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, P PyObject *resultobj; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13744,12 +15933,12 @@ static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13784,10 +15973,12 @@ static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (bool) SWIG_AsBool(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (bool)(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetDragAllowMove(arg2); @@ -13805,7 +15996,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; - int arg2 ; + wxDragResult arg2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13813,10 +16004,12 @@ static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - arg2 = (wxDragResult) SWIG_AsInt(obj1); - if (PyErr_Occurred()) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = (wxDragResult)(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetDragResult((wxDragResult )arg2); @@ -13841,8 +16034,8 @@ static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); @@ -13850,7 +16043,9 @@ static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -13867,8 +16062,8 @@ static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); @@ -13876,7 +16071,9 @@ static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObje wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -13893,8 +16090,8 @@ static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); @@ -13902,7 +16099,9 @@ static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -13919,8 +16118,8 @@ static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); @@ -13928,7 +16127,9 @@ static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -13945,8 +16146,8 @@ static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = ((wxStyledTextEvent const *)arg1)->GetText(); @@ -13977,8 +16178,8 @@ static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); @@ -13986,7 +16187,9 @@ static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -14003,8 +16206,8 @@ static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); @@ -14012,7 +16215,9 @@ static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -14029,8 +16234,8 @@ static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); @@ -14038,7 +16243,9 @@ static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObj wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -14055,8 +16262,8 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); @@ -14064,7 +16271,9 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -14081,8 +16290,8 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); @@ -14090,7 +16299,9 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -14107,8 +16318,8 @@ static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); @@ -14116,7 +16327,9 @@ static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -14133,8 +16346,8 @@ static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); @@ -14142,7 +16355,9 @@ static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -14159,8 +16374,8 @@ static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); @@ -14168,7 +16383,9 @@ static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -14185,8 +16402,8 @@ static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); @@ -14194,7 +16411,9 @@ static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -14211,8 +16430,8 @@ static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); @@ -14220,7 +16439,9 @@ static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -14237,8 +16458,8 @@ static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetX(); @@ -14246,7 +16467,9 @@ static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -14263,8 +16486,8 @@ static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetY(); @@ -14272,7 +16495,9 @@ static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + { + resultobj = SWIG_From_int((int)(result)); + } return resultobj; fail: return NULL; @@ -14289,8 +16514,8 @@ static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetDragText(); @@ -14321,8 +16546,8 @@ static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetDragAllowMove(); @@ -14342,23 +16567,23 @@ static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; - int result; + wxDragResult result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->GetDragResult(); + result = (wxDragResult)(arg1)->GetDragResult(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_FromInt((int)result); + resultobj = SWIG_From_int((result)); return resultobj; fail: return NULL; @@ -14375,8 +16600,8 @@ static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); @@ -14403,8 +16628,8 @@ static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); @@ -14431,8 +16656,8 @@ static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); @@ -14459,8 +16684,8 @@ static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, - SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); @@ -14483,476 +16708,484 @@ static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyMethodDef SwigMethods[] = { - { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL }, - { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL }, - { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL }, + { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL}, + { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL}, { NULL, NULL, 0, NULL } }; @@ -15061,6 +17294,9 @@ static void *_p_wxToolTipTo_p_wxObject(void *x) { static void *_p_wxMenuItemTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxMenuItem *) x)); } +static void *_p_wxDateEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); +} static void *_p_wxIdleEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); } @@ -15124,6 +17360,9 @@ static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxEvtHandler *) x)); } +static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); +} static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxAcceleratorTable *) x)); } @@ -15235,6 +17474,9 @@ static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); } +static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); +} static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); } @@ -15352,6 +17594,9 @@ static void *_p_wxSizeEventTo_p_wxEvent(void *x) { static void *_p_wxMoveEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxMoveEvent *) x)); } +static void *_p_wxDateEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); +} static void *_p_wxPaintEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxPaintEvent *) x)); } @@ -15410,43 +17655,61 @@ static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); } static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0, 0, 0, 0},{"_p_wxStyledTextEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0, 0, 0, 0},{"_p_wxStyledTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0, 0, 0, 0},{"_p_wxMemoryBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info *swig_types_initial[] = { _swigt__p_wxRect, -_swigt__p_wxColour, _swigt__p_wxObject, +_swigt__p_unsigned_char, +_swigt__p_wxColour, _swigt__p_wxScrollBar, _swigt__p_wxStyledTextEvent, _swigt__p_wxWindow, _swigt__p_wxCommandEvent, +_swigt__p_unsigned_long, _swigt__p_wxBitmap, +_swigt__p_unsigned_int, +_swigt__unsigned_int, +_swigt__p_form_ops_t, +_swigt__p_wxDuplexMode, _swigt__p_void, +_swigt__p_char, _swigt__p_wxPoint, _swigt__p_wxDC, -_swigt__p_char, _swigt__p_wxEvtHandler, +_swigt__std__ptrdiff_t, +_swigt__ptrdiff_t, _swigt__p_wxStyledTextCtrl, _swigt__p_wxFont, _swigt__p_wxControl, _swigt__p_wxEvent, +_swigt__p_wxPaperSize, _swigt__p_int, _swigt__p_wxMemoryBuffer, 0 @@ -15462,19 +17725,336 @@ static swig_const_info swig_const_table[] = { } #endif + #ifdef __cplusplus -extern "C" +extern "C" { #endif -SWIGEXPORT(void) SWIG_init(void) { - static PyObject *SWIG_globals = 0; - static int typeinit = 0; - PyObject *m, *d; + + /* Python-specific SWIG API */ +#define SWIG_newvarlink() SWIG_Python_newvarlink() +#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) +#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) + + /* ----------------------------------------------------------------------------- + * global variable support code. + * ----------------------------------------------------------------------------- */ + + typedef struct swig_globalvar { + char *name; /* Name of global variable */ + PyObject *(*get_attr)(); /* Return the current value */ + int (*set_attr)(PyObject *); /* Set the value */ + struct swig_globalvar *next; + } swig_globalvar; + + typedef struct swig_varlinkobject { + PyObject_HEAD + swig_globalvar *vars; + } swig_varlinkobject; + + static PyObject * + swig_varlink_repr(swig_varlinkobject *v) { + v = v; + return PyString_FromString(""); + } + + static int + swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { + swig_globalvar *var; + flags = flags; + fprintf(fp,"Swig global variables { "); + for (var = v->vars; var; var=var->next) { + fprintf(fp,"%s", var->name); + if (var->next) fprintf(fp,", "); + } + fprintf(fp," }\n"); + return 0; + } + + static PyObject * + swig_varlink_getattr(swig_varlinkobject *v, char *n) { + swig_globalvar *var = v->vars; + while (var) { + if (strcmp(var->name,n) == 0) { + return (*var->get_attr)(); + } + var = var->next; + } + PyErr_SetString(PyExc_NameError,"Unknown C global variable"); + return NULL; + } + + static int + swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { + swig_globalvar *var = v->vars; + while (var) { + if (strcmp(var->name,n) == 0) { + return (*var->set_attr)(p); + } + var = var->next; + } + PyErr_SetString(PyExc_NameError,"Unknown C global variable"); + return 1; + } + + static PyTypeObject varlinktype = { + PyObject_HEAD_INIT(0) + 0, /* Number of items in variable part (ob_size) */ + (char *)"swigvarlink", /* Type name (tp_name) */ + sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ + 0, /* Itemsize (tp_itemsize) */ + 0, /* Deallocator (tp_dealloc) */ + (printfunc) swig_varlink_print, /* Print (tp_print) */ + (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ + (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ + 0, /* tp_compare */ + (reprfunc) swig_varlink_repr, /* tp_repr */ + 0, /* tp_as_number */ + 0, /* tp_as_sequence */ + 0, /* tp_as_mapping */ + 0, /* tp_hash */ + 0, /* tp_call */ + 0, /* tp_str */ + 0, /* tp_getattro */ + 0, /* tp_setattro */ + 0, /* tp_as_buffer */ + 0, /* tp_flags */ + 0, /* tp_doc */ +#if PY_VERSION_HEX >= 0x02000000 + 0, /* tp_traverse */ + 0, /* tp_clear */ +#endif +#if PY_VERSION_HEX >= 0x02010000 + 0, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ +#endif +#if PY_VERSION_HEX >= 0x02020000 + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ +#endif +#if PY_VERSION_HEX >= 0x02030000 + 0, /* tp_del */ +#endif +#ifdef COUNT_ALLOCS + 0,0,0,0 /* tp_alloc -> tp_next */ +#endif + }; + + /* Create a variable linking object for use later */ + static PyObject * + SWIG_Python_newvarlink(void) { + swig_varlinkobject *result = 0; + result = PyMem_NEW(swig_varlinkobject,1); + varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ + result->ob_type = &varlinktype; + result->vars = 0; + result->ob_refcnt = 0; + Py_XINCREF((PyObject *) result); + return ((PyObject*) result); + } + + static void + SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { + swig_varlinkobject *v; + swig_globalvar *gv; + v= (swig_varlinkobject *) p; + gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); + gv->name = (char *) malloc(strlen(name)+1); + strcpy(gv->name,name); + gv->get_attr = get_attr; + gv->set_attr = set_attr; + gv->next = v->vars; + v->vars = gv; + } + + /* ----------------------------------------------------------------------------- + * constants/methods manipulation + * ----------------------------------------------------------------------------- */ + + /* Install Constants */ + static void + SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { + PyObject *obj = 0; + size_t i; + for (i = 0; constants[i].type; i++) { + switch(constants[i].type) { + case SWIG_PY_INT: + obj = PyInt_FromLong(constants[i].lvalue); + break; + case SWIG_PY_FLOAT: + obj = PyFloat_FromDouble(constants[i].dvalue); + break; + case SWIG_PY_STRING: + if (constants[i].pvalue) { + obj = PyString_FromString((char *) constants[i].pvalue); + } else { + Py_INCREF(Py_None); + obj = Py_None; + } + break; + case SWIG_PY_POINTER: + obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); + break; + case SWIG_PY_BINARY: + obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); + break; + default: + obj = 0; + break; + } + if (obj) { + PyDict_SetItemString(d,constants[i].name,obj); + Py_DECREF(obj); + } + } + } + + /* -----------------------------------------------------------------------------*/ + /* Fix SwigMethods to carry the callback ptrs when needed */ + /* -----------------------------------------------------------------------------*/ + + static void + SWIG_Python_FixMethods(PyMethodDef *methods, + swig_const_info *const_table, + swig_type_info **types, + swig_type_info **types_initial) { + size_t i; + for (i = 0; methods[i].ml_name; ++i) { + char *c = methods[i].ml_doc; + if (c && (c = strstr(c, "swig_ptr: "))) { + int j; + swig_const_info *ci = 0; + char *name = c + 10; + for (j = 0; const_table[j].type; j++) { + if (strncmp(const_table[j].name, name, + strlen(const_table[j].name)) == 0) { + ci = &(const_table[j]); + break; + } + } + if (ci) { + size_t shift = (ci->ptype) - types; + swig_type_info *ty = types_initial[shift]; + size_t ldoc = (c - methods[i].ml_doc); + size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; + char *ndoc = (char*)malloc(ldoc + lptr + 10); + char *buff = ndoc; + void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue); + strncpy(buff, methods[i].ml_doc, ldoc); + buff += ldoc; + strncpy(buff, "swig_ptr: ", 10); + buff += 10; + SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); + methods[i].ml_doc = ndoc; + } + } + } + } + + /* -----------------------------------------------------------------------------* + * Initialize type list + * -----------------------------------------------------------------------------*/ + +#if PY_MAJOR_VERSION < 2 + /* PyModule_AddObject function was introduced in Python 2.0. The following function + is copied out of Python/modsupport.c in python version 2.3.4 */ + static int + PyModule_AddObject(PyObject *m, char *name, PyObject *o) + { + PyObject *dict; + if (!PyModule_Check(m)) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs module as first arg"); + return -1; + } + if (!o) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs non-NULL value"); + return -1; + } + + dict = PyModule_GetDict(m); + if (dict == NULL) { + /* Internal error -- modules must have a dict! */ + PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", + PyModule_GetName(m)); + return -1; + } + if (PyDict_SetItemString(dict, name, o)) + return -1; + Py_DECREF(o); + return 0; + } +#endif + + static swig_type_info ** + SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) { + static PyMethodDef swig_empty_runtime_method_table[] = { + { + NULL, NULL, 0, NULL + } + };/* Sentinel */ + + PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, + swig_empty_runtime_method_table); + PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL); + if (pointer && module) { + PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); + } + return type_list_handle; + } + + static swig_type_info ** + SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) { + swig_type_info **type_pointer; + + /* first check if module already created */ + type_pointer = SWIG_Python_GetTypeListHandle(); + if (type_pointer) { + return type_pointer; + } else { + /* create a new module and variable */ + return SWIG_Python_SetTypeListHandle(type_list_handle); + } + } + +#ifdef __cplusplus +} +#endif + +/* -----------------------------------------------------------------------------* + * Partial Init method + * -----------------------------------------------------------------------------*/ + +#ifdef SWIG_LINK_RUNTIME +#ifdef __cplusplus +extern "C" +#endif +SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); +#endif + +#ifdef __cplusplus +extern "C" +#endif +SWIGEXPORT(void) SWIG_init(void) { + static PyObject *SWIG_globals = 0; + static int typeinit = 0; + PyObject *m, *d; int i; if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); + + /* Fix SwigMethods to carry the callback ptrs when needed */ + SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); + m = Py_InitModule((char *) SWIG_name, SwigMethods); d = PyModule_GetDict(m); if (!typeinit) { +#ifdef SWIG_LINK_RUNTIME + swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); +#else +# ifndef SWIG_STATIC_RUNTIME + swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); +# endif +#endif for (i = 0; swig_types_initial[i]; i++) { swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); } @@ -15484,914 +18064,3198 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); - PyDict_SetItemString(d,"STC_USE_DND", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_FromInt((int)-1)); - PyDict_SetItemString(d,"STC_START", SWIG_FromInt((int)2000)); - PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_FromInt((int)3000)); - PyDict_SetItemString(d,"STC_LEXER_START", SWIG_FromInt((int)4000)); - PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_EOL_CR", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_EOL_LF", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_FromInt((int)65001)); - PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_FromInt((int)31)); - PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_FromInt((int)15)); - PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_FromInt((int)16)); - PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_FromInt((int)17)); - PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_FromInt((int)18)); - PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_FromInt((int)19)); - PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_FromInt((int)20)); - PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_FromInt((int)21)); - PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_FromInt((int)22)); - PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_FromInt((int)23)); - PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_FromInt((int)24)); - PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_FromInt((int)25)); - PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_FromInt((int)10000)); - PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_FromInt((int)25)); - PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_FromInt((int)26)); - PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_FromInt((int)27)); - PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_FromInt((int)28)); - PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_FromInt((int)29)); - PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_FromInt((int)30)); - PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_FromInt((int)31)); - PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_FromInt((int)0xFE000000)); - PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_FromInt((int)32)); - PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_FromInt((int)33)); - PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_FromInt((int)34)); - PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_FromInt((int)35)); - PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_FromInt((int)36)); - PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_FromInt((int)37)); - PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_FromInt((int)39)); - PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_FromInt((int)127)); - PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_FromInt((int)186)); - PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_FromInt((int)136)); - PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_FromInt((int)238)); - PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_FromInt((int)134)); - PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_FromInt((int)161)); - PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_FromInt((int)129)); - PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_FromInt((int)77)); - PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_FromInt((int)255)); - PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_FromInt((int)204)); - PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_FromInt((int)128)); - PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_FromInt((int)162)); - PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_FromInt((int)130)); - PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_FromInt((int)177)); - PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_FromInt((int)178)); - PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_FromInt((int)163)); - PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_FromInt((int)222)); - PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_FromInt((int)0x20)); - PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_FromInt((int)0x40)); - PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_FromInt((int)0x80)); - PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_FromInt((int)0xE0)); - PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_FromInt((int)0x00100000)); - PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_FromInt((int)0x00200000)); - PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_FromInt((int)0x00400000)); - PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_FromInt((int)0x400)); - PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_FromInt((int)0x1000)); - PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_FromInt((int)0x2000)); - PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_FromInt((int)0x4000)); - PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_FromInt((int)0x8000)); - PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_FromInt((int)0x10000)); - PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_FromInt((int)0x20000)); - PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_FromInt((int)0x0FFF)); - PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_FromInt((int)0x0002)); - PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_FromInt((int)0x0004)); - PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_FromInt((int)0x0008)); - PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_FromInt((int)0x0010)); - PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_FromInt((int)0x0040)); - PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_FromInt((int)0x0001)); - PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_FromInt((int)10000000)); - PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_FromInt((int)-1)); - PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_FromInt((int)0x01)); - PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_FromInt((int)0x04)); - PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_FromInt((int)0x01)); - PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_FromInt((int)0x04)); - PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_FromInt((int)0x10)); - PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_FromInt((int)0x08)); - PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_FromInt((int)0x1)); - PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_FromInt((int)0x2)); - PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_FromInt((int)0x4)); - PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_FromInt((int)0x8)); - PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_FromInt((int)0x10)); - PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_FromInt((int)0x20)); - PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_FromInt((int)0x40)); - PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_FromInt((int)0x100)); - PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_FromInt((int)0x200)); - PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_FromInt((int)0x400)); - PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_FromInt((int)0x800)); - PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_FromInt((int)0xF77)); - PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_FromInt((int)300)); - PyDict_SetItemString(d,"STC_KEY_UP", SWIG_FromInt((int)301)); - PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_FromInt((int)302)); - PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_FromInt((int)303)); - PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_FromInt((int)304)); - PyDict_SetItemString(d,"STC_KEY_END", SWIG_FromInt((int)305)); - PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_FromInt((int)306)); - PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_FromInt((int)307)); - PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_FromInt((int)308)); - PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_FromInt((int)309)); - PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_FromInt((int)310)); - PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_FromInt((int)311)); - PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_FromInt((int)312)); - PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_LEX_XML", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_LEX_VB", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_FromInt((int)15)); - PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_FromInt((int)16)); - PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_FromInt((int)17)); - PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_FromInt((int)18)); - PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_FromInt((int)19)); - PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_FromInt((int)20)); - PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_FromInt((int)21)); - PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_FromInt((int)22)); - PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_FromInt((int)23)); - PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_FromInt((int)24)); - PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_FromInt((int)25)); - PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_FromInt((int)26)); - PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_FromInt((int)27)); - PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_FromInt((int)28)); - PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_FromInt((int)29)); - PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_FromInt((int)30)); - PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_FromInt((int)31)); - PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_FromInt((int)32)); - PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_FromInt((int)33)); - PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_FromInt((int)34)); - PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_FromInt((int)35)); - PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_FromInt((int)36)); - PyDict_SetItemString(d,"STC_LEX_F77", SWIG_FromInt((int)37)); - PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_FromInt((int)38)); - PyDict_SetItemString(d,"STC_LEX_POV", SWIG_FromInt((int)39)); - PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_FromInt((int)40)); - PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_FromInt((int)41)); - PyDict_SetItemString(d,"STC_LEX_PS", SWIG_FromInt((int)42)); - PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_FromInt((int)43)); - PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_FromInt((int)44)); - PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_FromInt((int)45)); - PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_FromInt((int)46)); - PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_FromInt((int)47)); - PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_FromInt((int)48)); - PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_FromInt((int)49)); - PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_FromInt((int)50)); - PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_FromInt((int)51)); - PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_FromInt((int)52)); - PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_FromInt((int)53)); - PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_FromInt((int)54)); - PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_FromInt((int)1000)); - PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_P_STRING", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_P_WORD", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_C_WORD", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_C_STRING", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_C_UUID", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_C_REGEX", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_FromInt((int)15)); - PyDict_SetItemString(d,"STC_C_WORD2", SWIG_FromInt((int)16)); - PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_FromInt((int)17)); - PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_FromInt((int)18)); - PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_FromInt((int)19)); - PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_H_TAG", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_H_OTHER", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_H_ASP", SWIG_FromInt((int)15)); - PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_FromInt((int)16)); - PyDict_SetItemString(d,"STC_H_CDATA", SWIG_FromInt((int)17)); - PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_FromInt((int)18)); - PyDict_SetItemString(d,"STC_H_VALUE", SWIG_FromInt((int)19)); - PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_FromInt((int)20)); - PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_FromInt((int)21)); - PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_FromInt((int)22)); - PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_FromInt((int)23)); - PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_FromInt((int)24)); - PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_FromInt((int)25)); - PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_FromInt((int)26)); - PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_FromInt((int)27)); - PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_FromInt((int)28)); - PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_FromInt((int)29)); - PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_FromInt((int)30)); - PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_FromInt((int)31)); - PyDict_SetItemString(d,"STC_HJ_START", SWIG_FromInt((int)40)); - PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_FromInt((int)41)); - PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_FromInt((int)42)); - PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_FromInt((int)43)); - PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_FromInt((int)44)); - PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_FromInt((int)45)); - PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_FromInt((int)46)); - PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_FromInt((int)47)); - PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_FromInt((int)48)); - PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_FromInt((int)49)); - PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_FromInt((int)50)); - PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_FromInt((int)51)); - PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_FromInt((int)52)); - PyDict_SetItemString(d,"STC_HJA_START", SWIG_FromInt((int)55)); - PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_FromInt((int)56)); - PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_FromInt((int)57)); - PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_FromInt((int)58)); - PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_FromInt((int)59)); - PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_FromInt((int)60)); - PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_FromInt((int)61)); - PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_FromInt((int)62)); - PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_FromInt((int)63)); - PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_FromInt((int)64)); - PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_FromInt((int)65)); - PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_FromInt((int)66)); - PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_FromInt((int)67)); - PyDict_SetItemString(d,"STC_HB_START", SWIG_FromInt((int)70)); - PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_FromInt((int)71)); - PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_FromInt((int)72)); - PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_FromInt((int)73)); - PyDict_SetItemString(d,"STC_HB_WORD", SWIG_FromInt((int)74)); - PyDict_SetItemString(d,"STC_HB_STRING", SWIG_FromInt((int)75)); - PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_FromInt((int)76)); - PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_FromInt((int)77)); - PyDict_SetItemString(d,"STC_HBA_START", SWIG_FromInt((int)80)); - PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_FromInt((int)81)); - PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_FromInt((int)82)); - PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_FromInt((int)83)); - PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_FromInt((int)84)); - PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_FromInt((int)85)); - PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_FromInt((int)86)); - PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_FromInt((int)87)); - PyDict_SetItemString(d,"STC_HP_START", SWIG_FromInt((int)90)); - PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_FromInt((int)91)); - PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_FromInt((int)92)); - PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_FromInt((int)93)); - PyDict_SetItemString(d,"STC_HP_STRING", SWIG_FromInt((int)94)); - PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_FromInt((int)95)); - PyDict_SetItemString(d,"STC_HP_WORD", SWIG_FromInt((int)96)); - PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_FromInt((int)97)); - PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_FromInt((int)98)); - PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_FromInt((int)99)); - PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_FromInt((int)100)); - PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_FromInt((int)101)); - PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_FromInt((int)102)); - PyDict_SetItemString(d,"STC_HPA_START", SWIG_FromInt((int)105)); - PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_FromInt((int)106)); - PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_FromInt((int)107)); - PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_FromInt((int)108)); - PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_FromInt((int)109)); - PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_FromInt((int)110)); - PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_FromInt((int)111)); - PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_FromInt((int)112)); - PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_FromInt((int)113)); - PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_FromInt((int)114)); - PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_FromInt((int)115)); - PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_FromInt((int)116)); - PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_FromInt((int)117)); - PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_FromInt((int)118)); - PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_FromInt((int)119)); - PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_FromInt((int)120)); - PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_FromInt((int)121)); - PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_FromInt((int)122)); - PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_FromInt((int)123)); - PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_FromInt((int)124)); - PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_FromInt((int)125)); - PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_FromInt((int)126)); - PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_FromInt((int)127)); - PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_PL_POD", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_PL_WORD", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_PL_STRING", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_PL_HASH", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_FromInt((int)15)); - PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_FromInt((int)17)); - PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_FromInt((int)18)); - PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_FromInt((int)19)); - PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_FromInt((int)20)); - PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_FromInt((int)21)); - PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_FromInt((int)22)); - PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_FromInt((int)23)); - PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_FromInt((int)24)); - PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_FromInt((int)25)); - PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_FromInt((int)26)); - PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_FromInt((int)27)); - PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_FromInt((int)28)); - PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_FromInt((int)29)); - PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_FromInt((int)30)); - PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_B_STRING", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_B_DATE", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_L_TAG", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_L_MATH", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_FromInt((int)15)); - PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_FromInt((int)16)); - PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_FromInt((int)17)); - PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_FromInt((int)18)); - PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_FromInt((int)19)); - PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_ERR_MS", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_ERR_NET", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_FromInt((int)15)); - PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_FromInt((int)16)); - PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_FromInt((int)17)); - PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_FromInt((int)18)); - PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_CONF_IP", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_FromInt((int)15)); - PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_FromInt((int)16)); - PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_FromInt((int)15)); - PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_F_STRING1", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_F_STRING2", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_F_WORD", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_F_WORD2", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_F_WORD3", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_F_LABEL", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_CSS_ID", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_POV_STRING", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_FromInt((int)15)); - PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_FromInt((int)16)); - PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_PS_NAME", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_FromInt((int)15)); - PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_FromInt((int)15)); - PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_FromInt((int)16)); - PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_FromInt((int)17)); - PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_FromInt((int)14)); - PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_LOT_SET", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_FromInt((int)0)); - PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_FromInt((int)1)); - PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_FromInt((int)2)); - PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_FromInt((int)3)); - PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_FromInt((int)4)); - PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_FromInt((int)5)); - PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_FromInt((int)6)); - PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_FromInt((int)7)); - PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_FromInt((int)8)); - PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_FromInt((int)9)); - PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_FromInt((int)10)); - PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_FromInt((int)11)); - PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_FromInt((int)12)); - PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_FromInt((int)13)); - PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_FromInt((int)31)); - PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_FromInt((int)2011)); - PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_FromInt((int)2013)); - PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_FromInt((int)2176)); - PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_FromInt((int)2177)); - PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_FromInt((int)2178)); - PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_FromInt((int)2179)); - PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_FromInt((int)2180)); - PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_FromInt((int)2300)); - PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_FromInt((int)2301)); - PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_FromInt((int)2302)); - PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_FromInt((int)2303)); - PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_FromInt((int)2304)); - PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_FromInt((int)2305)); - PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_FromInt((int)2306)); - PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_FromInt((int)2307)); - PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_FromInt((int)2308)); - PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_FromInt((int)2309)); - PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_FromInt((int)2310)); - PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_FromInt((int)2311)); - PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_FromInt((int)2312)); - PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_FromInt((int)2313)); - PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_FromInt((int)2314)); - PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_FromInt((int)2315)); - PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_FromInt((int)2316)); - PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_FromInt((int)2317)); - PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_FromInt((int)2318)); - PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_FromInt((int)2319)); - PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_FromInt((int)2320)); - PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_FromInt((int)2321)); - PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_FromInt((int)2322)); - PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_FromInt((int)2323)); - PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_FromInt((int)2324)); - PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_FromInt((int)2325)); - PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_FromInt((int)2326)); - PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_FromInt((int)2327)); - PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_FromInt((int)2328)); - PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_FromInt((int)2329)); - PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_FromInt((int)2330)); - PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_FromInt((int)2331)); - PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_FromInt((int)2332)); - PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_FromInt((int)2333)); - PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_FromInt((int)2334)); - PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_FromInt((int)2335)); - PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_FromInt((int)2336)); - PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_FromInt((int)2337)); - PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_FromInt((int)2338)); - PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_FromInt((int)2339)); - PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_FromInt((int)2404)); - PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_FromInt((int)2340)); - PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_FromInt((int)2341)); - PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_FromInt((int)2342)); - PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_FromInt((int)2343)); - PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_FromInt((int)2344)); - PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_FromInt((int)2345)); - PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_FromInt((int)2346)); - PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_FromInt((int)2347)); - PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_FromInt((int)2348)); - PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_FromInt((int)2349)); - PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_FromInt((int)2450)); - PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_FromInt((int)2451)); - PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_FromInt((int)2452)); - PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_FromInt((int)2453)); - PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_FromInt((int)2454)); - PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_FromInt((int)2455)); - PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_FromInt((int)2390)); - PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_FromInt((int)2391)); - PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_FromInt((int)2392)); - PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_FromInt((int)2393)); - PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_FromInt((int)2395)); - PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_FromInt((int)2396)); - PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_FromInt((int)2413)); - PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_FromInt((int)2414)); - PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_FromInt((int)2415)); - PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_FromInt((int)2416)); - PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_FromInt((int)2426)); - PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_FromInt((int)2427)); - PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_FromInt((int)2428)); - PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_FromInt((int)2429)); - PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_FromInt((int)2430)); - PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_FromInt((int)2431)); - PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_FromInt((int)2432)); - PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_FromInt((int)2433)); - PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_FromInt((int)2434)); - PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_FromInt((int)2435)); - PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_FromInt((int)2436)); - PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_FromInt((int)2437)); - PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_FromInt((int)2438)); - PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_FromInt((int)2439)); - PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_FromInt((int)2440)); - PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_FromInt((int)2441)); - PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_FromInt((int)2442)); - PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_FromInt((int)wxEVT_STC_CHANGE)); - PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_FromInt((int)wxEVT_STC_STYLENEEDED)); - PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_FromInt((int)wxEVT_STC_CHARADDED)); - PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTREACHED)); - PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTLEFT)); - PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT)); - PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_FromInt((int)wxEVT_STC_KEY)); - PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_FromInt((int)wxEVT_STC_DOUBLECLICK)); - PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_FromInt((int)wxEVT_STC_UPDATEUI)); - PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_FromInt((int)wxEVT_STC_MODIFIED)); - PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_FromInt((int)wxEVT_STC_MACRORECORD)); - PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_FromInt((int)wxEVT_STC_MARGINCLICK)); - PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_FromInt((int)wxEVT_STC_NEEDSHOWN)); - PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", SWIG_FromInt((int)wxEVT_STC_POSCHANGED)); - PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_FromInt((int)wxEVT_STC_PAINTED)); - PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_FromInt((int)wxEVT_STC_USERLISTSELECTION)); - PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_FromInt((int)wxEVT_STC_URIDROPPED)); - PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_FromInt((int)wxEVT_STC_DWELLSTART)); - PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_FromInt((int)wxEVT_STC_DWELLEND)); - PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_FromInt((int)wxEVT_STC_START_DRAG)); - PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_FromInt((int)wxEVT_STC_DRAG_OVER)); - PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_FromInt((int)wxEVT_STC_DO_DROP)); - PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_FromInt((int)wxEVT_STC_ZOOM)); - PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_CLICK)); - PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK)); - PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_FromInt((int)wxEVT_STC_CALLTIP_CLICK)); + { + PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)(-1))); + } + { + PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)(2000))); + } + { + PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)(3000))); + } + { + PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)(4000))); + } + { + PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)(65001))); + } + { + PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)(31))); + } + { + PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)(16))); + } + { + PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)(17))); + } + { + PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)(18))); + } + { + PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)(19))); + } + { + PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)(20))); + } + { + PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)(21))); + } + { + PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)(22))); + } + { + PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)(23))); + } + { + PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)(24))); + } + { + PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)(25))); + } + { + PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)(10000))); + } + { + PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)(25))); + } + { + PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)(26))); + } + { + PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)(27))); + } + { + PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)(28))); + } + { + PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)(29))); + } + { + PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)(30))); + } + { + PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)(31))); + } + { + PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)(0xFE000000))); + } + { + PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)(32))); + } + { + PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)(33))); + } + { + PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)(34))); + } + { + PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)(35))); + } + { + PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)(36))); + } + { + PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)(37))); + } + { + PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)(39))); + } + { + PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)(127))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)(186))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)(136))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)(238))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)(134))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)(161))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)(129))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)(77))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)(255))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)(204))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)(128))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)(162))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)(130))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)(177))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)(178))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)(163))); + } + { + PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)(222))); + } + { + PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)(0x20))); + } + { + PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)(0x40))); + } + { + PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)(0x80))); + } + { + PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)(0xE0))); + } + { + PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)(0x00100000))); + } + { + PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)(0x00200000))); + } + { + PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)(0x00400000))); + } + { + PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)(0x400))); + } + { + PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)(0x1000))); + } + { + PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)(0x2000))); + } + { + PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)(0x4000))); + } + { + PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)(0x8000))); + } + { + PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)(0x10000))); + } + { + PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)(0x20000))); + } + { + PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)(0x0FFF))); + } + { + PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)(0x0002))); + } + { + PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)(0x0004))); + } + { + PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)(0x0008))); + } + { + PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)(0x0010))); + } + { + PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)(0x0040))); + } + { + PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)(0x0001))); + } + { + PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)(10000000))); + } + { + PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)(0x0000))); + } + { + PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)(0x0001))); + } + { + PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)(0x0002))); + } + { + PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)(0x0000))); + } + { + PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)(0x0001))); + } + { + PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)(0x0002))); + } + { + PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)(-1))); + } + { + PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)(0x01))); + } + { + PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)(0x04))); + } + { + PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)(0x01))); + } + { + PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)(0x04))); + } + { + PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)(0x10))); + } + { + PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)(0x08))); + } + { + PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)(0x1))); + } + { + PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)(0x2))); + } + { + PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)(0x4))); + } + { + PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)(0x8))); + } + { + PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)(0x10))); + } + { + PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)(0x20))); + } + { + PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)(0x40))); + } + { + PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)(0x100))); + } + { + PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)(0x200))); + } + { + PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)(0x400))); + } + { + PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)(0x800))); + } + { + PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)(0xF77))); + } + { + PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)(300))); + } + { + PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)(301))); + } + { + PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)(302))); + } + { + PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)(303))); + } + { + PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)(304))); + } + { + PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)(305))); + } + { + PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)(306))); + } + { + PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)(307))); + } + { + PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)(308))); + } + { + PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)(309))); + } + { + PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)(310))); + } + { + PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)(311))); + } + { + PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)(312))); + } + { + PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)(16))); + } + { + PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)(17))); + } + { + PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)(18))); + } + { + PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)(19))); + } + { + PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)(20))); + } + { + PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)(21))); + } + { + PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)(22))); + } + { + PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)(23))); + } + { + PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)(24))); + } + { + PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)(25))); + } + { + PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)(26))); + } + { + PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)(27))); + } + { + PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)(28))); + } + { + PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)(29))); + } + { + PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)(30))); + } + { + PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)(31))); + } + { + PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)(32))); + } + { + PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)(33))); + } + { + PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)(34))); + } + { + PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)(35))); + } + { + PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)(36))); + } + { + PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)(37))); + } + { + PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)(38))); + } + { + PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)(39))); + } + { + PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)(40))); + } + { + PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)(41))); + } + { + PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)(42))); + } + { + PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)(43))); + } + { + PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)(44))); + } + { + PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)(45))); + } + { + PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)(46))); + } + { + PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)(47))); + } + { + PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)(48))); + } + { + PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)(49))); + } + { + PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)(50))); + } + { + PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)(51))); + } + { + PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)(52))); + } + { + PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)(53))); + } + { + PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)(54))); + } + { + PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)(55))); + } + { + PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)(56))); + } + { + PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)(57))); + } + { + PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)(58))); + } + { + PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)(59))); + } + { + PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)(60))); + } + { + PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)(61))); + } + { + PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)(62))); + } + { + PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int((int)(63))); + } + { + PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int((int)(64))); + } + { + PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)(1000))); + } + { + PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)(16))); + } + { + PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)(17))); + } + { + PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)(18))); + } + { + PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)(19))); + } + { + PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)(16))); + } + { + PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)(17))); + } + { + PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)(18))); + } + { + PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)(19))); + } + { + PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)(20))); + } + { + PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)(21))); + } + { + PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)(22))); + } + { + PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)(23))); + } + { + PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)(24))); + } + { + PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)(25))); + } + { + PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)(26))); + } + { + PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)(27))); + } + { + PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)(28))); + } + { + PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)(29))); + } + { + PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)(30))); + } + { + PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)(31))); + } + { + PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)(40))); + } + { + PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)(41))); + } + { + PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)(42))); + } + { + PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)(43))); + } + { + PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)(44))); + } + { + PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)(45))); + } + { + PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)(46))); + } + { + PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)(47))); + } + { + PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)(48))); + } + { + PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)(49))); + } + { + PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)(50))); + } + { + PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)(51))); + } + { + PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)(52))); + } + { + PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)(55))); + } + { + PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)(56))); + } + { + PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)(57))); + } + { + PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)(58))); + } + { + PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)(59))); + } + { + PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)(60))); + } + { + PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)(61))); + } + { + PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)(62))); + } + { + PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)(63))); + } + { + PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)(64))); + } + { + PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)(65))); + } + { + PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)(66))); + } + { + PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)(67))); + } + { + PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)(70))); + } + { + PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)(71))); + } + { + PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)(72))); + } + { + PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)(73))); + } + { + PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)(74))); + } + { + PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)(75))); + } + { + PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)(76))); + } + { + PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)(77))); + } + { + PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)(80))); + } + { + PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)(81))); + } + { + PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)(82))); + } + { + PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)(83))); + } + { + PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)(84))); + } + { + PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)(85))); + } + { + PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)(86))); + } + { + PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)(87))); + } + { + PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)(90))); + } + { + PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)(91))); + } + { + PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)(92))); + } + { + PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)(93))); + } + { + PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)(94))); + } + { + PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)(95))); + } + { + PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)(96))); + } + { + PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)(97))); + } + { + PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)(98))); + } + { + PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)(99))); + } + { + PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)(100))); + } + { + PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)(101))); + } + { + PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)(102))); + } + { + PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)(104))); + } + { + PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)(105))); + } + { + PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)(106))); + } + { + PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)(107))); + } + { + PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)(108))); + } + { + PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)(109))); + } + { + PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)(110))); + } + { + PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)(111))); + } + { + PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)(112))); + } + { + PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)(113))); + } + { + PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)(114))); + } + { + PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)(115))); + } + { + PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)(116))); + } + { + PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)(117))); + } + { + PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)(118))); + } + { + PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)(119))); + } + { + PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)(120))); + } + { + PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)(121))); + } + { + PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)(122))); + } + { + PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)(123))); + } + { + PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)(124))); + } + { + PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)(125))); + } + { + PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)(126))); + } + { + PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)(127))); + } + { + PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)(17))); + } + { + PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)(18))); + } + { + PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)(19))); + } + { + PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)(20))); + } + { + PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)(21))); + } + { + PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)(22))); + } + { + PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)(23))); + } + { + PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)(24))); + } + { + PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)(25))); + } + { + PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)(26))); + } + { + PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)(27))); + } + { + PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)(28))); + } + { + PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)(29))); + } + { + PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)(30))); + } + { + PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)(16))); + } + { + PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)(17))); + } + { + PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)(18))); + } + { + PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)(19))); + } + { + PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)(16))); + } + { + PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)(17))); + } + { + PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)(18))); + } + { + PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)(19))); + } + { + PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int((int)(20))); + } + { + PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)(16))); + } + { + PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)(16))); + } + { + PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)(16))); + } + { + PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)(17))); + } + { + PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)(31))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)(15))); + } + { + PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)(16))); + } + { + PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)(19))); + } + { + PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)(31))); + } + { + PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)(19))); + } + { + PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int((int)(0))); + } + { + PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int((int)(1))); + } + { + PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int((int)(2))); + } + { + PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int((int)(3))); + } + { + PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int((int)(4))); + } + { + PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int((int)(5))); + } + { + PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int((int)(6))); + } + { + PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int((int)(7))); + } + { + PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int((int)(8))); + } + { + PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int((int)(9))); + } + { + PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int((int)(10))); + } + { + PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int((int)(11))); + } + { + PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int((int)(12))); + } + { + PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int((int)(13))); + } + { + PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int((int)(14))); + } + { + PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)(2011))); + } + { + PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)(2013))); + } + { + PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)(2176))); + } + { + PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)(2177))); + } + { + PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)(2178))); + } + { + PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)(2179))); + } + { + PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)(2180))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)(2300))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)(2301))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)(2302))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)(2303))); + } + { + PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)(2304))); + } + { + PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)(2305))); + } + { + PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)(2306))); + } + { + PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)(2307))); + } + { + PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)(2308))); + } + { + PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)(2309))); + } + { + PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)(2310))); + } + { + PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)(2311))); + } + { + PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)(2312))); + } + { + PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)(2313))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)(2314))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)(2315))); + } + { + PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)(2316))); + } + { + PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)(2317))); + } + { + PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)(2318))); + } + { + PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)(2319))); + } + { + PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)(2320))); + } + { + PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)(2321))); + } + { + PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)(2322))); + } + { + PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)(2323))); + } + { + PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)(2324))); + } + { + PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)(2325))); + } + { + PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)(2326))); + } + { + PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)(2327))); + } + { + PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)(2328))); + } + { + PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)(2329))); + } + { + PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)(2330))); + } + { + PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)(2331))); + } + { + PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)(2332))); + } + { + PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)(2333))); + } + { + PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)(2334))); + } + { + PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)(2335))); + } + { + PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)(2336))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)(2337))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)(2338))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)(2339))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)(2404))); + } + { + PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)(2340))); + } + { + PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)(2341))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)(2342))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)(2343))); + } + { + PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)(2344))); + } + { + PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)(2345))); + } + { + PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)(2346))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)(2347))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)(2348))); + } + { + PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)(2349))); + } + { + PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)(2450))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)(2451))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)(2452))); + } + { + PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)(2453))); + } + { + PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)(2454))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)(2455))); + } + { + PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)(2390))); + } + { + PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)(2391))); + } + { + PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)(2392))); + } + { + PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)(2393))); + } + { + PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)(2395))); + } + { + PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)(2396))); + } + { + PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)(2413))); + } + { + PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)(2414))); + } + { + PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)(2415))); + } + { + PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)(2416))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)(2426))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)(2427))); + } + { + PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)(2428))); + } + { + PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)(2429))); + } + { + PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)(2430))); + } + { + PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)(2431))); + } + { + PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)(2432))); + } + { + PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)(2433))); + } + { + PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)(2434))); + } + { + PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)(2435))); + } + { + PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)(2436))); + } + { + PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)(2437))); + } + { + PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)(2438))); + } + { + PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)(2439))); + } + { + PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)(2440))); + } + { + PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)(2441))); + } + { + PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)(2442))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)(wxEVT_STC_CHANGE))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)(wxEVT_STC_STYLENEEDED))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)(wxEVT_STC_CHARADDED))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTREACHED))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTLEFT))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)(wxEVT_STC_ROMODIFYATTEMPT))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)(wxEVT_STC_KEY))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)(wxEVT_STC_DOUBLECLICK))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)(wxEVT_STC_UPDATEUI))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)(wxEVT_STC_MODIFIED))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)(wxEVT_STC_MACRORECORD))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)(wxEVT_STC_MARGINCLICK))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)(wxEVT_STC_NEEDSHOWN))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)(wxEVT_STC_PAINTED))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)(wxEVT_STC_USERLISTSELECTION))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)(wxEVT_STC_URIDROPPED))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)(wxEVT_STC_DWELLSTART))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)(wxEVT_STC_DWELLEND))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)(wxEVT_STC_START_DRAG))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)(wxEVT_STC_DRAG_OVER))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)(wxEVT_STC_DO_DROP))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)(wxEVT_STC_ZOOM))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_CLICK))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_DCLICK))); + } + { + PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)(wxEVT_STC_CALLTIP_CLICK))); + } }