X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c12bc4de5887421242de7f619b3c5e265bf631ac..a111f2b216a90bacb254644d3cae526eddc9f9f1:/wxPython/samples/stxview/stxview.py diff --git a/wxPython/samples/stxview/stxview.py b/wxPython/samples/stxview/stxview.py index 4599f9749e..e452855f83 100644 --- a/wxPython/samples/stxview/stxview.py +++ b/wxPython/samples/stxview/stxview.py @@ -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)