# HG changeset patch # User lbessard # Date 1190201150 -7200 # Node ID 426552c56a5a9a58f2fd5b76db4355c0af6ccd8b # Parent eada6c6c2e87d0d901ed1b070df851263702308f Bug on Drop Source fixed diff -r eada6c6c2e87 -r 426552c56a5a objdictgen/subindextable.py --- a/objdictgen/subindextable.py Tue Sep 18 18:04:54 2007 +0200 +++ b/objdictgen/subindextable.py Wed Sep 19 13:25:50 2007 +0200 @@ -488,8 +488,8 @@ subentry_infos = self.Manager.GetSubentryInfos(index, subindex) typeinfos = self.Manager.GetEntryInfos(subentry_infos["type"]) if subentry_infos["pdo"] and typeinfos: - bus_id = '.'.join(map(str,self.Parent.GetBusId())) - node_id = self.Parent.GetCurrentNodeId() + bus_id = '.'.join(map(str,self.ParentWindow.GetBusId())) + node_id = self.ParentWindow.GetCurrentNodeId() size = typeinfos["size"] data = wx.TextDataObject(str(("%s%s.%d.%d.%d"%(SizeConversion[size], bus_id, node_id, index, subindex), "location"))) dragSource = wx.DropSource(self.SubindexGrid)