- self.ID_BUTTON_APPEND = XRCID('BUTTON_APPEND')
- self.ID_BUTTON_REMOVE = XRCID('BUTTON_REMOVE')
- self.ID_BUTTON_UP = XRCID('BUTTON_UP')
- self.ID_BUTTON_DOWN = XRCID('BUTTON_DOWN')
- EVT_CHECKLISTBOX(self, self.list.GetId(), self.OnCheck)
- EVT_BUTTON(self, self.ID_BUTTON_UP, self.OnButtonUp)
- EVT_BUTTON(self, self.ID_BUTTON_DOWN, self.OnButtonDown)
- EVT_BUTTON(self, self.ID_BUTTON_APPEND, self.OnButtonAppend)
- EVT_BUTTON(self, self.ID_BUTTON_REMOVE, self.OnButtonRemove)
- EVT_UPDATE_UI(self, self.ID_BUTTON_UP, self.OnUpdateUI)
- EVT_UPDATE_UI(self, self.ID_BUTTON_DOWN, self.OnUpdateUI)
- EVT_UPDATE_UI(self, self.ID_BUTTON_REMOVE, self.OnUpdateUI)
+ self.ID_BUTTON_APPEND = xrc.XRCID('BUTTON_APPEND')
+ self.ID_BUTTON_REMOVE = xrc.XRCID('BUTTON_REMOVE')
+ self.ID_BUTTON_UP = xrc.XRCID('BUTTON_UP')
+ self.ID_BUTTON_DOWN = xrc.XRCID('BUTTON_DOWN')
+ wx.EVT_CHECKLISTBOX(self, self.list.GetId(), self.OnCheck)
+ wx.EVT_BUTTON(self, self.ID_BUTTON_UP, self.OnButtonUp)
+ wx.EVT_BUTTON(self, self.ID_BUTTON_DOWN, self.OnButtonDown)
+ wx.EVT_BUTTON(self, self.ID_BUTTON_APPEND, self.OnButtonAppend)
+ wx.EVT_BUTTON(self, self.ID_BUTTON_REMOVE, self.OnButtonRemove)
+ wx.EVT_UPDATE_UI(self, self.ID_BUTTON_UP, self.OnUpdateUI)
+ wx.EVT_UPDATE_UI(self, self.ID_BUTTON_DOWN, self.OnUpdateUI)
+ wx.EVT_UPDATE_UI(self, self.ID_BUTTON_REMOVE, self.OnUpdateUI)