mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-12 14:57:07 +01:00
⁉️ Not sure if the generated .rst stuff is intended to have
whitespace like this in it or not, so seperating this from the other
commits, so easy to revert if necessary.
12 lines
302 B
Python
12 lines
302 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
|