wx.NewId() --> wx.ID_ANY or wx.Window.NewControlId() as appropriate

This commit is contained in:
Robin Dunn
2018-06-19 10:31:56 -07:00
parent 83ce0c76be
commit b1b0c9e297
69 changed files with 376 additions and 376 deletions

View File

@@ -245,7 +245,7 @@ check the source for this sample to see how to implement them.
pos += 1
# now insert the new item
ID = wx.NewId()
ID = wx.Window.NewControlId()
item = wx.MenuItem(menu, ID, "NewItem " + str(ID))
menu.InsertItem(pos, item)