Bug on CanOpen help popup corrected
authorlbessard
Thu, 05 Apr 2007 10:06:11 +0200
changeset 148 ad3de8730172
parent 147 de96ec63a793
child 149 fe50ada8020b
Bug on CanOpen help popup corrected
objdictgen/objdictedit.py
--- a/objdictgen/objdictedit.py	Thu Apr 05 09:03:18 2007 +0200
+++ b/objdictgen/objdictedit.py	Thu Apr 05 10:06:11 2007 +0200
@@ -1073,11 +1073,11 @@
         event.Skip()
         
     def OnHelpCANFestivalMenu(self, event):
-        self.OpenHtmlFrame("CAN Festival Reference", "../doc/canfestival.html", wx.Size(1000, 600))
+        self.OpenHtmlFrame("CAN Festival Reference", os.path.join(WorkingDirectory, "../doc/canfestival.html"), wx.Size(1000, 600))
         event.Skip()
 
     def OnAboutMenu(self, event):
-        self.OpenHtmlFrame("About CAN Festival", "../doc/about.html", wx.Size(500, 450))
+        self.OpenHtmlFrame("About CAN Festival", os.path.join(WorkingDirectory, "../doc/about.html"), wx.Size(500, 450))
         event.Skip()
 
     def OpenHtmlFrame(self, title, file, size):