- EVT_LEFT_DOWN(self, self.OnLeftButtonEvent)
- EVT_LEFT_UP(self, self.OnLeftButtonEvent)
- EVT_MOTION(self, self.OnLeftButtonEvent)
- EVT_PAINT(self, self.OnPaint)
- ##EVT_MOUSEWHEEL(self, self.OnWheel)
+ self.Bind(wx.EVT_LEFT_DOWN, self.OnLeftButtonEvent)
+ self.Bind(wx.EVT_LEFT_UP, self.OnLeftButtonEvent)
+ self.Bind(wx.EVT_MOTION, self.OnLeftButtonEvent)
+ self.Bind(wx.EVT_PAINT, self.OnPaint)