X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/36ed4f517fcf3d9485f6d29c82eb44d917fb8a88..68204d23c26d9fb8c813009dc2b24f5d1c8a279b:/wxPython/src/mac/grid.py diff --git a/wxPython/src/mac/grid.py b/wxPython/src/mac/grid.py index 2bad3dc340..31c0d4da8e 100644 --- a/wxPython/src/mac/grid.py +++ b/wxPython/src/mac/grid.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -115,7 +115,6 @@ class GridCellRendererPtr(GridCellRenderer): self.__class__ = GridCellRenderer _grid.GridCellRenderer_swigregister(GridCellRendererPtr) cvar = _grid.cvar -DateTimeFormatStr = cvar.DateTimeFormatStr GridNoCellCoords = cvar.GridNoCellCoords GridNoCellRect = cvar.GridNoCellRect @@ -248,7 +247,7 @@ class GridCellDateTimeRenderer(GridCellStringRenderer): def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(self, String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -> GridCellDateTimeRenderer""" + """__init__(self, String outformat=wxPyDefaultDateTimeFormat, String informat=wxPyDefaultDateTimeFormat) -> GridCellDateTimeRenderer""" newobj = _grid.new_GridCellDateTimeRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -394,7 +393,9 @@ class GridCellEditor(object): def Destroy(*args, **kwargs): """Destroy(self)""" - return _grid.GridCellEditor_Destroy(*args, **kwargs) + val = _grid.GridCellEditor_Destroy(*args, **kwargs) + args[0].thisown = 0 + return val class GridCellEditorPtr(GridCellEditor): @@ -1057,7 +1058,9 @@ class PyGridTableBase(GridTableBase): Deletes the C++ object this Python object is a proxy for. """ - return _grid.PyGridTableBase_Destroy(*args, **kwargs) + val = _grid.PyGridTableBase_Destroy(*args, **kwargs) + args[0].thisown = 0 + return val def base_GetTypeName(*args, **kwargs): """base_GetTypeName(self, int row, int col) -> String""" @@ -2437,3 +2440,4 @@ EVT_GRID_CMD_CELL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG, +