]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/html/test/htmlhelp.py
1 from wxPython
.wx
import *
2 from wxPython
.html
import *
5 if not os
.environ
.has_key('WXWIN'):
6 print "Can't find html samples. Set WXWIN environment variable."
9 # Minimal htmlhelpcontroller sample. Everything is done by the framework
10 help = wxHtmlHelpController() # Not created in OnInit, otherwise it's deleted before we see it.
11 help.AddBook(os
.environ
['WXWIN'] + "/samples/html/help/helpfiles/testing.hhp")
15 help.DisplayContents()