X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc6dd35581586950ebcf7ef4493166001ec5a645..d19a83a5ac67c97c208e28289bbf4adaee6b4134:/wxPython/contrib/stc/stc_wrap.cpp diff --git a/wxPython/contrib/stc/stc_wrap.cpp b/wxPython/contrib/stc/stc_wrap.cpp index 68d689dbf8..3be801952f 100644 --- a/wxPython/contrib/stc/stc_wrap.cpp +++ b/wxPython/contrib/stc/stc_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.20 + * Version 1.3.22 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -45,8 +45,9 @@ private: #define SWIG_TypeName SWIG_Python_TypeName #define SWIG_TypeQuery SWIG_Python_TypeQuery #define SWIG_TypeClientData SWIG_Python_TypeClientData -#define SWIG_PackData SWIG_Python_PackData -#define SWIG_UnpackData SWIG_Python_UnpackData +#define SWIG_PackData SWIG_Python_PackData +#define SWIG_UnpackData SWIG_Python_UnpackData + /*********************************************************************** * common.swg for wxPython @@ -120,10 +121,8 @@ SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); #ifdef __cplusplus } - #endif - /*********************************************************************** * pyrun.swg for wxPython * @@ -171,7 +170,7 @@ typedef struct swig_const_info { SWIG_Python_NewPointerObj(p, type, flags) #define SWIG_MustGetPtr(p, type, argnum, flags) \ SWIG_Python_MustGetPtr(p, type, argnum, flags) - + /* Python-specific SWIG API */ #define SWIG_newvarlink() \ SWIG_Python_newvarlink() @@ -184,6 +183,7 @@ typedef struct swig_const_info { #define SWIG_InstallConstants(d, constants) \ SWIG_Python_InstallConstants(d, constants) +typedef double (*py_objasdbl_conv)(PyObject *obj); SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); @@ -195,7 +195,6 @@ SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); - /* Contract support */ #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else @@ -205,7 +204,6 @@ SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con #endif - /* -------- TYPES TABLE (BEGIN) -------- */ #define SWIGTYPE_p_wxRect swig_types[0] @@ -219,16 +217,15 @@ SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con #define SWIGTYPE_p_void swig_types[8] #define SWIGTYPE_p_wxPoint swig_types[9] #define SWIGTYPE_p_wxDC swig_types[10] -#define SWIGTYPE_p_wxDragResult swig_types[11] -#define SWIGTYPE_p_wxString swig_types[12] -#define SWIGTYPE_p_wxEvtHandler swig_types[13] -#define SWIGTYPE_p_wxStyledTextCtrl swig_types[14] -#define SWIGTYPE_p_wxFont swig_types[15] -#define SWIGTYPE_p_wxControl swig_types[16] -#define SWIGTYPE_p_wxEvent swig_types[17] -#define SWIGTYPE_p_int swig_types[18] -#define SWIGTYPE_p_wxMemoryBuffer swig_types[19] -static swig_type_info *swig_types[21]; +#define SWIGTYPE_p_char swig_types[11] +#define SWIGTYPE_p_wxEvtHandler swig_types[12] +#define SWIGTYPE_p_wxStyledTextCtrl swig_types[13] +#define SWIGTYPE_p_wxFont swig_types[14] +#define SWIGTYPE_p_wxControl swig_types[15] +#define SWIGTYPE_p_wxEvent swig_types[16] +#define SWIGTYPE_p_int swig_types[17] +#define SWIGTYPE_p_wxMemoryBuffer swig_types[18] +static swig_type_info *swig_types[20]; /* -------- TYPES TABLE (END) -------- */ @@ -240,11 +237,147 @@ static swig_type_info *swig_types[21]; #define SWIG_name "_stc" +/* Auxiliar swig macros */ + +#ifdef __cplusplus +#define SWIGSTATICINLINE(a) static inline a +#define SWIGSTATIC(a) static a +#define swig_new_array(type, size) (new type[(size)]) +#define swig_delete_array(cptr) delete[] cptr +#define swig_const_cast(type,a) const_cast(a) +#define swig_static_cast(type,a) static_cast(a) +#define swig_reinterpret_cast(type,a) reinterpret_cast(a) + +#ifdef HAVE_NUMERIC_CAST +#define swig_numeric_cast(type,a) numeric_cast(a) +#else +#define swig_numeric_cast(type,a) static_cast(a) +#endif + +#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_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) + +#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 + + #include "wx/wxPython/wxPython.h" #include "wx/wxPython/pyclasses.h" #include - DECLARE_DEF_STRING(STCNameStr); + + static const wxString wxPySTCNameStr(wxSTCNameStr); + +#include + + +SWIGSTATICINLINE(long) +SWIG_CheckLongInRange(long value, const char* type, + long min_value, long max_value) +{ + 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); + } + } + return value; +} + + +SWIGSTATICINLINE(long) +SWIG_AsLong(PyObject * obj) +{ + return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj); +} + + +#if INT_MAX != LONG_MAX +SWIGSTATICINLINE(int) +SWIG_AsInt(PyObject *obj) +{ + return swig_numeric_cast(int, + SWIG_CheckLongInRange(SWIG_AsLong(obj), + "int", INT_MIN, INT_MAX)); +} +#else +#define SWIG_AsInt SWIG_AsLong +#endif + + +SWIGSTATICINLINE(int) +SWIG_CheckInt(PyObject* obj) +{ + SWIG_AsInt(obj); + if (PyErr_Occurred()) { + PyErr_Clear(); + return 0; + } else { + return 1; + } +} + + +SWIGSTATICINLINE(int) +SWIG_CheckLong(PyObject* obj) +{ + SWIG_AsLong(obj); + if (PyErr_Occurred()) { + PyErr_Clear(); + return 0; + } else { + return 1; + } +} + + +SWIGSTATICINLINE(bool) +SWIG_AsBool(PyObject *obj) +{ + return PyObject_IsTrue(obj) ? true : false; +} + + +SWIGSTATICINLINE(int) +SWIG_CheckBool(PyObject* obj) +{ + SWIG_AsBool(obj); + if (PyErr_Occurred()) { + PyErr_Clear(); + return 0; + } else { + return 1; + } +} static PyObject* t_output_helper(PyObject* target, PyObject* o) { @@ -273,9 +406,66 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) { return target; } + +/* returns '1' if the input is a raw char*, '0' if is a PyString */ +SWIGSTATIC(int) +SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size) +{ + static swig_type_info* pchar_info = 0; + int psize = 0; + if (!pchar_info) pchar_info = SWIG_TypeQuery("char *"); + + if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) { + PyErr_Clear(); + PyString_AsStringAndSize(obj, cptr, &psize); + if (PyErr_Occurred()) { + PyErr_Clear(); + PyErr_SetString(PyExc_TypeError,"a string is expected"); + } + if (size) *size = psize; + return 0; + } else { + if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0; + return 1; + } +} + + +SWIGSTATICINLINE(char* ) +SWIG_AsCharPtr(PyObject *obj) +{ + char* cptr; + SWIG_AsCharPtrAndSize(obj, &cptr, 0); + if (PyErr_Occurred()) { + PyErr_Clear(); + PyErr_SetString(PyExc_TypeError, "a char* is expected"); + } + return cptr; +} + #ifdef __cplusplus extern "C" { #endif +static int _wrap_STCNameStr_set(PyObject *_val) { + PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only."); + return 1; +} + + +static PyObject *_wrap_STCNameStr_get() { + PyObject *pyobj; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); +#endif + } + return pyobj; +} + + static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; @@ -292,15 +482,20 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObje wxSize temp4 ; bool temp6 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; char *kwnames[] = { (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StyledTextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; if (obj2) { { arg3 = &temp3; @@ -313,6 +508,10 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObje if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; } } + if (obj4) { + arg5 = (long) SWIG_AsLong(obj4); + if (PyErr_Occurred()) SWIG_fail; + } if (obj5) { { arg6 = wxString_in_helper(obj5); @@ -327,7 +526,7 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObje wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); { if (temp6) delete arg6; @@ -357,7 +556,7 @@ static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); return resultobj; fail: return NULL; @@ -381,16 +580,22 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyO bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; char *kwnames[] = { (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&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; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; if (obj3) { { arg4 = &temp4; @@ -403,6 +608,10 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyO if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; } } + if (obj5) { + arg6 = (long) SWIG_AsLong(obj5); + if (PyErr_Occurred()) SWIG_fail; + } if (obj6) { { arg7 = wxString_in_helper(obj6); @@ -444,7 +653,8 @@ static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -476,6 +686,7 @@ static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *ar PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxMemoryBuffer *arg2 = 0 ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -483,10 +694,18 @@ static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMemoryBuffer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + { + if (!PyString_Check(obj1)) { + PyErr_SetString(PyExc_TypeError, "String buffer expected"); + SWIG_fail; + } + char* str = PyString_AS_STRING(obj1); + int len = PyString_GET_SIZE(obj1); + arg2 = new wxMemoryBuffer(len); + temp2 = True; + memcpy(arg2->GetData(), str, len); } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -496,8 +715,14 @@ static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp2) delete arg2; + } return resultobj; fail: + { + if (temp2) delete arg2; + } return NULL; } @@ -509,13 +734,17 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, wxString *arg3 = 0 ; bool temp3 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos",(char *) "text", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_InsertText",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; @@ -552,7 +781,8 @@ static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ClearAll(); @@ -576,7 +806,8 @@ static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ClearDocumentStyle(); @@ -601,7 +832,8 @@ static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLength(); @@ -609,7 +841,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -622,12 +854,16 @@ static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetCharAt",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetCharAt(arg2); @@ -635,7 +871,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -652,7 +888,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetCurrentPos(); @@ -660,7 +897,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -677,7 +914,8 @@ static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetAnchor(); @@ -685,7 +923,7 @@ static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -698,12 +936,16 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetStyleAt(arg2); @@ -711,7 +953,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -727,7 +969,8 @@ static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Redo(); @@ -753,8 +996,9 @@ static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -779,7 +1023,8 @@ static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SelectAll(); @@ -803,7 +1048,8 @@ static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSavePoint(); @@ -825,12 +1071,19 @@ static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *ar int arg3 ; wxMemoryBuffer result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "startPos",(char *) "endPos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetStyledText",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetStyledText(arg2,arg3); @@ -839,9 +1092,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - wxMemoryBuffer * resultptr; - resultptr = new wxMemoryBuffer((wxMemoryBuffer &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMemoryBuffer, 1); + resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen()); } return resultobj; fail: @@ -859,7 +1110,8 @@ static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->CanRedo(); @@ -867,7 +1119,7 @@ static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -880,12 +1132,16 @@ static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObj int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "handle", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->MarkerLineFromHandle(arg2); @@ -893,7 +1149,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObj wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -905,12 +1161,16 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObjec wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "handle", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->MarkerDeleteHandle(arg2); @@ -935,7 +1195,8 @@ static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetUndoCollection(); @@ -943,7 +1204,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -960,7 +1221,8 @@ static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetViewWhiteSpace(); @@ -968,7 +1230,7 @@ static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -980,12 +1242,16 @@ static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "viewWS", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetViewWhiteSpace(arg2); @@ -1013,9 +1279,11 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint, + SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; + arg2 = *argp2; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->PositionFromPoint(arg2); @@ -1023,7 +1291,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -1037,12 +1305,19 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyO int arg3 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->PositionFromPointClose(arg2,arg3); @@ -1050,7 +1325,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -1062,12 +1337,16 @@ static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, P wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GotoLine",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->GotoLine(arg2); @@ -1087,12 +1366,16 @@ static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, Py wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GotoPos",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->GotoPos(arg2); @@ -1112,12 +1395,16 @@ static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "posAnchor", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetAnchor",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetAnchor(arg2); @@ -1145,7 +1432,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, arg2 = &temp2; 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; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetCurLine(arg2); @@ -1180,7 +1468,8 @@ static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetEndStyled(); @@ -1188,7 +1477,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -1200,12 +1489,16 @@ static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "eolMode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ConvertEOLs(arg2); @@ -1230,7 +1523,8 @@ static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetEOLMode(); @@ -1238,7 +1532,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -1250,12 +1544,16 @@ static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "eolMode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetEOLMode(arg2); @@ -1276,12 +1574,19 @@ static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *arg int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos",(char *) "mask", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StartStyling",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StartStyling(arg2,arg3); @@ -1302,12 +1607,19 @@ static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "length",(char *) "style", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetStyling",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetStyling(arg2,arg3); @@ -1332,7 +1644,8 @@ static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetBufferedDraw(); @@ -1340,7 +1653,7 @@ static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject * wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -1358,8 +1671,9 @@ static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject * }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1380,12 +1694,16 @@ static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "tabWidth", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetTabWidth(arg2); @@ -1410,7 +1728,8 @@ static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetTabWidth(); @@ -1418,7 +1737,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -1430,12 +1749,16 @@ static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "codePage", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCodePage",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetCodePage(arg2); @@ -1462,14 +1785,21 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *arg wxColour temp4 ; wxColour temp5 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; char *kwnames[] = { (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; if (obj3) { { arg4 = &temp4; @@ -1503,13 +1833,17 @@ static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObje wxColour *arg3 = 0 ; wxColour temp3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "markerNumber",(char *) "fore", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -1535,13 +1869,17 @@ static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObje wxColour *arg3 = 0 ; wxColour temp3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "markerNumber",(char *) "back", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -1567,12 +1905,19 @@ static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, int arg3 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line",(char *) "markerNumber", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->MarkerAdd(arg2,arg3); @@ -1580,7 +1925,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -1593,12 +1938,19 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *arg int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line",(char *) "markerNumber", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->MarkerDelete(arg2,arg3); @@ -1618,12 +1970,16 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject * wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "markerNumber", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->MarkerDeleteAll(arg2); @@ -1644,12 +2000,16 @@ static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerGet",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->MarkerGet(arg2); @@ -1657,7 +2017,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -1671,12 +2031,19 @@ static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, int arg3 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerNext",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->MarkerNext(arg2,arg3); @@ -1684,7 +2051,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -1698,12 +2065,19 @@ static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *a int arg3 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->MarkerPrevious(arg2,arg3); @@ -1711,7 +2085,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -1724,16 +2098,23 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObjec int arg2 ; wxBitmap *arg3 = 0 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap, + SWIG_POINTER_EXCEPTION | 0)) == -1) + SWIG_fail; if (arg3 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + PyErr_SetString(PyExc_TypeError,"null reference"); + SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1755,12 +2136,19 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *ar int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "margin",(char *) "marginType", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginType",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMarginType(arg2,arg3); @@ -1781,12 +2169,16 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *ar int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "margin", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginType",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMarginType(arg2); @@ -1794,7 +2186,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -1807,12 +2199,19 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *a int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMarginWidth(arg2,arg3); @@ -1833,12 +2232,16 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *a int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "margin", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMarginWidth(arg2); @@ -1846,7 +2249,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -1859,12 +2262,19 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *ar int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "margin",(char *) "mask", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMarginMask(arg2,arg3); @@ -1885,12 +2295,16 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *ar int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "margin", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMarginMask(arg2); @@ -1898,7 +2312,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -1911,14 +2325,18 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObjec int arg2 ; bool arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "margin",(char *) "sensitive", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg3 = PyInt_AsLong(obj2) ? true : false; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (bool) SWIG_AsBool(obj2); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1940,12 +2358,16 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObjec int arg2 ; bool result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "margin", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetMarginSensitive(arg2); @@ -1953,7 +2375,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObjec wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -1969,7 +2391,8 @@ static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleClearAll(); @@ -1991,13 +2414,17 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObjec wxColour *arg3 = 0 ; wxColour temp3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "fore", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -2023,13 +2450,17 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObjec wxColour *arg3 = 0 ; wxColour temp3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "back", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -2054,14 +2485,18 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *arg int arg2 ; bool arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "bold", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg3 = PyInt_AsLong(obj2) ? true : false; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (bool) SWIG_AsBool(obj2); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2083,14 +2518,18 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *a int arg2 ; bool arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "italic", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg3 = PyInt_AsLong(obj2) ? true : false; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (bool) SWIG_AsBool(obj2); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2112,12 +2551,19 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *arg int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "sizePoints", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetSize(arg2,arg3); @@ -2139,13 +2585,17 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject wxString *arg3 = 0 ; bool temp3 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "fontName", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; @@ -2179,14 +2629,18 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject int arg2 ; bool arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "filled", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg3 = PyInt_AsLong(obj2) ? true : false; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (bool) SWIG_AsBool(obj2); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2211,7 +2665,8 @@ static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleResetDefault(); @@ -2232,14 +2687,18 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject int arg2 ; bool arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "underline", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg3 = PyInt_AsLong(obj2) ? true : false; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (bool) SWIG_AsBool(obj2); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2261,12 +2720,19 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *arg int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "caseForce", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetCase(arg2,arg3); @@ -2287,12 +2753,19 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObj int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "characterSet", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->StyleSetCharacterSet(arg2,arg3); @@ -2313,14 +2786,18 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject * int arg2 ; bool arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "hotspot", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg3 = PyInt_AsLong(obj2) ? true : false; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (bool) SWIG_AsBool(obj2); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2350,8 +2827,9 @@ static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; @@ -2385,8 +2863,9 @@ static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; @@ -2418,7 +2897,8 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = &temp2; if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; @@ -2444,12 +2924,22 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *arg int arg3 ; int arg4 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; char *kwnames[] = { (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; + arg4 = (int) SWIG_AsInt(obj3); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CmdKeyAssign(arg2,arg3,arg4); @@ -2470,12 +2960,19 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "key",(char *) "modifiers", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CmdKeyClear(arg2,arg3); @@ -2499,7 +2996,8 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CmdKeyClearAll(); @@ -2520,12 +3018,19 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *ar int arg2 ; char *arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "length",(char *) "styleBytes", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ois:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = SWIG_AsCharPtr(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetStyleBytes(arg2,arg3); @@ -2546,14 +3051,18 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject * int arg2 ; bool arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "visible", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg3 = PyInt_AsLong(obj2) ? true : false; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (bool) SWIG_AsBool(obj2); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2579,7 +3088,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetCaretPeriod(); @@ -2587,7 +3097,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -2599,12 +3109,16 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *a wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "periodMilliseconds", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetCaretPeriod(arg2); @@ -2631,7 +3145,8 @@ static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -2668,7 +3183,8 @@ static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->BeginUndoAction(); @@ -2692,7 +3208,8 @@ static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->EndUndoAction(); @@ -2713,12 +3230,19 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "indic",(char *) "style", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->IndicatorSetStyle(arg2,arg3); @@ -2739,12 +3263,16 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "indic", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->IndicatorGetStyle(arg2); @@ -2752,7 +3280,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -2766,13 +3294,17 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyO wxColour *arg3 = 0 ; wxColour temp3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "indic",(char *) "fore", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; @@ -2797,12 +3329,16 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyO int arg2 ; wxColour result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "indic", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->IndicatorGetForeground(arg2); @@ -2813,7 +3349,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyO { wxColour * resultptr; resultptr = new wxColour((wxColour &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; fail: @@ -2835,8 +3371,9 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, Py }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; @@ -2870,8 +3407,9 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, Py }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; @@ -2896,12 +3434,16 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *arg wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "bits", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetStyleBits(arg2); @@ -2926,7 +3468,8 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetStyleBits(); @@ -2934,7 +3477,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -2947,12 +3490,19 @@ static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *arg int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line",(char *) "state", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetLineState",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLineState(arg2,arg3); @@ -2973,12 +3523,16 @@ static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *arg int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineState",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLineState(arg2); @@ -2986,7 +3540,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -3003,7 +3557,8 @@ static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMaxLineState(); @@ -3011,7 +3566,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject * wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -3028,7 +3583,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetCaretLineVisible(); @@ -3036,7 +3592,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObje wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -3054,8 +3610,9 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObje }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3081,7 +3638,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetCaretLineBack(); @@ -3092,7 +3650,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject { wxColour * resultptr; resultptr = new wxColour((wxColour &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; fail: @@ -3112,7 +3670,8 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = &temp2; if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; @@ -3137,14 +3696,18 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObjec int arg2 ; bool arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "changeable", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg3 = PyInt_AsLong(obj2) ? true : false; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (bool) SWIG_AsBool(obj2); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3167,13 +3730,17 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *arg wxString *arg3 = 0 ; bool temp3 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; @@ -3210,7 +3777,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompCancel(); @@ -3235,7 +3803,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->AutoCompActive(); @@ -3243,7 +3812,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -3260,7 +3829,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->AutoCompPosStart(); @@ -3268,7 +3838,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -3284,7 +3854,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompComplete(); @@ -3311,7 +3882,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -3344,12 +3916,16 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObj wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "separatorCharacter", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompSetSeparator(arg2); @@ -3374,7 +3950,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->AutoCompGetSeparator(); @@ -3382,7 +3959,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObj wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -3401,7 +3978,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -3440,8 +4018,9 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, P }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3467,7 +4046,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->AutoCompGetCancelAtStart(); @@ -3475,7 +4055,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -3494,7 +4074,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -3533,8 +4114,9 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, Py }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3560,7 +4142,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->AutoCompGetChooseSingle(); @@ -3568,7 +4151,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -3586,8 +4169,9 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyOb }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3613,7 +4197,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->AutoCompGetIgnoreCase(); @@ -3621,7 +4206,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -3635,13 +4220,17 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *arg wxString *arg3 = 0 ; bool temp3 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "listType",(char *) "itemList", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_UserListShow",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; @@ -3680,8 +4269,9 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObje }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3707,7 +4297,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->AutoCompGetAutoHide(); @@ -3715,7 +4306,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObje wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -3733,8 +4324,9 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3760,7 +4352,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->AutoCompGetDropRestOfWord(); @@ -3768,7 +4361,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -3781,16 +4374,23 @@ static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *ar int arg2 ; wxBitmap *arg3 = 0 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "type",(char *) "bmp", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap, + SWIG_POINTER_EXCEPTION | 0)) == -1) + SWIG_fail; if (arg3 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + PyErr_SetString(PyExc_TypeError,"null reference"); + SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3815,7 +4415,8 @@ static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ClearRegisteredImages(); @@ -3840,7 +4441,8 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->AutoCompGetTypeSeparator(); @@ -3848,7 +4450,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -3860,12 +4462,16 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, P wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "separatorCharacter", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AutoCompSetTypeSeparator(arg2); @@ -3885,12 +4491,16 @@ static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "indentSize", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetIndent",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetIndent(arg2); @@ -3915,7 +4525,8 @@ static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetIndent(); @@ -3923,7 +4534,7 @@ static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -3941,8 +4552,9 @@ static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3968,7 +4580,8 @@ static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetUseTabs(); @@ -3976,7 +4589,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -3989,12 +4602,19 @@ static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObjec int arg2 ; int arg3 ; PyObject * obj0 = 0 ; - char *kwnames[] = { + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { (char *) "self",(char *) "line",(char *) "indentSize", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLineIndentation(arg2,arg3); @@ -4015,12 +4635,16 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObjec int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLineIndentation(arg2); @@ -4028,7 +4652,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObjec wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4041,12 +4665,16 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyOb int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLineIndentPosition(arg2); @@ -4054,7 +4682,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4067,12 +4695,16 @@ static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetColumn(arg2); @@ -4080,7 +4712,7 @@ static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4098,8 +4730,9 @@ static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4125,7 +4758,8 @@ static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetUseHorizontalScrollBar(); @@ -4133,7 +4767,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -4151,8 +4785,9 @@ static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObj }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4178,7 +4813,8 @@ static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetIndentationGuides(); @@ -4186,7 +4822,7 @@ static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObj wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -4198,12 +4834,16 @@ static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "column", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetHighlightGuide(arg2); @@ -4228,7 +4868,8 @@ static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetHighlightGuide(); @@ -4236,7 +4877,7 @@ static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4249,12 +4890,16 @@ static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObjec int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLineEndPosition(arg2); @@ -4262,7 +4907,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObjec wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4279,7 +4924,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetCodePage(); @@ -4287,7 +4933,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4304,7 +4950,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetCaretForeground(); @@ -4315,7 +4962,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObjec { wxColour * resultptr; resultptr = new wxColour((wxColour &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; fail: @@ -4333,7 +4980,8 @@ static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetReadOnly(); @@ -4341,7 +4989,7 @@ static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -4353,12 +5001,16 @@ static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *ar wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetCurrentPos(arg2); @@ -4378,12 +5030,16 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSelectionStart(arg2); @@ -4408,7 +5064,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetSelectionStart(); @@ -4416,7 +5073,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4428,12 +5085,16 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject * wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSelectionEnd(arg2); @@ -4458,7 +5119,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetSelectionEnd(); @@ -4466,7 +5128,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject * wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4478,12 +5140,16 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyOb wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "magnification", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetPrintMagnification(arg2); @@ -4508,7 +5174,8 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetPrintMagnification(); @@ -4516,7 +5183,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4528,12 +5195,16 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObjec wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "mode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetPrintColourMode(arg2); @@ -4558,7 +5229,8 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetPrintColourMode(); @@ -4566,7 +5238,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObjec wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4583,18 +5255,30 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, P int result; bool temp4 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; char *kwnames[] = { (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO|i:StyledTextCtrl_FindText",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; temp4 = True; } + if (obj4) { + arg5 = (int) SWIG_AsInt(obj4); + if (PyErr_Occurred()) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5); @@ -4602,7 +5286,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); { if (temp4) delete arg4; @@ -4632,6 +5316,8 @@ static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args wxRect *argp8 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; @@ -4640,16 +5326,25 @@ static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6,&obj7)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg2 = PyInt_AsLong(obj1) ? true : false; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); if (PyErr_Occurred()) SWIG_fail; - if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj6,(void **) &argp7, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg7 = *argp7; - if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg8 = *argp8; + arg4 = (int) SWIG_AsInt(obj3); + if (PyErr_Occurred()) SWIG_fail; + if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj6,(void **)(&argp7),SWIGTYPE_p_wxRect, + SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; + arg7 = *argp7; + if ((SWIG_ConvertPtr(obj7,(void **)(&argp8),SWIGTYPE_p_wxRect, + SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; + arg8 = *argp8; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8); @@ -4657,7 +5352,7 @@ static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4674,7 +5369,8 @@ static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetFirstVisibleLine(); @@ -4682,7 +5378,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObje wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4695,12 +5391,16 @@ static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, Py int arg2 ; wxString result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLine",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetLine(arg2); @@ -4731,7 +5431,8 @@ static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLineCount(); @@ -4739,7 +5440,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4751,12 +5452,16 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *ar wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pixelWidth", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMarginLeft(arg2); @@ -4781,7 +5486,8 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMarginLeft(); @@ -4789,7 +5495,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4801,12 +5507,16 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *a wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pixelWidth", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMarginRight(arg2); @@ -4831,7 +5541,8 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMarginRight(); @@ -4839,7 +5550,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -4856,7 +5567,8 @@ static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetModify(); @@ -4864,7 +5576,7 @@ static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -4877,12 +5589,19 @@ static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *arg int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "start",(char *) "end", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSelection(arg2,arg3); @@ -4907,7 +5626,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetSelectedText(); @@ -4935,12 +5655,19 @@ static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *arg int arg3 ; wxString result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "startPos",(char *) "endPos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetTextRange",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetTextRange(arg2,arg3); @@ -4972,8 +5699,9 @@ static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *ar }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4995,12 +5723,16 @@ static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->LineFromPosition(arg2); @@ -5008,7 +5740,7 @@ static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -5021,12 +5753,16 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->PositionFromLine(arg2); @@ -5034,7 +5770,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -5047,12 +5783,19 @@ static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "columns",(char *) "lines", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_LineScroll",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineScroll(arg2,arg3); @@ -5076,7 +5819,8 @@ static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->EnsureCaretVisible(); @@ -5103,7 +5847,8 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -5142,8 +5887,9 @@ static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5169,7 +5915,8 @@ static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->CanPaste(); @@ -5177,7 +5924,7 @@ static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -5194,7 +5941,8 @@ static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->CanUndo(); @@ -5202,7 +5950,7 @@ static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -5218,7 +5966,8 @@ static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->EmptyUndoBuffer(); @@ -5242,7 +5991,8 @@ static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Undo(); @@ -5266,7 +6016,8 @@ static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Cut(); @@ -5290,7 +6041,8 @@ static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Copy(); @@ -5314,7 +6066,8 @@ static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Paste(); @@ -5338,7 +6091,8 @@ static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->Clear(); @@ -5365,7 +6119,8 @@ static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -5403,7 +6158,8 @@ static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetText(); @@ -5434,7 +6190,8 @@ static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetTextLength(); @@ -5442,7 +6199,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -5460,8 +6217,9 @@ static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5487,7 +6245,8 @@ static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetOvertype(); @@ -5495,7 +6254,7 @@ static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -5507,12 +6266,16 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *ar wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pixelWidth", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetCaretWidth(arg2); @@ -5537,7 +6300,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetCaretWidth(); @@ -5545,7 +6309,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -5557,12 +6321,16 @@ static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *a wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetTargetStart(arg2); @@ -5587,7 +6355,8 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetTargetStart(); @@ -5595,7 +6364,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -5607,12 +6376,16 @@ static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *arg wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetTargetEnd(arg2); @@ -5637,7 +6410,8 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetTargetEnd(); @@ -5645,7 +6419,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -5665,7 +6439,8 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -5678,7 +6453,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); { if (temp2) delete arg2; @@ -5706,7 +6481,8 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -5719,7 +6495,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject * wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); { if (temp2) delete arg2; @@ -5747,7 +6523,8 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -5760,7 +6537,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); { if (temp2) delete arg2; @@ -5780,12 +6557,16 @@ static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *a wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "flags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSearchFlags(arg2); @@ -5810,7 +6591,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetSearchFlags(); @@ -5818,7 +6600,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -5832,13 +6614,17 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args wxString *arg3 = 0 ; bool temp3 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos",(char *) "definition", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; @@ -5875,7 +6661,8 @@ static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CallTipCancel(); @@ -5900,7 +6687,8 @@ static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->CallTipActive(); @@ -5908,7 +6696,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -5925,7 +6713,8 @@ static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->CallTipPosAtStart(); @@ -5933,7 +6722,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -5946,12 +6735,19 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObje int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "start",(char *) "end", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CallTipSetHighlight(arg2,arg3); @@ -5978,7 +6774,8 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = &temp2; if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; @@ -6009,7 +6806,8 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = &temp2; if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; @@ -6040,7 +6838,8 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *se }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = &temp2; if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; @@ -6065,12 +6864,16 @@ static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObjec int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->VisibleFromDocLine(arg2); @@ -6078,7 +6881,7 @@ static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObjec wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6091,12 +6894,16 @@ static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObjec int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "lineDisplay", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->DocLineFromVisible(arg2); @@ -6104,7 +6911,7 @@ static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObjec wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6117,12 +6924,19 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *arg int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line",(char *) "level", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetFoldLevel(arg2,arg3); @@ -6143,12 +6957,16 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *arg int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetFoldLevel(arg2); @@ -6156,7 +6974,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6170,12 +6988,19 @@ static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *arg int arg3 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line",(char *) "level", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetLastChild",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLastChild(arg2,arg3); @@ -6183,7 +7008,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6196,12 +7021,16 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *ar int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetFoldParent(arg2); @@ -6209,7 +7038,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6222,12 +7051,19 @@ static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_ShowLines",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ShowLines(arg2,arg3); @@ -6248,12 +7084,19 @@ static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_HideLines",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->HideLines(arg2,arg3); @@ -6274,12 +7117,16 @@ static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *a int arg2 ; bool result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetLineVisible(arg2); @@ -6287,7 +7134,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -6300,14 +7147,18 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject * int arg2 ; bool arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line",(char *) "expanded", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg3 = PyInt_AsLong(obj2) ? true : false; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (bool) SWIG_AsBool(obj2); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6329,12 +7180,16 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject * int arg2 ; bool result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetFoldExpanded(arg2); @@ -6342,7 +7197,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject * wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -6354,12 +7209,16 @@ static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ToggleFold",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ToggleFold(arg2); @@ -6379,12 +7238,16 @@ static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *ar wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->EnsureVisible(arg2); @@ -6404,12 +7267,16 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *arg wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "flags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetFoldFlags(arg2); @@ -6429,12 +7296,16 @@ static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->EnsureVisibleEnforcePolicy(arg2); @@ -6460,8 +7331,9 @@ static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *ar }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6487,7 +7359,8 @@ static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetTabIndents(); @@ -6495,7 +7368,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -6513,8 +7386,9 @@ static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyOb }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6540,7 +7414,8 @@ static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetBackSpaceUnIndents(); @@ -6548,7 +7423,7 @@ static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -6560,12 +7435,16 @@ static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "periodMilliseconds", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMouseDwellTime(arg2); @@ -6590,7 +7469,8 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetMouseDwellTime(); @@ -6598,7 +7478,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6612,14 +7492,18 @@ static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject bool arg3 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg3 = PyInt_AsLong(obj2) ? true : false; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (bool) SWIG_AsBool(obj2); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6628,7 +7512,7 @@ static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6642,14 +7526,18 @@ static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject * bool arg3 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg3 = PyInt_AsLong(obj2) ? true : false; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (bool) SWIG_AsBool(obj2); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6658,7 +7546,7 @@ static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject * wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6670,12 +7558,16 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "mode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetWrapMode(arg2); @@ -6700,7 +7592,8 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetWrapMode(); @@ -6708,7 +7601,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6720,12 +7613,16 @@ static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *a wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "mode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLayoutCache(arg2); @@ -6750,7 +7647,8 @@ static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetLayoutCache(); @@ -6758,7 +7656,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6770,12 +7668,16 @@ static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *a wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pixelWidth", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetScrollWidth(arg2); @@ -6800,7 +7702,8 @@ static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetScrollWidth(); @@ -6808,7 +7711,7 @@ static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6823,13 +7726,17 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, int result; bool temp3 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "style",(char *) "text", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_TextWidth",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; @@ -6842,7 +7749,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); { if (temp3) delete arg3; @@ -6868,8 +7775,9 @@ static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6895,7 +7803,8 @@ static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetEndAtLastLine(); @@ -6903,7 +7812,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6916,12 +7825,16 @@ static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_TextHeight",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->TextHeight(arg2); @@ -6929,7 +7842,7 @@ static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -6947,8 +7860,9 @@ static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, Py }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6974,7 +7888,8 @@ static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetUseVerticalScrollBar(); @@ -6982,7 +7897,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -6996,13 +7911,17 @@ static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, wxString *arg3 = 0 ; bool temp3 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "length",(char *) "text", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_AppendText",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; @@ -7040,7 +7959,8 @@ static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetTwoPhaseDraw(); @@ -7048,7 +7968,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject * wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -7066,8 +7986,9 @@ static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject * }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7092,7 +8013,8 @@ static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->TargetFromSelection(); @@ -7116,7 +8038,8 @@ static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LinesJoin(); @@ -7136,12 +8059,16 @@ static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pixelWidth", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LinesSplit",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LinesSplit(arg2); @@ -7170,8 +8097,9 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObje }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; @@ -7205,8 +8133,9 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyOb }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; @@ -7235,7 +8164,8 @@ static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineDuplicate(); @@ -7259,7 +8189,8 @@ static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->HomeDisplay(); @@ -7283,7 +8214,8 @@ static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->HomeDisplayExtend(); @@ -7307,7 +8239,8 @@ static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineEndDisplay(); @@ -7331,7 +8264,8 @@ static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineEndDisplayExtend(); @@ -7355,7 +8289,8 @@ static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->LineCopy(); @@ -7379,7 +8314,8 @@ static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->MoveCaretInsideView(); @@ -7400,12 +8336,16 @@ static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LineLength",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->LineLength(arg2); @@ -7413,7 +8353,7 @@ static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -7426,12 +8366,19 @@ static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *a int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos1",(char *) "pos2", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->BraceHighlight(arg2,arg3); @@ -7451,12 +8398,16 @@ static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *ar wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->BraceBadLight(arg2); @@ -7477,12 +8428,16 @@ static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_BraceMatch",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->BraceMatch(arg2); @@ -7490,7 +8445,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -7507,7 +8462,8 @@ static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetViewEOL(); @@ -7515,7 +8471,7 @@ static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -7533,8 +8489,9 @@ static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7560,7 +8517,8 @@ static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (void *)(arg1)->GetDocPointer(); @@ -7568,7 +8526,7 @@ static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); return resultobj; fail: return NULL; @@ -7586,8 +8544,9 @@ static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetDocPointer(arg2); @@ -7607,12 +8566,16 @@ static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject * wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "mask", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetModEventMask(arg2); @@ -7637,7 +8600,8 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetEdgeColumn(); @@ -7645,7 +8609,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -7657,12 +8621,16 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *ar wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "column", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetEdgeColumn(arg2); @@ -7687,7 +8655,8 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetEdgeMode(); @@ -7695,7 +8664,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -7707,12 +8676,16 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "mode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetEdgeMode(arg2); @@ -7737,7 +8710,8 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetEdgeColour(); @@ -7748,7 +8722,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *ar { wxColour * resultptr; resultptr = new wxColour((wxColour &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; fail: @@ -7768,7 +8742,8 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = &temp2; if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; @@ -7796,7 +8771,8 @@ static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SearchAnchor(); @@ -7819,13 +8795,17 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, int result; bool temp3 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "flags",(char *) "text", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SearchNext",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; @@ -7838,7 +8818,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); { if (temp3) delete arg3; @@ -7861,13 +8841,17 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, int result; bool temp3 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "flags",(char *) "text", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; @@ -7880,7 +8864,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); { if (temp3) delete arg3; @@ -7905,7 +8889,8 @@ static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->LinesOnScreen(); @@ -7913,7 +8898,7 @@ static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -7931,8 +8916,9 @@ static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, P }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7958,7 +8944,8 @@ static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->SelectionIsRectangle(); @@ -7966,7 +8953,7 @@ static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObj wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -7978,12 +8965,16 @@ static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, Py wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "zoom", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetZoom",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetZoom(arg2); @@ -8008,7 +8999,8 @@ static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetZoom(); @@ -8016,7 +9008,7 @@ static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -8033,7 +9025,8 @@ static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (void *)(arg1)->CreateDocument(); @@ -8041,7 +9034,7 @@ static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); return resultobj; fail: return NULL; @@ -8059,8 +9052,9 @@ static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->AddRefDocument(arg2); @@ -8086,8 +9080,9 @@ static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ReleaseDocument(arg2); @@ -8112,7 +9107,8 @@ static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetModEventMask(); @@ -8120,7 +9116,7 @@ static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject * wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -8138,8 +9134,9 @@ static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8165,7 +9162,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetSTCFocus(); @@ -8173,7 +9171,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -8185,12 +9183,16 @@ static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "statusCode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetStatus",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetStatus(arg2); @@ -8215,7 +9217,8 @@ static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetStatus(); @@ -8223,7 +9226,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -8241,8 +9244,9 @@ static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObj }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8268,7 +9272,8 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetMouseDownCaptures(); @@ -8276,7 +9281,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObj wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -8288,12 +9293,16 @@ static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *arg wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "cursorType", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetSTCCursor(arg2); @@ -8318,7 +9327,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetSTCCursor(); @@ -8326,7 +9336,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -8338,12 +9348,16 @@ static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObj wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "symbol", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetControlCharSymbol(arg2); @@ -8368,7 +9382,8 @@ static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetControlCharSymbol(); @@ -8376,7 +9391,7 @@ static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObj wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -8392,7 +9407,8 @@ static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordPartLeft(); @@ -8416,7 +9432,8 @@ static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObjec }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordPartLeftExtend(); @@ -8440,7 +9457,8 @@ static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordPartRight(); @@ -8464,7 +9482,8 @@ static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObje }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->WordPartRightExtend(); @@ -8485,12 +9504,19 @@ static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetVisiblePolicy(arg2,arg3); @@ -8514,7 +9540,8 @@ static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->DelLineLeft(); @@ -8538,7 +9565,8 @@ static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->DelLineRight(); @@ -8558,12 +9586,16 @@ static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "newOffset", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetXOffset",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetXOffset(arg2); @@ -8588,7 +9620,8 @@ static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetXOffset(); @@ -8596,7 +9629,7 @@ static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -8612,7 +9645,8 @@ static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ChooseCaretX(); @@ -8633,12 +9667,19 @@ static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject * int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetXCaretPolicy(arg2,arg3); @@ -8659,12 +9700,19 @@ static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject * int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetYCaretPolicy(arg2,arg3); @@ -8684,12 +9732,16 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "mode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetPrintWrapMode(arg2); @@ -8714,7 +9766,8 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetPrintWrapMode(); @@ -8722,7 +9775,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -8743,8 +9796,9 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; @@ -8778,8 +9832,9 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { arg3 = &temp3; @@ -8810,8 +9865,9 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8827,18 +9883,51 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, } +static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "singleLine", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); + if (PyErr_Occurred()) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetHotspotSingleLine(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionBefore",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->PositionBefore(arg2); @@ -8846,7 +9935,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -8859,12 +9948,16 @@ static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *ar int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionAfter",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->PositionAfter(arg2); @@ -8872,7 +9965,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -8885,12 +9978,19 @@ static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "start",(char *) "end", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CopyRange",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CopyRange(arg2,arg3); @@ -8912,13 +10012,17 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, P wxString *arg3 = 0 ; bool temp3 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "length",(char *) "text", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_CopyText",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; @@ -8946,19 +10050,24 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, P } -static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self", NULL + (char *) "self",(char *) "mode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->StartRecord(); + (arg1)->SetSelectionMode(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8970,104 +10079,320 @@ static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args } -static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *self, 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_StopRecord",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->StopRecord(); + result = (int)(arg1)->GetSelectionMode(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; } -static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; + int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "lexer", NULL + (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetLexer",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetLexer(arg2); + result = (int)(arg1)->GetLineSelStartPosition(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; } -static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + int arg2 ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self", NULL + (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->GetLexer(); + result = (int)(arg1)->GetLineSelEndPosition(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; } -static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; - int arg2 ; - int arg3 ; + wxString *arg2 = 0 ; + bool temp2 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "start",(char *) "end", NULL + (char *) "self",(char *) "characters", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_Colourise",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = True; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Colourise(arg2,arg3); + (arg1)->SetWhitespaceChars((wxString const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp2) + delete arg2; + } return resultobj; fail: - return NULL; -} + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetCharsDefault(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *self, 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_AutoCompGetCurrent",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)->AutoCompGetCurrent(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_FromInt((int)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->StartRecord(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->StopRecord(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "lexer", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetLexer(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, 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_GetLexer",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)->GetLexer(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_FromInt((int)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + int arg2 ; + int arg3 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "start",(char *) "end", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->Colourise(arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { @@ -9085,7 +10410,8 @@ static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -9133,13 +10459,17 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args wxString *arg3 = 0 ; bool temp3 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; @@ -9179,7 +10509,8 @@ static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -9217,7 +10548,8 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)(arg1)->GetCurrentLine(); @@ -9225,7 +10557,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -9239,13 +10571,17 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *arg wxString *arg3 = 0 ; bool temp3 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "styleNum",(char *) "spec", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; @@ -9279,16 +10615,23 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *arg int arg2 ; wxFont *arg3 = 0 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "styleNum",(char *) "font", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&arg2,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont, + SWIG_POINTER_EXCEPTION | 0)) == -1) + SWIG_fail; if (arg3 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + PyErr_SetString(PyExc_TypeError,"null reference"); + SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9315,6 +10658,8 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject bool arg7 ; bool temp4 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; @@ -9323,18 +10668,23 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5,&obj6)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; temp4 = True; } - arg5 = PyInt_AsLong(obj4) ? true : false; + arg5 = (bool) SWIG_AsBool(obj4); if (PyErr_Occurred()) SWIG_fail; - arg6 = PyInt_AsLong(obj5) ? true : false; + arg6 = (bool) SWIG_AsBool(obj5); if (PyErr_Occurred()) SWIG_fail; - arg7 = PyInt_AsLong(obj6) ? true : false; + arg7 = (bool) SWIG_AsBool(obj6); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9363,12 +10713,16 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *ar wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "cmd", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->CmdKeyExecute(arg2); @@ -9389,12 +10743,19 @@ static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, int arg2 ; int arg3 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { (char *) "self",(char *) "left",(char *) "right", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMargins(arg2,arg3); @@ -9424,7 +10785,8 @@ static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *arg arg2 = &temp2; arg3 = &temp3; 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; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->GetSelection(arg2,arg3); @@ -9453,12 +10815,16 @@ static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject int arg2 ; wxPoint result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->PointFromPosition(arg2); @@ -9469,7 +10835,7 @@ static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject { wxPoint * resultptr; resultptr = new wxPoint((wxPoint &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; fail: @@ -9482,12 +10848,16 @@ static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *arg wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "line", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ScrollToLine(arg2); @@ -9507,12 +10877,16 @@ static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *a wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "column", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->ScrollToColumn(arg2); @@ -9535,12 +10909,26 @@ static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, Py long arg4 = (long) 0 ; long result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; char *kwnames[] = { (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ll:StyledTextCtrl_SendMsg",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + if (obj2) { + arg3 = (long) SWIG_AsLong(obj2); + if (PyErr_Occurred()) SWIG_fail; + } + if (obj3) { + arg4 = (long) SWIG_AsLong(obj3); + if (PyErr_Occurred()) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (long)(arg1)->SendMsg(arg2,arg3,arg4); @@ -9548,7 +10936,7 @@ static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromLong((long)result); return resultobj; fail: return NULL; @@ -9566,8 +10954,10 @@ static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetVScrollBar(arg2); @@ -9593,8 +10983,10 @@ static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetHScrollBar(arg2); @@ -9619,7 +11011,8 @@ static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetLastKeydownProcessed(); @@ -9627,7 +11020,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -9645,8 +11038,9 @@ static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, Py }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9675,7 +11069,8 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -9688,7 +11083,7 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); { if (temp2) delete arg2; @@ -9716,7 +11111,8 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -9729,7 +11125,7 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); { if (temp2) delete arg2; @@ -9749,31 +11145,33 @@ static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; - wxDragResult arg4 ; - wxDragResult result; - wxDragResult *argp4 ; + int arg4 ; + int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg4 = *argp4; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (int) SWIG_AsInt(obj2); + if (PyErr_Occurred()) SWIG_fail; + arg4 = (wxDragResult) SWIG_AsInt(obj3); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->DoDragOver(arg2,arg3,arg4); + result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - wxDragResult * resultptr; - resultptr = new wxDragResult((wxDragResult &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1); - } + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -9789,13 +11187,20 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, bool result; bool temp4 = False ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:StyledTextCtrl_DoDropText",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (long) SWIG_AsLong(obj1); + if (PyErr_Occurred()) SWIG_fail; + arg3 = (long) SWIG_AsLong(obj2); + if (PyErr_Occurred()) SWIG_fail; { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; @@ -9808,7 +11213,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); { if (temp4) delete arg4; @@ -9823,6 +11228,61 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, } +static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "useAA", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); + if (PyErr_Occurred()) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetUseAntiAliasing(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->GetUseAntiAliasing(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + return resultobj; + fail: + return NULL; +} + + static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -9835,11 +11295,21 @@ static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObj wxEventType arg1 = (wxEventType) 0 ; int arg2 = (int) 0 ; wxStyledTextEvent *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "commandType",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_StyledTextEvent",kwnames,&arg1,&arg2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail; + if (obj0) { + arg1 = (wxEventType) SWIG_AsInt(obj0); + if (PyErr_Occurred()) SWIG_fail; + } + if (obj1) { + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2); @@ -9847,7 +11317,7 @@ static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObj wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextEvent, 1); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1); return resultobj; fail: return NULL; @@ -9863,7 +11333,8 @@ static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); delete arg1; @@ -9883,12 +11354,16 @@ static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *arg wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetPosition(arg2); @@ -9908,12 +11383,16 @@ static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, Py wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "k", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetKey",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetKey(arg2); @@ -9933,12 +11412,16 @@ static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *ar wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "m", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetModifiers",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetModifiers(arg2); @@ -9958,12 +11441,16 @@ static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObj wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "t", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetModificationType",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetModificationType(arg2); @@ -9990,7 +11477,8 @@ static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -10023,12 +11511,16 @@ static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "len", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLength",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLength(arg2); @@ -10048,12 +11540,16 @@ static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *a wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "num", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLinesAdded(arg2); @@ -10073,12 +11569,16 @@ static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, P wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLine",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLine(arg2); @@ -10098,12 +11598,16 @@ static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetFoldLevelNow(arg2); @@ -10123,12 +11627,16 @@ static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetFoldLevelPrev(arg2); @@ -10148,12 +11656,16 @@ static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetMargin",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMargin(arg2); @@ -10173,12 +11685,16 @@ static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetMessage",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetMessage(arg2); @@ -10198,12 +11714,16 @@ static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetWParam",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetWParam(arg2); @@ -10223,12 +11743,16 @@ static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLParam",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetLParam(arg2); @@ -10248,12 +11772,16 @@ static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *arg wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetListType",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetListType(arg2); @@ -10273,12 +11801,16 @@ static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyOb wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetX",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetX(arg2); @@ -10298,12 +11830,16 @@ static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyOb wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetY",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (int) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetY(arg2); @@ -10330,7 +11866,8 @@ static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; @@ -10369,8 +11906,9 @@ static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject }; 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 = PyInt_AsLong(obj1) ? true : false; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (bool) SWIG_AsBool(obj1); if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10389,8 +11927,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; - wxDragResult arg2 ; - wxDragResult *argp2 ; + int arg2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10398,12 +11935,13 @@ static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *a }; 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; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; + arg2 = (wxDragResult) SWIG_AsInt(obj1); + if (PyErr_Occurred()) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetDragResult(arg2); + (arg1)->SetDragResult((wxDragResult )arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10425,7 +11963,8 @@ static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); @@ -10433,7 +11972,7 @@ static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10450,7 +11989,8 @@ static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); @@ -10458,7 +11998,7 @@ static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10475,7 +12015,8 @@ static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *ar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); @@ -10483,7 +12024,7 @@ static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *ar wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10500,7 +12041,8 @@ static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObj }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); @@ -10508,7 +12050,7 @@ static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObj wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10525,7 +12067,8 @@ static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = ((wxStyledTextEvent const *)arg1)->GetText(); @@ -10556,7 +12099,8 @@ static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); @@ -10564,7 +12108,7 @@ static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10581,7 +12125,8 @@ static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *a }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); @@ -10589,7 +12134,7 @@ static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *a wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10606,7 +12151,8 @@ static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, P }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); @@ -10614,7 +12160,7 @@ static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, P wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10631,7 +12177,8 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); @@ -10639,7 +12186,7 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10656,7 +12203,8 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); @@ -10664,7 +12212,7 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10681,7 +12229,8 @@ static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); @@ -10689,7 +12238,7 @@ static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10706,7 +12255,8 @@ static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); @@ -10714,7 +12264,7 @@ static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10731,7 +12281,8 @@ static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); @@ -10739,7 +12290,7 @@ static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10756,7 +12307,8 @@ static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); @@ -10764,7 +12316,7 @@ static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10781,7 +12333,8 @@ static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); @@ -10789,7 +12342,7 @@ static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *arg wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10806,7 +12359,8 @@ static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetX(); @@ -10814,7 +12368,7 @@ static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10831,7 +12385,8 @@ static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)((wxStyledTextEvent const *)arg1)->GetY(); @@ -10839,7 +12394,7 @@ static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyOb wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10856,7 +12411,8 @@ static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *arg }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (arg1)->GetDragText(); @@ -10887,7 +12443,8 @@ static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)(arg1)->GetDragAllowMove(); @@ -10895,7 +12452,7 @@ static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -10905,26 +12462,23 @@ static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; - wxDragResult result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetDragResult(); + result = (int)(arg1)->GetDragResult(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - wxDragResult * resultptr; - resultptr = new wxDragResult((wxDragResult &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1); - } + resultobj = SWIG_FromInt((int)result); return resultobj; fail: return NULL; @@ -10941,7 +12495,8 @@ static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); @@ -10949,7 +12504,7 @@ static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -10966,7 +12521,8 @@ static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); @@ -10974,7 +12530,7 @@ static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -10991,7 +12547,8 @@ static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, Py }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); @@ -10999,7 +12556,7 @@ static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, Py wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); return resultobj; fail: return NULL; @@ -11016,7 +12573,8 @@ static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyO }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, + SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); @@ -11024,7 +12582,7 @@ static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyO wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0); return resultobj; fail: return NULL; @@ -11348,10 +12906,18 @@ static PyMethodDef SwigMethods[] = { { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS }, { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS }, { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS }, { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS }, { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS }, { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS }, { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS }, { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, @@ -11379,6 +12945,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS }, { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS }, { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS }, { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS }, { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS }, { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS }, @@ -11460,6 +13028,9 @@ static void *_p_wxSizerTo_p_wxObject(void *x) { static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); } +static void *_p_wxFileHistoryTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxFileHistory *) x)); +} static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); } @@ -11502,9 +13073,15 @@ static void *_p_wxControlTo_p_wxObject(void *x) { static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); } +static void *_p_wxTimerEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x)); +} static void *_p_wxFSFileTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxFSFile *) x)); } +static void *_p_wxClipboardTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxClipboard *) x)); +} static void *_p_wxPySizerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); } @@ -11520,6 +13097,9 @@ static void *_p_wxNotifyEventTo_p_wxObject(void *x) { static void *_p_wxShowEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); } +static void *_p_wxToolTipTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxToolTip *) x)); +} static void *_p_wxMenuItemTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxMenuItem *) x)); } @@ -11595,6 +13175,12 @@ static void *_p_wxImageTo_p_wxObject(void *x) { static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); } +static void *_p_wxSystemOptionsTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxSystemOptions *) x)); +} +static void *_p_wxJoystickEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x)); +} static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); } @@ -11613,6 +13199,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxPyProcessTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x)); +} static void *_p_wxFileSystemTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxFileSystem *) x)); } @@ -11634,6 +13223,9 @@ static void *_p_wxMouseEventTo_p_wxObject(void *x) { static void *_p_wxEraseEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); } +static void *_p_wxBusyInfoTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxBusyInfo *) x)); +} static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); } @@ -11649,6 +13241,9 @@ static void *_p_wxFocusEventTo_p_wxObject(void *x) { static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); } +static void *_p_wxProcessEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x)); +} static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); } @@ -11658,6 +13253,9 @@ static void *_p_wxPyValidatorTo_p_wxObject(void *x) { static void *_p_wxValidatorTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); } +static void *_p_wxPyTimerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x)); +} static void *_p_wxControlTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxControl *) x)); } @@ -11709,6 +13307,9 @@ static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) ((wxPyApp *) x)); } +static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) ((wxPyTimer *) x)); +} static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); } @@ -11724,6 +13325,9 @@ static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) ((wxMenu *) x)); } +static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) ((wxPyProcess *) x)); +} static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxControlWithItems *) x)); } @@ -11748,6 +13352,9 @@ static void *_p_wxEraseEventTo_p_wxEvent(void *x) { static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); } +static void *_p_wxTimerEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxTimerEvent *) x)); +} static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); } @@ -11760,6 +13367,9 @@ static void *_p_wxPyEventTo_p_wxEvent(void *x) { static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); } +static void *_p_wxJoystickEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxJoystickEvent *) x)); +} static void *_p_wxIdleEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxIdleEvent *) x)); } @@ -11817,6 +13427,9 @@ static void *_p_wxFocusEventTo_p_wxEvent(void *x) { static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); } +static void *_p_wxProcessEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxProcessEvent *) x)); +} static void *_p_wxShowEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxShowEvent *) x)); } @@ -11838,26 +13451,25 @@ static void *_p_wxKeyEventTo_p_wxEvent(void *x) { static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); } -static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; -static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; -static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}}; -static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0},{"_p_wxStyledTextEvent"},{0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; -static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}}; -static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; -static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; -static swig_type_info _swigt__p_wxDragResult[] = {{"_p_wxDragResult", 0, "wxDragResult *", 0},{"_p_wxDragResult"},{0}}; -static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; -static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{0}}; -static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0},{"_p_wxStyledTextCtrl"},{0}}; -static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; -static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl},{0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}}; -static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; -static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0},{"_p_wxMemoryBuffer"},{0}}; +static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0, 0, 0, 0},{"_p_wxStyledTextEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0, 0, 0, 0},{"_p_wxStyledTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; +static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0, 0, 0, 0},{"_p_wxMemoryBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; static swig_type_info *swig_types_initial[] = { _swigt__p_wxRect, @@ -11871,8 +13483,7 @@ _swigt__p_wxBitmap, _swigt__p_void, _swigt__p_wxPoint, _swigt__p_wxDC, -_swigt__p_wxDragResult, -_swigt__p_wxString, +_swigt__p_char, _swigt__p_wxEvtHandler, _swigt__p_wxStyledTextCtrl, _swigt__p_wxFont, @@ -11887,804 +13498,6 @@ _swigt__p_wxMemoryBuffer, /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ static swig_const_info swig_const_table[] = { -{ SWIG_PY_INT, (char *)"STC_USE_DND", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_USE_POPUP", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_INVALID_POSITION", (long) -1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_START", (long) 2000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_OPTIONAL_START", (long) 3000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEXER_START", (long) 4000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_WS_INVISIBLE", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_WS_VISIBLEALWAYS", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_WS_VISIBLEAFTERINDENT", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EOL_CRLF", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EOL_CR", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EOL_LF", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CP_UTF8", (long) 65001, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CP_DBCS", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARKER_MAX", (long) 31, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLE", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_ROUNDRECT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_ARROW", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_SMALLRECT", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_SHORTARROW", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_EMPTY", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_ARROWDOWN", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_MINUS", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_PLUS", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_VLINE", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_LCORNER", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_TCORNER", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_BOXPLUS", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_BOXPLUSCONNECTED", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_BOXMINUS", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_BOXMINUSCONNECTED", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_LCORNERCURVE", (long) 16, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_TCORNERCURVE", (long) 17, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLEPLUS", (long) 18, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLEPLUSCONNECTED", (long) 19, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLEMINUS", (long) 20, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLEMINUSCONNECTED", (long) 21, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_BACKGROUND", (long) 22, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_DOTDOTDOT", (long) 23, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_ARROWS", (long) 24, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_PIXMAP", (long) 25, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARK_CHARACTER", (long) 10000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEREND", (long) 25, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEROPENMID", (long) 26, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERMIDTAIL", (long) 27, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERTAIL", (long) 28, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERSUB", (long) 29, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDER", (long) 30, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEROPEN", (long) 31, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MASK_FOLDERS", (long) 0xFE000000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARGIN_SYMBOL", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MARGIN_NUMBER", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_STYLE_DEFAULT", (long) 32, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_STYLE_LINENUMBER", (long) 33, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_STYLE_BRACELIGHT", (long) 34, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_STYLE_BRACEBAD", (long) 35, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_STYLE_CONTROLCHAR", (long) 36, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_STYLE_INDENTGUIDE", (long) 37, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_STYLE_LASTPREDEFINED", (long) 39, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_STYLE_MAX", (long) 127, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_ANSI", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_DEFAULT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_BALTIC", (long) 186, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_CHINESEBIG5", (long) 136, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_EASTEUROPE", (long) 238, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_GB2312", (long) 134, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_GREEK", (long) 161, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_HANGUL", (long) 129, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_MAC", (long) 77, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_OEM", (long) 255, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_RUSSIAN", (long) 204, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_SHIFTJIS", (long) 128, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_SYMBOL", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_TURKISH", (long) 162, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_JOHAB", (long) 130, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_HEBREW", (long) 177, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_ARABIC", (long) 178, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_VIETNAMESE", (long) 163, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CHARSET_THAI", (long) 222, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CASE_MIXED", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CASE_UPPER", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CASE_LOWER", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_INDIC_MAX", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_INDIC_PLAIN", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_INDIC_SQUIGGLE", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_INDIC_TT", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_INDIC_DIAGONAL", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_INDIC_STRIKE", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_INDIC_HIDDEN", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_INDIC0_MASK", (long) 0x20, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_INDIC1_MASK", (long) 0x40, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_INDIC2_MASK", (long) 0x80, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_INDICS_MASK", (long) 0xE0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PRINT_NORMAL", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PRINT_INVERTLIGHT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PRINT_BLACKONWHITE", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PRINT_COLOURONWHITE", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PRINT_COLOURONWHITEDEFAULTBG", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FIND_WHOLEWORD", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FIND_MATCHCASE", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FIND_WORDSTART", (long) 0x00100000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FIND_REGEXP", (long) 0x00200000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FIND_POSIX", (long) 0x00400000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDLEVELBASE", (long) 0x400, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDLEVELWHITEFLAG", (long) 0x1000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDLEVELHEADERFLAG", (long) 0x2000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDLEVELBOXHEADERFLAG", (long) 0x4000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDLEVELBOXFOOTERFLAG", (long) 0x8000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDLEVELCONTRACTED", (long) 0x10000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDLEVELUNINDENT", (long) 0x20000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDLEVELNUMBERMASK", (long) 0x0FFF, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEBEFORE_EXPANDED", (long) 0x0002, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", (long) 0x0004, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEAFTER_EXPANDED", (long) 0x0008, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEAFTER_CONTRACTED", (long) 0x0010, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LEVELNUMBERS", (long) 0x0040, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_BOX", (long) 0x0001, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_TIME_FOREVER", (long) 10000000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_WRAP_NONE", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_WRAP_WORD", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CACHE_NONE", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CACHE_CARET", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CACHE_PAGE", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CACHE_DOCUMENT", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EDGE_NONE", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EDGE_LINE", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EDGE_BACKGROUND", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CURSORNORMAL", (long) -1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CURSORWAIT", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_VISIBLE_SLOP", (long) 0x01, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_VISIBLE_STRICT", (long) 0x04, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CARET_SLOP", (long) 0x01, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CARET_STRICT", (long) 0x04, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CARET_JUMPS", (long) 0x10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CARET_EVEN", (long) 0x08, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEYWORDSET_MAX", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MOD_INSERTTEXT", (long) 0x1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MOD_DELETETEXT", (long) 0x2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MOD_CHANGESTYLE", (long) 0x4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MOD_CHANGEFOLD", (long) 0x8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PERFORMED_USER", (long) 0x10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PERFORMED_UNDO", (long) 0x20, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PERFORMED_REDO", (long) 0x40, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LASTSTEPINUNDOREDO", (long) 0x100, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MOD_CHANGEMARKER", (long) 0x200, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MOD_BEFOREINSERT", (long) 0x400, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MOD_BEFOREDELETE", (long) 0x800, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MODEVENTMASKALL", (long) 0xF77, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_DOWN", (long) 300, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_UP", (long) 301, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_LEFT", (long) 302, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_RIGHT", (long) 303, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_HOME", (long) 304, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_END", (long) 305, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_PRIOR", (long) 306, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_NEXT", (long) 307, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_DELETE", (long) 308, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_INSERT", (long) 309, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_ESCAPE", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_BACK", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_TAB", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_RETURN", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_ADD", (long) 310, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_SUBTRACT", (long) 311, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_KEY_DIVIDE", (long) 312, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCMOD_SHIFT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCMOD_CTRL", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCMOD_ALT", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_CONTAINER", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_NULL", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_PYTHON", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_CPP", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_HTML", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_XML", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_PERL", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_SQL", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_VB", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_PROPERTIES", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_ERRORLIST", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_MAKEFILE", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_BATCH", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_XCODE", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_LATEX", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_LUA", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_DIFF", (long) 16, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_CONF", (long) 17, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_PASCAL", (long) 18, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_AVE", (long) 19, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_ADA", (long) 20, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_LISP", (long) 21, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_RUBY", (long) 22, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_EIFFEL", (long) 23, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_EIFFELKW", (long) 24, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_TCL", (long) 25, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_NNCRONTAB", (long) 26, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_BULLANT", (long) 27, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_VBSCRIPT", (long) 28, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_ASP", (long) 29, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_PHP", (long) 30, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_BAAN", (long) 31, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_MATLAB", (long) 32, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_SCRIPTOL", (long) 33, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_ASM", (long) 34, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_CPPNOCASE", (long) 35, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_FORTRAN", (long) 36, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_F77", (long) 37, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_CSS", (long) 38, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_POV", (long) 39, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_LOUT", (long) 40, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_ESCRIPT", (long) 41, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_PS", (long) 42, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_NSIS", (long) 43, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_MMIXAL", (long) 44, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LEX_AUTOMATIC", (long) 1000, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_COMMENTLINE", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_NUMBER", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_STRING", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_CHARACTER", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_WORD", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_TRIPLE", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_TRIPLEDOUBLE", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_CLASSNAME", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_DEFNAME", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_OPERATOR", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_IDENTIFIER", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_COMMENTBLOCK", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_P_STRINGEOL", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_COMMENTLINE", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_COMMENTDOC", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_NUMBER", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_WORD", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_STRING", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_CHARACTER", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_UUID", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_PREPROCESSOR", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_OPERATOR", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_IDENTIFIER", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_STRINGEOL", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_VERBATIM", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_REGEX", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_COMMENTLINEDOC", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_WORD2", (long) 16, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_COMMENTDOCKEYWORD", (long) 17, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_COMMENTDOCKEYWORDERROR", (long) 18, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_C_GLOBALCLASS", (long) 19, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_TAG", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_TAGUNKNOWN", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_ATTRIBUTE", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_ATTRIBUTEUNKNOWN", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_NUMBER", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_DOUBLESTRING", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SINGLESTRING", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_OTHER", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_COMMENT", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_ENTITY", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_TAGEND", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_XMLSTART", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_XMLEND", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SCRIPT", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_ASP", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_ASPAT", (long) 16, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_CDATA", (long) 17, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_QUESTION", (long) 18, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_VALUE", (long) 19, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_XCCOMMENT", (long) 20, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SGML_DEFAULT", (long) 21, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SGML_COMMAND", (long) 22, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SGML_1ST_PARAM", (long) 23, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SGML_DOUBLESTRING", (long) 24, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SGML_SIMPLESTRING", (long) 25, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SGML_ERROR", (long) 26, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SGML_SPECIAL", (long) 27, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SGML_ENTITY", (long) 28, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SGML_COMMENT", (long) 29, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SGML_1ST_PARAM_COMMENT", (long) 30, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_H_SGML_BLOCK_DEFAULT", (long) 31, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_START", (long) 40, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_DEFAULT", (long) 41, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_COMMENT", (long) 42, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_COMMENTLINE", (long) 43, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_COMMENTDOC", (long) 44, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_NUMBER", (long) 45, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_WORD", (long) 46, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_KEYWORD", (long) 47, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_DOUBLESTRING", (long) 48, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_SINGLESTRING", (long) 49, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_SYMBOLS", (long) 50, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_STRINGEOL", (long) 51, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJ_REGEX", (long) 52, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_START", (long) 55, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_DEFAULT", (long) 56, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_COMMENT", (long) 57, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_COMMENTLINE", (long) 58, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_COMMENTDOC", (long) 59, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_NUMBER", (long) 60, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_WORD", (long) 61, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_KEYWORD", (long) 62, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_DOUBLESTRING", (long) 63, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_SINGLESTRING", (long) 64, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_SYMBOLS", (long) 65, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_STRINGEOL", (long) 66, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HJA_REGEX", (long) 67, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HB_START", (long) 70, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HB_DEFAULT", (long) 71, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HB_COMMENTLINE", (long) 72, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HB_NUMBER", (long) 73, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HB_WORD", (long) 74, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HB_STRING", (long) 75, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HB_IDENTIFIER", (long) 76, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HB_STRINGEOL", (long) 77, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HBA_START", (long) 80, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HBA_DEFAULT", (long) 81, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HBA_COMMENTLINE", (long) 82, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HBA_NUMBER", (long) 83, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HBA_WORD", (long) 84, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HBA_STRING", (long) 85, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HBA_IDENTIFIER", (long) 86, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HBA_STRINGEOL", (long) 87, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_START", (long) 90, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_DEFAULT", (long) 91, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_COMMENTLINE", (long) 92, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_NUMBER", (long) 93, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_STRING", (long) 94, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_CHARACTER", (long) 95, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_WORD", (long) 96, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_TRIPLE", (long) 97, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_TRIPLEDOUBLE", (long) 98, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_CLASSNAME", (long) 99, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_DEFNAME", (long) 100, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_OPERATOR", (long) 101, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HP_IDENTIFIER", (long) 102, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_START", (long) 105, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_DEFAULT", (long) 106, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_COMMENTLINE", (long) 107, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_NUMBER", (long) 108, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_STRING", (long) 109, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_CHARACTER", (long) 110, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_WORD", (long) 111, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_TRIPLE", (long) 112, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_TRIPLEDOUBLE", (long) 113, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_CLASSNAME", (long) 114, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_DEFNAME", (long) 115, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_OPERATOR", (long) 116, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPA_IDENTIFIER", (long) 117, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPHP_DEFAULT", (long) 118, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPHP_HSTRING", (long) 119, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPHP_SIMPLESTRING", (long) 120, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPHP_WORD", (long) 121, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPHP_NUMBER", (long) 122, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPHP_VARIABLE", (long) 123, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPHP_COMMENT", (long) 124, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPHP_COMMENTLINE", (long) 125, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPHP_HSTRING_VARIABLE", (long) 126, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_HPHP_OPERATOR", (long) 127, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_ERROR", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_COMMENTLINE", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_POD", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_NUMBER", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_WORD", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_STRING", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_CHARACTER", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_PUNCTUATION", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_PREPROCESSOR", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_OPERATOR", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_IDENTIFIER", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_SCALAR", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_ARRAY", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_HASH", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_SYMBOLTABLE", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_REGEX", (long) 17, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_REGSUBST", (long) 18, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_LONGQUOTE", (long) 19, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_BACKTICKS", (long) 20, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_DATASECTION", (long) 21, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_HERE_DELIM", (long) 22, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_HERE_Q", (long) 23, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_HERE_QQ", (long) 24, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_HERE_QX", (long) 25, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_STRING_Q", (long) 26, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_STRING_QQ", (long) 27, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_STRING_QX", (long) 28, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_STRING_QR", (long) 29, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PL_STRING_QW", (long) 30, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_B_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_B_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_B_NUMBER", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_B_KEYWORD", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_B_STRING", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_B_PREPROCESSOR", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_B_OPERATOR", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_B_IDENTIFIER", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_B_DATE", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PROPS_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PROPS_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PROPS_SECTION", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PROPS_ASSIGNMENT", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PROPS_DEFVAL", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_L_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_L_COMMAND", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_L_TAG", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_L_MATH", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_L_COMMENT", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_COMMENTLINE", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_COMMENTDOC", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_NUMBER", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_WORD", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_STRING", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_CHARACTER", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_LITERALSTRING", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_PREPROCESSOR", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_OPERATOR", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_IDENTIFIER", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_STRINGEOL", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_WORD2", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_WORD3", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_WORD4", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_WORD5", (long) 16, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_WORD6", (long) 17, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_WORD7", (long) 18, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LUA_WORD8", (long) 19, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_PYTHON", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_GCC", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_MS", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_CMD", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_BORLAND", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_PERL", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_NET", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_LUA", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_CTAG", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_DIFF_CHANGED", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_DIFF_ADDITION", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_DIFF_DELETION", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_DIFF_MESSAGE", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_PHP", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_ELF", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ERR_IFC", (long) 16, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAT_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAT_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAT_WORD", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAT_LABEL", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAT_HIDE", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAT_COMMAND", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAT_IDENTIFIER", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAT_OPERATOR", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MAKE_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MAKE_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MAKE_PREPROCESSOR", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MAKE_IDENTIFIER", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MAKE_OPERATOR", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MAKE_TARGET", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MAKE_IDEOL", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_DIFF_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_DIFF_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_DIFF_COMMAND", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_DIFF_HEADER", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_DIFF_POSITION", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_DIFF_DELETED", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_DIFF_ADDED", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CONF_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CONF_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CONF_NUMBER", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CONF_IDENTIFIER", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CONF_EXTENSION", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CONF_PARAMETER", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CONF_STRING", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CONF_OPERATOR", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CONF_IP", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CONF_DIRECTIVE", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_NUMBER", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_WORD", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_STRING", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_ENUM", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_STRINGEOL", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_IDENTIFIER", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_OPERATOR", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_WORD1", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_WORD2", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_WORD3", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_WORD4", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_WORD5", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_AVE_WORD6", (long) 16, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ADA_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ADA_WORD", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ADA_IDENTIFIER", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ADA_NUMBER", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ADA_DELIMITER", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ADA_CHARACTER", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ADA_CHARACTEREOL", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ADA_STRING", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ADA_STRINGEOL", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ADA_LABEL", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ADA_COMMENTLINE", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ADA_ILLEGAL", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAAN_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAAN_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAAN_COMMENTDOC", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAAN_NUMBER", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAAN_WORD", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAAN_STRING", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAAN_PREPROCESSOR", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAAN_OPERATOR", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAAN_IDENTIFIER", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAAN_STRINGEOL", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_BAAN_WORD2", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LISP_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LISP_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LISP_NUMBER", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LISP_KEYWORD", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LISP_STRING", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LISP_STRINGEOL", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LISP_IDENTIFIER", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LISP_OPERATOR", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EIFFEL_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EIFFEL_COMMENTLINE", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EIFFEL_NUMBER", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EIFFEL_WORD", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EIFFEL_STRING", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EIFFEL_CHARACTER", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EIFFEL_OPERATOR", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EIFFEL_IDENTIFIER", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_EIFFEL_STRINGEOL", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_TASK", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_SECTION", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_KEYWORD", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_MODIFIER", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_ASTERISK", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_NUMBER", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_STRING", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_ENVIRONMENT", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_IDENTIFIER", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MATLAB_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MATLAB_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MATLAB_COMMAND", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MATLAB_NUMBER", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MATLAB_KEYWORD", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MATLAB_STRING", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MATLAB_OPERATOR", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MATLAB_IDENTIFIER", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTLINE", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOC", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_NUMBER", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_WORD", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_STRING", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_CHARACTER", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_UUID", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_PREPROCESSOR", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_OPERATOR", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_IDENTIFIER", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_STRINGEOL", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_VERBATIM", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_REGEX", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTLINEDOC", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_WORD2", (long) 16, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOCKEYWORD", (long) 17, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOCKEYWORDERROR", (long) 18, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTBASIC", (long) 19, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ASM_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ASM_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ASM_NUMBER", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ASM_STRING", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ASM_OPERATOR", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ASM_IDENTIFIER", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ASM_CPUINSTRUCTION", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ASM_MATHINSTRUCTION", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ASM_REGISTER", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ASM_DIRECTIVE", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ASM_DIRECTIVEOPERAND", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_NUMBER", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_STRING1", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_STRING2", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_STRINGEOL", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_OPERATOR", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_IDENTIFIER", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_WORD", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_WORD2", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_WORD3", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_PREPROCESSOR", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_OPERATOR2", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_LABEL", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_F_CONTINUATION", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_TAG", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_CLASS", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_PSEUDOCLASS", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_UNKNOWN_PSEUDOCLASS", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_OPERATOR", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_IDENTIFIER", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_UNKNOWN_IDENTIFIER", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_VALUE", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_COMMENT", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_ID", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_IMPORTANT", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_DIRECTIVE", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_DOUBLESTRING", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CSS_SINGLESTRING", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_COMMENTLINE", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_NUMBER", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_OPERATOR", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_IDENTIFIER", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_STRING", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_STRINGEOL", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_DIRECTIVE", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_BADDIRECTIVE", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_WORD2", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_WORD3", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_WORD4", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_WORD5", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_WORD6", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_WORD7", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_POV_WORD8", (long) 16, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LOUT_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LOUT_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LOUT_NUMBER", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LOUT_WORD", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LOUT_WORD2", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LOUT_WORD3", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LOUT_WORD4", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LOUT_STRING", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LOUT_OPERATOR", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LOUT_IDENTIFIER", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_LOUT_STRINGEOL", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ESCRIPT_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENTLINE", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENTDOC", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ESCRIPT_NUMBER", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ESCRIPT_STRING", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ESCRIPT_OPERATOR", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ESCRIPT_IDENTIFIER", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ESCRIPT_BRACE", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD2", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD3", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_DSC_COMMENT", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_DSC_VALUE", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_NUMBER", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_NAME", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_KEYWORD", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_LITERAL", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_IMMEVAL", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_PAREN_ARRAY", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_PAREN_DICT", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_PAREN_PROC", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_TEXT", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_HEXSTRING", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_BASE85STRING", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_PS_BADSTRINGCHAR", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_DEFAULT", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_STRINGDQ", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_STRINGLQ", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_STRINGRQ", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_FUNCTION", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_VARIABLE", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_LABEL", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_USERDEFINED", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_SECTIONDEF", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_SUBSECTIONDEF", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_IFDEFINEDEF", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_MACRODEF", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_NSIS_STRINGVAR", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_LEADWS", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_COMMENT", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_LABEL", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_PRE", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_VALID", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_UNKNOWN", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_POST", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPERANDS", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_NUMBER", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_REF", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_CHAR", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_STRING", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_REGISTER", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_HEX", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPERATOR", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_SYMBOL", (long) 16, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_MMIXAL_INCLUDE", (long) 17, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_REDO", (long) 2011, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_SELECTALL", (long) 2013, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_UNDO", (long) 2176, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_CUT", (long) 2177, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_COPY", (long) 2178, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_PASTE", (long) 2179, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_CLEAR", (long) 2180, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINEDOWN", (long) 2300, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINEDOWNEXTEND", (long) 2301, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINEUP", (long) 2302, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINEUPEXTEND", (long) 2303, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_CHARLEFT", (long) 2304, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_CHARLEFTEXTEND", (long) 2305, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_CHARRIGHT", (long) 2306, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_CHARRIGHTEXTEND", (long) 2307, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_WORDLEFT", (long) 2308, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_WORDLEFTEXTEND", (long) 2309, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_WORDRIGHT", (long) 2310, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_WORDRIGHTEXTEND", (long) 2311, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_HOME", (long) 2312, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_HOMEEXTEND", (long) 2313, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINEEND", (long) 2314, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDEXTEND", (long) 2315, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTSTART", (long) 2316, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTSTARTEXTEND", (long) 2317, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTEND", (long) 2318, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTENDEXTEND", (long) 2319, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_PAGEUP", (long) 2320, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_PAGEUPEXTEND", (long) 2321, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_PAGEDOWN", (long) 2322, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_PAGEDOWNEXTEND", (long) 2323, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_EDITTOGGLEOVERTYPE", (long) 2324, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_CANCEL", (long) 2325, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_DELETEBACK", (long) 2326, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_TAB", (long) 2327, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_BACKTAB", (long) 2328, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_NEWLINE", (long) 2329, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_FORMFEED", (long) 2330, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_VCHOME", (long) 2331, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_VCHOMEEXTEND", (long) 2332, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_ZOOMIN", (long) 2333, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_ZOOMOUT", (long) 2334, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_DELWORDLEFT", (long) 2335, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_DELWORDRIGHT", (long) 2336, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINECUT", (long) 2337, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINEDELETE", (long) 2338, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINETRANSPOSE", (long) 2339, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINEDUPLICATE", (long) 2404, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LOWERCASE", (long) 2340, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_UPPERCASE", (long) 2341, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINESCROLLDOWN", (long) 2342, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINESCROLLUP", (long) 2343, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_DELETEBACKNOTLINE", (long) 2344, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_HOMEDISPLAY", (long) 2345, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_HOMEDISPLAYEXTEND", (long) 2346, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDDISPLAY", (long) 2347, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDDISPLAYEXTEND", (long) 2348, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_HOMEWRAP", (long) 2349, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_HOMEWRAPEXTEND", (long) 2450, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDWRAP", (long) 2451, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDWRAPEXTEND", (long) 2452, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_VCHOMEWRAP", (long) 2453, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_VCHOMEWRAPEXTEND", (long) 2454, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_WORDPARTLEFT", (long) 2390, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_WORDPARTLEFTEXTEND", (long) 2391, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_WORDPARTRIGHT", (long) 2392, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_WORDPARTRIGHTEXTEND", (long) 2393, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_DELLINELEFT", (long) 2395, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_DELLINERIGHT", (long) 2396, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_PARADOWN", (long) 2413, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_PARADOWNEXTEND", (long) 2414, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_PARAUP", (long) 2415, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"STC_CMD_PARAUPEXTEND", (long) 2416, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_CHANGE", (long) wxEVT_STC_CHANGE, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_STYLENEEDED", (long) wxEVT_STC_STYLENEEDED, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_CHARADDED", (long) wxEVT_STC_CHARADDED, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_SAVEPOINTREACHED", (long) wxEVT_STC_SAVEPOINTREACHED, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_SAVEPOINTLEFT", (long) wxEVT_STC_SAVEPOINTLEFT, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_ROMODIFYATTEMPT", (long) wxEVT_STC_ROMODIFYATTEMPT, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_KEY", (long) wxEVT_STC_KEY, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_DOUBLECLICK", (long) wxEVT_STC_DOUBLECLICK, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_UPDATEUI", (long) wxEVT_STC_UPDATEUI, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_MODIFIED", (long) wxEVT_STC_MODIFIED, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_MACRORECORD", (long) wxEVT_STC_MACRORECORD, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_MARGINCLICK", (long) wxEVT_STC_MARGINCLICK, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_NEEDSHOWN", (long) wxEVT_STC_NEEDSHOWN, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_POSCHANGED", (long) wxEVT_STC_POSCHANGED, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_PAINTED", (long) wxEVT_STC_PAINTED, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_USERLISTSELECTION", (long) wxEVT_STC_USERLISTSELECTION, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_URIDROPPED", (long) wxEVT_STC_URIDROPPED, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_DWELLSTART", (long) wxEVT_STC_DWELLSTART, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_DWELLEND", (long) wxEVT_STC_DWELLEND, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_START_DRAG", (long) wxEVT_STC_START_DRAG, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_DRAG_OVER", (long) wxEVT_STC_DRAG_OVER, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_DO_DROP", (long) wxEVT_STC_DO_DROP, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_ZOOM", (long) wxEVT_STC_ZOOM, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_HOTSPOT_CLICK", (long) wxEVT_STC_HOTSPOT_CLICK, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_HOTSPOT_DCLICK", (long) wxEVT_STC_HOTSPOT_DCLICK, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"wxEVT_STC_CALLTIP_CLICK", (long) wxEVT_STC_CALLTIP_CLICK, 0, 0, 0}, {0}}; #ifdef __cplusplus @@ -12711,6 +13524,915 @@ SWIGEXPORT(void) SWIG_init(void) { } SWIG_InstallConstants(d,swig_const_table); + 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_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)); }