reverted changeset 5c7707c958d8 (revision 969)

This commit is contained in:
souliane 2014-04-03 14:38:48 +02:00
commit ec579aff81

View file

@ -42,10 +42,6 @@ class WixWidget(object):
class ValueWidget(WixWidget):
def _xmluiSetValue(self, value):
self.SetValue(value)
def _xmluiGetValue(self):
return self.GetValue()
@ -110,9 +106,6 @@ class BoolWidget(EventWidget, ValueWidget, xmlui.BoolWidget, wx.CheckBox):
self.SetValue(state)
self._xmlui_proportion = 1
def _xmluiSetValue(self, value):
self.SetValue(value == 'true')
def _xmluiGetValue(self):
return "true" if self.GetValue() else "false"
@ -160,11 +153,6 @@ class ListWidget(EventWidget, WixWidget, xmlui.ListWidget, wx.ListBox):
ret.append(self._xmlui_attr_map[label])
return ret
def _xmluiAddValues(self, values, select=True):
wx.ListBox.AppendItems(values)
if select:
self._xmluiSelectValues(values)
class WixContainer(object):
_xmlui_proportion = 1