diff -r 523f6fcc7a28 -r 6279ec06df98 editors/DataTypeEditor.py --- a/editors/DataTypeEditor.py Thu Apr 07 15:28:24 2022 +0200 +++ b/editors/DataTypeEditor.py Fri May 06 14:40:33 2022 +0200 @@ -47,7 +47,7 @@ def AppendMenu(parent, help, kind, text): - return parent.Append(help=help, id=wx.ID_ANY, kind=kind, text=text) + return parent.Append(wx.MenuItem(helpString=help, id=wx.ID_ANY, kind=kind, text=text)) def GetElementsTableColnames(): @@ -375,7 +375,7 @@ self.StructureElementsGrid = CustomGrid(self.StructurePanel, size=wx.Size(0, 150), style=wx.VSCROLL) - self.StructureElementsGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGING, + self.StructureElementsGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGED, self.OnStructureElementsGridCellChange) self.StructureElementsGrid.Bind(wx.grid.EVT_GRID_EDITOR_SHOWN, self.OnStructureElementsGridEditorShown)