def GetValueFromEditorCtrl(self, editor):
selected_index = editor.GetSelection()
#print 'GetValueFromEditorCtrl:', selected_index
if selected_index == -1:
return True, wx.EmptyString
self._value = editor.GetString(selected_index)
self._value = ObjectManager.get_tid(self._value)
return True, self._value
评论列表
文章目录