X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c61fb03543e0288830bbf39651eea19e9e003088..a07a67e664e859ac42c5505e5714934cd968e14a:/wxPython/src/msw/grid.py?ds=sidebyside diff --git a/wxPython/src/msw/grid.py b/wxPython/src/msw/grid.py index d7e6d31102..ddf9fe322c 100644 --- a/wxPython/src/msw/grid.py +++ b/wxPython/src/msw/grid.py @@ -1227,6 +1227,14 @@ class Grid(_windows.ScrolledWindow): del newobj.thisown self._setOORInfo(self) + def Create(*args, **kwargs): + """ + Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=WANTS_CHARS, + String name=PanelNameStr) -> bool + """ + return _grid.Grid_Create(*args, **kwargs) + wxGridSelectCells = _grid.Grid_wxGridSelectCells wxGridSelectRows = _grid.Grid_wxGridSelectRows wxGridSelectColumns = _grid.Grid_wxGridSelectColumns @@ -2014,6 +2022,13 @@ class GridPtr(Grid): self.__class__ = Grid _grid.Grid_swigregister(GridPtr) +def PreGrid(*args, **kwargs): + """PreGrid() -> Grid""" + val = _grid.new_PreGrid(*args, **kwargs) + val.thisown = 1 + self._setOORInfo(self) + return val + def Grid_GetClassDefaultAttributes(*args, **kwargs): """ Grid_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes