objdictgen/objdictedit.py
changeset 341 7ff01f109bbc
parent 334 3240ff752bc2
child 348 c50feb2bb590
equal deleted inserted replaced
340:60e1eb89455e 341:7ff01f109bbc
   389                 message.Destroy()
   389                 message.Destroy()
   390         event.Skip()
   390         event.Skip()
   391         
   391         
   392     def OnHelpCANFestivalMenu(self, event):
   392     def OnHelpCANFestivalMenu(self, event):
   393         #self.OpenHtmlFrame("CAN Festival Reference", os.path.join(ScriptDirectory, "doc/canfestival.html"), wx.Size(1000, 600))
   393         #self.OpenHtmlFrame("CAN Festival Reference", os.path.join(ScriptDirectory, "doc/canfestival.html"), wx.Size(1000, 600))
   394         os.system("xpdf -remote CANFESTIVAL %s %d &"%(os.path.join(ScriptDirectory, "doc/manual_en.pdf"),16))
   394         if wx.Platform == '__WXMSW__':
       
   395             os.system("Reader %s -n %d &"%(os.path.join(ScriptDirectory, "doc/manual_en.pdf"),16))
       
   396         else:
       
   397             os.system("xpdf -remote CANFESTIVAL %s %d &"%(os.path.join(ScriptDirectory, "doc/manual_en.pdf"),16))
   395         event.Skip()
   398         event.Skip()
   396 
   399 
   397     def OnAboutMenu(self, event):
   400     def OnAboutMenu(self, event):
   398         self.OpenHtmlFrame("About CAN Festival", os.path.join(ScriptDirectory, "doc/about.html"), wx.Size(500, 450))
   401         self.OpenHtmlFrame("About CAN Festival", os.path.join(ScriptDirectory, "doc/about.html"), wx.Size(500, 450))
   399         event.Skip()
   402         event.Skip()