X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec873c943d71f0d5f13e3398557071448cda6c23..a4027e74873007e3430af3bd77019bcab76f6c04:/wxPython/samples/wxPIA_book/Chapter-16/html_window_related.py diff --git a/wxPython/samples/wxPIA_book/Chapter-16/html_window_related.py b/wxPython/samples/wxPIA_book/Chapter-16/html_window_related.py deleted file mode 100644 index 4887b71368..0000000000 --- a/wxPython/samples/wxPIA_book/Chapter-16/html_window_related.py +++ /dev/null @@ -1,21 +0,0 @@ -import wx -import wx.html - -class MyHtmlFrame(wx.Frame): - def __init__(self, parent, title): - wx.Frame.__init__(self, parent, -1, title, size=(600,400)) - self.CreateStatusBar() - - html = wx.html.HtmlWindow(self) - if "gtk2" in wx.PlatformInfo: - html.SetStandardFonts() - html.SetRelatedFrame(self, self.GetTitle() + " -- %s") - html.SetRelatedStatusBar(0) - - wx.CallAfter( - html.LoadPage, "http://wxwidgets.org/manuals/2.6.2/wx_wxbutton.html") - -app = wx.PySimpleApp() -frm = MyHtmlFrame(None, "Simple HTML Browser") -frm.Show() -app.MainLoop()