From d4814517fdca71007dbcbb8a91b595247b87aacf Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 17 Nov 2017 22:00:38 -0800 Subject: [PATCH] Fix event typename --- CHANGES.rst | 5 +++++ wx/lib/sheet.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 8352c8c8..d9b6b91e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -59,6 +59,11 @@ Changes in this release include the following: * Fix comparing DataViewItem and TreeListItem objects with None. (#595) +* Fix event type name in wx/lib/sheet.py (#613) + + + + 4.0.0b2 -- "Hurricanes, Floods, and Forest Fires! Oh My!" diff --git a/wx/lib/sheet.py b/wx/lib/sheet.py index 76e471a4..5a3f9447 100644 --- a/wx/lib/sheet.py +++ b/wx/lib/sheet.py @@ -193,7 +193,7 @@ class CSheet(wx.grid.Grid): self.Bind(wx.grid.EVT_GRID_RANGE_SELECT, self.OnRangeSelect) self.Bind(wx.grid.EVT_GRID_ROW_SIZE, self.OnRowSize) self.Bind(wx.grid.EVT_GRID_COL_SIZE, self.OnColSize) - self.Bind(wx.grid.EVT_GRID_CELL_CHANGE, self.OnCellChange) + self.Bind(wx.grid.EVT_GRID_CELL_CHANGED, self.OnCellChange) self.Bind(wx.grid.EVT_GRID_SELECT_CELL, self.OnGridSelectCell) def OnGridSelectCell(self, event):