X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a693e6e0460b6b3c32e4b6f114a3ab7b7cd24ea..f6bcfd974ef26faf6f91a62cac09827e09463fd1:/utils/wxPython/modules/html/test/htmlhelp.py?ds=inline diff --git a/utils/wxPython/modules/html/test/htmlhelp.py b/utils/wxPython/modules/html/test/htmlhelp.py deleted file mode 100644 index 26c61ad4f3..0000000000 --- a/utils/wxPython/modules/html/test/htmlhelp.py +++ /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()