mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Merge branch 'more-windowidref' into wxPy-4.0.x
(cherry picked from commit ada7b2fc51)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user