reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-09-30 23:18:30 +00:00
parent 94bc006bd2
commit 5e4835243a
15 changed files with 1926 additions and 417 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));

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));

View File

@ -105,7 +105,6 @@
%rename(LayoutAlgorithm) wxLayoutAlgorithm;
%rename(PopupWindow) wxPopupWindow;
%rename(TipWindow) wxTipWindow;
%rename(TaskBarIcon) wxTaskBarIcon;
%rename(TaskBarIconEvent) wxTaskBarIconEvent;
%rename(ColourData) wxColourData;
%rename(ColourDialog) wxColourDialog;

View File

@ -2050,18 +2050,18 @@ def PreHtmlListBox(*args, **kwargs):
class TaskBarIcon(_core.EvtHandler):
def __repr__(self):
return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self) -> TaskBarIcon"""
newobj = _windows_.new_TaskBarIcon(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def __del__(self, destroy=_windows_.delete_TaskBarIcon):
"""__del__(self)"""
try:
if self.thisown: destroy(self)
except: pass
self._setCallbackInfo(self, TaskBarIcon, 0)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
return _windows_.TaskBarIcon__setCallbackInfo(*args, **kwargs)
def Destroy(*args, **kwargs):
"""
@ -2104,7 +2104,7 @@ class TaskBarIconEvent(_core.Event):
def __repr__(self):
return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
"""__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
newobj = _windows_.new_TaskBarIconEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1

File diff suppressed because one or more lines are too long

View File

@ -1628,6 +1628,14 @@ class Font(GDIObject):
"""GetPointSize(self) -> int"""
return _gdi_.Font_GetPointSize(*args, **kwargs)
def GetPixelSize(*args, **kwargs):
"""GetPixelSize(self) -> Size"""
return _gdi_.Font_GetPixelSize(*args, **kwargs)
def IsUsingSizeInPixels(*args, **kwargs):
"""IsUsingSizeInPixels(self) -> bool"""
return _gdi_.Font_IsUsingSizeInPixels(*args, **kwargs)
def GetFamily(*args, **kwargs):
"""GetFamily(self) -> int"""
return _gdi_.Font_GetFamily(*args, **kwargs)
@ -1672,6 +1680,10 @@ class Font(GDIObject):
"""SetPointSize(self, int pointSize)"""
return _gdi_.Font_SetPointSize(*args, **kwargs)
def SetPixelSize(*args, **kwargs):
"""SetPixelSize(self, Size pixelSize)"""
return _gdi_.Font_SetPixelSize(*args, **kwargs)
def SetFamily(*args, **kwargs):
"""SetFamily(self, int family)"""
return _gdi_.Font_SetFamily(*args, **kwargs)
@ -1770,6 +1782,17 @@ def Font2(*args, **kwargs):
val.thisown = 1
return val
def FontFromPixelSize(*args, **kwargs):
"""
FontFromPixelSize(Size pixelSize, int family, int style, int weight,
bool underlined=False, String face=wxEmptyString,
int encoding=FONTENCODING_DEFAULT) -> Font
"""
if kwargs.has_key('faceName'): kwargs['face'] = kwargs['faceName'];del kwargs['faceName']
val = _gdi_.new_FontFromPixelSize(*args, **kwargs)
val.thisown = 1
return val
def Font_GetDefaultEncoding(*args, **kwargs):
"""Font_GetDefaultEncoding() -> int"""
return _gdi_.Font_GetDefaultEncoding(*args, **kwargs)

View File

@ -890,6 +890,11 @@ wxFont *new_wxFont(wxString const &info){
wxFont *new_wxFont(int pointSize,wxFontFamily family,int flags,wxString const &face,wxFontEncoding encoding){
return wxFont::New(pointSize, family, flags, face, encoding);
}
wxFont *new_wxFont(wxSize const &pixelSize,int family,int style,int weight,bool underlined,wxString const &face,wxFontEncoding encoding){
return wxFontBase::New(pixelSize, family,
style, weight, underlined,
face, encoding);
}
bool wxFont___eq__(wxFont *self,wxFont const *other){ return other ? (*self == *other) : false; }
bool wxFont___ne__(wxFont *self,wxFont const *other){ return other ? (*self != *other) : true; }
@ -7900,6 +7905,79 @@ static PyObject *_wrap_new_Font2(PyObject *, PyObject *args, PyObject *kwargs) {
}
static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxSize *arg1 = 0 ;
int arg2 ;
int arg3 ;
int arg4 ;
bool arg5 = (bool) false ;
wxString const &arg6_defvalue = wxEmptyString ;
wxString *arg6 = (wxString *) &arg6_defvalue ;
int arg7 = (int) wxFONTENCODING_DEFAULT ;
wxFont *result;
wxSize temp1 ;
bool temp6 = 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 *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
{
arg1 = &temp1;
if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
}
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
arg5 = (bool)SWIG_As_bool(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
temp6 = true;
}
}
if (obj6) {
arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
{
if (temp6)
delete arg6;
}
return resultobj;
fail:
{
if (temp6)
delete arg6;
}
return NULL;
}
static PyObject *_wrap_Font_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
@ -8018,6 +8096,64 @@ static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *k
}
static PyObject *_wrap_Font_GetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
wxSize result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPixelSize",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = ((wxFont const *)arg1)->GetPixelSize();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxSize * resultptr;
resultptr = new wxSize((wxSize &) result);
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_Font_IsUsingSizeInPixels(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
bool result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsUsingSizeInPixels",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (bool)((wxFont const *)arg1)->IsUsingSizeInPixels();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
}
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
@ -8329,6 +8465,38 @@ static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *k
}
static PyObject *_wrap_Font_SetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "pixelSize", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPixelSize",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
arg2 = &temp2;
if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetPixelSize((wxSize const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
@ -18704,10 +18872,13 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"new_FontFromNativeInfo", (PyCFunction) _wrap_new_FontFromNativeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"new_FontFromNativeInfoString", (PyCFunction) _wrap_new_FontFromNativeInfoString, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"new_Font2", (PyCFunction) _wrap_new_Font2, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"new_FontFromPixelSize", (PyCFunction) _wrap_new_FontFromPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_Ok", (PyCFunction) _wrap_Font_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font___eq__", (PyCFunction) _wrap_Font___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font___ne__", (PyCFunction) _wrap_Font___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetPointSize", (PyCFunction) _wrap_Font_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetPixelSize", (PyCFunction) _wrap_Font_GetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_IsUsingSizeInPixels", (PyCFunction) _wrap_Font_IsUsingSizeInPixels, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetFamily", (PyCFunction) _wrap_Font_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetStyle", (PyCFunction) _wrap_Font_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetWeight", (PyCFunction) _wrap_Font_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
@ -18719,6 +18890,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"Font_GetNativeFontInfoDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoDesc, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetPointSize", (PyCFunction) _wrap_Font_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetPixelSize", (PyCFunction) _wrap_Font_SetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetFamily", (PyCFunction) _wrap_Font_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetStyle", (PyCFunction) _wrap_Font_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetWeight", (PyCFunction) _wrap_Font_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL },

View File

@ -376,6 +376,10 @@ class TopLevelWindow(_core.Window):
"""RequestUserAttention(self, int flags=USER_ATTENTION_INFO)"""
return _windows_.TopLevelWindow_RequestUserAttention(*args, **kwargs)
def IsActive(*args, **kwargs):
"""IsActive(self) -> bool"""
return _windows_.TopLevelWindow_IsActive(*args, **kwargs)
def MacSetMetalAppearance(*args, **kwargs):
"""MacSetMetalAppearance(self, bool on)"""
return _windows_.TopLevelWindow_MacSetMetalAppearance(*args, **kwargs)
@ -2031,18 +2035,18 @@ def PreHtmlListBox(*args, **kwargs):
class TaskBarIcon(_core.EvtHandler):
def __repr__(self):
return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self) -> TaskBarIcon"""
newobj = _windows_.new_TaskBarIcon(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def __del__(self, destroy=_windows_.delete_TaskBarIcon):
"""__del__(self)"""
try:
if self.thisown: destroy(self)
except: pass
self._setCallbackInfo(self, TaskBarIcon, 0)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
return _windows_.TaskBarIcon__setCallbackInfo(*args, **kwargs)
def Destroy(*args, **kwargs):
"""
@ -2085,7 +2089,7 @@ class TaskBarIconEvent(_core.Event):
def __repr__(self):
return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
"""__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
newobj = _windows_.new_TaskBarIconEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1

File diff suppressed because one or more lines are too long

View File

@ -1435,6 +1435,10 @@ class NativeFontInfo(object):
"""GetPointSize(self) -> int"""
return _gdi_.NativeFontInfo_GetPointSize(*args, **kwargs)
def GetPixelSize(*args, **kwargs):
"""GetPixelSize(self) -> Size"""
return _gdi_.NativeFontInfo_GetPixelSize(*args, **kwargs)
def GetStyle(*args, **kwargs):
"""GetStyle(self) -> int"""
return _gdi_.NativeFontInfo_GetStyle(*args, **kwargs)
@ -1463,6 +1467,10 @@ class NativeFontInfo(object):
"""SetPointSize(self, int pointsize)"""
return _gdi_.NativeFontInfo_SetPointSize(*args, **kwargs)
def SetPixelSize(*args, **kwargs):
"""SetPixelSize(self, Size pixelSize)"""
return _gdi_.NativeFontInfo_SetPixelSize(*args, **kwargs)
def SetStyle(*args, **kwargs):
"""SetStyle(self, int style)"""
return _gdi_.NativeFontInfo_SetStyle(*args, **kwargs)
@ -1720,6 +1728,14 @@ class Font(GDIObject):
"""GetPointSize(self) -> int"""
return _gdi_.Font_GetPointSize(*args, **kwargs)
def GetPixelSize(*args, **kwargs):
"""GetPixelSize(self) -> Size"""
return _gdi_.Font_GetPixelSize(*args, **kwargs)
def IsUsingSizeInPixels(*args, **kwargs):
"""IsUsingSizeInPixels(self) -> bool"""
return _gdi_.Font_IsUsingSizeInPixels(*args, **kwargs)
def GetFamily(*args, **kwargs):
"""GetFamily(self) -> int"""
return _gdi_.Font_GetFamily(*args, **kwargs)
@ -1764,6 +1780,10 @@ class Font(GDIObject):
"""SetPointSize(self, int pointSize)"""
return _gdi_.Font_SetPointSize(*args, **kwargs)
def SetPixelSize(*args, **kwargs):
"""SetPixelSize(self, Size pixelSize)"""
return _gdi_.Font_SetPixelSize(*args, **kwargs)
def SetFamily(*args, **kwargs):
"""SetFamily(self, int family)"""
return _gdi_.Font_SetFamily(*args, **kwargs)
@ -1862,6 +1882,17 @@ def Font2(*args, **kwargs):
val.thisown = 1
return val
def FontFromPixelSize(*args, **kwargs):
"""
FontFromPixelSize(Size pixelSize, int family, int style, int weight,
bool underlined=False, String face=wxEmptyString,
int encoding=FONTENCODING_DEFAULT) -> Font
"""
if kwargs.has_key('faceName'): kwargs['face'] = kwargs['faceName'];del kwargs['faceName']
val = _gdi_.new_FontFromPixelSize(*args, **kwargs)
val.thisown = 1
return val
def Font_GetDefaultEncoding(*args, **kwargs):
"""Font_GetDefaultEncoding() -> int"""
return _gdi_.Font_GetDefaultEncoding(*args, **kwargs)

View File

@ -825,7 +825,7 @@ wxString wxNativeFontInfo___str__(wxNativeFontInfo *self){
wxNativeEncodingInfo* wxGetNativeFontEncoding(wxFontEncoding encoding)
{ wxPyRaiseNotImplemented(); return NULL; }
bool wxTestFontEncoding(const wxNativeEncodingInfo& info)
{ wxPyRaiseNotImplemented(); return false; }
@ -846,6 +846,11 @@ wxFont *new_wxFont(wxString const &info){
wxFont *new_wxFont(int pointSize,wxFontFamily family,int flags,wxString const &face,wxFontEncoding encoding){
return wxFont::New(pointSize, family, flags, face, encoding);
}
wxFont *new_wxFont(wxSize const &pixelSize,int family,int style,int weight,bool underlined,wxString const &face,wxFontEncoding encoding){
return wxFontBase::New(pixelSize, family,
style, weight, underlined,
face, encoding);
}
bool wxFont___eq__(wxFont *self,wxFont const *other){ return other ? (*self == *other) : false; }
bool wxFont___ne__(wxFont *self,wxFont const *other){ return other ? (*self != *other) : true; }
@ -6830,6 +6835,36 @@ static PyObject *_wrap_NativeFontInfo_GetPointSize(PyObject *, PyObject *args, P
}
static PyObject *_wrap_NativeFontInfo_GetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
wxSize result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetPixelSize",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = ((wxNativeFontInfo const *)arg1)->GetPixelSize();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxSize * resultptr;
resultptr = new wxSize((wxSize &) result);
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_NativeFontInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
@ -7023,6 +7058,38 @@ static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *, PyObject *args, P
}
static PyObject *_wrap_NativeFontInfo_SetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "pixelSize", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
arg2 = &temp2;
if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetPixelSize((wxSize const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
@ -8491,6 +8558,79 @@ static PyObject *_wrap_new_Font2(PyObject *, PyObject *args, PyObject *kwargs) {
}
static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxSize *arg1 = 0 ;
int arg2 ;
int arg3 ;
int arg4 ;
bool arg5 = (bool) false ;
wxString const &arg6_defvalue = wxEmptyString ;
wxString *arg6 = (wxString *) &arg6_defvalue ;
int arg7 = (int) wxFONTENCODING_DEFAULT ;
wxFont *result;
wxSize temp1 ;
bool temp6 = 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 *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
{
arg1 = &temp1;
if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
}
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
arg5 = (bool)SWIG_As_bool(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
temp6 = true;
}
}
if (obj6) {
arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
{
if (temp6)
delete arg6;
}
return resultobj;
fail:
{
if (temp6)
delete arg6;
}
return NULL;
}
static PyObject *_wrap_Font_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
@ -8609,6 +8749,64 @@ static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *k
}
static PyObject *_wrap_Font_GetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
wxSize result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPixelSize",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = ((wxFont const *)arg1)->GetPixelSize();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxSize * resultptr;
resultptr = new wxSize((wxSize &) result);
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_Font_IsUsingSizeInPixels(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
bool result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsUsingSizeInPixels",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (bool)((wxFont const *)arg1)->IsUsingSizeInPixels();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
}
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
@ -8920,6 +9118,38 @@ static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *k
}
static PyObject *_wrap_Font_SetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "pixelSize", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPixelSize",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
arg2 = &temp2;
if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetPixelSize((wxSize const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
@ -19336,6 +19566,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"NativeFontInfo_Init", (PyCFunction) _wrap_NativeFontInfo_Init, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"NativeFontInfo_InitFromFont", (PyCFunction) _wrap_NativeFontInfo_InitFromFont, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"NativeFontInfo_GetPointSize", (PyCFunction) _wrap_NativeFontInfo_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"NativeFontInfo_GetPixelSize", (PyCFunction) _wrap_NativeFontInfo_GetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"NativeFontInfo_GetStyle", (PyCFunction) _wrap_NativeFontInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"NativeFontInfo_GetWeight", (PyCFunction) _wrap_NativeFontInfo_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"NativeFontInfo_GetUnderlined", (PyCFunction) _wrap_NativeFontInfo_GetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
@ -19343,6 +19574,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"NativeFontInfo_GetFamily", (PyCFunction) _wrap_NativeFontInfo_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"NativeFontInfo_GetEncoding", (PyCFunction) _wrap_NativeFontInfo_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"NativeFontInfo_SetPointSize", (PyCFunction) _wrap_NativeFontInfo_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"NativeFontInfo_SetPixelSize", (PyCFunction) _wrap_NativeFontInfo_SetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"NativeFontInfo_SetStyle", (PyCFunction) _wrap_NativeFontInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"NativeFontInfo_SetWeight", (PyCFunction) _wrap_NativeFontInfo_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"NativeFontInfo_SetUnderlined", (PyCFunction) _wrap_NativeFontInfo_SetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
@ -19389,10 +19621,13 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"new_FontFromNativeInfo", (PyCFunction) _wrap_new_FontFromNativeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"new_FontFromNativeInfoString", (PyCFunction) _wrap_new_FontFromNativeInfoString, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"new_Font2", (PyCFunction) _wrap_new_Font2, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"new_FontFromPixelSize", (PyCFunction) _wrap_new_FontFromPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_Ok", (PyCFunction) _wrap_Font_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font___eq__", (PyCFunction) _wrap_Font___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font___ne__", (PyCFunction) _wrap_Font___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetPointSize", (PyCFunction) _wrap_Font_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetPixelSize", (PyCFunction) _wrap_Font_GetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_IsUsingSizeInPixels", (PyCFunction) _wrap_Font_IsUsingSizeInPixels, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetFamily", (PyCFunction) _wrap_Font_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetStyle", (PyCFunction) _wrap_Font_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetWeight", (PyCFunction) _wrap_Font_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
@ -19404,6 +19639,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"Font_GetNativeFontInfoDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoDesc, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetPointSize", (PyCFunction) _wrap_Font_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetPixelSize", (PyCFunction) _wrap_Font_SetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetFamily", (PyCFunction) _wrap_Font_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetStyle", (PyCFunction) _wrap_Font_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetWeight", (PyCFunction) _wrap_Font_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL },

View File

@ -376,6 +376,10 @@ class TopLevelWindow(_core.Window):
"""RequestUserAttention(self, int flags=USER_ATTENTION_INFO)"""
return _windows_.TopLevelWindow_RequestUserAttention(*args, **kwargs)
def IsActive(*args, **kwargs):
"""IsActive(self) -> bool"""
return _windows_.TopLevelWindow_IsActive(*args, **kwargs)
class TopLevelWindowPtr(TopLevelWindow):
def __init__(self, this):
@ -2051,18 +2055,18 @@ def PreHtmlListBox(*args, **kwargs):
class TaskBarIcon(_core.EvtHandler):
def __repr__(self):
return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self) -> TaskBarIcon"""
newobj = _windows_.new_TaskBarIcon(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def __del__(self, destroy=_windows_.delete_TaskBarIcon):
"""__del__(self)"""
try:
if self.thisown: destroy(self)
except: pass
self._setCallbackInfo(self, TaskBarIcon, 0)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
return _windows_.TaskBarIcon__setCallbackInfo(*args, **kwargs)
def Destroy(*args, **kwargs):
"""
@ -2105,7 +2109,7 @@ class TaskBarIconEvent(_core.Event):
def __repr__(self):
return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
"""__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
newobj = _windows_.new_TaskBarIconEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1

File diff suppressed because one or more lines are too long