]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/stxview/stxview.py
Got a new version of StructuredText from Zope's CVS.
[wxWidgets.git] / wxPython / samples / stxview / stxview.py
index 4599f9749e7eb4948bd418a3a3db18f44b36a804..e452855f83cbd9366e2eefc75570dd1932c3c4d2 100644 (file)
@@ -102,12 +102,12 @@ class StxFrame(wxFrame):
 
     def LoadStxText(self, text):
         # Old ST
-        html = str(StructuredText.html_with_references(text))
+        #html = str(StructuredText.html_with_references(text))
 
         # NG Version
-        #st = StructuredText.Basic(text)
-        #doc = StructuredText.Document(st)
-        #html = StructuredText.HTML(doc)
+        st = StructuredText.Basic(text)
+        doc = StructuredText.Document(st)
+        html = StructuredText.HTMLNG(doc)
 
         self.htmlWin.SetPage(html)
         self.editWin.SetValue(text)