]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/wxPIA_book/Chapter-16/html_window.py
move wxPython to new trunk
[wxWidgets.git] / wxPython / samples / wxPIA_book / Chapter-16 / html_window.py
diff --git a/wxPython/samples/wxPIA_book/Chapter-16/html_window.py b/wxPython/samples/wxPIA_book/Chapter-16/html_window.py
deleted file mode 100644 (file)
index 9f73b68..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-import wx
-import wx.html
-
-class MyHtmlFrame(wx.Frame):
-    def __init__(self, parent, title):
-        wx.Frame.__init__(self, parent, -1, title)
-        html = wx.html.HtmlWindow(self)
-        if "gtk2" in wx.PlatformInfo:
-            html.SetStandardFonts()
-
-        html.SetPage(
-            "Here is some <b>formatted</b> <i><u>text</u></i> "
-            "loaded from a <font color=\"red\">string</font>.")
-                
-
-app = wx.PySimpleApp()
-frm = MyHtmlFrame(None, "Simple HTML")
-frm.Show()
-app.MainLoop()