- wxStaticText(self, -1, "Select one:", wxPoint(15, 50), wxSize(75, 18))
- wxComboBox(self, 500, "default value", wxPoint(80, 50), wxSize(95, -1),
- sampleList, wxCB_DROPDOWN)
- EVT_COMBOBOX(self, 500, self.EvtComboBox)
- EVT_TEXT(self, 500, self.EvtText)
+ # This combobox is created with a preset list of values.
+ cb = wx.ComboBox(
+ self, 500, "default value", (90, 50),
+ (95, -1), sampleList, wx.CB_DROPDOWN #|wxTE_PROCESS_ENTER
+ )