]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/FancyText.py
Updated to current API.
[wxWidgets.git] / wxPython / demo / FancyText.py
index edda6ce1784d1ebbdc179839bc8b762c40022fa9..959a0dd1b5d24f0b89ed98365da2389df1d2913b 100644 (file)
@@ -36,6 +36,13 @@ def runTest(frame, nb, log):
 
 
 
-import string
-overview = string.replace(fancytext.__doc__, "<", "&lt;")
+overview = fancytext.__doc__.replace("<", "&lt;")
+
+
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])