- wxComboBox(self, 501, "default value", wxPoint(80, 80), wxSize(95, -1),
- sampleList, wxCB_SIMPLE)
+ cb = wxComboBox(self, 501, "default value", wxPoint(90, 80), wxSize(95, -1),
+ [], wxCB_SIMPLE)
+ for item in sampleList:
+ cb.Append(item, item.upper())