70 |
newWidget.GetValue = newWidget.GetLabel |
newWidget.GetValue = newWidget.GetLabel |
71 |
|
|
72 |
elif style == 'checkbox': |
elif style == 'checkbox': |
73 |
newWidget = wxCheckBox(event.container, -1, "",defaultPoint, |
newWidget = wxCheckBox(event.container, -1, object.label,defaultPoint, |
74 |
wxSize(2*event.textWidth,event.textHeight), |
wxSize(self.itemWidth,event.textHeight), |
75 |
wxNO_BORDER|wxWANTS_CHARS) |
wxNO_BORDER|wxWANTS_CHARS) |
76 |
if event.initialize: |
if event.initialize: |
77 |
newWidget.SetValue(0) |
newWidget.SetValue(0) |