author | lbessard |
Tue, 02 Oct 2007 18:05:36 +0200 | |
changeset 60 | e9667bec7f00 |
parent 59 | b6ff896ff58b |
child 61 | a20fb174f46e |
Beremiz.py | file | annotate | diff | comparison | revisions |
--- a/Beremiz.py Tue Oct 02 18:02:32 2007 +0200 +++ b/Beremiz.py Tue Oct 02 18:05:36 2007 +0200 @@ -391,7 +391,7 @@ for values in infos["values"]: if not item.IsOk(): item = self.PluginTree.AppendItem(root, "") - if wx.VERSION < (2, 7, 0): + if wx.Platform != '__WXMSW__': item, root_cookie = self.PluginTree.GetNextChild(root, root_cookie) self.GenerateTreeBranch(item, values) item, root_cookie = self.PluginTree.GetNextChild(root, root_cookie)