]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/stc/mac/stc_wrap.cpp
Add man page link for pywxrc.
[wxWidgets.git] / wxPython / contrib / stc / mac / stc_wrap.cpp
index dc85190588d648774d59ebcb5575d739760ef060..5d535c02c4a4c210c2ff0281380659a3b7818f6d 100644 (file)
@@ -43,6 +43,7 @@ private:
 #define SWIG_TypeCast        SWIG_Python_TypeCast
 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
 #define SWIG_TypeName        SWIG_Python_TypeName
+#define SWIG_TypePrettyName  SWIG_Python_TypePrettyName
 #define SWIG_TypeQuery       SWIG_Python_TypeQuery
 #define SWIG_TypeClientData  SWIG_Python_TypeClientData
 #define SWIG_PackData        SWIG_Python_PackData 
@@ -113,6 +114,7 @@ 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(const char *)     SWIG_TypePrettyName(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);
@@ -123,6 +125,7 @@ SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int);
 }
 #endif
 
+
 /***********************************************************************
  * pyrun.swg for wxPython
  *
@@ -133,8 +136,6 @@ SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int);
  *
  ************************************************************************/
 
-#include "Python.h"
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -204,6 +205,7 @@ SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject *d, swig_con
 #endif
 
 
+
 /* -------- TYPES TABLE (BEGIN) -------- */
 
 #define  SWIGTYPE_p_wxRect swig_types[0] 
@@ -237,47 +239,64 @@ static swig_type_info *swig_types[20];
 
 #define SWIG_name    "_stc"
 
-/* Auxiliar swig  macros */
+/* Auxiliar swig  macros that appear in the header */
+
+#define SWIG_OLDOBJ  1
+#define SWIG_NEWOBJ  SWIG_OLDOBJ + 1
+#define SWIG_PYSTR   SWIG_NEWOBJ + 1
 
 #ifdef __cplusplus
 #define SWIGSTATICINLINE(a) static inline a
 #define SWIGSTATIC(a) static a
-#define swig_new_array(type, size) (new type[(size)])
+#define swig_new_array(size,Type) (new Type[(size)])
+#define swig_delete(cptr) delete cptr
 #define swig_delete_array(cptr) delete[] cptr
-#define swig_const_cast(type,a) const_cast<type>(a)
-#define swig_static_cast(type,a) static_cast<type>(a)
-#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
-
-#ifdef HAVE_NUMERIC_CAST
-#define swig_numeric_cast(type,a) numeric_cast<type>(a)
-#else
-#define swig_numeric_cast(type,a) static_cast<type>(a)
-#endif
+#define swig_const_cast(a,Type) const_cast<Type >(a)
+#define swig_static_cast(a,Type) static_cast<Type >(a)
+#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
+#define swig_new_copy(ptr,Type) (new Type(*ptr))
+#define swig_numeric_cast(a,Type) static_cast<Type >(a)
 
 #else /* C case */
 
 #define SWIGSTATICINLINE(a) static a
 #define SWIGSTATIC(a) static a
-#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
+#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
+#define swig_delete(cptr) free((char*)cptr)
 #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)
+#define swig_const_cast(a,Type) (Type)(a)
+#define swig_static_cast(a,Type) (Type)(a)
+#define swig_reinterpret_cast(a,Type) (Type)(a)
+#define swig_numeric_cast(a,Type) (Type)(a)
+#define swig_new_copy(ptr,Type)  ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
 
 #endif /* __cplusplus */
 
 
-#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
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_signed_SS_char PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_unsigned_SS_char PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_short PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_unsigned_SS_short PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_int PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_long PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_float PyFloat_FromDouble
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_double PyFloat_FromDouble
+/*@@*/
 
 
 #include "wx/wxPython/wxPython.h"
@@ -290,119 +309,185 @@ static swig_type_info *swig_types[20];
 #include <limits.h>
 
 
-SWIGSTATICINLINE(long)
-SWIG_CheckLongInRange(long value, const char* type,
-                     long min_value, long max_value)
+SWIGSTATICINLINE(int)
+  SWIG_CheckLongInRange(long value, long min_value, long max_value,
+                       const char *errmsg)
 {
-  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);
+  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 value;
+  return 1;
 }
 
 
-SWIGSTATICINLINE(long)
-SWIG_AsLong(PyObject * obj)
+// See my_fragments.i
+SWIGSTATICINLINE(int)
+SWIG_AsVal_long(PyObject* obj, long* val)
 {
-    if (PyNumber_Check(obj))
-        return PyInt_AsLong(obj);
+    if (PyNumber_Check(obj)) {
+        if (val) *val = PyInt_AsLong(obj);
+        return 1;
+    }
     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 0;
 }
 
 
 #if INT_MAX != LONG_MAX
 SWIGSTATICINLINE(int)
-SWIG_AsInt(PyObject *obj)
+  SWIG_AsVal_int(PyObject *obj, int *val)
 { 
-  return swig_numeric_cast(int,
-    SWIG_CheckLongInRange(SWIG_AsLong(obj),
-                         "int", INT_MIN, INT_MAX));
+  const char* errmsg = val ? "int" : 0;
+  long v;
+  if (SWIG_AsVal_long(obj, &v)) {
+    if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
+      if (val) *val = swig_numeric_cast(v, int);
+      return 1;
+    } else {
+      return 0;
+    }
+  } else {
+    PyErr_Clear();
+  }
+  if (val) {
+    PyErr_SetString(PyExc_TypeError, "an int is expected");
+  }
+  return 0;    
 }
 #else
-#define SWIG_AsInt SWIG_AsLong
+SWIGSTATICINLINE(int)
+  SWIG_AsVal_int(PyObject *obj, int *val)
+{
+  return SWIG_AsVal_long(obj,(long*)val);
+}
 #endif
 
 
 SWIGSTATICINLINE(int)
-SWIG_CheckInt(PyObject* obj)
+SWIG_As_int(PyObject* obj)
 {
-  SWIG_AsInt(obj);
-  if (PyErr_Occurred()) {
-    PyErr_Clear();
-    return 0;
-  } else {
-    return 1;
+  int v;
+  if (!SWIG_AsVal_int(obj, &v)) {
+    /*
+      this is needed to make valgrind/purify happier.  the other
+      solution is throw an exception, but since this code should work
+      with plain C ....
+     */
+    memset((void*)&v, 0, sizeof(int));
   }
+  return v;
 }
 
 
-SWIGSTATICINLINE(int)
-SWIG_CheckLong(PyObject* obj)
+SWIGSTATICINLINE(long)
+SWIG_As_long(PyObject* obj)
 {
-  SWIG_AsLong(obj);
-  if (PyErr_Occurred()) {
-    PyErr_Clear();
-    return 0;
-  } else {
-    return 1;
+  long v;
+  if (!SWIG_AsVal_long(obj, &v)) {
+    /*
+      this is needed to make valgrind/purify happier.  the other
+      solution is throw an exception, but since this code should work
+      with plain C ....
+     */
+    memset((void*)&v, 0, sizeof(long));
   }
+  return v;
 }
 
+  
+SWIGSTATICINLINE(int)
+SWIG_Check_int(PyObject* obj)
+{
+  return SWIG_AsVal_int(obj, (int*)0);
+}
 
-SWIGSTATICINLINE(bool)
-SWIG_AsBool(PyObject *obj)
+  
+SWIGSTATICINLINE(int)
+SWIG_Check_long(PyObject* obj)
 {
-  return PyObject_IsTrue(obj) ? true : false;
+  return SWIG_AsVal_long(obj, (long*)0);
 }
 
 
 SWIGSTATICINLINE(int)
-SWIG_CheckBool(PyObject* obj)
+  SWIG_AsVal_bool(PyObject *obj, bool *val)
 {
-  SWIG_AsBool(obj);
-  if (PyErr_Occurred()) {
-    PyErr_Clear();
-    return 0;
-  } else {
+  /*  if (val) *val = PyObject_IsTrue(obj); return 1; */
+  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 = (bool)res;
     return 1;
   }
+  if (val) {
+    PyErr_SetString(PyExc_TypeError, "a bool is expected");
+  }
+  return 0;
+}
+
+
+SWIGSTATICINLINE(bool)
+SWIG_As_bool(PyObject* obj)
+{
+  bool v;
+  if (!SWIG_AsVal_bool(obj, &v)) {
+    /*
+      this is needed to make valgrind/purify happier.  the other
+      solution is throw an exception, but since this code should work
+      with plain C ....
+     */
+    memset((void*)&v, 0, sizeof(bool));
+  }
+  return v;
+}
+
+  
+SWIGSTATICINLINE(int)
+SWIG_Check_bool(PyObject* obj)
+{
+  return SWIG_AsVal_bool(obj, (bool*)0);
 }
 
 
-static PyObject* t_output_helper(PyObject* target, PyObject* o) {
+  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 {                         
+    } 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);      
 
@@ -412,43 +497,51 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
         Py_DECREF(o3);
     }
     return target;
-}
+  }
+
 
 
-/* returns '1' if the input is a raw char*, '0' if is a PyString */
+/* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
 SWIGSTATIC(int)
-SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
+SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
 {
   static swig_type_info* pchar_info = 0;
-  int psize = 0;
+  char* vptr = 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;
+  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 {
-    if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
-    return 1;
+    if (PyString_Check(obj)) {
+      if (cptr) {
+       *cptr = PyString_AS_STRING(obj);
+       if (psize) {
+         *psize = PyString_GET_SIZE(obj) + 1;
+       }
+      }
+      return SWIG_PYSTR;
+    }
   }
+  if (cptr) {
+    PyErr_SetString(PyExc_TypeError, "a string is expected");
+  }
+  return 0;
 }
 
 
-SWIGSTATICINLINE(char* )
-SWIG_AsCharPtr(PyObject *obj)
+SWIGSTATICINLINE(int)
+SWIG_AsCharPtr(PyObject *obj, char **val)
 {
-  char* cptr;
-  SWIG_AsCharPtrAndSize(obj, &cptr, 0);
-  if (PyErr_Occurred()) {
-    PyErr_Clear();
+  char* cptr = 0;
+  if (SWIG_AsCharPtrAndSize(obj, &cptr, (size_t*)(0))) {
+    if (val) *val = cptr;
+    return 1;
+  }
+  if (val) {
     PyErr_SetString(PyExc_TypeError, "a char* is expected");
-  }  
-  return cptr;
+  }
+  return 0;
 }
 
 #ifdef __cplusplus
@@ -477,7 +570,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 +581,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,11 +592,13 @@ 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(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO: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 (obj1) {
+        arg2 = (int)SWIG_As_int(obj1); 
+        if (PyErr_Occurred()) SWIG_fail;
+    }
     if (obj2) {
         {
             arg3 = &temp3;
@@ -517,17 +612,18 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *
         }
     }
     if (obj4) {
-        arg5 = (long) SWIG_AsLong(obj4); 
+        arg5 = (long)SWIG_As_long(obj4); 
         if (PyErr_Occurred()) 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 +654,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 +672,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 +682,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 +694,15 @@ 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(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO: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 (obj2) {
+        arg3 = (int)SWIG_As_int(obj2); 
+        if (PyErr_Occurred()) SWIG_fail;
+    }
     if (obj3) {
         {
             arg4 = &temp4;
@@ -617,14 +716,14 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObjec
         }
     }
     if (obj5) {
-        arg6 = (long) SWIG_AsLong(obj5); 
+        arg6 = (long)SWIG_As_long(obj5); 
         if (PyErr_Occurred()) SWIG_fail;
     }
     if (obj6) {
         {
             arg7 = wxString_in_helper(obj6);
             if (arg7 == NULL) SWIG_fail;
-            temp7 = True;
+            temp7 = true;
         }
     }
     {
@@ -653,7 +752,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[] = {
@@ -666,7 +765,7 @@ static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObje
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -694,7 +793,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[] = {
@@ -712,8 +811,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 +840,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 ;
@@ -751,12 +851,12 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = wxString_in_helper(obj2);
         if (arg3 == NULL) SWIG_fail;
-        temp3 = True;
+        temp3 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -849,7 +949,7 @@ 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;
@@ -870,7 +970,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -879,7 +979,7 @@ 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;
@@ -905,7 +1005,7 @@ 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;
@@ -931,7 +1031,7 @@ 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;
@@ -952,7 +1052,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -961,7 +1061,7 @@ 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;
@@ -1006,7 +1106,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1088,9 +1188,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1150,7 +1250,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1159,7 +1259,7 @@ 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;
@@ -1179,7 +1279,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1242,7 +1342,7 @@ 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;
@@ -1262,7 +1362,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1303,7 +1403,7 @@ 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;
@@ -1326,9 +1426,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1337,7 +1437,7 @@ 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;
@@ -1357,7 +1457,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1386,7 +1486,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1415,7 +1515,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1437,12 +1537,13 @@ 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;
@@ -1460,10 +1561,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;
@@ -1489,7 +1588,7 @@ 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;
@@ -1509,7 +1608,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1544,7 +1643,7 @@ 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;
@@ -1564,7 +1663,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1595,9 +1694,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1628,9 +1727,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1687,7 +1786,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1716,7 +1815,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1751,7 +1850,7 @@ 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;
@@ -1771,7 +1870,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1810,9 +1909,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     if (obj3) {
         {
@@ -1856,7 +1955,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -1892,7 +1991,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -1928,9 +2027,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1939,7 +2038,7 @@ 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;
@@ -1961,9 +2060,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -1992,7 +2091,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2022,7 +2121,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2031,7 +2130,7 @@ 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;
@@ -2054,9 +2153,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2065,7 +2164,7 @@ 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;
@@ -2088,9 +2187,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2099,7 +2198,7 @@ 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;
@@ -2121,7 +2220,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
     SWIG_POINTER_EXCEPTION | 0)) == -1)
@@ -2159,9 +2258,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2191,7 +2290,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2200,7 +2299,7 @@ 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;
@@ -2222,9 +2321,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2254,7 +2353,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2263,7 +2362,7 @@ 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;
@@ -2285,9 +2384,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2317,7 +2416,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2326,7 +2425,7 @@ 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;
@@ -2348,9 +2447,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (bool) SWIG_AsBool(obj2); 
+    arg3 = (bool)SWIG_As_bool(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2380,7 +2479,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2439,7 +2538,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -2475,7 +2574,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -2510,9 +2609,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (bool) SWIG_AsBool(obj2); 
+    arg3 = (bool)SWIG_As_bool(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2543,9 +2642,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (bool) SWIG_AsBool(obj2); 
+    arg3 = (bool)SWIG_As_bool(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2576,9 +2675,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2599,7 +2698,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 ;
@@ -2610,12 +2709,12 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = wxString_in_helper(obj2);
         if (arg3 == NULL) SWIG_fail;
-        temp3 = True;
+        temp3 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2654,9 +2753,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (bool) SWIG_AsBool(obj2); 
+    arg3 = (bool)SWIG_As_bool(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2712,9 +2811,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (bool) SWIG_AsBool(obj2); 
+    arg3 = (bool)SWIG_As_bool(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2745,9 +2844,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2778,9 +2877,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2811,9 +2910,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (bool) SWIG_AsBool(obj2); 
+    arg3 = (bool)SWIG_As_bool(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2845,7 +2944,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -2881,7 +2980,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -2950,11 +3049,11 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg4 = (int) SWIG_AsInt(obj3); 
+    arg4 = (int)SWIG_As_int(obj3); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -2985,9 +3084,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3043,10 +3142,9 @@ 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);
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
+    if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
         (arg1)->SetStyleBytes(arg2,arg3);
@@ -3076,9 +3174,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (bool) SWIG_AsBool(obj2); 
+    arg3 = (bool)SWIG_As_bool(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3113,7 +3211,7 @@ 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;
@@ -3133,7 +3231,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3153,7 +3251,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[] = {
@@ -3166,7 +3264,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, P
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3255,9 +3353,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3287,7 +3385,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3296,7 +3394,7 @@ 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;
@@ -3319,7 +3417,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -3353,7 +3451,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3389,7 +3487,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -3425,7 +3523,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -3458,7 +3556,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3493,7 +3591,7 @@ 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;
@@ -3515,9 +3613,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3547,7 +3645,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3556,7 +3654,7 @@ 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;
@@ -3582,7 +3680,7 @@ 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;
@@ -3630,7 +3728,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3723,9 +3821,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (bool) SWIG_AsBool(obj2); 
+    arg3 = (bool)SWIG_As_bool(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3746,7 +3844,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 ;
@@ -3757,12 +3855,12 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = wxString_in_helper(obj2);
         if (arg3 == NULL) SWIG_fail;
-        temp3 = True;
+        temp3 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3858,7 +3956,7 @@ 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;
@@ -3894,7 +3992,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[] = {
@@ -3907,7 +4005,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args,
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3944,7 +4042,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -3979,7 +4077,7 @@ 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 +4088,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[] = {
@@ -4003,7 +4101,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args,
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4040,7 +4138,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4088,7 +4186,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[] = {
@@ -4101,7 +4199,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *a
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4138,7 +4236,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4195,7 +4293,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4244,7 +4342,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 ;
@@ -4255,12 +4353,12 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = wxString_in_helper(obj2);
         if (arg3 == NULL) SWIG_fail;
-        temp3 = True;
+        temp3 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4297,7 +4395,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4354,7 +4452,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4413,7 +4511,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
     SWIG_POINTER_EXCEPTION | 0)) == -1)
@@ -4480,7 +4578,7 @@ 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;
@@ -4500,7 +4598,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4529,7 +4627,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4564,7 +4662,7 @@ 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;
@@ -4584,7 +4682,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4643,9 +4741,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4675,7 +4773,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4684,7 +4782,7 @@ 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;
@@ -4705,7 +4803,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4714,7 +4812,7 @@ 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;
@@ -4735,7 +4833,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4744,7 +4842,7 @@ 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;
@@ -4764,7 +4862,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4821,7 +4919,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4878,7 +4976,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4913,7 +5011,7 @@ 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;
@@ -4934,7 +5032,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -4943,7 +5041,7 @@ 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;
@@ -4969,7 +5067,7 @@ 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;
@@ -5047,7 +5145,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5076,7 +5174,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5111,7 +5209,7 @@ 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;
@@ -5131,7 +5229,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5166,7 +5264,7 @@ 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;
@@ -5186,7 +5284,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5221,7 +5319,7 @@ 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;
@@ -5241,7 +5339,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5276,7 +5374,7 @@ 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 +5389,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 ;
@@ -5304,17 +5402,17 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg4 = wxString_in_helper(obj3);
         if (arg4 == NULL) SWIG_fail;
-        temp4 = True;
+        temp4 = true;
     }
     if (obj4) {
-        arg5 = (int) SWIG_AsInt(obj4); 
+        arg5 = (int)SWIG_As_int(obj4); 
         if (PyErr_Occurred()) SWIG_fail;
     }
     {
@@ -5324,7 +5422,7 @@ 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;
@@ -5367,11 +5465,11 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg4 = (int) SWIG_AsInt(obj3); 
+    arg4 = (int)SWIG_As_int(obj3); 
     if (PyErr_Occurred()) SWIG_fail;
     if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC,
     SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
@@ -5390,7 +5488,7 @@ 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;
@@ -5416,7 +5514,7 @@ 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;
@@ -5437,7 +5535,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5478,7 +5576,7 @@ 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;
@@ -5498,7 +5596,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5533,7 +5631,7 @@ 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;
@@ -5553,7 +5651,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5588,7 +5686,7 @@ 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;
@@ -5638,9 +5736,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5704,9 +5802,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5741,7 +5839,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5771,7 +5869,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5780,7 +5878,7 @@ 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;
@@ -5801,7 +5899,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5810,7 +5908,7 @@ 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;
@@ -5832,9 +5930,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5879,7 +5977,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[] = {
@@ -5892,7 +5990,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *arg
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -5929,7 +6027,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6155,7 +6253,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[] = {
@@ -6168,7 +6266,7 @@ static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObje
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6243,7 +6341,7 @@ 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;
@@ -6263,7 +6361,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6320,7 +6418,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6355,7 +6453,7 @@ 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;
@@ -6375,7 +6473,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6410,7 +6508,7 @@ 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;
@@ -6430,7 +6528,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6465,7 +6563,7 @@ 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 +6575,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[] = {
@@ -6490,7 +6588,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args,
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6499,7 +6597,7 @@ 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 +6617,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[] = {
@@ -6532,7 +6630,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6541,7 +6639,7 @@ 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 +6659,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[] = {
@@ -6574,7 +6672,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args,
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6583,7 +6681,7 @@ 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;
@@ -6611,7 +6709,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6646,7 +6744,7 @@ 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 +6756,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 ;
@@ -6669,12 +6767,12 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = wxString_in_helper(obj2);
         if (arg3 == NULL) SWIG_fail;
-        temp3 = True;
+        temp3 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6770,7 +6868,7 @@ 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;
@@ -6792,9 +6890,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6920,7 +7018,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6929,7 +7027,7 @@ 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;
@@ -6950,7 +7048,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -6959,7 +7057,7 @@ 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;
@@ -6981,9 +7079,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7013,7 +7111,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7022,7 +7120,7 @@ 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;
@@ -7045,9 +7143,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7056,7 +7154,7 @@ 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;
@@ -7077,7 +7175,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7086,7 +7184,7 @@ 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;
@@ -7108,9 +7206,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7141,9 +7239,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7173,7 +7271,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7206,9 +7304,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (bool) SWIG_AsBool(obj2); 
+    arg3 = (bool)SWIG_As_bool(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7238,7 +7336,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7269,7 +7367,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7298,7 +7396,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7327,7 +7425,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7356,7 +7454,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7385,7 +7483,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7442,7 +7540,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7499,7 +7597,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7534,7 +7632,7 @@ 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;
@@ -7557,9 +7655,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (bool) SWIG_AsBool(obj2); 
+    arg3 = (bool)SWIG_As_bool(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7568,7 +7666,7 @@ 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;
@@ -7591,9 +7689,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (bool) SWIG_AsBool(obj2); 
+    arg3 = (bool)SWIG_As_bool(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7602,7 +7700,7 @@ 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;
@@ -7622,7 +7720,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7657,7 +7755,172 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapMode(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;
+}
+
+
+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;
+    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
+    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+    arg2 = (int)SWIG_As_int(obj1); 
+    if (PyErr_Occurred()) 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;
+    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
+    SWIG_POINTER_EXCEPTION | 0)) == -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;
+    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
+    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+    arg2 = (int)SWIG_As_int(obj1); 
+    if (PyErr_Occurred()) 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;
+    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
+    SWIG_POINTER_EXCEPTION | 0)) == -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;
+    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
+    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+    arg2 = (int)SWIG_As_int(obj1); 
+    if (PyErr_Occurred()) 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;
+    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
+    SWIG_POINTER_EXCEPTION | 0)) == -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;
@@ -7677,7 +7940,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7712,7 +7975,7 @@ 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;
@@ -7732,7 +7995,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7767,7 +8030,7 @@ 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 +8043,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 ;
@@ -7791,12 +8054,12 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = wxString_in_helper(obj2);
         if (arg3 == NULL) SWIG_fail;
-        temp3 = True;
+        temp3 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7805,7 +8068,7 @@ 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;
@@ -7833,7 +8096,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7868,7 +8131,7 @@ 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;
@@ -7889,7 +8152,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7898,7 +8161,7 @@ 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;
@@ -7918,7 +8181,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -7967,7 +8230,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 ;
@@ -7978,12 +8241,12 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = wxString_in_helper(obj2);
         if (arg3 == NULL) SWIG_fail;
-        temp3 = True;
+        temp3 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -8048,7 +8311,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -8127,7 +8390,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -8159,7 +8422,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -8195,7 +8458,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -9679,7 +9942,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -9688,7 +9951,7 @@ 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;
@@ -9710,9 +9973,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -9741,7 +10004,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -9771,7 +10034,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -9780,7 +10043,7 @@ 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;
@@ -9828,7 +10091,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -9911,7 +10174,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -9946,7 +10209,7 @@ 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;
@@ -9966,7 +10229,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10001,7 +10264,7 @@ 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;
@@ -10021,7 +10284,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10130,7 +10393,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 ;
@@ -10141,12 +10404,12 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = wxString_in_helper(obj2);
         if (arg3 == NULL) SWIG_fail;
-        temp3 = True;
+        temp3 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10155,7 +10418,7 @@ 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 +10439,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 ;
@@ -10187,12 +10450,12 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = wxString_in_helper(obj2);
         if (arg3 == NULL) SWIG_fail;
-        temp3 = True;
+        temp3 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10201,7 +10464,7 @@ 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;
@@ -10235,7 +10498,7 @@ 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;
@@ -10255,7 +10518,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10312,7 +10575,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10347,7 +10610,7 @@ 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;
@@ -10455,7 +10718,7 @@ 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;
@@ -10475,7 +10738,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10532,7 +10795,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10567,7 +10830,7 @@ 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;
@@ -10587,7 +10850,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10644,7 +10907,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10679,7 +10942,7 @@ 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;
@@ -10699,7 +10962,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10734,7 +10997,7 @@ 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;
@@ -10856,9 +11119,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10937,7 +11200,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -10972,7 +11235,7 @@ 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;
@@ -11019,9 +11282,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -11052,9 +11315,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -11083,7 +11346,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -11118,7 +11381,7 @@ 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;
@@ -11141,7 +11404,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -11177,7 +11440,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = &temp3;
@@ -11210,7 +11473,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -11239,7 +11502,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -11369,7 +11632,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -11378,7 +11641,7 @@ 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;
@@ -11399,7 +11662,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -11408,7 +11671,7 @@ 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;
@@ -11430,9 +11693,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -11453,7 +11716,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 ;
@@ -11464,12 +11727,12 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = wxString_in_helper(obj2);
         if (arg3 == NULL) SWIG_fail;
-        temp3 = True;
+        temp3 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -11506,7 +11769,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -11541,7 +11804,7 @@ 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;
@@ -11562,7 +11825,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -11571,7 +11834,7 @@ 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;
@@ -11592,7 +11855,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -11601,7 +11864,7 @@ 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;
@@ -12037,7 +12300,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[] = {
@@ -12050,7 +12313,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *a
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12118,7 +12381,36 @@ 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;
+    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
+    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+    arg2 = (int)SWIG_As_int(obj1); 
+    if (PyErr_Occurred()) 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;
@@ -12188,7 +12480,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12223,7 +12515,7 @@ 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;
@@ -12245,9 +12537,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12268,8 +12560,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 ;
@@ -12283,12 +12575,12 @@ static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, Py
     {
         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 +12617,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 ;
@@ -12336,12 +12628,12 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = wxString_in_helper(obj2);
         if (arg3 == NULL) SWIG_fail;
-        temp3 = True;
+        temp3 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12369,7 +12661,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[] = {
@@ -12382,7 +12674,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *arg
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12425,7 +12717,7 @@ 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 +12729,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 ;
@@ -12448,12 +12740,12 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg3 = wxString_in_helper(obj2);
         if (arg3 == NULL) SWIG_fail;
-        temp3 = True;
+        temp3 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12492,7 +12784,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
     SWIG_POINTER_EXCEPTION | 0)) == -1)
@@ -12524,7 +12816,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 ;
@@ -12539,20 +12831,20 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg4 = wxString_in_helper(obj3);
         if (arg4 == NULL) SWIG_fail;
-        temp4 = True;
+        temp4 = true;
     }
-    arg5 = (bool) SWIG_AsBool(obj4); 
+    arg5 = (bool)SWIG_As_bool(obj4); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg6 = (bool) SWIG_AsBool(obj5); 
+    arg6 = (bool)SWIG_As_bool(obj5); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg7 = (bool) SWIG_AsBool(obj6); 
+    arg7 = (bool)SWIG_As_bool(obj6); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12589,7 +12881,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12620,9 +12912,9 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12644,14 +12936,16 @@ 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;
@@ -12663,14 +12957,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;
@@ -12691,7 +12981,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12724,7 +13014,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12753,7 +13043,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12787,14 +13077,14 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     if (obj2) {
-        arg3 = (long) SWIG_AsLong(obj2); 
+        arg3 = (long)SWIG_As_long(obj2); 
         if (PyErr_Occurred()) SWIG_fail;
     }
     if (obj3) {
-        arg4 = (long) SWIG_AsLong(obj3); 
+        arg4 = (long)SWIG_As_long(obj3); 
         if (PyErr_Occurred()) SWIG_fail;
     }
     {
@@ -12804,7 +13094,7 @@ 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;
@@ -12910,7 +13200,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12931,7 +13221,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[] = {
@@ -12944,7 +13234,7 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObj
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -12975,7 +13265,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[] = {
@@ -12988,7 +13278,7 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObj
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13032,11 +13322,11 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (int) SWIG_AsInt(obj2); 
+    arg3 = (int)SWIG_As_int(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg4 = (wxDragResult) SWIG_AsInt(obj3); 
+    arg4 = (int)SWIG_As_int(obj3); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13045,7 +13335,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDragOver(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;
@@ -13059,7 +13349,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 ;
@@ -13071,14 +13361,14 @@ 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); 
+    arg2 = (long)SWIG_As_long(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
-    arg3 = (long) SWIG_AsLong(obj2); 
+    arg3 = (long)SWIG_As_long(obj2); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         arg4 = wxString_in_helper(obj3);
         if (arg4 == NULL) SWIG_fail;
-        temp4 = True;
+        temp4 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13117,7 +13407,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13181,11 +13471,11 @@ 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); 
+        arg1 = (wxEventType)SWIG_As_int(obj0); 
         if (PyErr_Occurred()) SWIG_fail;
     }
     if (obj1) {
-        arg2 = (int) SWIG_AsInt(obj1); 
+        arg2 = (int)SWIG_As_int(obj1); 
         if (PyErr_Occurred()) SWIG_fail;
     }
     {
@@ -13240,7 +13530,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13269,7 +13559,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13298,7 +13588,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13327,7 +13617,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13347,7 +13637,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[] = {
@@ -13360,7 +13650,7 @@ static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObj
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13397,7 +13687,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13426,7 +13716,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13455,7 +13745,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13484,7 +13774,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13513,7 +13803,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13542,7 +13832,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13571,7 +13861,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13600,7 +13890,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13629,7 +13919,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13658,7 +13948,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13687,7 +13977,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13716,7 +14006,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13736,7 +14026,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[] = {
@@ -13749,7 +14039,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, P
     {
         arg2 = wxString_in_helper(obj1);
         if (arg2 == NULL) SWIG_fail;
-        temp2 = True;
+        temp2 = true;
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13786,7 +14076,7 @@ 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); 
+    arg2 = (bool)SWIG_As_bool(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13815,7 +14105,7 @@ 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); 
+    arg2 = (int)SWIG_As_int(obj1); 
     if (PyErr_Occurred()) SWIG_fail;
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
@@ -13850,7 +14140,7 @@ 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;
@@ -13876,7 +14166,7 @@ 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;
@@ -13902,7 +14192,7 @@ 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;
@@ -13928,7 +14218,7 @@ 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;
@@ -13986,7 +14276,7 @@ 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;
@@ -14012,7 +14302,7 @@ 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;
@@ -14038,7 +14328,7 @@ 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;
@@ -14064,7 +14354,7 @@ 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;
@@ -14090,7 +14380,7 @@ 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;
@@ -14116,7 +14406,7 @@ 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;
@@ -14142,7 +14432,7 @@ 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;
@@ -14168,7 +14458,7 @@ 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;
@@ -14194,7 +14484,7 @@ 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;
@@ -14220,7 +14510,7 @@ 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;
@@ -14246,7 +14536,7 @@ 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;
@@ -14272,7 +14562,7 @@ 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;
@@ -14358,7 +14648,7 @@ static PyObject *_wrap_StyledTextEvent_GetDragResult(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;
@@ -14713,6 +15003,12 @@ static PyMethodDef SwigMethods[] = {
         { (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 },
@@ -14876,6 +15172,7 @@ static PyMethodDef SwigMethods[] = {
         { (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_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 },
@@ -15484,914 +15781,1035 @@ 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_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_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_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_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_WORD", SWIG_From_int((int)5));
+    PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)6));
+    PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)7));
+    PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)8));
+    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_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));
     
     
 }