diff -r c02818d7e29f -r 7e61baa047f0 controls/SearchResultPanel.py --- a/controls/SearchResultPanel.py Mon Aug 14 22:30:41 2017 +0300 +++ b/controls/SearchResultPanel.py Mon Aug 14 23:27:15 2017 +0300 @@ -31,6 +31,7 @@ from PLCControler import * from util.BitmapLibrary import GetBitmap + def GenerateName(infos): if infos[0] in ["input", "output", "value"]: return "%s %d:" % (infos[0], infos[1]) @@ -48,6 +49,7 @@ ID_SEARCHRESULTPANELSEARCHRESULTSTREE, ID_SEARCHRESULTPANELRESETBUTTON, ] = [wx.NewId() for _init_ctrls in range(4)] + class SearchResultPanel(wx.Panel): if wx.VERSION < (2, 6, 0):