reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
132ae51eaf
commit
11207aefcf
@ -3644,9 +3644,12 @@ PRINT_MODE_STREAM = _windows_.PRINT_MODE_STREAM
|
|||||||
class PrintData(_core.Object):
|
class PrintData(_core.Object):
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args):
|
||||||
"""__init__(self) -> PrintData"""
|
"""
|
||||||
newobj = _windows_.new_PrintData(*args, **kwargs)
|
__init__(self) -> PrintData
|
||||||
|
__init__(self, PrintData data) -> PrintData
|
||||||
|
"""
|
||||||
|
newobj = _windows_.new_PrintData(*args)
|
||||||
self.this = newobj.this
|
self.this = newobj.this
|
||||||
self.thisown = 1
|
self.thisown = 1
|
||||||
del newobj.thisown
|
del newobj.thisown
|
||||||
@ -3842,9 +3845,12 @@ PreviewCanvasNameStr = cvar.PreviewCanvasNameStr
|
|||||||
class PageSetupDialogData(_core.Object):
|
class PageSetupDialogData(_core.Object):
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args):
|
||||||
"""__init__(self) -> PageSetupDialogData"""
|
"""
|
||||||
newobj = _windows_.new_PageSetupDialogData(*args, **kwargs)
|
__init__(self) -> PageSetupDialogData
|
||||||
|
__init__(self, PageSetupDialogData data) -> PageSetupDialogData
|
||||||
|
"""
|
||||||
|
newobj = _windows_.new_PageSetupDialogData(*args)
|
||||||
self.this = newobj.this
|
self.this = newobj.this
|
||||||
self.thisown = 1
|
self.thisown = 1
|
||||||
del newobj.thisown
|
del newobj.thisown
|
||||||
|
@ -18002,14 +18002,11 @@ static PyObject *_wrap_PreviewCanvasNameStr_get() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *self, PyObject *args) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPrintData *result;
|
wxPrintData *result;
|
||||||
char *kwnames[] = {
|
|
||||||
NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
|
if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
|
||||||
{
|
{
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = (wxPrintData *)new wxPrintData();
|
result = (wxPrintData *)new wxPrintData();
|
||||||
@ -18024,6 +18021,67 @@ static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *k
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *self, PyObject *args) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxPrintData *arg1 = 0 ;
|
||||||
|
wxPrintData *result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
|
||||||
|
if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
|
||||||
|
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
|
||||||
|
SWIG_POINTER_EXCEPTION | 0)) == -1)
|
||||||
|
SWIG_fail;
|
||||||
|
if (arg1 == NULL) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"null reference");
|
||||||
|
SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
|
||||||
|
int argc;
|
||||||
|
PyObject *argv[2];
|
||||||
|
int ii;
|
||||||
|
|
||||||
|
argc = PyObject_Length(args);
|
||||||
|
for (ii = 0; (ii < argc) && (ii < 1); ii++) {
|
||||||
|
argv[ii] = PyTuple_GetItem(args,ii);
|
||||||
|
}
|
||||||
|
if (argc == 0) {
|
||||||
|
return _wrap_new_PrintData__SWIG_0(self,args);
|
||||||
|
}
|
||||||
|
if (argc == 1) {
|
||||||
|
int _v;
|
||||||
|
{
|
||||||
|
void *ptr;
|
||||||
|
if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
|
||||||
|
_v = 0;
|
||||||
|
PyErr_Clear();
|
||||||
|
} else {
|
||||||
|
_v = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (_v) {
|
||||||
|
return _wrap_new_PrintData__SWIG_1(self,args);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPrintData *arg1 = (wxPrintData *) 0 ;
|
wxPrintData *arg1 = (wxPrintData *) 0 ;
|
||||||
@ -19386,14 +19444,11 @@ static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
|
|||||||
Py_INCREF(obj);
|
Py_INCREF(obj);
|
||||||
return Py_BuildValue((char *)"");
|
return Py_BuildValue((char *)"");
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *self, PyObject *args) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPageSetupDialogData *result;
|
wxPageSetupDialogData *result;
|
||||||
char *kwnames[] = {
|
|
||||||
NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
|
if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
|
||||||
{
|
{
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
|
result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
|
||||||
@ -19408,6 +19463,67 @@ static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, P
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *self, PyObject *args) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxPageSetupDialogData *arg1 = 0 ;
|
||||||
|
wxPageSetupDialogData *result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
|
||||||
|
if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
|
||||||
|
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
|
||||||
|
SWIG_POINTER_EXCEPTION | 0)) == -1)
|
||||||
|
SWIG_fail;
|
||||||
|
if (arg1 == NULL) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"null reference");
|
||||||
|
SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
|
||||||
|
int argc;
|
||||||
|
PyObject *argv[2];
|
||||||
|
int ii;
|
||||||
|
|
||||||
|
argc = PyObject_Length(args);
|
||||||
|
for (ii = 0; (ii < argc) && (ii < 1); ii++) {
|
||||||
|
argv[ii] = PyTuple_GetItem(args,ii);
|
||||||
|
}
|
||||||
|
if (argc == 0) {
|
||||||
|
return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
|
||||||
|
}
|
||||||
|
if (argc == 1) {
|
||||||
|
int _v;
|
||||||
|
{
|
||||||
|
void *ptr;
|
||||||
|
if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
|
||||||
|
_v = 0;
|
||||||
|
PyErr_Clear();
|
||||||
|
} else {
|
||||||
|
_v = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (_v) {
|
||||||
|
return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
|
wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
|
||||||
@ -25335,7 +25451,7 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
|
{ (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
|
||||||
{ (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS },
|
||||||
{ (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
|
||||||
@ -25381,7 +25497,7 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
|
{ (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
|
||||||
{ (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS },
|
||||||
{ (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
Loading…
Reference in New Issue
Block a user