changeset 60 | e9667bec7f00 |
parent 50 | 447b7706a5b6 |
child 62 | ddf0cdd71558 |
--- 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)