reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-06-11 23:20:24 +00:00
parent 2eeaec1909
commit 8d38bd1d05
14 changed files with 1653 additions and 60 deletions

View File

@@ -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):

View File

@@ -2204,6 +2204,8 @@ public:
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
DEC_PYCALLBACK_VOID_(OnInternalIdle);
PYPRIVATE;
};
@@ -2237,7 +2239,9 @@ IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
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},

View File

@@ -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):

View File

@@ -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},