]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxHtmlWindow.py
reSWIGged
[wxWidgets.git] / wxPython / demo / wxHtmlWindow.py
index a7b8c01e1a74cbd8095d330e47a0675bf7c1e60f..48b0706111614bcb041da9a0e61edfc4d567a433 100644 (file)
@@ -2,17 +2,24 @@
 #
 # o Updated for wx namespace
 # 
+# 12/13/2003 - Jeff Grimmett (grimmtooth@softhome.net)
+#
+# o got the wxpTag stuff working right.
+# 
+# 12/18/2003 - Jeff Grimmett (grimmtooth@softhome.net)
+#
+# o wxScrolledMessageDialog -> ScrolledMessageDialog
+# 
 
 import  os
 import  sys
 
 import  wx
-import  wx.html         as  html
+import  wx.html as  html
+import  wx.lib.wxpTag
 
 from Main import opj
 
-##wxTrap()
-
 #----------------------------------------------------------------------
 
 # This shows how to catch the OnLinkClicked non-event.  (It's a virtual
@@ -179,11 +186,11 @@ class TestHtmlPanel(wx.Panel):
 
 
     def OnViewSource(self, event):
-        import  wx.lib.dialogs  as  dlgs
+        import  wx.lib.dialogs
 
         source = self.html.GetParser().GetSource()
 
-        dlg = dlgs.wxScrolledMessageDialog(self, source, 'HTML Source')
+        dlg = wx.lib.dialogs.ScrolledMessageDialog(self, source, 'HTML Source')
         dlg.ShowModal()
         dlg.Destroy()