reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-09-29 00:22:24 +00:00
parent 9a9942f75a
commit b6294124ec
9 changed files with 825 additions and 0 deletions

View File

@@ -134,6 +134,12 @@ STC_FOLDFLAG_BOX = _stc.STC_FOLDFLAG_BOX
STC_TIME_FOREVER = _stc.STC_TIME_FOREVER
STC_WRAP_NONE = _stc.STC_WRAP_NONE
STC_WRAP_WORD = _stc.STC_WRAP_WORD
STC_WRAPVISUALFLAG_NONE = _stc.STC_WRAPVISUALFLAG_NONE
STC_WRAPVISUALFLAG_END = _stc.STC_WRAPVISUALFLAG_END
STC_WRAPVISUALFLAG_START = _stc.STC_WRAPVISUALFLAG_START
STC_WRAPVISUALFLAGLOC_DEFAULT = _stc.STC_WRAPVISUALFLAGLOC_DEFAULT
STC_WRAPVISUALFLAGLOC_END_BY_TEXT = _stc.STC_WRAPVISUALFLAGLOC_END_BY_TEXT
STC_WRAPVISUALFLAGLOC_START_BY_TEXT = _stc.STC_WRAPVISUALFLAGLOC_START_BY_TEXT
STC_CACHE_NONE = _stc.STC_CACHE_NONE
STC_CACHE_CARET = _stc.STC_CACHE_CARET
STC_CACHE_PAGE = _stc.STC_CACHE_PAGE
@@ -240,6 +246,14 @@ STC_LEX_POWERBASIC = _stc.STC_LEX_POWERBASIC
STC_LEX_FORTH = _stc.STC_LEX_FORTH
STC_LEX_ERLANG = _stc.STC_LEX_ERLANG
STC_LEX_OCTAVE = _stc.STC_LEX_OCTAVE
STC_LEX_MSSQL = _stc.STC_LEX_MSSQL
STC_LEX_VERILOG = _stc.STC_LEX_VERILOG
STC_LEX_KIX = _stc.STC_LEX_KIX
STC_LEX_GUI4CLI = _stc.STC_LEX_GUI4CLI
STC_LEX_SPECMAN = _stc.STC_LEX_SPECMAN
STC_LEX_AU3 = _stc.STC_LEX_AU3
STC_LEX_APDL = _stc.STC_LEX_APDL
STC_LEX_BASH = _stc.STC_LEX_BASH
STC_LEX_AUTOMATIC = _stc.STC_LEX_AUTOMATIC
STC_P_DEFAULT = _stc.STC_P_DEFAULT
STC_P_COMMENTLINE = _stc.STC_P_COMMENTLINE
@@ -362,6 +376,7 @@ STC_HP_CLASSNAME = _stc.STC_HP_CLASSNAME
STC_HP_DEFNAME = _stc.STC_HP_DEFNAME
STC_HP_OPERATOR = _stc.STC_HP_OPERATOR
STC_HP_IDENTIFIER = _stc.STC_HP_IDENTIFIER
STC_HPHP_COMPLEX_VARIABLE = _stc.STC_HPHP_COMPLEX_VARIABLE
STC_HPA_START = _stc.STC_HPA_START
STC_HPA_DEFAULT = _stc.STC_HPA_DEFAULT
STC_HPA_COMMENTLINE = _stc.STC_HPA_COMMENTLINE
@@ -428,6 +443,8 @@ STC_B_STRINGEOL = _stc.STC_B_STRINGEOL
STC_B_KEYWORD2 = _stc.STC_B_KEYWORD2
STC_B_KEYWORD3 = _stc.STC_B_KEYWORD3
STC_B_KEYWORD4 = _stc.STC_B_KEYWORD4
STC_B_CONSTANT = _stc.STC_B_CONSTANT
STC_B_ASM = _stc.STC_B_ASM
STC_PROPS_DEFAULT = _stc.STC_PROPS_DEFAULT
STC_PROPS_COMMENT = _stc.STC_PROPS_COMMENT
STC_PROPS_SECTION = _stc.STC_PROPS_SECTION
@@ -477,6 +494,7 @@ STC_ERR_ELF = _stc.STC_ERR_ELF
STC_ERR_IFC = _stc.STC_ERR_IFC
STC_ERR_IFORT = _stc.STC_ERR_IFORT
STC_ERR_ABSF = _stc.STC_ERR_ABSF
STC_ERR_TIDY = _stc.STC_ERR_TIDY
STC_BAT_DEFAULT = _stc.STC_BAT_DEFAULT
STC_BAT_COMMENT = _stc.STC_BAT_COMMENT
STC_BAT_WORD = _stc.STC_BAT_WORD
@@ -727,6 +745,7 @@ STC_NSIS_SUBSECTIONDEF = _stc.STC_NSIS_SUBSECTIONDEF
STC_NSIS_IFDEFINEDEF = _stc.STC_NSIS_IFDEFINEDEF
STC_NSIS_MACRODEF = _stc.STC_NSIS_MACRODEF
STC_NSIS_STRINGVAR = _stc.STC_NSIS_STRINGVAR
STC_NSIS_NUMBER = _stc.STC_NSIS_NUMBER
STC_MMIXAL_LEADWS = _stc.STC_MMIXAL_LEADWS
STC_MMIXAL_COMMENT = _stc.STC_MMIXAL_COMMENT
STC_MMIXAL_LABEL = _stc.STC_MMIXAL_LABEL
@@ -804,6 +823,109 @@ STC_ERLANG_RECORD = _stc.STC_ERLANG_RECORD
STC_ERLANG_SEPARATOR = _stc.STC_ERLANG_SEPARATOR
STC_ERLANG_NODE_NAME = _stc.STC_ERLANG_NODE_NAME
STC_ERLANG_UNKNOWN = _stc.STC_ERLANG_UNKNOWN
STC_MSSQL_DEFAULT = _stc.STC_MSSQL_DEFAULT
STC_MSSQL_COMMENT = _stc.STC_MSSQL_COMMENT
STC_MSSQL_LINE_COMMENT = _stc.STC_MSSQL_LINE_COMMENT
STC_MSSQL_NUMBER = _stc.STC_MSSQL_NUMBER
STC_MSSQL_STRING = _stc.STC_MSSQL_STRING
STC_MSSQL_OPERATOR = _stc.STC_MSSQL_OPERATOR
STC_MSSQL_IDENTIFIER = _stc.STC_MSSQL_IDENTIFIER
STC_MSSQL_VARIABLE = _stc.STC_MSSQL_VARIABLE
STC_MSSQL_COLUMN_NAME = _stc.STC_MSSQL_COLUMN_NAME
STC_MSSQL_STATEMENT = _stc.STC_MSSQL_STATEMENT
STC_MSSQL_DATATYPE = _stc.STC_MSSQL_DATATYPE
STC_MSSQL_SYSTABLE = _stc.STC_MSSQL_SYSTABLE
STC_MSSQL_GLOBAL_VARIABLE = _stc.STC_MSSQL_GLOBAL_VARIABLE
STC_MSSQL_FUNCTION = _stc.STC_MSSQL_FUNCTION
STC_MSSQL_STORED_PROCEDURE = _stc.STC_MSSQL_STORED_PROCEDURE
STC_MSSQL_DEFAULT_PREF_DATATYPE = _stc.STC_MSSQL_DEFAULT_PREF_DATATYPE
STC_MSSQL_COLUMN_NAME_2 = _stc.STC_MSSQL_COLUMN_NAME_2
STC_V_DEFAULT = _stc.STC_V_DEFAULT
STC_V_COMMENT = _stc.STC_V_COMMENT
STC_V_COMMENTLINE = _stc.STC_V_COMMENTLINE
STC_V_COMMENTLINEBANG = _stc.STC_V_COMMENTLINEBANG
STC_V_NUMBER = _stc.STC_V_NUMBER
STC_V_WORD = _stc.STC_V_WORD
STC_V_STRING = _stc.STC_V_STRING
STC_V_WORD2 = _stc.STC_V_WORD2
STC_V_WORD3 = _stc.STC_V_WORD3
STC_V_PREPROCESSOR = _stc.STC_V_PREPROCESSOR
STC_V_OPERATOR = _stc.STC_V_OPERATOR
STC_V_IDENTIFIER = _stc.STC_V_IDENTIFIER
STC_V_STRINGEOL = _stc.STC_V_STRINGEOL
STC_V_USER = _stc.STC_V_USER
STC_KIX_DEFAULT = _stc.STC_KIX_DEFAULT
STC_KIX_COMMENT = _stc.STC_KIX_COMMENT
STC_KIX_STRING1 = _stc.STC_KIX_STRING1
STC_KIX_STRING2 = _stc.STC_KIX_STRING2
STC_KIX_NUMBER = _stc.STC_KIX_NUMBER
STC_KIX_VAR = _stc.STC_KIX_VAR
STC_KIX_MACRO = _stc.STC_KIX_MACRO
STC_KIX_KEYWORD = _stc.STC_KIX_KEYWORD
STC_KIX_FUNCTIONS = _stc.STC_KIX_FUNCTIONS
STC_KIX_OPERATOR = _stc.STC_KIX_OPERATOR
STC_KIX_IDENTIFIER = _stc.STC_KIX_IDENTIFIER
STC_GC_DEFAULT = _stc.STC_GC_DEFAULT
STC_GC_COMMENTLINE = _stc.STC_GC_COMMENTLINE
STC_GC_COMMENTBLOCK = _stc.STC_GC_COMMENTBLOCK
STC_GC_GLOBAL = _stc.STC_GC_GLOBAL
STC_GC_EVENT = _stc.STC_GC_EVENT
STC_GC_ATTRIBUTE = _stc.STC_GC_ATTRIBUTE
STC_GC_CONTROL = _stc.STC_GC_CONTROL
STC_GC_COMMAND = _stc.STC_GC_COMMAND
STC_GC_STRING = _stc.STC_GC_STRING
STC_GC_OPERATOR = _stc.STC_GC_OPERATOR
STC_SN_DEFAULT = _stc.STC_SN_DEFAULT
STC_SN_CODE = _stc.STC_SN_CODE
STC_SN_COMMENTLINE = _stc.STC_SN_COMMENTLINE
STC_SN_COMMENTLINEBANG = _stc.STC_SN_COMMENTLINEBANG
STC_SN_NUMBER = _stc.STC_SN_NUMBER
STC_SN_WORD = _stc.STC_SN_WORD
STC_SN_STRING = _stc.STC_SN_STRING
STC_SN_WORD2 = _stc.STC_SN_WORD2
STC_SN_WORD3 = _stc.STC_SN_WORD3
STC_SN_PREPROCESSOR = _stc.STC_SN_PREPROCESSOR
STC_SN_OPERATOR = _stc.STC_SN_OPERATOR
STC_SN_IDENTIFIER = _stc.STC_SN_IDENTIFIER
STC_SN_STRINGEOL = _stc.STC_SN_STRINGEOL
STC_SN_REGEXTAG = _stc.STC_SN_REGEXTAG
STC_SN_SIGNAL = _stc.STC_SN_SIGNAL
STC_SN_USER = _stc.STC_SN_USER
STC_AU3_DEFAULT = _stc.STC_AU3_DEFAULT
STC_AU3_COMMENT = _stc.STC_AU3_COMMENT
STC_AU3_COMMENTBLOCK = _stc.STC_AU3_COMMENTBLOCK
STC_AU3_NUMBER = _stc.STC_AU3_NUMBER
STC_AU3_FUNCTION = _stc.STC_AU3_FUNCTION
STC_AU3_KEYWORD = _stc.STC_AU3_KEYWORD
STC_AU3_MACRO = _stc.STC_AU3_MACRO
STC_AU3_STRING = _stc.STC_AU3_STRING
STC_AU3_OPERATOR = _stc.STC_AU3_OPERATOR
STC_AU3_VARIABLE = _stc.STC_AU3_VARIABLE
STC_AU3_SENT = _stc.STC_AU3_SENT
STC_AU3_PREPROCESSOR = _stc.STC_AU3_PREPROCESSOR
STC_APDL_DEFAULT = _stc.STC_APDL_DEFAULT
STC_APDL_COMMENT = _stc.STC_APDL_COMMENT
STC_APDL_COMMENTBLOCK = _stc.STC_APDL_COMMENTBLOCK
STC_APDL_NUMBER = _stc.STC_APDL_NUMBER
STC_APDL_STRING = _stc.STC_APDL_STRING
STC_APDL_WORD = _stc.STC_APDL_WORD
STC_APDL_COMMAND = _stc.STC_APDL_COMMAND
STC_APDL_PROCESSOR = _stc.STC_APDL_PROCESSOR
STC_APDL_FUNCTION = _stc.STC_APDL_FUNCTION
STC_SH_DEFAULT = _stc.STC_SH_DEFAULT
STC_SH_ERROR = _stc.STC_SH_ERROR
STC_SH_COMMENTLINE = _stc.STC_SH_COMMENTLINE
STC_SH_NUMBER = _stc.STC_SH_NUMBER
STC_SH_WORD = _stc.STC_SH_WORD
STC_SH_STRING = _stc.STC_SH_STRING
STC_SH_CHARACTER = _stc.STC_SH_CHARACTER
STC_SH_OPERATOR = _stc.STC_SH_OPERATOR
STC_SH_IDENTIFIER = _stc.STC_SH_IDENTIFIER
STC_SH_SCALAR = _stc.STC_SH_SCALAR
STC_SH_PARAM = _stc.STC_SH_PARAM
STC_SH_BACKTICKS = _stc.STC_SH_BACKTICKS
STC_SH_HERE_DELIM = _stc.STC_SH_HERE_DELIM
STC_SH_HERE_Q = _stc.STC_SH_HERE_Q
STC_CMD_REDO = _stc.STC_CMD_REDO
STC_CMD_SELECTALL = _stc.STC_CMD_SELECTALL
STC_CMD_UNDO = _stc.STC_CMD_UNDO
@@ -1830,6 +1952,30 @@ class StyledTextCtrl(_core.Control):
"""GetWrapMode(self) -> int"""
return _stc.StyledTextCtrl_GetWrapMode(*args, **kwargs)
def SetWrapVisualFlags(*args, **kwargs):
"""SetWrapVisualFlags(self, int wrapVisualFlags)"""
return _stc.StyledTextCtrl_SetWrapVisualFlags(*args, **kwargs)
def GetWrapVisualFlags(*args, **kwargs):
"""GetWrapVisualFlags(self) -> int"""
return _stc.StyledTextCtrl_GetWrapVisualFlags(*args, **kwargs)
def SetWrapVisualFlagsLocation(*args, **kwargs):
"""SetWrapVisualFlagsLocation(self, int wrapVisualFlagsLocation)"""
return _stc.StyledTextCtrl_SetWrapVisualFlagsLocation(*args, **kwargs)
def GetWrapVisualFlagsLocation(*args, **kwargs):
"""GetWrapVisualFlagsLocation(self) -> int"""
return _stc.StyledTextCtrl_GetWrapVisualFlagsLocation(*args, **kwargs)
def SetWrapStartIndent(*args, **kwargs):
"""SetWrapStartIndent(self, int indent)"""
return _stc.StyledTextCtrl_SetWrapStartIndent(*args, **kwargs)
def GetWrapStartIndent(*args, **kwargs):
"""GetWrapStartIndent(self) -> int"""
return _stc.StyledTextCtrl_GetWrapStartIndent(*args, **kwargs)
def SetLayoutCache(*args, **kwargs):
"""SetLayoutCache(self, int mode)"""
return _stc.StyledTextCtrl_SetLayoutCache(*args, **kwargs)
@@ -2498,6 +2644,10 @@ class StyledTextCtrl(_core.Control):
"""AutoCompGetCurrent(self) -> int"""
return _stc.StyledTextCtrl_AutoCompGetCurrent(*args, **kwargs)
def Allocate(*args, **kwargs):
"""Allocate(self, int bytes)"""
return _stc.StyledTextCtrl_Allocate(*args, **kwargs)
def StartRecord(*args, **kwargs):
"""StartRecord(self)"""
return _stc.StyledTextCtrl_StartRecord(*args, **kwargs)

View File

@@ -7762,6 +7762,171 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, Py
}
static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "wrapVisualFlags", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetWrapVisualFlags(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (int)(arg1)->GetWrapVisualFlags();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "wrapVisualFlagsLocation", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetWrapVisualFlagsLocation(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (int)(arg1)->GetWrapVisualFlagsLocation();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "indent", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetWrapStartIndent(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (int)(arg1)->GetWrapStartIndent();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
@@ -12223,6 +12388,35 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *a
}
static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "bytes", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->Allocate(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
@@ -14809,6 +15003,12 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL },
@@ -14972,6 +15172,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL },
@@ -15701,6 +15902,12 @@ SWIGEXPORT(void) SWIG_init(void) {
PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)10000000));
PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)0x0000));
PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)0x0001));
PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)0x0002));
PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)0x0000));
PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)0x0001));
PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)0x0002));
PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)2));
@@ -15807,6 +16014,14 @@ SWIGEXPORT(void) SWIG_init(void) {
PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)52));
PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)53));
PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)54));
PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)55));
PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)56));
PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)57));
PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)58));
PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)59));
PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)60));
PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)61));
PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)62));
PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)1000));
PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)1));
@@ -15929,6 +16144,7 @@ SWIGEXPORT(void) SWIG_init(void) {
PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)100));
PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)101));
PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)102));
PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)104));
PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)105));
PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)106));
PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)107));
@@ -15995,6 +16211,8 @@ SWIGEXPORT(void) SWIG_init(void) {
PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)10));
PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)11));
PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)12));
PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)13));
PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)14));
PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)2));
@@ -16044,6 +16262,7 @@ SWIGEXPORT(void) SWIG_init(void) {
PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)16));
PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)17));
PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)18));
PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)19));
PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)2));
@@ -16294,6 +16513,7 @@ SWIGEXPORT(void) SWIG_init(void) {
PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)11));
PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)12));
PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)13));
PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)14));
PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)2));
@@ -16371,6 +16591,109 @@ SWIGEXPORT(void) SWIG_init(void) {
PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)12));
PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)13));
PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)31));
PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)2));
PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)3));
PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)4));
PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)5));
PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)6));
PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)7));
PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)8));
PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)9));
PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)10));
PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)11));
PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)12));
PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)13));
PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)14));
PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)15));
PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)16));
PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)2));
PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)3));
PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)4));
PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)5));
PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)6));
PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)7));
PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)8));
PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)9));
PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)10));
PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)11));
PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)12));
PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)19));
PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)2));
PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)3));
PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)4));
PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)5));
PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)6));
PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)7));
PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)8));
PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)9));
PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)31));
PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)2));
PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)3));
PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)4));
PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)5));
PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)6));
PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)7));
PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)8));
PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)9));
PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)2));
PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)3));
PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)4));
PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)5));
PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)6));
PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)7));
PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)8));
PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)9));
PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)10));
PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)11));
PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)12));
PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)13));
PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)14));
PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)19));
PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)2));
PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)3));
PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)4));
PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)5));
PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)6));
PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)7));
PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)8));
PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)9));
PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)10));
PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)11));
PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)2));
PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)3));
PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)4));
PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)5));
PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)6));
PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)7));
PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)8));
PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)0));
PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)1));
PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)2));
PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)3));
PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)4));
PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)5));
PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)6));
PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)7));
PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)8));
PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)9));
PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)10));
PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)11));
PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)12));
PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)13));
PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)2011));
PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)2013));
PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)2176));