def SetValueFromSelected(self, selected):
"""
Sets the wx.TextCtrl value from the selected wx.ListCtrl item.
Will do nothing if no item is selected in the wx.ListCtrl.
"""
if selected != "":
self.SetValue(selected)
self.DismissListBox()
评论列表
文章目录