]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/stxview/stxview.py
Bugfix for wxListCtrl::GetColumn. It wasn't checking the returned format correctly.
[wxWidgets.git] / wxPython / samples / stxview / stxview.py
index e452855f83cbd9366e2eefc75570dd1932c3c4d2..f9be495c01c5bdacb9f6469d8bb9dc149725fd24 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.HTMLNG(doc)
+        #st = StructuredText.Basic(text)
+        #doc = StructuredText.Document(st)
+        #html = StructuredText.HTMLNG(doc)
 
         self.htmlWin.SetPage(html)
         self.editWin.SetValue(text)