mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-17 09:17:14 +01:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
12 lines
318 B
Python
12 lines
318 B
Python
|
|
def GridLocker(self):
|
|
|
|
self.grid = wx.grid.Grid(self, -1)
|
|
|
|
noUpdates = wx.grid.GridUpdateLocker(self.grid)
|
|
self.grid.AppendColumn()
|
|
# ... many other operations with self.grid ...
|
|
self.grid.AppendRow()
|
|
|
|
# destructor called, grid refreshed
|