reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-05-23 21:08:28 +00:00
parent f56e08c432
commit 06810ecffb
7 changed files with 15502 additions and 9 deletions

View File

@@ -3889,6 +3889,8 @@ class PageSetupDialog(_core.Object):
def __init__(self, *args, **kwargs):
"""__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
_windows_.PageSetupDialog_swiginit(self,_windows_.new_PageSetupDialog(*args, **kwargs))
__swig_destroy__ = _windows_.delete_PageSetupDialog
__del__ = lambda self : None;
def GetPageSetupData(*args, **kwargs):
"""GetPageSetupData(self) -> PageSetupDialogData"""
return _windows_.PageSetupDialog_GetPageSetupData(*args, **kwargs)
@@ -3901,6 +3903,7 @@ class PageSetupDialog(_core.Object):
"""ShowModal(self) -> int"""
return _windows_.PageSetupDialog_ShowModal(*args, **kwargs)
def Destroy(self): pass
_windows_.PageSetupDialog_swigregister(PageSetupDialog)
class PrintDialogData(_core.Object):
@@ -4042,6 +4045,8 @@ class PrintDialog(_core.Object):
def __init__(self, *args, **kwargs):
"""__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
_windows_.PrintDialog_swiginit(self,_windows_.new_PrintDialog(*args, **kwargs))
__swig_destroy__ = _windows_.delete_PrintDialog
__del__ = lambda self : None;
def ShowModal(*args, **kwargs):
"""ShowModal(self) -> int"""
return _windows_.PrintDialog_ShowModal(*args, **kwargs)
@@ -4058,6 +4063,7 @@ class PrintDialog(_core.Object):
"""GetPrintDC(self) -> DC"""
return _windows_.PrintDialog_GetPrintDC(*args, **kwargs)
def Destroy(self): pass
_windows_.PrintDialog_swigregister(PrintDialog)
PRINTER_NO_ERROR = _windows_.PRINTER_NO_ERROR

View File

@@ -25386,6 +25386,34 @@ fail:
}
SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
}
arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
delete arg1;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
@@ -26650,6 +26678,34 @@ fail:
}
SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
}
arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
delete arg1;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
@@ -31001,6 +31057,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
{ (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
{ (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
{ (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
{ (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
{ (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
@@ -31040,6 +31097,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
{ (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
{ (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
{ (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
{ (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
{ (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},

View File

@@ -1122,15 +1122,15 @@ class Grid(_windows.ScrolledWindow):
"""
return _grid.Grid_Create(*args, **kwargs)
GridSelectCells = _grid.Grid_GridSelectCells
GridSelectRows = _grid.Grid_GridSelectRows
GridSelectColumns = _grid.Grid_GridSelectColumns
wxGridSelectCells = _grid.Grid_wxGridSelectCells
wxGridSelectRows = _grid.Grid_wxGridSelectRows
wxGridSelectColumns = _grid.Grid_wxGridSelectColumns
SelectCells = wxGridSelectCells
SelectRows = wxGridSelectRows
SelectColumns = wxGridSelectColumns
def CreateGrid(*args, **kwargs):
"""CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=GridSelectCells) -> bool"""
"""CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool"""
return _grid.Grid_CreateGrid(*args, **kwargs)
def SetSelectionMode(*args, **kwargs):
@@ -1158,7 +1158,7 @@ class Grid(_windows.ScrolledWindow):
return _grid.Grid_GetTable(*args, **kwargs)
def SetTable(*args, **kwargs):
"""SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=GridSelectCells) -> bool"""
"""SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool"""
return _grid.Grid_SetTable(*args, **kwargs)
def ClearGrid(*args, **kwargs):

View File

@@ -22880,9 +22880,9 @@ SWIGEXPORT void SWIG_init(void) {
SWIG_Python_SetConstant(d, "GRIDTABLE_NOTIFY_COLS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED)));
SWIG_Python_SetConstant(d, "GRIDTABLE_NOTIFY_COLS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED)));
SWIG_Python_SetConstant(d, "GRIDTABLE_NOTIFY_COLS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_DELETED)));
SWIG_Python_SetConstant(d, "Grid_GridSelectCells",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectCells)));
SWIG_Python_SetConstant(d, "Grid_GridSelectRows",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectRows)));
SWIG_Python_SetConstant(d, "Grid_GridSelectColumns",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectColumns)));
SWIG_Python_SetConstant(d, "Grid_wxGridSelectCells",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectCells)));
SWIG_Python_SetConstant(d, "Grid_wxGridSelectRows",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectRows)));
SWIG_Python_SetConstant(d, "Grid_wxGridSelectColumns",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectColumns)));
PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));

1333
wxPython/src/mac/richtext.py Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long