Merge branch 'more-windowidref' into wxPy-4.0.x

(cherry picked from commit ada7b2fc51)
This commit is contained in:
Robin Dunn
2018-06-25 19:10:56 -07:00
parent 28bdb22c89
commit 705aa63d75
58 changed files with 337 additions and 307 deletions

View File

@@ -82,7 +82,7 @@ class DrawFrame(wx.Frame):
self.timer = None
self.DrawAxis()
self.DrawAxis()
return None
@@ -170,7 +170,7 @@ class DrawFrame(wx.Frame):
InForeground = 1)
self.Canvas.Draw()
self.timerID = wx.NewId()
self.timerID = wx.NewIdRef()
self.timer = wx.Timer(self,self.timerID)
self.Bind(wx.EVT_TIMER, self.OnTimer, id=self.timerID)