X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e42c7b856732d0f7c3a209a42c269c613d40578a..ddfc587a2ea899f654d940c21f102316a39985bd:/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)