- wx.EVT_SIZE(self, self.OnSize)
- wx.EVT_MOVE(self, self.OnMove)
- wx.EVT_CLOSE(self, self.OnCloseWindow)
- wx.EVT_IDLE(self, self.OnIdle)
+ self.Bind(wx.EVT_SIZE, self.OnSize)
+ self.Bind(wx.EVT_MOVE, self.OnMove)
+ self.Bind(wx.EVT_CLOSE, self.OnCloseWindow)
+ self.Bind(wx.EVT_IDLE, self.OnIdle)