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

@@ -72,7 +72,7 @@ to display non-critical information to the user."""
def OnAddButton(self, evt):
btnId = wx.NewId()
btnId = wx.Window.NewControlId()
self.info.AddButton(btnId, "new button")
self.info.Bind(wx.EVT_BUTTON, self.OnButtonClicked, id=btnId)