1136 pos=wx.Point(0, 0), size=wx.Size(100, 17), style=0) |
1136 pos=wx.Point(0, 0), size=wx.Size(100, 17), style=0) |
1137 boxsizer.AddWindow(statictext, 0, border=4, flag=wx.TOP) |
1137 boxsizer.AddWindow(statictext, 0, border=4, flag=wx.TOP) |
1138 id = wx.NewId() |
1138 id = wx.NewId() |
1139 if isinstance(element_infos["type"], types.ListType): |
1139 if isinstance(element_infos["type"], types.ListType): |
1140 combobox = wx.ComboBox(id=id, name=element_infos["name"], parent=parent, |
1140 combobox = wx.ComboBox(id=id, name=element_infos["name"], parent=parent, |
1141 pos=wx.Point(0, 0), size=wx.Size(150, 25), style=wx.CB_READONLY) |
1141 pos=wx.Point(0, 0), size=wx.Size(150, 28), style=wx.CB_READONLY) |
1142 boxsizer.AddWindow(combobox, 0, border=0, flag=0) |
1142 boxsizer.AddWindow(combobox, 0, border=0, flag=0) |
1143 if element_infos["use"] == "optional": |
1143 if element_infos["use"] == "optional": |
1144 combobox.Append("") |
1144 combobox.Append("") |
1145 if len(element_infos["type"]) > 0 and isinstance(element_infos["type"][0], types.TupleType): |
1145 if len(element_infos["type"]) > 0 and isinstance(element_infos["type"][0], types.TupleType): |
1146 for choice, xsdclass in element_infos["type"]: |
1146 for choice, xsdclass in element_infos["type"]: |