reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2eeaec1909
commit
8d38bd1d05
@ -5901,6 +5901,10 @@ class PyControl(_core.Control):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _controls_.PyControl_base_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _controls_.PyControl_base_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
|
||||
class PyControlPtr(PyControl):
|
||||
def __init__(self, this):
|
||||
|
@ -2207,6 +2207,8 @@ public:
|
||||
|
||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||
|
||||
DEC_PYCALLBACK_VOID_(OnInternalIdle);
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
|
||||
@ -2241,6 +2243,8 @@ IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
|
||||
|
||||
IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
|
||||
|
||||
IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
|
||||
|
||||
|
||||
|
||||
static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
|
||||
@ -32962,6 +32966,31 @@ static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_PyControl_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyControl *arg1 = (wxPyControl *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_OnInternalIdle",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->base_OnInternalIdle();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@ -35695,6 +35724,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyControl_base_OnInternalIdle", (PyCFunction) _wrap_PyControl_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
|
@ -4973,4 +4973,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
@ -3609,6 +3609,10 @@ class PyWindow(_core.Window):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _windows_.PyWindow_base_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _windows_.PyWindow_base_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
|
||||
class PyWindowPtr(PyWindow):
|
||||
def __init__(self, this):
|
||||
@ -3730,6 +3734,10 @@ class PyPanel(Panel):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _windows_.PyPanel_base_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _windows_.PyPanel_base_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
|
||||
class PyPanelPtr(PyPanel):
|
||||
def __init__(self, this):
|
||||
@ -3851,6 +3859,10 @@ class PyScrolledWindow(ScrolledWindow):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _windows_.PyScrolledWindow_base_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _windows_.PyScrolledWindow_base_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
|
||||
class PyScrolledWindowPtr(PyScrolledWindow):
|
||||
def __init__(self, this):
|
||||
|
@ -2153,6 +2153,8 @@ public:
|
||||
|
||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||
|
||||
DEC_PYCALLBACK_VOID_(OnInternalIdle);
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
|
||||
@ -2187,6 +2189,8 @@ IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
|
||||
|
||||
IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
|
||||
|
||||
IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
|
||||
|
||||
// C++ version of Python aware wxPanel
|
||||
class wxPyPanel : public wxPanel
|
||||
{
|
||||
@ -2241,6 +2245,8 @@ public:
|
||||
|
||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||
|
||||
DEC_PYCALLBACK_VOID_(OnInternalIdle);
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
|
||||
@ -2275,6 +2281,8 @@ IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
|
||||
|
||||
IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
|
||||
|
||||
IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
|
||||
|
||||
// C++ version of Python aware wxScrolledWindow
|
||||
class wxPyScrolledWindow : public wxScrolledWindow
|
||||
{
|
||||
@ -2328,6 +2336,8 @@ public:
|
||||
|
||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||
|
||||
DEC_PYCALLBACK_VOID_(OnInternalIdle);
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
|
||||
@ -2362,6 +2372,8 @@ IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttribut
|
||||
|
||||
IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
|
||||
|
||||
IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
|
||||
|
||||
|
||||
#include "wx/wxPython/printfw.h"
|
||||
|
||||
@ -18569,6 +18581,31 @@ static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyWindow *arg1 = (wxPyWindow *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->base_OnInternalIdle();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@ -19438,6 +19475,31 @@ static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *a
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyPanel *arg1 = (wxPyPanel *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->base_OnInternalIdle();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@ -20307,6 +20369,31 @@ static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, Py
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->base_OnInternalIdle();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@ -28190,6 +28277,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -28216,6 +28304,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -28242,6 +28331,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
|
@ -5888,6 +5888,10 @@ class PyControl(_core.Control):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _controls_.PyControl_base_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _controls_.PyControl_base_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
|
||||
class PyControlPtr(PyControl):
|
||||
def __init__(self, this):
|
||||
|
@ -2204,6 +2204,8 @@ public:
|
||||
|
||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||
|
||||
DEC_PYCALLBACK_VOID_(OnInternalIdle);
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
|
||||
@ -2238,6 +2240,8 @@ IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
|
||||
|
||||
IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
|
||||
|
||||
IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
|
||||
|
||||
|
||||
|
||||
static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
|
||||
@ -32894,6 +32898,31 @@ static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_PyControl_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyControl *arg1 = (wxPyControl *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_OnInternalIdle",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->base_OnInternalIdle();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@ -35625,6 +35654,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyControl_base_OnInternalIdle", (PyCFunction) _wrap_PyControl_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
|
@ -3589,6 +3589,10 @@ class PyWindow(_core.Window):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _windows_.PyWindow_base_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _windows_.PyWindow_base_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
|
||||
class PyWindowPtr(PyWindow):
|
||||
def __init__(self, this):
|
||||
@ -3710,6 +3714,10 @@ class PyPanel(Panel):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _windows_.PyPanel_base_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _windows_.PyPanel_base_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
|
||||
class PyPanelPtr(PyPanel):
|
||||
def __init__(self, this):
|
||||
@ -3831,6 +3839,10 @@ class PyScrolledWindow(ScrolledWindow):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _windows_.PyScrolledWindow_base_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _windows_.PyScrolledWindow_base_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
|
||||
class PyScrolledWindowPtr(PyScrolledWindow):
|
||||
def __init__(self, this):
|
||||
|
@ -2146,6 +2146,8 @@ public:
|
||||
|
||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||
|
||||
DEC_PYCALLBACK_VOID_(OnInternalIdle);
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
|
||||
@ -2180,6 +2182,8 @@ IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
|
||||
|
||||
IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
|
||||
|
||||
IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
|
||||
|
||||
// C++ version of Python aware wxPanel
|
||||
class wxPyPanel : public wxPanel
|
||||
{
|
||||
@ -2234,6 +2238,8 @@ public:
|
||||
|
||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||
|
||||
DEC_PYCALLBACK_VOID_(OnInternalIdle);
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
|
||||
@ -2268,6 +2274,8 @@ IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
|
||||
|
||||
IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
|
||||
|
||||
IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
|
||||
|
||||
// C++ version of Python aware wxScrolledWindow
|
||||
class wxPyScrolledWindow : public wxScrolledWindow
|
||||
{
|
||||
@ -2321,6 +2329,8 @@ public:
|
||||
|
||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||
|
||||
DEC_PYCALLBACK_VOID_(OnInternalIdle);
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
|
||||
@ -2355,6 +2365,8 @@ IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttribut
|
||||
|
||||
IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
|
||||
|
||||
IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
|
||||
|
||||
|
||||
#include "wx/wxPython/printfw.h"
|
||||
|
||||
@ -18454,6 +18466,31 @@ static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyWindow *arg1 = (wxPyWindow *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->base_OnInternalIdle();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@ -19323,6 +19360,31 @@ static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *a
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyPanel *arg1 = (wxPyPanel *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->base_OnInternalIdle();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@ -20192,6 +20254,31 @@ static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, Py
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->base_OnInternalIdle();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@ -28072,6 +28159,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -28098,6 +28186,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -28124,6 +28213,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
|
@ -5925,6 +5925,10 @@ class PyControl(_core.Control):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _controls_.PyControl_base_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _controls_.PyControl_base_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
|
||||
class PyControlPtr(PyControl):
|
||||
def __init__(self, this):
|
||||
|
@ -2204,6 +2204,8 @@ public:
|
||||
|
||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||
|
||||
DEC_PYCALLBACK_VOID_(OnInternalIdle);
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
|
||||
@ -2238,6 +2240,8 @@ IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
|
||||
|
||||
IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
|
||||
|
||||
IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
|
||||
|
||||
|
||||
|
||||
static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
|
||||
@ -33171,6 +33175,31 @@ static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_PyControl_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyControl *arg1 = (wxPyControl *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_OnInternalIdle",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->base_OnInternalIdle();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@ -35910,6 +35939,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyControl_base_OnInternalIdle", (PyCFunction) _wrap_PyControl_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
|
@ -3629,6 +3629,10 @@ class PyWindow(_core.Window):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _windows_.PyWindow_base_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _windows_.PyWindow_base_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
|
||||
class PyWindowPtr(PyWindow):
|
||||
def __init__(self, this):
|
||||
@ -3750,6 +3754,10 @@ class PyPanel(Panel):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _windows_.PyPanel_base_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _windows_.PyPanel_base_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
|
||||
class PyPanelPtr(PyPanel):
|
||||
def __init__(self, this):
|
||||
@ -3871,6 +3879,10 @@ class PyScrolledWindow(ScrolledWindow):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _windows_.PyScrolledWindow_base_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _windows_.PyScrolledWindow_base_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
|
||||
class PyScrolledWindowPtr(PyScrolledWindow):
|
||||
def __init__(self, this):
|
||||
|
@ -2153,6 +2153,8 @@ public:
|
||||
|
||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||
|
||||
DEC_PYCALLBACK_VOID_(OnInternalIdle);
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
|
||||
@ -2187,6 +2189,8 @@ IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
|
||||
|
||||
IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
|
||||
|
||||
IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
|
||||
|
||||
// C++ version of Python aware wxPanel
|
||||
class wxPyPanel : public wxPanel
|
||||
{
|
||||
@ -2241,6 +2245,8 @@ public:
|
||||
|
||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||
|
||||
DEC_PYCALLBACK_VOID_(OnInternalIdle);
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
|
||||
@ -2275,6 +2281,8 @@ IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
|
||||
|
||||
IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
|
||||
|
||||
IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
|
||||
|
||||
// C++ version of Python aware wxScrolledWindow
|
||||
class wxPyScrolledWindow : public wxScrolledWindow
|
||||
{
|
||||
@ -2328,6 +2336,8 @@ public:
|
||||
|
||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||
|
||||
DEC_PYCALLBACK_VOID_(OnInternalIdle);
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
|
||||
@ -2362,6 +2372,8 @@ IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttribut
|
||||
|
||||
IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
|
||||
|
||||
IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
|
||||
|
||||
|
||||
#include "wx/wxPython/printfw.h"
|
||||
|
||||
@ -18717,6 +18729,31 @@ static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyWindow *arg1 = (wxPyWindow *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->base_OnInternalIdle();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@ -19586,6 +19623,31 @@ static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *a
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyPanel *arg1 = (wxPyPanel *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->base_OnInternalIdle();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@ -20455,6 +20517,31 @@ static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, Py
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
|
||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->base_OnInternalIdle();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@ -28343,6 +28430,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -28369,6 +28457,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -28395,6 +28484,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
|
Loading…
Reference in New Issue
Block a user