from wxPython.html import *
import wxPython.lib.wxpTag
+from Main import opj
+
#----------------------------------------------------------------------
# This shows how to catch the OnLinkClicked non-event. (It's a virtual
def OnShowDefault(self, event):
- name = os.path.join(self.cwd, 'data/test.htm')
+ name = os.path.join(self.cwd, opj('data/test.htm'))
self.html.LoadPage(name)
def OnWithWidgets(self, event):
os.chdir(self.cwd)
- name = os.path.join(self.cwd, 'data/widgetTest.htm')
+ name = os.path.join(self.cwd, opj('data/widgetTest.htm'))
self.html.LoadPage(name)