-class ChoiceList(MenuList, HTMLComponent, GUIComponent):
- def __init__(self, list, selection = 0):
- GUIComponent.__init__(self)
- self.l = eListboxPythonMultiContent()
- self.list = list
- self.l.setList(list)
+class ChoiceList(MenuList):
+ def __init__(self, list, selection = 0, enableWrapAround=False):
+ MenuList.__init__(self, list, enableWrapAround, eListboxPythonMultiContent)