]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/modules/html/test/htmlhelp.py
merged 2.2 branch
[wxWidgets.git] / utils / wxPython / modules / html / test / htmlhelp.py
diff --git a/utils/wxPython/modules/html/test/htmlhelp.py b/utils/wxPython/modules/html/test/htmlhelp.py
deleted file mode 100644 (file)
index 26c61ad..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-from wxPython.wx import *
-from wxPython.html import *
-import os,sys
-
-if not os.environ.has_key('WXWIN'):
-    print "Can't find html samples. Set WXWIN environment variable."
-    sys.exit(1)
-
-# Minimal htmlhelpcontroller sample. Everything is done by the framework
-help = wxHtmlHelpController() # Not created in OnInit, otherwise it's deleted before we see it.
-help.AddBook(os.environ['WXWIN'] + "/samples/html/help/helpfiles/testing.hhp")
-
-class MyApp(wxApp):
-    def OnInit(self):
-       help.DisplayContents()
-       return TRUE
-
-theApp = MyApp(0)
-theApp.MainLoop()