reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5004,4 +5004,303 @@ ThePenList = cvar.ThePenList
|
||||
TheBrushList = cvar.TheBrushList
|
||||
TheColourDatabase = cvar.TheColourDatabase
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
CONTROL_DISABLED = _gdi_.CONTROL_DISABLED
|
||||
CONTROL_FOCUSED = _gdi_.CONTROL_FOCUSED
|
||||
CONTROL_PRESSED = _gdi_.CONTROL_PRESSED
|
||||
CONTROL_ISDEFAULT = _gdi_.CONTROL_ISDEFAULT
|
||||
CONTROL_ISSUBMENU = _gdi_.CONTROL_ISSUBMENU
|
||||
CONTROL_EXPANDED = _gdi_.CONTROL_EXPANDED
|
||||
CONTROL_CURRENT = _gdi_.CONTROL_CURRENT
|
||||
CONTROL_SELECTED = _gdi_.CONTROL_SELECTED
|
||||
CONTROL_CHECKED = _gdi_.CONTROL_CHECKED
|
||||
CONTROL_CHECKABLE = _gdi_.CONTROL_CHECKABLE
|
||||
CONTROL_UNDETERMINED = _gdi_.CONTROL_UNDETERMINED
|
||||
CONTROL_FLAGS_MASK = _gdi_.CONTROL_FLAGS_MASK
|
||||
CONTROL_DIRTY = _gdi_.CONTROL_DIRTY
|
||||
class SplitterRenderParams(object):
|
||||
"""
|
||||
This is just a simple struct used as a return value of
|
||||
`wx.RendererNative.GetSplitterParams` and contains some platform
|
||||
specific metrics about splitters.
|
||||
|
||||
* widthSash: the width of the splitter sash.
|
||||
* border: the width of the border of the splitter window.
|
||||
* isHotSensitive: ``True`` if the splitter changes its
|
||||
appearance when the mouse is over it.
|
||||
|
||||
|
||||
"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxSplitterRenderParams instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, int widthSash_, int border_, bool isSens_) -> SplitterRenderParams
|
||||
|
||||
This is just a simple struct used as a return value of
|
||||
`wx.RendererNative.GetSplitterParams` and contains some platform
|
||||
specific metrics about splitters.
|
||||
|
||||
* widthSash: the width of the splitter sash.
|
||||
* border: the width of the border of the splitter window.
|
||||
* isHotSensitive: ``True`` if the splitter changes its
|
||||
appearance when the mouse is over it.
|
||||
|
||||
|
||||
"""
|
||||
newobj = _gdi_.new_SplitterRenderParams(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_gdi_.delete_SplitterRenderParams):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
widthSash = property(_gdi_.SplitterRenderParams_widthSash_get)
|
||||
border = property(_gdi_.SplitterRenderParams_border_get)
|
||||
isHotSensitive = property(_gdi_.SplitterRenderParams_isHotSensitive_get)
|
||||
|
||||
class SplitterRenderParamsPtr(SplitterRenderParams):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = SplitterRenderParams
|
||||
_gdi_.SplitterRenderParams_swigregister(SplitterRenderParamsPtr)
|
||||
|
||||
class RendererVersion(object):
|
||||
"""
|
||||
This simple struct represents the `wx.RendererNative` interface
|
||||
version and is only used as the return value of
|
||||
`wx.RendererNative.GetVersion`.
|
||||
"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxRendererVersion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, int version_, int age_) -> RendererVersion
|
||||
|
||||
This simple struct represents the `wx.RendererNative` interface
|
||||
version and is only used as the return value of
|
||||
`wx.RendererNative.GetVersion`.
|
||||
"""
|
||||
newobj = _gdi_.new_RendererVersion(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_gdi_.delete_RendererVersion):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
Current_Version = _gdi_.RendererVersion_Current_Version
|
||||
Current_Age = _gdi_.RendererVersion_Current_Age
|
||||
def IsCompatible(*args, **kwargs):
|
||||
"""IsCompatible(RendererVersion ver) -> bool"""
|
||||
return _gdi_.RendererVersion_IsCompatible(*args, **kwargs)
|
||||
|
||||
IsCompatible = staticmethod(IsCompatible)
|
||||
version = property(_gdi_.RendererVersion_version_get)
|
||||
age = property(_gdi_.RendererVersion_age_get)
|
||||
|
||||
class RendererVersionPtr(RendererVersion):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = RendererVersion
|
||||
_gdi_.RendererVersion_swigregister(RendererVersionPtr)
|
||||
|
||||
def RendererVersion_IsCompatible(*args, **kwargs):
|
||||
"""RendererVersion_IsCompatible(RendererVersion ver) -> bool"""
|
||||
return _gdi_.RendererVersion_IsCompatible(*args, **kwargs)
|
||||
|
||||
class RendererNative(object):
|
||||
"""
|
||||
One of the design principles of wxWidgets is to use the native widgets
|
||||
on every platform in order to be as close to the native look and feel
|
||||
on every platform. However there are still cases when some generic
|
||||
widgets are needed for various reasons, but it can sometimes take a
|
||||
lot of messy work to make them conform to the native LnF.
|
||||
|
||||
The wx.RendererNative class is a collection of functions that have
|
||||
platform-specific implementations for drawing certain parts of
|
||||
genereic controls in ways that are as close to the native look as
|
||||
possible.
|
||||
|
||||
"""
|
||||
def __init__(self): raise RuntimeError, "No constructor defined"
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxRendererNative instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def DrawHeaderButton(*args, **kwargs):
|
||||
"""
|
||||
DrawHeaderButton(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw the header control button (such as whar is used by `wx.ListCtrl`
|
||||
in report mode.)
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawHeaderButton(*args, **kwargs)
|
||||
|
||||
def DrawTreeItemButton(*args, **kwargs):
|
||||
"""
|
||||
DrawTreeItemButton(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw the expanded/collapsed icon for a tree control item.
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawTreeItemButton(*args, **kwargs)
|
||||
|
||||
def DrawSplitterBorder(*args, **kwargs):
|
||||
"""
|
||||
DrawSplitterBorder(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw the border for a sash window: this border must be such that the
|
||||
sash drawn by `DrawSplitterSash` blends into it well.
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawSplitterBorder(*args, **kwargs)
|
||||
|
||||
def DrawSplitterSash(*args, **kwargs):
|
||||
"""
|
||||
DrawSplitterSash(self, Window win, DC dc, Size size, int position, int orient,
|
||||
int flags=0)
|
||||
|
||||
Draw a sash. The orient parameter defines whether the sash should be
|
||||
vertical or horizontal and how the position should be interpreted.
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawSplitterSash(*args, **kwargs)
|
||||
|
||||
def DrawComboBoxDropButton(*args, **kwargs):
|
||||
"""
|
||||
DrawComboBoxDropButton(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw a button like the one used by `wx.ComboBox` to show a drop down
|
||||
window. The usual appearance is a downwards pointing arrow.
|
||||
|
||||
The ``flags`` parameter may have the ``wx.CONTROL_PRESSED`` or
|
||||
``wx.CONTROL_CURRENT`` bits set.
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawComboBoxDropButton(*args, **kwargs)
|
||||
|
||||
def DrawDropArrow(*args, **kwargs):
|
||||
"""
|
||||
DrawDropArrow(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw a drop down arrow that is suitable for use outside a combo
|
||||
box. Arrow will have a transparent background.
|
||||
|
||||
``rect`` is not entirely filled by the arrow. Instead, you should use
|
||||
bounding rectangle of a drop down button which arrow matches the size
|
||||
you need. ``flags`` may have the ``wx.CONTROL_PRESSED`` or
|
||||
``wx.CONTROL_CURRENT`` bit set.
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawDropArrow(*args, **kwargs)
|
||||
|
||||
def GetSplitterParams(*args, **kwargs):
|
||||
"""
|
||||
GetSplitterParams(self, Window win) -> SplitterRenderParams
|
||||
|
||||
Get the splitter parameters, see `wx.SplitterRenderParams`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetSplitterParams(*args, **kwargs)
|
||||
|
||||
def Get(*args, **kwargs):
|
||||
"""
|
||||
Get() -> RendererNative
|
||||
|
||||
Return the currently used renderer
|
||||
"""
|
||||
return _gdi_.RendererNative_Get(*args, **kwargs)
|
||||
|
||||
Get = staticmethod(Get)
|
||||
def GetGeneric(*args, **kwargs):
|
||||
"""
|
||||
GetGeneric() -> RendererNative
|
||||
|
||||
Return the generic implementation of the renderer. Under some
|
||||
platforms, this is the default renderer implementation, others have
|
||||
platform-specific default renderer which can be retrieved by calling
|
||||
`GetDefault`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetGeneric(*args, **kwargs)
|
||||
|
||||
GetGeneric = staticmethod(GetGeneric)
|
||||
def GetDefault(*args, **kwargs):
|
||||
"""
|
||||
GetDefault() -> RendererNative
|
||||
|
||||
Return the default (native) implementation for this platform -- this
|
||||
is also the one used by default but this may be changed by calling `Set`
|
||||
in which case the return value of this method may be different from
|
||||
the return value of `Get`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetDefault(*args, **kwargs)
|
||||
|
||||
GetDefault = staticmethod(GetDefault)
|
||||
def Set(*args, **kwargs):
|
||||
"""
|
||||
Set(RendererNative renderer) -> RendererNative
|
||||
|
||||
Set the renderer to use, passing None reverts to using the default
|
||||
renderer. Returns the previous renderer used with Set or None.
|
||||
"""
|
||||
return _gdi_.RendererNative_Set(*args, **kwargs)
|
||||
|
||||
Set = staticmethod(Set)
|
||||
def GetVersion(*args, **kwargs):
|
||||
"""
|
||||
GetVersion(self) -> RendererVersion
|
||||
|
||||
Returns the version of the renderer. Will be used for ensuring
|
||||
compatibility of dynamically loaded renderers.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetVersion(*args, **kwargs)
|
||||
|
||||
|
||||
class RendererNativePtr(RendererNative):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = RendererNative
|
||||
_gdi_.RendererNative_swigregister(RendererNativePtr)
|
||||
|
||||
def RendererNative_Get(*args, **kwargs):
|
||||
"""
|
||||
RendererNative_Get() -> RendererNative
|
||||
|
||||
Return the currently used renderer
|
||||
"""
|
||||
return _gdi_.RendererNative_Get(*args, **kwargs)
|
||||
|
||||
def RendererNative_GetGeneric(*args, **kwargs):
|
||||
"""
|
||||
RendererNative_GetGeneric() -> RendererNative
|
||||
|
||||
Return the generic implementation of the renderer. Under some
|
||||
platforms, this is the default renderer implementation, others have
|
||||
platform-specific default renderer which can be retrieved by calling
|
||||
`GetDefault`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetGeneric(*args, **kwargs)
|
||||
|
||||
def RendererNative_GetDefault(*args, **kwargs):
|
||||
"""
|
||||
RendererNative_GetDefault() -> RendererNative
|
||||
|
||||
Return the default (native) implementation for this platform -- this
|
||||
is also the one used by default but this may be changed by calling `Set`
|
||||
in which case the return value of this method may be different from
|
||||
the return value of `Get`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetDefault(*args, **kwargs)
|
||||
|
||||
def RendererNative_Set(*args, **kwargs):
|
||||
"""
|
||||
RendererNative_Set(RendererNative renderer) -> RendererNative
|
||||
|
||||
Set the renderer to use, passing None reverts to using the default
|
||||
renderer. Returns the previous renderer used with Set or None.
|
||||
"""
|
||||
return _gdi_.RendererNative_Set(*args, **kwargs)
|
||||
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1575,6 +1575,32 @@ class LogChainPtr(LogChain):
|
||||
self.__class__ = LogChain
|
||||
_misc_.LogChain_swigregister(LogChainPtr)
|
||||
|
||||
class LogBuffer(Log):
|
||||
"""Proxy of C++ LogBuffer class"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxLogBuffer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> LogBuffer"""
|
||||
newobj = _misc_.new_LogBuffer(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def GetBuffer(*args, **kwargs):
|
||||
"""GetBuffer(self) -> String"""
|
||||
return _misc_.LogBuffer_GetBuffer(*args, **kwargs)
|
||||
|
||||
def Flush(*args, **kwargs):
|
||||
"""Flush(self)"""
|
||||
return _misc_.LogBuffer_Flush(*args, **kwargs)
|
||||
|
||||
|
||||
class LogBufferPtr(LogBuffer):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = LogBuffer
|
||||
_misc_.LogBuffer_swigregister(LogBufferPtr)
|
||||
|
||||
|
||||
def SysErrorCode(*args, **kwargs):
|
||||
"""SysErrorCode() -> unsigned long"""
|
||||
|
@@ -1416,28 +1416,29 @@ SWIG_Python_GetTypeList() {
|
||||
#define SWIGTYPE_p_wxDateTime swig_types[74]
|
||||
#define SWIGTYPE_p_wxPyDropSource swig_types[75]
|
||||
#define SWIGTYPE_p_unsigned_long swig_types[76]
|
||||
#define SWIGTYPE_p_wxKillError swig_types[77]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[78]
|
||||
#define SWIGTYPE_p_wxString swig_types[79]
|
||||
#define SWIGTYPE_p_wxPyProcess swig_types[80]
|
||||
#define SWIGTYPE_p_wxBitmap swig_types[81]
|
||||
#define SWIGTYPE_unsigned_int swig_types[82]
|
||||
#define SWIGTYPE_p_unsigned_int swig_types[83]
|
||||
#define SWIGTYPE_p_wxConfig swig_types[84]
|
||||
#define SWIGTYPE_p_unsigned_char swig_types[85]
|
||||
#define SWIGTYPE_p_wxChar swig_types[86]
|
||||
#define SWIGTYPE_p_wxBusyInfo swig_types[87]
|
||||
#define SWIGTYPE_p_wxPyDropTarget swig_types[88]
|
||||
#define SWIGTYPE_p_wxPyTextDropTarget swig_types[89]
|
||||
#define SWIGTYPE_p_wxPyFileDropTarget swig_types[90]
|
||||
#define SWIGTYPE_p_wxProcessEvent swig_types[91]
|
||||
#define SWIGTYPE_p_wxPyLog swig_types[92]
|
||||
#define SWIGTYPE_p_wxLogNull swig_types[93]
|
||||
#define SWIGTYPE_p_wxColour swig_types[94]
|
||||
#define SWIGTYPE_p_wxPyTimer swig_types[95]
|
||||
#define SWIGTYPE_p_wxConfigPathChanger swig_types[96]
|
||||
#define SWIGTYPE_p_wxDateSpan swig_types[97]
|
||||
static swig_type_info *swig_types[99];
|
||||
#define SWIGTYPE_p_wxLogBuffer swig_types[77]
|
||||
#define SWIGTYPE_p_wxKillError swig_types[78]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[79]
|
||||
#define SWIGTYPE_p_wxString swig_types[80]
|
||||
#define SWIGTYPE_p_wxPyProcess swig_types[81]
|
||||
#define SWIGTYPE_p_wxBitmap swig_types[82]
|
||||
#define SWIGTYPE_unsigned_int swig_types[83]
|
||||
#define SWIGTYPE_p_unsigned_int swig_types[84]
|
||||
#define SWIGTYPE_p_wxConfig swig_types[85]
|
||||
#define SWIGTYPE_p_unsigned_char swig_types[86]
|
||||
#define SWIGTYPE_p_wxChar swig_types[87]
|
||||
#define SWIGTYPE_p_wxBusyInfo swig_types[88]
|
||||
#define SWIGTYPE_p_wxPyDropTarget swig_types[89]
|
||||
#define SWIGTYPE_p_wxPyTextDropTarget swig_types[90]
|
||||
#define SWIGTYPE_p_wxPyFileDropTarget swig_types[91]
|
||||
#define SWIGTYPE_p_wxProcessEvent swig_types[92]
|
||||
#define SWIGTYPE_p_wxPyLog swig_types[93]
|
||||
#define SWIGTYPE_p_wxLogNull swig_types[94]
|
||||
#define SWIGTYPE_p_wxColour swig_types[95]
|
||||
#define SWIGTYPE_p_wxPyTimer swig_types[96]
|
||||
#define SWIGTYPE_p_wxConfigPathChanger swig_types[97]
|
||||
#define SWIGTYPE_p_wxDateSpan swig_types[98]
|
||||
static swig_type_info *swig_types[100];
|
||||
|
||||
/* -------- TYPES TABLE (END) -------- */
|
||||
|
||||
@@ -10035,6 +10036,95 @@ static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
|
||||
Py_INCREF(obj);
|
||||
return Py_BuildValue((char *)"");
|
||||
}
|
||||
static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxLogBuffer *result;
|
||||
char *kwnames[] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogBuffer",kwnames)) goto fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxLogBuffer *)new wxLogBuffer();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogBuffer, 1);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
|
||||
wxString *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_GetBuffer",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
{
|
||||
wxString const &_result_ref = ((wxLogBuffer const *)arg1)->GetBuffer();
|
||||
result = (wxString *) &_result_ref;
|
||||
}
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_LogBuffer_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_Flush",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->Flush();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * LogBuffer_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer, obj);
|
||||
Py_INCREF(obj);
|
||||
return Py_BuildValue((char *)"");
|
||||
}
|
||||
static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
unsigned long result;
|
||||
@@ -31792,6 +31882,10 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_LogBuffer", (PyCFunction) _wrap_new_LogBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"LogBuffer_GetBuffer", (PyCFunction) _wrap_LogBuffer_GetBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"LogBuffer_Flush", (PyCFunction) _wrap_LogBuffer_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"LogBuffer_swigregister", LogBuffer_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@@ -32865,6 +32959,9 @@ static void *_p_wxValidatorTo_p_wxObject(void *x) {
|
||||
static void *_p_wxPyTimerTo_p_wxObject(void *x) {
|
||||
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
|
||||
}
|
||||
static void *_p_wxLogBufferTo_p_wxLog(void *x) {
|
||||
return (void *)((wxLog *) ((wxLogBuffer *) x));
|
||||
}
|
||||
static void *_p_wxLogStderrTo_p_wxLog(void *x) {
|
||||
return (void *)((wxLog *) ((wxLogStderr *) x));
|
||||
}
|
||||
@@ -32902,7 +32999,7 @@ static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain
|
||||
static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogBuffer", _p_wxLogBufferTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
@@ -32975,6 +33072,7 @@ static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wx
|
||||
static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxLogBuffer[] = {{"_p_wxLogBuffer", 0, "wxLogBuffer *", 0, 0, 0, 0},{"_p_wxLogBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxKillError[] = {{"_p_wxKillError", 0, "enum wxKillError *|wxKillError *", 0, 0, 0, 0},{"_p_wxKillError", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
@@ -33075,6 +33173,7 @@ _swigt__p_wxOutputStream,
|
||||
_swigt__p_wxDateTime,
|
||||
_swigt__p_wxPyDropSource,
|
||||
_swigt__p_unsigned_long,
|
||||
_swigt__p_wxLogBuffer,
|
||||
_swigt__p_wxKillError,
|
||||
_swigt__p_wxWindow,
|
||||
_swigt__p_wxString,
|
||||
|
@@ -5108,4 +5108,303 @@ ThePenList = cvar.ThePenList
|
||||
TheBrushList = cvar.TheBrushList
|
||||
TheColourDatabase = cvar.TheColourDatabase
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
CONTROL_DISABLED = _gdi_.CONTROL_DISABLED
|
||||
CONTROL_FOCUSED = _gdi_.CONTROL_FOCUSED
|
||||
CONTROL_PRESSED = _gdi_.CONTROL_PRESSED
|
||||
CONTROL_ISDEFAULT = _gdi_.CONTROL_ISDEFAULT
|
||||
CONTROL_ISSUBMENU = _gdi_.CONTROL_ISSUBMENU
|
||||
CONTROL_EXPANDED = _gdi_.CONTROL_EXPANDED
|
||||
CONTROL_CURRENT = _gdi_.CONTROL_CURRENT
|
||||
CONTROL_SELECTED = _gdi_.CONTROL_SELECTED
|
||||
CONTROL_CHECKED = _gdi_.CONTROL_CHECKED
|
||||
CONTROL_CHECKABLE = _gdi_.CONTROL_CHECKABLE
|
||||
CONTROL_UNDETERMINED = _gdi_.CONTROL_UNDETERMINED
|
||||
CONTROL_FLAGS_MASK = _gdi_.CONTROL_FLAGS_MASK
|
||||
CONTROL_DIRTY = _gdi_.CONTROL_DIRTY
|
||||
class SplitterRenderParams(object):
|
||||
"""
|
||||
This is just a simple struct used as a return value of
|
||||
`wx.RendererNative.GetSplitterParams` and contains some platform
|
||||
specific metrics about splitters.
|
||||
|
||||
* widthSash: the width of the splitter sash.
|
||||
* border: the width of the border of the splitter window.
|
||||
* isHotSensitive: ``True`` if the splitter changes its
|
||||
appearance when the mouse is over it.
|
||||
|
||||
|
||||
"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxSplitterRenderParams instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, int widthSash_, int border_, bool isSens_) -> SplitterRenderParams
|
||||
|
||||
This is just a simple struct used as a return value of
|
||||
`wx.RendererNative.GetSplitterParams` and contains some platform
|
||||
specific metrics about splitters.
|
||||
|
||||
* widthSash: the width of the splitter sash.
|
||||
* border: the width of the border of the splitter window.
|
||||
* isHotSensitive: ``True`` if the splitter changes its
|
||||
appearance when the mouse is over it.
|
||||
|
||||
|
||||
"""
|
||||
newobj = _gdi_.new_SplitterRenderParams(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_gdi_.delete_SplitterRenderParams):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
widthSash = property(_gdi_.SplitterRenderParams_widthSash_get)
|
||||
border = property(_gdi_.SplitterRenderParams_border_get)
|
||||
isHotSensitive = property(_gdi_.SplitterRenderParams_isHotSensitive_get)
|
||||
|
||||
class SplitterRenderParamsPtr(SplitterRenderParams):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = SplitterRenderParams
|
||||
_gdi_.SplitterRenderParams_swigregister(SplitterRenderParamsPtr)
|
||||
|
||||
class RendererVersion(object):
|
||||
"""
|
||||
This simple struct represents the `wx.RendererNative` interface
|
||||
version and is only used as the return value of
|
||||
`wx.RendererNative.GetVersion`.
|
||||
"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxRendererVersion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, int version_, int age_) -> RendererVersion
|
||||
|
||||
This simple struct represents the `wx.RendererNative` interface
|
||||
version and is only used as the return value of
|
||||
`wx.RendererNative.GetVersion`.
|
||||
"""
|
||||
newobj = _gdi_.new_RendererVersion(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_gdi_.delete_RendererVersion):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
Current_Version = _gdi_.RendererVersion_Current_Version
|
||||
Current_Age = _gdi_.RendererVersion_Current_Age
|
||||
def IsCompatible(*args, **kwargs):
|
||||
"""IsCompatible(RendererVersion ver) -> bool"""
|
||||
return _gdi_.RendererVersion_IsCompatible(*args, **kwargs)
|
||||
|
||||
IsCompatible = staticmethod(IsCompatible)
|
||||
version = property(_gdi_.RendererVersion_version_get)
|
||||
age = property(_gdi_.RendererVersion_age_get)
|
||||
|
||||
class RendererVersionPtr(RendererVersion):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = RendererVersion
|
||||
_gdi_.RendererVersion_swigregister(RendererVersionPtr)
|
||||
|
||||
def RendererVersion_IsCompatible(*args, **kwargs):
|
||||
"""RendererVersion_IsCompatible(RendererVersion ver) -> bool"""
|
||||
return _gdi_.RendererVersion_IsCompatible(*args, **kwargs)
|
||||
|
||||
class RendererNative(object):
|
||||
"""
|
||||
One of the design principles of wxWidgets is to use the native widgets
|
||||
on every platform in order to be as close to the native look and feel
|
||||
on every platform. However there are still cases when some generic
|
||||
widgets are needed for various reasons, but it can sometimes take a
|
||||
lot of messy work to make them conform to the native LnF.
|
||||
|
||||
The wx.RendererNative class is a collection of functions that have
|
||||
platform-specific implementations for drawing certain parts of
|
||||
genereic controls in ways that are as close to the native look as
|
||||
possible.
|
||||
|
||||
"""
|
||||
def __init__(self): raise RuntimeError, "No constructor defined"
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxRendererNative instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def DrawHeaderButton(*args, **kwargs):
|
||||
"""
|
||||
DrawHeaderButton(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw the header control button (such as whar is used by `wx.ListCtrl`
|
||||
in report mode.)
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawHeaderButton(*args, **kwargs)
|
||||
|
||||
def DrawTreeItemButton(*args, **kwargs):
|
||||
"""
|
||||
DrawTreeItemButton(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw the expanded/collapsed icon for a tree control item.
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawTreeItemButton(*args, **kwargs)
|
||||
|
||||
def DrawSplitterBorder(*args, **kwargs):
|
||||
"""
|
||||
DrawSplitterBorder(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw the border for a sash window: this border must be such that the
|
||||
sash drawn by `DrawSplitterSash` blends into it well.
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawSplitterBorder(*args, **kwargs)
|
||||
|
||||
def DrawSplitterSash(*args, **kwargs):
|
||||
"""
|
||||
DrawSplitterSash(self, Window win, DC dc, Size size, int position, int orient,
|
||||
int flags=0)
|
||||
|
||||
Draw a sash. The orient parameter defines whether the sash should be
|
||||
vertical or horizontal and how the position should be interpreted.
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawSplitterSash(*args, **kwargs)
|
||||
|
||||
def DrawComboBoxDropButton(*args, **kwargs):
|
||||
"""
|
||||
DrawComboBoxDropButton(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw a button like the one used by `wx.ComboBox` to show a drop down
|
||||
window. The usual appearance is a downwards pointing arrow.
|
||||
|
||||
The ``flags`` parameter may have the ``wx.CONTROL_PRESSED`` or
|
||||
``wx.CONTROL_CURRENT`` bits set.
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawComboBoxDropButton(*args, **kwargs)
|
||||
|
||||
def DrawDropArrow(*args, **kwargs):
|
||||
"""
|
||||
DrawDropArrow(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw a drop down arrow that is suitable for use outside a combo
|
||||
box. Arrow will have a transparent background.
|
||||
|
||||
``rect`` is not entirely filled by the arrow. Instead, you should use
|
||||
bounding rectangle of a drop down button which arrow matches the size
|
||||
you need. ``flags`` may have the ``wx.CONTROL_PRESSED`` or
|
||||
``wx.CONTROL_CURRENT`` bit set.
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawDropArrow(*args, **kwargs)
|
||||
|
||||
def GetSplitterParams(*args, **kwargs):
|
||||
"""
|
||||
GetSplitterParams(self, Window win) -> SplitterRenderParams
|
||||
|
||||
Get the splitter parameters, see `wx.SplitterRenderParams`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetSplitterParams(*args, **kwargs)
|
||||
|
||||
def Get(*args, **kwargs):
|
||||
"""
|
||||
Get() -> RendererNative
|
||||
|
||||
Return the currently used renderer
|
||||
"""
|
||||
return _gdi_.RendererNative_Get(*args, **kwargs)
|
||||
|
||||
Get = staticmethod(Get)
|
||||
def GetGeneric(*args, **kwargs):
|
||||
"""
|
||||
GetGeneric() -> RendererNative
|
||||
|
||||
Return the generic implementation of the renderer. Under some
|
||||
platforms, this is the default renderer implementation, others have
|
||||
platform-specific default renderer which can be retrieved by calling
|
||||
`GetDefault`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetGeneric(*args, **kwargs)
|
||||
|
||||
GetGeneric = staticmethod(GetGeneric)
|
||||
def GetDefault(*args, **kwargs):
|
||||
"""
|
||||
GetDefault() -> RendererNative
|
||||
|
||||
Return the default (native) implementation for this platform -- this
|
||||
is also the one used by default but this may be changed by calling `Set`
|
||||
in which case the return value of this method may be different from
|
||||
the return value of `Get`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetDefault(*args, **kwargs)
|
||||
|
||||
GetDefault = staticmethod(GetDefault)
|
||||
def Set(*args, **kwargs):
|
||||
"""
|
||||
Set(RendererNative renderer) -> RendererNative
|
||||
|
||||
Set the renderer to use, passing None reverts to using the default
|
||||
renderer. Returns the previous renderer used with Set or None.
|
||||
"""
|
||||
return _gdi_.RendererNative_Set(*args, **kwargs)
|
||||
|
||||
Set = staticmethod(Set)
|
||||
def GetVersion(*args, **kwargs):
|
||||
"""
|
||||
GetVersion(self) -> RendererVersion
|
||||
|
||||
Returns the version of the renderer. Will be used for ensuring
|
||||
compatibility of dynamically loaded renderers.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetVersion(*args, **kwargs)
|
||||
|
||||
|
||||
class RendererNativePtr(RendererNative):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = RendererNative
|
||||
_gdi_.RendererNative_swigregister(RendererNativePtr)
|
||||
|
||||
def RendererNative_Get(*args, **kwargs):
|
||||
"""
|
||||
RendererNative_Get() -> RendererNative
|
||||
|
||||
Return the currently used renderer
|
||||
"""
|
||||
return _gdi_.RendererNative_Get(*args, **kwargs)
|
||||
|
||||
def RendererNative_GetGeneric(*args, **kwargs):
|
||||
"""
|
||||
RendererNative_GetGeneric() -> RendererNative
|
||||
|
||||
Return the generic implementation of the renderer. Under some
|
||||
platforms, this is the default renderer implementation, others have
|
||||
platform-specific default renderer which can be retrieved by calling
|
||||
`GetDefault`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetGeneric(*args, **kwargs)
|
||||
|
||||
def RendererNative_GetDefault(*args, **kwargs):
|
||||
"""
|
||||
RendererNative_GetDefault() -> RendererNative
|
||||
|
||||
Return the default (native) implementation for this platform -- this
|
||||
is also the one used by default but this may be changed by calling `Set`
|
||||
in which case the return value of this method may be different from
|
||||
the return value of `Get`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetDefault(*args, **kwargs)
|
||||
|
||||
def RendererNative_Set(*args, **kwargs):
|
||||
"""
|
||||
RendererNative_Set(RendererNative renderer) -> RendererNative
|
||||
|
||||
Set the renderer to use, passing None reverts to using the default
|
||||
renderer. Returns the previous renderer used with Set or None.
|
||||
"""
|
||||
return _gdi_.RendererNative_Set(*args, **kwargs)
|
||||
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1575,6 +1575,32 @@ class LogChainPtr(LogChain):
|
||||
self.__class__ = LogChain
|
||||
_misc_.LogChain_swigregister(LogChainPtr)
|
||||
|
||||
class LogBuffer(Log):
|
||||
"""Proxy of C++ LogBuffer class"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxLogBuffer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> LogBuffer"""
|
||||
newobj = _misc_.new_LogBuffer(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def GetBuffer(*args, **kwargs):
|
||||
"""GetBuffer(self) -> String"""
|
||||
return _misc_.LogBuffer_GetBuffer(*args, **kwargs)
|
||||
|
||||
def Flush(*args, **kwargs):
|
||||
"""Flush(self)"""
|
||||
return _misc_.LogBuffer_Flush(*args, **kwargs)
|
||||
|
||||
|
||||
class LogBufferPtr(LogBuffer):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = LogBuffer
|
||||
_misc_.LogBuffer_swigregister(LogBufferPtr)
|
||||
|
||||
|
||||
def SysErrorCode(*args, **kwargs):
|
||||
"""SysErrorCode() -> unsigned long"""
|
||||
|
@@ -1416,28 +1416,29 @@ SWIG_Python_GetTypeList() {
|
||||
#define SWIGTYPE_p_wxDateTime swig_types[74]
|
||||
#define SWIGTYPE_p_wxPyDropSource swig_types[75]
|
||||
#define SWIGTYPE_p_unsigned_long swig_types[76]
|
||||
#define SWIGTYPE_p_wxKillError swig_types[77]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[78]
|
||||
#define SWIGTYPE_p_wxString swig_types[79]
|
||||
#define SWIGTYPE_p_wxPyProcess swig_types[80]
|
||||
#define SWIGTYPE_p_wxBitmap swig_types[81]
|
||||
#define SWIGTYPE_unsigned_int swig_types[82]
|
||||
#define SWIGTYPE_p_unsigned_int swig_types[83]
|
||||
#define SWIGTYPE_p_wxConfig swig_types[84]
|
||||
#define SWIGTYPE_p_unsigned_char swig_types[85]
|
||||
#define SWIGTYPE_p_wxChar swig_types[86]
|
||||
#define SWIGTYPE_p_wxBusyInfo swig_types[87]
|
||||
#define SWIGTYPE_p_wxPyDropTarget swig_types[88]
|
||||
#define SWIGTYPE_p_wxPyTextDropTarget swig_types[89]
|
||||
#define SWIGTYPE_p_wxPyFileDropTarget swig_types[90]
|
||||
#define SWIGTYPE_p_wxProcessEvent swig_types[91]
|
||||
#define SWIGTYPE_p_wxPyLog swig_types[92]
|
||||
#define SWIGTYPE_p_wxLogNull swig_types[93]
|
||||
#define SWIGTYPE_p_wxColour swig_types[94]
|
||||
#define SWIGTYPE_p_wxPyTimer swig_types[95]
|
||||
#define SWIGTYPE_p_wxConfigPathChanger swig_types[96]
|
||||
#define SWIGTYPE_p_wxDateSpan swig_types[97]
|
||||
static swig_type_info *swig_types[99];
|
||||
#define SWIGTYPE_p_wxLogBuffer swig_types[77]
|
||||
#define SWIGTYPE_p_wxKillError swig_types[78]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[79]
|
||||
#define SWIGTYPE_p_wxString swig_types[80]
|
||||
#define SWIGTYPE_p_wxPyProcess swig_types[81]
|
||||
#define SWIGTYPE_p_wxBitmap swig_types[82]
|
||||
#define SWIGTYPE_unsigned_int swig_types[83]
|
||||
#define SWIGTYPE_p_unsigned_int swig_types[84]
|
||||
#define SWIGTYPE_p_wxConfig swig_types[85]
|
||||
#define SWIGTYPE_p_unsigned_char swig_types[86]
|
||||
#define SWIGTYPE_p_wxChar swig_types[87]
|
||||
#define SWIGTYPE_p_wxBusyInfo swig_types[88]
|
||||
#define SWIGTYPE_p_wxPyDropTarget swig_types[89]
|
||||
#define SWIGTYPE_p_wxPyTextDropTarget swig_types[90]
|
||||
#define SWIGTYPE_p_wxPyFileDropTarget swig_types[91]
|
||||
#define SWIGTYPE_p_wxProcessEvent swig_types[92]
|
||||
#define SWIGTYPE_p_wxPyLog swig_types[93]
|
||||
#define SWIGTYPE_p_wxLogNull swig_types[94]
|
||||
#define SWIGTYPE_p_wxColour swig_types[95]
|
||||
#define SWIGTYPE_p_wxPyTimer swig_types[96]
|
||||
#define SWIGTYPE_p_wxConfigPathChanger swig_types[97]
|
||||
#define SWIGTYPE_p_wxDateSpan swig_types[98]
|
||||
static swig_type_info *swig_types[100];
|
||||
|
||||
/* -------- TYPES TABLE (END) -------- */
|
||||
|
||||
@@ -10034,6 +10035,95 @@ static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
|
||||
Py_INCREF(obj);
|
||||
return Py_BuildValue((char *)"");
|
||||
}
|
||||
static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxLogBuffer *result;
|
||||
char *kwnames[] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogBuffer",kwnames)) goto fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxLogBuffer *)new wxLogBuffer();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogBuffer, 1);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
|
||||
wxString *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_GetBuffer",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
{
|
||||
wxString const &_result_ref = ((wxLogBuffer const *)arg1)->GetBuffer();
|
||||
result = (wxString *) &_result_ref;
|
||||
}
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_LogBuffer_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_Flush",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->Flush();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * LogBuffer_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer, obj);
|
||||
Py_INCREF(obj);
|
||||
return Py_BuildValue((char *)"");
|
||||
}
|
||||
static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
unsigned long result;
|
||||
@@ -31791,6 +31881,10 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_LogBuffer", (PyCFunction) _wrap_new_LogBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"LogBuffer_GetBuffer", (PyCFunction) _wrap_LogBuffer_GetBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"LogBuffer_Flush", (PyCFunction) _wrap_LogBuffer_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"LogBuffer_swigregister", LogBuffer_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@@ -32864,6 +32958,9 @@ static void *_p_wxValidatorTo_p_wxObject(void *x) {
|
||||
static void *_p_wxPyTimerTo_p_wxObject(void *x) {
|
||||
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
|
||||
}
|
||||
static void *_p_wxLogBufferTo_p_wxLog(void *x) {
|
||||
return (void *)((wxLog *) ((wxLogBuffer *) x));
|
||||
}
|
||||
static void *_p_wxLogStderrTo_p_wxLog(void *x) {
|
||||
return (void *)((wxLog *) ((wxLogStderr *) x));
|
||||
}
|
||||
@@ -32901,7 +32998,7 @@ static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain
|
||||
static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogBuffer", _p_wxLogBufferTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
@@ -32974,6 +33071,7 @@ static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wx
|
||||
static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxLogBuffer[] = {{"_p_wxLogBuffer", 0, "wxLogBuffer *", 0, 0, 0, 0},{"_p_wxLogBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxKillError[] = {{"_p_wxKillError", 0, "enum wxKillError *|wxKillError *", 0, 0, 0, 0},{"_p_wxKillError", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
@@ -33074,6 +33172,7 @@ _swigt__p_wxOutputStream,
|
||||
_swigt__p_wxDateTime,
|
||||
_swigt__p_wxPyDropSource,
|
||||
_swigt__p_unsigned_long,
|
||||
_swigt__p_wxLogBuffer,
|
||||
_swigt__p_wxKillError,
|
||||
_swigt__p_wxWindow,
|
||||
_swigt__p_wxString,
|
||||
|
Reference in New Issue
Block a user